From 3a588e7547bf35dd7280e9cc811f04eeeb228b68 Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Fri, 9 Aug 2024 11:01:46 +0200 Subject: [PATCH] chore: update stage0 --- stage0/src/stdlib_flags.h | 2 +- stage0/stdlib/Lean/Elab/BuiltinCommand.c | 1218 +- stage0/stdlib/Lean/Elab/Command.c | 955 +- stage0/stdlib/Lean/Elab/Inductive.c | 39 +- stage0/stdlib/Lean/Elab/MutualDef.c | 12550 +++++++++++++-------- stage0/stdlib/Lean/Language/Lean.c | 7 +- stage0/stdlib/Lean/Linter/MissingDocs.c | 27 +- stage0/stdlib/Lean/Parser/Command.c | 652 +- 8 files changed, 9673 insertions(+), 5777 deletions(-) diff --git a/stage0/src/stdlib_flags.h b/stage0/src/stdlib_flags.h index 658ab0874e..0699845ba4 100644 --- a/stage0/src/stdlib_flags.h +++ b/stage0/src/stdlib_flags.h @@ -8,7 +8,7 @@ options get_default_options() { // switch to `true` for ABI-breaking changes affecting meta code opts = opts.update({"interpreter", "prefer_native"}, false); // switch to `true` for changing built-in parsers used in quotations - opts = opts.update({"internal", "parseQuotWithCurrentStage"}, true); + opts = opts.update({"internal", "parseQuotWithCurrentStage"}, false); // toggling `parseQuotWithCurrentStage` may also require toggling the following option if macros/syntax // with custom precheck hooks were affected opts = opts.update({"quotPrecheck"}, true); diff --git a/stage0/stdlib/Lean/Elab/BuiltinCommand.c b/stage0/stdlib/Lean/Elab/BuiltinCommand.c index bb078ad054..1d01fd14ab 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinCommand.c +++ b/stage0/stdlib/Lean/Elab/BuiltinCommand.c @@ -226,6 +226,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen_declRange__1___clo static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure_declRange__1___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange__1___closed__1; static lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_mkRunMetaEval___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabReduce_go(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange__1___closed__7; @@ -317,6 +318,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabNonComputableSection_declRange__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabChoice__1___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInclude(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabExport___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabExport___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace_declRange__1___closed__2; @@ -369,6 +371,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit__1___closed__3; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabExport___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheck___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange__1___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__2; LEAN_EXPORT lean_object* l_Lean_activateScoped___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScope___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSection_declRange__1___closed__3; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabModuleDoc___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -406,6 +409,7 @@ lean_object* l_Lean_MessageData_signature(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption_declRange__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth__1___closed__1; +lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi_declRange__1___closed__3; static lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab_Command_elabExport___spec__19___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(lean_object*); @@ -414,6 +418,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabOpe LEAN_EXPORT lean_object* l_List_map___at_Lean_Elab_Command_elabExport___spec__16(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__4; size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInclude___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Command_elabExport___spec__20___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabInitQuot_declRange__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalCoreUnsafe___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*); @@ -475,6 +480,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabEval__1___closed__2; lean_object* l_Array_zip___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSection___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabExit__1___closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption_declRange__1___closed__6; static lean_object* l_Lean_Elab_Command_elabNamespace___closed__1; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__13; @@ -498,6 +504,7 @@ static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__4; static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Command_elabExport___spec__18___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabVariable___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_Command_elabEnd_declRange__1___closed__5; +lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__2(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange__1___closed__1; lean_object* l_Lean_ScopedEnvExtension_popScope___rarg(lean_object*, lean_object*); @@ -581,8 +588,10 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabUniverse_declRange__1__ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabOpen___spec__2(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabOpen___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__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_Command_elabCheckFailure_declRange__1___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabExit(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSetOption__1___closed__3; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_activateScoped___at_Lean_Elab_Command_elabOpen___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -592,6 +601,7 @@ static lean_object* l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveName static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange__1___closed__7; lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_addScopes___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInclude___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__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___regBuiltin_Lean_Elab_Command_elabUniverse_declRange__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -660,6 +670,7 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEvalCoreUnsafe___lambda__3___closed__48; static lean_object* l_Lean_Elab_OpenDecl_elabOpenDecl___at_Lean_Elab_Command_elabOpen___spec__1___closed__5; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Command_elabExport___spec__11___closed__3; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabInclude__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabEvalBang(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabVariable___spec__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_Command_elabNonComputableSection_declRange__1___closed__7; @@ -723,6 +734,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckCore___lambda__5___boxed(l static lean_object* l_Lean_Elab_Command_elabEvalCoreUnsafe___lambda__3___closed__46; extern lean_object* l_Lean_scopedEnvExtensionsRef; static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__12; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAddDeclDoc___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_Elab_Command_elabImport___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_ensureType___spec__1___rarg(lean_object*); @@ -753,6 +765,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabRunMeta_declRange_ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabVariable___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_add_alias(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_addDecl(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange__1___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth__1___closed__5; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -806,6 +819,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Comma static lean_object* l_Lean_Elab_Command_elabSection___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_hasNoErrorMessages___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabModuleDoc_declRange__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab_declRange__1___closed__6; static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__3; @@ -852,6 +866,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth_declRange__1___cl LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabImport___boxed(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabExport_declRange__1(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd__1___closed__5; +static lean_object* l_Lean_Elab_Command_elabInclude___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Command_elabEoi__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabCheckFailure__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabSynth_declRange__1___closed__2; @@ -1030,6 +1045,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabRunCmd_declRange__1___c static lean_object* l_Lean_Elab_Command_elabEvalCoreUnsafe___lambda__3___closed__44; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCheckFailure(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabAddDeclDoc___closed__6; +static lean_object* l_Lean_Elab_Command_elabInclude___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at_Lean_Elab_Command_elabExport___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabEnd___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabOpen___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1119,6 +1135,7 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec static lean_object* l___regBuiltin_Lean_Elab_Command_elabReduce_declRange__1___closed__2; lean_object* lean_array_get_size(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabEnd_declRange__1___closed__7; +LEAN_EXPORT lean_object* l_List_map___at_Lean_Elab_Command_elabInclude___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__4___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabEvalCoreUnsafe___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Command_elabExport___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1127,6 +1144,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCom static lean_object* l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange__1___closed__4; LEAN_EXPORT lean_object* l_Lean_getRefPos___at_Lean_Elab_Command_elabExport___spec__20(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabRunElab__1(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Command_elabImport_declRange__1___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Command_elabNamespace__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at_Lean_Elab_Command_elabExport___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2297,7 +2315,7 @@ lean_inc(x_4); x_26 = l_Lean_Environment_registerNamespace(x_24, x_4); x_27 = l_Lean_Elab_Command_instInhabitedScope; x_28 = l_List_head_x21___rarg(x_27, x_25); -x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*7); +x_29 = lean_ctor_get_uint8(x_28, sizeof(void*)*8); if (x_29 == 0) { uint8_t x_30; @@ -2312,7 +2330,7 @@ lean_dec(x_32); lean_inc(x_4); lean_ctor_set(x_28, 2, x_4); lean_ctor_set(x_28, 0, x_3); -lean_ctor_set_uint8(x_28, sizeof(void*)*7, x_2); +lean_ctor_set_uint8(x_28, sizeof(void*)*8, x_2); lean_ctor_set_tag(x_19, 1); lean_ctor_set(x_19, 1, x_25); lean_ctor_set(x_19, 0, x_28); @@ -2327,12 +2345,14 @@ goto block_18; } 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_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_35 = lean_ctor_get(x_28, 1); x_36 = lean_ctor_get(x_28, 3); x_37 = lean_ctor_get(x_28, 4); x_38 = lean_ctor_get(x_28, 5); x_39 = lean_ctor_get(x_28, 6); +x_40 = lean_ctor_get(x_28, 7); +lean_inc(x_40); lean_inc(x_39); lean_inc(x_38); lean_inc(x_37); @@ -2340,410 +2360,430 @@ lean_inc(x_36); lean_inc(x_35); lean_dec(x_28); lean_inc(x_4); -x_40 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_40, 0, x_3); -lean_ctor_set(x_40, 1, x_35); -lean_ctor_set(x_40, 2, x_4); -lean_ctor_set(x_40, 3, x_36); -lean_ctor_set(x_40, 4, x_37); -lean_ctor_set(x_40, 5, x_38); -lean_ctor_set(x_40, 6, x_39); -lean_ctor_set_uint8(x_40, sizeof(void*)*7, x_2); +x_41 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_41, 0, x_3); +lean_ctor_set(x_41, 1, x_35); +lean_ctor_set(x_41, 2, x_4); +lean_ctor_set(x_41, 3, x_36); +lean_ctor_set(x_41, 4, x_37); +lean_ctor_set(x_41, 5, x_38); +lean_ctor_set(x_41, 6, x_39); +lean_ctor_set(x_41, 7, x_40); +lean_ctor_set_uint8(x_41, sizeof(void*)*8, x_2); lean_ctor_set_tag(x_19, 1); lean_ctor_set(x_19, 1, x_25); -lean_ctor_set(x_19, 0, x_40); +lean_ctor_set(x_19, 0, x_41); lean_ctor_set(x_21, 2, x_19); lean_ctor_set(x_21, 0, x_26); -x_41 = lean_st_ref_set(x_6, x_21, x_23); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_8 = x_42; +x_42 = lean_st_ref_set(x_6, x_21, x_23); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_8 = x_43; goto block_18; } } else { -uint8_t x_43; -x_43 = !lean_is_exclusive(x_28); -if (x_43 == 0) +uint8_t x_44; +x_44 = !lean_is_exclusive(x_28); +if (x_44 == 0) { -lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; -x_44 = lean_ctor_get(x_28, 2); -lean_dec(x_44); -x_45 = lean_ctor_get(x_28, 0); +lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; +x_45 = lean_ctor_get(x_28, 2); lean_dec(x_45); -x_46 = 1; +x_46 = lean_ctor_get(x_28, 0); +lean_dec(x_46); +x_47 = 1; lean_inc(x_4); lean_ctor_set(x_28, 2, x_4); lean_ctor_set(x_28, 0, x_3); -lean_ctor_set_uint8(x_28, sizeof(void*)*7, x_46); +lean_ctor_set_uint8(x_28, sizeof(void*)*8, x_47); lean_ctor_set_tag(x_19, 1); lean_ctor_set(x_19, 1, x_25); lean_ctor_set(x_19, 0, x_28); lean_ctor_set(x_21, 2, x_19); lean_ctor_set(x_21, 0, x_26); -x_47 = lean_st_ref_set(x_6, x_21, x_23); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_8 = x_48; +x_48 = lean_st_ref_set(x_6, x_21, x_23); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_8 = x_49; goto block_18; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_49 = lean_ctor_get(x_28, 1); -x_50 = lean_ctor_get(x_28, 3); -x_51 = lean_ctor_get(x_28, 4); -x_52 = lean_ctor_get(x_28, 5); -x_53 = lean_ctor_get(x_28, 6); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_50 = lean_ctor_get(x_28, 1); +x_51 = lean_ctor_get(x_28, 3); +x_52 = lean_ctor_get(x_28, 4); +x_53 = lean_ctor_get(x_28, 5); +x_54 = lean_ctor_get(x_28, 6); +x_55 = lean_ctor_get(x_28, 7); +lean_inc(x_55); +lean_inc(x_54); lean_inc(x_53); lean_inc(x_52); lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); lean_dec(x_28); -x_54 = 1; +x_56 = 1; lean_inc(x_4); -x_55 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_55, 0, x_3); -lean_ctor_set(x_55, 1, x_49); -lean_ctor_set(x_55, 2, x_4); -lean_ctor_set(x_55, 3, x_50); -lean_ctor_set(x_55, 4, x_51); -lean_ctor_set(x_55, 5, x_52); -lean_ctor_set(x_55, 6, x_53); -lean_ctor_set_uint8(x_55, sizeof(void*)*7, x_54); +x_57 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_57, 0, x_3); +lean_ctor_set(x_57, 1, x_50); +lean_ctor_set(x_57, 2, x_4); +lean_ctor_set(x_57, 3, x_51); +lean_ctor_set(x_57, 4, x_52); +lean_ctor_set(x_57, 5, x_53); +lean_ctor_set(x_57, 6, x_54); +lean_ctor_set(x_57, 7, x_55); +lean_ctor_set_uint8(x_57, sizeof(void*)*8, x_56); lean_ctor_set_tag(x_19, 1); lean_ctor_set(x_19, 1, x_25); -lean_ctor_set(x_19, 0, x_55); +lean_ctor_set(x_19, 0, x_57); lean_ctor_set(x_21, 2, x_19); lean_ctor_set(x_21, 0, x_26); -x_56 = lean_st_ref_set(x_6, x_21, x_23); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_8 = x_57; +x_58 = lean_st_ref_set(x_6, x_21, x_23); +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +lean_dec(x_58); +x_8 = x_59; goto block_18; } } } 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; 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_58 = lean_ctor_get(x_19, 1); -x_59 = lean_ctor_get(x_21, 0); -x_60 = lean_ctor_get(x_21, 1); -x_61 = lean_ctor_get(x_21, 2); -x_62 = lean_ctor_get(x_21, 3); -x_63 = lean_ctor_get(x_21, 4); -x_64 = lean_ctor_get(x_21, 5); -x_65 = lean_ctor_get(x_21, 6); -x_66 = lean_ctor_get(x_21, 7); +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; uint8_t x_72; +x_60 = lean_ctor_get(x_19, 1); +x_61 = lean_ctor_get(x_21, 0); +x_62 = lean_ctor_get(x_21, 1); +x_63 = lean_ctor_get(x_21, 2); +x_64 = lean_ctor_get(x_21, 3); +x_65 = lean_ctor_get(x_21, 4); +x_66 = lean_ctor_get(x_21, 5); +x_67 = lean_ctor_get(x_21, 6); +x_68 = lean_ctor_get(x_21, 7); +lean_inc(x_68); +lean_inc(x_67); lean_inc(x_66); lean_inc(x_65); lean_inc(x_64); lean_inc(x_63); lean_inc(x_62); lean_inc(x_61); -lean_inc(x_60); -lean_inc(x_59); lean_dec(x_21); lean_inc(x_4); -x_67 = l_Lean_Environment_registerNamespace(x_59, x_4); -x_68 = l_Lean_Elab_Command_instInhabitedScope; -x_69 = l_List_head_x21___rarg(x_68, x_61); -x_70 = lean_ctor_get_uint8(x_69, sizeof(void*)*7); -if (x_70 == 0) +x_69 = l_Lean_Environment_registerNamespace(x_61, x_4); +x_70 = l_Lean_Elab_Command_instInhabitedScope; +x_71 = l_List_head_x21___rarg(x_70, x_63); +x_72 = lean_ctor_get_uint8(x_71, sizeof(void*)*8); +if (x_72 == 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; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -x_72 = lean_ctor_get(x_69, 3); -lean_inc(x_72); -x_73 = lean_ctor_get(x_69, 4); +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; +x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); -x_74 = lean_ctor_get(x_69, 5); +x_74 = lean_ctor_get(x_71, 3); lean_inc(x_74); -x_75 = lean_ctor_get(x_69, 6); +x_75 = lean_ctor_get(x_71, 4); lean_inc(x_75); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - lean_ctor_release(x_69, 2); - lean_ctor_release(x_69, 3); - lean_ctor_release(x_69, 4); - lean_ctor_release(x_69, 5); - lean_ctor_release(x_69, 6); - x_76 = x_69; +x_76 = lean_ctor_get(x_71, 5); +lean_inc(x_76); +x_77 = lean_ctor_get(x_71, 6); +lean_inc(x_77); +x_78 = lean_ctor_get(x_71, 7); +lean_inc(x_78); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + lean_ctor_release(x_71, 2); + lean_ctor_release(x_71, 3); + lean_ctor_release(x_71, 4); + lean_ctor_release(x_71, 5); + lean_ctor_release(x_71, 6); + lean_ctor_release(x_71, 7); + x_79 = x_71; } else { - lean_dec_ref(x_69); - x_76 = lean_box(0); + lean_dec_ref(x_71); + x_79 = lean_box(0); } lean_inc(x_4); -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(0, 7, 1); +if (lean_is_scalar(x_79)) { + x_80 = lean_alloc_ctor(0, 8, 1); } else { - x_77 = x_76; + x_80 = x_79; } -lean_ctor_set(x_77, 0, x_3); -lean_ctor_set(x_77, 1, x_71); -lean_ctor_set(x_77, 2, x_4); -lean_ctor_set(x_77, 3, x_72); -lean_ctor_set(x_77, 4, x_73); -lean_ctor_set(x_77, 5, x_74); -lean_ctor_set(x_77, 6, x_75); -lean_ctor_set_uint8(x_77, sizeof(void*)*7, x_2); +lean_ctor_set(x_80, 0, x_3); +lean_ctor_set(x_80, 1, x_73); +lean_ctor_set(x_80, 2, x_4); +lean_ctor_set(x_80, 3, x_74); +lean_ctor_set(x_80, 4, x_75); +lean_ctor_set(x_80, 5, x_76); +lean_ctor_set(x_80, 6, x_77); +lean_ctor_set(x_80, 7, x_78); +lean_ctor_set_uint8(x_80, sizeof(void*)*8, x_2); lean_ctor_set_tag(x_19, 1); -lean_ctor_set(x_19, 1, x_61); -lean_ctor_set(x_19, 0, x_77); -x_78 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_78, 0, x_67); -lean_ctor_set(x_78, 1, x_60); -lean_ctor_set(x_78, 2, x_19); -lean_ctor_set(x_78, 3, x_62); -lean_ctor_set(x_78, 4, x_63); -lean_ctor_set(x_78, 5, x_64); -lean_ctor_set(x_78, 6, x_65); -lean_ctor_set(x_78, 7, x_66); -x_79 = lean_st_ref_set(x_6, x_78, x_58); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_8 = x_80; -goto block_18; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_81 = lean_ctor_get(x_69, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_69, 3); -lean_inc(x_82); -x_83 = lean_ctor_get(x_69, 4); +lean_ctor_set(x_19, 1, x_63); +lean_ctor_set(x_19, 0, x_80); +x_81 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_81, 0, x_69); +lean_ctor_set(x_81, 1, x_62); +lean_ctor_set(x_81, 2, x_19); +lean_ctor_set(x_81, 3, x_64); +lean_ctor_set(x_81, 4, x_65); +lean_ctor_set(x_81, 5, x_66); +lean_ctor_set(x_81, 6, x_67); +lean_ctor_set(x_81, 7, x_68); +x_82 = lean_st_ref_set(x_6, x_81, x_60); +x_83 = lean_ctor_get(x_82, 1); lean_inc(x_83); -x_84 = lean_ctor_get(x_69, 5); +lean_dec(x_82); +x_8 = x_83; +goto block_18; +} +else +{ +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; uint8_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_84 = lean_ctor_get(x_71, 1); lean_inc(x_84); -x_85 = lean_ctor_get(x_69, 6); +x_85 = lean_ctor_get(x_71, 3); lean_inc(x_85); -if (lean_is_exclusive(x_69)) { - lean_ctor_release(x_69, 0); - lean_ctor_release(x_69, 1); - lean_ctor_release(x_69, 2); - lean_ctor_release(x_69, 3); - lean_ctor_release(x_69, 4); - lean_ctor_release(x_69, 5); - lean_ctor_release(x_69, 6); - x_86 = x_69; +x_86 = lean_ctor_get(x_71, 4); +lean_inc(x_86); +x_87 = lean_ctor_get(x_71, 5); +lean_inc(x_87); +x_88 = lean_ctor_get(x_71, 6); +lean_inc(x_88); +x_89 = lean_ctor_get(x_71, 7); +lean_inc(x_89); +if (lean_is_exclusive(x_71)) { + lean_ctor_release(x_71, 0); + lean_ctor_release(x_71, 1); + lean_ctor_release(x_71, 2); + lean_ctor_release(x_71, 3); + lean_ctor_release(x_71, 4); + lean_ctor_release(x_71, 5); + lean_ctor_release(x_71, 6); + lean_ctor_release(x_71, 7); + x_90 = x_71; } else { - lean_dec_ref(x_69); - x_86 = lean_box(0); + lean_dec_ref(x_71); + x_90 = lean_box(0); } -x_87 = 1; +x_91 = 1; lean_inc(x_4); -if (lean_is_scalar(x_86)) { - x_88 = lean_alloc_ctor(0, 7, 1); +if (lean_is_scalar(x_90)) { + x_92 = lean_alloc_ctor(0, 8, 1); } else { - x_88 = x_86; + x_92 = x_90; } -lean_ctor_set(x_88, 0, x_3); -lean_ctor_set(x_88, 1, x_81); -lean_ctor_set(x_88, 2, x_4); -lean_ctor_set(x_88, 3, x_82); -lean_ctor_set(x_88, 4, x_83); -lean_ctor_set(x_88, 5, x_84); -lean_ctor_set(x_88, 6, x_85); -lean_ctor_set_uint8(x_88, sizeof(void*)*7, x_87); +lean_ctor_set(x_92, 0, x_3); +lean_ctor_set(x_92, 1, x_84); +lean_ctor_set(x_92, 2, x_4); +lean_ctor_set(x_92, 3, x_85); +lean_ctor_set(x_92, 4, x_86); +lean_ctor_set(x_92, 5, x_87); +lean_ctor_set(x_92, 6, x_88); +lean_ctor_set(x_92, 7, x_89); +lean_ctor_set_uint8(x_92, sizeof(void*)*8, x_91); lean_ctor_set_tag(x_19, 1); -lean_ctor_set(x_19, 1, x_61); -lean_ctor_set(x_19, 0, x_88); -x_89 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_89, 0, x_67); -lean_ctor_set(x_89, 1, x_60); -lean_ctor_set(x_89, 2, x_19); -lean_ctor_set(x_89, 3, x_62); -lean_ctor_set(x_89, 4, x_63); -lean_ctor_set(x_89, 5, x_64); -lean_ctor_set(x_89, 6, x_65); -lean_ctor_set(x_89, 7, x_66); -x_90 = lean_st_ref_set(x_6, x_89, x_58); -x_91 = lean_ctor_get(x_90, 1); -lean_inc(x_91); -lean_dec(x_90); -x_8 = x_91; -goto block_18; -} -} -} -else -{ -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; uint8_t x_106; -x_92 = lean_ctor_get(x_19, 0); -x_93 = lean_ctor_get(x_19, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_19); -x_94 = lean_ctor_get(x_92, 0); -lean_inc(x_94); -x_95 = lean_ctor_get(x_92, 1); +lean_ctor_set(x_19, 1, x_63); +lean_ctor_set(x_19, 0, x_92); +x_93 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_93, 0, x_69); +lean_ctor_set(x_93, 1, x_62); +lean_ctor_set(x_93, 2, x_19); +lean_ctor_set(x_93, 3, x_64); +lean_ctor_set(x_93, 4, x_65); +lean_ctor_set(x_93, 5, x_66); +lean_ctor_set(x_93, 6, x_67); +lean_ctor_set(x_93, 7, x_68); +x_94 = lean_st_ref_set(x_6, x_93, x_60); +x_95 = lean_ctor_get(x_94, 1); lean_inc(x_95); -x_96 = lean_ctor_get(x_92, 2); -lean_inc(x_96); -x_97 = lean_ctor_get(x_92, 3); -lean_inc(x_97); -x_98 = lean_ctor_get(x_92, 4); -lean_inc(x_98); -x_99 = lean_ctor_get(x_92, 5); -lean_inc(x_99); -x_100 = lean_ctor_get(x_92, 6); -lean_inc(x_100); -x_101 = lean_ctor_get(x_92, 7); -lean_inc(x_101); -if (lean_is_exclusive(x_92)) { - lean_ctor_release(x_92, 0); - lean_ctor_release(x_92, 1); - lean_ctor_release(x_92, 2); - lean_ctor_release(x_92, 3); - lean_ctor_release(x_92, 4); - lean_ctor_release(x_92, 5); - lean_ctor_release(x_92, 6); - lean_ctor_release(x_92, 7); - x_102 = x_92; -} else { - lean_dec_ref(x_92); - x_102 = lean_box(0); +lean_dec(x_94); +x_8 = x_95; +goto block_18; } -lean_inc(x_4); -x_103 = l_Lean_Environment_registerNamespace(x_94, x_4); -x_104 = l_Lean_Elab_Command_instInhabitedScope; -x_105 = l_List_head_x21___rarg(x_104, x_96); -x_106 = lean_ctor_get_uint8(x_105, sizeof(void*)*7); -if (x_106 == 0) +} +} +else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -x_108 = lean_ctor_get(x_105, 3); -lean_inc(x_108); -x_109 = lean_ctor_get(x_105, 4); -lean_inc(x_109); -x_110 = lean_ctor_get(x_105, 5); -lean_inc(x_110); -x_111 = lean_ctor_get(x_105, 6); -lean_inc(x_111); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - lean_ctor_release(x_105, 2); - lean_ctor_release(x_105, 3); - lean_ctor_release(x_105, 4); - lean_ctor_release(x_105, 5); - lean_ctor_release(x_105, 6); - x_112 = x_105; +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; uint8_t x_110; +x_96 = lean_ctor_get(x_19, 0); +x_97 = lean_ctor_get(x_19, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_19); +x_98 = lean_ctor_get(x_96, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_96, 1); +lean_inc(x_99); +x_100 = lean_ctor_get(x_96, 2); +lean_inc(x_100); +x_101 = lean_ctor_get(x_96, 3); +lean_inc(x_101); +x_102 = lean_ctor_get(x_96, 4); +lean_inc(x_102); +x_103 = lean_ctor_get(x_96, 5); +lean_inc(x_103); +x_104 = lean_ctor_get(x_96, 6); +lean_inc(x_104); +x_105 = lean_ctor_get(x_96, 7); +lean_inc(x_105); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + lean_ctor_release(x_96, 2); + lean_ctor_release(x_96, 3); + lean_ctor_release(x_96, 4); + lean_ctor_release(x_96, 5); + lean_ctor_release(x_96, 6); + lean_ctor_release(x_96, 7); + x_106 = x_96; } else { - lean_dec_ref(x_105); - x_112 = lean_box(0); + lean_dec_ref(x_96); + x_106 = lean_box(0); } lean_inc(x_4); -if (lean_is_scalar(x_112)) { - x_113 = lean_alloc_ctor(0, 7, 1); +x_107 = l_Lean_Environment_registerNamespace(x_98, x_4); +x_108 = l_Lean_Elab_Command_instInhabitedScope; +x_109 = l_List_head_x21___rarg(x_108, x_100); +x_110 = lean_ctor_get_uint8(x_109, sizeof(void*)*8); +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; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +x_112 = lean_ctor_get(x_109, 3); +lean_inc(x_112); +x_113 = lean_ctor_get(x_109, 4); +lean_inc(x_113); +x_114 = lean_ctor_get(x_109, 5); +lean_inc(x_114); +x_115 = lean_ctor_get(x_109, 6); +lean_inc(x_115); +x_116 = lean_ctor_get(x_109, 7); +lean_inc(x_116); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + lean_ctor_release(x_109, 2); + lean_ctor_release(x_109, 3); + lean_ctor_release(x_109, 4); + lean_ctor_release(x_109, 5); + lean_ctor_release(x_109, 6); + lean_ctor_release(x_109, 7); + x_117 = x_109; } else { - x_113 = x_112; + lean_dec_ref(x_109); + x_117 = lean_box(0); } -lean_ctor_set(x_113, 0, x_3); -lean_ctor_set(x_113, 1, x_107); -lean_ctor_set(x_113, 2, x_4); -lean_ctor_set(x_113, 3, x_108); -lean_ctor_set(x_113, 4, x_109); -lean_ctor_set(x_113, 5, x_110); -lean_ctor_set(x_113, 6, x_111); -lean_ctor_set_uint8(x_113, sizeof(void*)*7, x_2); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_96); -if (lean_is_scalar(x_102)) { - x_115 = lean_alloc_ctor(0, 8, 0); +lean_inc(x_4); +if (lean_is_scalar(x_117)) { + x_118 = lean_alloc_ctor(0, 8, 1); } else { - x_115 = x_102; + x_118 = x_117; } -lean_ctor_set(x_115, 0, x_103); -lean_ctor_set(x_115, 1, x_95); -lean_ctor_set(x_115, 2, x_114); -lean_ctor_set(x_115, 3, x_97); -lean_ctor_set(x_115, 4, x_98); -lean_ctor_set(x_115, 5, x_99); -lean_ctor_set(x_115, 6, x_100); -lean_ctor_set(x_115, 7, x_101); -x_116 = lean_st_ref_set(x_6, x_115, x_93); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -lean_dec(x_116); -x_8 = x_117; +lean_ctor_set(x_118, 0, x_3); +lean_ctor_set(x_118, 1, x_111); +lean_ctor_set(x_118, 2, x_4); +lean_ctor_set(x_118, 3, x_112); +lean_ctor_set(x_118, 4, x_113); +lean_ctor_set(x_118, 5, x_114); +lean_ctor_set(x_118, 6, x_115); +lean_ctor_set(x_118, 7, x_116); +lean_ctor_set_uint8(x_118, sizeof(void*)*8, x_2); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_100); +if (lean_is_scalar(x_106)) { + x_120 = lean_alloc_ctor(0, 8, 0); +} else { + x_120 = x_106; +} +lean_ctor_set(x_120, 0, x_107); +lean_ctor_set(x_120, 1, x_99); +lean_ctor_set(x_120, 2, x_119); +lean_ctor_set(x_120, 3, x_101); +lean_ctor_set(x_120, 4, x_102); +lean_ctor_set(x_120, 5, x_103); +lean_ctor_set(x_120, 6, x_104); +lean_ctor_set(x_120, 7, x_105); +x_121 = lean_st_ref_set(x_6, x_120, x_97); +x_122 = lean_ctor_get(x_121, 1); +lean_inc(x_122); +lean_dec(x_121); +x_8 = x_122; goto block_18; } 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; uint8_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_118 = lean_ctor_get(x_105, 1); -lean_inc(x_118); -x_119 = lean_ctor_get(x_105, 3); -lean_inc(x_119); -x_120 = lean_ctor_get(x_105, 4); -lean_inc(x_120); -x_121 = lean_ctor_get(x_105, 5); -lean_inc(x_121); -x_122 = lean_ctor_get(x_105, 6); -lean_inc(x_122); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - lean_ctor_release(x_105, 2); - lean_ctor_release(x_105, 3); - lean_ctor_release(x_105, 4); - lean_ctor_release(x_105, 5); - lean_ctor_release(x_105, 6); - x_123 = x_105; +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; uint8_t x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_123 = lean_ctor_get(x_109, 1); +lean_inc(x_123); +x_124 = lean_ctor_get(x_109, 3); +lean_inc(x_124); +x_125 = lean_ctor_get(x_109, 4); +lean_inc(x_125); +x_126 = lean_ctor_get(x_109, 5); +lean_inc(x_126); +x_127 = lean_ctor_get(x_109, 6); +lean_inc(x_127); +x_128 = lean_ctor_get(x_109, 7); +lean_inc(x_128); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + lean_ctor_release(x_109, 2); + lean_ctor_release(x_109, 3); + lean_ctor_release(x_109, 4); + lean_ctor_release(x_109, 5); + lean_ctor_release(x_109, 6); + lean_ctor_release(x_109, 7); + x_129 = x_109; } else { - lean_dec_ref(x_105); - x_123 = lean_box(0); + lean_dec_ref(x_109); + x_129 = lean_box(0); } -x_124 = 1; +x_130 = 1; lean_inc(x_4); -if (lean_is_scalar(x_123)) { - x_125 = lean_alloc_ctor(0, 7, 1); +if (lean_is_scalar(x_129)) { + x_131 = lean_alloc_ctor(0, 8, 1); } else { - x_125 = x_123; + x_131 = x_129; } -lean_ctor_set(x_125, 0, x_3); -lean_ctor_set(x_125, 1, x_118); -lean_ctor_set(x_125, 2, x_4); -lean_ctor_set(x_125, 3, x_119); -lean_ctor_set(x_125, 4, x_120); -lean_ctor_set(x_125, 5, x_121); -lean_ctor_set(x_125, 6, x_122); -lean_ctor_set_uint8(x_125, sizeof(void*)*7, x_124); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_96); -if (lean_is_scalar(x_102)) { - x_127 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_131, 0, x_3); +lean_ctor_set(x_131, 1, x_123); +lean_ctor_set(x_131, 2, x_4); +lean_ctor_set(x_131, 3, x_124); +lean_ctor_set(x_131, 4, x_125); +lean_ctor_set(x_131, 5, x_126); +lean_ctor_set(x_131, 6, x_127); +lean_ctor_set(x_131, 7, x_128); +lean_ctor_set_uint8(x_131, sizeof(void*)*8, x_130); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_100); +if (lean_is_scalar(x_106)) { + x_133 = lean_alloc_ctor(0, 8, 0); } else { - x_127 = x_102; + x_133 = x_106; } -lean_ctor_set(x_127, 0, x_103); -lean_ctor_set(x_127, 1, x_95); -lean_ctor_set(x_127, 2, x_126); -lean_ctor_set(x_127, 3, x_97); -lean_ctor_set(x_127, 4, x_98); -lean_ctor_set(x_127, 5, x_99); -lean_ctor_set(x_127, 6, x_100); -lean_ctor_set(x_127, 7, x_101); -x_128 = lean_st_ref_set(x_6, x_127, x_93); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -lean_dec(x_128); -x_8 = x_129; +lean_ctor_set(x_133, 0, x_107); +lean_ctor_set(x_133, 1, x_99); +lean_ctor_set(x_133, 2, x_132); +lean_ctor_set(x_133, 3, x_101); +lean_ctor_set(x_133, 4, x_102); +lean_ctor_set(x_133, 5, x_103); +lean_ctor_set(x_133, 6, x_104); +lean_ctor_set(x_133, 7, x_105); +x_134 = lean_st_ref_set(x_6, x_133, x_97); +x_135 = lean_ctor_get(x_134, 1); +lean_inc(x_135); +lean_dec(x_134); +x_8 = x_135; goto block_18; } } @@ -14712,14 +14752,16 @@ return x_2; } else { -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_5; 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_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, 4); x_9 = lean_ctor_get(x_2, 5); x_10 = lean_ctor_get(x_2, 6); -x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_11 = lean_ctor_get(x_2, 7); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -14727,16 +14769,17 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_dec(x_2); -x_12 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_12, 0, x_5); -lean_ctor_set(x_12, 1, x_6); -lean_ctor_set(x_12, 2, x_7); -lean_ctor_set(x_12, 3, x_1); -lean_ctor_set(x_12, 4, x_8); -lean_ctor_set(x_12, 5, x_9); -lean_ctor_set(x_12, 6, x_10); -lean_ctor_set_uint8(x_12, sizeof(void*)*7, x_11); -return x_12; +x_13 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_13, 0, x_5); +lean_ctor_set(x_13, 1, x_6); +lean_ctor_set(x_13, 2, x_7); +lean_ctor_set(x_13, 3, x_1); +lean_ctor_set(x_13, 4, x_8); +lean_ctor_set(x_13, 5, x_9); +lean_ctor_set(x_13, 6, x_10); +lean_ctor_set(x_13, 7, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*8, x_12); +return x_13; } } } @@ -20081,14 +20124,16 @@ return x_2; } else { -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_5; 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_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); x_9 = lean_ctor_get(x_2, 4); x_10 = lean_ctor_get(x_2, 6); -x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_11 = lean_ctor_get(x_2, 7); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -20096,16 +20141,17 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_dec(x_2); -x_12 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_12, 0, x_5); -lean_ctor_set(x_12, 1, x_6); -lean_ctor_set(x_12, 2, x_7); -lean_ctor_set(x_12, 3, x_8); -lean_ctor_set(x_12, 4, x_9); -lean_ctor_set(x_12, 5, x_1); -lean_ctor_set(x_12, 6, x_10); -lean_ctor_set_uint8(x_12, sizeof(void*)*7, x_11); -return x_12; +x_13 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_13, 0, x_5); +lean_ctor_set(x_13, 1, x_6); +lean_ctor_set(x_13, 2, x_7); +lean_ctor_set(x_13, 3, x_8); +lean_ctor_set(x_13, 4, x_9); +lean_ctor_set(x_13, 5, x_1); +lean_ctor_set(x_13, 6, x_10); +lean_ctor_set(x_13, 7, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*8, x_12); +return x_13; } } } @@ -20757,16 +20803,16 @@ 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, 5); -x_6 = lean_ctor_get(x_3, 6); +x_6 = lean_ctor_get(x_3, 7); x_7 = lean_array_push(x_5, x_1); x_8 = l_Array_append___rarg(x_6, x_2); -lean_ctor_set(x_3, 6, x_8); +lean_ctor_set(x_3, 7, x_8); lean_ctor_set(x_3, 5, x_7); 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; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_9; 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; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_9 = lean_ctor_get(x_3, 0); x_10 = lean_ctor_get(x_3, 1); x_11 = lean_ctor_get(x_3, 2); @@ -20774,7 +20820,9 @@ x_12 = lean_ctor_get(x_3, 3); x_13 = lean_ctor_get(x_3, 4); x_14 = lean_ctor_get(x_3, 5); x_15 = lean_ctor_get(x_3, 6); -x_16 = lean_ctor_get_uint8(x_3, sizeof(void*)*7); +x_16 = lean_ctor_get(x_3, 7); +x_17 = lean_ctor_get_uint8(x_3, sizeof(void*)*8); +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); @@ -20783,18 +20831,19 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_dec(x_3); -x_17 = lean_array_push(x_14, x_1); -x_18 = l_Array_append___rarg(x_15, x_2); -x_19 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_19, 0, x_9); -lean_ctor_set(x_19, 1, x_10); -lean_ctor_set(x_19, 2, x_11); -lean_ctor_set(x_19, 3, x_12); -lean_ctor_set(x_19, 4, x_13); -lean_ctor_set(x_19, 5, x_17); -lean_ctor_set(x_19, 6, x_18); -lean_ctor_set_uint8(x_19, sizeof(void*)*7, x_16); -return x_19; +x_18 = lean_array_push(x_14, x_1); +x_19 = l_Array_append___rarg(x_16, x_2); +x_20 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_20, 0, x_9); +lean_ctor_set(x_20, 1, x_10); +lean_ctor_set(x_20, 2, x_11); +lean_ctor_set(x_20, 3, x_12); +lean_ctor_set(x_20, 4, x_13); +lean_ctor_set(x_20, 5, x_18); +lean_ctor_set(x_20, 6, x_15); +lean_ctor_set(x_20, 7, x_19); +lean_ctor_set_uint8(x_20, sizeof(void*)*8, x_17); +return x_20; } } } @@ -33465,14 +33514,16 @@ return x_2; } else { -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_5; 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_5 = lean_ctor_get(x_2, 0); x_6 = lean_ctor_get(x_2, 2); x_7 = lean_ctor_get(x_2, 3); x_8 = lean_ctor_get(x_2, 4); x_9 = lean_ctor_get(x_2, 5); x_10 = lean_ctor_get(x_2, 6); -x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_11 = lean_ctor_get(x_2, 7); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -33480,16 +33531,17 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_dec(x_2); -x_12 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_12, 0, x_5); -lean_ctor_set(x_12, 1, x_1); -lean_ctor_set(x_12, 2, x_6); -lean_ctor_set(x_12, 3, x_7); -lean_ctor_set(x_12, 4, x_8); -lean_ctor_set(x_12, 5, x_9); -lean_ctor_set(x_12, 6, x_10); -lean_ctor_set_uint8(x_12, sizeof(void*)*7, x_11); -return x_12; +x_13 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_13, 0, x_5); +lean_ctor_set(x_13, 1, x_1); +lean_ctor_set(x_13, 2, x_6); +lean_ctor_set(x_13, 3, x_7); +lean_ctor_set(x_13, 4, x_8); +lean_ctor_set(x_13, 5, x_9); +lean_ctor_set(x_13, 6, x_10); +lean_ctor_set(x_13, 7, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*8, x_12); +return x_13; } } } @@ -34954,6 +35006,407 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("invalid 'include', variable '", 29, 29); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("' has not been declared in the current scope", 44, 44); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1(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) { +_start: +{ +uint8_t x_9; +x_9 = lean_usize_dec_lt(x_4, x_3); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_6); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_5); +lean_ctor_set(x_10, 1, x_8); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_dec(x_5); +x_11 = lean_array_uget(x_2, x_4); +x_12 = l_Lean_Syntax_getId(x_11); +x_13 = l_Array_contains___at_Lean_findField_x3f___spec__1(x_1, x_12); +lean_dec(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_object* x_19; uint8_t x_20; +x_14 = l_Lean_MessageData_ofSyntax(x_11); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__2; +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__4; +x_18 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__18(x_18, x_6, x_7, x_8); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +return x_19; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_19); +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; +} +} +else +{ +size_t x_24; size_t x_25; lean_object* x_26; +lean_dec(x_11); +x_24 = 1; +x_25 = lean_usize_add(x_4, x_24); +x_26 = lean_box(0); +x_4 = x_25; +x_5 = x_26; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_List_map___at_Lean_Elab_Command_elabInclude___spec__2(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +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; lean_object* x_7; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = l_Lean_Syntax_getId(x_4); +lean_dec(x_4); +x_7 = l_List_map___at_Lean_Elab_Command_elabInclude___spec__2(x_5); +lean_ctor_set(x_1, 1, x_7); +lean_ctor_set(x_1, 0, x_6); +return x_1; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_ctor_get(x_1, 0); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_inc(x_8); +lean_dec(x_1); +x_10 = l_Lean_Syntax_getId(x_8); +lean_dec(x_8); +x_11 = l_List_map___at_Lean_Elab_Command_elabInclude___spec__2(x_9); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInclude___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_2, 6); +x_5 = lean_array_to_list(lean_box(0), x_1); +x_6 = l_List_map___at_Lean_Elab_Command_elabInclude___spec__2(x_5); +x_7 = l_List_appendTR___rarg(x_4, x_6); +lean_ctor_set(x_2, 6, x_7); +return x_2; +} +else +{ +lean_object* x_8; lean_object* x_9; 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; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +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 = lean_ctor_get(x_2, 3); +x_12 = lean_ctor_get(x_2, 4); +x_13 = lean_ctor_get(x_2, 5); +x_14 = lean_ctor_get(x_2, 6); +x_15 = lean_ctor_get(x_2, 7); +x_16 = lean_ctor_get_uint8(x_2, sizeof(void*)*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_dec(x_2); +x_17 = lean_array_to_list(lean_box(0), x_1); +x_18 = l_List_map___at_Lean_Elab_Command_elabInclude___spec__2(x_17); +x_19 = l_List_appendTR___rarg(x_14, x_18); +x_20 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_20, 0, x_8); +lean_ctor_set(x_20, 1, x_9); +lean_ctor_set(x_20, 2, x_10); +lean_ctor_set(x_20, 3, x_11); +lean_ctor_set(x_20, 4, x_12); +lean_ctor_set(x_20, 5, x_13); +lean_ctor_set(x_20, 6, x_19); +lean_ctor_set(x_20, 7, x_15); +lean_ctor_set_uint8(x_20, sizeof(void*)*8, x_16); +return x_20; +} +} +} +static lean_object* _init_l_Lean_Elab_Command_elabInclude___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("include", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Command_elabInclude___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___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__3; +x_4 = l_Lean_Elab_Command_elabInclude___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_Elab_Command_elabInclude(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 = l_Lean_Elab_Command_elabInclude___closed__2; +lean_inc(x_1); +x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_7 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabNamespace___spec__1___rarg(x_4); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +x_10 = l_Lean_Syntax_getArgs(x_9); +lean_dec(x_9); +x_11 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); +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, 5); +lean_inc(x_14); +lean_dec(x_12); +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); +x_18 = lean_array_size(x_10); +x_19 = 0; +if (x_17 == 0) +{ +lean_object* x_31; +lean_dec(x_15); +lean_dec(x_14); +x_31 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__1; +x_20 = x_31; +goto block_30; +} +else +{ +uint8_t x_32; +x_32 = lean_nat_dec_le(x_15, x_15); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_15); +lean_dec(x_14); +x_33 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__1; +x_20 = x_33; +goto block_30; +} +else +{ +size_t x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_35 = l___private_Lean_Elab_Open_0__Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at_Lean_Elab_Command_elabExport___spec__5___closed__1; +x_36 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__2(x_14, x_19, x_34, x_35); +lean_dec(x_14); +x_20 = x_36; +goto block_30; +} +} +block_30: +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_box(0); +lean_inc(x_2); +x_22 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1(x_20, x_10, x_18, x_19, x_21, x_2, x_3, x_13); +lean_dec(x_20); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabInclude___lambda__1), 2, 1); +lean_closure_set(x_24, 0, x_10); +x_25 = l_Lean_Elab_Command_modifyScope(x_24, x_2, x_3, x_23); +lean_dec(x_2); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_10); +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_22); +if (x_26 == 0) +{ +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; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___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_3); +lean_dec(x_3); +x_10 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_11 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabInclude___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_Command_elabInclude(x_1, x_2, x_3, x_4); +lean_dec(x_3); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("elabInclude", 11, 11); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabInclude__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___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__1; +x_2 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__6; +x_3 = l___regBuiltin_Lean_Elab_Command_elabModuleDoc__1___closed__3; +x_4 = l___regBuiltin_Lean_Elab_Command_elabInclude__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___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabInclude___boxed), 4, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_elabInclude__1(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_Elab_Command_elabModuleDoc__1___closed__9; +x_3 = l_Lean_Elab_Command_elabInclude___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__2; +x_5 = l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__3; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} static lean_object* _init_l_Lean_logWarning___at_Lean_Elab_Command_elabExit___spec__1___closed__1() { _start: { @@ -36899,6 +37352,27 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange__ if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabAddDeclDoc_declRange__1(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__2); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__3 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__3); +l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__4 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabInclude___spec__1___closed__4); +l_Lean_Elab_Command_elabInclude___closed__1 = _init_l_Lean_Elab_Command_elabInclude___closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_elabInclude___closed__1); +l_Lean_Elab_Command_elabInclude___closed__2 = _init_l_Lean_Elab_Command_elabInclude___closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_elabInclude___closed__2); +l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__1); +l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__2 = _init_l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__2); +l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__3 = _init_l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabInclude__1___closed__3); +if (builtin) {res = l___regBuiltin_Lean_Elab_Command_elabInclude__1(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); }l_Lean_logWarning___at_Lean_Elab_Command_elabExit___spec__1___closed__1 = _init_l_Lean_logWarning___at_Lean_Elab_Command_elabExit___spec__1___closed__1(); lean_mark_persistent(l_Lean_logWarning___at_Lean_Elab_Command_elabExit___spec__1___closed__1); l_Lean_Elab_Command_elabExit___rarg___closed__1 = _init_l_Lean_Elab_Command_elabExit___rarg___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Command.c b/stage0/stdlib/Lean/Elab/Command.c index f7a284eafa..e392af2b73 100644 --- a/stage0/stdlib/Lean/Elab/Command.c +++ b/stage0/stdlib/Lean/Elab/Command.c @@ -14,7 +14,6 @@ extern "C" { #endif static lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414_; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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_EXPORT lean_object* l_Lean_Elab_Command_Context_cmdPos___default; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___spec__4(lean_object*, size_t, size_t, lean_object*); @@ -27,7 +26,6 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand_ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabCommand___spec__22(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607_(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__13(lean_object*, lean_object*); lean_object* l_List_iota(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -42,9 +40,9 @@ LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Comm LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_expandDeclId___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__17(lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___closed__5; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkMessageAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedScope___closed__2; lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -68,15 +66,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftTermElabM(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_CommandContextInfo_save___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__19; static lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__15; static lean_object* l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__4___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_getBracketedBinderIds___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabCommand___spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addDocString_x27___at_Lean_Elab_Command_expandDeclId___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__1; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__13; LEAN_EXPORT lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___lambda__2___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_Command_0__Lean_Elab_Command_mkTermContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Language_instInhabitedDynamicSnapshot; @@ -85,6 +83,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__18(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__6; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__7___lambda__1___closed__2; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__27; lean_object* lean_private_to_user_name(lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___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_logAt___at_Lean_Elab_Command_elabCommand___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -93,6 +92,7 @@ static lean_object* l_Lean_Elab_Command_State_nextMacroScope___default___closed_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__10(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_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_liftCommandElabM___rarg___closed__4; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__8; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Elab_Command_runLinters___spec__15(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe(lean_object*, lean_object*); @@ -100,25 +100,24 @@ static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__3; lean_object* l_Lean_PersistentArray_toArray___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__20(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_profileitIOUnsafe___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_opts___default; LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___at_Lean_Elab_Command_expandDeclId___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__1; static lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__1; static lean_object* l_Lean_Elab_Command_elabCommand___lambda__3___closed__1; -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__3; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__9; extern lean_object* l_Lean_maxRecDepthErrorMessage; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_getLevelNames___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommand___spec__20(lean_object*, lean_object*, 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_initFn____x40_Lean_Elab_Command___hyg_4619____closed__4; lean_object* l_Lean_Language_DynamicSnapshot_toTyped_x3f___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___closed__1; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__7; lean_object* l_Lean_indentD(lean_object*); double lean_float_div(double, double); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___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*); @@ -135,16 +134,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_tryCatch___rarg(lean_object*, lean_ uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__13; static lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkInfoTree(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_runLinters___spec__14(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_addUnivLevel___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_traceState___default; static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__2; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_Context_ref___default; -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__23; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandDeclId___spec__17(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_joinSep(lean_object*, lean_object*); static lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___closed__1; @@ -153,10 +151,12 @@ LEAN_EXPORT lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_C LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1(lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_liftTermElabM___spec__13___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__9; LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___spec__3(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_elabCommand___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); @@ -180,6 +180,7 @@ lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*) static lean_object* l_Lean_Elab_Command_State_scopes___default___closed__1; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_liftTermElabM___spec__13(lean_object*); lean_object* l_String_removeLeadingSpaces(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__2; lean_object* l_Array_qpartition___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__3; @@ -193,27 +194,26 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_messages___default; lean_object* l_Lean_Language_DynamicSnapshot_ofTyped___at_Lean_Language_instInhabitedDynamicSnapshot___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_withSetOptionIn___spec__4(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_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_573_(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Command_expandDeclId___spec__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__3; static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_runLinters___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkState(lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__16; lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftIO___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCommand___lambda__6___closed__1; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Command_liftTermElabM___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_replaceRef(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_DynamicSnapshot_ofTyped___at_Lean_Elab_Command_elabCommand___spec__19(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_Context_currMacroScope___default; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__17; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); @@ -230,7 +230,6 @@ lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___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_mkConstWithLevelParams___at_Lean_Elab_Command_expandDeclId___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScopes___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__10; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Command_runLinters___spec__6(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__2___closed__1; @@ -250,7 +249,6 @@ lean_object* l_Lean_Elab_InfoTree_format(lean_object*, lean_object*, lean_object lean_object* lean_environment_find(lean_object*, lean_object*); uint8_t lean_float_decLt(double, double); LEAN_EXPORT lean_object* l_Lean_Elab_Command_addUnivLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__25; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Command_runLinters___spec__12___rarg___boxed(lean_object*, lean_object*); @@ -258,6 +256,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftCoreM___rarg___boxed(lean_objec LEAN_EXPORT uint8_t l_Lean_Elab_Command_Context_suppressElabErrors___default; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___auto____x40_Lean_Elab_Command___hyg_443_; lean_object* l_Lean_MessageData_hasSyntheticSorry(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__25___boxed(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_runLinters___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -268,9 +267,9 @@ static lean_object* l_Lean_Elab_Command_elabCommand___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLinters___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___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_logAt___at_Lean_Elab_Command_elabCommand___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__12; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; extern lean_object* l_Lean_LocalContext_empty; LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -286,6 +285,7 @@ extern lean_object* l_Lean_trace_profiler_useHeartbeats; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_getBracketedBinderIds___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -301,6 +301,7 @@ static lean_object* l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM__ LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepth; LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__16; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommand___spec__20___closed__1; lean_object* l_Lean_KVMap_insertCore(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__7___lambda__3___closed__1; @@ -312,7 +313,6 @@ uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__5; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); @@ -321,11 +321,9 @@ LEAN_EXPORT lean_object* l_Lean_liftCommandElabM___rarg___boxed(lean_object*, le 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*); LEAN_EXPORT lean_object* l_Lean_Language_SnapshotTree_format___at_Lean_Elab_Command_elabCommandTopLevel___spec__8(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___auto____x40_Lean_Elab_Command___hyg_430____closed__14; LEAN_EXPORT lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getRef___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__8; static lean_object* l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__2(lean_object*, lean_object*, lean_object*); @@ -334,10 +332,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSa LEAN_EXPORT lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__14___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); static lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__4___closed__3; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__8; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__2___closed__1; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_withSetOptionIn___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at_Lean_Elab_Command_elabCommandTopLevel___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -356,10 +353,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabComma static lean_object* l_Lean_withSetOptionIn___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_withLogging___at_Lean_Elab_Command_elabCommand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__4; static lean_object* l_Lean_Elab_Command_elabCommand___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__2; LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___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_Lean_log___at_Lean_Elab_Command_runLinters___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -379,13 +374,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1___b LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427_; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__5; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_liftCommandElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__16; static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___spec__5(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM; @@ -402,7 +397,7 @@ static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___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_Elab_Command_instMonadMacroAdapterCommandElabM; lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__28; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; lean_object* l_liftExcept___at_Lean_Elab_liftMacroM___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_commandElabAttribute; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___spec__1___closed__1; @@ -412,11 +407,11 @@ static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8 lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Command_liftTermElabM___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*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftIO___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__5___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_getBracketedBinderIds(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_liftCoreM___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); @@ -424,8 +419,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabComma LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Command_runLinters___spec__6___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__23; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__22; LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_nextMacroScope___default; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__3; uint64_t lean_uint64_shift_right(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__17___boxed(lean_object*, lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__5___closed__1; @@ -433,7 +430,6 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Command static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__4; static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576_(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_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -455,7 +451,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCom static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand___spec__1___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM(lean_object*); -static lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__1; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_toList(lean_object*); @@ -467,6 +462,7 @@ static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErro LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLiftTIOCommandElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__4; lean_object* l_Lean_throwError___at_Lean_realizeGlobalConstCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__1; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___lambda__1___closed__7; @@ -494,22 +490,20 @@ LEAN_EXPORT lean_object* l_Lean_liftCommandElabM(lean_object*); static lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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_object*); lean_object* l_Lean_Meta_MetaM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__21; LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__7___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Format_prefixJoin___at_Lean_Elab_ContextInfo_ppGoals___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_Elab_Command_expandDeclId___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__25(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__5___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__26; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__2; -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__9; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withScope(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__16(lean_object*, lean_object*, lean_object*, lean_object*); @@ -523,7 +517,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Comma LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_scopes___default; static lean_object* l_Lean_Elab_Command_instMonadEnvCommandElabM___closed__2; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__3; static lean_object* l_Lean_Elab_Command_State_ngen___default___closed__3; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__4; lean_object* l_liftExcept___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8___boxed(lean_object*, lean_object*, lean_object*); @@ -540,19 +533,18 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Elab_Command_l LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_runLinters___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__4___closed__2; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__4; lean_object* l_Lean_Name_append(lean_object*, lean_object*); static lean_object* l_Lean_withSetOptionIn___closed__4; static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__1; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__7___closed__2; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__17; LEAN_EXPORT lean_object* l_Lean_Elab_Command_State_ngen___default; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getLevelNames___rarg___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__2; extern lean_object* l_Lean_levelZero; static lean_object* l_Lean_Elab_Command_elabCommand___closed__4; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__7; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__17; lean_object* lean_io_mono_nanos_now(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__15___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -560,11 +552,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_modifyScope(lean_object*, lean_obje lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCommandTopLevel___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___spec__6(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_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__5(lean_object*, 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_Command_runLinters___spec__9___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_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__7___lambda__2___closed__1; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__10; lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__1; static lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___closed__7; @@ -572,6 +565,7 @@ static lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instA LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommand___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getMainModule___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandDeclIdCore(lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__19; extern lean_object* l_Lean_Elab_builtinIncrementalElabs; static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__7; LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Elab_Command_runLinters___spec__15___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -588,12 +582,12 @@ static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErro static lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withMacroExpansion___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Command_runLinters___spec__12___rarg(lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__15; lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadCommandElabM; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_withSetOptionIn___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Command_elabCommand___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__14; uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_getBracketedBinderIds___spec__1(size_t, size_t, lean_object*); @@ -604,20 +598,17 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_getBracketedBinderIds___lambda__1(l static lean_object* l_Lean_Elab_Command_State_messages___default___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommand___spec__24(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__1; extern lean_object* l_Lean_warningAsError; extern lean_object* l_Lean_Elab_pp_macroStack; -LEAN_EXPORT lean_object* l___auto____x40_Lean_Elab_Command___hyg_430_; uint8_t l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCommand___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__5___closed__6; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__2; static lean_object* l_Lean_Elab_Command_Scope_varDecls___default___closed__1; static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__1; extern lean_object* l_Lean_trace_profiler_threshold; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__12; LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_liftCommandElabM___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -625,24 +616,30 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_levelNames___default; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM; static lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___lambda__2___closed__2; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__3; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadQuotationCommandElabM___closed__4; static lean_object* l_Lean_liftCommandElabM___rarg___closed__2; static lean_object* l_Lean_Elab_Command_mkState___closed__1; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__17; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getMainModule___boxed(lean_object*); static lean_object* l_Lean_Elab_Command_modifyScope___closed__3; static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___closed__3; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__1; static lean_object* l_Lean_Elab_Command_modifyScope___closed__4; static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__28; LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_currNamespace___default; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runLinters___spec__9___lambda__1___closed__2; extern lean_object* l_Lean_diagnostics; static lean_object* l_Lean_Elab_Command_elabCommandTopLevel___closed__1; LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__14___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__1; static lean_object* l_Lean_Elab_Command_runLinters___lambda__1___closed__1; static lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__2; static lean_object* l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___spec__1___closed__5; @@ -665,8 +662,11 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_withLoggingExceptions(lean_object*, static lean_object* l_Lean_Elab_Command_elabCommand___closed__7; lean_object* lean_task_get_own(lean_object*); extern lean_object* l_Std_Format_defWidth; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__18; LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_expandDeclId___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666_(lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___at_Lean_Elab_Command_expandDeclId___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_Elab_Command_State_messages___default___closed__3; lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -680,14 +680,15 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabComma LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadMacroAdapterCommandElabM___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_addLinter(lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__14; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedCommandElabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__9___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__15___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___rarg___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___auto____x40_Lean_Elab_Command___hyg_430____closed__3; lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__5; extern lean_object* l_Lean_inheritedTraceOptions; lean_object* l_Lean_MessageData_ofExpr(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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*); @@ -698,7 +699,6 @@ LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_elabCo LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM(lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM___boxed(lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__13; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Util_Trace_0__Lean_addTraceNode___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_runLinters___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__5; @@ -714,22 +714,23 @@ LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDec lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(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_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__5(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__25; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__9___lambda__1(lean_object*, lean_object*); double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___lambda__2(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_liftTermElabM___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*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__26; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_interruptExceptionId; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__8; static double l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__4___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_runTermElabM___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_logException___at_Lean_Elab_Command_runLinters___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -741,10 +742,12 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSna LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at_Lean_Elab_Command_expandDeclId___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____closed__1; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___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_logException___at_Lean_Elab_Command_elabCommand___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabCommand___closed__3; static lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_586_(lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___spec__1___closed__2; static lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScopes(lean_object*); @@ -757,18 +760,15 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_openDecls___default; LEAN_EXPORT lean_object* l_Lean_logAt___at_Lean_Elab_Command_runLinters___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAtomic(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__1; LEAN_EXPORT lean_object* l_Lean_profileitM___at_Lean_Elab_Command_runLinters___spec__15___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__24; static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__3; static lean_object* l_Lean_Elab_Command_instAddMessageContextCommandElabM___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___closed__5; static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab_Command_addUnivLevel___spec__1___closed__4; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__1; lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withDeclName___spec__3___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabSetOption___at_Lean_withSetOptionIn___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScope(lean_object*); @@ -778,11 +778,12 @@ lean_object* lean_environment_main_module(lean_object*); static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__4; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_withSetOptionIn___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withInfoTreeContext___at_Lean_Elab_Command_withMacroExpansion___spec__1(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__16; 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*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__11; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620_(lean_object*); +static lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkMessageAux(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getLevelNames___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -801,7 +802,6 @@ LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Elab_Command_0__ LEAN_EXPORT lean_object* l_Lean_Elab_Command_getMainModule(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Command_elabCommand___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__18; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__7___closed__1; static lean_object* l_Lean_addDocString___at_Lean_Elab_Command_expandDeclId___spec__14___closed__1; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___closed__2; @@ -809,6 +809,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_ LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__7___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__3; static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___lambda__1___closed__4; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommandTopLevel___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -817,7 +818,6 @@ LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters_ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_expandDeclId___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabSetOption_setOption___at_Lean_withSetOptionIn___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__1___boxed(lean_object*, lean_object*); @@ -836,6 +836,7 @@ static lean_object* l_Lean_Elab_Command_elabCommand___closed__6; uint8_t l_Lean_Syntax_isNone(lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Elab_Command_modifyScope___spec__1(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_includedVars___default; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___closed__2; @@ -857,7 +858,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at_Lean_Elab_Command_elabCom uint8_t l_Lean_isStructure(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___lambda__7___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__2; static double l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); @@ -865,8 +865,10 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0_ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__19___closed__1; lean_object* l_Lean_Core_resetMessageLog(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__1___rarg___closed__1; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__20; lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Option_get_x3f___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__6___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters___spec__1___closed__2; lean_object* l_Lean_Elab_Term_withoutAutoBoundImplicit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -883,6 +885,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCom LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Command_liftTermElabM___spec__2(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__5; lean_object* l_Lean_getOptionDecl(lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_Command_tryCatch(lean_object*); static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessages___closed__1; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -891,7 +894,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at_Lean_Elab_Command_runLinters___spec__6___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_Elab_Command_elabCommandTopLevel___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_liftAttrM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__15; lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); extern lean_object* l_Lean_protectedExt; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_expandDeclId___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -903,17 +905,16 @@ static lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceA lean_object* l_List_reverse___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadOptionsCommandElabM(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; static lean_object* l_List_foldl___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__2___closed__2; -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__22; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____closed__2; static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__7; extern lean_object* l_Lean_firstFrontendMacroScope; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabCommand___boxed__const__1; size_t lean_usize_sub(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedScope; -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__21; LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommand___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM; @@ -924,19 +925,20 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandD LEAN_EXPORT lean_object* l_Lean_Elab_Command_Scope_varUIds___default; uint8_t l_Lean_Syntax_hasMissing(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadLogCommandElabM___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___closed__6; LEAN_EXPORT uint8_t l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___elambda__1(lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__7; LEAN_EXPORT uint8_t l_Lean_Elab_Command_Scope_isNoncomputable___default; LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Elab_Command_runLinters___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandDeclId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__3; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__12(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__5___closed__5; lean_object* l_Lean_Language_SnapshotTask_map___rarg(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_MessageLog_append(lean_object*, lean_object*); @@ -944,8 +946,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_ioEr LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Elab_Command_liftTermElabM___spec__13___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__2; size_t lean_array_size(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_getScope___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_trace_profiler; @@ -956,7 +958,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Elab_C static lean_object* l_Lean_Elab_Command_instMonadCommandElabM___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_Context_currRecDepth___default; LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Command_expandDeclId___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__15; lean_object* lean_io_error_to_string(lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getEntries___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -967,7 +968,6 @@ static lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_runLinters__ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__20___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_Command_0__Lean_Elab_Command_mkMetaContext; static lean_object* l_Lean_Elab_Command_getBracketedBinderIds___closed__3; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__2; lean_object* l_Std_Format_prefixJoin___at_Lean_Language_SnapshotTree_format_go___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_instMonadRefCommandElabM___closed__2; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); @@ -976,6 +976,8 @@ lean_object* l_List_redLength___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__1; static lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__3; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__2; +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__6; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__8___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_liftCommandElabM___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_List_map___at_Lean_mkConstWithLevelParams___spec__1(lean_object*); @@ -984,6 +986,8 @@ lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__4___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*); extern lean_object* l_Lean_trace_profiler_output; static lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__2; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__3; +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637_(lean_object*); static lean_object* l_Lean_Elab_Command_instMonadTraceCommandElabM___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -1019,18 +1023,21 @@ static lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__2 LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__13___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_withoutCommandIncrementality(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__14; LEAN_EXPORT uint8_t l_Lean_Elab_Command_withoutCommandIncrementality___rarg___lambda__1(uint8_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Elab_Command_runLinters___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__5___closed__4; static lean_object* l_Lean_Elab_Command_modifyScope___closed__1; static lean_object* l_Lean_Elab_Command_instMonadResolveNameCommandElabM___closed__1; uint8_t l_Lean_Exception_isRuntime(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__3; LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Elab_Command_elabCommandTopLevel___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Language_SnapshotTree_format_go___at_Lean_Elab_Command_elabCommandTopLevel___spec__9___closed__11; LEAN_EXPORT uint8_t l_Array_qsort_sort___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__14___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_liftCommandElabM___rarg___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__3___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at_Lean_Elab_Command_runLinters___spec__13(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_expandDeclId___spec__19(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_liftTermElabM___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*); @@ -1041,10 +1048,8 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadInfoTreeCommandElabM___lam LEAN_EXPORT lean_object* l_Lean_log___at_Lean_Elab_Command_runLinters___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_mkTermContext___elambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313_(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1___closed__1; lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__27; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instAddMessageContextCommandElabM; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Command_expandDeclId___spec__11(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_modifyScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1062,20 +1067,16 @@ static lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at_Lean_Elab lean_object* lean_dbg_trace(lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, double, double, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_expandDeclId___spec__5___closed__1; lean_object* l___private_Init_Data_Repr_0__Nat_reprFast(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at_Lean_Elab_Command_expandDeclId___spec__2___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*); uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_106_(uint8_t, uint8_t); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__10; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_withoutCommandIncrementality___rarg___lambda__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_SnapshotTree_format___at_Lean_Elab_Command_elabCommandTopLevel___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Command_runTermElabM___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___private_Lean_Elab_Command_0__Lean_Elab_Command_runCore(lean_object*); static lean_object* l_Lean_Elab_Command_elabCommand___lambda__3___closed__3; @@ -1083,15 +1084,16 @@ LEAN_EXPORT lean_object* l_Lean_Elab_isIncrementalElab___at___private_Lean_Elab_ lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); lean_object* l_ReaderT_instMonad___rarg(lean_object*); size_t lean_usize_land(size_t, size_t); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__24; static lean_object* l_Lean_Elab_Command_State_infoState___default___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadRecDepthCommandElabM___lambda__3___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___auto____x40_Lean_Elab_Command___hyg_443____closed__5; lean_object* l_ReaderT_pure___at_Lean_Elab_liftMacroM___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); double lean_float_sub(double, double); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___auto____x40_Lean_Elab_Command___hyg_430____closed__20; LEAN_EXPORT lean_object* l_Lean_liftCommandElabM___rarg___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Elab_Command_expandDeclId___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_liftTermElabM___rarg___closed__3; @@ -1101,7 +1103,6 @@ lean_object* l_Lean_Message_toString(lean_object*, uint8_t, lean_object*); extern lean_object* l_Lean_Language_instTypeNameSnapshotLeaf; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___private_Lean_Elab_Command_0__Lean_Elab_Command_addTraceAsMessagesCore___spec__5(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageLog_hasErrors(lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__9; static lean_object* _init_l_Lean_Elab_Command_Scope_opts___default() { _start: { @@ -1151,6 +1152,14 @@ x_1 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; return x_1; } } +static lean_object* _init_l_Lean_Elab_Command_Scope_includedVars___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} static lean_object* _init_l_Lean_Elab_Command_Scope_varUIds___default() { _start: { @@ -1184,15 +1193,16 @@ x_2 = l_Lean_Elab_Command_instInhabitedScope___closed__1; x_3 = lean_box(0); x_4 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; x_5 = 0; -x_6 = lean_alloc_ctor(0, 7, 1); +x_6 = lean_alloc_ctor(0, 8, 1); lean_ctor_set(x_6, 0, x_2); lean_ctor_set(x_6, 1, x_1); lean_ctor_set(x_6, 2, x_3); lean_ctor_set(x_6, 3, x_1); lean_ctor_set(x_6, 4, x_1); lean_ctor_set(x_6, 5, x_4); -lean_ctor_set(x_6, 6, x_4); -lean_ctor_set_uint8(x_6, sizeof(void*)*7, x_5); +lean_ctor_set(x_6, 6, x_1); +lean_ctor_set(x_6, 7, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); return x_6; } } @@ -1434,7 +1444,7 @@ x_1 = 0; return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__1() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__1() { _start: { lean_object* x_1; @@ -1442,7 +1452,7 @@ x_1 = lean_mk_string_unchecked("Lean", 4, 4); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__2() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__2() { _start: { lean_object* x_1; @@ -1450,7 +1460,7 @@ x_1 = lean_mk_string_unchecked("Parser", 6, 6); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__3() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__3() { _start: { lean_object* x_1; @@ -1458,7 +1468,7 @@ x_1 = lean_mk_string_unchecked("Tactic", 6, 6); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__4() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__4() { _start: { lean_object* x_1; @@ -1466,19 +1476,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq", 9, 9); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__5() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__3; -x_4 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__4; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__3; +x_4 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__4; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__6() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__6() { _start: { lean_object* x_1; @@ -1486,19 +1496,19 @@ x_1 = lean_mk_string_unchecked("tacticSeq1Indented", 18, 18); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__7() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__3; -x_4 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__6; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__3; +x_4 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__6; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__8() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__8() { _start: { lean_object* x_1; @@ -1506,17 +1516,17 @@ x_1 = lean_mk_string_unchecked("null", 4, 4); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__9() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__8; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__10() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__10() { _start: { lean_object* x_1; @@ -1524,41 +1534,41 @@ x_1 = lean_mk_string_unchecked("exact", 5, 5); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__11() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__3; -x_4 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__10; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__3; +x_4 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__10; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__12() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__10; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__10; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__13() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__12; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__12; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__14() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__14() { _start: { lean_object* x_1; @@ -1566,7 +1576,7 @@ x_1 = lean_mk_string_unchecked("Term", 4, 4); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__15() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__15() { _start: { lean_object* x_1; @@ -1574,19 +1584,19 @@ x_1 = lean_mk_string_unchecked("declName", 8, 8); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__16() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__14; -x_4 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__15; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__14; +x_4 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__15; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__17() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__17() { _start: { lean_object* x_1; @@ -1594,35 +1604,35 @@ x_1 = lean_mk_string_unchecked("decl_name%", 10, 10); return x_1; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__18() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__17; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__17; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__19() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__18; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__18; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__20() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__16; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__19; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__16; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__19; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1630,23 +1640,23 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__21() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__13; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__20; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__13; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__20; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__22() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__22() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__11; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__21; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__11; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__21; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1654,23 +1664,23 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__23() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__22; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__24() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__9; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__23; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__9; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__23; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1678,23 +1688,23 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__25() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__24; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__24; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__26() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__7; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__25; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__7; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__25; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1702,23 +1712,23 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__27() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__26; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__26; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__28() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(2); -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__5; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__27; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__5; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__27; x_4 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1726,11 +1736,11 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_430_() { +static lean_object* _init_l___auto____x40_Lean_Elab_Command___hyg_443_() { _start: { lean_object* x_1; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__28; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__28; return x_1; } } @@ -2127,15 +2137,16 @@ x_6 = lean_box(0); x_7 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; x_8 = 0; lean_inc(x_3); -x_9 = lean_alloc_ctor(0, 7, 1); +x_9 = lean_alloc_ctor(0, 8, 1); lean_ctor_set(x_9, 0, x_5); lean_ctor_set(x_9, 1, x_3); lean_ctor_set(x_9, 2, x_6); lean_ctor_set(x_9, 3, x_4); lean_ctor_set(x_9, 4, x_4); lean_ctor_set(x_9, 5, x_7); -lean_ctor_set(x_9, 6, x_7); -lean_ctor_set_uint8(x_9, sizeof(void*)*7, x_8); +lean_ctor_set(x_9, 6, x_4); +lean_ctor_set(x_9, 7, x_7); +lean_ctor_set_uint8(x_9, sizeof(void*)*8, x_8); x_10 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_4); @@ -2158,7 +2169,7 @@ lean_ctor_set(x_17, 7, x_16); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_573_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_586_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -2184,7 +2195,7 @@ return x_7; } } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1() { _start: { lean_object* x_1; @@ -2192,7 +2203,7 @@ x_1 = lean_mk_string_unchecked("Elab", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__2() { _start: { lean_object* x_1; @@ -2200,37 +2211,37 @@ x_1 = lean_mk_string_unchecked("lint", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__2; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__2; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__4; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__4; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6() { _start: { lean_object* x_1; @@ -2238,17 +2249,17 @@ x_1 = lean_mk_string_unchecked("Command", 7, 7); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__7() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__5; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__5; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__8() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__8() { _start: { lean_object* x_1; @@ -2256,17 +2267,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__9() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__7; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__8; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__7; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__10() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__10() { _start: { lean_object* x_1; @@ -2274,47 +2285,47 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__11() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__9; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__10; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__9; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__12() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__11; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__11; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__13() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__12; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__12; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__14() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__13; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__13; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__15() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__15() { _start: { lean_object* x_1; @@ -2322,33 +2333,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__16() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__14; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__15; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__14; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__15; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__17() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__16; -x_2 = lean_unsigned_to_nat(607u); +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__16; +x_2 = lean_unsigned_to_nat(620u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620_(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_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__3; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__3; x_3 = 0; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__17; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__17; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -14271,7 +14282,7 @@ lean_dec(x_8); x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); -x_12 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__3; +x_12 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__3; x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runLinters___lambda__2), 5, 2); lean_closure_set(x_13, 0, x_1); lean_closure_set(x_13, 1, x_12); @@ -14972,9 +14983,9 @@ static lean_object* _init_l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; } @@ -14991,9 +15002,9 @@ static lean_object* _init_l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; x_4 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__6; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -15020,7 +15031,7 @@ x_8 = l_Lean_Elab_mkElabAttribute___rarg(x_3, x_4, x_5, x_6, x_7, x_1, x_2); return x_8; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____closed__1() { _start: { lean_object* x_1; @@ -15028,23 +15039,23 @@ x_1 = lean_mk_string_unchecked("commandElabAttribute", 20, 20); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____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___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__1; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____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_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____closed__2; x_3 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe(x_2, x_1); return x_3; } @@ -15216,7 +15227,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; x_3 = l_Lean_Elab_Command_withoutCommandIncrementality___rarg___closed__2; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); return x_4; @@ -18490,38 +18501,38 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; x_2 = l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__16; -x_2 = lean_unsigned_to_nat(3313u); +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__16; +x_2 = lean_unsigned_to_nat(3326u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326_(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_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__1; x_3 = 0; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__2; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__2; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____closed__1() { _start: { lean_object* x_1; @@ -18529,23 +18540,23 @@ x_1 = lean_mk_string_unchecked("MacroExpandedSnapshot", 21, 21); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____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___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; -x_4 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__1; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; +x_4 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____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_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414_() { +static lean_object* _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427_() { _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__2; +x_1 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____closed__2; return x_1; } } @@ -18553,7 +18564,7 @@ static lean_object* _init_l_Lean_Elab_Command_instTypeNameMacroExpandedSnapshot( _start: { lean_object* x_1; -x_1 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414_; +x_1 = l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427_; return x_1; } } @@ -21330,7 +21341,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; x_2 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommand___spec__20___closed__1; x_3 = l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommand___spec__20___closed__2; x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3); @@ -22957,9 +22968,9 @@ static lean_object* _init_l_Lean_Elab_Command_elabCommand___lambda__3___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; x_4 = l_Lean_Elab_Command_elabCommand___lambda__3___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -24034,9 +24045,9 @@ static lean_object* _init_l_Lean_Elab_Command_elabCommand___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; x_4 = l_Lean_Elab_Command_elabCommand___closed__4; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -24082,7 +24093,7 @@ 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 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__9; +x_7 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__9; x_8 = lean_name_eq(x_5, x_7); if (x_8 == 0) { @@ -24106,7 +24117,7 @@ lean_inc(x_1); x_13 = l_Lean_Syntax_getKind(x_1); x_14 = 1; x_15 = l_Lean_Name_toString(x_13, x_14); -x_16 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__1; +x_16 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__1; x_17 = lean_box(x_14); x_18 = lean_alloc_closure((void*)(l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___boxed), 8, 5); lean_closure_set(x_18, 0, x_16); @@ -24128,7 +24139,7 @@ x_22 = l_Lean_Syntax_getArg(x_1, x_21); x_23 = l_Lean_Syntax_getKind(x_22); x_24 = 1; x_25 = l_Lean_Name_toString(x_23, x_24); -x_26 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__1; +x_26 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__1; x_27 = lean_box(x_24); x_28 = lean_alloc_closure((void*)(l_Lean_withTraceNode___at_Lean_Elab_Command_runLinters___spec__10___boxed), 8, 5); lean_closure_set(x_28, 0, x_26); @@ -24559,7 +24570,7 @@ lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__1() { _start: { lean_object* x_1; @@ -24567,38 +24578,38 @@ x_1 = lean_mk_string_unchecked("input", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__1; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__16; -x_2 = lean_unsigned_to_nat(4576u); +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__16; +x_2 = lean_unsigned_to_nat(4589u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589_(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_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__2; x_3 = 0; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__3; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__3; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__1() { _start: { lean_object* x_1; @@ -24606,17 +24617,17 @@ x_1 = lean_mk_string_unchecked("showPartialSyntaxErrors", 23, 23); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____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_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__3() { _start: { lean_object* x_1; @@ -24624,13 +24635,13 @@ x_1 = lean_mk_string_unchecked("show elaboration errors from partial syntax tree return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____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_Elab_Command_instInhabitedScope___closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__3; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -24639,30 +24650,30 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__1; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____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_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632_(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_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__2; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__4; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__5; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__2; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__4; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____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; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__1() { _start: { lean_object* x_1; @@ -24670,27 +24681,27 @@ x_1 = lean_mk_string_unchecked("info", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__1; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__1; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__16; -x_2 = lean_unsigned_to_nat(4653u); +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__16; +x_2 = lean_unsigned_to_nat(4666u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__4() { _start: { lean_object* x_1; @@ -24698,23 +24709,23 @@ x_1 = lean_mk_string_unchecked("snapshotTree", 12, 12); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__4; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__4; x_3 = l_Lean_Name_mkStr2(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666_(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_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__2; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__2; x_3 = 0; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__3; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__3; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -24722,7 +24733,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); -x_7 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__5; +x_7 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__5; x_8 = l_Lean_registerTraceClass(x_7, x_3, x_4, x_6); return x_8; } @@ -25269,7 +25280,7 @@ if (lean_is_exclusive(x_5)) { lean_dec_ref(x_5); x_12 = lean_box(0); } -x_21 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__2; +x_21 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__2; x_22 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__11(x_21, x_6, x_7, x_8); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); @@ -25664,7 +25675,7 @@ if (lean_is_exclusive(x_5)) { lean_dec_ref(x_5); x_12 = lean_box(0); } -x_21 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__2; +x_21 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__2; x_22 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__11(x_21, x_6, x_7, x_8); x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); @@ -27664,7 +27675,7 @@ return x_137; else { lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; -x_138 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__5; +x_138 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__5; x_139 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__11(x_138, x_28, x_3, x_132); x_140 = lean_ctor_get(x_139, 0); lean_inc(x_140); @@ -27965,7 +27976,7 @@ return x_64; else { lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_65 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__5; +x_65 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__5; x_66 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__11(x_65, x_28, x_3, x_59); x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); @@ -28297,7 +28308,7 @@ return x_291; else { lean_object* x_292; lean_object* x_293; lean_object* x_294; uint8_t x_295; -x_292 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__5; +x_292 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__5; x_293 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__11(x_292, x_28, x_3, x_287); x_294 = lean_ctor_get(x_293, 0); lean_inc(x_294); @@ -28594,7 +28605,7 @@ return x_222; else { lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; -x_223 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__5; +x_223 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__5; x_224 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Command_runLinters___spec__11(x_223, x_28, x_3, x_218); x_225 = lean_ctor_get(x_224, 0); lean_inc(x_225); @@ -29273,9 +29284,9 @@ static lean_object* _init_l_Lean_Elab_Command_getBracketedBinderIds___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___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__14; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__14; x_4 = l_Lean_Elab_Command_getBracketedBinderIds___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -29293,9 +29304,9 @@ static lean_object* _init_l_Lean_Elab_Command_getBracketedBinderIds___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___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__14; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__14; x_4 = l_Lean_Elab_Command_getBracketedBinderIds___closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -29313,9 +29324,9 @@ static lean_object* _init_l_Lean_Elab_Command_getBracketedBinderIds___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___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__14; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__14; x_4 = l_Lean_Elab_Command_getBracketedBinderIds___closed__5; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -29712,7 +29723,7 @@ x_3 = lean_ctor_get(x_2, 2); x_4 = l_Lean_Elab_Command_instInhabitedScope; x_5 = l_List_head_x21___rarg(x_4, x_3); x_6 = lean_box(0); -x_7 = lean_ctor_get(x_5, 6); +x_7 = lean_ctor_get(x_5, 7); lean_inc(x_7); x_8 = lean_array_get_size(x_7); x_9 = lean_unsigned_to_nat(0u); @@ -29770,7 +29781,7 @@ lean_inc(x_19); lean_dec(x_18); x_20 = lean_box(0); x_21 = lean_ctor_get(x_1, 4); -x_22 = lean_ctor_get_uint8(x_5, sizeof(void*)*7); +x_22 = lean_ctor_get_uint8(x_5, sizeof(void*)*8); lean_dec(x_5); x_23 = lean_ctor_get(x_1, 7); x_24 = 1; @@ -32706,7 +32717,7 @@ x_16 = lean_array_get_size(x_3); x_17 = lean_unsigned_to_nat(0u); lean_inc(x_3); x_18 = l_Array_toSubarray___rarg(x_3, x_17, x_16); -x_19 = lean_ctor_get(x_1, 6); +x_19 = lean_ctor_get(x_1, 7); x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_15); @@ -33093,7 +33104,7 @@ _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_Command_modifyScope___closed__1; x_2 = l_Lean_Elab_Command_modifyScope___closed__2; -x_3 = lean_unsigned_to_nat(673u); +x_3 = lean_unsigned_to_nat(675u); x_4 = lean_unsigned_to_nat(16u); x_5 = l_Lean_Elab_Command_modifyScope___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -34380,7 +34391,7 @@ return x_2; } 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; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_6; lean_object* x_7; 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; lean_object* x_15; lean_object* x_16; x_6 = lean_ctor_get(x_2, 0); x_7 = lean_ctor_get(x_2, 1); x_8 = lean_ctor_get(x_2, 2); @@ -34388,7 +34399,9 @@ x_9 = lean_ctor_get(x_2, 3); x_10 = lean_ctor_get(x_2, 4); x_11 = lean_ctor_get(x_2, 5); x_12 = lean_ctor_get(x_2, 6); -x_13 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_13 = lean_ctor_get(x_2, 7); +x_14 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -34397,19 +34410,20 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_dec(x_2); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_1); -lean_ctor_set(x_14, 1, x_10); -x_15 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_15, 0, x_6); -lean_ctor_set(x_15, 1, x_7); -lean_ctor_set(x_15, 2, x_8); -lean_ctor_set(x_15, 3, x_9); -lean_ctor_set(x_15, 4, x_14); -lean_ctor_set(x_15, 5, x_11); -lean_ctor_set(x_15, 6, x_12); -lean_ctor_set_uint8(x_15, sizeof(void*)*7, x_13); -return x_15; +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_10); +x_16 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_7); +lean_ctor_set(x_16, 2, x_8); +lean_ctor_set(x_16, 3, x_9); +lean_ctor_set(x_16, 4, x_15); +lean_ctor_set(x_16, 5, x_11); +lean_ctor_set(x_16, 6, x_12); +lean_ctor_set(x_16, 7, x_13); +lean_ctor_set_uint8(x_16, sizeof(void*)*8, x_14); +return x_16; } } } @@ -39368,15 +39382,16 @@ x_22 = l_Lean_Elab_Command_instInhabitedScope___closed__1; x_23 = lean_box(0); x_24 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; lean_inc(x_7); -x_25 = lean_alloc_ctor(0, 7, 1); +x_25 = lean_alloc_ctor(0, 8, 1); lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_7); lean_ctor_set(x_25, 2, x_23); lean_ctor_set(x_25, 3, x_16); lean_ctor_set(x_25, 4, x_16); lean_ctor_set(x_25, 5, x_24); -lean_ctor_set(x_25, 6, x_24); -lean_ctor_set_uint8(x_25, sizeof(void*)*7, x_20); +lean_ctor_set(x_25, 6, x_16); +lean_ctor_set(x_25, 7, x_24); +lean_ctor_set_uint8(x_25, sizeof(void*)*8, x_20); lean_ctor_set_tag(x_11, 1); lean_ctor_set(x_11, 1, x_16); lean_ctor_set(x_11, 0, x_25); @@ -39863,15 +39878,16 @@ x_150 = l_Lean_Elab_Command_instInhabitedScope___closed__1; x_151 = lean_box(0); x_152 = l_Lean_Elab_Command_Scope_varDecls___default___closed__1; lean_inc(x_7); -x_153 = lean_alloc_ctor(0, 7, 1); +x_153 = lean_alloc_ctor(0, 8, 1); lean_ctor_set(x_153, 0, x_150); lean_ctor_set(x_153, 1, x_7); lean_ctor_set(x_153, 2, x_151); lean_ctor_set(x_153, 3, x_144); lean_ctor_set(x_153, 4, x_144); lean_ctor_set(x_153, 5, x_152); -lean_ctor_set(x_153, 6, x_152); -lean_ctor_set_uint8(x_153, sizeof(void*)*7, x_148); +lean_ctor_set(x_153, 6, x_144); +lean_ctor_set(x_153, 7, x_152); +lean_ctor_set_uint8(x_153, sizeof(void*)*8, x_148); x_154 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_154, 0, x_153); lean_ctor_set(x_154, 1, x_144); @@ -41074,14 +41090,16 @@ return x_2; } else { -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_5; 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_5 = lean_ctor_get(x_2, 0); x_6 = lean_ctor_get(x_2, 2); x_7 = lean_ctor_get(x_2, 3); x_8 = lean_ctor_get(x_2, 4); x_9 = lean_ctor_get(x_2, 5); x_10 = lean_ctor_get(x_2, 6); -x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_11 = lean_ctor_get(x_2, 7); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -41089,16 +41107,17 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_dec(x_2); -x_12 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_12, 0, x_5); -lean_ctor_set(x_12, 1, x_1); -lean_ctor_set(x_12, 2, x_6); -lean_ctor_set(x_12, 3, x_7); -lean_ctor_set(x_12, 4, x_8); -lean_ctor_set(x_12, 5, x_9); -lean_ctor_set(x_12, 6, x_10); -lean_ctor_set_uint8(x_12, sizeof(void*)*7, x_11); -return x_12; +x_13 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_13, 0, x_5); +lean_ctor_set(x_13, 1, x_1); +lean_ctor_set(x_13, 2, x_6); +lean_ctor_set(x_13, 3, x_7); +lean_ctor_set(x_13, 4, x_8); +lean_ctor_set(x_13, 5, x_9); +lean_ctor_set(x_13, 6, x_10); +lean_ctor_set(x_13, 7, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*8, x_12); +return x_13; } } } @@ -41114,9 +41133,9 @@ static lean_object* _init_l_Lean_withSetOptionIn___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___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; x_4 = l_Lean_withSetOptionIn___closed__1; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -41134,9 +41153,9 @@ static lean_object* _init_l_Lean_withSetOptionIn___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___auto____x40_Lean_Elab_Command___hyg_430____closed__1; -x_2 = l___auto____x40_Lean_Elab_Command___hyg_430____closed__2; -x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6; +x_1 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__1; +x_2 = l___auto____x40_Lean_Elab_Command___hyg_443____closed__2; +x_3 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6; x_4 = l_Lean_withSetOptionIn___closed__3; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; @@ -41319,6 +41338,8 @@ l_Lean_Elab_Command_Scope_varDecls___default___closed__1 = _init_l_Lean_Elab_Com lean_mark_persistent(l_Lean_Elab_Command_Scope_varDecls___default___closed__1); l_Lean_Elab_Command_Scope_varDecls___default = _init_l_Lean_Elab_Command_Scope_varDecls___default(); lean_mark_persistent(l_Lean_Elab_Command_Scope_varDecls___default); +l_Lean_Elab_Command_Scope_includedVars___default = _init_l_Lean_Elab_Command_Scope_includedVars___default(); +lean_mark_persistent(l_Lean_Elab_Command_Scope_includedVars___default); l_Lean_Elab_Command_Scope_varUIds___default = _init_l_Lean_Elab_Command_Scope_varUIds___default(); lean_mark_persistent(l_Lean_Elab_Command_Scope_varUIds___default); l_Lean_Elab_Command_Scope_isNoncomputable___default = _init_l_Lean_Elab_Command_Scope_isNoncomputable___default(); @@ -41375,64 +41396,64 @@ lean_mark_persistent(l_Lean_Elab_Command_Context_currMacroScope___default); l_Lean_Elab_Command_Context_ref___default = _init_l_Lean_Elab_Command_Context_ref___default(); lean_mark_persistent(l_Lean_Elab_Command_Context_ref___default); l_Lean_Elab_Command_Context_suppressElabErrors___default = _init_l_Lean_Elab_Command_Context_suppressElabErrors___default(); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__1 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__1(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__1); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__2 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__2(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__2); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__3 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__3(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__3); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__4 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__4(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__4); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__5 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__5(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__5); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__6 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__6(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__6); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__7 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__7(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__7); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__8 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__8(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__8); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__9 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__9(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__9); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__10 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__10(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__10); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__11 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__11(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__11); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__12 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__12(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__12); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__13 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__13(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__13); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__14 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__14(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__14); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__15 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__15(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__15); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__16 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__16(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__16); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__17 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__17(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__17); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__18 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__18(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__18); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__19 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__19(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__19); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__20 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__20(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__20); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__21 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__21(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__21); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__22 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__22(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__22); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__23 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__23(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__23); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__24 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__24(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__24); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__25 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__25(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__25); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__26 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__26(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__26); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__27 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__27(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__27); -l___auto____x40_Lean_Elab_Command___hyg_430____closed__28 = _init_l___auto____x40_Lean_Elab_Command___hyg_430____closed__28(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430____closed__28); -l___auto____x40_Lean_Elab_Command___hyg_430_ = _init_l___auto____x40_Lean_Elab_Command___hyg_430_(); -lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_430_); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__1 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__1(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__1); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__2 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__2(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__2); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__3 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__3(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__3); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__4 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__4(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__4); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__5 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__5(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__5); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__6 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__6(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__6); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__7 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__7(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__7); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__8 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__8(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__8); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__9 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__9(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__9); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__10 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__10(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__10); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__11 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__11(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__11); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__12 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__12(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__12); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__13 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__13(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__13); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__14 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__14(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__14); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__15 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__15(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__15); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__16 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__16(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__16); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__17 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__17(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__17); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__18 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__18(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__18); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__19 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__19(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__19); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__20 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__20(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__20); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__21 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__21(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__21); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__22 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__22(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__22); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__23 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__23(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__23); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__24 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__24(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__24); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__25 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__25(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__25); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__26 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__26(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__26); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__27 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__27(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__27); +l___auto____x40_Lean_Elab_Command___hyg_443____closed__28 = _init_l___auto____x40_Lean_Elab_Command___hyg_443____closed__28(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443____closed__28); +l___auto____x40_Lean_Elab_Command___hyg_443_ = _init_l___auto____x40_Lean_Elab_Command___hyg_443_(); +lean_mark_persistent(l___auto____x40_Lean_Elab_Command___hyg_443_); l_Lean_Elab_Command_instMonadCommandElabM___closed__1 = _init_l_Lean_Elab_Command_instMonadCommandElabM___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_instMonadCommandElabM___closed__1); l_Lean_Elab_Command_instMonadCommandElabM___closed__2 = _init_l_Lean_Elab_Command_instMonadCommandElabM___closed__2(); @@ -41459,46 +41480,46 @@ l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM = _init_l_Lean_Elab_C lean_mark_persistent(l_Lean_Elab_Command_instMonadExceptOfExceptionCommandElabM); l_Lean_Elab_Command_mkState___closed__1 = _init_l_Lean_Elab_Command_mkState___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_mkState___closed__1); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_573_(lean_io_mk_world()); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_586_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_lintersRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_lintersRef); lean_dec_ref(res); -}l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__5); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__6); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__7 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__7); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__8 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__8); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__9 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__9); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__10 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__10); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__11 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__11); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__12 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__12); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__13 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__13); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__14 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__14(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__14); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__15 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__15(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__15); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__16 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__16(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__16); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__17 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__17(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607____closed__17); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_607_(lean_io_mk_world()); +}l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__5); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__6); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__7 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__7); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__8 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__8); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__9 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__9); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__10 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__10); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__11 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__11); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__12 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__12); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__13 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__13); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__14 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__14(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__14); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__15 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__15(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__15); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__16 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__16(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__16); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__17 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__17(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620____closed__17); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_620_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Elab_Command_addLinter___closed__1 = _init_l_Lean_Elab_Command_addLinter___closed__1(); @@ -41686,11 +41707,11 @@ l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7 = _init_l_Lean_Elab lean_mark_persistent(l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7); l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8 = _init_l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8(); lean_mark_persistent(l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__8); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624____closed__2); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2624_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637____closed__2); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_2637_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_commandElabAttribute = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_commandElabAttribute); @@ -41735,19 +41756,19 @@ l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4 = _init_l_Lean_Ela lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM___closed__4); l_Lean_Elab_Command_instMonadRecDepthCommandElabM = _init_l_Lean_Elab_Command_instMonadRecDepthCommandElabM(); lean_mark_persistent(l_Lean_Elab_Command_instMonadRecDepthCommandElabM); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313____closed__2); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3313_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326____closed__2); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_3326_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__1 = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__1); -l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__2 = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414____closed__2); -l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414_ = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414_(); -lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3414_); +}l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____closed__1 = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____closed__1); +l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____closed__2 = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427____closed__2); +l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427_ = _init_l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427_(); +lean_mark_persistent(l_Lean_Elab_Command_instImpl____x40_Lean_Elab_Command___hyg_3427_); l_Lean_Elab_Command_instTypeNameMacroExpandedSnapshot = _init_l_Lean_Elab_Command_instTypeNameMacroExpandedSnapshot(); lean_mark_persistent(l_Lean_Elab_Command_instTypeNameMacroExpandedSnapshot); l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Command_instToSnapshotTreeMacroExpandedSnapshot___spec__1___closed__1(); @@ -41802,41 +41823,41 @@ l_Lean_Elab_Command_elabCommand___closed__7 = _init_l_Lean_Elab_Command_elabComm lean_mark_persistent(l_Lean_Elab_Command_elabCommand___closed__7); l_Lean_Elab_Command_elabCommand___boxed__const__1 = _init_l_Lean_Elab_Command_elabCommand___boxed__const__1(); lean_mark_persistent(l_Lean_Elab_Command_elabCommand___boxed__const__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576____closed__3); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4576_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589____closed__3); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4589_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -}l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619____closed__5); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4619_(lean_io_mk_world()); +}l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632____closed__5); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4632_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Command_showPartialSyntaxErrors = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Command_showPartialSyntaxErrors); lean_dec_ref(res); -}l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653____closed__5); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4653_(lean_io_mk_world()); +}l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666____closed__5); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Command___hyg_4666_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__6___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabCommandTopLevel___spec__6___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index a07efb5755..1b1bdaa605 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -33991,7 +33991,7 @@ return x_1; } 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; lean_object* x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; +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; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; x_10 = lean_ctor_get(x_1, 0); x_11 = lean_ctor_get(x_1, 1); x_12 = lean_ctor_get(x_1, 2); @@ -33999,7 +33999,9 @@ x_13 = lean_ctor_get(x_1, 3); x_14 = lean_ctor_get(x_1, 4); x_15 = lean_ctor_get(x_1, 5); x_16 = lean_ctor_get(x_1, 6); -x_17 = lean_ctor_get_uint8(x_1, sizeof(void*)*7); +x_17 = lean_ctor_get(x_1, 7); +x_18 = lean_ctor_get_uint8(x_1, sizeof(void*)*8); +lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); @@ -34008,22 +34010,23 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_dec(x_1); -x_18 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___lambda__1___closed__2; -x_19 = 0; -x_20 = l_Lean_KVMap_setBool(x_11, x_18, x_19); -x_21 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___lambda__1___closed__4; -x_22 = 1; -x_23 = l_Lean_KVMap_setBool(x_20, x_21, x_22); -x_24 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_24, 0, x_10); -lean_ctor_set(x_24, 1, x_23); -lean_ctor_set(x_24, 2, x_12); -lean_ctor_set(x_24, 3, x_13); -lean_ctor_set(x_24, 4, x_14); -lean_ctor_set(x_24, 5, x_15); -lean_ctor_set(x_24, 6, x_16); -lean_ctor_set_uint8(x_24, sizeof(void*)*7, x_17); -return x_24; +x_19 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___lambda__1___closed__2; +x_20 = 0; +x_21 = l_Lean_KVMap_setBool(x_11, x_19, x_20); +x_22 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___lambda__1___closed__4; +x_23 = 1; +x_24 = l_Lean_KVMap_setBool(x_21, x_22, x_23); +x_25 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_25, 0, x_10); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_25, 2, x_12); +lean_ctor_set(x_25, 3, x_13); +lean_ctor_set(x_25, 4, x_14); +lean_ctor_set(x_25, 5, x_15); +lean_ctor_set(x_25, 6, x_16); +lean_ctor_set(x_25, 7, x_17); +lean_ctor_set_uint8(x_25, sizeof(void*)*8, x_18); +return x_25; } } } diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index dbe56a9910..e0270faaa4 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -21,18 +21,19 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___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*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__1; lean_object* l_Lean_Meta_mkSorry(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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* lean_string_utf8_extract(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*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withReuseContext___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getKindForLetRecs___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_List_iota(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__13; LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_format_pretty(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__12___lambda__1(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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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* 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_Lean_Elab_elabAttrs___at_Lean_Elab_Command_elabMutualDef___spec__3___boxed(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__4(lean_object*); @@ -44,6 +45,7 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeader 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*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__6; LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Elab_Term_elabMutualDef___spec__4(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_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*); @@ -52,6 +54,7 @@ static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___ lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__2___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__6___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_Elab_Term_elabMutualDef_go___spec__16___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_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels(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_MutualClosure_mkLetRecClosureFor___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -65,8 +68,10 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua extern lean_object* l_Lean_instFVarIdSetInhabited; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__4___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4; static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__15; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___boxed(lean_object**); @@ -86,43 +91,48 @@ static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__6; LEAN_EXPORT lean_object* l_Array_erase___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___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_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3___rarg___lambda__1(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__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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___boxed(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_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__2(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__1(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__3(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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2___rarg___boxed(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_elabHeaders_getBodyTerm_x3f___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_merge(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkBodyTask(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_runTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__2; -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___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_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___closed__5; extern lean_object* l_Lean_declRangeExt; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__5; static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___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_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___boxed(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_elabMutualDef_go___spec__4___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_pushMain___spec__1___closed__1; 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*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Tactic_instInhabitedTacticParsedSnapshot; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___boxed(lean_object**); -static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__1; +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__5(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_Language_Snapshot_Diagnostics_ofMessageLog(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_ClosureState_newLetDecls___default; LEAN_EXPORT lean_object* l_Array_getMax_x3f___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___spec__11(lean_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__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Language_DynamicSnapshot_toTyped_x3f___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_isProp(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_isModified___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_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_MutualClosure_mkFreeVarMap___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -142,24 +152,27 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabH static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___closed__7; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isTheorem___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_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_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__3(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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo(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__2___closed__4; +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9___lambda__1___boxed(lean_object**); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___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_Elab_Term_elabMutualDef_processDeriving(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_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___closed__11; size_t lean_uint64_to_usize(uint64_t); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__5; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__5___rarg___lambda__2(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__2___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_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__3___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg___lambda__2___boxed(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__5___closed__1; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__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_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___rarg___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__3___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__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_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__4___rarg___closed__1; lean_object* l_Lean_Elab_logException___at_Lean_Elab_Command_elabCommand___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); @@ -181,6 +194,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declV LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_replaceFVarId(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__6___boxed(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_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__3; static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_pushMain___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_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg___lambda__3(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -195,23 +209,23 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWher LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__5(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__4___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2(lean_object*, lean_object*, size_t, size_t, 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_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___spec__10(lean_object*, 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_deprecated_oldSectionVars; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__3(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__3___closed__1; uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__3; lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg___lambda__3___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_MutualDef_0__Lean_Elab_Term_check___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_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__3; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__2(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*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_ClosureState_newLocalDecls___default; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___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_elabHeaders_mkTacTask___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_MutualDef_0__Lean_Elab_Term_typeHasRecFun___lambda__1___boxed(lean_object*, lean_object*); @@ -223,58 +237,63 @@ lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); lean_object* l_Lean_Expr_bvar___override(lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__14; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__18(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_Elab_Term_MutualClosure_main___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_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_checkForHiddenUnivLevels___spec__2___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___closed__6; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12___boxed(lean_object**); 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_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); -static lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__1; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___closed__9; -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_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*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546_(lean_object*); 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_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___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_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__5___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__6(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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_object*); uint8_t l_Lean_Elab_DefKind_isDefOrAbbrevOrOpaque(uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Term_elabMutualDef___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___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_EXPORT lean_object* l_Lean_Language_DynamicSnapshot_ofTyped___at_Lean_Elab_Command_elabMutualDef___spec__13(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__2; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___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*); static lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__3___closed__5; LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__4(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__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_object*); 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_Lean_Elab_Term_withReuseContext___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2(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_elabHeaders_mkTacTask___lambda__1___closed__6; 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_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12___lambda__1___boxed(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*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__3(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_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___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_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__11(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_MutualDef_0__Lean_Elab_Term_checkModifiers___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 uint8_t l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample(lean_object*); -static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, 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*); +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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*); static lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1___closed__3; lean_object* lean_io_get_num_heartbeats(lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f(lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Nat_nextPowerOfTwo_go(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(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -282,10 +301,10 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_checkForHid static lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__3___closed__3; lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__11(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_Term_elabMutualDef(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(lean_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_MutualClosure_main___spec__6(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__5___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*, lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_checkForHiddenUnivLevels___spec__2___closed__2; static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_merge___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -310,24 +329,30 @@ extern lean_object* l_Lean_maxRecDepth; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___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_List_head_x21___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12___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_Elab_Term_MutualClosure_Replacement_apply(lean_object*, lean_object*); static lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__7; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__1; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isMultiConstant_x3f___spec__2(lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9___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_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__5___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_Command_elabMutualDef___spec__17___boxed(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_elabMutualDef_go___spec__5(lean_object*, size_t, size_t); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__9; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__7___boxed(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__2___closed__1; 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*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___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_Command_elabMutualDef___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_checkKinds___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_MutualDef_0__Lean_Elab_Term_getFunName___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check(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_getPendindMVarErrorMessage(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__2___closed__3; +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*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_getAndEmptyMessageLog___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__4; @@ -338,6 +363,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_level LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); uint8_t l_Lean_Elab_DefKind_isExample(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_object*, lean_object*); lean_object* l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__4___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_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_CollectLevelParams_main(lean_object*, lean_object*); @@ -347,6 +373,7 @@ lean_object* l_Lean_Expr_appArg_x21(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_findDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__6; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___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_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); 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_MutualDef_0__Lean_Elab_Term_check___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -356,7 +383,6 @@ lean_object* l_Lean_LocalDecl_index(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandLetEqnsDecl(lean_object*, uint8_t, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__5___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__6___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); @@ -365,30 +391,25 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_FixPoint_run___boxed(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__1___closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__8___boxed(lean_object*, 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_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__3___closed__5; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___closed__6; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__4___rarg___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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*); -static lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__5___lambda__1___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at_Lean_Elab_Term_elabMutualDef___spec__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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__3___boxed(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_elabFunValues___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__5___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars(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_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__3___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__2; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___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* l_Lean_Name_mkStr3(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__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__16(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_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__10; +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Term_elabMutualDef_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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7___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_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__4; static lean_object* l_List_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___spec__2___closed__2; static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__9; lean_object* lean_io_promise_resolve(lean_object*, lean_object*, lean_object*); @@ -403,9 +424,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_insta LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint(lean_object*); lean_object* l_Lean_Elab_Term_expandWhereDeclsOpt(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__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*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Command_elabMutualDef___spec__14(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_check___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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static double l_Lean_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__5___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Term_elabMutualDef___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_task_pure(lean_object*); @@ -417,7 +438,6 @@ static lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_ lean_object* l_Lean_Meta_resetZetaDeltaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); 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_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*); -static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___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_Array_reverse___rarg(lean_object*); LEAN_EXPORT uint8_t l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___spec__1___lambda__1(lean_object*); @@ -434,20 +454,22 @@ lean_object* l_Lean_LocalDecl_setUserName(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_contains___at_Lean_Meta_setMVarUserNamesAt___spec__1(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); +static lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__1; static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__1___closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__3___closed__2; 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_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___spec__1___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); 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*); static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__2___closed__2; 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_Lean_RBNode_find___at_Lean_Elab_Term_MutualClosure_isApplicable___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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*, 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_checkModifiers___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_realizeGlobalConstNoOverload(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___spec__1___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel(lean_object*, 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_Elab_Term_MutualClosure_getKindForLetRecs(lean_object*); @@ -463,20 +485,20 @@ lean_object* l_Array_unzip___rarg(lean_object*); lean_object* l_Array_feraseIdx___rarg(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___closed__12; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10(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_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___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_MutualDef_0__Lean_Elab_Term_checkModifiers(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_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__9(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_List_findSome_x3f___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__4; lean_object* l_Lean_MessageData_ofSyntax(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___closed__5; +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__14___boxed(lean_object**); lean_object* l_Lean_Syntax_node6(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_MutualClosure_FixPoint_isModified___boxed(lean_object*); uint8_t l_Lean_RBNode_isSingleton___rarg(lean_object*); uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); LEAN_EXPORT uint8_t l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___lambda__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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*); static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels___closed__2; lean_object* lean_nat_div(lean_object*, lean_object*); lean_object* lean_io_add_heartbeats(uint64_t, lean_object*); @@ -494,12 +516,10 @@ LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_El LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds___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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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_registerTraceClass(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___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_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabCommand___spec__13(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_sequenceMap___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_Elab_Term_elabMutualDef___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -513,11 +533,13 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkKinds static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__4___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___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*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___closed__5; +lean_object* l_Lean_CollectFVars_State_addDependencies(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Elab_Term_MutualClosure_insertReplacementForLetRecs___spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_MutualClosure_isApplicable___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_toAttributeKind___boxed(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__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, size_t, size_t, lean_object*); 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*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___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_Lean_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__13___boxed(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__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___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*); @@ -530,7 +552,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_checkForHi lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__4; lean_object* l_Lean_Meta_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___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_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___closed__4; @@ -539,12 +560,12 @@ uint8_t l_Std_DHashMap_Internal_AssocList_contains___at_Lean_CollectLevelParams_ 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_Elab_Term_checkForHiddenUnivLevels_visitLevel___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_FVarId_getDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__9; 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*, 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_outOfBounds___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at_Lean_Elab_Command_elabMutualDef___spec__3(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__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_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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* l_Array_indexOfAux___at_Lean_LocalContext_erase___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__7(lean_object*, lean_object*, lean_object*, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -554,26 +575,28 @@ LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_El LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__4(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_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__1; -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5(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_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___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_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__8; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__4___closed__2; uint8_t l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind____x40_Lean_Elab_DefView___hyg_17_(uint8_t, uint8_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask(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___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___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_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__12___lambda__1(lean_object*, 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_Command_elabMutualDef___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*); extern lean_object* l_Lean_pp_universes; LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_Replacement_apply___lambda__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__3___boxed(lean_object**); static lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__3; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__13(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_Syntax_getOptional_x3f(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__8(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_MutualDef_0__Lean_Elab_Term_isExample___spec__1(lean_object*, size_t, size_t); LEAN_EXPORT uint8_t l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__4___rarg___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -584,6 +607,7 @@ LEAN_EXPORT lean_object* l_List_forM___at_Lean_Elab_Term_checkForHiddenUnivLevel static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__2___closed__4; LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Term_MutualClosure_main___spec__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_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -600,24 +624,23 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWher LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___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_MutualClosure_pushLocalDecl(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*); LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___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_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMutualDef___spec__7(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_elabFunValues___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_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*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues(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_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_ClosureState_localDecls___default; LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__7___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_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_checkForHiddenUnivLevels___spec__2___closed__3; static lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__7___boxed(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_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__1___rarg___lambda__1(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__1___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___boxed(lean_object*, lean_object*, lean_object*, 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_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__2___closed__2; -static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visit(lean_object*, lean_object*, lean_object*, lean_object*, 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_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__1___boxed(lean_object**); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___closed__13; @@ -630,7 +653,6 @@ lean_object* l_Lean_Elab_InfoTree_substitute(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__5; -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__2(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_mkFreeVarMap___spec__5(lean_object*); @@ -638,20 +660,20 @@ lean_object* l_Lean_Option_set___at_Lean_Elab_Term_withoutMacroStackAtErr___spec uint64_t l_Lean_Expr_hash(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___closed__8; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__6; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__5; +uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); uint8_t l_Lean_Elab_DefView_isInstance(lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__1; +lean_object* l_Lean_FVarId_getType(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_mkClosureFor(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_MutualClosure_mkLetRecClosures___boxed(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_setEnv___at_Lean_Elab_Term_evalTerm___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_MutualClosure_FixPoint_markModified___boxed(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___closed__1; lean_object* l_Lean_Syntax_getSepArgs(lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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*); static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__1___closed__5; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visit___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_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___boxed(lean_object*); @@ -662,9 +684,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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*, 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__4___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls(lean_object*, lean_object*, lean_object*); 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___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_getLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__3; LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__10___boxed(lean_object**); @@ -676,11 +700,11 @@ static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___close LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_Replacement_apply___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__5___closed__2; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__13; LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1___lambda__3(lean_object*, uint8_t, 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*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName(lean_object*, lean_object*, 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_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___closed__3; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__12; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_erase___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__2(lean_object*, lean_object*); @@ -713,6 +737,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_find___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__2___closed__5; lean_object* l_Lean_LocalDecl_fvarId(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_resetModified___rarg(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___spec__1(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_addTrace___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__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_throwError___at_Lean_Elab_Command_elabMutualDef___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -720,23 +745,27 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_ lean_object* l_Lean_Expr_appFn_x21(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Language_Snapshot_Diagnostics_empty; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3___rarg___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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader; lean_object* l_Lean_CollectFVars_main(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t); lean_object* lean_find_ext_expr(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__7; +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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*); +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_preprocess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitForbiddenPred___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__5; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___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_Lean_Elab_instInhabitedDefViewElabHeader___closed__2; lean_object* l_Lean_Meta_getZetaDeltaFVarIds___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__2___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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* l_Std_DHashMap_Internal_AssocList_replace___at___private_Lean_Meta_Check_0__Lean_Meta_checkAux_check___spec__6(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_getUsedFVarsMap___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__7___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__8(lean_object*, lean_object*, size_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -787,36 +816,42 @@ lean_object* l_Lean_Elab_Term_withAutoBoundImplicit___rarg(lean_object*, lean_ob LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__8___lambda__1___boxed(lean_object**); lean_object* l_Lean_Elab_Command_mkDefView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___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_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___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_elabMutualDef_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_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); lean_object* l_Lean_Syntax_node4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11___boxed(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_elabHeaders_mkTacTask___closed__4; -static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__7; extern lean_object* l_Lean_Elab_instTypeNameDefsParsedSnapshot; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___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*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___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_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__3___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__2; +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___rarg___closed__1; static lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__2; lean_object* l_Lean_FileMap_leanPosToLspPos(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___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* l_Lean_Elab_TerminationHints_rememberExtraParams(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__4___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_checkForHiddenUnivLevels_visitLevel___closed__12; 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*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__1; +LEAN_EXPORT lean_object* l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___spec__15(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_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_checkForHiddenUnivLevels_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_object*); LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_pushMain___spec__1___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*); @@ -827,12 +862,14 @@ static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualD static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___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_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__3___closed__4; +uint8_t l_Lean_Name_hasMacroScopes(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__1___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, 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*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_addLocalVarInfo(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__2___closed__1; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__2___closed__7; -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___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_elabMutualDef_processDeriving___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_MutualClosure_insertReplacementForMainFns___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap(lean_object*); @@ -852,28 +889,30 @@ static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___close static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___closed__4; LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1___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_object*); lean_object* l_Lean_Elab_addPreDefinitions(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6(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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___boxed(lean_object**); static lean_object* l_List_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___spec__2___closed__1; static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_CollectMVars_visit(lean_object*, lean_object*); +static lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__3(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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___lambda__1___boxed(lean_object*, lean_object*); uint8_t l_List_beq___at___private_Lean_Declaration_0__Lean_beqConstantVal____x40_Lean_Declaration___hyg_433____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__14(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_MutualDef_0__Lean_Elab_Term_typeHasRecFun___lambda__2___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withDeclName___spec__3___rarg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3; 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*); +lean_object* l_Lean_Meta_getFVarLocalDecl(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; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_fixpoint___rarg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___closed__10; static lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -881,8 +920,10 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0_ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___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_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__10(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_elabMutualDef_go___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_isTracingEnabledFor___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___spec__1___closed__1; +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__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_Elab_Command_elabMutualDef(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -893,17 +934,17 @@ 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*); +static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__2; 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*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___boxed(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_Term_elabMutualDef_go___spec__9___closed__2; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__1___closed__5; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__11; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__3(lean_object*, size_t, size_t); 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; 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___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*); -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_setIfNotSet___at_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___spec__2(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(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_getFunName___closed__2; @@ -912,7 +953,6 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClos LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___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_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__9___boxed(lean_object**); lean_object* l_Lean_indentExpr(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_pp_funBinderTypes; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___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*); @@ -924,7 +964,7 @@ LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_push LEAN_EXPORT lean_object* l_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_pushMain___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_object*); lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___spec__14(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_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__9; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__5; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__3; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); @@ -949,12 +989,14 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClos static lean_object* l_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_pushMain___spec__1___closed__2; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lambda__2___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__2___closed__4; -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__12; 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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__2; +static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__10; 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*); +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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* l_Lean_LocalDecl_type(lean_object*); uint64_t lean_uint64_xor(uint64_t, uint64_t); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__1___closed__2; 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*); @@ -963,6 +1005,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_Mutua static lean_object* l_Lean_Elab_Term_instantiateMVarsProfiling___closed__1; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___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_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -976,8 +1019,8 @@ 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_removeUnusedVars___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 uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_checkForHiddenUnivLevels___spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__4___closed__1; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___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* l_Lean_LocalContext_get_x21(lean_object*, lean_object*); @@ -988,9 +1031,12 @@ static lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_ uint8_t l_Lean_Expr_isProp(lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8___lambda__1___boxed(lean_object**); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___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_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__1___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Elab_Term_MutualClosure_isApplicable___spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__12(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_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; @@ -998,6 +1044,7 @@ static lean_object* l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___lambd LEAN_EXPORT lean_object* l_Lean_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__1; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___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_LocalDecl_binderInfo(lean_object*); @@ -1011,22 +1058,28 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeader 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_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__16(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_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_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__11___boxed(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_Elab_MutualDef_0__Lean_Elab_Term_isTheorem(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___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_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2; uint64_t l_Lean_Level_hash(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___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*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__9(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___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_List_reverse___rarg(lean_object*); lean_object* l_Lean_Elab_Term_withAuxDecl___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_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls_loop___rarg(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_hasSorry(lean_object*); +static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__1; lean_object* l_String_intercalate(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed(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_elabHeaders_mkTacTask___lambda__1___closed__8; size_t lean_usize_sub(size_t, size_t); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___lambda__1___closed__10; @@ -1047,7 +1100,7 @@ uint8_t l_Lean_Syntax_hasMissing(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__16(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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__5___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__6___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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go(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(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_getDocStringText___at_Lean_Elab_Command_elabMutualDef___spec__9___closed__1; lean_object* l_Lean_getDelayedMVarRoot___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_instInhabitedLetRecToLift; @@ -1062,18 +1115,20 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfN LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___rarg___lambda__1(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__2___boxed(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_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__15(size_t, size_t, 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_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__1___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__2(lean_object*, lean_object*, size_t, size_t); +lean_object* l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__8(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_List_foldlM___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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_Term_withLevelNames___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_Term_elabMutualDef_go___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_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_FixPoint_State_usedFVarsMap___default; lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); size_t lean_array_size(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__10; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___spec__6(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_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__11; static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_FixPoint_run(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1099,7 +1154,7 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWher static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__3; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___spec__5___rarg___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_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*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_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*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_redLength___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13___boxed(lean_object*, lean_object*, lean_object*); @@ -1115,12 +1170,15 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___lambda__1___closed__9; static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___lambda__1___closed__7; lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9(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_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___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_List_map___at_Lean_MessageData_instCoeListExpr___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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* l_Lean_getAttributeImpl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMutualDef___spec__16___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* lean_array_get_size(lean_object*); extern lean_object* l_Lean_pp_letVarTypes; @@ -1133,9 +1191,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_clean LEAN_EXPORT lean_object* l_List_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___spec__2(lean_object*); uint8_t l_Array_contains___at_Lean_HasConstCache_containsUnsafe___spec__1(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__3(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__4___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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__1; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__13(lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__4(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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__5___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___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_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1151,11 +1212,11 @@ uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3___rarg___boxed(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_elabMutualDef_go___spec__3___closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_checkForHiddenUnivLevels___spec__2___closed__4; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__4; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_resetModified___boxed(lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__2___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample___boxed(lean_object*); -static lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__2; static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__12___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* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1166,19 +1227,19 @@ lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__6(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_elabMutualDef_processDeriving___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___boxed(lean_object**); +static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__3; static lean_object* l_Nat_foldM_loop___at_Lean_Elab_Term_MutualClosure_pushMain___spec__1___closed__3; uint8_t l_Lean_Exception_isRuntime(lean_object*); -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___lambda__2___closed__9; uint8_t l_Lean_KVMap_contains(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_checkForHiddenUnivLevels_visit___spec__2___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___rarg___boxed__const__1; -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___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__4___rarg___lambda__4(lean_object*, size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__6; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_object* l_Lean_CollectFVars_State_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabMutualDef___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___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_Elab_Command_elabMutualDef___lambda__3___closed__1; @@ -1187,24 +1248,27 @@ static lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__3___closed__4; lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at_Lean_Elab_Term_MutualClosure_pushLetRecs___spec__1(uint8_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_elabHeaders_mkTacTask___closed__9; +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__2; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -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*); LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___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*, lean_object*, lean_object*, 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*); -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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* l_Lean_Elab_fixLevelParams(lean_object*, 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_checkForHiddenUnivLevels___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_expandWhereDecls(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642_(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___lambda__4___closed__5; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___closed__2; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__6___closed__1; +static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___spec__3(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_getUsedFVarsMap___rarg(lean_object*); uint8_t l_Lean_Elab_Modifiers_isPartial(lean_object*); @@ -1215,7 +1279,6 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutual LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at_Lean_Elab_Command_elabMutualDef___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__2; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___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_getMax_x3f___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLetRecsToLift___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1225,6 +1288,7 @@ lean_object* l_Lean_Expr_collectFVars(lean_object*, lean_object*, lean_object*, LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isTheorem___spec__1(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at_Lean_Elab_Command_elabMutualDef___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___private_Lean_Meta_Check_0__Lean_Meta_checkAux_check___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___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*); static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__5; @@ -1235,6 +1299,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutua lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__2___boxed(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_markModified___rarg(lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__5; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___spec__5___boxed(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__6; @@ -1247,6 +1312,9 @@ LEAN_EXPORT lean_object* l_Nat_foldTR_loop___at_Lean_Elab_Term_MutualClosure_ins LEAN_EXPORT lean_object* l_Std_Range_forIn_x27_loop___at_Lean_Elab_Command_elabMutualDef___spec__12___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___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*); uint8_t l_Lean_Expr_hasExprMVar(lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMutualDef_go___spec__5___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___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_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__11___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat___lambda__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_instantiateMVarsAtHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1254,7 +1322,7 @@ static lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualD LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_typeHasRecFun(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageLog_hasErrors(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_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() { _start: { @@ -18022,6 +18090,992 @@ lean_dec(x_7); return x_11; } } +static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(10u); +x_2 = lean_unsigned_to_nat(1u); +x_3 = l_Nat_nextPowerOfTwo_go(x_1, x_2, lean_box(0)); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__1; +x_3 = lean_mk_array(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3; +x_3 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_2); +lean_ctor_set(x_4, 1, x_1); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars(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; lean_object* x_13; uint8_t x_14; +x_7 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4; +x_8 = lean_st_mk_ref(x_7, x_6); +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 = l_Lean_Expr_collectFVars(x_1, x_9, 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); +x_13 = lean_st_ref_get(x_9, x_12); +lean_dec(x_9); +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_ctor_get(x_15, 2); +lean_inc(x_16); +lean_dec(x_15); +lean_ctor_set(x_13, 0, x_16); +return x_13; +} +else +{ +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_ctor_get(x_17, 2); +lean_inc(x_19); +lean_dec(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; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___boxed(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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars(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 uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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; +x_7 = lean_array_uget(x_3, x_4); +x_8 = l_Lean_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_2, x_7); +lean_dec(x_7); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = 1; +return x_9; +} +else +{ +size_t x_10; size_t x_11; +lean_dec(x_8); +x_10 = 1; +x_11 = lean_usize_add(x_4, x_10); +x_4 = x_11; +goto _start; +} +} +else +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +} +} +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__1___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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; +x_6 = lean_array_uget(x_2, x_3); +x_7 = l_Lean_RBNode_findCore___at_Lean_Meta_mkGeneralizationForbiddenSet_visit___spec__1(x_1, x_6); +lean_dec(x_6); +if (lean_obj_tag(x_7) == 0) +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +else +{ +size_t x_9; size_t x_10; +lean_dec(x_7); +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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_2, x_3); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +x_12 = lean_array_uget(x_1, x_2); +lean_inc(x_6); +x_13 = l_Lean_Meta_getFVarLocalDecl(x_12, x_6, x_7, x_8, x_9, x_10); +lean_dec(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; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_36; uint8_t x_37; +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_get(x_5, 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); +x_19 = l_Lean_LocalDecl_type(x_14); +x_20 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars(x_19, x_6, x_7, x_8, x_9, 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_36 = l_Lean_LocalDecl_binderInfo(x_14); +x_37 = l_Lean_BinderInfo_isInstImplicit(x_36); +if (x_37 == 0) +{ +size_t x_38; size_t x_39; lean_object* x_40; +lean_dec(x_21); +lean_dec(x_17); +lean_dec(x_14); +x_38 = 1; +x_39 = lean_usize_add(x_2, x_38); +x_40 = lean_box(0); +x_2 = x_39; +x_4 = x_40; +x_10 = x_22; +goto _start; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_42 = lean_ctor_get(x_17, 1); +lean_inc(x_42); +lean_dec(x_17); +x_43 = lean_array_get_size(x_21); +x_44 = lean_unsigned_to_nat(0u); +x_45 = lean_nat_dec_lt(x_44, x_43); +if (x_45 == 0) +{ +lean_object* x_46; +lean_dec(x_43); +lean_dec(x_42); +lean_dec(x_21); +x_46 = lean_box(0); +x_23 = x_46; +goto block_35; +} +else +{ +size_t x_47; size_t x_48; uint8_t x_49; +x_47 = 0; +x_48 = lean_usize_of_nat(x_43); +lean_dec(x_43); +x_49 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__1___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__2(x_42, x_21, x_47, x_48); +lean_dec(x_21); +lean_dec(x_42); +if (x_49 == 0) +{ +lean_object* x_50; +x_50 = lean_box(0); +x_23 = x_50; +goto block_35; +} +else +{ +size_t x_51; size_t x_52; lean_object* x_53; +lean_dec(x_14); +x_51 = 1; +x_52 = lean_usize_add(x_2, x_51); +x_53 = lean_box(0); +x_2 = x_52; +x_4 = x_53; +x_10 = x_22; +goto _start; +} +} +} +block_35: +{ +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; size_t x_31; size_t x_32; lean_object* x_33; +lean_dec(x_23); +x_24 = lean_st_ref_take(x_5, 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 = l_Lean_LocalDecl_fvarId(x_14); +lean_dec(x_14); +x_28 = l_Lean_CollectFVars_State_add(x_25, x_27); +x_29 = lean_st_ref_set(x_5, x_28, x_26); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_31 = 1; +x_32 = lean_usize_add(x_2, x_31); +x_33 = lean_box(0); +x_2 = x_32; +x_4 = x_33; +x_10 = x_30; +goto _start; +} +} +else +{ +uint8_t x_55; +lean_dec(x_6); +x_55 = !lean_is_exclusive(x_13); +if (x_55 == 0) +{ +return x_13; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_13, 0); +x_57 = lean_ctor_get(x_13, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_13); +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 +{ +lean_object* x_59; +lean_dec(x_6); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_4); +lean_ctor_set(x_59, 1, x_10); +return x_59; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__4(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) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_eq(x_3, x_4); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_5); +x_13 = lean_array_uget(x_2, x_3); +lean_inc(x_7); +x_14 = l_Lean_Meta_getFVarLocalDecl(x_13, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +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_LocalDecl_userName(x_15); +x_18 = l_List_elem___at_Lean_addAliasEntry___spec__16(x_17, x_1); +lean_dec(x_17); +if (x_18 == 0) +{ +size_t x_19; size_t x_20; lean_object* x_21; +lean_dec(x_15); +x_19 = 1; +x_20 = lean_usize_add(x_3, x_19); +x_21 = lean_box(0); +x_3 = x_20; +x_5 = x_21; +x_11 = x_16; +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_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; +x_23 = lean_st_ref_take(x_6, x_16); +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_LocalDecl_fvarId(x_15); +lean_dec(x_15); +x_27 = l_Lean_CollectFVars_State_add(x_24, x_26); +x_28 = lean_st_ref_set(x_6, x_27, x_25); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = 1; +x_31 = lean_usize_add(x_3, x_30); +x_32 = lean_box(0); +x_3 = x_31; +x_5 = x_32; +x_11 = x_29; +goto _start; +} +} +else +{ +uint8_t x_34; +lean_dec(x_7); +x_34 = !lean_is_exclusive(x_14); +if (x_34 == 0) +{ +return x_14; +} +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_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; +} +} +} +else +{ +lean_object* x_38; +lean_dec(x_7); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_5); +lean_ctor_set(x_38, 1, x_11); +return x_38; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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) { +_start: +{ +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_2, x_3); +if (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; size_t x_18; size_t x_19; +lean_dec(x_4); +x_12 = lean_array_uget(x_1, x_2); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_ctor_get(x_13, 5); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Expr_collectFVars(x_14, x_5, x_6, x_7, x_8, 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_dec(x_15); +x_18 = 1; +x_19 = lean_usize_add(x_2, x_18); +x_2 = x_19; +x_4 = x_16; +x_10 = x_17; +goto _start; +} +else +{ +lean_object* x_21; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_4); +lean_ctor_set(x_21, 1, x_10); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; uint8_t x_12; lean_object* x_13; +x_10 = lean_array_get_size(x_3); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_lt(x_11, x_10); +if (x_12 == 0) +{ +lean_dec(x_10); +x_13 = x_9; +goto block_58; +} +else +{ +uint8_t x_59; +x_59 = lean_nat_dec_le(x_10, x_10); +if (x_59 == 0) +{ +lean_dec(x_10); +x_13 = x_9; +goto block_58; +} +else +{ +size_t x_60; size_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_60 = 0; +x_61 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_62 = lean_box(0); +x_63 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__5(x_3, x_60, x_61, x_62, x_4, x_5, x_6, x_7, x_8, x_9); +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +lean_dec(x_63); +x_13 = x_64; +goto block_58; +} +} +block_58: +{ +lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_array_get_size(x_1); +x_15 = lean_nat_dec_lt(x_11, x_14); +if (x_15 == 0) +{ +x_16 = x_13; +goto block_47; +} +else +{ +uint8_t x_48; +x_48 = lean_nat_dec_le(x_14, x_14); +if (x_48 == 0) +{ +x_16 = x_13; +goto block_47; +} +else +{ +size_t x_49; size_t x_50; lean_object* x_51; lean_object* x_52; +x_49 = 0; +x_50 = lean_usize_of_nat(x_14); +x_51 = lean_box(0); +lean_inc(x_5); +x_52 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__4(x_2, x_1, x_49, x_50, x_51, x_4, x_5, x_6, x_7, x_8, x_13); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_16 = x_53; +goto block_47; +} +else +{ +uint8_t x_54; +lean_dec(x_14); +lean_dec(x_5); +x_54 = !lean_is_exclusive(x_52); +if (x_54 == 0) +{ +return x_52; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_52, 0); +x_56 = lean_ctor_get(x_52, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_52); +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; +} +} +} +} +block_47: +{ +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_st_ref_get(x_4, 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); +lean_inc(x_5); +x_20 = l_Lean_CollectFVars_State_addDependencies(x_18, x_5, x_6, x_7, x_8, 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_st_ref_set(x_4, x_21, x_22); +if (x_15 == 0) +{ +uint8_t x_24; +lean_dec(x_14); +lean_dec(x_5); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 0); +lean_dec(x_25); +x_26 = lean_box(0); +lean_ctor_set(x_23, 0, x_26); +return x_23; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_23, 1); +lean_inc(x_27); +lean_dec(x_23); +x_28 = lean_box(0); +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; +} +} +else +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_23); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_23, 1); +x_32 = lean_ctor_get(x_23, 0); +lean_dec(x_32); +x_33 = lean_nat_dec_le(x_14, x_14); +if (x_33 == 0) +{ +lean_object* x_34; +lean_dec(x_14); +lean_dec(x_5); +x_34 = lean_box(0); +lean_ctor_set(x_23, 0, x_34); +return x_23; +} +else +{ +size_t x_35; size_t x_36; lean_object* x_37; lean_object* x_38; +lean_free_object(x_23); +x_35 = 0; +x_36 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_37 = lean_box(0); +x_38 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__3(x_1, x_35, x_36, x_37, x_4, x_5, x_6, x_7, x_8, x_31); +return x_38; +} +} +else +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_23, 1); +lean_inc(x_39); +lean_dec(x_23); +x_40 = lean_nat_dec_le(x_14, x_14); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_14); +lean_dec(x_5); +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_39); +return x_42; +} +else +{ +size_t x_43; size_t x_44; lean_object* x_45; lean_object* x_46; +x_43 = 0; +x_44 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_45 = lean_box(0); +x_46 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__3(x_1, x_43, x_44, x_45, x_4, x_5, x_6, x_7, x_8, x_39); +return x_46; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__1___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__1___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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; +x_11 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__3(x_1, x_11, x_12, 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_5); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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; +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__4(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___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) { +_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_3); +lean_dec(x_3); +x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__5(x_1, x_11, x_12, 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_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed(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_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___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; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4; +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); +lean_inc(x_7); +x_16 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed(x_1, x_2, x_3, x_14, x_7, x_8, x_9, x_10, 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, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_st_ref_get(x_14, x_17); +lean_dec(x_14); +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); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_21 = l_Lean_Meta_removeUnused(x_1, x_19, x_7, x_8, x_9, x_10, 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; lean_object* x_29; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_ctor_get(x_22, 0); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_23, 1); +lean_inc(x_27); +lean_dec(x_23); +x_28 = lean_apply_1(x_4, x_27); +x_29 = l_Lean_Meta_withLCtx___at_Lean_Elab_Term_elabSyntheticHole___spec__4___rarg(x_25, x_26, x_28, x_5, x_6, x_7, x_8, x_9, x_10, x_24); +return x_29; +} +else +{ +uint8_t x_30; +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); +x_30 = !lean_is_exclusive(x_21); +if (x_30 == 0) +{ +return x_21; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_21, 0); +x_32 = lean_ctor_get(x_21, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_21); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_14); +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); +x_34 = !lean_is_exclusive(x_16); +if (x_34 == 0) +{ +return x_16; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_16, 0); +x_36 = lean_ctor_get(x_16, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_16); +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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___rarg___boxed), 11, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___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: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___rarg(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_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("deprecated", 10, 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("oldSectionVars", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____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_MutualDef___hyg_5642____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__2; +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_MutualDef___hyg_5642____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("re-enable deprecated behavior of including exactly the section variables used in a declaration", 94, 94); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____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 = 0; +x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__4; +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_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__1; +x_2 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__1; +x_3 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___closed__1; +x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__1; +x_5 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__2; +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_MutualDef___hyg_5642_(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_MutualDef___hyg_5642____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__5; +x_4 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__6; +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; +} +} static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1() { _start: { @@ -18335,7 +19389,1229 @@ return x_71; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withReuseContext___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_eq(x_3, x_4); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_array_uget(x_2, x_3); +x_14 = l_Lean_Expr_fvarId_x21(x_13); +lean_dec(x_13); +lean_inc(x_7); +x_15 = l_Lean_FVarId_getType(x_14, x_7, x_8, x_9, x_10, x_11); +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; 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 = l_Lean_Expr_fvarId_x21(x_1); +x_20 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_19, x_17); +lean_dec(x_17); +lean_dec(x_19); +if (x_20 == 0) +{ +size_t x_21; size_t x_22; +lean_free_object(x_15); +x_21 = 1; +x_22 = lean_usize_add(x_3, x_21); +x_3 = x_22; +x_11 = x_18; +goto _start; +} +else +{ +uint8_t x_24; lean_object* x_25; +lean_dec(x_7); +x_24 = 1; +x_25 = lean_box(x_24); +lean_ctor_set(x_15, 0, x_25); +return x_15; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_15); +x_28 = l_Lean_Expr_fvarId_x21(x_1); +x_29 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_28, x_26); +lean_dec(x_26); +lean_dec(x_28); +if (x_29 == 0) +{ +size_t x_30; size_t x_31; +x_30 = 1; +x_31 = lean_usize_add(x_3, x_30); +x_3 = x_31; +x_11 = x_27; +goto _start; +} +else +{ +uint8_t x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_7); +x_33 = 1; +x_34 = lean_box(x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_27); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_7); +x_36 = !lean_is_exclusive(x_15); +if (x_36 == 0) +{ +return x_15; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_15, 0); +x_38 = lean_ctor_get(x_15, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_15); +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_object* x_41; lean_object* x_42; +lean_dec(x_7); +x_40 = 0; +x_41 = lean_box(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_11); +return x_42; +} +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("included section variable '", 27, 27); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("' is not used in '", 18, 18); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("', consider excluding it", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("[", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("]", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__9; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, 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_14); +lean_dec(x_12); +lean_dec(x_2); +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; uint8_t x_27; lean_object* x_28; lean_object* x_91; lean_object* x_92; uint8_t x_93; +lean_dec(x_9); +x_19 = lean_array_uget(x_6, x_8); +x_91 = lean_array_get_size(x_3); +x_92 = lean_unsigned_to_nat(0u); +x_93 = lean_nat_dec_lt(x_92, x_91); +if (x_93 == 0) +{ +uint8_t x_94; +lean_dec(x_91); +x_94 = 0; +x_27 = x_94; +x_28 = x_16; +goto block_90; +} +else +{ +size_t x_95; size_t x_96; lean_object* x_97; +x_95 = 0; +x_96 = lean_usize_of_nat(x_91); +lean_dec(x_91); +lean_inc(x_12); +x_97 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2(x_19, x_3, x_95, x_96, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_97) == 0) +{ +lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = lean_unbox(x_98); +lean_dec(x_98); +x_27 = x_100; +x_28 = x_99; +goto block_90; +} +else +{ +uint8_t x_101; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_2); +x_101 = !lean_is_exclusive(x_97); +if (x_101 == 0) +{ +return x_97; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_97, 0); +x_103 = lean_ctor_get(x_97, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_97); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +block_26: +{ +lean_object* x_22; size_t x_23; size_t x_24; +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = 1; +x_24 = lean_usize_add(x_8, x_23); +x_8 = x_24; +x_9 = x_22; +x_16 = x_21; +goto _start; +} +block_90: +{ +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Expr_fvarId_x21(x_19); +x_30 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_29, x_4); +if (x_30 == 0) +{ +uint8_t x_31; +x_31 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_29, x_5); +if (x_31 == 0) +{ +if (x_27 == 0) +{ +lean_object* x_32; +lean_inc(x_12); +x_32 = l_Lean_FVarId_getDecl(x_29, x_12, x_13, x_14, x_15, x_28); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; +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_LocalDecl_userName(x_33); +x_36 = l_Lean_Name_hasMacroScopes(x_35); +lean_dec(x_35); +x_37 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_38 = l_Lean_MessageData_ofName(x_2); +if (x_36 == 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; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_33); +x_39 = l_Lean_MessageData_ofExpr(x_19); +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2; +x_41 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4; +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_38); +x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6; +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = 1; +lean_inc(x_14); +x_48 = l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__8(x_37, x_46, x_47, x_10, x_11, x_12, x_13, x_14, x_15, x_34); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_50; +x_21 = x_49; +goto block_26; +} +else +{ +uint8_t x_51; uint8_t x_52; +x_51 = l_Lean_LocalDecl_binderInfo(x_33); +x_52 = l_Lean_BinderInfo_isInstImplicit(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_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec(x_33); +x_53 = l_Lean_MessageData_ofExpr(x_19); +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2; +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4; +x_57 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_38); +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6; +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = 1; +lean_inc(x_14); +x_62 = l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__8(x_37, x_60, x_61, x_10, x_11, x_12, x_13, x_14, x_15, x_34); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_64; +x_21 = x_63; +goto block_26; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_19); +x_65 = l_Lean_LocalDecl_type(x_33); +lean_dec(x_33); +x_66 = l_Lean_MessageData_ofExpr(x_65); +x_67 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__8; +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_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__10; +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 = lean_alloc_ctor(6, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2; +x_73 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4; +x_75 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_38); +x_77 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6; +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 = 1; +lean_inc(x_14); +x_80 = l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__8(x_37, x_78, x_79, x_10, x_11, x_12, x_13, x_14, x_15, x_34); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +lean_dec(x_80); +x_82 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_82; +x_21 = x_81; +goto block_26; +} +} +} +else +{ +uint8_t x_83; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_2); +x_83 = !lean_is_exclusive(x_32); +if (x_83 == 0) +{ +return x_32; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_32, 0); +x_85 = lean_ctor_get(x_32, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_32); +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 +{ +lean_object* x_87; +lean_dec(x_29); +lean_dec(x_19); +x_87 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_87; +x_21 = x_28; +goto block_26; +} +} +else +{ +lean_object* x_88; +lean_dec(x_29); +lean_dec(x_19); +x_88 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_88; +x_21 = x_28; +goto block_26; +} +} +else +{ +lean_object* x_89; +lean_dec(x_29); +lean_dec(x_19); +x_89 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_89; +x_21 = x_28; +goto block_26; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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) { +_start: +{ +uint8_t x_17; +x_17 = lean_nat_dec_le(x_7, x_6); +if (x_17 == 0) +{ +lean_object* x_18; uint8_t x_19; +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_nat_dec_eq(x_5, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +lean_dec(x_9); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_sub(x_5, x_20); +lean_dec(x_5); +x_28 = lean_nat_dec_lt(x_6, x_4); +x_29 = lean_nat_sub(x_1, x_4); +x_30 = lean_nat_add(x_29, x_6); +lean_dec(x_29); +x_31 = lean_array_get_size(x_2); +x_32 = lean_nat_dec_lt(x_30, x_31); +lean_dec(x_31); +if (x_28 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = l_Lean_instInhabitedSyntax; +x_34 = l_outOfBounds___rarg(x_33); +if (x_32 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_30); +x_35 = l_Lean_instInhabitedExpr; +x_36 = l_outOfBounds___rarg(x_35); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_37 = l_Lean_Elab_Term_addLocalVarInfo(x_34, x_36, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_22 = x_39; +x_23 = x_38; +goto block_27; +} +else +{ +uint8_t x_40; +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); +x_40 = !lean_is_exclusive(x_37); +if (x_40 == 0) +{ +return x_37; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +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 = 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_44; lean_object* x_45; +x_44 = lean_array_fget(x_2, x_30); +lean_dec(x_30); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_45 = l_Lean_Elab_Term_addLocalVarInfo(x_34, x_44, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +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); +x_47 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_22 = x_47; +x_23 = x_46; +goto block_27; +} +else +{ +uint8_t x_48; +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); +x_48 = !lean_is_exclusive(x_45); +if (x_48 == 0) +{ +return x_45; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +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, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +} +else +{ +lean_object* x_52; +x_52 = lean_array_fget(x_3, x_6); +if (x_32 == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +lean_dec(x_30); +x_53 = l_Lean_instInhabitedExpr; +x_54 = l_outOfBounds___rarg(x_53); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_55 = l_Lean_Elab_Term_addLocalVarInfo(x_52, x_54, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_22 = x_57; +x_23 = x_56; +goto block_27; +} +else +{ +uint8_t x_58; +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); +x_58 = !lean_is_exclusive(x_55); +if (x_58 == 0) +{ +return x_55; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_55, 0); +x_60 = lean_ctor_get(x_55, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_55); +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; +x_62 = lean_array_fget(x_2, x_30); +lean_dec(x_30); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_63 = l_Lean_Elab_Term_addLocalVarInfo(x_52, x_62, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +lean_dec(x_63); +x_65 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_22 = x_65; +x_23 = x_64; +goto block_27; +} +else +{ +uint8_t x_66; +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); +x_66 = !lean_is_exclusive(x_63); +if (x_66 == 0) +{ +return x_63; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_63, 0); +x_68 = lean_ctor_get(x_63, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_63); +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; +} +} +} +} +block_27: +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_nat_add(x_6, x_8); +lean_dec(x_6); +x_5 = x_21; +x_6 = x_25; +x_9 = x_24; +x_16 = x_23; +goto _start; +} +} +else +{ +lean_object* 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_6); +lean_dec(x_5); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_9); +lean_ctor_set(x_70, 1, x_16); +return x_70; +} +} +else +{ +lean_object* x_71; +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); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_9); +lean_ctor_set(x_71, 1, x_16); +return x_71; +} +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_eq(x_3, x_4); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_array_uget(x_2, x_3); +x_14 = l_Lean_Expr_fvarId_x21(x_13); +lean_dec(x_13); +lean_inc(x_7); +x_15 = l_Lean_FVarId_getType(x_14, x_7, x_8, x_9, x_10, x_11); +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; 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 = l_Lean_Expr_fvarId_x21(x_1); +x_20 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_19, x_17); +lean_dec(x_17); +lean_dec(x_19); +if (x_20 == 0) +{ +size_t x_21; size_t x_22; +lean_free_object(x_15); +x_21 = 1; +x_22 = lean_usize_add(x_3, x_21); +x_3 = x_22; +x_11 = x_18; +goto _start; +} +else +{ +uint8_t x_24; lean_object* x_25; +lean_dec(x_7); +x_24 = 1; +x_25 = lean_box(x_24); +lean_ctor_set(x_15, 0, x_25); +return x_15; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_15); +x_28 = l_Lean_Expr_fvarId_x21(x_1); +x_29 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_28, x_26); +lean_dec(x_26); +lean_dec(x_28); +if (x_29 == 0) +{ +size_t x_30; size_t x_31; +x_30 = 1; +x_31 = lean_usize_add(x_3, x_30); +x_3 = x_31; +x_11 = x_27; +goto _start; +} +else +{ +uint8_t x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_7); +x_33 = 1; +x_34 = lean_box(x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_27); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_7); +x_36 = !lean_is_exclusive(x_15); +if (x_36 == 0) +{ +return x_15; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_15, 0); +x_38 = lean_ctor_get(x_15, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_15); +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_object* x_41; lean_object* x_42; +lean_dec(x_7); +x_40 = 0; +x_41 = lean_box(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_11); +return x_42; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, size_t x_7, size_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_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_14); +lean_dec(x_12); +lean_dec(x_2); +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; uint8_t x_27; lean_object* x_28; lean_object* x_91; lean_object* x_92; uint8_t x_93; +lean_dec(x_9); +x_19 = lean_array_uget(x_6, x_8); +x_91 = lean_array_get_size(x_3); +x_92 = lean_unsigned_to_nat(0u); +x_93 = lean_nat_dec_lt(x_92, x_91); +if (x_93 == 0) +{ +uint8_t x_94; +lean_dec(x_91); +x_94 = 0; +x_27 = x_94; +x_28 = x_16; +goto block_90; +} +else +{ +size_t x_95; size_t x_96; lean_object* x_97; +x_95 = 0; +x_96 = lean_usize_of_nat(x_91); +lean_dec(x_91); +lean_inc(x_12); +x_97 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5(x_19, x_3, x_95, x_96, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_97) == 0) +{ +lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = lean_unbox(x_98); +lean_dec(x_98); +x_27 = x_100; +x_28 = x_99; +goto block_90; +} +else +{ +uint8_t x_101; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_2); +x_101 = !lean_is_exclusive(x_97); +if (x_101 == 0) +{ +return x_97; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_97, 0); +x_103 = lean_ctor_get(x_97, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_97); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +block_26: +{ +lean_object* x_22; size_t x_23; size_t x_24; +x_22 = lean_ctor_get(x_20, 0); +lean_inc(x_22); +lean_dec(x_20); +x_23 = 1; +x_24 = lean_usize_add(x_8, x_23); +x_8 = x_24; +x_9 = x_22; +x_16 = x_21; +goto _start; +} +block_90: +{ +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Expr_fvarId_x21(x_19); +x_30 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_29, x_4); +if (x_30 == 0) +{ +uint8_t x_31; +x_31 = l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(x_29, x_5); +if (x_31 == 0) +{ +if (x_27 == 0) +{ +lean_object* x_32; +lean_inc(x_12); +x_32 = l_Lean_FVarId_getDecl(x_29, x_12, x_13, x_14, x_15, x_28); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; +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_LocalDecl_userName(x_33); +x_36 = l_Lean_Name_hasMacroScopes(x_35); +lean_dec(x_35); +x_37 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_38 = l_Lean_MessageData_ofName(x_2); +if (x_36 == 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; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_33); +x_39 = l_Lean_MessageData_ofExpr(x_19); +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2; +x_41 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +x_42 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4; +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_38); +x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6; +x_46 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = 1; +lean_inc(x_14); +x_48 = l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__8(x_37, x_46, x_47, x_10, x_11, x_12, x_13, x_14, x_15, x_34); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_50; +x_21 = x_49; +goto block_26; +} +else +{ +uint8_t x_51; uint8_t x_52; +x_51 = l_Lean_LocalDecl_binderInfo(x_33); +x_52 = l_Lean_BinderInfo_isInstImplicit(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_object* x_62; lean_object* x_63; lean_object* x_64; +lean_dec(x_33); +x_53 = l_Lean_MessageData_ofExpr(x_19); +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2; +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4; +x_57 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_38); +x_59 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6; +x_60 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +x_61 = 1; +lean_inc(x_14); +x_62 = l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__8(x_37, x_60, x_61, x_10, x_11, x_12, x_13, x_14, x_15, x_34); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_64; +x_21 = x_63; +goto block_26; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_19); +x_65 = l_Lean_LocalDecl_type(x_33); +lean_dec(x_33); +x_66 = l_Lean_MessageData_ofExpr(x_65); +x_67 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__8; +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_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__10; +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 = lean_alloc_ctor(6, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2; +x_73 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4; +x_75 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_38); +x_77 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6; +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 = 1; +lean_inc(x_14); +x_80 = l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__8(x_37, x_78, x_79, x_10, x_11, x_12, x_13, x_14, x_15, x_34); +x_81 = lean_ctor_get(x_80, 1); +lean_inc(x_81); +lean_dec(x_80); +x_82 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_82; +x_21 = x_81; +goto block_26; +} +} +} +else +{ +uint8_t x_83; +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_2); +x_83 = !lean_is_exclusive(x_32); +if (x_83 == 0) +{ +return x_32; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_32, 0); +x_85 = lean_ctor_get(x_32, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_32); +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 +{ +lean_object* x_87; +lean_dec(x_29); +lean_dec(x_19); +x_87 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_87; +x_21 = x_28; +goto block_26; +} +} +else +{ +lean_object* x_88; +lean_dec(x_29); +lean_dec(x_19); +x_88 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_88; +x_21 = x_28; +goto block_26; +} +} +else +{ +lean_object* x_89; +lean_dec(x_29); +lean_dec(x_19); +x_89 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1; +x_20 = x_89; +x_21 = x_28; +goto block_26; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withReuseContext___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -18468,469 +20744,1138 @@ return x_48; } } } -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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) { _start: { -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_1, 3); -x_15 = lean_array_get_size(x_14); -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_unsigned_to_nat(1u); -x_18 = lean_box(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_15); -x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1(x_2, x_5, x_14, x_15, x_15, x_16, x_15, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_15); -if (lean_obj_tag(x_19) == 0) +lean_object* x_10; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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, lean_object* x_17) { +_start: { -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_6); +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_1, 3); +x_19 = lean_array_get_size(x_18); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_unsigned_to_nat(1u); x_22 = lean_box(0); -x_23 = !lean_is_exclusive(x_7); -if (x_23 == 0) -{ -lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_7, 8); -lean_dec(x_24); -lean_ctor_set(x_7, 8, x_3); -x_25 = 1; +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_8); -lean_inc(x_7); -x_26 = l_Lean_Elab_Term_elabTermEnsuringType(x_4, x_21, x_25, x_25, x_22, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_26) == 0) +lean_inc(x_19); +x_23 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1(x_2, x_9, x_18, x_19, x_19, x_20, x_19, x_21, x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_19); +if (lean_obj_tag(x_23) == 0) { -lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_26, 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; uint8_t x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_10); +x_26 = lean_box(0); +x_27 = lean_ctor_get(x_11, 0); lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +x_28 = lean_ctor_get(x_11, 1); lean_inc(x_28); -lean_dec(x_26); -x_29 = 1; -x_30 = 0; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_31 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_29, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_28); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_33 = l_Lean_Elab_Term_instantiateMVarsProfiling(x_27, x_9, x_10, x_11, x_12, x_32); -if (lean_obj_tag(x_33) == 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); +x_29 = lean_ctor_get(x_11, 2); +lean_inc(x_29); +x_30 = lean_ctor_get_uint8(x_11, sizeof(void*)*9); +x_31 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 1); +x_32 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 2); +x_33 = lean_ctor_get(x_11, 3); +lean_inc(x_33); +x_34 = lean_ctor_get(x_11, 4); lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +x_35 = lean_ctor_get(x_11, 5); lean_inc(x_35); -lean_dec(x_33); -x_36 = 1; -x_37 = l_Lean_Meta_mkLambdaFVars(x_5, x_34, x_30, x_25, x_30, x_36, x_9, x_10, x_11, x_12, x_35); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -return x_37; -} -else +x_36 = lean_ctor_get(x_11, 6); +lean_inc(x_36); +x_37 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 3); +x_38 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 4); +x_39 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 5); +x_40 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 6); +x_41 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 7); +x_42 = lean_ctor_get(x_11, 7); +lean_inc(x_42); +x_43 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 8); +x_44 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 9); +x_45 = lean_alloc_ctor(0, 9, 10); +lean_ctor_set(x_45, 0, x_27); +lean_ctor_set(x_45, 1, x_28); +lean_ctor_set(x_45, 2, x_29); +lean_ctor_set(x_45, 3, x_33); +lean_ctor_set(x_45, 4, x_34); +lean_ctor_set(x_45, 5, x_35); +lean_ctor_set(x_45, 6, x_36); +lean_ctor_set(x_45, 7, x_42); +lean_ctor_set(x_45, 8, x_3); +lean_ctor_set_uint8(x_45, sizeof(void*)*9, x_30); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 1, x_31); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 2, x_32); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 3, x_37); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 4, x_38); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 5, x_39); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 6, x_40); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 7, x_41); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 8, x_43); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 9, x_44); +x_46 = 1; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_45); +x_47 = l_Lean_Elab_Term_elabTermEnsuringType(x_4, x_25, x_46, x_46, x_26, x_45, x_12, x_13, x_14, x_15, x_16, x_24); +if (lean_obj_tag(x_47) == 0) { -uint8_t x_38; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -x_38 = !lean_is_exclusive(x_33); -if (x_38 == 0) -{ -return x_33; -} -else -{ -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_42; -lean_dec(x_27); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -x_42 = !lean_is_exclusive(x_31); -if (x_42 == 0) -{ -return x_31; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_31, 0); -x_44 = lean_ctor_get(x_31, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_31); -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_46; -lean_dec(x_7); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_5); -x_46 = !lean_is_exclusive(x_26); -if (x_46 == 0) -{ -return x_26; -} -else -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_26, 0); -x_48 = lean_ctor_get(x_26, 1); +lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t x_51; lean_object* x_52; +x_48 = lean_ctor_get(x_47, 0); lean_inc(x_48); -lean_inc(x_47); -lean_dec(x_26); -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; -} -} -} -else +x_49 = lean_ctor_get(x_47, 1); +lean_inc(x_49); +lean_dec(x_47); +x_50 = 1; +x_51 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_52 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_50, x_51, x_45, x_12, x_13, x_14, x_15, x_16, x_49); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; uint8_t x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_60; uint8_t x_61; uint8_t x_62; uint8_t x_63; uint8_t x_64; lean_object* x_65; uint8_t x_66; uint8_t x_67; lean_object* x_68; uint8_t x_69; lean_object* x_70; -x_50 = lean_ctor_get(x_7, 0); -x_51 = lean_ctor_get(x_7, 1); -x_52 = lean_ctor_get(x_7, 2); -x_53 = lean_ctor_get_uint8(x_7, sizeof(void*)*9); -x_54 = lean_ctor_get_uint8(x_7, sizeof(void*)*9 + 1); -x_55 = lean_ctor_get_uint8(x_7, sizeof(void*)*9 + 2); -x_56 = lean_ctor_get(x_7, 3); -x_57 = lean_ctor_get(x_7, 4); -x_58 = lean_ctor_get(x_7, 5); -x_59 = lean_ctor_get(x_7, 6); -x_60 = lean_ctor_get_uint8(x_7, sizeof(void*)*9 + 3); -x_61 = lean_ctor_get_uint8(x_7, sizeof(void*)*9 + 4); -x_62 = lean_ctor_get_uint8(x_7, sizeof(void*)*9 + 5); -x_63 = lean_ctor_get_uint8(x_7, sizeof(void*)*9 + 6); -x_64 = lean_ctor_get_uint8(x_7, sizeof(void*)*9 + 7); -x_65 = lean_ctor_get(x_7, 7); -x_66 = lean_ctor_get_uint8(x_7, sizeof(void*)*9 + 8); -x_67 = lean_ctor_get_uint8(x_7, sizeof(void*)*9 + 9); -lean_inc(x_65); -lean_inc(x_59); -lean_inc(x_58); -lean_inc(x_57); +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_54 = l_Lean_Elab_Term_instantiateMVarsProfiling(x_48, x_13, x_14, x_15, x_16, x_53); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; +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_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_7); -x_68 = lean_alloc_ctor(0, 9, 10); -lean_ctor_set(x_68, 0, x_50); -lean_ctor_set(x_68, 1, x_51); -lean_ctor_set(x_68, 2, x_52); -lean_ctor_set(x_68, 3, x_56); -lean_ctor_set(x_68, 4, x_57); -lean_ctor_set(x_68, 5, x_58); -lean_ctor_set(x_68, 6, x_59); -lean_ctor_set(x_68, 7, x_65); -lean_ctor_set(x_68, 8, x_3); -lean_ctor_set_uint8(x_68, sizeof(void*)*9, x_53); -lean_ctor_set_uint8(x_68, sizeof(void*)*9 + 1, x_54); -lean_ctor_set_uint8(x_68, sizeof(void*)*9 + 2, x_55); -lean_ctor_set_uint8(x_68, sizeof(void*)*9 + 3, x_60); -lean_ctor_set_uint8(x_68, sizeof(void*)*9 + 4, x_61); -lean_ctor_set_uint8(x_68, sizeof(void*)*9 + 5, x_62); -lean_ctor_set_uint8(x_68, sizeof(void*)*9 + 6, x_63); -lean_ctor_set_uint8(x_68, sizeof(void*)*9 + 7, x_64); -lean_ctor_set_uint8(x_68, sizeof(void*)*9 + 8, x_66); -lean_ctor_set_uint8(x_68, sizeof(void*)*9 + 9, x_67); -x_69 = 1; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_68); -x_70 = l_Lean_Elab_Term_elabTermEnsuringType(x_4, x_21, x_69, x_69, x_22, x_68, x_8, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_70) == 0) +lean_dec(x_54); +x_57 = 1; +x_58 = l_Lean_Meta_mkLambdaFVars(x_9, x_55, x_51, x_46, x_51, x_57, x_13, x_14, x_15, x_16, x_56); +if (lean_obj_tag(x_58) == 0) { -lean_object* x_71; lean_object* x_72; uint8_t x_73; uint8_t x_74; lean_object* x_75; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); +uint8_t x_59; +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_60 = lean_ctor_get(x_58, 0); +x_61 = lean_ctor_get(x_58, 1); +x_62 = l_Lean_Expr_hasSorry(x_5); +if (x_62 == 0) +{ +uint8_t x_63; +x_63 = l_Lean_Expr_hasSorry(x_60); +if (x_63 == 0) +{ +size_t x_64; size_t x_65; lean_object* x_66; +lean_free_object(x_58); +x_64 = lean_array_size(x_6); +x_65 = 0; +x_66 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3(x_7, x_8, x_6, x_5, x_60, x_6, x_64, x_65, x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_61); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +if (lean_obj_tag(x_66) == 0) +{ +uint8_t x_67; +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) +{ +lean_object* x_68; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +lean_ctor_set(x_66, 0, x_60); +return x_66; +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_60); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +else +{ +uint8_t x_71; +lean_dec(x_60); +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_70); -x_73 = 1; -x_74 = 0; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_75 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_73, x_74, x_68, x_8, x_9, x_10, x_11, x_12, x_72); -if (lean_obj_tag(x_75) == 0) +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; +} +} +} +else { -lean_object* x_76; lean_object* x_77; -x_76 = lean_ctor_get(x_75, 1); +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_8); +return x_58; +} +} +else +{ +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_8); +return x_58; +} +} +else +{ +lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_75 = lean_ctor_get(x_58, 0); +x_76 = lean_ctor_get(x_58, 1); lean_inc(x_76); -lean_dec(x_75); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_77 = l_Lean_Elab_Term_instantiateMVarsProfiling(x_71, x_9, x_10, x_11, x_12, x_76); -if (lean_obj_tag(x_77) == 0) +lean_inc(x_75); +lean_dec(x_58); +x_77 = l_Lean_Expr_hasSorry(x_5); +if (x_77 == 0) { -lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; -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 = 1; -x_81 = l_Lean_Meta_mkLambdaFVars(x_5, x_78, x_74, x_69, x_74, x_80, x_9, x_10, x_11, x_12, x_79); +uint8_t x_78; +x_78 = l_Lean_Expr_hasSorry(x_75); +if (x_78 == 0) +{ +size_t x_79; size_t x_80; lean_object* x_81; +x_79 = lean_array_size(x_6); +x_80 = 0; +x_81 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3(x_7, x_8, x_6, x_5, x_75, x_6, x_79, x_80, x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_76); +lean_dec(x_16); +lean_dec(x_14); lean_dec(x_12); lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -return x_81; -} -else +if (lean_obj_tag(x_81) == 0) { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_5); -x_82 = lean_ctor_get(x_77, 0); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_81, 1); lean_inc(x_82); -x_83 = lean_ctor_get(x_77, 1); -lean_inc(x_83); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_84 = x_77; +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_77); - x_84 = lean_box(0); + lean_dec_ref(x_81); + x_83 = lean_box(0); } -if (lean_is_scalar(x_84)) { - x_85 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(0, 2, 0); } else { - x_85 = x_84; + x_84 = x_83; } -lean_ctor_set(x_85, 0, x_82); -lean_ctor_set(x_85, 1, x_83); -return x_85; +lean_ctor_set(x_84, 0, x_75); +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_dec(x_75); +x_85 = lean_ctor_get(x_81, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_81, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_87 = x_81; +} else { + lean_dec_ref(x_81); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(1, 2, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +return x_88; } } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_71); +lean_object* x_89; +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_5); -x_86 = lean_ctor_get(x_75, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_75, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_75)) { - lean_ctor_release(x_75, 0); - lean_ctor_release(x_75, 1); - x_88 = x_75; -} else { - lean_dec_ref(x_75); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(1, 2, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_87); +lean_dec(x_8); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_75); +lean_ctor_set(x_89, 1, x_76); return x_89; } } else { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_68); +lean_object* x_90; +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_8); -lean_dec(x_5); -x_90 = lean_ctor_get(x_70, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_70, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - x_92 = x_70; -} else { - lean_dec_ref(x_70); - x_92 = lean_box(0); -} -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); -} else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); -return x_93; +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_75); +lean_ctor_set(x_90, 1, x_76); +return x_90; } } } else { -uint8_t x_94; +uint8_t x_91; +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_8); +x_91 = !lean_is_exclusive(x_58); +if (x_91 == 0) +{ +return x_58; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_58, 0); +x_93 = lean_ctor_get(x_58, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_58); +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_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +x_95 = !lean_is_exclusive(x_54); +if (x_95 == 0) +{ +return x_54; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_54, 0); +x_97 = lean_ctor_get(x_54, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_54); +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 +{ +uint8_t x_99; +lean_dec(x_48); +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_9); +lean_dec(x_8); +x_99 = !lean_is_exclusive(x_52); +if (x_99 == 0) +{ +return x_52; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_52, 0); +x_101 = lean_ctor_get(x_52, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_52); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; +} +} +} +else +{ +uint8_t x_103; +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_9); +lean_dec(x_8); +x_103 = !lean_is_exclusive(x_47); +if (x_103 == 0) +{ +return x_47; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_47, 0); +x_105 = lean_ctor_get(x_47, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_47); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; +} +} +} +else +{ +uint8_t x_107; +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_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_94 = !lean_is_exclusive(x_19); -if (x_94 == 0) +x_107 = !lean_is_exclusive(x_23); +if (x_107 == 0) { -return x_19; +return x_23; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_19, 0); -x_96 = lean_ctor_get(x_19, 1); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_19); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_23, 0); +x_109 = lean_ctor_get(x_23, 1); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_23); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; } } } } -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___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_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -lean_object* x_11; -lean_inc(x_8); -lean_inc(x_4); -x_11 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__9(x_1, 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; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; -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_2, 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; +x_18 = lean_ctor_get(x_1, 3); +x_19 = lean_array_get_size(x_18); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_box(0); +lean_inc(x_16); +lean_inc(x_15); lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 4); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_19); +x_23 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__4(x_2, x_9, x_18, x_19, x_19, x_20, x_19, x_21, x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_19); +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_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_10); +x_26 = lean_box(0); +x_27 = lean_ctor_get(x_11, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_11, 1); +lean_inc(x_28); +x_29 = lean_ctor_get(x_11, 2); +lean_inc(x_29); +x_30 = lean_ctor_get_uint8(x_11, sizeof(void*)*9); +x_31 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 1); +x_32 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 2); +x_33 = lean_ctor_get(x_11, 3); +lean_inc(x_33); +x_34 = lean_ctor_get(x_11, 4); +lean_inc(x_34); +x_35 = lean_ctor_get(x_11, 5); +lean_inc(x_35); +x_36 = lean_ctor_get(x_11, 6); +lean_inc(x_36); +x_37 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 3); +x_38 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 4); +x_39 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 5); +x_40 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 6); +x_41 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 7); +x_42 = lean_ctor_get(x_11, 7); +lean_inc(x_42); +x_43 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 8); +x_44 = lean_ctor_get_uint8(x_11, sizeof(void*)*9 + 9); +x_45 = lean_alloc_ctor(0, 9, 10); +lean_ctor_set(x_45, 0, x_27); +lean_ctor_set(x_45, 1, x_28); +lean_ctor_set(x_45, 2, x_29); +lean_ctor_set(x_45, 3, x_33); +lean_ctor_set(x_45, 4, x_34); +lean_ctor_set(x_45, 5, x_35); +lean_ctor_set(x_45, 6, x_36); +lean_ctor_set(x_45, 7, x_42); +lean_ctor_set(x_45, 8, x_3); +lean_ctor_set_uint8(x_45, sizeof(void*)*9, x_30); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 1, x_31); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 2, x_32); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 3, x_37); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 4, x_38); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 5, x_39); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 6, x_40); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 7, x_41); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 8, x_43); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 9, x_44); +x_46 = 1; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_45); +x_47 = l_Lean_Elab_Term_elabTermEnsuringType(x_4, x_25, x_46, x_46, x_26, x_45, x_12, x_13, x_14, x_15, x_16, x_24); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t 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 = 1; +x_51 = 0; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_52 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_50, x_51, x_45, x_12, x_13, x_14, x_15, x_16, x_49); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_54 = l_Lean_Elab_Term_instantiateMVarsProfiling(x_48, x_13, x_14, x_15, x_16, x_53); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; +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 = 1; +x_58 = l_Lean_Meta_mkLambdaFVars(x_9, x_55, x_51, x_46, x_51, x_57, x_13, x_14, x_15, x_16, x_56); +if (lean_obj_tag(x_58) == 0) +{ +uint8_t x_59; +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_60 = lean_ctor_get(x_58, 0); +x_61 = lean_ctor_get(x_58, 1); +x_62 = l_Lean_Expr_hasSorry(x_5); +if (x_62 == 0) +{ +uint8_t x_63; +x_63 = l_Lean_Expr_hasSorry(x_60); +if (x_63 == 0) +{ +size_t x_64; size_t x_65; lean_object* x_66; +lean_free_object(x_58); +x_64 = lean_array_size(x_6); +x_65 = 0; +x_66 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__6(x_7, x_8, x_6, x_5, x_60, x_6, x_64, x_65, x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_61); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +if (lean_obj_tag(x_66) == 0) +{ +uint8_t x_67; +x_67 = !lean_is_exclusive(x_66); +if (x_67 == 0) +{ +lean_object* x_68; +x_68 = lean_ctor_get(x_66, 0); +lean_dec(x_68); +lean_ctor_set(x_66, 0, x_60); +return x_66; +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_66, 1); +lean_inc(x_69); +lean_dec(x_66); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_60); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +else +{ +uint8_t x_71; +lean_dec(x_60); +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; +} +} +} +else +{ +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_8); +return x_58; +} +} +else +{ +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_8); +return x_58; +} +} +else +{ +lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_75 = lean_ctor_get(x_58, 0); +x_76 = lean_ctor_get(x_58, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_58); +x_77 = l_Lean_Expr_hasSorry(x_5); +if (x_77 == 0) +{ +uint8_t x_78; +x_78 = l_Lean_Expr_hasSorry(x_75); +if (x_78 == 0) +{ +size_t x_79; size_t x_80; lean_object* x_81; +x_79 = lean_array_size(x_6); +x_80 = 0; +x_81 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__6(x_7, x_8, x_6, x_5, x_75, x_6, x_79, x_80, x_22, x_11, x_12, x_13, x_14, x_15, x_16, x_76); +lean_dec(x_16); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +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_75); +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_dec(x_75); +x_85 = lean_ctor_get(x_81, 0); +lean_inc(x_85); +x_86 = lean_ctor_get(x_81, 1); +lean_inc(x_86); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_87 = x_81; +} else { + lean_dec_ref(x_81); + x_87 = lean_box(0); +} +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(1, 2, 0); +} else { + x_88 = x_87; +} +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_86); +return x_88; +} +} +else +{ +lean_object* x_89; +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_8); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_75); +lean_ctor_set(x_89, 1, x_76); +return x_89; +} +} +else +{ +lean_object* x_90; +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_8); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_75); +lean_ctor_set(x_90, 1, x_76); +return x_90; +} +} +} +else +{ +uint8_t x_91; +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_8); +x_91 = !lean_is_exclusive(x_58); +if (x_91 == 0) +{ +return x_58; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_58, 0); +x_93 = lean_ctor_get(x_58, 1); +lean_inc(x_93); +lean_inc(x_92); +lean_dec(x_58); +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_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +x_95 = !lean_is_exclusive(x_54); +if (x_95 == 0) +{ +return x_54; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_54, 0); +x_97 = lean_ctor_get(x_54, 1); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_54); +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 +{ +uint8_t x_99; +lean_dec(x_48); +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_9); +lean_dec(x_8); +x_99 = !lean_is_exclusive(x_52); +if (x_99 == 0) +{ +return x_52; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_52, 0); +x_101 = lean_ctor_get(x_52, 1); +lean_inc(x_101); +lean_inc(x_100); +lean_dec(x_52); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; +} +} +} +else +{ +uint8_t x_103; +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_9); +lean_dec(x_8); +x_103 = !lean_is_exclusive(x_47); +if (x_103 == 0) +{ +return x_47; +} +else +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_47, 0); +x_105 = lean_ctor_get(x_47, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_47); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; +} +} +} +else +{ +uint8_t x_107; +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_8); +lean_dec(x_4); +lean_dec(x_3); +x_107 = !lean_is_exclusive(x_23); +if (x_107 == 0) +{ +return x_23; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_108 = lean_ctor_get(x_23, 0); +x_109 = lean_ctor_get(x_23, 1); +lean_inc(x_109); +lean_inc(x_108); +lean_dec(x_23); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set(x_110, 1, x_109); +return x_110; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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) { +_start: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_1, 5); +lean_inc(x_14); +x_15 = lean_ctor_get(x_1, 4); lean_inc(x_15); lean_inc(x_15); x_16 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_16, 0, x_15); -x_17 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__1___boxed), 13, 4); -lean_closure_set(x_17, 0, x_2); +lean_inc(x_14); +x_17 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__3___boxed), 17, 8); +lean_closure_set(x_17, 0, x_1); lean_closure_set(x_17, 1, x_15); -lean_closure_set(x_17, 2, x_3); -lean_closure_set(x_17, 3, x_12); +lean_closure_set(x_17, 2, x_2); +lean_closure_set(x_17, 3, x_3); +lean_closure_set(x_17, 4, x_14); +lean_closure_set(x_17, 5, x_6); +lean_closure_set(x_17, 6, x_4); +lean_closure_set(x_17, 7, x_5); x_18 = 0; -x_19 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_14, x_16, x_17, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +x_19 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_14, x_16, x_17, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_19; } +} +static lean_object* _init_l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Elab_Term_deprecated_oldSectionVars; +return x_1; +} +} +static lean_object* _init_l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___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; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +lean_object* x_16; +lean_inc(x_13); +lean_inc(x_9); +x_16 = l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__9(x_1, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_28; uint8_t x_29; uint8_t x_30; +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_28 = lean_ctor_get(x_13, 2); +lean_inc(x_28); +x_29 = lean_ctor_get_uint8(x_4, sizeof(void*)*9); +x_30 = l_Lean_Elab_DefKind_isTheorem(x_29); +if (x_30 == 0) +{ +lean_object* x_31; +lean_dec(x_28); +lean_dec(x_6); +x_31 = lean_box(0); +x_19 = x_31; +goto block_27; +} else { -uint8_t x_20; +lean_object* x_32; uint8_t x_33; +x_32 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__1; +x_33 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_28, x_32); +lean_dec(x_28); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__4), 13, 5); +lean_closure_set(x_34, 0, x_2); +lean_closure_set(x_34, 1, x_3); +lean_closure_set(x_34, 2, x_17); +lean_closure_set(x_34, 3, x_4); +lean_closure_set(x_34, 4, x_5); +x_35 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__2; +x_36 = lean_array_push(x_35, x_6); +x_37 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___rarg(x_7, x_8, x_36, x_34, x_9, x_10, x_11, x_12, x_13, x_14, x_18); +lean_dec(x_36); +return x_37; +} +else +{ +lean_object* x_38; +lean_dec(x_6); +x_38 = lean_box(0); +x_19 = x_38; +goto block_27; +} +} +block_27: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; +lean_dec(x_19); +x_20 = lean_ctor_get(x_2, 5); +lean_inc(x_20); +x_21 = lean_ctor_get(x_2, 4); +lean_inc(x_21); +lean_inc(x_21); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; +lean_inc(x_20); +x_24 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___boxed), 17, 8); +lean_closure_set(x_24, 0, x_2); +lean_closure_set(x_24, 1, x_21); +lean_closure_set(x_24, 2, x_3); +lean_closure_set(x_24, 3, x_17); +lean_closure_set(x_24, 4, x_20); +lean_closure_set(x_24, 5, x_23); +lean_closure_set(x_24, 6, x_4); +lean_closure_set(x_24, 7, x_5); +x_25 = 0; +x_26 = l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(x_20, x_22, x_24, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_18); +return x_26; +} +} +else +{ +uint8_t x_39; +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_3); lean_dec(x_2); -x_20 = !lean_is_exclusive(x_11); -if (x_20 == 0) +x_39 = !lean_is_exclusive(x_16); +if (x_39 == 0) { -return x_11; +return x_16; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_11, 0); -x_22 = lean_ctor_get(x_11, 1); -lean_inc(x_22); -lean_inc(x_21); -lean_dec(x_11); -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_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_16, 0); +x_41 = lean_ctor_get(x_16, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_16); +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_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___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_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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; uint8_t x_12; @@ -18942,7 +21887,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_11, 0); x_14 = lean_ctor_get(x_11, 1); lean_inc(x_9); -x_15 = l_Lean_Elab_Term_withReuseContext___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_14); +x_15 = l_Lean_Elab_Term_withReuseContext___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_14); if (lean_obj_tag(x_15) == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -19067,7 +22012,7 @@ lean_inc(x_43); lean_inc(x_42); lean_dec(x_11); lean_inc(x_9); -x_44 = l_Lean_Elab_Term_withReuseContext___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_43); +x_44 = l_Lean_Elab_Term_withReuseContext___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_43); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; @@ -19154,2316 +22099,2326 @@ return x_62; } } } -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__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, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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) { _start: { -if (lean_obj_tag(x_10) == 0) +if (lean_obj_tag(x_14) == 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; -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_ctor_get(x_14, 6); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get(x_3, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_3, 2); -lean_inc(x_17); -x_18 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__2), 10, 3); -lean_closure_set(x_18, 0, x_4); -lean_closure_set(x_18, 1, x_3); -lean_closure_set(x_18, 2, x_2); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); -lean_closure_set(x_19, 0, x_17); -lean_closure_set(x_19, 1, x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); -lean_closure_set(x_20, 0, x_16); -lean_closure_set(x_20, 1, x_19); -x_21 = !lean_is_exclusive(x_6); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_6, 8); -lean_dec(x_22); -lean_ctor_set(x_6, 8, x_5); -x_23 = lean_box(0); -x_24 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__3(x_15, x_20, x_6, x_7, x_8, x_9, x_23, x_11, x_12, x_13); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t 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; uint8_t x_38; uint8_t x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_25 = lean_ctor_get(x_6, 0); -x_26 = lean_ctor_get(x_6, 1); -x_27 = lean_ctor_get(x_6, 2); -x_28 = lean_ctor_get_uint8(x_6, sizeof(void*)*9); -x_29 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 1); -x_30 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 2); -x_31 = lean_ctor_get(x_6, 3); -x_32 = lean_ctor_get(x_6, 4); -x_33 = lean_ctor_get(x_6, 5); -x_34 = lean_ctor_get(x_6, 6); -x_35 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 3); -x_36 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 4); -x_37 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 5); -x_38 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 6); -x_39 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 7); -x_40 = lean_ctor_get(x_6, 7); -x_41 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 8); -x_42 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 9); -lean_inc(x_40); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_6); -x_43 = lean_alloc_ctor(0, 9, 10); -lean_ctor_set(x_43, 0, x_25); -lean_ctor_set(x_43, 1, x_26); -lean_ctor_set(x_43, 2, x_27); -lean_ctor_set(x_43, 3, x_31); -lean_ctor_set(x_43, 4, x_32); -lean_ctor_set(x_43, 5, x_33); -lean_ctor_set(x_43, 6, x_34); -lean_ctor_set(x_43, 7, x_40); -lean_ctor_set(x_43, 8, x_5); -lean_ctor_set_uint8(x_43, sizeof(void*)*9, x_28); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 1, x_29); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 2, x_30); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 3, x_35); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 4, x_36); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 5, x_37); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 6, x_38); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 7, x_39); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 8, x_41); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 9, x_42); -x_44 = lean_box(0); -x_45 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__3(x_15, x_20, x_43, x_7, x_8, x_9, x_44, x_11, x_12, x_13); -return x_45; -} -} -else -{ -lean_object* x_46; uint8_t x_47; -lean_dec(x_11); -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_46 = lean_ctor_get(x_10, 0); -lean_inc(x_46); -lean_dec(x_10); -x_47 = !lean_is_exclusive(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; uint64_t x_53; lean_object* x_54; uint8_t x_55; -x_48 = lean_ctor_get(x_46, 1); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_st_ref_set(x_12, x_49, x_13); -lean_dec(x_12); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_52 = lean_ctor_get(x_48, 1); -lean_inc(x_52); -x_53 = lean_uint64_of_nat(x_52); -lean_dec(x_52); -x_54 = lean_io_add_heartbeats(x_53, x_51); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) -{ -lean_object* x_56; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -lean_ctor_set(x_54, 0, x_46); -return x_54; -} -else -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_46); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint64_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -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_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_st_ref_set(x_12, x_61, x_13); -lean_dec(x_12); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_ctor_get(x_60, 1); -lean_inc(x_64); -x_65 = lean_uint64_of_nat(x_64); -lean_dec(x_64); -x_66 = lean_io_add_heartbeats(x_65, x_63); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_68 = x_66; -} else { - lean_dec_ref(x_66); - x_68 = lean_box(0); -} -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_59); -lean_ctor_set(x_69, 1, x_60); -if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 0); -} else { - x_70 = x_68; -} -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_67); -return x_70; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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: -{ -if (lean_obj_tag(x_10) == 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; -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_ctor_get(x_14, 6); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get(x_3, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_3, 2); -lean_inc(x_17); -x_18 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__2), 10, 3); -lean_closure_set(x_18, 0, x_4); -lean_closure_set(x_18, 1, x_3); -lean_closure_set(x_18, 2, x_2); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); -lean_closure_set(x_19, 0, x_17); -lean_closure_set(x_19, 1, x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); -lean_closure_set(x_20, 0, x_16); -lean_closure_set(x_20, 1, x_19); -x_21 = !lean_is_exclusive(x_6); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_6, 8); -lean_dec(x_22); -lean_ctor_set(x_6, 8, x_5); -x_23 = lean_box(0); -x_24 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__3(x_15, x_20, x_6, x_7, x_8, x_9, x_23, x_11, x_12, x_13); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t 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; uint8_t x_38; uint8_t x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_25 = lean_ctor_get(x_6, 0); -x_26 = lean_ctor_get(x_6, 1); -x_27 = lean_ctor_get(x_6, 2); -x_28 = lean_ctor_get_uint8(x_6, sizeof(void*)*9); -x_29 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 1); -x_30 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 2); -x_31 = lean_ctor_get(x_6, 3); -x_32 = lean_ctor_get(x_6, 4); -x_33 = lean_ctor_get(x_6, 5); -x_34 = lean_ctor_get(x_6, 6); -x_35 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 3); -x_36 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 4); -x_37 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 5); -x_38 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 6); -x_39 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 7); -x_40 = lean_ctor_get(x_6, 7); -x_41 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 8); -x_42 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 9); -lean_inc(x_40); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_6); -x_43 = lean_alloc_ctor(0, 9, 10); -lean_ctor_set(x_43, 0, x_25); -lean_ctor_set(x_43, 1, x_26); -lean_ctor_set(x_43, 2, x_27); -lean_ctor_set(x_43, 3, x_31); -lean_ctor_set(x_43, 4, x_32); -lean_ctor_set(x_43, 5, x_33); -lean_ctor_set(x_43, 6, x_34); -lean_ctor_set(x_43, 7, x_40); -lean_ctor_set(x_43, 8, x_5); -lean_ctor_set_uint8(x_43, sizeof(void*)*9, x_28); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 1, x_29); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 2, x_30); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 3, x_35); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 4, x_36); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 5, x_37); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 6, x_38); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 7, x_39); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 8, x_41); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 9, x_42); -x_44 = lean_box(0); -x_45 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__3(x_15, x_20, x_43, x_7, x_8, x_9, x_44, x_11, x_12, x_13); -return x_45; -} -} -else -{ -lean_object* x_46; uint8_t x_47; -lean_dec(x_11); -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_46 = lean_ctor_get(x_10, 0); -lean_inc(x_46); -lean_dec(x_10); -x_47 = !lean_is_exclusive(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; uint64_t x_53; lean_object* x_54; uint8_t x_55; -x_48 = lean_ctor_get(x_46, 1); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_st_ref_set(x_12, x_49, x_13); -lean_dec(x_12); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_52 = lean_ctor_get(x_48, 1); -lean_inc(x_52); -x_53 = lean_uint64_of_nat(x_52); -lean_dec(x_52); -x_54 = lean_io_add_heartbeats(x_53, x_51); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) -{ -lean_object* x_56; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -lean_ctor_set(x_54, 0, x_46); -return x_54; -} -else -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_46); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint64_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -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_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_st_ref_set(x_12, x_61, x_13); -lean_dec(x_12); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_ctor_get(x_60, 1); -lean_inc(x_64); -x_65 = lean_uint64_of_nat(x_64); -lean_dec(x_64); -x_66 = lean_io_add_heartbeats(x_65, x_63); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_68 = x_66; -} else { - lean_dec_ref(x_66); - x_68 = lean_box(0); -} -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_59); -lean_ctor_set(x_69, 1, x_60); -if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 0); -} else { - x_70 = x_68; -} -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_67); -return x_70; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, 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; lean_object* x_16; -x_15 = lean_box(0); -lean_inc(x_11); -x_16 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_11, x_15, x_12, x_13, x_14); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t 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; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_18 = lean_ctor_get(x_5, 6); lean_inc(x_18); -lean_dec(x_16); -x_19 = !lean_is_exclusive(x_17); -if (x_19 == 0) +x_19 = lean_ctor_get(x_6, 2); +lean_inc(x_19); +lean_inc(x_7); +x_20 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___boxed), 15, 8); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_6); +lean_closure_set(x_20, 2, x_4); +lean_closure_set(x_20, 3, x_5); +lean_closure_set(x_20, 4, x_7); +lean_closure_set(x_20, 5, x_3); +lean_closure_set(x_20, 6, x_1); +lean_closure_set(x_20, 7, x_2); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); +lean_closure_set(x_21, 0, x_19); +lean_closure_set(x_21, 1, x_20); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); +lean_closure_set(x_22, 0, x_7); +lean_closure_set(x_22, 1, x_21); +x_23 = !lean_is_exclusive(x_10); +if (x_23 == 0) { -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_ctor_get(x_17, 1); -x_21 = lean_st_ref_get(x_11, x_18); -lean_dec(x_11); -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_20); -lean_ctor_set(x_24, 1, x_23); -lean_ctor_set(x_17, 1, x_24); -lean_ctor_set(x_21, 0, x_17); -return x_21; +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_10, 8); +lean_dec(x_24); +lean_ctor_set(x_10, 8, x_9); +x_25 = lean_box(0); +x_26 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__6(x_18, x_22, x_10, x_11, x_12, x_13, x_25, x_15, x_16, x_17); +return x_26; } 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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_20); -lean_ctor_set(x_27, 1, x_25); -lean_ctor_set(x_17, 1, x_27); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_17); -lean_ctor_set(x_28, 1, x_26); -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; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_29 = lean_ctor_get(x_17, 0); -x_30 = lean_ctor_get(x_17, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_17); -x_31 = lean_st_ref_get(x_11, x_18); -lean_dec(x_11); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_27 = lean_ctor_get(x_10, 0); +x_28 = lean_ctor_get(x_10, 1); +x_29 = lean_ctor_get(x_10, 2); +x_30 = lean_ctor_get_uint8(x_10, sizeof(void*)*9); +x_31 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 1); +x_32 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 2); +x_33 = lean_ctor_get(x_10, 3); +x_34 = lean_ctor_get(x_10, 4); +x_35 = lean_ctor_get(x_10, 5); +x_36 = lean_ctor_get(x_10, 6); +x_37 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 3); +x_38 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 4); +x_39 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 5); +x_40 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 6); +x_41 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 7); +x_42 = lean_ctor_get(x_10, 7); +x_43 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 8); +x_44 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 9); +lean_inc(x_42); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); 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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_30); -lean_ctor_set(x_35, 1, x_32); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_29); -lean_ctor_set(x_36, 1, x_35); -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_38; -lean_dec(x_11); -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; -x_42 = !lean_is_exclusive(x_1); -if (x_42 == 0) -{ -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_1, 0); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_43, 1); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -lean_dec(x_45); -lean_ctor_set(x_43, 1, x_46); -lean_inc(x_11); -x_47 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_11, x_1, x_12, x_13, x_14); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; uint8_t 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_is_exclusive(x_48); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = lean_ctor_get(x_48, 1); -x_52 = lean_st_ref_get(x_11, x_49); -lean_dec(x_11); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_51); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_48, 1, x_55); -lean_ctor_set(x_52, 0, x_48); -return x_52; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_52, 0); -x_57 = lean_ctor_get(x_52, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_52); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_51); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_48, 1, x_58); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_48); -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; lean_object* x_68; -x_60 = lean_ctor_get(x_48, 0); -x_61 = lean_ctor_get(x_48, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_48); -x_62 = lean_st_ref_get(x_11, x_49); -lean_dec(x_11); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_65 = x_62; -} else { - lean_dec_ref(x_62); - x_65 = lean_box(0); -} -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_61); -lean_ctor_set(x_66, 1, x_63); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_60); -lean_ctor_set(x_67, 1, x_66); -if (lean_is_scalar(x_65)) { - x_68 = lean_alloc_ctor(0, 2, 0); -} else { - x_68 = x_65; -} -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_64); -return x_68; -} -} -else -{ -uint8_t x_69; -lean_dec(x_11); -x_69 = !lean_is_exclusive(x_47); -if (x_69 == 0) -{ +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_10); +x_45 = lean_alloc_ctor(0, 9, 10); +lean_ctor_set(x_45, 0, x_27); +lean_ctor_set(x_45, 1, x_28); +lean_ctor_set(x_45, 2, x_29); +lean_ctor_set(x_45, 3, x_33); +lean_ctor_set(x_45, 4, x_34); +lean_ctor_set(x_45, 5, x_35); +lean_ctor_set(x_45, 6, x_36); +lean_ctor_set(x_45, 7, x_42); +lean_ctor_set(x_45, 8, x_9); +lean_ctor_set_uint8(x_45, sizeof(void*)*9, x_30); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 1, x_31); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 2, x_32); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 3, x_37); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 4, x_38); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 5, x_39); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 6, x_40); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 7, x_41); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 8, x_43); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 9, x_44); +x_46 = lean_box(0); +x_47 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__6(x_18, x_22, x_45, x_11, x_12, x_13, x_46, x_15, x_16, x_17); return x_47; } +} else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_47, 0); -x_71 = lean_ctor_get(x_47, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_47); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); +lean_object* x_48; uint8_t x_49; +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_48 = lean_ctor_get(x_14, 0); +lean_inc(x_48); +lean_dec(x_14); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint64_t x_55; lean_object* x_56; uint8_t x_57; +x_50 = lean_ctor_get(x_48, 1); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_st_ref_set(x_16, x_51, x_17); +lean_dec(x_16); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_50, 1); +lean_inc(x_54); +x_55 = lean_uint64_of_nat(x_54); +lean_dec(x_54); +x_56 = lean_io_add_heartbeats(x_55, x_53); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_48); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_48); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +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; uint64_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_st_ref_set(x_16, x_63, x_17); +lean_dec(x_16); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_ctor_get(x_62, 1); +lean_inc(x_66); +x_67 = lean_uint64_of_nat(x_66); +lean_dec(x_66); +x_68 = lean_io_add_heartbeats(x_67, x_65); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_70 = x_68; +} else { + lean_dec_ref(x_68); + x_70 = lean_box(0); +} +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_61); +lean_ctor_set(x_71, 1, x_62); +if (lean_is_scalar(x_70)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_70; +} +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_69); return x_72; } } } -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -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_ctor_get(x_74, 0); -lean_inc(x_75); -lean_dec(x_74); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_1, 0, x_76); -lean_inc(x_11); -x_77 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_11, x_1, x_12, x_13, x_14); -if (lean_obj_tag(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; lean_object* x_88; lean_object* x_89; -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 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_82 = x_78; -} else { - lean_dec_ref(x_78); - x_82 = lean_box(0); } -x_83 = lean_st_ref_get(x_11, x_79); -lean_dec(x_11); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_86 = x_83; -} else { - lean_dec_ref(x_83); - x_86 = lean_box(0); -} -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_81); -lean_ctor_set(x_87, 1, x_84); -if (lean_is_scalar(x_82)) { - x_88 = lean_alloc_ctor(0, 2, 0); -} else { - x_88 = x_82; -} -lean_ctor_set(x_88, 0, x_80); -lean_ctor_set(x_88, 1, x_87); -if (lean_is_scalar(x_86)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_86; -} -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_85); -return x_89; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_11); -x_90 = lean_ctor_get(x_77, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_77, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_92 = x_77; -} else { - lean_dec_ref(x_77); - x_92 = lean_box(0); -} -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); -} else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); -return x_93; -} -} -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_94 = lean_ctor_get(x_1, 0); -lean_inc(x_94); -lean_dec(x_1); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_94)) { - lean_ctor_release(x_94, 0); - lean_ctor_release(x_94, 1); - x_97 = x_94; -} else { - lean_dec_ref(x_94); - x_97 = lean_box(0); -} -x_98 = lean_ctor_get(x_96, 0); -lean_inc(x_98); -lean_dec(x_96); -if (lean_is_scalar(x_97)) { - x_99 = lean_alloc_ctor(0, 2, 0); -} else { - x_99 = x_97; -} -lean_ctor_set(x_99, 0, x_95); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_100, 0, x_99); -lean_inc(x_11); -x_101 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__6(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_11, x_100, x_12, x_13, x_14); -if (lean_obj_tag(x_101) == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -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 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_106 = x_102; -} else { - lean_dec_ref(x_102); - x_106 = lean_box(0); -} -x_107 = lean_st_ref_get(x_11, x_103); -lean_dec(x_11); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_110 = x_107; -} else { - lean_dec_ref(x_107); - x_110 = lean_box(0); -} -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_105); -lean_ctor_set(x_111, 1, x_108); -if (lean_is_scalar(x_106)) { - x_112 = lean_alloc_ctor(0, 2, 0); -} else { - x_112 = x_106; -} -lean_ctor_set(x_112, 0, x_104); -lean_ctor_set(x_112, 1, x_111); -if (lean_is_scalar(x_110)) { - x_113 = lean_alloc_ctor(0, 2, 0); -} else { - x_113 = x_110; -} -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_109); -return x_113; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_dec(x_11); -x_114 = lean_ctor_get(x_101, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_101, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_116 = x_101; -} else { - lean_dec_ref(x_101); - 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; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_8) == 0) +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_box(0); -x_15 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__4___lambda__1(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14, x_9, x_10, x_11, x_12, x_13); -return x_15; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_18 = lean_ctor_get(x_5, 6); +lean_inc(x_18); +x_19 = lean_ctor_get(x_6, 2); +lean_inc(x_19); +lean_inc(x_7); +x_20 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___boxed), 15, 8); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_6); +lean_closure_set(x_20, 2, x_4); +lean_closure_set(x_20, 3, x_5); +lean_closure_set(x_20, 4, x_7); +lean_closure_set(x_20, 5, x_3); +lean_closure_set(x_20, 6, x_1); +lean_closure_set(x_20, 7, x_2); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); +lean_closure_set(x_21, 0, x_19); +lean_closure_set(x_21, 1, x_20); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); +lean_closure_set(x_22, 0, x_7); +lean_closure_set(x_22, 1, x_21); +x_23 = !lean_is_exclusive(x_10); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_10, 8); +lean_dec(x_24); +lean_ctor_set(x_10, 8, x_9); +x_25 = lean_box(0); +x_26 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__6(x_18, x_22, x_10, x_11, x_12, x_13, x_25, x_15, x_16, x_17); +return x_26; } 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_8, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_27 = lean_ctor_get(x_10, 0); +x_28 = lean_ctor_get(x_10, 1); +x_29 = lean_ctor_get(x_10, 2); +x_30 = lean_ctor_get_uint8(x_10, sizeof(void*)*9); +x_31 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 1); +x_32 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 2); +x_33 = lean_ctor_get(x_10, 3); +x_34 = lean_ctor_get(x_10, 4); +x_35 = lean_ctor_get(x_10, 5); +x_36 = lean_ctor_get(x_10, 6); +x_37 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 3); +x_38 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 4); +x_39 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 5); +x_40 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 6); +x_41 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 7); +x_42 = lean_ctor_get(x_10, 7); +x_43 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 8); +x_44 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 9); +lean_inc(x_42); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_10); +x_45 = lean_alloc_ctor(0, 9, 10); +lean_ctor_set(x_45, 0, x_27); +lean_ctor_set(x_45, 1, x_28); +lean_ctor_set(x_45, 2, x_29); +lean_ctor_set(x_45, 3, x_33); +lean_ctor_set(x_45, 4, x_34); +lean_ctor_set(x_45, 5, x_35); +lean_ctor_set(x_45, 6, x_36); +lean_ctor_set(x_45, 7, x_42); +lean_ctor_set(x_45, 8, x_9); +lean_ctor_set_uint8(x_45, sizeof(void*)*9, x_30); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 1, x_31); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 2, x_32); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 3, x_37); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 4, x_38); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 5, x_39); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 6, x_40); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 7, x_41); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 8, x_43); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 9, x_44); +x_46 = lean_box(0); +x_47 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__6(x_18, x_22, x_45, x_11, x_12, x_13, x_46, x_15, x_16, x_17); +return x_47; +} +} +else +{ +lean_object* x_48; uint8_t x_49; +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_48 = lean_ctor_get(x_14, 0); +lean_inc(x_48); +lean_dec(x_14); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint64_t x_55; lean_object* x_56; uint8_t x_57; +x_50 = lean_ctor_get(x_48, 1); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_st_ref_set(x_16, x_51, 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_st_ref_set(x_10, x_18, x_13); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_50, 1); +lean_inc(x_54); +x_55 = lean_uint64_of_nat(x_54); +lean_dec(x_54); +x_56 = lean_io_add_heartbeats(x_55, x_53); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_48); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_48); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +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; uint64_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_st_ref_set(x_16, x_63, x_17); +lean_dec(x_16); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_ctor_get(x_62, 1); +lean_inc(x_66); +x_67 = lean_uint64_of_nat(x_66); +lean_dec(x_66); +x_68 = lean_io_add_heartbeats(x_67, x_65); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_70 = x_68; +} else { + lean_dec_ref(x_68); + x_70 = lean_box(0); +} +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_61); +lean_ctor_set(x_71, 1, x_62); +if (lean_is_scalar(x_70)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_70; +} +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_69); +return x_72; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9___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, lean_object* x_17, lean_object* x_18) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +lean_inc(x_15); +x_20 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14, x_15, x_19, x_16, x_17, x_18); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__4___lambda__1(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10, x_11, x_12, x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); lean_dec(x_20); -return x_22; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) { -if (lean_obj_tag(x_10) == 0) +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_21, 1); +x_25 = lean_st_ref_get(x_15, x_22); +lean_dec(x_15); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 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; -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_ctor_get(x_14, 6); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get(x_3, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_3, 2); -lean_inc(x_17); -x_18 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__2), 10, 3); -lean_closure_set(x_18, 0, x_4); -lean_closure_set(x_18, 1, x_3); -lean_closure_set(x_18, 2, x_2); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); -lean_closure_set(x_19, 0, x_17); -lean_closure_set(x_19, 1, x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); -lean_closure_set(x_20, 0, x_16); -lean_closure_set(x_20, 1, x_19); -x_21 = !lean_is_exclusive(x_6); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_6, 8); -lean_dec(x_22); -lean_ctor_set(x_6, 8, x_5); -x_23 = lean_box(0); -x_24 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__3(x_15, x_20, x_6, x_7, x_8, x_9, x_23, x_11, x_12, x_13); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t 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; uint8_t x_38; uint8_t x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_25 = lean_ctor_get(x_6, 0); -x_26 = lean_ctor_get(x_6, 1); -x_27 = lean_ctor_get(x_6, 2); -x_28 = lean_ctor_get_uint8(x_6, sizeof(void*)*9); -x_29 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 1); -x_30 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 2); -x_31 = lean_ctor_get(x_6, 3); -x_32 = lean_ctor_get(x_6, 4); -x_33 = lean_ctor_get(x_6, 5); -x_34 = lean_ctor_get(x_6, 6); -x_35 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 3); -x_36 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 4); -x_37 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 5); -x_38 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 6); -x_39 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 7); -x_40 = lean_ctor_get(x_6, 7); -x_41 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 8); -x_42 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 9); -lean_inc(x_40); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_6); -x_43 = lean_alloc_ctor(0, 9, 10); -lean_ctor_set(x_43, 0, x_25); -lean_ctor_set(x_43, 1, x_26); -lean_ctor_set(x_43, 2, x_27); -lean_ctor_set(x_43, 3, x_31); -lean_ctor_set(x_43, 4, x_32); -lean_ctor_set(x_43, 5, x_33); -lean_ctor_set(x_43, 6, x_34); -lean_ctor_set(x_43, 7, x_40); -lean_ctor_set(x_43, 8, x_5); -lean_ctor_set_uint8(x_43, sizeof(void*)*9, x_28); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 1, x_29); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 2, x_30); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 3, x_35); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 4, x_36); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 5, x_37); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 6, x_38); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 7, x_39); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 8, x_41); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 9, x_42); -x_44 = lean_box(0); -x_45 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__3(x_15, x_20, x_43, x_7, x_8, x_9, x_44, x_11, x_12, x_13); -return x_45; -} -} -else -{ -lean_object* x_46; uint8_t x_47; -lean_dec(x_11); -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_46 = lean_ctor_get(x_10, 0); -lean_inc(x_46); -lean_dec(x_10); -x_47 = !lean_is_exclusive(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; uint64_t x_53; lean_object* x_54; uint8_t x_55; -x_48 = lean_ctor_get(x_46, 1); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_st_ref_set(x_12, x_49, x_13); -lean_dec(x_12); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_52 = lean_ctor_get(x_48, 1); -lean_inc(x_52); -x_53 = lean_uint64_of_nat(x_52); -lean_dec(x_52); -x_54 = lean_io_add_heartbeats(x_53, x_51); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) -{ -lean_object* x_56; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -lean_ctor_set(x_54, 0, x_46); -return x_54; -} -else -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_46); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint64_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -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_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_st_ref_set(x_12, x_61, x_13); -lean_dec(x_12); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_ctor_get(x_60, 1); -lean_inc(x_64); -x_65 = lean_uint64_of_nat(x_64); -lean_dec(x_64); -x_66 = lean_io_add_heartbeats(x_65, x_63); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_68 = x_66; -} else { - lean_dec_ref(x_66); - x_68 = lean_box(0); -} -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_59); -lean_ctor_set(x_69, 1, x_60); -if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 0); -} else { - x_70 = x_68; -} -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_67); -return x_70; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, 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: -{ -if (lean_obj_tag(x_10) == 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; -x_14 = lean_ctor_get(x_1, 0); -lean_inc(x_14); -lean_dec(x_1); -x_15 = lean_ctor_get(x_14, 6); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_ctor_get(x_3, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_3, 2); -lean_inc(x_17); -x_18 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__2), 10, 3); -lean_closure_set(x_18, 0, x_4); -lean_closure_set(x_18, 1, x_3); -lean_closure_set(x_18, 2, x_2); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); -lean_closure_set(x_19, 0, x_17); -lean_closure_set(x_19, 1, x_18); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); -lean_closure_set(x_20, 0, x_16); -lean_closure_set(x_20, 1, x_19); -x_21 = !lean_is_exclusive(x_6); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_6, 8); -lean_dec(x_22); -lean_ctor_set(x_6, 8, x_5); -x_23 = lean_box(0); -x_24 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__3(x_15, x_20, x_6, x_7, x_8, x_9, x_23, x_11, x_12, x_13); -return x_24; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t 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; uint8_t x_38; uint8_t x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_25 = lean_ctor_get(x_6, 0); -x_26 = lean_ctor_get(x_6, 1); -x_27 = lean_ctor_get(x_6, 2); -x_28 = lean_ctor_get_uint8(x_6, sizeof(void*)*9); -x_29 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 1); -x_30 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 2); -x_31 = lean_ctor_get(x_6, 3); -x_32 = lean_ctor_get(x_6, 4); -x_33 = lean_ctor_get(x_6, 5); -x_34 = lean_ctor_get(x_6, 6); -x_35 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 3); -x_36 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 4); -x_37 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 5); -x_38 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 6); -x_39 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 7); -x_40 = lean_ctor_get(x_6, 7); -x_41 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 8); -x_42 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 9); -lean_inc(x_40); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_6); -x_43 = lean_alloc_ctor(0, 9, 10); -lean_ctor_set(x_43, 0, x_25); -lean_ctor_set(x_43, 1, x_26); -lean_ctor_set(x_43, 2, x_27); -lean_ctor_set(x_43, 3, x_31); -lean_ctor_set(x_43, 4, x_32); -lean_ctor_set(x_43, 5, x_33); -lean_ctor_set(x_43, 6, x_34); -lean_ctor_set(x_43, 7, x_40); -lean_ctor_set(x_43, 8, x_5); -lean_ctor_set_uint8(x_43, sizeof(void*)*9, x_28); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 1, x_29); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 2, x_30); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 3, x_35); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 4, x_36); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 5, x_37); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 6, x_38); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 7, x_39); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 8, x_41); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 9, x_42); -x_44 = lean_box(0); -x_45 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__3(x_15, x_20, x_43, x_7, x_8, x_9, x_44, x_11, x_12, x_13); -return x_45; -} -} -else -{ -lean_object* x_46; uint8_t x_47; -lean_dec(x_11); -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_46 = lean_ctor_get(x_10, 0); -lean_inc(x_46); -lean_dec(x_10); -x_47 = !lean_is_exclusive(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; uint64_t x_53; lean_object* x_54; uint8_t x_55; -x_48 = lean_ctor_get(x_46, 1); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_st_ref_set(x_12, x_49, x_13); -lean_dec(x_12); -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_52 = lean_ctor_get(x_48, 1); -lean_inc(x_52); -x_53 = lean_uint64_of_nat(x_52); -lean_dec(x_52); -x_54 = lean_io_add_heartbeats(x_53, x_51); -x_55 = !lean_is_exclusive(x_54); -if (x_55 == 0) -{ -lean_object* x_56; -x_56 = lean_ctor_get(x_54, 0); -lean_dec(x_56); -lean_ctor_set(x_54, 0, x_46); -return x_54; -} -else -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_46); -lean_ctor_set(x_58, 1, x_57); -return x_58; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint64_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -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_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_st_ref_set(x_12, x_61, x_13); -lean_dec(x_12); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_ctor_get(x_60, 1); -lean_inc(x_64); -x_65 = lean_uint64_of_nat(x_64); -lean_dec(x_64); -x_66 = lean_io_add_heartbeats(x_65, x_63); -x_67 = lean_ctor_get(x_66, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - lean_ctor_release(x_66, 1); - x_68 = x_66; -} else { - lean_dec_ref(x_66); - x_68 = lean_box(0); -} -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_59); -lean_ctor_set(x_69, 1, x_60); -if (lean_is_scalar(x_68)) { - x_70 = lean_alloc_ctor(0, 2, 0); -} else { - x_70 = x_68; -} -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_67); -return x_70; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7___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: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_box(0); -lean_inc(x_11); -x_16 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_11, x_15, x_12, x_13, x_14); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -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 = !lean_is_exclusive(x_17); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_ctor_get(x_17, 1); -x_21 = lean_st_ref_get(x_11, x_18); -lean_dec(x_11); -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_20); -lean_ctor_set(x_24, 1, x_23); -lean_ctor_set(x_17, 1, x_24); -lean_ctor_set(x_21, 0, x_17); -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_20); -lean_ctor_set(x_27, 1, x_25); -lean_ctor_set(x_17, 1, x_27); +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_25, 0); x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_17); -lean_ctor_set(x_28, 1, x_26); -return x_28; -} +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_21, 1, x_28); +lean_ctor_set(x_25, 0, x_21); +return x_25; } 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; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_29 = lean_ctor_get(x_17, 0); -x_30 = lean_ctor_get(x_17, 1); +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_17); -x_31 = lean_st_ref_get(x_11, x_18); -lean_dec(x_11); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); +lean_dec(x_25); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_24); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_21, 1, x_31); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_21); +lean_ctor_set(x_32, 1, x_30); +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; +x_33 = lean_ctor_get(x_21, 0); +x_34 = lean_ctor_get(x_21, 1); +lean_inc(x_34); 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_dec(x_21); +x_35 = lean_st_ref_get(x_15, x_22); +lean_dec(x_15); +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; } else { - lean_dec_ref(x_31); - x_34 = lean_box(0); + lean_dec_ref(x_35); + x_38 = lean_box(0); } -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_30); -lean_ctor_set(x_35, 1, x_32); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_29); -lean_ctor_set(x_36, 1, x_35); -if (lean_is_scalar(x_34)) { - x_37 = lean_alloc_ctor(0, 2, 0); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_34); +lean_ctor_set(x_39, 1, x_36); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_33); +lean_ctor_set(x_40, 1, x_39); +if (lean_is_scalar(x_38)) { + x_41 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_34; + x_41 = x_38; } -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_33); -return x_37; -} -} -else -{ -uint8_t x_38; -lean_dec(x_11); -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); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_37); return x_41; } } -} else { uint8_t x_42; -x_42 = !lean_is_exclusive(x_1); +lean_dec(x_15); +x_42 = !lean_is_exclusive(x_20); if (x_42 == 0) { -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_1, 0); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) +return x_20; +} +else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_43, 1); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -lean_dec(x_45); -lean_ctor_set(x_43, 1, x_46); -lean_inc(x_11); -x_47 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_11, x_1, x_12, x_13, x_14); -if (lean_obj_tag(x_47) == 0) +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_20, 0); +x_44 = lean_ctor_get(x_20, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_20); +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_48; lean_object* x_49; uint8_t x_50; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); +uint8_t x_46; +x_46 = !lean_is_exclusive(x_1); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_1, 0); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = !lean_is_exclusive(x_48); -if (x_50 == 0) +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +lean_dec(x_49); +lean_ctor_set(x_47, 1, x_50); +lean_inc(x_15); +x_51 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14, x_15, x_1, x_16, x_17, x_18); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = lean_ctor_get(x_48, 1); -x_52 = lean_st_ref_get(x_11, x_49); -lean_dec(x_11); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) +lean_object* x_52; lean_object* x_53; uint8_t x_54; +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_is_exclusive(x_52); +if (x_54 == 0) { -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_51); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_48, 1, x_55); -lean_ctor_set(x_52, 0, x_48); -return x_52; -} -else +lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_55 = lean_ctor_get(x_52, 1); +x_56 = lean_st_ref_get(x_15, x_53); +lean_dec(x_15); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) { -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_52, 0); -x_57 = lean_ctor_get(x_52, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_52); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_51); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_48, 1, x_58); +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_56, 0); x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_48); -lean_ctor_set(x_59, 1, x_57); -return x_59; -} +lean_ctor_set(x_59, 0, x_55); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_52, 1, x_59); +lean_ctor_set(x_56, 0, x_52); +return x_56; } 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; -x_60 = lean_ctor_get(x_48, 0); -x_61 = lean_ctor_get(x_48, 1); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_56, 0); +x_61 = lean_ctor_get(x_56, 1); lean_inc(x_61); lean_inc(x_60); -lean_dec(x_48); -x_62 = lean_st_ref_get(x_11, x_49); -lean_dec(x_11); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); +lean_dec(x_56); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_55); +lean_ctor_set(x_62, 1, x_60); +lean_ctor_set(x_52, 1, x_62); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_52); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +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; +x_64 = lean_ctor_get(x_52, 0); +x_65 = lean_ctor_get(x_52, 1); +lean_inc(x_65); lean_inc(x_64); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_65 = x_62; +lean_dec(x_52); +x_66 = lean_st_ref_get(x_15, x_53); +lean_dec(x_15); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_69 = x_66; } else { - lean_dec_ref(x_62); - x_65 = lean_box(0); + lean_dec_ref(x_66); + x_69 = lean_box(0); } -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_61); -lean_ctor_set(x_66, 1, x_63); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_60); -lean_ctor_set(x_67, 1, x_66); -if (lean_is_scalar(x_65)) { - x_68 = lean_alloc_ctor(0, 2, 0); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_65); +lean_ctor_set(x_70, 1, x_67); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_64); +lean_ctor_set(x_71, 1, x_70); +if (lean_is_scalar(x_69)) { + x_72 = lean_alloc_ctor(0, 2, 0); } else { - x_68 = x_65; + x_72 = x_69; } -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_64); -return x_68; -} -} -else -{ -uint8_t x_69; -lean_dec(x_11); -x_69 = !lean_is_exclusive(x_47); -if (x_69 == 0) -{ -return x_47; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_47, 0); -x_71 = lean_ctor_get(x_47, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_47); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_68); return x_72; } } +else +{ +uint8_t x_73; +lean_dec(x_15); +x_73 = !lean_is_exclusive(x_51); +if (x_73 == 0) +{ +return x_51; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -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_ctor_get(x_74, 0); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_51, 0); +x_75 = lean_ctor_get(x_51, 1); lean_inc(x_75); -lean_dec(x_74); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_73); +lean_inc(x_74); +lean_dec(x_51); +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_1, 0, x_76); -lean_inc(x_11); -x_77 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_11, x_1, x_12, x_13, x_14); -if (lean_obj_tag(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; lean_object* x_88; lean_object* x_89; -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 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_82 = x_78; -} else { - lean_dec_ref(x_78); - x_82 = lean_box(0); +return x_76; } -x_83 = lean_st_ref_get(x_11, x_79); -lean_dec(x_11); -x_84 = lean_ctor_get(x_83, 0); +} +} +else +{ +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_47, 0); +x_78 = lean_ctor_get(x_47, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_47); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_1, 0, x_80); +lean_inc(x_15); +x_81 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14, x_15, x_1, x_16, x_17, x_18); +if (lean_obj_tag(x_81) == 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; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +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_84 = lean_ctor_get(x_82, 0); lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); +x_85 = lean_ctor_get(x_82, 1); lean_inc(x_85); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_86 = x_83; +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_86 = x_82; } else { - lean_dec_ref(x_83); + lean_dec_ref(x_82); x_86 = lean_box(0); } -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_81); -lean_ctor_set(x_87, 1, x_84); -if (lean_is_scalar(x_82)) { - x_88 = lean_alloc_ctor(0, 2, 0); +x_87 = lean_st_ref_get(x_15, x_83); +lean_dec(x_15); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_90 = x_87; } else { - x_88 = x_82; + lean_dec_ref(x_87); + x_90 = lean_box(0); } -lean_ctor_set(x_88, 0, x_80); -lean_ctor_set(x_88, 1, x_87); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_85); +lean_ctor_set(x_91, 1, x_88); if (lean_is_scalar(x_86)) { - x_89 = lean_alloc_ctor(0, 2, 0); + x_92 = lean_alloc_ctor(0, 2, 0); } else { - x_89 = x_86; + x_92 = x_86; } -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_85); -return x_89; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_11); -x_90 = lean_ctor_get(x_77, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_77, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_92 = x_77; +lean_ctor_set(x_92, 0, x_84); +lean_ctor_set(x_92, 1, x_91); +if (lean_is_scalar(x_90)) { + x_93 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_77); - x_92 = lean_box(0); + x_93 = x_90; } -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); -} else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_89); return x_93; } +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_15); +x_94 = lean_ctor_get(x_81, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_81, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_96 = x_81; +} else { + lean_dec_ref(x_81); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; +} +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} } } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_94 = lean_ctor_get(x_1, 0); -lean_inc(x_94); -lean_dec(x_1); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_94)) { - lean_ctor_release(x_94, 0); - lean_ctor_release(x_94, 1); - x_97 = x_94; -} else { - lean_dec_ref(x_94); - x_97 = lean_box(0); -} -x_98 = lean_ctor_get(x_96, 0); +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_98 = lean_ctor_get(x_1, 0); lean_inc(x_98); -lean_dec(x_96); -if (lean_is_scalar(x_97)) { - x_99 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_1); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_101 = x_98; } else { - x_99 = x_97; + lean_dec_ref(x_98); + x_101 = lean_box(0); } -lean_ctor_set(x_99, 0, x_95); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_100, 0, x_99); -lean_inc(x_11); -x_101 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_11, x_100, x_12, x_13, x_14); -if (lean_obj_tag(x_101) == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_102 = lean_ctor_get(x_101, 0); +x_102 = lean_ctor_get(x_100, 0); lean_inc(x_102); -x_103 = lean_ctor_get(x_101, 1); -lean_inc(x_103); -lean_dec(x_101); -x_104 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_106 = x_102; +lean_dec(x_100); +if (lean_is_scalar(x_101)) { + x_103 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_102); - x_106 = lean_box(0); + x_103 = x_101; } -x_107 = lean_st_ref_get(x_11, x_103); -lean_dec(x_11); -x_108 = lean_ctor_get(x_107, 0); +lean_ctor_set(x_103, 0, x_99); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_103); +lean_inc(x_15); +x_105 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__11(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14, x_15, x_104, x_16, x_17, x_18); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +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_ctor_get(x_106, 0); lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); +x_109 = lean_ctor_get(x_106, 1); lean_inc(x_109); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_110 = x_107; +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_110 = x_106; } else { - lean_dec_ref(x_107); + lean_dec_ref(x_106); x_110 = lean_box(0); } -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_105); -lean_ctor_set(x_111, 1, x_108); -if (lean_is_scalar(x_106)) { - x_112 = lean_alloc_ctor(0, 2, 0); +x_111 = lean_st_ref_get(x_15, x_107); +lean_dec(x_15); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_114 = x_111; } else { - x_112 = x_106; + lean_dec_ref(x_111); + x_114 = lean_box(0); } -lean_ctor_set(x_112, 0, x_104); -lean_ctor_set(x_112, 1, x_111); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_109); +lean_ctor_set(x_115, 1, x_112); if (lean_is_scalar(x_110)) { - x_113 = lean_alloc_ctor(0, 2, 0); + x_116 = lean_alloc_ctor(0, 2, 0); } else { - x_113 = x_110; + x_116 = x_110; } -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_109); -return x_113; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_dec(x_11); -x_114 = lean_ctor_get(x_101, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_101, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_116 = x_101; +lean_ctor_set(x_116, 0, x_108); +lean_ctor_set(x_116, 1, x_115); +if (lean_is_scalar(x_114)) { + x_117 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_101); - x_116 = lean_box(0); + x_117 = x_114; } -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); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_113); return x_117; } +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec(x_15); +x_118 = lean_ctor_get(x_105, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_105, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_120 = x_105; +} else { + lean_dec_ref(x_105); + x_120 = lean_box(0); +} +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(1, 2, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 1, x_119); +return x_121; } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_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_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_8) == 0) +if (lean_obj_tag(x_12) == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_box(0); -x_15 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7___lambda__1(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14, x_9, x_10, x_11, x_12, x_13); -return x_15; +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9___lambda__1(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18, x_13, x_14, x_15, x_16, x_17); +return x_19; } 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_8, 0); -lean_inc(x_16); -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_st_ref_set(x_10, x_18, x_13); -x_20 = lean_ctor_get(x_19, 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; +x_20 = lean_ctor_get(x_12, 0); lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7___lambda__1(x_8, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_10, x_11, x_12, x_21); lean_dec(x_20); -return x_22; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, 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; lean_object* x_16; -x_15 = lean_box(0); -lean_inc(x_9); -x_16 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__4(x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_15, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -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 = !lean_is_exclusive(x_17); -if (x_19 == 0) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_ctor_get(x_17, 1); -x_21 = lean_st_ref_get(x_9, x_18); -lean_dec(x_9); -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_20); -lean_ctor_set(x_24, 1, x_23); -lean_ctor_set(x_17, 1, x_24); -lean_ctor_set(x_21, 0, x_17); -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); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); lean_dec(x_21); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_20); -lean_ctor_set(x_27, 1, x_25); -lean_ctor_set(x_17, 1, x_27); -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_17); -lean_ctor_set(x_28, 1, x_26); -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; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_29 = lean_ctor_get(x_17, 0); -x_30 = lean_ctor_get(x_17, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_17); -x_31 = lean_st_ref_get(x_9, x_18); -lean_dec(x_9); -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_30); -lean_ctor_set(x_35, 1, x_32); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_29); -lean_ctor_set(x_36, 1, x_35); -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_38; -lean_dec(x_9); -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; -x_42 = !lean_is_exclusive(x_1); -if (x_42 == 0) -{ -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_1, 0); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_43, 1); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -lean_dec(x_45); -lean_ctor_set(x_43, 1, x_46); -lean_inc(x_9); -x_47 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7(x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_1, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; uint8_t 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_is_exclusive(x_48); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = lean_ctor_get(x_48, 1); -x_52 = lean_st_ref_get(x_9, x_49); -lean_dec(x_9); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_51); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set(x_48, 1, x_55); -lean_ctor_set(x_52, 0, x_48); -return x_52; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_56 = lean_ctor_get(x_52, 0); -x_57 = lean_ctor_get(x_52, 1); -lean_inc(x_57); -lean_inc(x_56); -lean_dec(x_52); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_51); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_48, 1, x_58); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_48); -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; lean_object* x_68; -x_60 = lean_ctor_get(x_48, 0); -x_61 = lean_ctor_get(x_48, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_48); -x_62 = lean_st_ref_get(x_9, x_49); -lean_dec(x_9); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - x_65 = x_62; -} else { - lean_dec_ref(x_62); - x_65 = lean_box(0); -} -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_61); -lean_ctor_set(x_66, 1, x_63); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_60); -lean_ctor_set(x_67, 1, x_66); -if (lean_is_scalar(x_65)) { - x_68 = lean_alloc_ctor(0, 2, 0); -} else { - x_68 = x_65; -} -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_64); -return x_68; -} -} -else -{ -uint8_t x_69; -lean_dec(x_9); -x_69 = !lean_is_exclusive(x_47); -if (x_69 == 0) -{ -return x_47; -} -else -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_47, 0); -x_71 = lean_ctor_get(x_47, 1); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_47); -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 -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -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_ctor_get(x_74, 0); -lean_inc(x_75); -lean_dec(x_74); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_75); -lean_ctor_set(x_1, 0, x_76); -lean_inc(x_9); -x_77 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7(x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_1, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(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; lean_object* x_88; lean_object* x_89; -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 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_78, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_78)) { - lean_ctor_release(x_78, 0); - lean_ctor_release(x_78, 1); - x_82 = x_78; -} else { - lean_dec_ref(x_78); - x_82 = lean_box(0); -} -x_83 = lean_st_ref_get(x_9, x_79); -lean_dec(x_9); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - lean_ctor_release(x_83, 1); - x_86 = x_83; -} else { - lean_dec_ref(x_83); - x_86 = lean_box(0); -} -x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_81); -lean_ctor_set(x_87, 1, x_84); -if (lean_is_scalar(x_82)) { - x_88 = lean_alloc_ctor(0, 2, 0); -} else { - x_88 = x_82; -} -lean_ctor_set(x_88, 0, x_80); -lean_ctor_set(x_88, 1, x_87); -if (lean_is_scalar(x_86)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_86; -} -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_85); -return x_89; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_9); -x_90 = lean_ctor_get(x_77, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_77, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - lean_ctor_release(x_77, 1); - x_92 = x_77; -} else { - lean_dec_ref(x_77); - x_92 = lean_box(0); -} -if (lean_is_scalar(x_92)) { - x_93 = lean_alloc_ctor(1, 2, 0); -} else { - x_93 = x_92; -} -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_91); -return x_93; -} -} -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_94 = lean_ctor_get(x_1, 0); -lean_inc(x_94); -lean_dec(x_1); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -x_96 = lean_ctor_get(x_94, 1); -lean_inc(x_96); -if (lean_is_exclusive(x_94)) { - lean_ctor_release(x_94, 0); - lean_ctor_release(x_94, 1); - x_97 = x_94; -} else { - lean_dec_ref(x_94); - x_97 = lean_box(0); -} -x_98 = lean_ctor_get(x_96, 0); -lean_inc(x_98); -lean_dec(x_96); -if (lean_is_scalar(x_97)) { - x_99 = lean_alloc_ctor(0, 2, 0); -} else { - x_99 = x_97; -} -lean_ctor_set(x_99, 0, x_95); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_100, 0, x_99); -lean_inc(x_9); -x_101 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7(x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_100, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_101) == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -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 = lean_ctor_get(x_102, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_102, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_106 = x_102; -} else { - lean_dec_ref(x_102); - x_106 = lean_box(0); -} -x_107 = lean_st_ref_get(x_9, x_103); -lean_dec(x_9); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); -lean_inc(x_109); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_110 = x_107; -} else { - lean_dec_ref(x_107); - x_110 = lean_box(0); -} -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_105); -lean_ctor_set(x_111, 1, x_108); -if (lean_is_scalar(x_106)) { - x_112 = lean_alloc_ctor(0, 2, 0); -} else { - x_112 = x_106; -} -lean_ctor_set(x_112, 0, x_104); -lean_ctor_set(x_112, 1, x_111); -if (lean_is_scalar(x_110)) { - x_113 = lean_alloc_ctor(0, 2, 0); -} else { - x_113 = x_110; -} -lean_ctor_set(x_113, 0, x_112); -lean_ctor_set(x_113, 1, x_109); -return x_113; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -lean_dec(x_9); -x_114 = lean_ctor_get(x_101, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_101, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - lean_ctor_release(x_101, 1); - x_116 = x_101; -} else { - lean_dec_ref(x_101); - 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; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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) { -_start: -{ -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_box(0); -x_15 = l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___lambda__1(x_5, x_1, x_2, x_3, x_4, x_6, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -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_5, 0); -lean_inc(x_16); -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_st_ref_set(x_8, x_18, x_13); -if (lean_obj_tag(x_6) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_box(0); -x_22 = l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___lambda__1(x_5, x_1, x_2, x_3, x_4, x_6, x_21, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_6, 0); -lean_inc(x_23); +x_23 = lean_st_ref_set(x_14, x_22, x_17); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -lean_dec(x_23); -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_25 = lean_ctor_get(x_19, 1); +x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); -lean_dec(x_19); -x_26 = l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2; -x_27 = l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(x_26, x_7, x_8, x_9, x_10, x_11, x_12, x_25); +lean_dec(x_23); +x_26 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9___lambda__1(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24, x_13, x_14, x_15, x_16, x_25); +lean_dec(x_24); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_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_14) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_18 = lean_ctor_get(x_5, 6); +lean_inc(x_18); +x_19 = lean_ctor_get(x_6, 2); +lean_inc(x_19); +lean_inc(x_7); +x_20 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___boxed), 15, 8); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_6); +lean_closure_set(x_20, 2, x_4); +lean_closure_set(x_20, 3, x_5); +lean_closure_set(x_20, 4, x_7); +lean_closure_set(x_20, 5, x_3); +lean_closure_set(x_20, 6, x_1); +lean_closure_set(x_20, 7, x_2); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); +lean_closure_set(x_21, 0, x_19); +lean_closure_set(x_21, 1, x_20); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); +lean_closure_set(x_22, 0, x_7); +lean_closure_set(x_22, 1, x_21); +x_23 = !lean_is_exclusive(x_10); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_10, 8); +lean_dec(x_24); +lean_ctor_set(x_10, 8, x_9); +x_25 = lean_box(0); +x_26 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__6(x_18, x_22, x_10, x_11, x_12, x_13, x_25, x_15, x_16, x_17); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_27 = lean_ctor_get(x_10, 0); +x_28 = lean_ctor_get(x_10, 1); +x_29 = lean_ctor_get(x_10, 2); +x_30 = lean_ctor_get_uint8(x_10, sizeof(void*)*9); +x_31 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 1); +x_32 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 2); +x_33 = lean_ctor_get(x_10, 3); +x_34 = lean_ctor_get(x_10, 4); +x_35 = lean_ctor_get(x_10, 5); +x_36 = lean_ctor_get(x_10, 6); +x_37 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 3); +x_38 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 4); +x_39 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 5); +x_40 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 6); +x_41 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 7); +x_42 = lean_ctor_get(x_10, 7); +x_43 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 8); +x_44 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 9); +lean_inc(x_42); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_10); +x_45 = lean_alloc_ctor(0, 9, 10); +lean_ctor_set(x_45, 0, x_27); +lean_ctor_set(x_45, 1, x_28); +lean_ctor_set(x_45, 2, x_29); +lean_ctor_set(x_45, 3, x_33); +lean_ctor_set(x_45, 4, x_34); +lean_ctor_set(x_45, 5, x_35); +lean_ctor_set(x_45, 6, x_36); +lean_ctor_set(x_45, 7, x_42); +lean_ctor_set(x_45, 8, x_9); +lean_ctor_set_uint8(x_45, sizeof(void*)*9, x_30); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 1, x_31); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 2, x_32); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 3, x_37); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 4, x_38); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 5, x_39); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 6, x_40); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 7, x_41); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 8, x_43); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 9, x_44); +x_46 = lean_box(0); +x_47 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__6(x_18, x_22, x_45, x_11, x_12, x_13, x_46, x_15, x_16, x_17); +return x_47; +} +} +else +{ +lean_object* x_48; uint8_t x_49; +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); -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) +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_ctor_get(x_14, 0); +lean_inc(x_48); +lean_dec(x_14); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) { -return x_27; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint64_t x_55; lean_object* x_56; uint8_t x_57; +x_50 = lean_ctor_get(x_48, 1); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_st_ref_set(x_16, x_51, x_17); +lean_dec(x_16); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_50, 1); +lean_inc(x_54); +x_55 = lean_uint64_of_nat(x_54); +lean_dec(x_54); +x_56 = lean_io_add_heartbeats(x_55, x_53); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_48); +return x_56; } 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_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_48); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +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; uint64_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_st_ref_set(x_16, x_63, x_17); +lean_dec(x_16); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_ctor_get(x_62, 1); +lean_inc(x_66); +x_67 = lean_uint64_of_nat(x_66); +lean_dec(x_66); +x_68 = lean_io_add_heartbeats(x_67, x_65); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_70 = x_68; +} else { + lean_dec_ref(x_68); + x_70 = lean_box(0); +} +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_61); +lean_ctor_set(x_71, 1, x_62); +if (lean_is_scalar(x_70)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_70; +} +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_69); +return x_72; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_14) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_18 = lean_ctor_get(x_5, 6); +lean_inc(x_18); +x_19 = lean_ctor_get(x_6, 2); +lean_inc(x_19); +lean_inc(x_7); +x_20 = lean_alloc_closure((void*)(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___boxed), 15, 8); +lean_closure_set(x_20, 0, x_8); +lean_closure_set(x_20, 1, x_6); +lean_closure_set(x_20, 2, x_4); +lean_closure_set(x_20, 3, x_5); +lean_closure_set(x_20, 4, x_7); +lean_closure_set(x_20, 5, x_3); +lean_closure_set(x_20, 6, x_1); +lean_closure_set(x_20, 7, x_2); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withLevelNames___rarg), 9, 2); +lean_closure_set(x_21, 0, x_19); +lean_closure_set(x_21, 1, x_20); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withDeclName___rarg), 9, 2); +lean_closure_set(x_22, 0, x_7); +lean_closure_set(x_22, 1, x_21); +x_23 = !lean_is_exclusive(x_10); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_10, 8); +lean_dec(x_24); +lean_ctor_set(x_10, 8, x_9); +x_25 = lean_box(0); +x_26 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__6(x_18, x_22, x_10, x_11, x_12, x_13, x_25, x_15, x_16, x_17); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; uint8_t x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_27 = lean_ctor_get(x_10, 0); +x_28 = lean_ctor_get(x_10, 1); +x_29 = lean_ctor_get(x_10, 2); +x_30 = lean_ctor_get_uint8(x_10, sizeof(void*)*9); +x_31 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 1); +x_32 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 2); +x_33 = lean_ctor_get(x_10, 3); +x_34 = lean_ctor_get(x_10, 4); +x_35 = lean_ctor_get(x_10, 5); +x_36 = lean_ctor_get(x_10, 6); +x_37 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 3); +x_38 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 4); +x_39 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 5); +x_40 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 6); +x_41 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 7); +x_42 = lean_ctor_get(x_10, 7); +x_43 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 8); +x_44 = lean_ctor_get_uint8(x_10, sizeof(void*)*9 + 9); +lean_inc(x_42); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_10); +x_45 = lean_alloc_ctor(0, 9, 10); +lean_ctor_set(x_45, 0, x_27); +lean_ctor_set(x_45, 1, x_28); +lean_ctor_set(x_45, 2, x_29); +lean_ctor_set(x_45, 3, x_33); +lean_ctor_set(x_45, 4, x_34); +lean_ctor_set(x_45, 5, x_35); +lean_ctor_set(x_45, 6, x_36); +lean_ctor_set(x_45, 7, x_42); +lean_ctor_set(x_45, 8, x_9); +lean_ctor_set_uint8(x_45, sizeof(void*)*9, x_30); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 1, x_31); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 2, x_32); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 3, x_37); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 4, x_38); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 5, x_39); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 6, x_40); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 7, x_41); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 8, x_43); +lean_ctor_set_uint8(x_45, sizeof(void*)*9 + 9, x_44); +x_46 = lean_box(0); +x_47 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__6(x_18, x_22, x_45, x_11, x_12, x_13, x_46, x_15, x_16, x_17); +return x_47; +} +} +else +{ +lean_object* x_48; uint8_t x_49; +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_3); +lean_dec(x_2); +lean_dec(x_1); +x_48 = lean_ctor_get(x_14, 0); +lean_inc(x_48); +lean_dec(x_14); +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint64_t x_55; lean_object* x_56; uint8_t x_57; +x_50 = lean_ctor_get(x_48, 1); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_st_ref_set(x_16, x_51, x_17); +lean_dec(x_16); +x_53 = lean_ctor_get(x_52, 1); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_ctor_get(x_50, 1); +lean_inc(x_54); +x_55 = lean_uint64_of_nat(x_54); +lean_dec(x_54); +x_56 = lean_io_add_heartbeats(x_55, x_53); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; +x_58 = lean_ctor_get(x_56, 0); +lean_dec(x_58); +lean_ctor_set(x_56, 0, x_48); +return x_56; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_60, 0, x_48); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +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; uint64_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_61 = lean_ctor_get(x_48, 0); +x_62 = lean_ctor_get(x_48, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_48); +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_st_ref_set(x_16, x_63, x_17); +lean_dec(x_16); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_ctor_get(x_62, 1); +lean_inc(x_66); +x_67 = lean_uint64_of_nat(x_66); +lean_dec(x_66); +x_68 = lean_io_add_heartbeats(x_67, x_65); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_68)) { + lean_ctor_release(x_68, 0); + lean_ctor_release(x_68, 1); + x_70 = x_68; +} else { + lean_dec_ref(x_68); + x_70 = lean_box(0); +} +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_61); +lean_ctor_set(x_71, 1, x_62); +if (lean_is_scalar(x_70)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_70; +} +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_69); +return x_72; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_1) == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +lean_inc(x_15); +x_20 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__13(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14, x_15, x_19, x_16, x_17, x_18); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t 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); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_21, 1); +x_25 = lean_st_ref_get(x_15, x_22); +lean_dec(x_15); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_21, 1, x_28); +lean_ctor_set(x_25, 0, x_21); +return x_25; +} +else +{ +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_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_25); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_24); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_21, 1, x_31); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_21); +lean_ctor_set(x_32, 1, x_30); +return x_32; } } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_32 = lean_ctor_get(x_19, 1); -lean_inc(x_32); -lean_dec(x_19); -x_33 = lean_ctor_get(x_24, 0); -lean_inc(x_33); -lean_dec(x_24); -x_34 = lean_ctor_get(x_33, 1); +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_33 = lean_ctor_get(x_21, 0); +x_34 = lean_ctor_get(x_21, 1); lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Lean_Language_SnapshotTask_get___rarg(x_34); +lean_inc(x_33); +lean_dec(x_21); +x_35 = lean_st_ref_get(x_15, x_22); +lean_dec(x_15); +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; +} else { + lean_dec_ref(x_35); + x_38 = lean_box(0); +} +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_34); +lean_ctor_set(x_39, 1, x_36); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_33); +lean_ctor_set(x_40, 1, x_39); +if (lean_is_scalar(x_38)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_38; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_37); +return x_41; +} +} +else +{ +uint8_t x_42; +lean_dec(x_15); +x_42 = !lean_is_exclusive(x_20); +if (x_42 == 0) +{ +return x_20; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_20, 0); +x_44 = lean_ctor_get(x_20, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_20); +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_46; +x_46 = !lean_is_exclusive(x_1); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_1, 0); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_47, 1); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +lean_dec(x_49); +lean_ctor_set(x_47, 1, x_50); +lean_inc(x_15); +x_51 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__14(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14, x_15, x_1, x_16, x_17, x_18); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; uint8_t x_54; +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_is_exclusive(x_52); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_55 = lean_ctor_get(x_52, 1); +x_56 = lean_st_ref_get(x_15, x_53); +lean_dec(x_15); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_56, 0); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_55); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_52, 1, x_59); +lean_ctor_set(x_56, 0, x_52); +return x_56; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_56, 0); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_56); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_55); +lean_ctor_set(x_62, 1, x_60); +lean_ctor_set(x_52, 1, x_62); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_52); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +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; +x_64 = lean_ctor_get(x_52, 0); +x_65 = lean_ctor_get(x_52, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_52); +x_66 = lean_st_ref_get(x_15, x_53); +lean_dec(x_15); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_69 = x_66; +} else { + lean_dec_ref(x_66); + x_69 = lean_box(0); +} +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_65); +lean_ctor_set(x_70, 1, x_67); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_64); +lean_ctor_set(x_71, 1, x_70); +if (lean_is_scalar(x_69)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_69; +} +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_68); +return x_72; +} +} +else +{ +uint8_t x_73; +lean_dec(x_15); +x_73 = !lean_is_exclusive(x_51); +if (x_73 == 0) +{ +return x_51; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_51, 0); +x_75 = lean_ctor_get(x_51, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_51); +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; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_77 = lean_ctor_get(x_47, 0); +x_78 = lean_ctor_get(x_47, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_47); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_1, 0, x_80); +lean_inc(x_15); +x_81 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__14(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14, x_15, x_1, x_16, x_17, x_18); +if (lean_obj_tag(x_81) == 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; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +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_84 = lean_ctor_get(x_82, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_86 = x_82; +} else { + lean_dec_ref(x_82); + x_86 = lean_box(0); +} +x_87 = lean_st_ref_get(x_15, x_83); +lean_dec(x_15); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_90 = x_87; +} else { + lean_dec_ref(x_87); + x_90 = lean_box(0); +} +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_85); +lean_ctor_set(x_91, 1, x_88); +if (lean_is_scalar(x_86)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_86; +} +lean_ctor_set(x_92, 0, x_84); +lean_ctor_set(x_92, 1, x_91); +if (lean_is_scalar(x_90)) { + x_93 = lean_alloc_ctor(0, 2, 0); +} else { + x_93 = x_90; +} +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_89); +return x_93; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_15); +x_94 = lean_ctor_get(x_81, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_81, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_96 = x_81; +} else { + lean_dec_ref(x_81); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; +} +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_98 = lean_ctor_get(x_1, 0); +lean_inc(x_98); +lean_dec(x_1); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_101 = x_98; +} else { + lean_dec_ref(x_98); + x_101 = lean_box(0); +} +x_102 = lean_ctor_get(x_100, 0); +lean_inc(x_102); +lean_dec(x_100); +if (lean_is_scalar(x_101)) { + x_103 = lean_alloc_ctor(0, 2, 0); +} else { + x_103 = x_101; +} +lean_ctor_set(x_103, 0, x_99); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_103); +lean_inc(x_15); +x_105 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__14(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14, x_15, x_104, x_16, x_17, x_18); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +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_ctor_get(x_106, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_106, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_110 = x_106; +} else { + lean_dec_ref(x_106); + x_110 = lean_box(0); +} +x_111 = lean_st_ref_get(x_15, x_107); +lean_dec(x_15); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_114 = x_111; +} else { + lean_dec_ref(x_111); + x_114 = lean_box(0); +} +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_109); +lean_ctor_set(x_115, 1, x_112); +if (lean_is_scalar(x_110)) { + x_116 = lean_alloc_ctor(0, 2, 0); +} else { + x_116 = x_110; +} +lean_ctor_set(x_116, 0, x_108); +lean_ctor_set(x_116, 1, x_115); +if (lean_is_scalar(x_114)) { + x_117 = lean_alloc_ctor(0, 2, 0); +} else { + x_117 = x_114; +} +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_113); +return x_117; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec(x_15); +x_118 = lean_ctor_get(x_105, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_105, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_120 = x_105; +} else { + lean_dec_ref(x_105); + x_120 = lean_box(0); +} +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(1, 2, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 1, x_119); +return x_121; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_12) == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12___lambda__1(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18, x_13, x_14, x_15, x_16, x_17); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_12, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_st_ref_set(x_14, x_22, x_17); +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_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12___lambda__1(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_24, x_13, x_14, x_15, x_16, x_25); +lean_dec(x_24); +return x_26; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, lean_object* x_8, lean_object* x_9, 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_1) == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +lean_inc(x_13); +x_20 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_12, x_13, x_19, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t 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); +x_23 = !lean_is_exclusive(x_21); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_ctor_get(x_21, 1); +x_25 = lean_st_ref_get(x_13, x_22); +lean_dec(x_13); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_21, 1, x_28); +lean_ctor_set(x_25, 0, x_21); +return x_25; +} +else +{ +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, 2, 0); +lean_ctor_set(x_31, 0, x_24); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_21, 1, x_31); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_21); +lean_ctor_set(x_32, 1, x_30); +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; +x_33 = lean_ctor_get(x_21, 0); +x_34 = lean_ctor_get(x_21, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_21); +x_35 = lean_st_ref_get(x_13, x_22); +lean_dec(x_13); +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; +} else { + lean_dec_ref(x_35); + x_38 = lean_box(0); +} +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_34); +lean_ctor_set(x_39, 1, x_36); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_33); +lean_ctor_set(x_40, 1, x_39); +if (lean_is_scalar(x_38)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_38; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_37); +return x_41; +} +} +else +{ +uint8_t x_42; +lean_dec(x_13); +x_42 = !lean_is_exclusive(x_20); +if (x_42 == 0) +{ +return x_20; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_20, 0); +x_44 = lean_ctor_get(x_20, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_20); +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_46; +x_46 = !lean_is_exclusive(x_1); +if (x_46 == 0) +{ +lean_object* x_47; uint8_t x_48; +x_47 = lean_ctor_get(x_1, 0); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_47, 1); +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +lean_dec(x_49); +lean_ctor_set(x_47, 1, x_50); +lean_inc(x_13); +x_51 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_12, x_13, x_1, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; uint8_t x_54; +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_is_exclusive(x_52); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_55 = lean_ctor_get(x_52, 1); +x_56 = lean_st_ref_get(x_13, x_53); +lean_dec(x_13); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_56, 0); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_55); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_52, 1, x_59); +lean_ctor_set(x_56, 0, x_52); +return x_56; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_56, 0); +x_61 = lean_ctor_get(x_56, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_56); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_55); +lean_ctor_set(x_62, 1, x_60); +lean_ctor_set(x_52, 1, x_62); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_52); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +else +{ +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; +x_64 = lean_ctor_get(x_52, 0); +x_65 = lean_ctor_get(x_52, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_52); +x_66 = lean_st_ref_get(x_13, x_53); +lean_dec(x_13); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_69 = x_66; +} else { + lean_dec_ref(x_66); + x_69 = lean_box(0); +} +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_65); +lean_ctor_set(x_70, 1, x_67); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_64); +lean_ctor_set(x_71, 1, x_70); +if (lean_is_scalar(x_69)) { + x_72 = lean_alloc_ctor(0, 2, 0); +} else { + x_72 = x_69; +} +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_68); +return x_72; +} +} +else +{ +uint8_t x_73; +lean_dec(x_13); +x_73 = !lean_is_exclusive(x_51); +if (x_73 == 0) +{ +return x_51; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_51, 0); +x_75 = lean_ctor_get(x_51, 1); +lean_inc(x_75); +lean_inc(x_74); +lean_dec(x_51); +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; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_77 = lean_ctor_get(x_47, 0); +x_78 = lean_ctor_get(x_47, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_47); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +lean_dec(x_78); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_77); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_1, 0, x_80); +lean_inc(x_13); +x_81 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_12, x_13, x_1, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_81) == 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; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +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_84 = lean_ctor_get(x_82, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_86 = x_82; +} else { + lean_dec_ref(x_82); + x_86 = lean_box(0); +} +x_87 = lean_st_ref_get(x_13, x_83); +lean_dec(x_13); +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_90 = x_87; +} else { + lean_dec_ref(x_87); + x_90 = lean_box(0); +} +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_85); +lean_ctor_set(x_91, 1, x_88); +if (lean_is_scalar(x_86)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_86; +} +lean_ctor_set(x_92, 0, x_84); +lean_ctor_set(x_92, 1, x_91); +if (lean_is_scalar(x_90)) { + x_93 = lean_alloc_ctor(0, 2, 0); +} else { + x_93 = x_90; +} +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_89); +return x_93; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; +lean_dec(x_13); +x_94 = lean_ctor_get(x_81, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_81, 1); +lean_inc(x_95); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_96 = x_81; +} else { + lean_dec_ref(x_81); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 2, 0); +} else { + x_97 = x_96; +} +lean_ctor_set(x_97, 0, x_94); +lean_ctor_set(x_97, 1, x_95); +return x_97; +} +} +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_98 = lean_ctor_get(x_1, 0); +lean_inc(x_98); +lean_dec(x_1); +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_101 = x_98; +} else { + lean_dec_ref(x_98); + x_101 = lean_box(0); +} +x_102 = lean_ctor_get(x_100, 0); +lean_inc(x_102); +lean_dec(x_100); +if (lean_is_scalar(x_101)) { + x_103 = lean_alloc_ctor(0, 2, 0); +} else { + x_103 = x_101; +} +lean_ctor_set(x_103, 0, x_99); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_103); +lean_inc(x_13); +x_105 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_12, x_13, x_104, x_14, x_15, x_16, x_17, x_18); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +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_ctor_get(x_106, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_106, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + x_110 = x_106; +} else { + lean_dec_ref(x_106); + x_110 = lean_box(0); +} +x_111 = lean_st_ref_get(x_13, x_107); +lean_dec(x_13); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +if (lean_is_exclusive(x_111)) { + lean_ctor_release(x_111, 0); + lean_ctor_release(x_111, 1); + x_114 = x_111; +} else { + lean_dec_ref(x_111); + x_114 = lean_box(0); +} +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_109); +lean_ctor_set(x_115, 1, x_112); +if (lean_is_scalar(x_110)) { + x_116 = lean_alloc_ctor(0, 2, 0); +} else { + x_116 = x_110; +} +lean_ctor_set(x_116, 0, x_108); +lean_ctor_set(x_116, 1, x_115); +if (lean_is_scalar(x_114)) { + x_117 = lean_alloc_ctor(0, 2, 0); +} else { + x_117 = x_114; +} +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_113); +return x_117; +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; +lean_dec(x_13); +x_118 = lean_ctor_get(x_105, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_105, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_120 = x_105; +} else { + lean_dec_ref(x_105); + x_120 = lean_box(0); +} +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(1, 2, 0); +} else { + x_121 = x_120; +} +lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 1, x_119); +return x_121; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, lean_object* x_9, 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_9) == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_box(0); +x_19 = l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8___lambda__1(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_18, x_11, x_12, x_13, x_14, x_15, x_16, 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_ctor_get(x_9, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_st_ref_set(x_12, x_22, x_17); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_box(0); +x_26 = l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8___lambda__1(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_24); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_10, 0); +lean_inc(x_27); +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; uint8_t x_32; +lean_dec(x_27); +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_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); +lean_dec(x_23); +x_30 = l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___closed__2; +x_31 = l_Lean_throwError___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__11(x_30, x_11, x_12, x_13, x_14, x_15, x_16, x_29); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +return x_31; +} +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(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; 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_36 = lean_ctor_get(x_23, 1); lean_inc(x_36); lean_dec(x_23); -x_37 = lean_io_promise_resolve(x_35, x_36, x_32); -lean_dec(x_36); -x_38 = lean_ctor_get(x_37, 0); +x_37 = lean_ctor_get(x_28, 0); +lean_inc(x_37); +lean_dec(x_28); +x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_37, 1); -lean_inc(x_39); lean_dec(x_37); -x_40 = l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___lambda__1(x_5, x_1, x_2, x_3, x_4, x_6, x_38, x_7, x_8, x_9, x_10, x_11, x_12, x_39); -lean_dec(x_38); -return x_40; +x_39 = l_Lean_Language_SnapshotTask_get___rarg(x_38); +x_40 = lean_ctor_get(x_27, 1); +lean_inc(x_40); +lean_dec(x_27); +x_41 = lean_io_promise_resolve(x_39, x_40, x_36); +lean_dec(x_40); +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_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8___lambda__1(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_42, x_11, x_12, x_13, x_14, x_15, x_16, x_43); +lean_dec(x_42); +return x_44; } } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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) { -_start: -{ -lean_object* x_10; -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_1); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__1() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__1() { _start: { lean_object* x_1; @@ -21471,899 +24426,934 @@ x_1 = lean_mk_string_unchecked("elabFunValues", 13, 13); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___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_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___closed__10; -x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__1; +x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__2; +x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__2; x_2 = 1; x_3 = l_Lean_Name_toString(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _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; -x_12 = lean_ctor_get(x_1, 2); -lean_inc(x_12); -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_13, 6); +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_1, 2); lean_inc(x_14); -lean_dec(x_13); -x_15 = lean_ctor_get(x_1, 1); +x_15 = lean_ctor_get(x_1, 0); lean_inc(x_15); -x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm), 3, 1); -lean_closure_set(x_16, 0, x_14); -lean_inc(x_10); -lean_inc(x_12); -lean_inc(x_1); -x_17 = l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3(x_1, x_12, x_15, x_16, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_17, 0); +x_16 = lean_ctor_get(x_15, 6); +lean_inc(x_16); +x_17 = lean_ctor_get(x_1, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_1, 3); -lean_inc(x_19); -lean_dec(x_1); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -lean_dec(x_10); -lean_dec(x_2); -x_20 = !lean_is_exclusive(x_17); -if (x_20 == 0) +x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm), 3, 1); +lean_closure_set(x_19, 0, x_16); +lean_inc(x_12); +lean_inc(x_14); +lean_inc(x_1); +x_20 = l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8(x_2, x_3, x_1, x_14, x_15, x_17, x_18, x_19, x_5, x_14, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_17, 0); -lean_dec(x_21); -x_22 = lean_ctor_get(x_18, 0); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_1, 3); lean_inc(x_22); -lean_dec(x_18); -lean_ctor_set(x_17, 0, x_22); -return x_17; +lean_dec(x_1); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +lean_dec(x_12); +lean_dec(x_4); +x_23 = !lean_is_exclusive(x_20); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_20, 0); +lean_dec(x_24); +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); +lean_dec(x_21); +lean_ctor_set(x_20, 0, x_25); +return x_20; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_17, 1); -lean_inc(x_23); -lean_dec(x_17); -x_24 = lean_ctor_get(x_18, 0); -lean_inc(x_24); -lean_dec(x_18); -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; uint8_t x_29; -x_26 = lean_ctor_get(x_17, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_20, 1); lean_inc(x_26); -lean_dec(x_17); -x_27 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +x_27 = lean_ctor_get(x_21, 0); lean_inc(x_27); -x_28 = lean_ctor_get(x_18, 1); -lean_inc(x_28); -lean_dec(x_18); -x_29 = !lean_is_exclusive(x_19); -if (x_29 == 0) +lean_dec(x_21); +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 { -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_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_30 = lean_ctor_get(x_19, 0); -x_31 = l_Lean_Core_getAndEmptyMessageLog___rarg(x_10, x_26); -lean_dec(x_10); -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_Language_Snapshot_Diagnostics_ofMessageLog(x_32, x_33); +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_dec(x_20); +x_30 = lean_ctor_get(x_21, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_21, 1); +lean_inc(x_31); +lean_dec(x_21); +x_32 = !lean_is_exclusive(x_22); +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; uint8_t 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_22, 0); +x_34 = l_Lean_Core_getAndEmptyMessageLog___rarg(x_12, x_29); +lean_dec(x_12); 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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__3; -x_38 = 0; -x_39 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_35); -lean_ctor_set(x_39, 2, x_2); -lean_ctor_set_uint8(x_39, sizeof(void*)*3, x_38); -lean_inc(x_27); -x_40 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_28); -lean_ctor_set(x_40, 2, x_27); -lean_ctor_set(x_19, 0, x_40); -x_41 = lean_ctor_get(x_30, 1); -lean_inc(x_41); -lean_dec(x_30); -x_42 = lean_io_promise_resolve(x_19, x_41, x_36); -lean_dec(x_41); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; -x_44 = lean_ctor_get(x_42, 0); +x_37 = l_Lean_Language_Snapshot_Diagnostics_ofMessageLog(x_35, 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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__3; +x_41 = 0; +x_42 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_38); +lean_ctor_set(x_42, 2, x_4); +lean_ctor_set_uint8(x_42, sizeof(void*)*3, x_41); +lean_inc(x_30); +x_43 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_31); +lean_ctor_set(x_43, 2, x_30); +lean_ctor_set(x_22, 0, x_43); +x_44 = lean_ctor_get(x_33, 1); +lean_inc(x_44); +lean_dec(x_33); +x_45 = lean_io_promise_resolve(x_22, x_44, x_39); lean_dec(x_44); -lean_ctor_set(x_42, 0, x_27); -return x_42; +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; +x_47 = lean_ctor_get(x_45, 0); +lean_dec(x_47); +lean_ctor_set(x_45, 0, x_30); +return x_45; } else { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_dec(x_42); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_27); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_45, 1); +lean_inc(x_48); +lean_dec(x_45); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_30); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } else { -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; uint8_t 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; -x_47 = lean_ctor_get(x_19, 0); -lean_inc(x_47); -lean_dec(x_19); -x_48 = l_Lean_Core_getAndEmptyMessageLog___rarg(x_10, x_26); -lean_dec(x_10); -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; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t 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; +x_50 = lean_ctor_get(x_22, 0); lean_inc(x_50); -lean_dec(x_48); -x_51 = l_Lean_Language_Snapshot_Diagnostics_ofMessageLog(x_49, x_50); +lean_dec(x_22); +x_51 = l_Lean_Core_getAndEmptyMessageLog___rarg(x_12, x_29); +lean_dec(x_12); 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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__3; -x_55 = 0; -x_56 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_52); -lean_ctor_set(x_56, 2, x_2); -lean_ctor_set_uint8(x_56, sizeof(void*)*3, x_55); -lean_inc(x_27); -x_57 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_28); -lean_ctor_set(x_57, 2, x_27); -x_58 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_58, 0, x_57); -x_59 = lean_ctor_get(x_47, 1); -lean_inc(x_59); -lean_dec(x_47); -x_60 = lean_io_promise_resolve(x_58, x_59, x_53); -lean_dec(x_59); -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_60); - x_62 = lean_box(0); -} -if (lean_is_scalar(x_62)) { - x_63 = lean_alloc_ctor(0, 2, 0); -} else { - x_63 = x_62; -} -lean_ctor_set(x_63, 0, x_27); -lean_ctor_set(x_63, 1, x_61); -return x_63; -} -} -} -else -{ -uint8_t x_64; -lean_dec(x_10); -lean_dec(x_2); -lean_dec(x_1); -x_64 = !lean_is_exclusive(x_17); -if (x_64 == 0) -{ -return x_17; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_17, 0); -x_66 = lean_ctor_get(x_17, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_17); -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; -} -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10(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); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -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; lean_object* x_16; lean_object* x_17; -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_box(0); -x_17 = lean_ctor_get(x_13, 3); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_box(0); -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_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2(x_13, x_16, x_16, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; size_t x_22; size_t 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); -x_22 = 1; -x_23 = lean_usize_add(x_2, x_22); -x_24 = lean_array_uset(x_15, x_2, x_20); -x_2 = x_23; -x_3 = x_24; -x_10 = x_21; -goto _start; -} -else -{ -uint8_t x_26; -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); -x_26 = !lean_is_exclusive(x_19); -if (x_26 == 0) -{ -return x_19; -} -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; -} -} -} -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_17, 0); -lean_inc(x_30); -lean_dec(x_17); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_30); -x_32 = lean_box(0); -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_33 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2(x_13, x_16, x_16, x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_33) == 0) -{ -lean_object* x_34; lean_object* x_35; size_t x_36; size_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 = 1; -x_37 = lean_usize_add(x_2, x_36); -x_38 = lean_array_uset(x_15, x_2, x_34); -x_2 = x_37; -x_3 = x_38; -x_10 = x_35; -goto _start; -} -else -{ -uint8_t x_40; -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); -x_40 = !lean_is_exclusive(x_33); -if (x_40 == 0) -{ -return x_33; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_33, 0); -x_42 = lean_ctor_get(x_33, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_33); -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 = !lean_is_exclusive(x_31); -if (x_44 == 0) -{ -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_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = l_Lean_Language_SnapshotTask_get___rarg(x_46); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; -lean_free_object(x_31); -lean_dec(x_30); -x_48 = lean_box(0); -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_49 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2(x_13, x_16, x_16, x_48, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; lean_object* 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 = 1; -x_53 = lean_usize_add(x_2, x_52); -x_54 = lean_array_uset(x_15, x_2, x_50); -x_2 = x_53; -x_3 = x_54; -x_10 = x_51; -goto _start; -} -else -{ -uint8_t x_56; -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); -x_56 = !lean_is_exclusive(x_49); -if (x_56 == 0) -{ -return x_49; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_49, 0); -x_58 = lean_ctor_get(x_49, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_49); -x_59 = lean_alloc_ctor(1, 2, 0); +x_54 = l_Lean_Language_Snapshot_Diagnostics_ofMessageLog(x_52, x_53); +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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__3; +x_58 = 0; +x_59 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; -} -} -} -else -{ -uint8_t x_60; -x_60 = !lean_is_exclusive(x_47); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_61 = lean_ctor_get(x_47, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_30, 1); +lean_ctor_set(x_59, 1, x_55); +lean_ctor_set(x_59, 2, x_4); +lean_ctor_set_uint8(x_59, sizeof(void*)*3, x_58); +lean_inc(x_30); +x_60 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_31); +lean_ctor_set(x_60, 2, x_30); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_62 = lean_ctor_get(x_50, 1); lean_inc(x_62); -lean_dec(x_30); -x_63 = lean_io_promise_resolve(x_47, x_62, x_10); +lean_dec(x_50); +x_63 = lean_io_promise_resolve(x_61, x_62, x_56); lean_dec(x_62); -x_64 = !lean_is_exclusive(x_63); -if (x_64 == 0) -{ -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_65 = lean_ctor_get(x_63, 1); -x_66 = lean_ctor_get(x_63, 0); -lean_dec(x_66); -x_67 = lean_ctor_get(x_61, 1); -lean_inc(x_67); -x_68 = lean_ctor_get(x_61, 2); -lean_inc(x_68); -lean_dec(x_61); -lean_ctor_set(x_63, 1, x_67); -lean_ctor_set(x_63, 0, x_68); -lean_ctor_set(x_31, 0, x_63); -x_69 = lean_box(0); -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_70 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2(x_13, x_16, x_31, x_69, x_4, x_5, x_6, x_7, x_8, x_9, x_65); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; size_t x_73; size_t x_74; lean_object* x_75; -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 = 1; -x_74 = lean_usize_add(x_2, x_73); -x_75 = lean_array_uset(x_15, x_2, x_71); -x_2 = x_74; -x_3 = x_75; -x_10 = x_72; -goto _start; +x_64 = lean_ctor_get(x_63, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_63)) { + lean_ctor_release(x_63, 0); + lean_ctor_release(x_63, 1); + x_65 = x_63; +} else { + lean_dec_ref(x_63); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(0, 2, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_30); +lean_ctor_set(x_66, 1, x_64); +return x_66; +} +} } else { -uint8_t x_77; -lean_dec(x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); +uint8_t x_67; +lean_dec(x_12); lean_dec(x_4); -x_77 = !lean_is_exclusive(x_70); -if (x_77 == 0) +lean_dec(x_1); +x_67 = !lean_is_exclusive(x_20); +if (x_67 == 0) { +return x_20; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_20, 0); +x_69 = lean_ctor_get(x_20, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_20); +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 -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_70, 0); -x_79 = lean_ctor_get(x_70, 1); -lean_inc(x_79); -lean_inc(x_78); -lean_dec(x_70); -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; } } } -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_81 = lean_ctor_get(x_63, 1); -lean_inc(x_81); -lean_dec(x_63); -x_82 = lean_ctor_get(x_61, 1); -lean_inc(x_82); -x_83 = lean_ctor_get(x_61, 2); -lean_inc(x_83); -lean_dec(x_61); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -lean_ctor_set(x_31, 0, x_84); -x_85 = lean_box(0); -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_86 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2(x_13, x_16, x_31, x_85, x_4, x_5, x_6, x_7, x_8, x_9, x_81); -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_87; lean_object* x_88; size_t x_89; size_t x_90; lean_object* x_91; -x_87 = lean_ctor_get(x_86, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_86, 1); -lean_inc(x_88); -lean_dec(x_86); -x_89 = 1; -x_90 = lean_usize_add(x_2, x_89); -x_91 = lean_array_uset(x_15, x_2, x_87); -x_2 = x_90; -x_3 = x_91; -x_10 = x_88; -goto _start; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -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); -x_93 = lean_ctor_get(x_86, 0); -lean_inc(x_93); -x_94 = lean_ctor_get(x_86, 1); -lean_inc(x_94); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - lean_ctor_release(x_86, 1); - x_95 = x_86; -} else { - lean_dec_ref(x_86); - x_95 = lean_box(0); -} -if (lean_is_scalar(x_95)) { - x_96 = lean_alloc_ctor(1, 2, 0); -} else { - x_96 = x_95; -} -lean_ctor_set(x_96, 0, x_93); -lean_ctor_set(x_96, 1, x_94); -return x_96; -} -} -} -else -{ -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; -x_97 = lean_ctor_get(x_47, 0); -lean_inc(x_97); -lean_dec(x_47); -lean_inc(x_97); -x_98 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_98, 0, x_97); -x_99 = lean_ctor_get(x_30, 1); -lean_inc(x_99); -lean_dec(x_30); -x_100 = lean_io_promise_resolve(x_98, x_99, x_10); -lean_dec(x_99); -x_101 = lean_ctor_get(x_100, 1); -lean_inc(x_101); -if (lean_is_exclusive(x_100)) { - lean_ctor_release(x_100, 0); - lean_ctor_release(x_100, 1); - x_102 = x_100; -} else { - lean_dec_ref(x_100); - x_102 = lean_box(0); -} -x_103 = lean_ctor_get(x_97, 1); -lean_inc(x_103); -x_104 = lean_ctor_get(x_97, 2); -lean_inc(x_104); -lean_dec(x_97); -if (lean_is_scalar(x_102)) { - x_105 = lean_alloc_ctor(0, 2, 0); -} else { - x_105 = x_102; -} -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -lean_ctor_set(x_31, 0, x_105); -x_106 = lean_box(0); -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_107 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2(x_13, x_16, x_31, x_106, x_4, x_5, x_6, x_7, x_8, x_9, x_101); -if (lean_obj_tag(x_107) == 0) -{ -lean_object* x_108; lean_object* x_109; size_t x_110; size_t x_111; lean_object* x_112; -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 = 1; -x_111 = lean_usize_add(x_2, x_110); -x_112 = lean_array_uset(x_15, x_2, x_108); -x_2 = x_111; -x_3 = x_112; -x_10 = x_109; -goto _start; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -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); -x_114 = lean_ctor_get(x_107, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_107, 1); -lean_inc(x_115); -if (lean_is_exclusive(x_107)) { - lean_ctor_release(x_107, 0); - lean_ctor_release(x_107, 1); - x_116 = x_107; -} else { - lean_dec_ref(x_107); - 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; -x_118 = lean_ctor_get(x_31, 0); -lean_inc(x_118); -lean_dec(x_31); -x_119 = lean_ctor_get(x_118, 1); -lean_inc(x_119); -lean_dec(x_118); -x_120 = l_Lean_Language_SnapshotTask_get___rarg(x_119); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; lean_object* x_122; -lean_dec(x_30); -x_121 = lean_box(0); -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_122 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2(x_13, x_16, x_16, x_121, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_122) == 0) -{ -lean_object* x_123; lean_object* x_124; size_t x_125; size_t x_126; lean_object* x_127; -x_123 = lean_ctor_get(x_122, 0); -lean_inc(x_123); -x_124 = lean_ctor_get(x_122, 1); -lean_inc(x_124); -lean_dec(x_122); -x_125 = 1; -x_126 = lean_usize_add(x_2, x_125); -x_127 = lean_array_uset(x_15, x_2, x_123); -x_2 = x_126; -x_3 = x_127; -x_10 = x_124; -goto _start; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -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); -x_129 = lean_ctor_get(x_122, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_122, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_122)) { - lean_ctor_release(x_122, 0); - lean_ctor_release(x_122, 1); - x_131 = x_122; -} else { - lean_dec_ref(x_122); - x_131 = lean_box(0); -} -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(1, 2, 0); -} else { - x_132 = x_131; -} -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_130); -return x_132; -} -} -else -{ -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; -x_133 = lean_ctor_get(x_120, 0); -lean_inc(x_133); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - x_134 = x_120; -} else { - lean_dec_ref(x_120); - x_134 = lean_box(0); -} -lean_inc(x_133); -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(1, 1, 0); -} else { - x_135 = x_134; -} -lean_ctor_set(x_135, 0, x_133); -x_136 = lean_ctor_get(x_30, 1); -lean_inc(x_136); -lean_dec(x_30); -x_137 = lean_io_promise_resolve(x_135, x_136, x_10); -lean_dec(x_136); -x_138 = lean_ctor_get(x_137, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_137)) { - lean_ctor_release(x_137, 0); - lean_ctor_release(x_137, 1); - x_139 = x_137; -} else { - lean_dec_ref(x_137); - x_139 = lean_box(0); -} -x_140 = lean_ctor_get(x_133, 1); -lean_inc(x_140); -x_141 = lean_ctor_get(x_133, 2); -lean_inc(x_141); -lean_dec(x_133); -if (lean_is_scalar(x_139)) { - x_142 = lean_alloc_ctor(0, 2, 0); -} else { - x_142 = x_139; -} -lean_ctor_set(x_142, 0, x_141); -lean_ctor_set(x_142, 1, x_140); -x_143 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_143, 0, x_142); -x_144 = lean_box(0); -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_145 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2(x_13, x_16, x_143, x_144, x_4, x_5, x_6, x_7, x_8, x_9, x_138); -if (lean_obj_tag(x_145) == 0) -{ -lean_object* x_146; lean_object* x_147; size_t x_148; size_t x_149; lean_object* x_150; -x_146 = lean_ctor_get(x_145, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_145, 1); -lean_inc(x_147); -lean_dec(x_145); -x_148 = 1; -x_149 = lean_usize_add(x_2, x_148); -x_150 = lean_array_uset(x_15, x_2, x_146); -x_2 = x_149; -x_3 = x_150; -x_10 = x_147; -goto _start; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -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); -x_152 = lean_ctor_get(x_145, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_145, 1); -lean_inc(x_153); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - lean_ctor_release(x_145, 1); - x_154 = x_145; -} else { - lean_dec_ref(x_145); - x_154 = lean_box(0); -} -if (lean_is_scalar(x_154)) { - x_155 = lean_alloc_ctor(1, 2, 0); -} else { - x_155 = x_154; -} -lean_ctor_set(x_155, 0, x_152); -lean_ctor_set(x_155, 1, x_153); -return x_155; -} -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues(lean_object* x_1, lean_object* x_2, lean_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_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15(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: { -size_t x_9; size_t x_10; lean_object* x_11; -x_9 = lean_array_size(x_1); -x_10 = 0; -x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10(x_9, x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_11; +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_2); +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; lean_object* x_19; +x_15 = lean_array_uget(x_5, x_4); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_5, x_4, x_16); +x_18 = lean_box(0); +x_19 = lean_ctor_get(x_15, 3); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +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_2); +lean_inc(x_1); +x_21 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1(x_15, x_1, x_2, x_18, x_18, x_20, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_21) == 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_inc(x_23); +lean_dec(x_21); +x_24 = 1; +x_25 = lean_usize_add(x_4, x_24); +x_26 = lean_array_uset(x_17, x_4, x_22); +x_4 = x_25; +x_5 = x_26; +x_12 = x_23; +goto _start; +} +else +{ +uint8_t x_28; +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_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; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_19, 0); +lean_inc(x_32); +lean_dec(x_19); +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_dec(x_32); +x_34 = lean_box(0); +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_2); +lean_inc(x_1); +x_35 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1(x_15, x_1, x_2, x_18, x_18, x_34, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; size_t x_38; size_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 = 1; +x_39 = lean_usize_add(x_4, x_38); +x_40 = lean_array_uset(x_17, x_4, x_36); +x_4 = x_39; +x_5 = x_40; +x_12 = x_37; +goto _start; +} +else +{ +uint8_t x_42; +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_2); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_35); +if (x_42 == 0) +{ +return x_35; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_35, 0); +x_44 = lean_ctor_get(x_35, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_35); +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_46; +x_46 = !lean_is_exclusive(x_33); +if (x_46 == 0) +{ +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_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = l_Lean_Language_SnapshotTask_get___rarg(x_48); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; lean_object* x_51; +lean_free_object(x_33); +lean_dec(x_32); +x_50 = lean_box(0); +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_2); +lean_inc(x_1); +x_51 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1(x_15, x_1, x_2, x_18, x_18, x_50, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; size_t x_54; size_t 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); +x_54 = 1; +x_55 = lean_usize_add(x_4, x_54); +x_56 = lean_array_uset(x_17, x_4, x_52); +x_4 = x_55; +x_5 = x_56; +x_12 = x_53; +goto _start; +} +else +{ +uint8_t x_58; +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_2); +lean_dec(x_1); +x_58 = !lean_is_exclusive(x_51); +if (x_58 == 0) +{ +return x_51; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_51, 0); +x_60 = lean_ctor_get(x_51, 1); +lean_inc(x_60); +lean_inc(x_59); +lean_dec(x_51); +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; +x_62 = !lean_is_exclusive(x_49); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_63 = lean_ctor_get(x_49, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_32, 1); +lean_inc(x_64); +lean_dec(x_32); +x_65 = lean_io_promise_resolve(x_49, x_64, x_12); +lean_dec(x_64); +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; lean_object* x_72; +x_67 = lean_ctor_get(x_65, 1); +x_68 = lean_ctor_get(x_65, 0); +lean_dec(x_68); +x_69 = lean_ctor_get(x_63, 1); +lean_inc(x_69); +x_70 = lean_ctor_get(x_63, 2); +lean_inc(x_70); +lean_dec(x_63); +lean_ctor_set(x_65, 1, x_69); +lean_ctor_set(x_65, 0, x_70); +lean_ctor_set(x_33, 0, x_65); +x_71 = lean_box(0); +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_2); +lean_inc(x_1); +x_72 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1(x_15, x_1, x_2, x_18, x_33, x_71, x_6, x_7, x_8, x_9, x_10, x_11, x_67); +if (lean_obj_tag(x_72) == 0) +{ +lean_object* x_73; lean_object* x_74; size_t x_75; size_t x_76; lean_object* x_77; +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 = 1; +x_76 = lean_usize_add(x_4, x_75); +x_77 = lean_array_uset(x_17, x_4, x_73); +x_4 = x_76; +x_5 = x_77; +x_12 = x_74; +goto _start; +} +else +{ +uint8_t x_79; +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_2); +lean_dec(x_1); +x_79 = !lean_is_exclusive(x_72); +if (x_79 == 0) +{ +return x_72; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_72, 0); +x_81 = lean_ctor_get(x_72, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_72); +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 +{ +lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_83 = lean_ctor_get(x_65, 1); +lean_inc(x_83); +lean_dec(x_65); +x_84 = lean_ctor_get(x_63, 1); +lean_inc(x_84); +x_85 = lean_ctor_get(x_63, 2); +lean_inc(x_85); +lean_dec(x_63); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_84); +lean_ctor_set(x_33, 0, x_86); +x_87 = lean_box(0); +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_2); +lean_inc(x_1); +x_88 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1(x_15, x_1, x_2, x_18, x_33, x_87, x_6, x_7, x_8, x_9, x_10, x_11, x_83); +if (lean_obj_tag(x_88) == 0) +{ +lean_object* x_89; lean_object* x_90; size_t x_91; size_t x_92; lean_object* x_93; +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 = 1; +x_92 = lean_usize_add(x_4, x_91); +x_93 = lean_array_uset(x_17, x_4, x_89); +x_4 = x_92; +x_5 = x_93; +x_12 = x_90; +goto _start; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +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_2); +lean_dec(x_1); +x_95 = lean_ctor_get(x_88, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_88, 1); +lean_inc(x_96); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_97 = x_88; +} else { + lean_dec_ref(x_88); + 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; +} +} +} +else +{ +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; +x_99 = lean_ctor_get(x_49, 0); +lean_inc(x_99); +lean_dec(x_49); +lean_inc(x_99); +x_100 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_100, 0, x_99); +x_101 = lean_ctor_get(x_32, 1); +lean_inc(x_101); +lean_dec(x_32); +x_102 = lean_io_promise_resolve(x_100, x_101, x_12); +lean_dec(x_101); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_104 = x_102; +} else { + lean_dec_ref(x_102); + x_104 = lean_box(0); +} +x_105 = lean_ctor_get(x_99, 1); +lean_inc(x_105); +x_106 = lean_ctor_get(x_99, 2); +lean_inc(x_106); +lean_dec(x_99); +if (lean_is_scalar(x_104)) { + x_107 = lean_alloc_ctor(0, 2, 0); +} else { + x_107 = x_104; +} +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_105); +lean_ctor_set(x_33, 0, x_107); +x_108 = lean_box(0); +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_2); +lean_inc(x_1); +x_109 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1(x_15, x_1, x_2, x_18, x_33, x_108, x_6, x_7, x_8, x_9, x_10, x_11, x_103); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; lean_object* x_111; size_t x_112; size_t x_113; lean_object* x_114; +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); +x_112 = 1; +x_113 = lean_usize_add(x_4, x_112); +x_114 = lean_array_uset(x_17, x_4, x_110); +x_4 = x_113; +x_5 = x_114; +x_12 = x_111; +goto _start; +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +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_2); +lean_dec(x_1); +x_116 = lean_ctor_get(x_109, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_109, 1); +lean_inc(x_117); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + lean_ctor_release(x_109, 1); + x_118 = x_109; +} else { + lean_dec_ref(x_109); + x_118 = lean_box(0); +} +if (lean_is_scalar(x_118)) { + x_119 = lean_alloc_ctor(1, 2, 0); +} else { + x_119 = x_118; +} +lean_ctor_set(x_119, 0, x_116); +lean_ctor_set(x_119, 1, x_117); +return x_119; +} +} +} +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_33, 0); +lean_inc(x_120); +lean_dec(x_33); +x_121 = lean_ctor_get(x_120, 1); +lean_inc(x_121); +lean_dec(x_120); +x_122 = l_Lean_Language_SnapshotTask_get___rarg(x_121); +if (lean_obj_tag(x_122) == 0) +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_32); +x_123 = lean_box(0); +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_2); +lean_inc(x_1); +x_124 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1(x_15, x_1, x_2, x_18, x_18, x_123, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; lean_object* x_126; size_t x_127; size_t x_128; lean_object* x_129; +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 = 1; +x_128 = lean_usize_add(x_4, x_127); +x_129 = lean_array_uset(x_17, x_4, x_125); +x_4 = x_128; +x_5 = x_129; +x_12 = x_126; +goto _start; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +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_2); +lean_dec(x_1); +x_131 = lean_ctor_get(x_124, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_124, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_133 = x_124; +} else { + lean_dec_ref(x_124); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +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; +x_135 = lean_ctor_get(x_122, 0); +lean_inc(x_135); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + x_136 = x_122; +} else { + lean_dec_ref(x_122); + x_136 = lean_box(0); +} +lean_inc(x_135); +if (lean_is_scalar(x_136)) { + x_137 = lean_alloc_ctor(1, 1, 0); +} else { + x_137 = x_136; +} +lean_ctor_set(x_137, 0, x_135); +x_138 = lean_ctor_get(x_32, 1); +lean_inc(x_138); +lean_dec(x_32); +x_139 = lean_io_promise_resolve(x_137, x_138, x_12); +lean_dec(x_138); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + x_141 = x_139; +} else { + lean_dec_ref(x_139); + x_141 = lean_box(0); +} +x_142 = lean_ctor_get(x_135, 1); +lean_inc(x_142); +x_143 = lean_ctor_get(x_135, 2); +lean_inc(x_143); +lean_dec(x_135); +if (lean_is_scalar(x_141)) { + x_144 = lean_alloc_ctor(0, 2, 0); +} else { + x_144 = x_141; +} +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_142); +x_145 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_145, 0, x_144); +x_146 = lean_box(0); +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_2); +lean_inc(x_1); +x_147 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1(x_15, x_1, x_2, x_18, x_145, x_146, x_6, x_7, x_8, x_9, x_10, x_11, x_140); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; size_t x_150; size_t 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); +lean_dec(x_147); +x_150 = 1; +x_151 = lean_usize_add(x_4, x_150); +x_152 = lean_array_uset(x_17, x_4, x_148); +x_4 = x_151; +x_5 = x_152; +x_12 = x_149; +goto _start; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +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_2); +lean_dec(x_1); +x_154 = lean_ctor_get(x_147, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_147, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_156 = x_147; +} else { + lean_dec_ref(x_147); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; +} +lean_ctor_set(x_157, 0, x_154); +lean_ctor_set(x_157, 1, x_155); +return x_157; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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_array_size(x_1); +x_12 = 0; +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15(x_2, x_3, x_11, x_12, x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, lean_object* x_16) { @@ -22380,57 +25370,105 @@ lean_dec(x_1); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_14; -x_14 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__2(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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: { -lean_object* x_11; -x_11 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_7); lean_dec(x_7); -return x_11; +x_18 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_19; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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: { -lean_object* x_15; -x_15 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__4___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_9); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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) { -_start: -{ -lean_object* x_15; -x_15 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__7___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_9); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, 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_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___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_object* x_17; +x_17 = l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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); +lean_dec(x_8); lean_dec(x_7); -return x_15; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_17; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_EXPORT lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_13 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_14 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__5(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_18, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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) { _start: { lean_object* x_10; -x_10 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__1(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); @@ -22441,25 +25479,360 @@ lean_dec(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__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]; _start: { -lean_object* x_12; -x_12 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__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_4); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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) { -_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_object* x_18; +x_18 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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, x_16, x_17); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_2); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10(x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; +lean_dec(x_1); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__3___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_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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, x_15, x_16, x_17); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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) { +_start: +{ +lean_object* x_16; +x_16 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5(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_8); +lean_dec(x_7); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_7); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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: +{ +lean_object* x_18; +x_18 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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: +{ +lean_object* x_18; +x_18 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__11(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); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9___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, x_15, x_16, x_17, x_18); +lean_dec(x_13); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9___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_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__9(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); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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: +{ +lean_object* x_18; +x_18 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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, x_14, x_15, x_16, x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__14___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_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__14(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); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12___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]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12___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, x_15, x_16, x_17, x_18); +lean_dec(x_13); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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: +{ +lean_object* x_18; +x_18 = l_Lean_Meta_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__12(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); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8___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]; +lean_object* x_18 = _args[17]; +_start: +{ +lean_object* x_19; +x_19 = l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8___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, x_15, x_16, x_17, x_18); +lean_dec(x_11); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8___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_Lean_Elab_Term_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__8(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); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___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); +lean_dec(x_6); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___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: +{ +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_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_15; } } LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___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) { @@ -22534,45 +25907,6 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___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) { -_start: -{ -uint8_t x_11; -x_11 = lean_usize_dec_eq(x_2, x_3); -if (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; size_t x_18; size_t x_19; -lean_dec(x_4); -x_12 = lean_array_uget(x_1, x_2); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get(x_13, 5); -lean_inc(x_14); -lean_dec(x_13); -x_15 = l_Lean_Expr_collectFVars(x_14, x_5, x_6, x_7, x_8, 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_dec(x_15); -x_18 = 1; -x_19 = lean_usize_add(x_2, x_18); -x_2 = x_19; -x_4 = x_16; -x_10 = x_17; -goto _start; -} -else -{ -lean_object* x_21; -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_4); -lean_ctor_set(x_21, 1, x_10); -return x_21; -} -} -} LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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: { @@ -22603,7 +25937,7 @@ x_27 = 0; x_28 = lean_usize_of_nat(x_10); lean_dec(x_10); x_29 = lean_box(0); -x_30 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__3(x_1, x_27, x_28, x_29, x_4, x_5, x_6, x_7, x_8, x_9); +x_30 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_collectUsed___spec__5(x_1, x_27, x_28, x_29, x_4, x_5, x_6, x_7, x_8, x_9); x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); @@ -22683,24 +26017,6 @@ lean_dec(x_1); return x_13; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___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; -x_11 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_12 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___spec__3(x_1, x_11, x_12, 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_1); -return x_13; -} -} LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_collectUsed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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: { @@ -22716,57 +26032,11 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(10u); -x_2 = lean_unsigned_to_nat(1u); -x_3 = l_Nat_nextPowerOfTwo_go(x_1, x_2, lean_box(0)); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1; -x_3 = lean_mk_array(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(0u); -x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3; -x_3 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_1); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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; -x_12 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4; +x_12 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4; x_13 = lean_st_mk_ref(x_12, x_11); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); @@ -24749,7 +28019,7 @@ static lean_object* _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_Mutu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3; +x_1 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3; x_2 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -24786,7 +28056,7 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean x_16 = lean_array_uget(x_8, x_10); x_17 = lean_ctor_get(x_1, 1); lean_inc(x_17); -x_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3; +x_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3; x_19 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; lean_inc(x_5); x_20 = lean_alloc_ctor(0, 3, 0); @@ -24914,7 +28184,7 @@ lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean x_15 = lean_array_uget(x_7, x_9); x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); -x_17 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3; +x_17 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3; x_18 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; lean_inc(x_5); x_19 = lean_alloc_ctor(0, 3, 0); @@ -27021,7 +30291,7 @@ if (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_29, 0); lean_dec(x_31); -x_32 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4; +x_32 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4; x_33 = l_Lean_CollectFVars_main(x_16, x_32); x_34 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_1, x_33); lean_ctor_set(x_29, 0, x_34); @@ -27033,7 +30303,7 @@ lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean x_35 = lean_ctor_get(x_29, 1); lean_inc(x_35); lean_dec(x_29); -x_36 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4; +x_36 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4; x_37 = l_Lean_CollectFVars_main(x_16, x_36); x_38 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_1, x_37); x_39 = lean_alloc_ctor(0, 2, 0); @@ -27083,7 +30353,7 @@ if (lean_is_exclusive(x_50)) { lean_dec_ref(x_50); x_52 = lean_box(0); } -x_53 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4; +x_53 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4; x_54 = l_Lean_CollectFVars_main(x_16, x_53); x_55 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_1, x_54); if (lean_is_scalar(x_52)) { @@ -27701,7 +30971,7 @@ x_70 = lean_st_ref_set(x_4, x_56, x_57); x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec(x_70); -x_72 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4; +x_72 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4; x_73 = l_Lean_CollectFVars_main(x_50, x_72); x_74 = l_Lean_CollectFVars_main(x_53, x_73); x_75 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_12, x_74); @@ -27746,7 +31016,7 @@ x_90 = lean_st_ref_set(x_4, x_89, x_57); x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); lean_dec(x_90); -x_92 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4; +x_92 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4; x_93 = l_Lean_CollectFVars_main(x_50, x_92); x_94 = l_Lean_CollectFVars_main(x_53, x_93); x_95 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_12, x_94); @@ -27975,7 +31245,7 @@ x_146 = lean_st_ref_set(x_4, x_145, x_130); x_147 = lean_ctor_get(x_146, 1); lean_inc(x_147); lean_dec(x_146); -x_148 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4; +x_148 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4; x_149 = l_Lean_CollectFVars_main(x_123, x_148); x_150 = l_Lean_CollectFVars_main(x_126, x_149); x_151 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pushNewVars(x_12, x_150); @@ -29782,7 +33052,7 @@ 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; 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; size_t x_36; size_t x_37; x_18 = lean_array_uget(x_5, x_7); -x_19 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3; +x_19 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3; x_20 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; lean_inc(x_3); x_21 = lean_alloc_ctor(0, 3, 0); @@ -29843,7 +33113,7 @@ 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; lean_object* x_27; lean_object* x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; x_17 = lean_array_uget(x_4, x_6); -x_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3; +x_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3; x_19 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; lean_inc(x_2); x_20 = lean_alloc_ctor(0, 3, 0); @@ -43450,7 +46720,7 @@ static lean_object* _init_l_Lean_Elab_Term_checkForHiddenUnivLevels___closed__1( _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3; +x_1 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3; x_2 = l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_1); @@ -43552,7 +46822,7 @@ else { lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_free_object(x_19); -x_33 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1; +x_33 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__1; x_34 = lean_box(0); x_35 = l_Lean_Elab_Term_checkForHiddenUnivLevels___lambda__1(x_1, x_33, x_23, x_2, x_16, x_17, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_22); return x_35; @@ -43622,7 +46892,7 @@ return x_49; else { lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1; +x_50 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__1; x_51 = lean_box(0); x_52 = l_Lean_Elab_Term_checkForHiddenUnivLevels___lambda__1(x_1, x_50, x_38, x_2, x_16, x_17, x_51, x_3, x_4, x_5, x_6, x_7, x_8, x_37); return x_52; @@ -43740,7 +47010,7 @@ else { lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_dec(x_64); -x_77 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1; +x_77 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__1; x_78 = lean_box(0); x_79 = l_Lean_Elab_Term_checkForHiddenUnivLevels___lambda__1(x_1, x_77, x_65, x_2, x_58, x_59, x_78, x_3, x_4, x_5, x_6, x_7, x_8, x_63); return x_79; @@ -45118,7 +48388,45 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__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_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMutualDef_go___spec__5(lean_object* x_1, size_t x_2, size_t x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_eq(x_2, x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; uint8_t x_8; +x_5 = lean_array_uget(x_1, x_2); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_ctor_get_uint8(x_6, sizeof(void*)*9); +lean_dec(x_6); +x_8 = l_Lean_Elab_DefKind_isTheorem(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +x_9 = 1; +return x_9; +} +else +{ +size_t x_10; size_t x_11; +x_10 = 1; +x_11 = lean_usize_add(x_2, x_10); +x_2 = x_11; +goto _start; +} +} +else +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___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) { _start: { uint8_t x_11; @@ -45199,7 +48507,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___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: { lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; @@ -45434,7 +48742,7 @@ return x_62; } } } -static lean_object* _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__1() { +static lean_object* _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__1() { _start: { lean_object* x_1; @@ -45442,7 +48750,7 @@ x_1 = l_Lean_declRangeExt; return x_1; } } -static lean_object* _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__2() { +static lean_object* _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -45455,12 +48763,12 @@ lean_ctor_set(x_2, 3, x_1); return x_2; } } -static lean_object* _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__3() { +static lean_object* _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__13; -x_2 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__2; +x_2 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__2; x_3 = lean_alloc_ctor(0, 7, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_1); @@ -45472,7 +48780,7 @@ lean_ctor_set(x_3, 6, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___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, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_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; @@ -45489,7 +48797,7 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean x_14 = lean_ctor_get(x_11, 0); x_15 = lean_ctor_get(x_11, 4); lean_dec(x_15); -x_16 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__1; +x_16 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__1; x_17 = l_Lean_MapDeclarationExtension_insert___rarg(x_16, x_14, x_1, x_2); x_18 = l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__14; lean_ctor_set(x_11, 4, x_18); @@ -45510,7 +48818,7 @@ if (x_24 == 0) lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; x_25 = lean_ctor_get(x_22, 1); lean_dec(x_25); -x_26 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__3; +x_26 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__3; lean_ctor_set(x_22, 1, x_26); x_27 = lean_st_ref_set(x_6, x_22, x_23); x_28 = !lean_is_exclusive(x_27); @@ -45548,7 +48856,7 @@ lean_inc(x_36); lean_inc(x_35); lean_inc(x_34); lean_dec(x_22); -x_38 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__3; +x_38 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__3; x_39 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_39, 0, x_34); lean_ctor_set(x_39, 1, x_38); @@ -45593,7 +48901,7 @@ lean_inc(x_47); lean_inc(x_46); lean_inc(x_45); lean_dec(x_11); -x_51 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__1; +x_51 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__1; x_52 = l_Lean_MapDeclarationExtension_insert___rarg(x_51, x_45, x_1, x_2); x_53 = l_Lean_Elab_Term_checkForHiddenUnivLevels_visitLevel___closed__14; x_54 = lean_alloc_ctor(0, 7, 0); @@ -45633,7 +48941,7 @@ if (lean_is_exclusive(x_58)) { lean_dec_ref(x_58); x_64 = lean_box(0); } -x_65 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__3; +x_65 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__3; if (lean_is_scalar(x_64)) { x_66 = lean_alloc_ctor(0, 5, 0); } else { @@ -45667,7 +48975,7 @@ return x_71; } } } -static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__1() { +static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__1() { _start: { lean_object* x_1; @@ -45675,32 +48983,32 @@ x_1 = lean_mk_string_unchecked("example", 7, 7); return x_1; } } -static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__2() { +static lean_object* _init_l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___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___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__1; x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__2; x_3 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__3; -x_4 = l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__1; +x_4 = l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___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_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_inc(x_2); x_10 = l_Lean_Syntax_getKind(x_2); -x_11 = l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__2; +x_11 = l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__2; x_12 = lean_name_eq(x_10, 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; uint8_t x_18; lean_inc(x_7); -x_13 = l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_13 = l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__8(x_2, 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); x_15 = lean_ctor_get(x_13, 1); @@ -45708,7 +49016,7 @@ lean_inc(x_15); lean_dec(x_13); x_16 = l_Lean_Elab_getDeclarationSelectionRef(x_2); lean_inc(x_7); -x_17 = l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__7(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_17 = l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__8(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_15); lean_dec(x_16); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) @@ -45718,7 +49026,7 @@ x_19 = lean_ctor_get(x_17, 0); x_20 = lean_ctor_get(x_17, 1); lean_ctor_set(x_17, 1, x_19); lean_ctor_set(x_17, 0, x_14); -x_21 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_20); +x_21 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_20); lean_dec(x_7); return x_21; } @@ -45733,7 +49041,7 @@ lean_dec(x_17); x_24 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_24, 0, x_14); lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8(x_1, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +x_25 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9(x_1, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_23); lean_dec(x_7); return x_25; } @@ -45752,7 +49060,7 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__9(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_Term_elabMutualDef_go___spec__10(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; @@ -45818,7 +49126,7 @@ x_29 = lean_ctor_get(x_14, 0); lean_inc(x_29); lean_dec(x_14); lean_inc(x_9); -x_30 = l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6(x_28, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_30 = l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7(x_28, x_29, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); @@ -45850,7 +49158,7 @@ x_41 = lean_ctor_get(x_14, 0); lean_inc(x_41); lean_dec(x_14); lean_inc(x_9); -x_42 = l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6(x_40, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_42 = l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7(x_40, x_41, x_5, x_6, x_7, x_8, x_9, x_10, x_11); x_43 = lean_ctor_get(x_42, 1); lean_inc(x_43); lean_dec(x_42); @@ -45865,7 +49173,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__11(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_Term_elabMutualDef_go___spec__12(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; @@ -45899,41 +49207,6 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__12(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_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; size_t x_18; size_t x_19; lean_object* x_20; -lean_dec(x_5); -x_15 = lean_array_uget(x_2, x_4); -lean_inc(x_1); -x_16 = lean_io_promise_resolve(x_1, x_15, x_12); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = 1; -x_19 = lean_usize_add(x_4, x_18); -x_20 = lean_box(0); -x_4 = x_19; -x_5 = x_20; -x_12 = x_17; -goto _start; -} -} -} LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__13(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: { @@ -45969,7 +49242,42 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__14(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_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; size_t x_18; size_t x_19; lean_object* x_20; +lean_dec(x_5); +x_15 = lean_array_uget(x_2, x_4); +lean_inc(x_1); +x_16 = lean_io_promise_resolve(x_1, x_15, x_12); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = 1; +x_19 = lean_usize_add(x_4, x_18); +x_20 = lean_box(0); +x_4 = x_19; +x_5 = x_20; +x_12 = x_17; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; @@ -45980,7 +49288,7 @@ lean_dec(x_12); x_14 = l_List_toArrayAux___rarg(x_11, x_13); x_15 = lean_array_size(x_14); x_16 = 0; -x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__11(x_15, x_16, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__12(x_15, x_16, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -46004,7 +49312,7 @@ x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); x_24 = lean_box(0); -x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__12(x_1, x_18, x_20, x_16, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__13(x_1, x_18, x_20, x_16, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_23); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -46042,7 +49350,7 @@ x_31 = lean_ctor_get(x_21, 1); lean_inc(x_31); lean_dec(x_21); x_32 = lean_box(0); -x_33 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__13(x_1, x_18, x_20, x_16, x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_31); +x_33 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__14(x_1, x_18, x_20, x_16, x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_31); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -46074,7 +49382,7 @@ return x_37; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__15(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_Term_elabMutualDef_go___spec__16(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; @@ -46108,41 +49416,6 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__16(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_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; size_t x_18; size_t x_19; lean_object* x_20; -lean_dec(x_5); -x_15 = lean_array_uget(x_2, x_4); -lean_inc(x_1); -x_16 = lean_io_promise_resolve(x_1, x_15, x_12); -lean_dec(x_15); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = 1; -x_19 = lean_usize_add(x_4, x_18); -x_20 = lean_box(0); -x_4 = x_19; -x_5 = x_20; -x_12 = x_17; -goto _start; -} -} -} LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__17(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: { @@ -46178,7 +49451,42 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__18(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_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; size_t x_18; size_t x_19; lean_object* x_20; +lean_dec(x_5); +x_15 = lean_array_uget(x_2, x_4); +lean_inc(x_1); +x_16 = lean_io_promise_resolve(x_1, x_15, x_12); +lean_dec(x_15); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = 1; +x_19 = lean_usize_add(x_4, x_18); +x_20 = lean_box(0); +x_4 = x_19; +x_5 = x_20; +x_12 = x_17; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___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; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; lean_object* x_21; @@ -46189,7 +49497,7 @@ lean_dec(x_12); x_14 = l_List_toArrayAux___rarg(x_11, x_13); x_15 = lean_array_size(x_14); x_16 = 0; -x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__15(x_15, x_16, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__16(x_15, x_16, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -46213,7 +49521,7 @@ x_23 = lean_ctor_get(x_21, 1); lean_inc(x_23); lean_dec(x_21); x_24 = lean_box(0); -x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__16(x_1, x_18, x_20, x_16, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +x_25 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__17(x_1, x_18, x_20, x_16, x_24, x_4, x_5, x_6, x_7, x_8, x_9, x_23); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -46251,7 +49559,7 @@ x_31 = lean_ctor_get(x_21, 1); lean_inc(x_31); lean_dec(x_21); x_32 = lean_box(0); -x_33 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__17(x_1, x_18, x_20, x_16, x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_31); +x_33 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__18(x_1, x_18, x_20, x_16, x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_31); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -46590,672 +49898,759 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___lambda__2(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, lean_object* x_9, 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_Elab_Term_elabMutualDef_go___lambda__2(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, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -size_t x_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_array_size(x_1); -x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__3(x_16, x_2, x_1, x_9, x_10, x_11, x_12, x_13, x_14, 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_Lean_Elab_Term_getLetRecsToLift___rarg(x_10, x_11, x_12, x_13, x_14, 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_box(0); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_24 = l_List_mapM_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__2(x_21, x_23, x_9, x_10, x_11, x_12, x_13, x_14, x_22); -if (lean_obj_tag(x_24) == 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_inc(x_13); -lean_inc(x_11); -lean_inc(x_9); -lean_inc_n(x_25, 2); -lean_inc(x_3); -x_27 = l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1(x_3, x_25, x_25, x_9, x_10, x_11, x_12, x_13, x_14, x_26); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_28 = lean_ctor_get(x_27, 1); -lean_inc(x_28); -lean_dec(x_27); -x_29 = lean_box_usize(x_2); -lean_inc(x_25); -lean_inc(x_8); -lean_inc(x_18); -x_30 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef_go___lambda__1___boxed), 16, 8); -lean_closure_set(x_30, 0, x_18); -lean_closure_set(x_30, 1, x_3); -lean_closure_set(x_30, 2, x_8); -lean_closure_set(x_30, 3, x_25); -lean_closure_set(x_30, 4, x_29); -lean_closure_set(x_30, 5, x_4); -lean_closure_set(x_30, 6, x_5); -lean_closure_set(x_30, 7, x_6); -x_31 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___rarg(x_7, x_18, x_8, x_25, x_30, x_9, x_10, x_11, x_12, x_13, x_14, x_28); -lean_dec(x_8); -lean_dec(x_18); -return x_31; -} -else -{ -uint8_t x_32; -lean_dec(x_25); -lean_dec(x_18); -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_3); -x_32 = !lean_is_exclusive(x_27); -if (x_32 == 0) -{ -return x_27; -} -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_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; -} -} -} -else -{ -uint8_t x_36; -lean_dec(x_18); -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_3); -x_36 = !lean_is_exclusive(x_24); -if (x_36 == 0) -{ -return x_24; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_24, 0); -x_38 = lean_ctor_get(x_24, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_24); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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) { -_start: -{ -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_array_get_size(x_6); -x_15 = lean_unsigned_to_nat(0u); -lean_inc(x_6); -x_16 = l_Array_toSubarray___rarg(x_6, x_15, x_14); +size_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; lean_object* x_25; x_17 = lean_array_size(x_1); -x_18 = 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_19 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__1(x_1, x_17, x_18, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -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_44; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -if (lean_is_exclusive(x_19)) { - lean_ctor_release(x_19, 0); - lean_ctor_release(x_19, 1); - x_21 = x_19; -} else { - lean_dec_ref(x_19); - x_21 = lean_box(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_2); -x_44 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues(x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_44) == 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 = 1; -x_48 = 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_49 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_47, x_48, x_7, x_8, x_9, x_10, x_11, x_12, x_46); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; size_t x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_array_size(x_45); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_52 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__2(x_51, x_18, x_45, x_7, x_8, x_9, x_10, x_11, x_12, x_50); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_21); -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 = l_Lean_Elab_Term_elabMutualDef_go___lambda__2(x_2, x_18, x_6, x_3, x_4, x_1, x_5, x_53, x_7, x_8, x_9, x_10, x_11, x_12, x_54); -return x_55; -} -else -{ -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_52, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_52, 1); -lean_inc(x_57); -lean_dec(x_52); -x_22 = x_56; -x_23 = x_57; -goto block_43; -} -} -else -{ -lean_object* x_58; lean_object* x_59; -lean_dec(x_45); -x_58 = lean_ctor_get(x_49, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_49, 1); -lean_inc(x_59); -lean_dec(x_49); -x_22 = x_58; -x_23 = x_59; -goto block_43; -} -} -else -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_44, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_44, 1); -lean_inc(x_61); -lean_dec(x_44); -x_22 = x_60; -x_23 = x_61; -goto block_43; -} -block_43: -{ -uint8_t x_24; -x_24 = l_Lean_Exception_isInterrupt(x_22); -if (x_24 == 0) -{ -uint8_t x_25; -x_25 = l_Lean_Exception_isRuntime(x_22); -if (x_25 == 0) -{ -lean_object* x_26; -lean_dec(x_21); -lean_inc(x_11); -x_26 = l_Lean_Elab_logException___at_Lean_Elab_Term_exceptionToSorry___spec__1(x_22, x_7, x_8, x_9, x_10, x_11, x_12, x_23); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; size_t x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_array_size(x_2); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_2); -x_29 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__5(x_28, x_18, x_2, x_7, x_8, x_9, x_10, x_11, x_12, x_27); -if (lean_obj_tag(x_29) == 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); -lean_dec(x_29); -x_32 = l_Lean_Elab_Term_elabMutualDef_go___lambda__2(x_2, x_18, x_6, x_3, x_4, x_1, x_5, x_30, 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_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_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_33 = !lean_is_exclusive(x_29); -if (x_33 == 0) -{ -return x_29; -} -else -{ -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 -{ -uint8_t 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_6); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_37 = !lean_is_exclusive(x_26); -if (x_37 == 0) -{ -return x_26; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_26, 0); -x_39 = lean_ctor_get(x_26, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_26); -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_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_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -if (lean_is_scalar(x_21)) { - x_41 = lean_alloc_ctor(1, 2, 0); -} else { - x_41 = x_21; - lean_ctor_set_tag(x_41, 1); -} -lean_ctor_set(x_41, 0, x_22); -lean_ctor_set(x_41, 1, x_23); -return x_41; -} -} -else -{ -lean_object* x_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_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -if (lean_is_scalar(x_21)) { - x_42 = lean_alloc_ctor(1, 2, 0); -} else { - x_42 = x_21; - lean_ctor_set_tag(x_42, 1); -} -lean_ctor_set(x_42, 0, x_22); -lean_ctor_set(x_42, 1, x_23); -return x_42; -} -} -} -else -{ -uint8_t x_62; -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_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_62 = !lean_is_exclusive(x_19); -if (x_62 == 0) -{ -return x_19; -} -else -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_19, 0); -x_64 = lean_ctor_get(x_19, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_19); -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_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = l_Lean_Elab_Term_getLevelNames___rarg(x_6, x_7, x_8, x_9, x_10, 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); -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_1); -x_15 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -if (lean_obj_tag(x_15) == 0) -{ -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); -lean_dec(x_15); -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_18 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders(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) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__3(x_17, x_2, x_1, x_10, x_11, x_12, x_13, x_14, x_15, x_16); 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_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(x_19); +x_21 = l_Lean_Elab_Term_getLetRecsToLift___rarg(x_11, x_12, x_13, x_14, x_15, x_20); +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box(0); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_25 = l_List_mapM_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__2(x_22, x_24, x_10, x_11, x_12, x_13, x_14, x_15, x_23); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +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_14); +lean_inc(x_12); +lean_inc(x_10); +lean_inc_n(x_26, 2); +lean_inc(x_3); +x_28 = l_List_forM___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes___spec__1(x_3, x_26, x_26, x_10, x_11, x_12, x_13, x_14, x_15, 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; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_ctor_get(x_14, 2); +lean_inc(x_30); +x_31 = lean_array_get_size(x_19); +x_32 = lean_unsigned_to_nat(0u); +x_33 = lean_nat_dec_lt(x_32, x_31); +x_34 = lean_box_usize(x_2); +lean_inc(x_26); +lean_inc(x_9); lean_inc(x_19); -lean_inc(x_1); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef_go___lambda__3___boxed), 13, 5); -lean_closure_set(x_22, 0, x_1); -lean_closure_set(x_22, 1, x_19); -lean_closure_set(x_22, 2, x_21); -lean_closure_set(x_22, 3, x_13); -lean_closure_set(x_22, 4, x_3); +x_35 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef_go___lambda__1___boxed), 16, 8); +lean_closure_set(x_35, 0, x_19); +lean_closure_set(x_35, 1, x_3); +lean_closure_set(x_35, 2, x_9); +lean_closure_set(x_35, 3, x_26); +lean_closure_set(x_35, 4, x_34); +lean_closure_set(x_35, 5, x_4); +lean_closure_set(x_35, 6, x_5); +lean_closure_set(x_35, 7, x_6); +if (x_33 == 0) +{ +lean_object* x_36; uint8_t x_37; +lean_dec(x_31); +x_36 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__1; +x_37 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_30, x_36); +lean_dec(x_30); +if (x_37 == 0) +{ +lean_object* x_38; +lean_dec(x_26); +lean_dec(x_9); +x_38 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___rarg(x_7, x_8, x_19, x_35, x_10, x_11, x_12, x_13, x_14, x_15, x_29); +lean_dec(x_19); +return x_38; +} +else +{ +lean_object* x_39; +x_39 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___rarg(x_7, x_19, x_9, x_26, x_35, x_10, x_11, x_12, x_13, x_14, x_15, x_29); +lean_dec(x_9); +lean_dec(x_19); +return x_39; +} +} +else +{ +size_t x_40; uint8_t x_41; +x_40 = lean_usize_of_nat(x_31); +lean_dec(x_31); +x_41 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMutualDef_go___spec__5(x_19, x_2, x_40); +if (x_41 == 0) +{ +lean_object* x_42; uint8_t x_43; +x_42 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__1; +x_43 = l_Lean_Option_get___at___private_Lean_Util_Profile_0__Lean_get__profiler___spec__1(x_30, x_42); +lean_dec(x_30); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec(x_26); +lean_dec(x_9); +x_44 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___rarg(x_7, x_8, x_19, x_35, x_10, x_11, x_12, x_13, x_14, x_15, x_29); +lean_dec(x_19); +return x_44; +} +else +{ +lean_object* x_45; +x_45 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___rarg(x_7, x_19, x_9, x_26, x_35, x_10, x_11, x_12, x_13, x_14, x_15, x_29); +lean_dec(x_9); +lean_dec(x_19); +return x_45; +} +} +else +{ +lean_object* x_46; +lean_dec(x_30); +x_46 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___rarg(x_7, x_19, x_9, x_26, x_35, x_10, x_11, x_12, x_13, x_14, x_15, x_29); +lean_dec(x_9); +lean_dec(x_19); +return x_46; +} +} +} +else +{ +uint8_t x_47; +lean_dec(x_26); +lean_dec(x_19); +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_3); +x_47 = !lean_is_exclusive(x_28); +if (x_47 == 0) +{ +return x_28; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_28, 0); +x_49 = lean_ctor_get(x_28, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_28); +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 +{ +uint8_t x_51; +lean_dec(x_19); +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_3); +x_51 = !lean_is_exclusive(x_25); +if (x_51 == 0) +{ +return x_25; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_25, 0); +x_53 = lean_ctor_get(x_25, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_25); +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_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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: +{ +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_array_get_size(x_7); +x_16 = lean_unsigned_to_nat(0u); +lean_inc(x_7); +x_17 = l_Array_toSubarray___rarg(x_7, x_16, x_15); +x_18 = lean_array_size(x_1); +x_19 = 0; +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_20 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__1(x_1, x_18, x_19, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +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_45; +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + lean_ctor_release(x_20, 1); + x_22 = x_20; +} else { + lean_dec_ref(x_20); + x_22 = lean_box(0); +} +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_2); +x_45 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues(x_2, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_21); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; uint8_t x_48; uint8_t 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 = 1; +x_49 = 0; +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_50 = l_Lean_Elab_Term_synthesizeSyntheticMVars(x_48, x_49, x_8, x_9, x_10, x_11, x_12, x_13, x_47); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; size_t 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_array_size(x_46); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_53 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_MutualClosure_main___spec__2(x_52, x_19, x_46, x_8, x_9, x_10, x_11, x_12, x_13, x_51); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_22); +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = l_Lean_Elab_Term_elabMutualDef_go___lambda__2(x_2, x_19, x_7, x_3, x_4, x_1, x_5, x_6, x_54, x_8, x_9, x_10, x_11, x_12, x_13, x_55); +lean_dec(x_6); +lean_dec(x_5); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_ctor_get(x_53, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_53, 1); +lean_inc(x_58); +lean_dec(x_53); +x_23 = x_57; +x_24 = x_58; +goto block_44; +} +} +else +{ +lean_object* x_59; lean_object* x_60; +lean_dec(x_46); +x_59 = lean_ctor_get(x_50, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_50, 1); +lean_inc(x_60); +lean_dec(x_50); +x_23 = x_59; +x_24 = x_60; +goto block_44; +} +} +else +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_45, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_45, 1); +lean_inc(x_62); +lean_dec(x_45); +x_23 = x_61; +x_24 = x_62; +goto block_44; +} +block_44: +{ +uint8_t x_25; +x_25 = l_Lean_Exception_isInterrupt(x_23); +if (x_25 == 0) +{ +uint8_t x_26; +x_26 = l_Lean_Exception_isRuntime(x_23); +if (x_26 == 0) +{ +lean_object* x_27; +lean_dec(x_22); +lean_inc(x_12); +x_27 = l_Lean_Elab_logException___at_Lean_Elab_Term_exceptionToSorry___spec__1(x_23, x_8, x_9, x_10, x_11, x_12, x_13, x_24); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; size_t x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_array_size(x_2); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_2); +x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___spec__6(x_29, x_19, x_2, x_8, x_9, x_10, x_11, x_12, x_13, x_28); +if (lean_obj_tag(x_30) == 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_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Elab_Term_elabMutualDef_go___lambda__2(x_2, x_19, x_7, x_3, x_4, x_1, x_5, x_6, x_31, x_8, x_9, x_10, x_11, x_12, x_13, x_32); +lean_dec(x_6); +lean_dec(x_5); +return x_33; +} +else +{ +uint8_t x_34; +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); +lean_dec(x_1); +x_34 = !lean_is_exclusive(x_30); +if (x_34 == 0) +{ +return x_30; +} +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_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; +} +} +} +else +{ +uint8_t x_38; +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); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_27); +if (x_38 == 0) +{ +return x_27; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_27, 0); +x_40 = lean_ctor_get(x_27, 1); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_27); +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_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_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); +if (lean_is_scalar(x_22)) { + x_42 = lean_alloc_ctor(1, 2, 0); +} else { + x_42 = x_22; + lean_ctor_set_tag(x_42, 1); +} +lean_ctor_set(x_42, 0, x_23); +lean_ctor_set(x_42, 1, x_24); +return x_42; +} +} +else +{ +lean_object* x_43; +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); +lean_dec(x_1); +if (lean_is_scalar(x_22)) { + x_43 = lean_alloc_ctor(1, 2, 0); +} else { + x_43 = x_22; + lean_ctor_set_tag(x_43, 1); +} +lean_ctor_set(x_43, 0, x_23); +lean_ctor_set(x_43, 1, x_24); +return x_43; +} +} +} +else +{ +uint8_t 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_3); +lean_dec(x_2); +lean_dec(x_1); +x_63 = !lean_is_exclusive(x_20); +if (x_63 == 0) +{ +return x_20; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_20, 0); +x_65 = lean_ctor_get(x_20, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_20); +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; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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; +x_13 = l_Lean_Elab_Term_getLevelNames___rarg(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_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); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_19); -x_23 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls___rarg(x_19, x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_20); -if (lean_obj_tag(x_23) == 0) +lean_inc(x_1); +x_16 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; uint8_t x_31; -x_24 = lean_ctor_get(x_23, 1); -lean_inc(x_24); -lean_dec(x_23); -x_25 = lean_array_get_size(x_19); -x_26 = lean_unsigned_to_nat(0u); -x_27 = l_Array_toSubarray___rarg(x_19, x_26, x_25); -x_28 = lean_array_size(x_1); -x_29 = 0; -x_30 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__9(x_1, x_28, x_29, x_27, x_5, x_6, x_7, x_8, x_9, x_10, x_24); -lean_dec(x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 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_inc(x_18); +lean_dec(x_16); +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_19 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders(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_32; lean_object* x_33; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -x_33 = lean_box(0); -lean_ctor_set(x_30, 0, x_33); -return x_30; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_30, 1); -lean_inc(x_34); -lean_dec(x_30); -x_35 = lean_box(0); -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; -} -} -else -{ -uint8_t x_37; +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); +x_22 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(x_20); +lean_inc(x_20); +lean_inc(x_1); +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef_go___lambda__3), 14, 6); +lean_closure_set(x_23, 0, x_1); +lean_closure_set(x_23, 1, x_20); +lean_closure_set(x_23, 2, x_22); +lean_closure_set(x_23, 3, x_14); +lean_closure_set(x_23, 4, x_3); +lean_closure_set(x_23, 5, x_4); +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_20); +x_24 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls___rarg(x_20, x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_21); +if (lean_obj_tag(x_24) == 0) +{ +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; uint8_t x_32; +x_25 = lean_ctor_get(x_24, 1); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_array_get_size(x_20); +x_27 = lean_unsigned_to_nat(0u); +x_28 = l_Array_toSubarray___rarg(x_20, x_27, x_26); +x_29 = lean_array_size(x_1); +x_30 = 0; +x_31 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__10(x_1, x_29, x_30, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_25); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +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_box(0); +lean_ctor_set(x_31, 0, x_34); +return x_31; +} +else +{ +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_box(0); +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 +{ +uint8_t x_38; +lean_dec(x_20); +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_1); -x_37 = !lean_is_exclusive(x_23); -if (x_37 == 0) +x_38 = !lean_is_exclusive(x_24); +if (x_38 == 0) { -return x_23; +return x_24; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_23, 0); -x_39 = lean_ctor_get(x_23, 1); +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_inc(x_38); -lean_dec(x_23); -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_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; } } } else { -uint8_t x_41; -lean_dec(x_13); +uint8_t x_42; +lean_dec(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_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_41 = !lean_is_exclusive(x_18); -if (x_41 == 0) +x_42 = !lean_is_exclusive(x_19); +if (x_42 == 0) { -return x_18; +return x_19; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_18, 0); -x_43 = lean_ctor_get(x_18, 1); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_19, 0); +x_44 = lean_ctor_get(x_19, 1); +lean_inc(x_44); lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_18); -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_19); +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_45; -lean_dec(x_13); +uint8_t x_46; +lean_dec(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_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_45 = !lean_is_exclusive(x_15); -if (x_45 == 0) +x_46 = !lean_is_exclusive(x_16); +if (x_46 == 0) { +return x_16; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_16, 0); +x_48 = lean_ctor_get(x_16, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_16); +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_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef_go___lambda__4), 12, 4); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_5); +lean_closure_set(x_13, 2, x_2); +lean_closure_set(x_13, 3, x_3); +x_14 = l_Lean_Elab_Tactic_instInhabitedTacticParsedSnapshot; +x_15 = l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___spec__11(x_14, x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_15; } -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_15, 0); -x_47 = lean_ctor_get(x_15, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_15); -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_Term_elabMutualDef_go___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_elabMutualDef_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, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef_go___lambda__4), 11, 3); -lean_closure_set(x_12, 0, x_1); -lean_closure_set(x_12, 1, x_4); -lean_closure_set(x_12, 2, x_2); -x_13 = l_Lean_Elab_Tactic_instInhabitedTacticParsedSnapshot; -x_14 = l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___spec__10(x_13, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_box(0); +x_12 = lean_array_get_size(x_3); +lean_inc(x_12); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef_go___lambda__5), 12, 4); +lean_closure_set(x_13, 0, x_3); +lean_closure_set(x_13, 1, x_1); +lean_closure_set(x_13, 2, x_2); +lean_closure_set(x_13, 3, x_12); +x_14 = l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___spec__15(x_11, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_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, 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; -x_10 = lean_box(0); -x_11 = lean_array_get_size(x_2); -lean_inc(x_11); -x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef_go___lambda__5), 11, 3); -lean_closure_set(x_12, 0, x_2); -lean_closure_set(x_12, 1, x_1); -lean_closure_set(x_12, 2, x_11); -x_13 = l_Lean_Language_withAlwaysResolvedPromises___at_Lean_Elab_Term_elabMutualDef_go___spec__14(x_10, x_11, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_13; -} -} LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_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: { @@ -47317,7 +50712,21 @@ lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_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_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMutualDef_go___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMutualDef_go___spec__5(x_1, x_4, x_5); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___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) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -47325,17 +50734,17 @@ 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_Term_elabMutualDef_go___spec__5(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_Term_elabMutualDef_go___spec__6(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_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___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_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_getDeclarationRange___at_Lean_Elab_Term_elabMutualDef_go___spec__8(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); @@ -47345,11 +50754,11 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___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) { _start: { lean_object* x_10; -x_10 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9(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); @@ -47359,11 +50768,11 @@ lean_dec(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___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) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7(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_6); lean_dec(x_5); @@ -47372,7 +50781,7 @@ lean_dec(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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) { _start: { size_t x_12; size_t x_13; lean_object* x_14; @@ -47380,7 +50789,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_Term_elabMutualDef_go___spec__9(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_Term_elabMutualDef_go___spec__10(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_10); lean_dec(x_8); lean_dec(x_7); @@ -47390,7 +50799,7 @@ lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___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) { _start: { size_t x_11; size_t x_12; lean_object* x_13; @@ -47398,7 +50807,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_Term_elabMutualDef_go___spec__11(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_Term_elabMutualDef_go___spec__12(x_11, x_12, 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); @@ -47408,25 +50817,6 @@ lean_dec(x_4); return x_13; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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) { -_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_Term_elabMutualDef_go___spec__12(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_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_2); -return x_15; -} -} LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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) { _start: { @@ -47446,25 +50836,7 @@ lean_dec(x_2); return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___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: -{ -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_Term_elabMutualDef_go___spec__15(x_11, x_12, 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_4); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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; @@ -47472,7 +50844,7 @@ 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_Term_elabMutualDef_go___spec__16(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__14(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_11); lean_dec(x_10); lean_dec(x_9); @@ -47483,6 +50855,24 @@ lean_dec(x_2); return x_15; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef_go___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) { +_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_Term_elabMutualDef_go___spec__16(x_11, x_12, 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_4); +return x_13; +} +} LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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: { @@ -47502,6 +50892,25 @@ lean_dec(x_2); return x_15; } } +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___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_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_Term_elabMutualDef_go___spec__18(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_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_15; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_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, 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: { @@ -47512,24 +50921,16 @@ x_18 = l_Lean_Elab_Term_elabMutualDef_go___lambda__1(x_1, x_2, x_3, x_4, x_17, x return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -size_t x_16; lean_object* x_17; -x_16 = lean_unbox_usize(x_2); +size_t x_17; lean_object* x_18; +x_17 = lean_unbox_usize(x_2); lean_dec(x_2); -x_17 = l_Lean_Elab_Term_elabMutualDef_go___lambda__2(x_1, x_16, 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_18 = l_Lean_Elab_Term_elabMutualDef_go___lambda__2(x_1, x_17, 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); +lean_dec(x_8); lean_dec(x_7); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef_go___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: -{ -lean_object* x_14; -x_14 = l_Lean_Elab_Term_elabMutualDef_go___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); -lean_dec(x_5); -return x_14; +return x_18; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_elabMutualDef___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) { @@ -49722,111 +53123,112 @@ x_10 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoCont return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_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_Term_elabMutualDef(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_10; -x_10 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample(x_2); -if (x_10 == 0) +uint8_t x_11; +x_11 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample(x_3); +if (x_11 == 0) { -lean_object* x_11; -x_11 = l_Lean_Elab_Term_elabMutualDef_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; +lean_object* x_12; +x_12 = l_Lean_Elab_Term_elabMutualDef_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } 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_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef_go), 9, 2); -lean_closure_set(x_12, 0, x_1); -lean_closure_set(x_12, 1, x_2); -x_13 = lean_st_ref_get(x_8, 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_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_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef_go), 10, 3); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_3); +x_14 = lean_st_ref_get(x_9, x_10); +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_14, 0); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__1___lambda__1___boxed), 7, 0); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__1___lambda__1___boxed), 7, 0); +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_18 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__2(x_12, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -if (lean_obj_tag(x_18) == 0) +x_19 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__2(x_13, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_16); +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 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_21); +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_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +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 { -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = lean_ctor_get(x_18, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_18, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = lean_ctor_get(x_19, 0); lean_inc(x_27); -lean_dec(x_18); -x_28 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +x_28 = lean_ctor_get(x_19, 1); +lean_inc(x_28); +lean_dec(x_19); +x_29 = l_Lean_setEnv___at_Lean_Elab_Term_evalTerm___spec__1(x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_28); +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_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_30; -x_30 = lean_ctor_get(x_28, 0); -lean_dec(x_30); -lean_ctor_set_tag(x_28, 1); -lean_ctor_set(x_28, 0, x_26); -return x_28; +lean_object* x_31; +x_31 = lean_ctor_get(x_29, 0); +lean_dec(x_31); +lean_ctor_set_tag(x_29, 1); +lean_ctor_set(x_29, 0, x_27); +return x_29; } else { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_dec(x_28); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_26); -lean_ctor_set(x_32, 1, x_31); -return x_32; +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(1, 2, 0); +lean_ctor_set(x_33, 0, x_27); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } @@ -50052,23 +53454,6 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("]", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__3; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -50097,7 +53482,7 @@ x_14 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lam 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_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__4; +x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__10; x_17 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); @@ -50141,7 +53526,7 @@ x_25 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lam x_26 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); -x_27 = l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__4; +x_27 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__10; x_28 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -53975,22 +57360,32 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___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_Elab_Command_elabMutualDef___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_10; -x_10 = l_Lean_Elab_Term_elabMutualDef(x_2, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_10; +lean_object* x_11; +x_11 = l_Lean_Elab_Term_elabMutualDef(x_3, x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lambda__2(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_Elab_Command_elabMutualDef___lambda__1), 9, 1); -lean_closure_set(x_6, 0, x_1); -x_7 = l_Lean_Elab_Command_runTermElabM___rarg(x_6, x_3, x_4, x_5); -return 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; +x_6 = l_Lean_Elab_Command_getScope___rarg(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 = lean_ctor_get(x_7, 6); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMutualDef___lambda__1), 10, 2); +lean_closure_set(x_10, 0, x_9); +lean_closure_set(x_10, 1, x_1); +x_11 = l_Lean_Elab_Command_runTermElabM___rarg(x_10, x_3, x_4, x_8); +return x_11; } } static lean_object* _init_l_Lean_Elab_Command_elabMutualDef___lambda__3___closed__1() { @@ -54533,7 +57928,7 @@ lean_dec(x_2); return x_9; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -54543,27 +57938,27 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__2() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__1; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__1; x_2 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__3() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__2; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__2; x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__4() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__4() { _start: { lean_object* x_1; @@ -54571,17 +57966,17 @@ x_1 = lean_mk_string_unchecked("initFn", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__5() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__4; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__3; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__6() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__6() { _start: { lean_object* x_1; @@ -54589,47 +57984,47 @@ x_1 = lean_mk_string_unchecked("_@", 2, 2); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__7() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__5; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__6; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__5; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__8() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__7; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__7; x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__9() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__8; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__8; x_2 = l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__10() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__9; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__9; x_2 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__12___lambda__2___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__11() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__11() { _start: { lean_object* x_1; @@ -54637,33 +58032,33 @@ x_1 = lean_mk_string_unchecked("_hyg", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__12() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__10; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__11; +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__10; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__13() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__12; -x_2 = lean_unsigned_to_nat(15766u); +x_1 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__12; +x_2 = lean_unsigned_to_nat(16546u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546_(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_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__2; x_3 = 0; -x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__13; +x_4 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__13; x_5 = l_Lean_registerTraceClass(x_2, x_3, x_4, x_1); return x_5; } @@ -55070,22 +58465,63 @@ l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint___spec__1___lambda__6___closed__2); l_Lean_Elab_Term_instantiateMVarsProfiling___closed__1 = _init_l_Lean_Elab_Term_instantiateMVarsProfiling___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_instantiateMVarsProfiling___closed__1); -l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1(); +l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__1 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__1); +l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__2 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__2(); +lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__2); +l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3(); +lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__3); +l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4(); +lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__5); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__6 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__6(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642____closed__6); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_MutualDef___hyg_5642_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Elab_Term_deprecated_oldSectionVars = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Elab_Term_deprecated_oldSectionVars); +lean_dec_ref(res); +}l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1 = _init_l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1(); lean_mark_persistent(l_Std_Range_forIn_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__1___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__1); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__2); -l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__2___closed__3); -l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1(); -lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__1); -l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2(); -lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__2); -l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3(); -lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__3); -l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4(); -lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_removeUnusedVars___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__1 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__1); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__2); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__3 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__3(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__3); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__4); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__5 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__5(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__5); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__6); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__7 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__7(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__7); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__8 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__8(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__8); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__9 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__9(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__9); +l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__10 = _init_l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__10(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__3___closed__10); +l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__1 = _init_l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__1(); +lean_mark_persistent(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__1); +l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__2 = _init_l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__2(); +lean_mark_persistent(l_Lean_Core_withRestoreOrSaveFull___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__10___lambda__5___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__1 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__1); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__2 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__2); +l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__3 = _init_l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues___spec__15___lambda__1___closed__3); l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___closed__1 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___closed__1(); lean_mark_persistent(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___closed__1); l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___closed__2 = _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getFunName___closed__2(); @@ -55220,26 +58656,22 @@ l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__4___closed lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__4___closed__1); l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__4___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__4___closed__2(); lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_go___spec__4___closed__2); -l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__1 = _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__1(); -lean_mark_persistent(l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__1); -l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__2 = _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__2(); -lean_mark_persistent(l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__2); -l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__3 = _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__3(); -lean_mark_persistent(l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__8___closed__3); -l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__1 = _init_l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__1(); -lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__1); -l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__2 = _init_l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__2(); -lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__6___closed__2); +l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__1 = _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__1(); +lean_mark_persistent(l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__1); +l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__2 = _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__2(); +lean_mark_persistent(l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__2); +l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__3 = _init_l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__3(); +lean_mark_persistent(l_Lean_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__9___closed__3); +l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__1 = _init_l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__1(); +lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__1); +l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__2 = _init_l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__2(); +lean_mark_persistent(l_Lean_Elab_addDeclarationRanges___at_Lean_Elab_Term_elabMutualDef_go___spec__7___closed__2); l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__1___closed__1 = _init_l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__1___closed__1(); lean_mark_persistent(l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_elabMutualDef___spec__1___closed__1); l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__1 = _init_l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__1); l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__2 = _init_l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__2(); lean_mark_persistent(l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__2); -l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__3 = _init_l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__3); -l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__4 = _init_l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__4(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___lambda__2___closed__4); l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__1 = _init_l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__1(); lean_mark_persistent(l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__1); l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__2 = _init_l_Lean_Elab_elabAttr___at_Lean_Elab_Command_elabMutualDef___spec__4___closed__2(); @@ -55288,33 +58720,33 @@ l_Lean_Elab_Command_elabMutualDef___lambda__3___closed__4 = _init_l_Lean_Elab_Co lean_mark_persistent(l_Lean_Elab_Command_elabMutualDef___lambda__3___closed__4); l_Lean_Elab_Command_elabMutualDef___lambda__3___closed__5 = _init_l_Lean_Elab_Command_elabMutualDef___lambda__3___closed__5(); lean_mark_persistent(l_Lean_Elab_Command_elabMutualDef___lambda__3___closed__5); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__1); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__2(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__2); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__3(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__3); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__4(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__4); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__5(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__5); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__6(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__6); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__7 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__7(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__7); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__8 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__8(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__8); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__9 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__9(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__9); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__10 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__10(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__10); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__11 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__11(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__11); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__12 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__12(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__12); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__13 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__13(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766____closed__13); -if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_15766_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__1); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__2 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__2(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__2); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__3 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__3(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__3); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__4 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__4(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__4); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__5 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__5(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__5); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__6 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__6(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__6); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__7 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__7(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__7); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__8 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__8(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__8); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__9 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__9(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__9); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__10 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__10); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__11 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__11); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__12 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__12(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__12); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__13 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__13(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546____closed__13); +if (builtin) {res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_MutualDef___hyg_16546_(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/Language/Lean.c b/stage0/stdlib/Lean/Language/Lean.c index 2d81a69b73..3d138cf495 100644 --- a/stage0/stdlib/Lean/Language/Lean.c +++ b/stage0/stdlib/Lean/Language/Lean.c @@ -4346,15 +4346,16 @@ x_2 = l_Lean_Language_Lean_initFn____x40_Lean_Language_Lean___hyg_444____closed_ x_3 = lean_box(0); x_4 = l_Lean_Language_Lean_process_parseCmd___lambda__2___closed__9; x_5 = 0; -x_6 = lean_alloc_ctor(0, 7, 1); +x_6 = lean_alloc_ctor(0, 8, 1); lean_ctor_set(x_6, 0, x_2); lean_ctor_set(x_6, 1, x_1); lean_ctor_set(x_6, 2, x_3); lean_ctor_set(x_6, 3, x_1); lean_ctor_set(x_6, 4, x_1); lean_ctor_set(x_6, 5, x_4); -lean_ctor_set(x_6, 6, x_4); -lean_ctor_set_uint8(x_6, sizeof(void*)*7, x_5); +lean_ctor_set(x_6, 6, x_1); +lean_ctor_set(x_6, 7, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*8, x_5); return x_6; } } diff --git a/stage0/stdlib/Lean/Linter/MissingDocs.c b/stage0/stdlib/Lean/Linter/MissingDocs.c index e623f79870..f0e6a95983 100644 --- a/stage0/stdlib/Lean/Linter/MissingDocs.c +++ b/stage0/stdlib/Lean/Linter/MissingDocs.c @@ -8328,14 +8328,16 @@ return x_2; } else { -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_5; 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_5 = lean_ctor_get(x_2, 0); x_6 = lean_ctor_get(x_2, 2); x_7 = lean_ctor_get(x_2, 3); x_8 = lean_ctor_get(x_2, 4); x_9 = lean_ctor_get(x_2, 5); x_10 = lean_ctor_get(x_2, 6); -x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*7); +x_11 = lean_ctor_get(x_2, 7); +x_12 = lean_ctor_get_uint8(x_2, sizeof(void*)*8); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -8343,16 +8345,17 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_dec(x_2); -x_12 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_12, 0, x_5); -lean_ctor_set(x_12, 1, x_1); -lean_ctor_set(x_12, 2, x_6); -lean_ctor_set(x_12, 3, x_7); -lean_ctor_set(x_12, 4, x_8); -lean_ctor_set(x_12, 5, x_9); -lean_ctor_set(x_12, 6, x_10); -lean_ctor_set_uint8(x_12, sizeof(void*)*7, x_11); -return x_12; +x_13 = lean_alloc_ctor(0, 8, 1); +lean_ctor_set(x_13, 0, x_5); +lean_ctor_set(x_13, 1, x_1); +lean_ctor_set(x_13, 2, x_6); +lean_ctor_set(x_13, 3, x_7); +lean_ctor_set(x_13, 4, x_8); +lean_ctor_set(x_13, 5, x_9); +lean_ctor_set(x_13, 6, x_10); +lean_ctor_set(x_13, 7, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*8, x_12); +return x_13; } } } diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index aff5efacca..3c14d20d85 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -30,6 +30,7 @@ lean_object* l_Lean_Parser_many1_formatter(lean_object*, lean_object*, lean_obje static lean_object* l_Lean_Parser_Command_register__tactic__tag_formatter___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initialize_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_ctor_parenthesizer__1___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__39; static lean_object* l_Lean_Parser_Command_openRenaming___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Command_mutual; static lean_object* l_Lean_Parser_Command_declaration_parenthesizer___closed__7; @@ -43,6 +44,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_moduleDoc_parenthesi static lean_object* l_Lean_Parser_Command_nonrec_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_deriving_formatter___closed__8; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_addDocString_formatter__1(lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__44; static lean_object* l_Lean_Parser_Command_tactic__extension___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Command_synth_formatter__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_genInjectiveTheorems_declRange__1___closed__1; @@ -60,6 +62,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_declId_formatter(lean_object*, le static lean_object* l___regBuiltin_Lean_Parser_Command_initialize_declRange__1___closed__6; static lean_object* l_Lean_Parser_Command_openSimple___closed__6; static lean_object* l_Lean_Parser_Command_variable_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__43; static lean_object* l_Lean_Parser_Command_declSig_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_whereStructField_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_deriving_parenthesizer___closed__8; @@ -95,7 +98,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_structCtor_parenthesizer(lean_obj LEAN_EXPORT lean_object* l_Lean_Parser_Command_moduleDoc_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_skipUntilWsOrDelim; static lean_object* l_Lean_Parser_Command_ctor___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__54; static lean_object* l_Lean_Parser_Command_namespace___closed__3; static lean_object* l_Lean_Parser_Command_protected___closed__7; static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__6; @@ -219,8 +221,8 @@ static lean_object* l_Lean_Parser_Command_printEqns_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_exit_declRange__1(lean_object*); static lean_object* l_Lean_Parser_Command_openRenaming_formatter___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_openRenamingItem_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__43; static lean_object* l_Lean_Parser_Command_instance_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_structExplicitBinder_parenthesizer__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_check_declRange__1___closed__6; static lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__16; @@ -247,7 +249,6 @@ static lean_object* l_Lean_Parser_Command_declModifiers___closed__14; static lean_object* l_Lean_Parser_Tactic_open___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_attribute_parenthesizer__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_structSimpleBinder_parenthesizer__1___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__21; static lean_object* l_Lean_Parser_Command_noncomputableSection___closed__1; static lean_object* l_Lean_Parser_Command_instance_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structImplicitBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -292,7 +293,6 @@ static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__10; static lean_object* l_Lean_Parser_Command_eval_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_genInjectiveTheorems_declRange__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__34; static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__14; static lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__9; static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__15; @@ -325,12 +325,12 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_quot_declRange__1___close static lean_object* l_Lean_Parser_Command_addDocString_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_quot_docString__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_open; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__51; static lean_object* l___regBuiltin_Lean_Parser_Command_printAxioms_declRange__1___closed__5; static lean_object* l_Lean_Parser_Command_structCtor___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_open_formatter__1(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_openSimple_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_nonrec___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__35; static lean_object* l_Lean_Parser_Term_open___closed__4; static lean_object* l_Lean_Parser_Command_abbrev_formatter___closed__2; static lean_object* l_Lean_Parser_Command_declValSimple_parenthesizer___closed__2; @@ -350,6 +350,7 @@ static lean_object* l_Lean_Parser_Command_openSimple_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_opaque_parenthesizer__1___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_attribute_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_openScoped___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__52; static lean_object* l_Lean_Parser_Command_computedField_formatter___closed__2; static lean_object* l_Lean_Parser_Command_structExplicitBinder___closed__15; static lean_object* l___regBuiltin_Lean_Parser_Command_nonrec_parenthesizer__1___closed__1; @@ -361,7 +362,6 @@ static lean_object* l_Lean_Parser_Command_structImplicitBinder_parenthesizer___c static lean_object* l_Lean_Parser_Command_declSig___closed__9; static lean_object* l_Lean_Parser_Command_optDefDeriving_formatter___closed__6; static lean_object* l_Lean_Parser_Command_deriving___closed__11; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__53; static lean_object* l_Lean_Parser_Command_structFields_formatter___closed__6; static lean_object* l_Lean_Parser_Command_structSimpleBinder_formatter___closed__3; static lean_object* l_Lean_Parser_Command_universe___closed__6; @@ -370,6 +370,7 @@ static lean_object* l_Lean_Parser_Command_declValSimple_formatter___closed__2; static lean_object* l_Lean_Parser_Command_declValSimple___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_addDocString_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_declVal___closed__6; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declId; static lean_object* l___regBuiltin_Lean_Parser_Command_initialize_declRange__1___closed__3; static lean_object* l_Lean_Parser_Command_include___closed__5; @@ -410,7 +411,6 @@ static lean_object* l_Lean_Parser_Command_whereStructInst_formatter___closed__6; extern lean_object* l_Lean_Parser_Term_structInst; static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__3; static lean_object* l_Lean_Parser_Command_declaration_formatter___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__29; static lean_object* l_Lean_Parser_Command_include___closed__4; static lean_object* l_Lean_Parser_Command_partial___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declId_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -442,7 +442,6 @@ lean_object* l_Lean_Parser_many_parenthesizer(lean_object*, lean_object*, lean_o static lean_object* l_Lean_Parser_Command_definition_formatter___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Term_open_declRange__1(lean_object*); static lean_object* l_Lean_Parser_Command_check_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_include___closed__10; static lean_object* l_Lean_Parser_Command_openOnly___closed__5; static lean_object* l_Lean_Parser_Command_attribute___closed__15; static lean_object* l_Lean_Parser_Command_section___closed__3; @@ -455,7 +454,6 @@ static lean_object* l_Lean_Parser_Command_classInductive___closed__10; static lean_object* l_Lean_Parser_Command_openRenamingItem_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_structure_formatter___closed__4; static lean_object* l_Lean_Parser_Command_derivingClasses_formatter___closed__6; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__41; static lean_object* l___regBuiltin_Lean_Parser_Command_end_declRange__1___closed__2; static lean_object* l_Lean_Parser_Term_set__option_formatter___closed__3; static lean_object* l_Lean_Parser_Command_noncomputableSection___closed__5; @@ -463,6 +461,7 @@ extern lean_object* l_Lean_Parser_Term_binderDefault; static lean_object* l_Lean_Parser_Command_classInductive_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_import_parenthesizer___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_optNamedPrio_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__53; static lean_object* l_Lean_Parser_Command_attribute___closed__16; lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_open_declRange__1(lean_object*); @@ -480,12 +479,10 @@ static lean_object* l___regBuiltin_Lean_Parser_Term_quot__1___closed__1; static lean_object* l_Lean_Parser_Command_initialize_parenthesizer___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_ctor; static lean_object* l_Lean_Parser_Command_init__quot___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__19; static lean_object* l___regBuiltin_Lean_Parser_Command_variable_parenthesizer__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_export_declRange__1___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_check_parenthesizer__1(lean_object*); lean_object* l_Lean_Parser_group_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__38; static lean_object* l_Lean_Parser_Command_structureTk_formatter___closed__2; static lean_object* l_Lean_Parser_Command_openHiding_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_declBody___closed__2; @@ -499,7 +496,6 @@ static lean_object* l_Lean_Parser_Command_definition___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_init__quot_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_structure___closed__2; static lean_object* l_Lean_Parser_Command_eraseAttr___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__2; static lean_object* l_Lean_Parser_Command_check__failure___closed__1; static lean_object* l_Lean_Parser_Command_init__quot_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declId___lambda__1___closed__4___boxed__const__1; @@ -508,6 +504,7 @@ static lean_object* l_Lean_Parser_Command_whereStructInst_parenthesizer___closed static lean_object* l___regBuiltin_Lean_Parser_Command_attribute_declRange__1___closed__3; static lean_object* l_Lean_Parser_Command_check___closed__2; lean_object* l_Lean_Parser_recover(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__51; static lean_object* l_Lean_Parser_Command_tactic__extension_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Term_open; static lean_object* l___regBuiltin_Lean_Parser_Command_section_declRange__1___closed__3; @@ -549,6 +546,7 @@ static lean_object* l_Lean_Parser_Command_declValSimple_formatter___closed__9; static lean_object* l_Lean_Parser_Command_deriving___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_skipUntilWsOrDelim___lambda__1___boxed(lean_object*); static lean_object* l_Lean_Parser_Command_declValEqns_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__21; static lean_object* l_Lean_Parser_Command_structSimpleBinder_formatter___closed__1; static lean_object* l_Lean_Parser_Command_print___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_variable_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -691,6 +689,7 @@ static lean_object* l_Lean_Parser_Command_declValSimple___closed__4; static lean_object* l_Lean_Parser_Command_example___closed__2; static lean_object* l_Lean_Parser_Command_structExplicitBinder___closed__4; static lean_object* l_Lean_Parser_Command_eraseAttr_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__12; static lean_object* l_Lean_Parser_Command_deriving_formatter___closed__3; static lean_object* l_Lean_Parser_Command_import_formatter___closed__1; static lean_object* l_Lean_Parser_Command_openRenamingItem___closed__2; @@ -710,7 +709,9 @@ static lean_object* l_Lean_Parser_Command_computedField___closed__6; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_protected_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_variable___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_genInjectiveTheorems_formatter__1___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__42; static lean_object* l_Lean_Parser_Command_ctor_parenthesizer___closed__3; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__9; lean_object* l_Lean_Parser_incQuotDepth_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_classInductive_parenthesizer___closed__8; extern lean_object* l_Lean_Parser_Term_matchAltsWhereDecls; @@ -748,6 +749,7 @@ static lean_object* l_Lean_Parser_Command_initialize___closed__14; static lean_object* l_Lean_Parser_Command_instance___closed__6; static lean_object* l_Lean_Parser_Command_example_parenthesizer___closed__2; lean_object* l_Lean_Parser_orelse(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__17; static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__19; static lean_object* l___regBuiltin_Lean_Parser_Command_namedPrio_formatter__1___closed__1; static lean_object* l_Lean_Parser_Command_section_parenthesizer___closed__2; @@ -767,17 +769,15 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_optDefDeriving; static lean_object* l_Lean_Parser_Command_optionValue___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Tactic_open_declRange__1___closed__1; static lean_object* l_Lean_Parser_Command_set__option_formatter___closed__8; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Command_noncomputableSection; static lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_skipUntilWs___closed__1; static lean_object* l_Lean_Parser_Term_quot___closed__15; static lean_object* l_Lean_Parser_Command_structFields_formatter___closed__9; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__37; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__16; static lean_object* l___regBuiltin_Lean_Parser_Command_namespace_declRange__1___closed__1; static lean_object* l_Lean_Parser_Command_declId___closed__14; LEAN_EXPORT lean_object* l_Lean_Parser_Command_optDeriving_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_nonrec_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__15; static lean_object* l_Lean_Parser_Command_optNamedPrio___closed__1; static lean_object* l_Lean_Parser_Command_printAxioms___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_import_formatter__1(lean_object*); @@ -791,7 +791,6 @@ static lean_object* l_Lean_Parser_Command_noncomputableSection___closed__4; static lean_object* l_Lean_Parser_Command_optDeriving___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Command_mutual_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_optDeriving_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__28; static lean_object* l_Lean_Parser_Command_quot_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_ctor_formatter___closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_extends_parenthesizer__1(lean_object*); @@ -812,8 +811,8 @@ static lean_object* l_Lean_Parser_Command_moduleDoc___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structure_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_theorem; static lean_object* l_Lean_Parser_Command_namedPrio___closed__17; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__37; static lean_object* l_Lean_Parser_Command_theorem_formatter___closed__5; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__46; static lean_object* l_Lean_Parser_Command_instance_formatter___closed__11; static lean_object* l_Lean_Parser_Command_set__option___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_synth_formatter__1___closed__2; @@ -884,7 +883,6 @@ static lean_object* l_Lean_Parser_Command_partial_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_structInstBinder_parenthesizer__1(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_moduleDoc_formatter__1___closed__1; static lean_object* l_Lean_Parser_Command_structFields___closed__8; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__10; lean_object* l_Lean_Parser_Term_attrInstance_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_end_docString__1___closed__1; @@ -906,19 +904,19 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_declValSimple_formatter(lean_obje static lean_object* l_Lean_Parser_Term_open___closed__3; static lean_object* l_Lean_Parser_Command_declVal_formatter___closed__3; static lean_object* l_Lean_Parser_Command_structFields_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__5; static lean_object* l_Lean_Parser_Command_printTacTags_formatter___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_initialize_formatter__1(lean_object*); static lean_object* l_Lean_Parser_Command_exit___closed__7; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__16; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_include__1(lean_object*); static lean_object* l_Lean_Parser_Command_check__failure___closed__5; static lean_object* l_Lean_Parser_Command_initializeKeyword_formatter___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__49; static lean_object* l_Lean_Parser_Command_declId_formatter___closed__12; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_import_declRange__1(lean_object*); static lean_object* l_Lean_Parser_Command_eoi___closed__5; static lean_object* l_Lean_Parser_Command_structExplicitBinder___closed__10; static lean_object* l___regBuiltin_Lean_Parser_Command_openOnly_formatter__1___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__40; static lean_object* l_Lean_Parser_Command_initialize_formatter___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Command_whereStructField; static lean_object* l_Lean_Parser_Command_attribute___closed__17; @@ -1063,6 +1061,7 @@ static lean_object* l_Lean_Parser_Command_attribute_parenthesizer___closed__9; static lean_object* l_Lean_Parser_Command_noncomputableSection___closed__15; static lean_object* l_Lean_Parser_Command_declaration_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_printAxioms___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__3; static lean_object* l_Lean_Parser_Command_tactic__extension___closed__8; static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_open_formatter___closed__1; @@ -1219,6 +1218,7 @@ lean_object* l_Lean_Parser_Term_binderIdent_formatter(lean_object*, lean_object* static lean_object* l___regBuiltin_Lean_Parser_Command_declValEqns_formatter__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Term_precheckedQuot_declRange__1___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_register__tactic__tag_declRange__1___closed__5; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__50; static lean_object* l_Lean_Parser_Command_whereStructInst___closed__15; static lean_object* l_Lean_Parser_Command_optionValue_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_namedPrio_formatter___closed__11; @@ -1236,7 +1236,6 @@ static lean_object* l_Lean_Parser_Command_check__failure___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Tactic_set__option_declRange__1___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_print_declRange__1(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_import_declRange__1___closed__6; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__33; static lean_object* l_Lean_Parser_Command_classInductive_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_set__option___closed__8; static lean_object* l_Lean_Parser_Command_ctor_parenthesizer___closed__1; @@ -1252,11 +1251,11 @@ static lean_object* l_Lean_Parser_Command_extends___closed__1; static lean_object* l_Lean_Parser_Command_declId___closed__19; static lean_object* l_Lean_Parser_Command_initialize_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems___closed__9; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__30; static lean_object* l_Lean_Parser_Command_set__option_parenthesizer___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Term_set__option_declRange__1___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_in_declRange__1___closed__2; static lean_object* l_Lean_Parser_Command_deriving_formatter___closed__6; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3041_(lean_object*); static lean_object* l_Lean_Parser_Command_evalBang___closed__9; static lean_object* l_Lean_Parser_Command_classTk___closed__6; static lean_object* l_Lean_Parser_Command_structFields_formatter___closed__1; @@ -1277,6 +1276,7 @@ static lean_object* l_Lean_Parser_Term_open___closed__1; static lean_object* l_Lean_Parser_Command_whereStructField_formatter___closed__1; static lean_object* l_Lean_Parser_Command_structure___closed__20; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__31; static lean_object* l___regBuiltin_Lean_Parser_Command_universe_formatter__1___closed__1; static lean_object* l_Lean_Parser_Command_export_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_printAxioms_declRange__1(lean_object*); @@ -1392,7 +1392,6 @@ static lean_object* l_Lean_Parser_Command_structInstBinder_parenthesizer___close static lean_object* l_Lean_Parser_Command_namedPrio_parenthesizer___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_deriving_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_namespace_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__24; static lean_object* l_Lean_Parser_Command_declId___closed__3; static lean_object* l_Lean_Parser_Command_structureTk_parenthesizer___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Term_open_formatter__1___closed__2; @@ -1438,7 +1437,6 @@ static lean_object* l_Lean_Parser_Command_structImplicitBinder_formatter___close static lean_object* l_Lean_Parser_Command_deriving___closed__2; static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__9; static lean_object* l_Lean_Parser_Command_opaque_parenthesizer___closed__4; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3048_(lean_object*); static lean_object* l_Lean_Parser_Command_open_formatter___closed__4; static lean_object* l_Lean_Parser_Command_structure_formatter___closed__3; static lean_object* l_Lean_Parser_Command_openHiding_formatter___closed__3; @@ -1463,6 +1461,7 @@ static lean_object* l_Lean_Parser_Command_whereStructInst___closed__18; static lean_object* l_Lean_Parser_Command_printAxioms_formatter___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_atomic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_namespace___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__10; static lean_object* l___regBuiltin_Lean_Parser_Command_check__failure_declRange__1___closed__1; static lean_object* l_Lean_Parser_Command_private_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_classInductive_parenthesizer___closed__5; @@ -1480,7 +1479,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_printTacTags_declRange__1 static lean_object* l___regBuiltin_Lean_Parser_Command_initialize_declRange__1___closed__7; static lean_object* l_Lean_Parser_Tactic_set__option___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_printTacTags_formatter__1___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__39; static lean_object* l_Lean_Parser_Command_openOnly_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_unsafe_formatter__1___closed__2; static lean_object* l_Lean_Parser_Command_openRenamingItem_formatter___closed__1; @@ -1563,6 +1561,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_check__failure_formatter_ static lean_object* l_Lean_Parser_Command_eraseAttr___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_eoi_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_derivingClasses___closed__9; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__13; static lean_object* l_Lean_Parser_Command_instance_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_declId___closed__17; static lean_object* l___regBuiltin_Lean_Parser_Term_open_declRange__1___closed__3; @@ -1572,6 +1571,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_open_parenthesizer__1___c LEAN_EXPORT lean_object* l_Lean_Parser_Command_computedField; static lean_object* l_Lean_Parser_Command_structSimpleBinder_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__13; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__45; static lean_object* l_Lean_Parser_Command_namedPrio___closed__3; static lean_object* l_Lean_Parser_Command_export___closed__12; static lean_object* l_Lean_Parser_Command_moduleDoc___closed__9; @@ -1599,6 +1599,7 @@ static lean_object* l_Lean_Parser_Command_mutual_parenthesizer___closed__10; static lean_object* l_Lean_Parser_Command_structImplicitBinder_formatter___closed__6; static lean_object* l_Lean_Parser_Term_open_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_openOnly_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__41; LEAN_EXPORT lean_object* l_Lean_Parser_Command_openHiding_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_init__quot_parenthesizer__1___closed__1; static lean_object* l_Lean_Parser_Command_namedPrio___closed__15; @@ -1655,7 +1656,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_import_formatter(lean_object*, le lean_object* l_Lean_ppLine_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_inductive_formatter__1___closed__1; static lean_object* l_Lean_Parser_Command_structInstBinder___closed__13; -LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073_(lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_unsafe_parenthesizer__1___closed__2; static lean_object* l_Lean_Parser_Command_register__tactic__tag___closed__7; extern lean_object* l_Lean_Parser_Term_letDecl; @@ -1726,6 +1726,7 @@ static lean_object* l_Lean_Parser_Command_namedPrio___closed__18; static lean_object* l___regBuiltin_Lean_Parser_Term_set__option_formatter__1___closed__2; static lean_object* l_Lean_Parser_Command_declVal___closed__5; static lean_object* l_Lean_Parser_Command_axiom_formatter___closed__5; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__27; lean_object* l_Lean_Parser_symbol(lean_object*); static lean_object* l_Lean_Parser_Command_printAxioms_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_namedPrio___closed__11; @@ -1733,7 +1734,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_theorem_parenthesizer__1_ static lean_object* l___regBuiltin_Lean_Parser_Command_opaque_formatter__1___closed__2; static lean_object* l_Lean_Parser_Command_export_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_typeSpec_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__3; static lean_object* l_Lean_Parser_Term_precheckedQuot_formatter___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initializeKeyword_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_definition_formatter___closed__4; @@ -1747,6 +1747,7 @@ static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__11; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_instance_parenthesizer__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_open_parenthesizer__1___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__20; static lean_object* l_Lean_Parser_Command_declValSimple___closed__5; static lean_object* l_Lean_Parser_Command_axiom___closed__7; static lean_object* l_Lean_Parser_Command_protected___closed__3; @@ -1777,7 +1778,6 @@ static lean_object* l_Lean_Parser_Term_set__option_formatter___closed__5; static lean_object* l_Lean_Parser_Command_classInductive___closed__14; static lean_object* l_Lean_Parser_Command_printEqns___closed__9; static lean_object* l_Lean_Parser_Command_structImplicitBinder___closed__13; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__52; lean_object* l_Lean_Parser_symbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_whereStructInst___closed__16; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_abbrev_formatter__1(lean_object*); @@ -1814,6 +1814,7 @@ static lean_object* l_Lean_Parser_Command_universe_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Tactic_set__option_parenthesizer__1___closed__1; static lean_object* l_Lean_Parser_Command_export___closed__5; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__24; static lean_object* l___regBuiltin_Lean_Parser_Command_declaration_parenthesizer__1___closed__1; static lean_object* l_Lean_Parser_Command_export___closed__1; static lean_object* l_Lean_Parser_Command_instance_formatter___closed__10; @@ -1860,11 +1861,11 @@ static lean_object* l_Lean_Parser_Command_inductive_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Term_precheckedQuot___closed__6; static lean_object* l_Lean_Parser_Command_example___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Command_openOnly; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__34; static lean_object* l_Lean_Parser_Command_evalBang___closed__5; static lean_object* l_Lean_Parser_Command_quot_formatter___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_noncomputableSection_formatter__1___closed__1; static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__11; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__35; static lean_object* l_Lean_Parser_Command_openRenaming___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structCtor; static lean_object* l___regBuiltin_Lean_Parser_Command_abbrev_parenthesizer__1___closed__2; @@ -1874,7 +1875,6 @@ static lean_object* l_Lean_Parser_Command_openRenaming___closed__12; static lean_object* l_Lean_Parser_Command_deriving_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_variable_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_tactic__extension_parenthesizer___closed__4; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__42; static lean_object* l_Lean_Parser_Command_openScoped_formatter___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_exit_formatter__1(lean_object*); static lean_object* l_Lean_Parser_Command_evalBang___closed__4; @@ -1895,6 +1895,7 @@ static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Command_export; lean_object* l_Lean_PrettyPrinter_Formatter_lookahead_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_open_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__7; lean_object* l_Lean_Parser_withAntiquot(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_declId___closed__6; static lean_object* l_Lean_Parser_Command_synth_parenthesizer___closed__3; @@ -1913,7 +1914,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_abbrev_parenthesizer static lean_object* l___regBuiltin_Lean_Parser_Command_exit_parenthesizer__1___closed__1; static lean_object* l_Lean_Parser_Command_partial___closed__7; static lean_object* l_Lean_Parser_Command_structCtor___closed__7; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__13; static lean_object* l_Lean_Parser_Command_initialize___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_initialize_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2042,6 +2042,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_declModifiersT; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_computedFields_formatter__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_addDocString_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_declId___closed__15; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__30; static lean_object* l_Lean_Parser_Command_nonrec_formatter___closed__3; static lean_object* l_Lean_Parser_Command_include___closed__7; static lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__11; @@ -2067,6 +2068,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_in_formatter__1(lean static lean_object* l_Lean_Parser_Command_synth_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_extends___closed__2; static lean_object* l_Lean_Parser_Command_initialize___closed__6; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__38; static lean_object* l_Lean_Parser_Command_import___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Command_end; static lean_object* l_Lean_Parser_Command_printAxioms___closed__8; @@ -2075,6 +2077,7 @@ static lean_object* l_Lean_Parser_Command_openRenaming_formatter___closed__8; static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__13; static lean_object* l_Lean_Parser_Command_attribute___closed__13; static lean_object* l_Lean_Parser_Command_inductive_formatter___closed__7; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__22; static lean_object* l_Lean_Parser_Command_printTacTags_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_tactic__extension_declRange__1___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_tactic__extension_declRange__1___closed__2; @@ -2142,6 +2145,7 @@ static lean_object* l_Lean_Parser_Command_whereStructField___closed__3; static lean_object* l___regBuiltin_Lean_Parser_Command_private_formatter__1___closed__1; static lean_object* l_Lean_Parser_Command_eval_formatter___closed__2; static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__18; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_exit_declRange__1___closed__4; static lean_object* l_Lean_Parser_Command_deriving_formatter___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Term_open_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2155,6 +2159,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_export_declRange__1( static lean_object* l___regBuiltin_Lean_Parser_Command_theorem_formatter__1___closed__2; static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__7; static lean_object* l_Lean_Parser_Command_openRenamingItem___closed__10; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__23; static lean_object* l_Lean_Parser_Command_optDeclSig_formatter___closed__9; static lean_object* l_Lean_Parser_Command_definition___closed__8; static lean_object* l_Lean_Parser_Command_computedFields___closed__2; @@ -2178,7 +2183,6 @@ static lean_object* l_Lean_Parser_Term_set__option___closed__9; static lean_object* l_Lean_Parser_Tactic_set__option_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_openRenamingItem_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_optDeclSig_formatter__1___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__9; static lean_object* l_Lean_Parser_Command_structExplicitBinder___closed__17; LEAN_EXPORT lean_object* l_Lean_Parser_Command_optDeclSig_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_section_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2215,7 +2219,6 @@ static lean_object* l_Lean_Parser_Command_openRenamingItem___closed__4; lean_object* l_Lean_Parser_symbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_moduleDoc___closed__1; static lean_object* l_Lean_Parser_Command_structInstBinder_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__44; static lean_object* l_Lean_Parser_Command_whereStructInst___closed__12; static lean_object* l_Lean_Parser_Command_structure_formatter___closed__16; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_export__1(lean_object*); @@ -2261,7 +2264,6 @@ static lean_object* l_Lean_Parser_Command_declId_formatter___closed__3; static lean_object* l_Lean_Parser_Term_quot___closed__6; static lean_object* l_Lean_Parser_Term_open_formatter___closed__6; static lean_object* l_Lean_Parser_Command_structExplicitBinder_formatter___closed__10; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__36; static lean_object* l_Lean_Parser_Command_check___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_init__quot_declRange__1___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_example_formatter__1___closed__1; @@ -2281,6 +2283,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_addDocString__1(lean static lean_object* l_Lean_Parser_Command_structImplicitBinder_formatter___closed__9; lean_object* l_Lean_Parser_atomic(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_instance; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__36; static lean_object* l___regBuiltin_Lean_Parser_Command_open_docString__1___closed__1; static lean_object* l_Lean_Parser_Command_derivingClasses_parenthesizer___closed__3; lean_object* l_Lean_Parser_ident_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2293,6 +2296,7 @@ static lean_object* l_Lean_Parser_Command_openRenaming_parenthesizer___closed__1 static lean_object* l___regBuiltin_Lean_Parser_Command_openSimple_formatter__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_evalBang_parenthesizer__1___closed__1; static lean_object* l_Lean_Parser_Command_declValSimple_parenthesizer___closed__12; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__54; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_set__option_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_declModifiers___boxed(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_printTacTags_docString__1(lean_object*); @@ -2329,6 +2333,7 @@ static lean_object* l_Lean_Parser_Command_computedFields_parenthesizer___closed_ static lean_object* l_Lean_Parser_Command_computedField_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_mutual___closed__11; static lean_object* l_Lean_Parser_Command_instance_formatter___closed__9; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__29; static lean_object* l_Lean_Parser_Command_computedFields_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Term_quot_formatter___closed__8; static lean_object* l___regBuiltin_Lean_Parser_Command_moduleDoc_declRange__1___closed__3; @@ -2383,6 +2388,7 @@ lean_object* l_Lean_ppDedent_formatter(lean_object*, lean_object*, lean_object*, static lean_object* l_Lean_Parser_Command_universe___closed__1; static lean_object* l_Lean_Parser_Command_derivingClasses___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Tactic_open_parenthesizer__1___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__28; static lean_object* l_Lean_Parser_Command_declId___closed__8; static lean_object* l_Lean_Parser_Command_openOnly___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_eval_declRange__1___closed__2; @@ -2410,7 +2416,6 @@ static lean_object* l_Lean_Parser_Command_moduleDoc_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_end___closed__8; static lean_object* l_Lean_Parser_Command_include_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Command_structImplicitBinder___closed__2; -static lean_object* l_Lean_Parser_Command_include_parenthesizer___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_check__failure_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_protected_formatter___closed__2; static lean_object* l_Lean_Parser_Command_declId_parenthesizer___closed__3; @@ -2418,7 +2423,6 @@ static lean_object* l_Lean_Parser_Command_openDecl___closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_quot_declRange__1___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_deriving_formatter__1(lean_object*); static lean_object* l_Lean_Parser_Command_deriving_formatter___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__49; static lean_object* l___regBuiltin_Lean_Parser_Command_declId_formatter__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_mutual_declRange__1___closed__4; static lean_object* l_Lean_Parser_Command_check__failure___closed__4; @@ -2446,6 +2450,7 @@ static lean_object* l_Lean_Parser_Command_openHiding_formatter___closed__7; static lean_object* l_Lean_Parser_Command_structSimpleBinder___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_openSimple_parenthesizer__1___closed__2; static lean_object* l_Lean_Parser_Command_exit_formatter___closed__3; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__15; static lean_object* l_Lean_Parser_Command_moduleDoc_parenthesizer___closed__7; lean_object* l_Lean_ppSpace_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_initialize; @@ -2484,7 +2489,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Tactic_set__option_declRange__1__ lean_object* l_Lean_Parser_withPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_open__1(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_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__31; static lean_object* l_Lean_Parser_Command_opaque_formatter___closed__1; static lean_object* l_Lean_Parser_Command_check__failure_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_computedField___closed__10; @@ -2498,7 +2502,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_ static lean_object* l_Lean_Parser_Command_ctor_formatter___closed__6; static lean_object* l_Lean_Parser_Command_computedFields_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_namedPrio_parenthesizer___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__23; static lean_object* l_Lean_Parser_Command_abbrev___closed__7; static lean_object* l_Lean_Parser_Command_noncomputableSection___closed__8; lean_object* l_Lean_Parser_registerAliasCore___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2508,6 +2511,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_printTacTags_formatter(lean_objec static lean_object* l___regBuiltin_Lean_Parser_Command_initialize_declRange__1___closed__5; static lean_object* l_Lean_Parser_Tactic_open_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_openScoped_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__14; static lean_object* l_Lean_Parser_Command_inductive___closed__4; static lean_object* l_Lean_Parser_Command_attribute___closed__5; static lean_object* l_Lean_Parser_Command_eraseAttr___closed__1; @@ -2572,6 +2576,7 @@ static lean_object* l_Lean_Parser_Term_quot_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_eval_formatter___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Command_eraseAttr_formatter__1___closed__1; static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__5; static lean_object* l___regBuiltin_Lean_Parser_Command_whereStructInst_parenthesizer__1___closed__1; static lean_object* l_Lean_Parser_Command_initialize_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_structFields_parenthesizer___closed__2; @@ -2621,6 +2626,7 @@ static lean_object* l_Lean_Parser_Command_structCtor_parenthesizer___closed__5; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_check__1(lean_object*); static lean_object* l_Lean_Parser_Command_instance_formatter___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_openScoped_parenthesizer__1___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__46; static lean_object* l_Lean_Parser_Command_openDecl_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_declId___closed__20; static lean_object* l___regBuiltin_Lean_Parser_Term_open_declRange__1___closed__7; @@ -2710,8 +2716,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Parser_Command_0__Lean_Parser_Command_ extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; static lean_object* l_Lean_Parser_Command_declValSimple_parenthesizer___closed__7; lean_object* l_Lean_Parser_withAntiquotSpliceAndSuffix(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__26; static lean_object* l_Lean_Parser_Command_evalBang_formatter___closed__4; static lean_object* l_Lean_Parser_Command_set__option_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__25; static lean_object* l___regBuiltin_Lean_Parser_Command_quot_formatter__1___closed__2; static lean_object* l_Lean_Parser_Command_openOnly_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_noncomputableSection___closed__6; @@ -2743,7 +2751,6 @@ static lean_object* l_Lean_Parser_Command_addDocString_formatter___closed__5; static lean_object* l_Lean_Parser_Term_precheckedQuot___closed__2; static lean_object* l_Lean_Parser_Command_variable___closed__6; static lean_object* l_Lean_Parser_Command_initialize___closed__13; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__25; static lean_object* l_Lean_Parser_Command_structExplicitBinder_formatter___closed__12; static lean_object* l_Lean_Parser_Command_declModifiers___closed__8; static lean_object* l_Lean_Parser_Command_deriving___closed__12; @@ -2756,7 +2763,6 @@ static lean_object* l_Lean_Parser_Command_optDeriving_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_in___closed__2; static lean_object* l_Lean_Parser_Command_attribute_formatter___closed__1; static lean_object* l_Lean_Parser_Term_open_parenthesizer___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__6; lean_object* l_Lean_Parser_identWithPartialTrailingDot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_declValSimple___closed__11; static lean_object* l_Lean_Parser_Command_structInstBinder___closed__4; @@ -2782,7 +2788,9 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_addDocString_docStri static lean_object* l_Lean_Parser_Command_attribute_formatter___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declSig_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_structImplicitBinder_parenthesizer__1___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__33; static lean_object* l_Lean_Parser_Command_declId_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__47; static lean_object* l_Lean_Parser_Command_namedPrio_formatter___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Command_optDefDeriving_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_noncomputable_parenthesizer___closed__3; @@ -2827,6 +2835,7 @@ static lean_object* l_Lean_Parser_Command_initialize_formatter___closed__4; static lean_object* l_Lean_Parser_Command_extends_parenthesizer___closed__3; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_open_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_optDeclSig___closed__5; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__32; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_namespace_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_deriving_formatter___closed__5; static lean_object* l_Lean_Parser_Command_ctor___closed__11; @@ -2923,6 +2932,7 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_universe_declRange__1___c static lean_object* l___regBuiltin_Lean_Parser_Command_check_declRange__1___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_universe_parenthesizer__1(lean_object*); static lean_object* l_Lean_Parser_Command_inductive___closed__17; +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066_(lean_object*); static lean_object* l_Lean_Parser_Command_noncomputableSection_formatter___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Command_declBody_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_optDeclSig_parenthesizer__1___closed__2; @@ -3005,7 +3015,6 @@ static lean_object* l_Lean_Parser_Command_structure___closed__7; static lean_object* l___regBuiltin_Lean_Parser_Command_declValEqns_parenthesizer__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_initialize_declRange__1___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_set__option_declRange__1___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__4; static lean_object* l_Lean_Parser_Command_eval___closed__8; static lean_object* l_Lean_Parser_Command_register__tactic__tag_parenthesizer___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_mutual_declRange__1___closed__5; @@ -3105,6 +3114,7 @@ static lean_object* l_Lean_Parser_Command_classTk___closed__4; static lean_object* l_Lean_Parser_Command_axiom___closed__5; static lean_object* l_Lean_Parser_Term_open_formatter___closed__5; static lean_object* l_Lean_Parser_Command_declModifiers___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_check_formatter__1(lean_object*); static lean_object* l_Lean_Parser_Command_printTacTags_formatter___closed__6; static lean_object* l_Lean_Parser_Command_openRenamingItem___closed__3; @@ -3117,7 +3127,6 @@ static lean_object* l_Lean_Parser_Command_structFields_parenthesizer___closed__6 static lean_object* l___regBuiltin_Lean_Parser_Command_classInductive_formatter__1___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_noncomputableSection_declRange__1___closed__6; static lean_object* l___regBuiltin_Lean_Parser_Command_declaration_parenthesizer__1___closed__2; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_optDeriving_parenthesizer__1___closed__1; static lean_object* l_Lean_Parser_Command_declId___lambda__1___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_attribute__1(lean_object*); @@ -3197,6 +3206,7 @@ static lean_object* l_Lean_Parser_Command_structImplicitBinder_parenthesizer___c static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_declBody_formatter___closed__1; static lean_object* l_Lean_Parser_Command_openScoped___closed__9; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__19; static lean_object* l_Lean_Parser_Command_attribute_formatter___closed__10; static lean_object* l_Lean_Parser_Command_computedField___closed__4; static lean_object* l_Lean_Parser_Command_in___closed__6; @@ -3209,7 +3219,6 @@ static lean_object* l_Lean_Parser_Command_declaration___closed__11; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t, uint8_t); static lean_object* l_Lean_Parser_Command_inductive___closed__8; lean_object* l_Lean_Parser_Term_structInst_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__20; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structCtor_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Term_open_parenthesizer__1___closed__2; static lean_object* l_Lean_Parser_Command_computedField_formatter___closed__7; @@ -3249,7 +3258,6 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_declaration_parenthe static lean_object* l_Lean_Parser_Term_open_parenthesizer___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_end_docString__1(lean_object*); static lean_object* l_Lean_Parser_Tactic_open___closed__4; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__47; static lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_protected_parenthesizer___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Tactic_open_docString__1(lean_object*); @@ -3258,7 +3266,6 @@ lean_object* l_Lean_Parser_incQuotDepth_parenthesizer(lean_object*, lean_object* LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_structImplicitBinder_formatter__1(lean_object*); static lean_object* l_Lean_Parser_Command_definition_parenthesizer___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Term_quot_formatter__1___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Command_check_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_whereStructInst_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_export_formatter___closed__3; @@ -3267,6 +3274,7 @@ static lean_object* l_Lean_Parser_Command_definition_formatter___closed__5; static lean_object* l_Lean_Parser_Command_whereStructInst___closed__8; static lean_object* l_Lean_Parser_Command_whereStructField_formatter___closed__2; static lean_object* l_Lean_Parser_Command_unsafe_formatter___closed__1; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__8; static lean_object* l_Lean_Parser_Command_end_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_structureTk___closed__1; static lean_object* l_Lean_Parser_Command_ctor_formatter___closed__2; @@ -3296,7 +3304,6 @@ lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_o static lean_object* l_Lean_Parser_Command_addDocString___closed__1; lean_object* l_Lean_Parser_strLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_universe___closed__5; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__50; static lean_object* l___regBuiltin_Lean_Parser_Command_printTacTags_formatter__1___closed__1; static lean_object* l_Lean_Parser_Command_initialize_parenthesizer___closed__8; static lean_object* l_Lean_Parser_Command_universe_parenthesizer___closed__5; @@ -3332,7 +3339,6 @@ static lean_object* l_Lean_Parser_Command_instance___closed__4; static lean_object* l_Lean_Parser_Command_register__tactic__tag___closed__12; static lean_object* l_Lean_Parser_Command_declId___closed__18; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_end__1(lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__40; static lean_object* l___regBuiltin_Lean_Parser_Command_namespace_docString__1___closed__1; static lean_object* l_Lean_Parser_Command_addDocString_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_mutual_formatter___closed__9; @@ -3343,7 +3349,6 @@ static lean_object* l_Lean_Parser_Command_end_formatter___closed__1; extern lean_object* l_Lean_Parser_Term_optType; LEAN_EXPORT lean_object* l_Lean_Parser_Command_structSimpleBinder; static lean_object* l_Lean_Parser_Command_structure___closed__19; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__48; static lean_object* l_Lean_Parser_Command_noncomputableSection_parenthesizer___closed__4; static lean_object* l_Lean_Parser_Command_unsafe___closed__5; static lean_object* l_Lean_Parser_Command_attribute_parenthesizer___closed__7; @@ -3408,7 +3413,6 @@ static lean_object* l_Lean_Parser_Command_optDefDeriving_formatter___closed__3; static lean_object* l_Lean_Parser_Command_extends_formatter___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_printTacTags_declRange__1___closed__7; static lean_object* l_Lean_Parser_Term_quot_formatter___closed__7; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__26; LEAN_EXPORT lean_object* l_Lean_Parser_Command_example; static lean_object* l_Lean_Parser_Command_initializeKeyword_formatter___closed__4; static lean_object* l_Lean_Parser_Term_set__option___closed__6; @@ -3464,7 +3468,6 @@ static lean_object* l_Lean_Parser_Command_declModifiers_formatter___closed__20; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_namespace_declRange__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Command_deriving; static lean_object* l___regBuiltin_Lean_Parser_Command_set__option_declRange__1___closed__6; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__11; static lean_object* l_Lean_Parser_Command_openDecl_formatter___closed__4; static lean_object* l_Lean_Parser_Command_openOnly_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Command_unsafe_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3474,7 +3477,6 @@ static lean_object* l_Lean_Parser_Command_eraseAttr_parenthesizer___closed__3; lean_object* l_Lean_Parser_sepBy1_parenthesizer(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_extends___closed__6; static lean_object* l_Lean_Parser_Command_structExplicitBinder_formatter___closed__11; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__32; static lean_object* l_Lean_Parser_Command_noncomputable___closed__1; static lean_object* l_Lean_Parser_Term_open_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Command_optDeriving_parenthesizer___closed__4; @@ -3529,6 +3531,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_variable_docString__ static lean_object* l_Lean_Parser_Term_quot_formatter___closed__9; static lean_object* l___regBuiltin_Lean_Parser_Command_export_formatter__1___closed__2; static lean_object* l___regBuiltin_Lean_Parser_Command_printEqns_declRange__1___closed__2; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__48; static lean_object* l___regBuiltin_Lean_Parser_Command_deriving_declRange__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Command_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__7; @@ -3549,7 +3552,6 @@ lean_object* l_Lean_Parser_Term_bracketedBinder(uint8_t); LEAN_EXPORT lean_object* l_Lean_Parser_Command_optDeriving; static lean_object* l_Lean_Parser_Command_declId_parenthesizer___closed__4; static lean_object* l___regBuiltin_Lean_Parser_Term_precheckedQuot_declRange__1___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__14; static lean_object* l_Lean_Parser_Command_openOnly_formatter___closed__5; static lean_object* l_Lean_Parser_Tactic_open_formatter___closed__7; static lean_object* l_Lean_Parser_Term_precheckedQuot_parenthesizer___closed__2; @@ -3582,7 +3584,6 @@ static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__ static lean_object* l_Lean_Parser_Command_initialize___closed__8; static lean_object* l_Lean_Parser_Command_declaration___closed__4; static lean_object* l_Lean_Parser_Term_quot_formatter___closed__1; -static lean_object* l_Lean_Parser_Command_include_formatter___closed__5; static lean_object* l_Lean_Parser_Command_openRenaming_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Command_whereStructField_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__25; @@ -3593,6 +3594,7 @@ static lean_object* l_Lean_Parser_Command_structImplicitBinder_parenthesizer___c static lean_object* l_Lean_Parser_Term_quot_parenthesizer___closed__9; static lean_object* l_Lean_Parser_Term_set__option___closed__4; static lean_object* l_Lean_Parser_Command_variable___closed__11; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__18; static lean_object* l_Lean_Parser_Command_declValSimple___closed__13; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_end_declRange__1(lean_object*); static lean_object* l_Lean_Parser_Term_precheckedQuot___closed__9; @@ -3611,7 +3613,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_namespace; static lean_object* l_Lean_Parser_Command_mutual_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Command_definition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_computedField_parenthesizer___closed__6; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__22; static lean_object* l_Lean_Parser_Command_structSimpleBinder___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Command_print_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Parser_Command_attribute_declRange__1___closed__5; @@ -3688,7 +3689,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Command_open_formatter(lean_object*, lean static lean_object* l___regBuiltin_Lean_Parser_Tactic_set__option_formatter__1___closed__2; static lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_nonrec_parenthesizer__1(lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__18; static lean_object* l_Lean_Parser_Command_include_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Command_printTacTags___closed__11; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_initializeKeyword_parenthesizer__1(lean_object*); @@ -3731,7 +3731,6 @@ static lean_object* l_Lean_Parser_Command_whereStructInst_formatter___closed__10 LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_tactic__extension_formatter__1(lean_object*); static lean_object* l_Lean_Parser_Command_optionValue_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Command_variable_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__45; static lean_object* l___regBuiltin_Lean_Parser_Command_noncomputableSection_declRange__1___closed__3; static lean_object* l_Lean_Parser_Command_structSimpleBinder_parenthesizer___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Command_computedFields_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3749,9 +3748,7 @@ static lean_object* l_Lean_Parser_Command_initializeKeyword___closed__2; static lean_object* l_Lean_Parser_Command_whereStructInst_parenthesizer___closed__6; static lean_object* l_Lean_Parser_Command_genInjectiveTheorems_formatter___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_in__1(lean_object*); -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__27; static lean_object* l_Lean_Parser_Command_noncomputableSection_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__7; static lean_object* l_Lean_Parser_Command_initializeKeyword_parenthesizer___closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_initialize_formatter__1___closed__2; static lean_object* l_Lean_Parser_Command_private___closed__6; @@ -3767,6 +3764,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Parser_Command_evalBang__1(lean_obj static lean_object* l___regBuiltin_Lean_Parser_Command_check_declRange__1___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Command_init__quot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Command_whereStructInst_formatter___closed__4; +static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__1; static lean_object* l___regBuiltin_Lean_Parser_Command_synth_declRange__1___closed__1; static lean_object* l_Lean_Parser_Command_moduleDoc___closed__8; static lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__9; @@ -3778,7 +3776,6 @@ static lean_object* l___regBuiltin_Lean_Parser_Command_openRenamingItem_parenthe LEAN_EXPORT lean_object* l_Lean_Parser_Command_visibility_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Term_precheckedQuot___closed__3; static lean_object* l_Lean_Parser_Command_import_formatter___closed__3; -static lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__17; static lean_object* l___regBuiltin_Lean_Parser_Command_in_parenthesizer__1___closed__1; static lean_object* l_Lean_Parser_Command_openRenaming___closed__5; static lean_object* l_Lean_Parser_Command_namespace_formatter___closed__2; @@ -24645,7 +24642,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Command_section_docString__ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("A `section`/`end` pair delimits the scope of `variable`, `open`, `set_option`, and `local` commands.\nSections can be nested. `section ` provides a label to the section that has to appear with the\nmatching `end`. In either case, the `end` can be omitted, in which case the section is closed at the\nend of the file.\n", 318, 318); +x_1 = lean_mk_string_unchecked("A `section`/`end` pair delimits the scope of `variable`, `include, `open`, `set_option`, and `local`\ncommands. Sections can be nested. `section ` provides a label to the section that has to appear\nwith the matching `end`. In either case, the `end` can be omitted, in which case the section is\nclosed at the end of the file.\n", 328, 328); return x_1; } } @@ -25889,7 +25886,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Command_variable_docString_ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("Declares one or more typed variables, or modifies whether already-declared variables are\nimplicit.\n\nIntroduces variables that can be used in definitions within the same `namespace` or `section` block.\nWhen a definition mentions a variable, Lean will add it as an argument of the definition. The\n`variable` command is also able to add typeclass parameters. This is useful in particular when\nwriting many definitions that have parameters in common (see below for an example).\n\nVariable declarations have the same flexibility as regular function paramaters. In particular they\ncan be [explicit, implicit][binder docs], or [instance implicit][tpil classes] (in which case they\ncan be anonymous). This can be changed, for instance one can turn explicit variable `x` into an\nimplicit one with `variable {x}`. Note that currently, you should avoid changing how variables are\nbound and declare new variables at the same time; see [issue 2789] for more on this topic.\n\nSee [*Variables and Sections* from Theorem Proving in Lean][tpil vars] for a more detailed\ndiscussion.\n\n[tpil vars]: https://lean-lang.org/theorem_proving_in_lean4/dependent_type_theory.html#variables-and-sections\n(Variables and Sections on Theorem Proving in Lean)\n[tpil classes]: https://lean-lang.org/theorem_proving_in_lean4/type_classes.html\n(Type classes on Theorem Proving in Lean)\n[binder docs]: https://leanprover-community.github.io/mathlib4_docs/Lean/Expr.html#Lean.BinderInfo\n(Documentation for the BinderInfo type)\n[issue 2789]: https://github.com/leanprover/lean4/issues/2789\n(Issue 2789 on github)\n\n## Examples\n\n```lean\nsection\n variable\n {α : Type u} -- implicit\n (a : α) -- explicit\n [instBEq : BEq α] -- instance implicit, named\n [Hashable α] -- instance implicit, anonymous\n\n def isEqual (b : α) : Bool :=\n a == b\n\n #check isEqual\n -- isEqual.{u} {α : Type u} (a : α) [instBEq : BEq α] (b : α) : Bool\n\n variable\n {a} -- `a` is implicit now\n\n def eqComm {b : α} := a == b ↔ b == a\n\n #check eqComm\n -- eqComm.{u} {α : Type u} {a : α} [instBEq : BEq α] {b : α} : Prop\nend\n```\n\nThe following shows a typical use of `variable` to factor out definition arguments:\n\n```lean\nvariable (Src : Type)\n\nstructure Logger where\n trace : List (Src × String)\n#check Logger\n-- Logger (Src : Type) : Type\n\nnamespace Logger\n -- switch `Src : Type` to be implicit until the `end Logger`\n variable {Src}\n\n def empty : Logger Src where\n trace := []\n #check empty\n -- Logger.empty {Src : Type} : Logger Src\n\n variable (log : Logger Src)\n\n def len :=\n log.trace.length\n #check len\n -- Logger.len {Src : Type} (log : Logger Src) : Nat\n\n variable (src : Src) [BEq Src]\n\n -- at this point all of `log`, `src`, `Src` and the `BEq` instance can all become arguments\n\n def filterSrc :=\n log.trace.filterMap\n fun (src', str') => if src' == src then some str' else none\n #check filterSrc\n -- Logger.filterSrc {Src : Type} (log : Logger Src) (src : Src) [inst✝ : BEq Src] : List String\n\n def lenSrc :=\n log.filterSrc src |>.length\n #check lenSrc\n -- Logger.lenSrc {Src : Type} (log : Logger Src) (src : Src) [inst✝ : BEq Src] : Nat\nend Logger\n```\n\n", 3195, 3174); +x_1 = lean_mk_string_unchecked("Declares one or more typed variables, or modifies whether already-declared variables are\n implicit.\n\nIntroduces variables that can be used in definitions within the same `namespace` or `section` block.\nWhen a definition mentions a variable, Lean will add it as an argument of the definition. This is\nuseful in particular when writing many definitions that have parameters in common (see below for an\nexample).\n\nVariable declarations have the same flexibility as regular function paramaters. In particular they\ncan be [explicit, implicit][binder docs], or [instance implicit][tpil classes] (in which case they\ncan be anonymous). This can be changed, for instance one can turn explicit variable `x` into an\nimplicit one with `variable {x}`. Note that currently, you should avoid changing how variables are\nbound and declare new variables at the same time; see [issue 2789] for more on this topic.\n\nIn *theorem bodies* (i.e. proofs), variables are not included based on usage in order to ensure that\nchanges to the proof cannot change the statement of the overall theorem. Instead, variables are only\navailable to the proof if they have been mentioned in the theorem header or in an `include` command\nor are instance implicit and depend only on such variables.\n\nSee [*Variables and Sections* from Theorem Proving in Lean][tpil vars] for a more detailed\ndiscussion.\n\n[tpil vars]:\nhttps://lean-lang.org/theorem_proving_in_lean4/dependent_type_theory.html#variables-and-sections\n(Variables and Sections on Theorem Proving in Lean) [tpil classes]:\nhttps://lean-lang.org/theorem_proving_in_lean4/type_classes.html (Type classes on Theorem Proving in\nLean) [binder docs]:\nhttps://leanprover-community.github.io/mathlib4_docs/Lean/Expr.html#Lean.BinderInfo (Documentation\nfor the BinderInfo type) [issue 2789]: https://github.com/leanprover/lean4/issues/2789 (Issue 2789\non github)\n\n## Examples\n\n```lean\nsection\n variable\n {α : Type u} -- implicit\n (a : α) -- explicit\n [instBEq : BEq α] -- instance implicit, named\n [Hashable α] -- instance implicit, anonymous\n\n def isEqual (b : α) : Bool :=\n a == b\n\n #check isEqual\n -- isEqual.{u} {α : Type u} (a : α) [instBEq : BEq α] (b : α) : Bool\n\n variable\n {a} -- `a` is implicit now\n\n def eqComm {b : α} := a == b ↔ b == a\n\n #check eqComm\n -- eqComm.{u} {α : Type u} {a : α} [instBEq : BEq α] {b : α} : Prop\nend\n```\n\nThe following shows a typical use of `variable` to factor out definition arguments:\n\n```lean\nvariable (Src : Type)\n\nstructure Logger where\n trace : List (Src × String)\n#check Logger\n-- Logger (Src : Type) : Type\n\nnamespace Logger\n -- switch `Src : Type` to be implicit until the `end Logger`\n variable {Src}\n\n def empty : Logger Src where\n trace := []\n #check empty\n -- Logger.empty {Src : Type} : Logger Src\n\n variable (log : Logger Src)\n\n def len :=\n log.trace.length\n #check len\n -- Logger.len {Src : Type} (log : Logger Src) : Nat\n\n variable (src : Src) [BEq Src]\n\n -- at this point all of `log`, `src`, `Src` and the `BEq` instance can all become arguments\n\n def filterSrc :=\n log.trace.filterMap\n fun (src', str') => if src' == src then some str' else none\n #check filterSrc\n -- Logger.filterSrc {Src : Type} (log : Logger Src) (src : Src) [inst✝ : BEq Src] : List String\n\n def lenSrc :=\n log.filterSrc src |>.length\n #check lenSrc\n -- Logger.lenSrc {Src : Type} (log : Logger Src) (src : Src) [inst✝ : BEq Src] : Nat\nend Logger\n```\n\nThe following example demonstrates availability of variables in proofs:\n```lean\nvariable\n {α : Type} -- available in the proof as indirectly mentioned through `a`\n [ToString α] -- available in the proof as `α` is included\n (a : α) -- available in the proof as mentioned in the header\n {β : Type} -- not available in the proof\n [ToString β] -- not available in the proof\n\ntheorem ex : a = a := rfl\n```\nAfter elaboration of the proof, the following warning will be generated to highlight the unused\nhypothesis:\n```\nincluded section variable '[ToString α]' is not used in 'ex', consider excluding it\n```\nIn such cases, the offending variable declaration should be moved down or into a section so that\nonly theorems that do depend on it follow it until the end of the section.\n", 4294, 4266); return x_1; } } @@ -40579,49 +40576,40 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_include___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_noncomputableSection___closed__8; -x_2 = l_Lean_Parser_many1(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_include___closed__5; +x_2 = l_Lean_Parser_Command_structExplicitBinder___closed__8; +x_3 = l_Lean_Parser_andthen(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_include___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_include___closed__5; -x_2 = l_Lean_Parser_Command_include___closed__6; -x_3 = l_Lean_Parser_andthen(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Command_include___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Command_include___closed__6; +x_4 = l_Lean_Parser_leadingNode(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Command_include___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Command_include___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_include___closed__7; -x_4 = l_Lean_Parser_leadingNode(x_1, x_2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_include___closed__3; +x_2 = l_Lean_Parser_Command_include___closed__7; +x_3 = l_Lean_Parser_withAntiquot(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Command_include___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_include___closed__3; -x_2 = l_Lean_Parser_Command_include___closed__8; -x_3 = l_Lean_Parser_withAntiquot(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Command_include___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_include___closed__2; -x_2 = l_Lean_Parser_Command_include___closed__9; +x_2 = l_Lean_Parser_Command_include___closed__8; x_3 = l_Lean_Parser_withCache(x_1, x_2); return x_3; } @@ -40630,7 +40618,7 @@ static lean_object* _init_l_Lean_Parser_Command_include() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Command_include___closed__10; +x_1 = l_Lean_Parser_Command_include___closed__9; return x_1; } } @@ -40651,7 +40639,7 @@ static lean_object* _init_l___regBuiltin_Lean_Parser_Command_include_docString__ _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("To be implemented. ", 19, 19); +x_1 = lean_mk_string_unchecked("`include eeny meeny` instructs Lean to include the section `variable`s `eeny` and `meeny` in all\ndeclarations in the remainder of the current section, differing from the default behavior of\nconditionally including variables based on use in the declaration header. `include` is usually\nfollowed by the `in` combinator to limit the inclusion to the subsequent declaration.\n", 371, 371); return x_1; } } @@ -40696,32 +40684,22 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_include_formatter___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_noncomputableSection_formatter___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_many1_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_include_formatter___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_include_formatter___closed__2; -x_2 = l_Lean_Parser_Command_include_formatter___closed__3; +x_2 = l_Lean_Parser_Command_structExplicitBinder_formatter___closed__5; 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_Command_include_formatter___closed__5() { +static lean_object* _init_l_Lean_Parser_Command_include_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_include___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_include_formatter___closed__4; +x_3 = l_Lean_Parser_Command_include_formatter___closed__3; 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); @@ -40734,7 +40712,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_include_formatter___closed__1; -x_7 = l_Lean_Parser_Command_include_formatter___closed__5; +x_7 = l_Lean_Parser_Command_include_formatter___closed__4; 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; } @@ -40803,32 +40781,22 @@ return x_2; static lean_object* _init_l_Lean_Parser_Command_include_parenthesizer___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_noncomputableSection_parenthesizer___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_many1_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Command_include_parenthesizer___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_include_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Command_include_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__5; 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_Command_include_parenthesizer___closed__5() { +static lean_object* _init_l_Lean_Parser_Command_include_parenthesizer___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Command_include___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Command_include_parenthesizer___closed__4; +x_3 = l_Lean_Parser_Command_include_parenthesizer___closed__3; 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); @@ -40841,7 +40809,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Command_include_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Command_include_parenthesizer___closed__5; +x_7 = l_Lean_Parser_Command_include_parenthesizer___closed__4; 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; } @@ -41137,7 +41105,7 @@ x_1 = l_Lean_Parser_Command_eoi___closed__5; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3048_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3041_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -41198,7 +41166,7 @@ x_1 = l_Lean_Parser_Command_ctor___closed__8; return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__1() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -41208,7 +41176,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__2() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__2() { _start: { lean_object* x_1; @@ -41216,19 +41184,19 @@ x_1 = lean_mk_string_unchecked("declModifiersF", 14, 14); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__3() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____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_Parser_Term_quot___closed__1; x_2 = l_Lean_Parser_Term_quot___closed__2; x_3 = l_Lean_Parser_Command_quot___closed__1; -x_4 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__2; +x_4 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__2; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__4() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -41238,7 +41206,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__5() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -41248,7 +41216,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__6() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -41258,12 +41226,12 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__7() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__7() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__6; +x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__6; x_3 = 1; x_4 = lean_alloc_ctor(0, 2, 1); lean_ctor_set(x_4, 0, x_1); @@ -41272,7 +41240,7 @@ lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__8() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__8() { _start: { lean_object* x_1; @@ -41280,17 +41248,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_declModifiersF_formatter) return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__9() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__8; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__8; 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_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__10() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__10() { _start: { lean_object* x_1; @@ -41298,7 +41266,7 @@ x_1 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__11() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__11() { _start: { lean_object* x_1; @@ -41306,17 +41274,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_declModifiersF_parenthesi return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__12() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__11; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__11; 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_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__13() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__13() { _start: { lean_object* x_1; @@ -41324,7 +41292,7 @@ x_1 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__14() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__14() { _start: { lean_object* x_1; @@ -41332,17 +41300,17 @@ x_1 = lean_mk_string_unchecked("nestedDeclModifiers", 19, 19); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__15() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__14; +x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__16() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__16() { _start: { lean_object* x_1; @@ -41350,19 +41318,19 @@ x_1 = lean_mk_string_unchecked("declModifiersT", 14, 14); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__17() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__17() { _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_Parser_Term_quot___closed__1; x_2 = l_Lean_Parser_Term_quot___closed__2; x_3 = l_Lean_Parser_Command_quot___closed__1; -x_4 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__16; +x_4 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__16; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__18() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -41372,7 +41340,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__19() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__19() { _start: { lean_object* x_1; @@ -41380,17 +41348,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_declModifiersT_formatter) return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__20() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__19; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__19; 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_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__21() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__21() { _start: { lean_object* x_1; @@ -41398,17 +41366,17 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Command_declModifiersT_parenthesi return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__22() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__22() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__21; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__21; 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_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__23() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -41418,7 +41386,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__24() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -41428,7 +41396,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__25() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -41438,7 +41406,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__26() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -41448,7 +41416,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__27() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -41458,7 +41426,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__28() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -41468,7 +41436,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__29() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__29() { _start: { lean_object* x_1; lean_object* x_2; @@ -41478,7 +41446,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__30() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -41488,7 +41456,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__31() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__31() { _start: { lean_object* x_1; lean_object* x_2; @@ -41498,7 +41466,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__32() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__32() { _start: { lean_object* x_1; lean_object* x_2; @@ -41508,7 +41476,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__33() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -41518,7 +41486,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__34() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__34() { _start: { lean_object* x_1; lean_object* x_2; @@ -41528,7 +41496,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__35() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__35() { _start: { lean_object* x_1; lean_object* x_2; @@ -41538,7 +41506,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__36() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__36() { _start: { lean_object* x_1; lean_object* x_2; @@ -41548,7 +41516,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__37() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__37() { _start: { lean_object* x_1; lean_object* x_2; @@ -41558,7 +41526,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__38() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -41568,7 +41536,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__39() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__39() { _start: { lean_object* x_1; lean_object* x_2; @@ -41578,7 +41546,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__40() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__40() { _start: { lean_object* x_1; lean_object* x_2; @@ -41588,7 +41556,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__41() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__41() { _start: { lean_object* x_1; lean_object* x_2; @@ -41598,7 +41566,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__42() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__42() { _start: { lean_object* x_1; lean_object* x_2; @@ -41608,7 +41576,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__43() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__43() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -41618,7 +41586,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__44() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__44() { _start: { lean_object* x_1; lean_object* x_2; @@ -41628,7 +41596,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__45() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__45() { _start: { lean_object* x_1; lean_object* x_2; @@ -41638,7 +41606,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__46() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__46() { _start: { lean_object* x_1; lean_object* x_2; @@ -41648,7 +41616,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__47() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__47() { _start: { lean_object* x_1; lean_object* x_2; @@ -41658,7 +41626,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__48() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__48() { _start: { lean_object* x_1; @@ -41666,29 +41634,29 @@ x_1 = lean_mk_string_unchecked("docComment", 10, 10); return x_1; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__49() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__49() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__48; +x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__48; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__50() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__50() { _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_Parser_Term_quot___closed__1; x_2 = l_Lean_Parser_Term_quot___closed__2; x_3 = l_Lean_Parser_Command_quot___closed__1; -x_4 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__48; +x_4 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__48; x_5 = l_Lean_Name_mkStr4(x_1, x_2, x_3, x_4); return x_5; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__51() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__51() { _start: { lean_object* x_1; lean_object* x_2; @@ -41698,17 +41666,17 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__52() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__52() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__50; +x_1 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__50; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__53() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__53() { _start: { lean_object* x_1; lean_object* x_2; @@ -41718,7 +41686,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__54() { +static lean_object* _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__54() { _start: { lean_object* x_1; lean_object* x_2; @@ -41728,15 +41696,15 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066_(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; -x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__1; -x_3 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__3; -x_4 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__4; -x_5 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__5; -x_6 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__7; +x_2 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__1; +x_3 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__3; +x_4 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__4; +x_5 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__5; +x_6 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__7; x_7 = l_Lean_Parser_registerAlias(x_2, x_3, x_4, x_5, x_6, x_1); if (lean_obj_tag(x_7) == 0) { @@ -41744,8 +41712,8 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__10; -x_10 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__9; +x_9 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__10; +x_10 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__9; x_11 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_2, x_10, x_8); if (lean_obj_tag(x_11) == 0) { @@ -41753,8 +41721,8 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); -x_13 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__13; -x_14 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__12; +x_13 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__13; +x_14 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__12; x_15 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_2, x_14, x_12); if (lean_obj_tag(x_15) == 0) { @@ -41762,9 +41730,9 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean x_16 = lean_ctor_get(x_15, 1); lean_inc(x_16); lean_dec(x_15); -x_17 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__15; -x_18 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__17; -x_19 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__18; +x_17 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__15; +x_18 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__17; +x_19 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__18; x_20 = l_Lean_Parser_registerAlias(x_17, x_18, x_19, x_5, x_6, x_16); if (lean_obj_tag(x_20) == 0) { @@ -41772,7 +41740,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__20; +x_22 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__20; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_17, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -41780,7 +41748,7 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__22; +x_25 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__22; x_26 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_17, x_25, x_24); if (lean_obj_tag(x_26) == 0) { @@ -41788,10 +41756,10 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean x_27 = lean_ctor_get(x_26, 1); lean_inc(x_27); lean_dec(x_26); -x_28 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__23; +x_28 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__23; x_29 = l_Lean_Parser_Command_declId___closed__2; -x_30 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__24; -x_31 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__25; +x_30 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__24; +x_31 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__25; x_32 = l_Lean_Parser_registerAlias(x_28, x_29, x_30, x_31, x_6, x_27); if (lean_obj_tag(x_32) == 0) { @@ -41799,7 +41767,7 @@ lean_object* x_33; lean_object* x_34; lean_object* x_35; x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); -x_34 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__26; +x_34 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__26; x_35 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_28, x_34, x_33); if (lean_obj_tag(x_35) == 0) { @@ -41807,7 +41775,7 @@ lean_object* x_36; lean_object* x_37; lean_object* x_38; x_36 = lean_ctor_get(x_35, 1); lean_inc(x_36); lean_dec(x_35); -x_37 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__27; +x_37 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__27; x_38 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_28, x_37, x_36); if (lean_obj_tag(x_38) == 0) { @@ -41815,10 +41783,10 @@ lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean x_39 = lean_ctor_get(x_38, 1); lean_inc(x_39); lean_dec(x_38); -x_40 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__28; +x_40 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__28; x_41 = l_Lean_Parser_Command_declSig___closed__2; -x_42 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__29; -x_43 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__30; +x_42 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__29; +x_43 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__30; x_44 = l_Lean_Parser_registerAlias(x_40, x_41, x_42, x_43, x_6, x_39); if (lean_obj_tag(x_44) == 0) { @@ -41826,7 +41794,7 @@ lean_object* x_45; lean_object* x_46; lean_object* x_47; x_45 = lean_ctor_get(x_44, 1); lean_inc(x_45); lean_dec(x_44); -x_46 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__31; +x_46 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__31; x_47 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_40, x_46, x_45); if (lean_obj_tag(x_47) == 0) { @@ -41834,7 +41802,7 @@ 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_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__32; +x_49 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__32; x_50 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_40, x_49, x_48); if (lean_obj_tag(x_50) == 0) { @@ -41842,10 +41810,10 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean x_51 = lean_ctor_get(x_50, 1); lean_inc(x_51); lean_dec(x_50); -x_52 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__33; +x_52 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__33; x_53 = l_Lean_Parser_Command_declVal___closed__2; -x_54 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__34; -x_55 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__35; +x_54 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__34; +x_55 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__35; x_56 = l_Lean_Parser_registerAlias(x_52, x_53, x_54, x_55, x_6, x_51); if (lean_obj_tag(x_56) == 0) { @@ -41853,7 +41821,7 @@ lean_object* x_57; lean_object* x_58; lean_object* x_59; x_57 = lean_ctor_get(x_56, 1); lean_inc(x_57); lean_dec(x_56); -x_58 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__36; +x_58 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__36; x_59 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_52, x_58, x_57); if (lean_obj_tag(x_59) == 0) { @@ -41861,7 +41829,7 @@ lean_object* x_60; lean_object* x_61; lean_object* x_62; x_60 = lean_ctor_get(x_59, 1); lean_inc(x_60); lean_dec(x_59); -x_61 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__37; +x_61 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__37; x_62 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_52, x_61, x_60); if (lean_obj_tag(x_62) == 0) { @@ -41869,10 +41837,10 @@ lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean x_63 = lean_ctor_get(x_62, 1); lean_inc(x_63); lean_dec(x_62); -x_64 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__38; +x_64 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__38; x_65 = l_Lean_Parser_Command_optDeclSig___closed__2; -x_66 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__39; -x_67 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__40; +x_66 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__39; +x_67 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__40; x_68 = l_Lean_Parser_registerAlias(x_64, x_65, x_66, x_67, x_6, x_63); if (lean_obj_tag(x_68) == 0) { @@ -41880,7 +41848,7 @@ lean_object* x_69; lean_object* x_70; lean_object* x_71; x_69 = lean_ctor_get(x_68, 1); lean_inc(x_69); lean_dec(x_68); -x_70 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__41; +x_70 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__41; x_71 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_64, x_70, x_69); if (lean_obj_tag(x_71) == 0) { @@ -41888,7 +41856,7 @@ lean_object* x_72; lean_object* x_73; lean_object* x_74; x_72 = lean_ctor_get(x_71, 1); lean_inc(x_72); lean_dec(x_71); -x_73 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__42; +x_73 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__42; x_74 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_64, x_73, x_72); if (lean_obj_tag(x_74) == 0) { @@ -41896,10 +41864,10 @@ lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean x_75 = lean_ctor_get(x_74, 1); lean_inc(x_75); lean_dec(x_74); -x_76 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__43; +x_76 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__43; x_77 = l_Lean_Parser_Command_openDecl___closed__2; -x_78 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__44; -x_79 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__45; +x_78 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__44; +x_79 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__45; x_80 = l_Lean_Parser_registerAlias(x_76, x_77, x_78, x_79, x_6, x_75); if (lean_obj_tag(x_80) == 0) { @@ -41907,7 +41875,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); lean_dec(x_80); -x_82 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__46; +x_82 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__46; x_83 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_76, x_82, x_81); if (lean_obj_tag(x_83) == 0) { @@ -41915,7 +41883,7 @@ lean_object* x_84; lean_object* x_85; lean_object* x_86; x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); -x_85 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__47; +x_85 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__47; x_86 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_76, x_85, x_84); if (lean_obj_tag(x_86) == 0) { @@ -41923,10 +41891,10 @@ lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean x_87 = lean_ctor_get(x_86, 1); lean_inc(x_87); lean_dec(x_86); -x_88 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__49; -x_89 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__50; -x_90 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__51; -x_91 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__52; +x_88 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__49; +x_89 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__50; +x_90 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__51; +x_91 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__52; x_92 = l_Lean_Parser_registerAlias(x_88, x_89, x_90, x_91, x_6, x_87); if (lean_obj_tag(x_92) == 0) { @@ -41934,7 +41902,7 @@ lean_object* x_93; lean_object* x_94; lean_object* x_95; x_93 = lean_ctor_get(x_92, 1); lean_inc(x_93); lean_dec(x_92); -x_94 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__53; +x_94 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__53; x_95 = l_Lean_Parser_registerAliasCore___rarg(x_9, x_88, x_94, x_93); if (lean_obj_tag(x_95) == 0) { @@ -41942,7 +41910,7 @@ lean_object* x_96; lean_object* x_97; lean_object* x_98; x_96 = lean_ctor_get(x_95, 1); lean_inc(x_96); lean_dec(x_95); -x_97 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__54; +x_97 = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__54; x_98 = l_Lean_Parser_registerAliasCore___rarg(x_13, x_88, x_97, x_96); return x_98; } @@ -50905,8 +50873,6 @@ l_Lean_Parser_Command_include___closed__8 = _init_l_Lean_Parser_Command_include_ lean_mark_persistent(l_Lean_Parser_Command_include___closed__8); l_Lean_Parser_Command_include___closed__9 = _init_l_Lean_Parser_Command_include___closed__9(); lean_mark_persistent(l_Lean_Parser_Command_include___closed__9); -l_Lean_Parser_Command_include___closed__10 = _init_l_Lean_Parser_Command_include___closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_include___closed__10); l_Lean_Parser_Command_include = _init_l_Lean_Parser_Command_include(); lean_mark_persistent(l_Lean_Parser_Command_include); if (builtin) {res = l___regBuiltin_Lean_Parser_Command_include__1(lean_io_mk_world()); @@ -50925,8 +50891,6 @@ l_Lean_Parser_Command_include_formatter___closed__3 = _init_l_Lean_Parser_Comman lean_mark_persistent(l_Lean_Parser_Command_include_formatter___closed__3); l_Lean_Parser_Command_include_formatter___closed__4 = _init_l_Lean_Parser_Command_include_formatter___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_include_formatter___closed__4); -l_Lean_Parser_Command_include_formatter___closed__5 = _init_l_Lean_Parser_Command_include_formatter___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_include_formatter___closed__5); l___regBuiltin_Lean_Parser_Command_include_formatter__1___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_include_formatter__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_include_formatter__1___closed__1); l___regBuiltin_Lean_Parser_Command_include_formatter__1___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_include_formatter__1___closed__2(); @@ -50942,8 +50906,6 @@ l_Lean_Parser_Command_include_parenthesizer___closed__3 = _init_l_Lean_Parser_Co lean_mark_persistent(l_Lean_Parser_Command_include_parenthesizer___closed__3); l_Lean_Parser_Command_include_parenthesizer___closed__4 = _init_l_Lean_Parser_Command_include_parenthesizer___closed__4(); lean_mark_persistent(l_Lean_Parser_Command_include_parenthesizer___closed__4); -l_Lean_Parser_Command_include_parenthesizer___closed__5 = _init_l_Lean_Parser_Command_include_parenthesizer___closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_include_parenthesizer___closed__5); l___regBuiltin_Lean_Parser_Command_include_parenthesizer__1___closed__1 = _init_l___regBuiltin_Lean_Parser_Command_include_parenthesizer__1___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Command_include_parenthesizer__1___closed__1); l___regBuiltin_Lean_Parser_Command_include_parenthesizer__1___closed__2 = _init_l___regBuiltin_Lean_Parser_Command_include_parenthesizer__1___closed__2(); @@ -50995,122 +50957,122 @@ l_Lean_Parser_Command_eoi___closed__5 = _init_l_Lean_Parser_Command_eoi___closed lean_mark_persistent(l_Lean_Parser_Command_eoi___closed__5); l_Lean_Parser_Command_eoi = _init_l_Lean_Parser_Command_eoi(); lean_mark_persistent(l_Lean_Parser_Command_eoi); -if (builtin) {res = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3048_(lean_io_mk_world()); +if (builtin) {res = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3041_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Command_declModifiersF = _init_l_Lean_Parser_Command_declModifiersF(); lean_mark_persistent(l_Lean_Parser_Command_declModifiersF); l_Lean_Parser_Command_declModifiersT = _init_l_Lean_Parser_Command_declModifiersT(); lean_mark_persistent(l_Lean_Parser_Command_declModifiersT); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__1 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__1(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__1); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__2 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__2(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__2); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__3 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__3(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__3); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__4 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__4(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__4); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__5 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__5(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__5); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__6 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__6(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__6); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__7 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__7(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__7); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__8 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__8(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__8); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__9 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__9(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__9); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__10 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__10(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__10); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__11 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__11(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__11); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__12 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__12(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__12); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__13 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__13(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__13); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__14 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__14(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__14); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__15 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__15(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__15); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__16 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__16(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__16); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__17 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__17(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__17); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__18 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__18(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__18); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__19 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__19(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__19); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__20 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__20(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__20); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__21 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__21(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__21); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__22 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__22(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__22); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__23 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__23(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__23); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__24 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__24(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__24); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__25 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__25(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__25); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__26 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__26(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__26); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__27 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__27(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__27); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__28 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__28(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__28); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__29 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__29(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__29); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__30 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__30(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__30); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__31 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__31(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__31); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__32 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__32(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__32); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__33 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__33(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__33); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__34 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__34(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__34); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__35 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__35(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__35); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__36 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__36(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__36); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__37 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__37(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__37); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__38 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__38(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__38); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__39 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__39(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__39); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__40 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__40(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__40); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__41 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__41(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__41); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__42 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__42(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__42); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__43 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__43(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__43); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__44 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__44(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__44); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__45 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__45(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__45); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__46 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__46(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__46); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__47 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__47(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__47); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__48 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__48(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__48); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__49 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__49(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__49); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__50 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__50(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__50); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__51 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__51(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__51); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__52 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__52(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__52); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__53 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__53(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__53); -l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__54 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__54(); -lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073____closed__54); -if (builtin) {res = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3073_(lean_io_mk_world()); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__1 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__1(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__1); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__2 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__2(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__2); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__3 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__3(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__3); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__4 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__4(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__4); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__5 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__5(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__5); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__6 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__6); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__7 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__7(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__7); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__8 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__8(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__8); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__9 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__9(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__9); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__10 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__10(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__10); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__11 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__11(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__11); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__12 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__12(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__12); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__13 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__13(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__13); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__14 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__14(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__14); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__15 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__15(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__15); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__16 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__16(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__16); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__17 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__17(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__17); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__18 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__18(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__18); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__19 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__19(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__19); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__20 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__20(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__20); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__21 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__21(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__21); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__22 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__22(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__22); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__23 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__23(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__23); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__24 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__24(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__24); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__25 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__25(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__25); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__26 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__26(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__26); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__27 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__27(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__27); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__28 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__28(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__28); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__29 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__29(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__29); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__30 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__30(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__30); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__31 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__31(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__31); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__32 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__32(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__32); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__33 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__33(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__33); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__34 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__34(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__34); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__35 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__35(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__35); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__36 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__36(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__36); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__37 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__37(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__37); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__38 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__38(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__38); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__39 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__39(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__39); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__40 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__40(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__40); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__41 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__41(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__41); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__42 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__42(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__42); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__43 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__43(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__43); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__44 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__44(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__44); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__45 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__45(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__45); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__46 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__46(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__46); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__47 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__47(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__47); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__48 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__48(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__48); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__49 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__49(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__49); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__50 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__50(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__50); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__51 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__51(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__51); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__52 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__52(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__52); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__53 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__53(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__53); +l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__54 = _init_l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__54(); +lean_mark_persistent(l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066____closed__54); +if (builtin) {res = l_Lean_Parser_Command_initFn____x40_Lean_Parser_Command___hyg_3066_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Term_open___closed__1 = _init_l_Lean_Parser_Term_open___closed__1();