diff --git a/stage0/src/stdlib_flags.h b/stage0/src/stdlib_flags.h index 810cb1ac9e..79a0e58edd 100644 --- a/stage0/src/stdlib_flags.h +++ b/stage0/src/stdlib_flags.h @@ -1,6 +1,5 @@ #include "util/options.h" -// Please update namespace lean { options get_default_options() { options opts; diff --git a/stage0/stdlib/Lake/Build/Executable.c b/stage0/stdlib/Lake/Build/Executable.c index 64ce8cc88d..ed138408d5 100644 --- a/stage0/stdlib/Lake/Build/Executable.c +++ b/stage0/stdlib/Lake/Build/Executable.c @@ -4375,9 +4375,9 @@ goto block_52; block_44: { lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_nat_add(x_38, x_40); +x_41 = lean_nat_add(x_39, x_40); lean_dec(x_40); -lean_dec(x_38); +lean_dec(x_39); if (lean_is_scalar(x_35)) { x_42 = lean_alloc_ctor(0, 5, 0); } else { @@ -4396,7 +4396,7 @@ if (lean_is_scalar(x_25)) { lean_ctor_set(x_43, 0, x_37); lean_ctor_set(x_43, 1, x_28); lean_ctor_set(x_43, 2, x_29); -lean_ctor_set(x_43, 3, x_39); +lean_ctor_set(x_43, 3, x_38); lean_ctor_set(x_43, 4, x_42); return x_43; } @@ -4422,8 +4422,8 @@ if (lean_obj_tag(x_31) == 0) lean_object* x_50; x_50 = lean_ctor_get(x_31, 0); lean_inc(x_50); -x_38 = x_49; -x_39 = x_48; +x_38 = x_48; +x_39 = x_49; x_40 = x_50; goto block_44; } @@ -4431,8 +4431,8 @@ else { lean_object* x_51; x_51 = lean_unsigned_to_nat(0u); -x_38 = x_49; -x_39 = x_48; +x_38 = x_48; +x_39 = x_49; x_40 = x_51; goto block_44; } @@ -4849,9 +4849,9 @@ goto block_154; block_147: { lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_nat_add(x_142, x_143); +x_144 = lean_nat_add(x_141, x_143); lean_dec(x_143); -lean_dec(x_142); +lean_dec(x_141); if (lean_is_scalar(x_138)) { x_145 = lean_alloc_ctor(0, 5, 0); } else { @@ -4870,7 +4870,7 @@ if (lean_is_scalar(x_128)) { lean_ctor_set(x_146, 0, x_140); lean_ctor_set(x_146, 1, x_130); lean_ctor_set(x_146, 2, x_131); -lean_ctor_set(x_146, 3, x_141); +lean_ctor_set(x_146, 3, x_142); lean_ctor_set(x_146, 4, x_145); return x_146; } @@ -4896,8 +4896,8 @@ if (lean_obj_tag(x_133) == 0) lean_object* x_152; x_152 = lean_ctor_get(x_133, 0); lean_inc(x_152); -x_141 = x_150; -x_142 = x_151; +x_141 = x_151; +x_142 = x_150; x_143 = x_152; goto block_147; } @@ -4905,8 +4905,8 @@ else { lean_object* x_153; x_153 = lean_unsigned_to_nat(0u); -x_141 = x_150; -x_142 = x_151; +x_141 = x_151; +x_142 = x_150; x_143 = x_153; goto block_147; } diff --git a/stage0/stdlib/Lake/Build/Key.c b/stage0/stdlib/Lake/Build/Key.c index b0b7d6bf3b..741f8202a4 100644 --- a/stage0/stdlib/Lake/Build/Key.c +++ b/stage0/stdlib/Lake/Build/Key.c @@ -91,6 +91,7 @@ LEAN_EXPORT lean_object* l_Lake_BuildKey_toSimpleString(lean_object*); LEAN_EXPORT lean_object* l_Lake_BuildKey_packageModule_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget_spec__1___redArg(uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instReprBuildKey_repr___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__6; static lean_object* l_Lake_PartialBuildKey_parse___closed__6; LEAN_EXPORT lean_object* l___private_Lake_Build_Key_0__Lake_BuildKey_quickCmp_match__10_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_PartialBuildKey_instToString___closed__0; @@ -122,6 +123,7 @@ LEAN_EXPORT lean_object* l_Lake_BuildKey_packageModuleFacet(lean_object*, lean_o static lean_object* l_Lake_PartialBuildKey_parse___closed__2; LEAN_EXPORT lean_object* l_Lake_instHashableBuildKey; LEAN_EXPORT lean_object* l_Lake_instDecidableEqBuildKey___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__7; static lean_object* l_Lake_instReprBuildKey_repr___closed__13; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_BuildKey_instToString; @@ -1498,6 +1500,24 @@ return x_2; static lean_object* _init_l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__3() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_unchecked("ill-formed target: expected module name after '+'", 49, 49); +return x_1; +} +} +static lean_object* _init_l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = l_Lake_PartialBuildKey_instInhabited___closed__0; x_2 = lean_alloc_ctor(1, 1, 0); @@ -1505,7 +1525,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__4() { +static lean_object* _init_l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__6() { _start: { lean_object* x_1; @@ -1513,11 +1533,11 @@ x_1 = lean_mk_string_unchecked("@", 1, 1); return x_1; } } -static lean_object* _init_l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__5() { +static lean_object* _init_l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__4; +x_1 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__6; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -1548,41 +1568,41 @@ lean_inc(x_13); lean_dec_ref(x_11); if (lean_obj_tag(x_13) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_44; uint8_t x_45; +lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_47; uint8_t x_48; x_17 = lean_ctor_get(x_12, 0); x_18 = lean_ctor_get(x_12, 1); x_19 = lean_ctor_get(x_12, 2); -x_44 = lean_nat_sub(x_19, x_18); -x_45 = lean_nat_dec_eq(x_44, x_5); -if (x_45 == 0) -{ -lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_46 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__4; -x_47 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__5; -x_48 = lean_nat_dec_le(x_47, x_44); -lean_dec(x_44); +x_47 = lean_nat_sub(x_19, x_18); +x_48 = lean_nat_dec_eq(x_47, x_5); if (x_48 == 0) { -x_20 = x_45; -goto block_43; +lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_49 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__6; +x_50 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__7; +x_51 = lean_nat_dec_le(x_50, x_47); +lean_dec(x_47); +if (x_51 == 0) +{ +x_20 = x_48; +goto block_46; } else { -uint8_t x_49; -x_49 = lean_string_memcmp(x_17, x_46, x_18, x_5, x_47); -x_20 = x_49; -goto block_43; +uint8_t x_52; +x_52 = lean_string_memcmp(x_17, x_49, x_18, x_5, x_50); +x_20 = x_52; +goto block_46; } } else { -lean_object* x_50; -lean_dec(x_44); +lean_object* x_53; +lean_dec(x_47); lean_dec(x_12); -x_50 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__3; -return x_50; +x_53 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__5; +return x_53; } -block_43: +block_46: { if (x_20 == 0) { @@ -1606,7 +1626,7 @@ goto block_16; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_inc(x_19); lean_inc(x_18); lean_inc_ref(x_17); @@ -1616,153 +1636,169 @@ lean_dec(x_12); x_28 = lean_nat_add(x_18, x_27); lean_dec(x_27); lean_dec(x_18); -x_29 = lean_string_utf8_extract(x_17, x_28, x_19); +x_29 = lean_nat_sub(x_19, x_28); +x_30 = lean_nat_dec_eq(x_29, x_5); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_string_utf8_extract(x_17, x_28, x_19); lean_dec(x_19); lean_dec(x_28); lean_dec_ref(x_17); -x_30 = l_Lake_stringToLegalOrSimpleName(x_29); -x_31 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_31, 0, x_30); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -return x_32; +x_32 = l_Lake_stringToLegalOrSimpleName(x_31); +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +return x_34; +} +else +{ +lean_object* x_35; +lean_dec(x_28); +lean_dec(x_19); +lean_dec_ref(x_17); +x_35 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__4; +return x_35; +} } } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_inc(x_19); lean_inc(x_18); lean_inc_ref(x_17); -x_33 = lean_unsigned_to_nat(1u); -x_34 = l_String_Slice_Pos_nextn(x_12, x_5, x_33); +x_36 = lean_unsigned_to_nat(1u); +x_37 = l_String_Slice_Pos_nextn(x_12, x_5, x_36); lean_dec(x_12); -x_35 = lean_nat_add(x_18, x_34); -lean_dec(x_34); +x_38 = lean_nat_add(x_18, x_37); +lean_dec(x_37); lean_dec(x_18); -x_36 = lean_nat_sub(x_19, x_35); -x_37 = lean_nat_dec_eq(x_36, x_5); -lean_dec(x_36); -if (x_37 == 0) +x_39 = lean_nat_sub(x_19, x_38); +x_40 = lean_nat_dec_eq(x_39, x_5); +lean_dec(x_39); +if (x_40 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_38 = lean_string_utf8_extract(x_17, x_35, x_19); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_string_utf8_extract(x_17, x_38, x_19); lean_dec(x_19); -lean_dec(x_35); +lean_dec(x_38); lean_dec_ref(x_17); -x_39 = l_Lake_stringToLegalOrSimpleName(x_38); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_39); -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_40); -return x_41; +x_42 = l_Lake_stringToLegalOrSimpleName(x_41); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +return x_44; } else { -lean_object* x_42; -lean_dec(x_35); +lean_object* x_45; +lean_dec(x_38); lean_dec(x_19); lean_dec_ref(x_17); -x_42 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__3; -return x_42; +x_45 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__5; +return x_45; } } } } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_13, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_13, 1); -lean_inc(x_52); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_54 = lean_ctor_get(x_13, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_13, 1); +lean_inc(x_55); lean_dec_ref(x_13); -if (lean_obj_tag(x_52) == 0) +if (lean_obj_tag(x_55) == 0) { -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_64 = lean_ctor_get(x_12, 0); -lean_inc_ref(x_64); -x_65 = lean_ctor_get(x_12, 1); -lean_inc(x_65); -x_66 = lean_ctor_get(x_12, 2); -lean_inc(x_66); -x_67 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__4; -x_68 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__5; -x_69 = lean_nat_sub(x_66, x_65); -x_70 = lean_nat_dec_le(x_68, x_69); -lean_dec(x_69); -if (x_70 == 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; uint8_t x_73; +x_67 = lean_ctor_get(x_12, 0); +lean_inc_ref(x_67); +x_68 = lean_ctor_get(x_12, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_12, 2); +lean_inc(x_69); +x_70 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__6; +x_71 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__7; +x_72 = lean_nat_sub(x_69, x_68); +x_73 = lean_nat_dec_le(x_71, x_72); +lean_dec(x_72); +if (x_73 == 0) { lean_dec(x_12); -x_53 = x_64; -x_54 = x_65; -x_55 = x_66; -goto block_63; +x_56 = x_67; +x_57 = x_68; +x_58 = x_69; +goto block_66; } else { -uint8_t x_71; -x_71 = lean_string_memcmp(x_64, x_67, x_65, x_5, x_68); -if (x_71 == 0) +uint8_t x_74; +x_74 = lean_string_memcmp(x_67, x_70, x_68, x_5, x_71); +if (x_74 == 0) { lean_dec(x_12); -x_53 = x_64; -x_54 = x_65; -x_55 = x_66; -goto block_63; +x_56 = x_67; +x_57 = x_68; +x_58 = x_69; +goto block_66; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_72 = lean_unsigned_to_nat(1u); -x_73 = l_String_Slice_Pos_nextn(x_12, x_5, x_72); +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_unsigned_to_nat(1u); +x_76 = l_String_Slice_Pos_nextn(x_12, x_5, x_75); lean_dec(x_12); -x_74 = lean_nat_add(x_65, x_73); -lean_dec(x_73); -lean_dec(x_65); -x_53 = x_64; -x_54 = x_74; -x_55 = x_66; -goto block_63; +x_77 = lean_nat_add(x_68, x_76); +lean_dec(x_76); +lean_dec(x_68); +x_56 = x_67; +x_57 = x_77; +x_58 = x_69; +goto block_66; } } } else { -lean_dec(x_52); -lean_dec(x_51); +lean_dec(x_55); +lean_dec(x_54); lean_dec(x_12); goto block_3; } -block_63: +block_66: { -lean_object* x_56; uint8_t x_57; -x_56 = lean_nat_sub(x_55, x_54); -x_57 = lean_nat_dec_eq(x_56, x_5); -lean_dec(x_56); -if (x_57 == 0) +lean_object* x_59; uint8_t x_60; +x_59 = lean_nat_sub(x_58, x_57); +x_60 = lean_nat_dec_eq(x_59, x_5); +lean_dec(x_59); +if (x_60 == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_string_utf8_extract(x_53, x_54, x_55); -lean_dec(x_55); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_string_utf8_extract(x_56, x_57, x_58); +lean_dec(x_58); +lean_dec(x_57); +lean_dec_ref(x_56); +x_62 = l_Lake_stringToLegalOrSimpleName(x_61); +x_63 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parsePackageTarget(x_62, x_54); lean_dec(x_54); -lean_dec_ref(x_53); -x_59 = l_Lake_stringToLegalOrSimpleName(x_58); -x_60 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parsePackageTarget(x_59, x_51); -lean_dec(x_51); -return x_60; +return x_63; } else { -lean_object* x_61; lean_object* x_62; -lean_dec(x_55); +lean_object* x_64; lean_object* x_65; +lean_dec(x_58); +lean_dec(x_57); +lean_dec_ref(x_56); +x_64 = lean_box(0); +x_65 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parsePackageTarget(x_64, x_54); lean_dec(x_54); -lean_dec_ref(x_53); -x_61 = lean_box(0); -x_62 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parsePackageTarget(x_61, x_51); -lean_dec(x_51); -return x_62; +return x_65; } } } @@ -2348,7 +2384,7 @@ return x_9; else { lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; -x_10 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__4; +x_10 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__6; x_11 = 1; x_12 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_8, x_11); x_13 = lean_string_append(x_10, x_12); @@ -2549,7 +2585,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); lean_dec_ref(x_1); -x_8 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__4; +x_8 = l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__6; x_9 = l_Lean_Name_getPrefix(x_7); lean_dec(x_7); x_10 = 1; @@ -3490,6 +3526,10 @@ l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__4 lean_mark_persistent(l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__4); l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__5 = _init_l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__5(); lean_mark_persistent(l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__5); +l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__6 = _init_l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__6(); +lean_mark_persistent(l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__6); +l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__7 = _init_l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__7(); +lean_mark_persistent(l___private_Lake_Build_Key_0__Lake_PartialBuildKey_parse_parseTarget___closed__7); l_panic___at___00Lake_PartialBuildKey_parse_spec__2___closed__0 = _init_l_panic___at___00Lake_PartialBuildKey_parse_spec__2___closed__0(); lean_mark_persistent(l_panic___at___00Lake_PartialBuildKey_parse_spec__2___closed__0); l_List_foldlM___at___00Lake_PartialBuildKey_parse_spec__3___closed__0 = _init_l_List_foldlM___at___00Lake_PartialBuildKey_parse_spec__3___closed__0(); diff --git a/stage0/stdlib/Lake/Build/Library.c b/stage0/stdlib/Lake/Build/Library.c index d202ce76f2..f2717b2707 100644 --- a/stage0/stdlib/Lake/Build/Library.c +++ b/stage0/stdlib/Lake/Build/Library.c @@ -2422,7 +2422,7 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lake_Build_Library_0__Lake_LeanLib_recBuildStatic___lam__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_78; lean_object* x_86; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; 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_37; lean_object* x_38; lean_object* x_39; lean_object* x_78; lean_object* x_86; lean_inc_ref(x_11); lean_inc_ref(x_15); lean_inc(x_14); @@ -2579,26 +2579,26 @@ return x_112; block_28: { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = l_Array_append___redArg(x_19, x_21); -lean_dec_ref(x_21); +x_24 = l_Array_append___redArg(x_22, x_19); +lean_dec_ref(x_19); x_25 = l___private_Lake_Build_Library_0__Lake_LeanLib_recCollectLocalModules___lam__0___closed__2; -x_26 = l_Lake_buildStaticLib(x_20, x_24, x_23, x_11, x_2, x_13, x_14, x_15, x_25); +x_26 = l_Lake_buildStaticLib(x_21, x_24, x_23, x_11, x_2, x_13, x_14, x_15, x_25); lean_dec_ref(x_24); x_27 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_22); +lean_ctor_set(x_27, 1, x_20); return x_27; } block_36: { -if (x_30 == 0) +if (x_33 == 0) { x_18 = lean_box(0); -x_19 = x_31; -x_20 = x_34; -x_21 = x_32; -x_22 = x_33; -x_23 = x_30; +x_19 = x_30; +x_20 = x_31; +x_21 = x_34; +x_22 = x_32; +x_23 = x_33; goto block_28; } else @@ -2608,20 +2608,20 @@ x_35 = l_System_Platform_isWindows; if (x_35 == 0) { x_18 = lean_box(0); -x_19 = x_31; -x_20 = x_34; -x_21 = x_32; -x_22 = x_33; +x_19 = x_30; +x_20 = x_31; +x_21 = x_34; +x_22 = x_32; x_23 = x_35; goto block_28; } else { x_18 = lean_box(0); -x_19 = x_31; -x_20 = x_34; -x_21 = x_32; -x_22 = x_33; +x_19 = x_30; +x_20 = x_31; +x_21 = x_34; +x_22 = x_32; x_23 = x_3; goto block_28; } @@ -2671,10 +2671,10 @@ x_58 = l_Lake_LeanLib_libName(x_9); x_59 = l_Lake_nameToStaticLib(x_58, x_3); x_60 = l_Lake_joinRelative(x_57, x_59); x_29 = lean_box(0); -x_30 = x_42; -x_31 = x_37; -x_32 = x_52; -x_33 = x_53; +x_30 = x_52; +x_31 = x_53; +x_32 = x_37; +x_33 = x_42; x_34 = x_60; goto block_36; } @@ -2697,10 +2697,10 @@ x_70 = l___private_Lake_Build_Library_0__Lake_LeanLib_recBuildStatic___lam__3___ x_71 = l_System_FilePath_addExtension(x_69, x_70); x_72 = l_Lake_joinRelative(x_66, x_71); x_29 = lean_box(0); -x_30 = x_42; -x_31 = x_37; -x_32 = x_61; -x_33 = x_62; +x_30 = x_61; +x_31 = x_62; +x_32 = x_37; +x_33 = x_42; x_34 = x_72; goto block_36; } @@ -4104,7 +4104,7 @@ return x_14; LEAN_EXPORT lean_object* l___private_Lake_Build_Library_0__Lake_LeanLib_recBuildStatic___at___00Lake_LeanLib_staticFacetConfig_spec__0___lam__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_75; lean_object* x_83; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_75; lean_object* x_83; lean_inc_ref(x_9); lean_inc_ref(x_13); lean_inc(x_12); @@ -4253,26 +4253,26 @@ return x_107; block_26: { lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = l_Array_append___redArg(x_19, x_17); -lean_dec_ref(x_17); +x_22 = l_Array_append___redArg(x_20, x_16); +lean_dec_ref(x_16); x_23 = l___private_Lake_Build_Library_0__Lake_LeanLib_recCollectLocalModules___lam__0___closed__2; -x_24 = l_Lake_buildStaticLib(x_20, x_22, x_21, x_9, x_2, x_11, x_12, x_13, x_23); +x_24 = l_Lake_buildStaticLib(x_18, x_22, x_21, x_9, x_2, x_11, x_12, x_13, x_23); lean_dec_ref(x_22); x_25 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_18); +lean_ctor_set(x_25, 1, x_19); return x_25; } block_34: { -if (x_28 == 0) +if (x_27 == 0) { -x_16 = lean_box(0); -x_17 = x_29; -x_18 = x_30; -x_19 = x_31; -x_20 = x_32; -x_21 = x_28; +x_16 = x_28; +x_17 = lean_box(0); +x_18 = x_32; +x_19 = x_30; +x_20 = x_31; +x_21 = x_27; goto block_26; } else @@ -4281,21 +4281,21 @@ uint8_t x_33; x_33 = l_System_Platform_isWindows; if (x_33 == 0) { -x_16 = lean_box(0); -x_17 = x_29; -x_18 = x_30; -x_19 = x_31; -x_20 = x_32; +x_16 = x_28; +x_17 = lean_box(0); +x_18 = x_32; +x_19 = x_30; +x_20 = x_31; x_21 = x_33; goto block_26; } else { -x_16 = lean_box(0); -x_17 = x_29; -x_18 = x_30; -x_19 = x_31; -x_20 = x_32; +x_16 = x_28; +x_17 = lean_box(0); +x_18 = x_32; +x_19 = x_30; +x_20 = x_31; x_21 = x_3; goto block_26; } @@ -4343,9 +4343,9 @@ x_54 = l_Lake_joinRelative(x_52, x_53); x_55 = l_Lake_LeanLib_libName(x_8); x_56 = l_Lake_nameToStaticLib(x_55, x_3); x_57 = l_Lake_joinRelative(x_54, x_56); -x_27 = lean_box(0); -x_28 = x_40; -x_29 = x_49; +x_27 = x_40; +x_28 = x_49; +x_29 = lean_box(0); x_30 = x_50; x_31 = x_35; x_32 = x_57; @@ -4369,9 +4369,9 @@ x_66 = l_Lake_nameToStaticLib(x_64, x_65); x_67 = l___private_Lake_Build_Library_0__Lake_LeanLib_recBuildStatic___lam__3___closed__0; x_68 = l_System_FilePath_addExtension(x_66, x_67); x_69 = l_Lake_joinRelative(x_63, x_68); -x_27 = lean_box(0); -x_28 = x_40; -x_29 = x_58; +x_27 = x_40; +x_28 = x_58; +x_29 = lean_box(0); x_30 = x_59; x_31 = x_35; x_32 = x_69; @@ -6203,10 +6203,10 @@ x_163 = x_228; x_164 = x_229; x_165 = x_230; x_166 = x_231; -x_167 = x_232; -x_168 = x_233; -x_169 = x_234; -x_170 = x_235; +x_167 = x_235; +x_168 = x_232; +x_169 = x_233; +x_170 = x_234; x_171 = x_238; x_172 = x_236; x_173 = lean_box(0); @@ -6227,10 +6227,10 @@ x_163 = x_228; x_164 = x_229; x_165 = x_230; x_166 = x_231; -x_167 = x_232; -x_168 = x_233; -x_169 = x_234; -x_170 = x_235; +x_167 = x_235; +x_168 = x_232; +x_169 = x_233; +x_170 = x_234; x_171 = x_238; x_172 = x_236; x_173 = lean_box(0); @@ -6248,16 +6248,16 @@ lean_inc(x_2); lean_inc_ref(x_10); x_244 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__7(x_224, x_242, x_243, x_238, x_10, x_2, x_12, x_13, x_14, x_236); lean_dec(x_224); -x_204 = x_227; -x_205 = x_226; -x_206 = x_228; -x_207 = x_229; +x_204 = x_226; +x_205 = x_227; +x_206 = x_229; +x_207 = x_228; x_208 = x_230; x_209 = x_231; x_210 = x_232; -x_211 = x_233; -x_212 = x_235; -x_213 = x_234; +x_211 = x_235; +x_212 = x_234; +x_213 = x_233; x_214 = x_244; goto block_219; } @@ -6274,16 +6274,16 @@ lean_inc(x_2); lean_inc_ref(x_10); x_247 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__7(x_224, x_245, x_246, x_238, x_10, x_2, x_12, x_13, x_14, x_236); lean_dec(x_224); -x_204 = x_227; -x_205 = x_226; -x_206 = x_228; -x_207 = x_229; +x_204 = x_226; +x_205 = x_227; +x_206 = x_229; +x_207 = x_228; x_208 = x_230; x_209 = x_231; x_210 = x_232; -x_211 = x_233; -x_212 = x_235; -x_213 = x_234; +x_211 = x_235; +x_212 = x_234; +x_213 = x_233; x_214 = x_247; goto block_219; } @@ -6299,15 +6299,15 @@ lean_inc(x_259); x_260 = lean_ctor_get(x_258, 1); lean_inc(x_260); lean_dec_ref(x_258); -x_226 = x_250; -x_227 = x_249; -x_228 = x_251; -x_229 = x_252; +x_226 = x_249; +x_227 = x_250; +x_228 = x_252; +x_229 = x_251; x_230 = x_253; x_231 = x_254; x_232 = x_255; -x_233 = x_256; -x_234 = x_257; +x_233 = x_257; +x_234 = x_256; x_235 = x_259; x_236 = x_260; x_237 = lean_box(0); @@ -6316,11 +6316,11 @@ goto block_248; else { uint8_t x_261; +lean_dec_ref(x_257); +lean_dec_ref(x_255); lean_dec_ref(x_253); -lean_dec_ref(x_252); lean_dec_ref(x_251); lean_dec_ref(x_250); -lean_dec_ref(x_249); lean_dec(x_224); lean_dec_ref(x_14); lean_dec(x_13); @@ -6382,15 +6382,15 @@ x_284 = lean_nat_dec_lt(x_282, x_283); if (x_284 == 0) { lean_dec_ref(x_281); -x_226 = x_274; +x_226 = x_278; x_227 = x_272; -x_228 = x_275; +x_228 = x_280; x_229 = x_276; -x_230 = x_271; +x_230 = x_275; x_231 = x_282; -x_232 = x_280; -x_233 = x_279; -x_234 = x_278; +x_232 = x_271; +x_233 = x_274; +x_234 = x_279; x_235 = x_266; x_236 = x_267; x_237 = lean_box(0); @@ -6405,15 +6405,15 @@ if (x_285 == 0) if (x_284 == 0) { lean_dec_ref(x_281); -x_226 = x_274; +x_226 = x_278; x_227 = x_272; -x_228 = x_275; +x_228 = x_280; x_229 = x_276; -x_230 = x_271; +x_230 = x_275; x_231 = x_282; -x_232 = x_280; -x_233 = x_279; -x_234 = x_278; +x_232 = x_271; +x_233 = x_274; +x_234 = x_279; x_235 = x_266; x_236 = x_267; x_237 = lean_box(0); @@ -6432,15 +6432,15 @@ lean_inc_ref(x_10); lean_inc_ref(x_6); x_288 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__8(x_6, x_281, x_286, x_287, x_266, x_10, x_2, x_12, x_13, x_14, x_267); lean_dec_ref(x_281); -x_249 = x_272; -x_250 = x_274; -x_251 = x_275; -x_252 = x_276; -x_253 = x_271; +x_249 = x_278; +x_250 = x_272; +x_251 = x_276; +x_252 = x_280; +x_253 = x_275; x_254 = x_282; -x_255 = x_280; +x_255 = x_271; x_256 = x_279; -x_257 = x_278; +x_257 = x_274; x_258 = x_288; goto block_265; } @@ -6458,15 +6458,15 @@ lean_inc_ref(x_10); lean_inc_ref(x_6); x_291 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__8(x_6, x_281, x_289, x_290, x_266, x_10, x_2, x_12, x_13, x_14, x_267); lean_dec_ref(x_281); -x_249 = x_272; -x_250 = x_274; -x_251 = x_275; -x_252 = x_276; -x_253 = x_271; +x_249 = x_278; +x_250 = x_272; +x_251 = x_276; +x_252 = x_280; +x_253 = x_275; x_254 = x_282; -x_255 = x_280; +x_255 = x_271; x_256 = x_279; -x_257 = x_278; +x_257 = x_274; x_258 = x_291; goto block_265; } @@ -6592,20 +6592,20 @@ block_42: lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_inc_ref(x_3); x_27 = l_Lake_LeanLib_libName(x_3); -x_28 = l_System_FilePath_normalize(x_20); +x_28 = l_System_FilePath_normalize(x_22); x_29 = l_Lake_joinRelative(x_4, x_28); x_30 = l_System_FilePath_normalize(x_17); x_31 = l_Lake_joinRelative(x_29, x_30); x_32 = 0; x_33 = l_Lake_nameToSharedLib(x_27, x_32); x_34 = l_Lake_joinRelative(x_31, x_33); -x_35 = l_Array_append___redArg(x_19, x_21); -x_36 = l_Array_append___redArg(x_18, x_22); +x_35 = l_Array_append___redArg(x_19, x_18); +x_36 = l_Array_append___redArg(x_20, x_23); x_37 = l_Lake_LeanLib_isPlugin(x_3); x_38 = l_System_Platform_isWindows; x_39 = l___private_Lake_Build_Library_0__Lake_LeanLib_recCollectLocalModules___lam__0___closed__2; -x_40 = l_Lake_buildLeanSharedLib(x_27, x_34, x_23, x_24, x_35, x_36, x_37, x_38, x_10, x_2, x_12, x_13, x_14, x_39); -lean_dec_ref(x_23); +x_40 = l_Lake_buildLeanSharedLib(x_27, x_34, x_21, x_24, x_35, x_36, x_37, x_38, x_10, x_2, x_12, x_13, x_14, x_39); +lean_dec_ref(x_21); x_41 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_25); @@ -6630,11 +6630,11 @@ x_57 = lean_ctor_get(x_55, 1); lean_inc(x_57); lean_dec_ref(x_55); x_17 = x_48; -x_18 = x_49; -x_19 = x_50; +x_18 = x_50; +x_19 = x_49; x_20 = x_51; -x_21 = x_52; -x_22 = x_53; +x_21 = x_53; +x_22 = x_52; x_23 = x_54; x_24 = x_56; x_25 = x_57; @@ -6644,9 +6644,9 @@ goto block_42; else { lean_object* x_58; lean_object* x_59; -lean_dec_ref(x_54); +lean_dec_ref(x_53); +lean_dec_ref(x_52); lean_dec_ref(x_51); -lean_dec_ref(x_50); lean_dec_ref(x_49); lean_dec_ref(x_48); lean_dec_ref(x_14); @@ -6675,15 +6675,15 @@ x_74 = lean_nat_dec_lt(x_67, x_73); if (x_74 == 0) { lean_dec_ref(x_72); -x_17 = x_61; -x_18 = x_62; -x_19 = x_65; +x_17 = x_63; +x_18 = x_65; +x_19 = x_64; x_20 = x_66; x_21 = x_69; -x_22 = x_70; +x_22 = x_68; x_23 = x_71; -x_24 = x_64; -x_25 = x_68; +x_24 = x_62; +x_25 = x_61; x_26 = lean_box(0); goto block_42; } @@ -6696,15 +6696,15 @@ if (x_75 == 0) if (x_74 == 0) { lean_dec_ref(x_72); -x_17 = x_61; -x_18 = x_62; -x_19 = x_65; +x_17 = x_63; +x_18 = x_65; +x_19 = x_64; x_20 = x_66; x_21 = x_69; -x_22 = x_70; +x_22 = x_68; x_23 = x_71; -x_24 = x_64; -x_25 = x_68; +x_24 = x_62; +x_25 = x_61; x_26 = lean_box(0); goto block_42; } @@ -6718,14 +6718,14 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_2); lean_inc_ref(x_10); -x_78 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__2(x_72, x_76, x_77, x_64, x_10, x_2, x_12, x_13, x_14, x_68); +x_78 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__2(x_72, x_76, x_77, x_62, x_10, x_2, x_12, x_13, x_14, x_61); lean_dec_ref(x_72); -x_48 = x_61; -x_49 = x_62; +x_48 = x_63; +x_49 = x_64; x_50 = x_65; x_51 = x_66; -x_52 = x_69; -x_53 = x_70; +x_52 = x_68; +x_53 = x_69; x_54 = x_71; x_55 = x_78; goto block_60; @@ -6741,14 +6741,14 @@ lean_inc(x_13); lean_inc(x_12); lean_inc(x_2); lean_inc_ref(x_10); -x_81 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__2(x_72, x_79, x_80, x_64, x_10, x_2, x_12, x_13, x_14, x_68); +x_81 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__2(x_72, x_79, x_80, x_62, x_10, x_2, x_12, x_13, x_14, x_61); lean_dec_ref(x_72); -x_48 = x_61; -x_49 = x_62; +x_48 = x_63; +x_49 = x_64; x_50 = x_65; x_51 = x_66; -x_52 = x_69; -x_53 = x_70; +x_52 = x_68; +x_53 = x_69; x_54 = x_71; x_55 = x_81; goto block_60; @@ -6764,16 +6764,16 @@ x_96 = lean_nat_dec_lt(x_87, x_95); if (x_96 == 0) { lean_dec_ref(x_6); -x_61 = x_83; -x_62 = x_84; -x_63 = lean_box(0); -x_64 = x_91; -x_65 = x_85; +x_61 = x_92; +x_62 = x_91; +x_63 = x_83; +x_64 = x_85; +x_65 = x_84; x_66 = x_86; x_67 = x_87; -x_68 = x_92; +x_68 = x_89; x_69 = x_88; -x_70 = x_89; +x_70 = lean_box(0); x_71 = x_90; x_72 = x_94; goto block_82; @@ -6788,16 +6788,16 @@ if (x_98 == 0) if (x_96 == 0) { lean_dec_ref(x_6); -x_61 = x_83; -x_62 = x_84; -x_63 = lean_box(0); -x_64 = x_91; -x_65 = x_85; +x_61 = x_92; +x_62 = x_91; +x_63 = x_83; +x_64 = x_85; +x_65 = x_84; x_66 = x_86; x_67 = x_87; -x_68 = x_92; +x_68 = x_89; x_69 = x_88; -x_70 = x_89; +x_70 = lean_box(0); x_71 = x_90; x_72 = x_94; goto block_82; @@ -6808,16 +6808,16 @@ size_t x_99; size_t x_100; lean_object* x_101; x_99 = 0; x_100 = lean_usize_of_nat(x_95); x_101 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__3(x_97, x_6, x_5, x_99, x_100, x_94); -x_61 = x_83; -x_62 = x_84; -x_63 = lean_box(0); -x_64 = x_91; -x_65 = x_85; +x_61 = x_92; +x_62 = x_91; +x_63 = x_83; +x_64 = x_85; +x_65 = x_84; x_66 = x_86; x_67 = x_87; -x_68 = x_92; +x_68 = x_89; x_69 = x_88; -x_70 = x_89; +x_70 = lean_box(0); x_71 = x_90; x_72 = x_101; goto block_82; @@ -6829,16 +6829,16 @@ size_t x_102; size_t x_103; lean_object* x_104; x_102 = 0; x_103 = lean_usize_of_nat(x_95); x_104 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__3(x_97, x_6, x_5, x_102, x_103, x_94); -x_61 = x_83; -x_62 = x_84; -x_63 = lean_box(0); -x_64 = x_91; -x_65 = x_85; +x_61 = x_92; +x_62 = x_91; +x_63 = x_83; +x_64 = x_85; +x_65 = x_84; x_66 = x_86; x_67 = x_87; -x_68 = x_92; +x_68 = x_89; x_69 = x_88; -x_70 = x_89; +x_70 = lean_box(0); x_71 = x_90; x_72 = x_104; goto block_82; @@ -6856,12 +6856,12 @@ x_116 = lean_ctor_get(x_114, 1); lean_inc(x_116); lean_dec_ref(x_114); x_83 = x_106; -x_84 = x_107; -x_85 = x_108; +x_84 = x_108; +x_85 = x_107; x_86 = x_109; x_87 = x_110; -x_88 = x_111; -x_89 = x_112; +x_88 = x_112; +x_89 = x_111; x_90 = x_113; x_91 = x_115; x_92 = x_116; @@ -6871,9 +6871,9 @@ goto block_105; else { lean_object* x_117; lean_object* x_118; -lean_dec_ref(x_113); +lean_dec_ref(x_112); +lean_dec_ref(x_111); lean_dec_ref(x_109); -lean_dec_ref(x_108); lean_dec_ref(x_107); lean_dec_ref(x_106); lean_dec_ref(x_14); @@ -6898,19 +6898,19 @@ goto block_47; block_143: { lean_object* x_133; lean_object* x_134; uint8_t x_135; -x_133 = l_Array_append___redArg(x_121, x_129); +x_133 = l_Array_append___redArg(x_129, x_120); x_134 = lean_array_get_size(x_133); x_135 = lean_nat_dec_lt(x_125, x_134); if (x_135 == 0) { lean_dec_ref(x_133); -x_83 = x_120; -x_84 = x_122; -x_85 = x_123; +x_83 = x_121; +x_84 = x_123; +x_85 = x_122; x_86 = x_124; x_87 = x_125; -x_88 = x_126; -x_89 = x_127; +x_88 = x_127; +x_89 = x_126; x_90 = x_128; x_91 = x_130; x_92 = x_131; @@ -6926,13 +6926,13 @@ if (x_136 == 0) if (x_135 == 0) { lean_dec_ref(x_133); -x_83 = x_120; -x_84 = x_122; -x_85 = x_123; +x_83 = x_121; +x_84 = x_123; +x_85 = x_122; x_86 = x_124; x_87 = x_125; -x_88 = x_126; -x_89 = x_127; +x_88 = x_127; +x_89 = x_126; x_90 = x_128; x_91 = x_130; x_92 = x_131; @@ -6952,7 +6952,7 @@ lean_inc_ref(x_10); lean_inc_ref(x_6); x_139 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__4(x_6, x_133, x_137, x_138, x_130, x_10, x_2, x_12, x_13, x_14, x_131); lean_dec_ref(x_133); -x_106 = x_120; +x_106 = x_121; x_107 = x_122; x_108 = x_123; x_109 = x_124; @@ -6977,7 +6977,7 @@ lean_inc_ref(x_10); lean_inc_ref(x_6); x_142 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Library_0__Lake_LeanLib_recBuildShared_spec__4(x_6, x_133, x_140, x_141, x_130, x_10, x_2, x_12, x_13, x_14, x_131); lean_dec_ref(x_133); -x_106 = x_120; +x_106 = x_121; x_107 = x_122; x_108 = x_123; x_109 = x_124; @@ -7003,14 +7003,14 @@ lean_dec_ref(x_154); x_157 = lean_ctor_get(x_155, 1); lean_inc(x_157); lean_dec(x_155); -x_120 = x_145; -x_121 = x_144; -x_122 = x_146; -x_123 = x_147; +x_120 = x_144; +x_121 = x_145; +x_122 = x_147; +x_123 = x_146; x_124 = x_148; x_125 = x_149; -x_126 = x_150; -x_127 = x_151; +x_126 = x_151; +x_127 = x_150; x_128 = x_153; x_129 = x_152; x_130 = x_157; @@ -7021,12 +7021,12 @@ goto block_143; else { lean_object* x_158; lean_object* x_159; -lean_dec_ref(x_153); +lean_dec_ref(x_152); +lean_dec_ref(x_151); +lean_dec_ref(x_150); lean_dec_ref(x_148); lean_dec_ref(x_147); -lean_dec_ref(x_146); lean_dec_ref(x_145); -lean_dec_ref(x_144); lean_dec_ref(x_14); lean_dec(x_13); lean_dec(x_12); @@ -7064,14 +7064,14 @@ if (x_179 == 0) lean_free_object(x_171); lean_dec_ref(x_175); lean_dec(x_7); -x_120 = x_162; -x_121 = x_161; -x_122 = x_163; -x_123 = x_164; +x_120 = x_161; +x_121 = x_162; +x_122 = x_164; +x_123 = x_163; x_124 = x_165; x_125 = x_166; -x_126 = x_167; -x_127 = x_168; +x_126 = x_168; +x_127 = x_167; x_128 = x_170; x_129 = x_169; x_130 = x_177; @@ -7094,14 +7094,14 @@ if (x_179 == 0) { lean_dec_ref(x_171); lean_dec_ref(x_175); -x_120 = x_162; -x_121 = x_161; -x_122 = x_163; -x_123 = x_164; +x_120 = x_161; +x_121 = x_162; +x_122 = x_164; +x_123 = x_163; x_124 = x_165; x_125 = x_166; -x_126 = x_167; -x_127 = x_168; +x_126 = x_168; +x_127 = x_167; x_128 = x_170; x_129 = x_169; x_130 = x_177; @@ -7177,14 +7177,14 @@ if (x_192 == 0) { lean_dec_ref(x_189); lean_dec(x_7); -x_120 = x_162; -x_121 = x_161; -x_122 = x_163; -x_123 = x_164; +x_120 = x_161; +x_121 = x_162; +x_122 = x_164; +x_123 = x_163; x_124 = x_165; x_125 = x_166; -x_126 = x_167; -x_127 = x_168; +x_126 = x_168; +x_127 = x_167; x_128 = x_170; x_129 = x_169; x_130 = x_190; @@ -7208,14 +7208,14 @@ if (x_192 == 0) { lean_dec_ref(x_195); lean_dec_ref(x_189); -x_120 = x_162; -x_121 = x_161; -x_122 = x_163; -x_123 = x_164; +x_120 = x_161; +x_121 = x_162; +x_122 = x_164; +x_123 = x_163; x_124 = x_165; x_125 = x_166; -x_126 = x_167; -x_127 = x_168; +x_126 = x_168; +x_127 = x_167; x_128 = x_170; x_129 = x_169; x_130 = x_190; @@ -7289,14 +7289,14 @@ lean_inc(x_215); x_216 = lean_ctor_get(x_214, 1); lean_inc(x_216); lean_dec_ref(x_214); -x_161 = x_205; -x_162 = x_204; -x_163 = x_206; -x_164 = x_207; +x_161 = x_204; +x_162 = x_205; +x_163 = x_207; +x_164 = x_206; x_165 = x_208; x_166 = x_209; -x_167 = x_210; -x_168 = x_211; +x_167 = x_211; +x_168 = x_210; x_169 = x_213; x_170 = x_212; x_171 = x_215; @@ -7307,12 +7307,12 @@ goto block_203; else { lean_object* x_217; lean_object* x_218; -lean_dec_ref(x_212); +lean_dec_ref(x_213); +lean_dec_ref(x_211); +lean_dec_ref(x_210); lean_dec_ref(x_208); -lean_dec_ref(x_207); lean_dec_ref(x_206); lean_dec_ref(x_205); -lean_dec_ref(x_204); lean_dec_ref(x_14); lean_dec(x_13); lean_dec(x_12); @@ -8428,9 +8428,9 @@ goto block_52; block_44: { lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_nat_add(x_38, x_40); +x_41 = lean_nat_add(x_39, x_40); lean_dec(x_40); -lean_dec(x_38); +lean_dec(x_39); if (lean_is_scalar(x_35)) { x_42 = lean_alloc_ctor(0, 5, 0); } else { @@ -8449,7 +8449,7 @@ if (lean_is_scalar(x_25)) { lean_ctor_set(x_43, 0, x_37); lean_ctor_set(x_43, 1, x_28); lean_ctor_set(x_43, 2, x_29); -lean_ctor_set(x_43, 3, x_39); +lean_ctor_set(x_43, 3, x_38); lean_ctor_set(x_43, 4, x_42); return x_43; } @@ -8475,8 +8475,8 @@ if (lean_obj_tag(x_31) == 0) lean_object* x_50; x_50 = lean_ctor_get(x_31, 0); lean_inc(x_50); -x_38 = x_49; -x_39 = x_48; +x_38 = x_48; +x_39 = x_49; x_40 = x_50; goto block_44; } @@ -8484,8 +8484,8 @@ else { lean_object* x_51; x_51 = lean_unsigned_to_nat(0u); -x_38 = x_49; -x_39 = x_48; +x_38 = x_48; +x_39 = x_49; x_40 = x_51; goto block_44; } diff --git a/stage0/stdlib/Lake/Build/Module.c b/stage0/stdlib/Lake/Build/Module.c index 004d33440b..81cd39776d 100644 --- a/stage0/stdlib/Lake/Build/Module.c +++ b/stage0/stdlib/Lake/Build/Module.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lake_instReprDynlib_repr___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00__private_Lake_Build_Module_0__Lake_setupEditedModule_spec__1_spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -75,14 +76,12 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_instInhabitedModu LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_setupEditedModule___lam__0___boxed(lean_object**); static lean_object* l_Lake_Module_initFacetConfigs___closed__0; lean_object* l_System_FilePath_normalize(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildDynlib_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_Module_leanFacetConfig___closed__2; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_computeArtifacts_compute___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_Lake_Build_Module_0__Lake_Module_fetchOLeanCore___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lake_Build_Common_0__Lake_BuildMetadata_ofBuildCore(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_computeTransImportsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__4; LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Module_leanArtsFacetConfig_spec__0___redArg(uint8_t); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_setupExternalModule___lam__3___boxed(lean_object**); lean_object* l_Lean_LeanOptions_ofArray(lean_object*); @@ -91,11 +90,13 @@ static lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___cl static lean_object* l_Lake_Module_irFacetConfig___closed__1; lean_object* l_Lake_Job_mapM___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___redArg(lean_object*); +LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_fetchImportInfo___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_ileanFacetConfig___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_depsFacetConfig___lam__1(uint8_t, lean_object*); static lean_object* l_Lake_Module_bcoFacetConfig___closed__0; uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLeanCToONoExport___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__2; LEAN_EXPORT lean_object* l_Lake_Module_ileanFacetConfig___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Format_fill(lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLeanCToOExport___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -104,6 +105,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe static lean_object* l___private_Lake_Build_Module_0__Lake_instReprModuleDeps___closed__0; LEAN_EXPORT lean_object* l_List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00__private_Lake_Build_Module_0__Lake_instReprModuleDeps_repr_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_fetchImportLibs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lake_Workspace_enableArtifactCache(lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_importArtsFacetConfig___lam__0(lean_object*); @@ -112,6 +114,7 @@ LEAN_EXPORT lean_object* l_Lake_Module_oFacetConfig___lam__0___boxed(lean_object LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lake_Module_initFacetConfigs___closed__8; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__1; LEAN_EXPORT lean_object* l_Lake_Module_bcFacetConfig___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_restoreModuleArtifact___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_instResolveOutputsModuleOutputArtifactsOfMonadWorkspaceOfMonadLiftTBaseIOOfMonadErrorOfMonad(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -142,8 +145,8 @@ LEAN_EXPORT lean_object* l_Lake_Module_transImportsFacetConfig; lean_object* l_Lake_Job_collectVector___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__3___boxed(lean_object**); uint8_t lean_usize_dec_eq(size_t, size_t); -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3_spec__3(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lake_Module_depsFacetConfig___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__3; uint8_t l_Lean_Name_isAnonymous(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchTransImportArts_enqueue_spec__0(uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recFetchInput___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -171,6 +174,7 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__7___closed__0; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_Array_repr___at___00__private_Lake_Build_Module_0__Lake_instReprModuleDeps_repr_spec__0___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___boxed(lean_object**); extern lean_object* l_Lake_Module_cFacet; static lean_object* l___private_Lake_Build_Module_0__Lake_resolveModuleOutputs_x3f___redArg___closed__0; extern lean_object* l_Lake_Module_exportInfoFacet; @@ -214,21 +218,19 @@ LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Module_importInfoFacet extern lean_object* l_Lake_Module_transImportsFacet; LEAN_EXPORT lean_object* l_Lake_Module_clearOutputArtifacts___boxed(lean_object*, lean_object*); lean_object* l_Array_back___redArg(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___closed__0; LEAN_EXPORT lean_object* l_Lake_Module_ileanFacetConfig___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lake_Module_depsFacet; lean_object* l_Lake_ModuleOutputArtifacts_descrs(lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__1; lean_object* l_Lake_compileLeanModule(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___closed__4; LEAN_EXPORT lean_object* l_Array_filterMapM___at___00__private_Lake_Build_Module_0__Lake_setupEditedModule_spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_Module_computeExportInfo___lam__0___closed__3; extern lean_object* l_Lake_LeanLib_extraDepFacet; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5___closed__0; lean_object* l_Lake_Cache_getArtifact(lean_object*, lean_object*); extern lean_object* l_Lake_Module_inputFacet; lean_object* l_Lean_instToJsonModuleHeader_toJson(lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_cacheOutputArtifacts___redArg(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l_Lake_CacheMap_insertCore(uint64_t, lean_object*, lean_object*); lean_object* lean_task_bind(lean_object*, lean_object*, lean_object*, uint8_t); @@ -238,6 +240,7 @@ uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_Module_computeExportInfo___lam__0___closed__4; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_mkLoadOrder_spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_List_elem___at___00__private_Lake_Build_Module_0__Lake_mkLoadOrder_go_spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0_spec__1(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_Lake_Build_Module_0__Lake_Module_cacheOutputArtifacts_cache___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_Lake_Build_Module_0__Lake_Module_cacheOutputArtifacts_cacheIf_x3f(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -293,7 +296,6 @@ lean_object* l_String_crlfToLf(lean_object*); lean_object* l_Lake_relPathFrom(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_setupEditedModule___boxed__const__1; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_computeTransImportsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_instReprModuleDeps_repr___redArg___closed__2; LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Module_setupFacetConfig_spec__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_oNoExportFacetConfig___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -305,7 +307,6 @@ extern lean_object* l_Lake_sharedLibExt; static lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___closed__7; LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Module_inputFacetConfig_spec__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_cFacetConfig___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__2; lean_object* l_Lake_Workspace_augmentedEnvVars(lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_clearOutputHashes(lean_object*); lean_object* l_EIO_toBaseIO___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -322,7 +323,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_computeTransImportsAux_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lake_resolvePath(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_setupEditedModule___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, size_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_setupExternalModule___lam__3(lean_object*, lean_object*, size_t, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lake_Build_Module_0__Lake_mkLoadOrder_go_spec__0(lean_object*, lean_object*, lean_object*); @@ -337,7 +337,6 @@ lean_object* lean_task_pure(lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_setupExternalModule(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_Module_initFacetConfigs___closed__2; lean_object* l_Lake_Module_getMTime(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__4(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_Module_computeExportInfo___lam__0___closed__2; LEAN_EXPORT lean_object* l_Option_instBEq_beq___at___00__private_Lake_Build_Common_0__Lake_checkHashUpToDate_x27___at___00Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__3_spec__4_spec__5___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Common_0__Lake_checkHashUpToDate_x27___at___00Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__3_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -400,7 +399,6 @@ LEAN_EXPORT lean_object* l_Lake_initModuleFacetConfigs; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_mkLoadOrder_go_spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_mkLoadOrder___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_cacheOutputArtifacts___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_headerFacetConfig___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recComputeTransImports(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -411,11 +409,11 @@ extern lean_object* l_Lake_Module_leanArtsFacet; LEAN_EXPORT lean_object* l_Lake_setupServerModule___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLeanCToOExport___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_Package_discriminant___closed__1; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_computePrecompileImportsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_Module_headerFacetConfig___closed__0; LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Module_inputFacetConfig_spec__0(uint8_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1(lean_object*, 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_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_leanArtsFacetConfig; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recParseImports___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lake_removeFileIfExists(lean_object*); @@ -438,6 +436,7 @@ LEAN_EXPORT lean_object* l_Array_toJson___at___00Lake_formatQuery___at___00Lake_ LEAN_EXPORT lean_object* l_Lake_Module_cFacetConfig___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00Lake_OrdHashSet_insert___at___00__private_Lake_Build_Module_0__Lake_Module_recParseImports_spec__0_spec__0_spec__2___redArg(lean_object*, lean_object*); static lean_object* l_Lake_Module_oleanServerFacetConfig___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_oleanPrivateFacetConfig___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildDynlib___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_cacheOutputArtifacts_cache___redArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -485,7 +484,6 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_setupEditedModule lean_object* l_Lake_Workspace_leanPath(lean_object*); LEAN_EXPORT lean_object* l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recComputePrecompileImports___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__1; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recFetchInput___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_Module_bcFacetConfig___lam__0___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_fetchImportLibs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -511,17 +509,16 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recFetchSe lean_object* l_Lake_BuildMetadata_ofFetch(uint64_t, lean_object*); static lean_object* l_Lake_OrdHashSet_empty___at___00__private_Lake_Build_Module_0__Lake_Module_recParseImports_spec__1___closed__0; static lean_object* l_Lake_Module_importsFacetConfig___closed__1; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__0; static lean_object* l_Lake_Module_oFacetConfig___closed__1; static lean_object* l_Lake_Module_initFacetConfigs___closed__7; LEAN_EXPORT lean_object* l_Array_Array_repr___at___00__private_Lake_Build_Module_0__Lake_instReprModuleDeps_repr_spec__0(lean_object*); LEAN_EXPORT lean_object* l_Lake_prepareLeanCommand___lam__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_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_computeTransImportsAux_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_irFacetConfig___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__2___boxed(lean_object**); lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_computeTransImportsAux_spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lake_BuildType_leanOptions(uint8_t); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lake_buildAction___at___00__private_Lake_Build_Module_0__Lake_Module_buildLean_spec__0___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_prepareLeanCommand_mkArgs___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static uint8_t l_Lake_Module_cacheOutputHashes___closed__0; @@ -539,7 +536,6 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_restoreNee LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_restoreAllArtifacts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_importInfoFacetConfig___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_prepareLeanCommand_mkArgs___redArg___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_oleanFacetConfig___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLeanBcToO___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_setupEditedModule_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -602,6 +598,7 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLe LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Module_importsFacetConfig_spec__0(uint8_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recComputeTransImports___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recParseImports(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__2; static lean_object* l_Lake_Target_fetchIn___at___00Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0_spec__0___closed__4; static lean_object* l_Lake_Module_clearOutputArtifacts___closed__5; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_ModuleImportInfo_addImport(lean_object*, uint8_t, lean_object*, lean_object*); @@ -635,12 +632,12 @@ uint8_t l_IO_FS_instOrdSystemTime_ord(lean_object*, lean_object*); lean_object* l_IO_FS_readFile(lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__2___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__5; static lean_object* l_Lake_Module_importArtsFacetConfig___closed__3; LEAN_EXPORT lean_object* l_Lake_Module_oleanPrivateFacetConfig; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__4(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___closed__11; extern lean_object* l_Lake_Module_importAllArtsFacet; -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1(uint8_t, lean_object*, uint64_t, uint8_t, lean_object*, size_t, size_t); +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1(uint8_t, lean_object*, uint64_t, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLeanBcToO(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_setupEditedModule_spec__0___redArg(size_t, size_t, lean_object*, lean_object*, lean_object*); uint8_t l_Lake_instDecidableEqVerbosity(uint8_t, uint8_t); @@ -652,7 +649,6 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recCompute static lean_object* l___private_Lake_Build_Module_0__Lake_computeTransImportsAux___closed__1; LEAN_EXPORT lean_object* l_Lake_OrdHashSet_appendArray___at___00__private_Lake_Build_Module_0__Lake_computeTransImportsAux_spec__0___boxed(lean_object*, lean_object*); extern lean_object* l_Lake_Module_importInfoFacet; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lake_OrdHashSet_insert___at___00__private_Lake_Build_Module_0__Lake_Module_recParseImports_spec__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_cacheOutputArtifacts_cacheIf_x3f___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_Lake_prepareLeanCommand___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -675,7 +671,6 @@ static lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_In extern lean_object* l_Lake_Package_extraDepFacet; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__1(size_t, size_t, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_mkLoadOrder___redArg___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildDynlib___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_Build_Module_0__Lake_computeModuleDeps_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -694,10 +689,8 @@ LEAN_EXPORT lean_object* l_Lake_Module_bcFacetConfig___lam__1___boxed(lean_objec LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_instInhabitedModuleDeps; static lean_object* l___private_Lake_Build_Module_0__Lake_computeTransImportsAux___closed__0; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_setupExternalModule___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__0; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lake_Build_Module_0__Lake_mkLoadOrder_go_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00__private_Lake_Build_Module_0__Lake_instReprModuleDeps_repr_spec__0_spec__0(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_cacheOutputArtifacts(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_fetchOLeanCore(lean_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_Lake_Build_Module_0__Lake_Module_restoreNeededArtifacts___redArg(lean_object*, lean_object*, lean_object*); @@ -708,7 +701,6 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_instReprModuleDep static lean_object* l_Lake_Module_importAllArtsFacetConfig___closed__0; static lean_object* l_Lake_Module_oleanServerFacetConfig___closed__0; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_Module_oleanFacetConfig___closed__1; static lean_object* l___private_Lake_Build_Module_0__Lake_mkLoadOrder___redArg___closed__0; @@ -717,6 +709,7 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__2___closed__0; extern uint64_t l_Lake_Hash_nil; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__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_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__0; LEAN_EXPORT lean_object* l_Lake_setupServerModule___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__4___boxed(lean_object**); static lean_object* l_Lake_Module_bcFacetConfig___lam__0___closed__0; @@ -739,16 +732,15 @@ static lean_object* l___private_Lake_Build_Module_0__Lake_ModuleOutputDescrs_get LEAN_EXPORT lean_object* l_Lake_Target_fetchIn___at___00Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_leanArtsFacetConfig___lam__0(uint8_t, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_Module_fetchImportLibs___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3(lean_object*, uint8_t, 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_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___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_Array_repr___at___00__private_Lake_Build_Module_0__Lake_instReprModuleDeps_repr_spec__0___closed__9; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___boxed(lean_object**); static lean_object* l_Lake_Module_initFacetConfigs___closed__4; lean_object* l_Lean_LeanOptions_appendArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Module_leanFacetConfig_spec__0___boxed(lean_object*, lean_object*); lean_object* l_Lean_parseImports_x27(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lake_OrdHashSet_insert___at___00__private_Lake_Build_Module_0__Lake_Module_recParseImports_spec__0_spec__0(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lake_instDataKindDynlib; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__3; extern lean_object* l_Lake_Module_coFacet; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_cacheOutputArtifacts_cache(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_fetchImportInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -789,6 +781,7 @@ lean_object* lean_task_map(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lake_mkRelPathString(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___lam__2___closed__1; static lean_object* l___private_Lake_Build_Module_0__Lake_instToOutputJsonModuleOutputArtifacts___closed__0; static lean_object* l_Array_Array_repr___at___00__private_Lake_Build_Module_0__Lake_instReprModuleDeps_repr_spec__0___closed__3; @@ -800,7 +793,6 @@ lean_object* l_Lake_Job_async___redArg(lean_object*, lean_object*, lean_object*, uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_NameMap_contains_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_OrdHashSet_appendArray___at___00__private_Lake_Build_Module_0__Lake_computeTransImportsAux_spec__0(lean_object*, lean_object*); static lean_object* l_Lake_prepareLeanCommand___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_computeExportInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_Module_setupFacetConfig___closed__0; @@ -893,7 +885,6 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_computeArt LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Module_inputFacetConfig_spec__0___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_oExportFacetConfig; lean_object* l_Lean_Name_mkStr1(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5(lean_object*, uint8_t, 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_EXPORT uint8_t l_Lake_MTime_checkUpToDate___at___00Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__3_spec__5(lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_setupExternalModule___lam__0___closed__1; static lean_object* l_Lake_Module_oNoExportFacetConfig___lam__0___closed__1; @@ -904,6 +895,7 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recFetchIn LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildDynlib_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lake_EStateT_instMonad___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_prepareLeanCommand___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___boxed(lean_object**); extern lean_object* l_Lake_Module_dynlibFacet; static lean_object* l___private_Lake_Build_Module_0__Lake_prepareLeanCommand_mkArgs___redArg___closed__3; static lean_object* l_Lake_Module_clearOutputArtifacts___closed__2; @@ -915,11 +907,10 @@ lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_resolveModuleOutputs_x3f___redArg___lam__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLean(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Module_dynlibFacetConfig_spec__0(uint8_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__2(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lake_OrdHashSet_appendArray___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00Lake_OrdHashSet_insert___at___00__private_Lake_Build_Module_0__Lake_Module_recParseImports_spec__0_spec__1_spec__4_spec__6_spec__7___redArg(lean_object*, lean_object*); static lean_object* l_Lake_Module_oExportFacetConfig___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_setupServerModule___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_Lake_Build_Module_0__Lake_prepareLeanCommand_mkSpawnArgs___redArg___closed__0; lean_object* l_Lake_computeArtifact___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); @@ -961,6 +952,7 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_restoreAll LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_setupExternalModule___lam__0___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_ModuleOutputDescrs_getArtifactsFrom(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_coFacetConfig___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_fetchImportInfo___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lake_BuildType_leancArgs(uint8_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildDynlib_spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -974,7 +966,6 @@ LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled___at___00__privat LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_resolveModuleOutputs_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Array_toJson___at___00Lake_formatQuery___at___00Lake_Module_importArtsFacetConfig_spec__0_spec__0_spec__1(size_t, size_t, lean_object*); extern lean_object* l_Lake_LeanLib_sharedFacet; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__0; lean_object* l_Lake_SavedTrace_replayOrFetchIfUpToDate___redArg(uint64_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Common_0__Lake_checkHashUpToDate_x27___at___00Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__3_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*); @@ -993,7 +984,6 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_fetchImportLibs__ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); extern lean_object* l_Lake_ExternLib_keyword; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Module_depsFacetConfig___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___lam__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_collectImportsAux___closed__3; @@ -1004,6 +994,7 @@ static lean_object* l___private_Lake_Build_Module_0__Lake_instReprModuleDeps_rep LEAN_EXPORT lean_object* l_Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_setupEditedModule_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__0; static lean_object* l_Lake_Module_leanArtsFacetConfig___closed__2; static lean_object* l___private_Lake_Build_Module_0__Lake_Module_computeExportInfo___lam__0___closed__7; LEAN_EXPORT lean_object* l_Lake_setupServerModule(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1019,6 +1010,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m static lean_object* l_Lake_Module_initFacetConfigs___closed__14; LEAN_EXPORT lean_object* l_Lake_prepareLeanCommand___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Module_0__Lake_Module_computeExportInfo___lam__0___closed__5; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__1; LEAN_EXPORT lean_object* l_Lake_Package_isArtifactCacheEnabled___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); static lean_object* l___private_Lake_Build_Module_0__Lake_Module_recParseImports___closed__2; @@ -9778,16 +9770,16 @@ block_53: lean_object* x_33; lean_object* x_34; lean_object* x_35; x_33 = l_Lake_Module_inputFacet; x_34 = lean_alloc_ctor(1, 4, 0); -lean_ctor_set(x_34, 0, x_28); -lean_ctor_set(x_34, 1, x_25); +lean_ctor_set(x_34, 0, x_26); +lean_ctor_set(x_34, 1, x_24); lean_ctor_set(x_34, 2, x_16); lean_ctor_set(x_34, 3, x_33); +lean_inc_ref(x_25); lean_inc_ref(x_27); -lean_inc_ref(x_29); lean_inc(x_23); -lean_inc(x_24); -lean_inc(x_30); -x_35 = lean_apply_7(x_27, x_34, x_30, x_24, x_23, x_29, x_26, lean_box(0)); +lean_inc(x_28); +lean_inc(x_22); +x_35 = lean_apply_7(x_25, x_34, x_22, x_28, x_23, x_27, x_31, lean_box(0)); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; @@ -9805,18 +9797,18 @@ lean_inc(x_39); x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); lean_dec_ref(x_38); -x_41 = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(x_31, x_32, x_2); +x_41 = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(x_29, x_32, x_2); x_42 = lean_unbox(x_17); lean_dec(x_17); x_43 = l___private_Lake_Build_Module_0__Lake_fetchTransImportArts_enqueue(x_1, x_42, x_39, x_21); lean_dec(x_39); x_2 = x_41; x_3 = x_43; -x_4 = x_27; -x_5 = x_30; -x_6 = x_24; +x_4 = x_25; +x_5 = x_22; +x_6 = x_28; x_7 = x_23; -x_8 = x_29; +x_8 = x_27; x_9 = x_40; goto _start; } @@ -9824,12 +9816,12 @@ else { uint8_t x_45; lean_dec_ref(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec_ref(x_29); +lean_dec(x_29); +lean_dec(x_28); lean_dec_ref(x_27); -lean_dec(x_24); +lean_dec_ref(x_25); lean_dec(x_23); +lean_dec(x_22); lean_dec_ref(x_21); lean_dec(x_17); lean_dec(x_2); @@ -9857,12 +9849,12 @@ else { uint8_t x_49; lean_dec_ref(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec_ref(x_29); +lean_dec(x_29); +lean_dec(x_28); lean_dec_ref(x_27); -lean_dec(x_24); +lean_dec_ref(x_25); lean_dec(x_23); +lean_dec(x_22); lean_dec_ref(x_21); lean_dec(x_17); lean_dec(x_2); @@ -9941,16 +9933,16 @@ x_74 = lean_ctor_get(x_72, 1); lean_inc_ref(x_74); lean_dec(x_72); lean_inc(x_20); -x_22 = lean_box(0); +x_22 = x_55; x_23 = x_57; -x_24 = x_56; -x_25 = x_65; -x_26 = x_73; -x_27 = x_54; -x_28 = x_64; -x_29 = x_58; -x_30 = x_55; -x_31 = x_20; +x_24 = x_65; +x_25 = x_54; +x_26 = x_64; +x_27 = x_58; +x_28 = x_56; +x_29 = x_20; +x_30 = lean_box(0); +x_31 = x_73; x_32 = x_74; goto block_53; } @@ -9966,16 +9958,16 @@ x_77 = lean_ctor_get(x_75, 4); lean_inc_ref(x_77); lean_dec(x_75); lean_inc(x_20); -x_22 = lean_box(0); +x_22 = x_55; x_23 = x_57; -x_24 = x_56; -x_25 = x_65; -x_26 = x_76; -x_27 = x_54; -x_28 = x_64; -x_29 = x_58; -x_30 = x_55; -x_31 = x_20; +x_24 = x_65; +x_25 = x_54; +x_26 = x_64; +x_27 = x_58; +x_28 = x_56; +x_29 = x_20; +x_30 = lean_box(0); +x_31 = x_76; x_32 = x_77; goto block_53; } @@ -12265,39 +12257,7 @@ return x_13; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_ctor_get(x_1, 0); -x_10 = lean_ctor_get(x_9, 0); -x_11 = lean_ctor_get(x_1, 1); -x_12 = lean_ctor_get(x_10, 2); -x_13 = l_Lake_Module_exportInfoFacet; -lean_inc(x_11); -lean_inc(x_12); -x_14 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_11); -x_15 = l_Lake_Module_keyword; -x_16 = lean_alloc_ctor(1, 4, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set(x_16, 2, x_1); -lean_ctor_set(x_16, 3, x_13); -x_17 = lean_apply_7(x_2, x_16, x_3, x_4, x_5, x_6, x_7, lean_box(0)); -return x_17; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_11; lean_object* x_12; @@ -12384,16 +12344,16 @@ goto block_10; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { uint8_t x_6; lean_object* x_7; x_6 = lean_unbox(x_3); -x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__3(x_1, x_2, x_6, x_4, x_5); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__3(x_1, x_2, x_6, x_4, x_5); return x_7; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -12402,7 +12362,7 @@ lean_inc_ref(x_7); lean_dec_ref(x_1); x_8 = lean_box(x_3); lean_inc(x_2); -x_9 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__3___boxed), 5, 4); +x_9 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__3___boxed), 5, 4); lean_closure_set(x_9, 0, x_2); lean_closure_set(x_9, 1, x_6); lean_closure_set(x_9, 2, x_8); @@ -12411,745 +12371,48 @@ x_10 = lean_task_map(x_9, x_7, x_2, x_5); return x_10; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; uint8_t x_8; lean_object* x_9; x_7 = lean_unbox(x_3); x_8 = lean_unbox(x_5); -x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__4(x_1, x_2, x_7, x_4, x_8, x_6); +x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__4(x_1, x_2, x_7, x_4, x_8, x_6); return x_9; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5___closed__0() { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("\n ", 3, 3); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_11; -x_11 = lean_usize_dec_eq(x_3, x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_array_uget(x_2, x_3); -x_13 = lean_ctor_get(x_12, 0); -lean_inc_ref(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get(x_13, 2); -x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*9 + 2); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = lean_ctor_get(x_13, 0); -lean_inc_ref(x_16); -lean_dec_ref(x_13); -x_17 = lean_ctor_get(x_16, 6); -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*26 + 6); -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; -x_19 = lean_ctor_get(x_16, 2); -x_20 = lean_name_eq(x_1, x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5___closed__0; -x_22 = lean_string_append(x_5, x_21); -x_23 = l___private_Lake_Build_Module_0__Lake_Package_discriminant(x_16); -x_24 = lean_string_append(x_22, x_23); -lean_dec_ref(x_23); -x_6 = x_24; -goto block_10; -} -else -{ -lean_dec_ref(x_16); -x_6 = x_5; -goto block_10; -} -} -else -{ -lean_dec_ref(x_16); -x_6 = x_5; -goto block_10; -} -} -else -{ -lean_dec_ref(x_13); -x_6 = x_5; -goto block_10; -} -} -else -{ -return x_5; -} -block_10: -{ -size_t x_7; size_t x_8; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_3 = x_8; -x_5 = x_6; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5(x_1, x_2, x_6, x_7, x_5); -lean_dec_ref(x_2); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; uint8_t x_11; -x_11 = lean_usize_dec_eq(x_3, x_4); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_array_uget(x_2, x_3); -x_13 = lean_ctor_get(x_12, 0); -lean_inc_ref(x_13); -lean_dec(x_12); -x_14 = lean_ctor_get(x_13, 2); -x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*9 + 2); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = lean_ctor_get(x_13, 0); -lean_inc_ref(x_16); -lean_dec_ref(x_13); -x_17 = lean_ctor_get(x_16, 6); -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*26 + 6); -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; -x_19 = lean_ctor_get(x_16, 2); -x_20 = lean_name_eq(x_1, x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5___closed__0; -x_22 = lean_string_append(x_5, x_21); -x_23 = l___private_Lake_Build_Module_0__Lake_Package_discriminant(x_16); -x_24 = lean_string_append(x_22, x_23); -lean_dec_ref(x_23); -x_6 = x_24; -goto block_10; -} -else -{ -lean_dec_ref(x_16); -x_6 = x_5; -goto block_10; -} -} -else -{ -lean_dec_ref(x_16); -x_6 = x_5; -goto block_10; -} -} -else -{ -lean_dec_ref(x_13); -x_6 = x_5; -goto block_10; -} -} -else -{ -return x_5; -} -block_10: -{ -size_t x_7; size_t x_8; lean_object* x_9; -x_7 = 1; -x_8 = lean_usize_add(x_3, x_7); -x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5(x_1, x_2, x_8, x_4, x_6); -return x_9; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -size_t x_6; size_t x_7; lean_object* x_8; -x_6 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_7 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_8 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4(x_1, x_2, x_6, x_7, x_5); -lean_dec_ref(x_2); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3_spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_9; -x_9 = lean_usize_dec_eq(x_3, x_4); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; -x_10 = lean_array_uget(x_2, x_3); -x_11 = lean_ctor_get(x_10, 0); -lean_inc_ref(x_11); -lean_dec(x_10); -x_12 = lean_ctor_get(x_11, 2); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_9, 0); +x_11 = lean_ctor_get(x_1, 1); +x_12 = lean_ctor_get(x_10, 2); +x_13 = l_Lake_Module_exportInfoFacet; +lean_inc(x_11); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 0); -lean_inc_ref(x_13); -lean_dec_ref(x_11); -x_14 = lean_ctor_get_uint8(x_12, sizeof(void*)*9 + 2); -lean_dec(x_12); -x_15 = 1; -if (x_14 == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_13, 6); -x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*26 + 6); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -x_18 = lean_ctor_get(x_13, 2); -lean_inc(x_18); -lean_dec_ref(x_13); -x_19 = lean_name_eq(x_1, x_18); -lean_dec(x_18); -if (x_19 == 0) -{ -return x_15; -} -else -{ -goto block_8; +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_11); +x_15 = l_Lake_Module_keyword; +x_16 = lean_alloc_ctor(1, 4, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +lean_ctor_set(x_16, 2, x_1); +lean_ctor_set(x_16, 3, x_13); +x_17 = lean_apply_7(x_2, x_16, x_3, x_4, x_5, x_6, x_7, lean_box(0)); +return x_17; } } -else -{ -lean_dec_ref(x_13); -goto block_8; -} -} -else -{ -lean_dec_ref(x_13); -if (x_9 == 0) -{ -goto block_8; -} -else -{ -return x_15; -} -} -} -else -{ -uint8_t x_20; -x_20 = 0; -return x_20; -} -block_8: -{ -size_t x_5; size_t x_6; -x_5 = 1; -x_6 = lean_usize_add(x_3, x_5); -x_3 = x_6; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__0___boxed(lean_object* x_1, lean_object* x_2, 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_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___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3_spec__3(x_1, x_2, x_5, x_6); -lean_dec_ref(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { -_start: -{ -uint8_t x_9; -x_9 = lean_usize_dec_eq(x_3, x_4); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; -x_10 = lean_array_uget(x_2, x_3); -x_11 = lean_ctor_get(x_10, 0); -lean_inc_ref(x_11); -lean_dec(x_10); -x_12 = lean_ctor_get(x_11, 2); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 0); -lean_inc_ref(x_13); -lean_dec_ref(x_11); -x_14 = lean_ctor_get_uint8(x_12, sizeof(void*)*9 + 2); -lean_dec(x_12); -x_15 = 1; -if (x_14 == 0) -{ -lean_object* x_16; uint8_t x_17; -x_16 = lean_ctor_get(x_13, 6); -x_17 = lean_ctor_get_uint8(x_16, sizeof(void*)*26 + 6); -if (x_17 == 0) -{ -lean_object* x_18; uint8_t x_19; -x_18 = lean_ctor_get(x_13, 2); -lean_inc(x_18); -lean_dec_ref(x_13); -x_19 = lean_name_eq(x_1, x_18); -lean_dec(x_18); -if (x_19 == 0) -{ -return x_15; -} -else -{ -goto block_8; -} -} -else -{ -lean_dec_ref(x_13); -goto block_8; -} -} -else -{ -lean_dec_ref(x_13); -if (x_9 == 0) -{ -goto block_8; -} -else -{ -return x_15; -} -} -} -else -{ -uint8_t x_20; -x_20 = 0; -return x_20; -} -block_8: -{ -size_t x_5; size_t x_6; uint8_t x_7; -x_5 = 1; -x_6 = lean_usize_add(x_3, x_5); -x_7 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3_spec__3(x_1, x_2, x_6, x_4); -return x_7; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -size_t x_5; size_t x_6; 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___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3(x_1, x_2, x_5, x_6); -lean_dec_ref(x_2); -lean_dec(x_1); -x_8 = lean_box(x_7); -return x_8; -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1(uint8_t x_1, lean_object* x_2, uint64_t x_3, uint8_t x_4, lean_object* x_5, size_t x_6, size_t x_7) { -_start: -{ -uint8_t x_8; -x_8 = lean_usize_dec_eq(x_6, x_7); -if (x_8 == 0) -{ -uint8_t x_9; uint8_t x_10; lean_object* x_15; uint64_t x_16; uint8_t x_17; -x_9 = 1; -x_15 = lean_array_uget(x_5, x_6); -x_16 = l___private_Lake_Build_Module_0__Lake_ModuleExportInfo_disambiguationHash(x_15, x_1, x_2); -lean_dec(x_15); -x_17 = lean_uint64_dec_eq(x_3, x_16); -if (x_17 == 0) -{ -x_10 = x_4; -goto block_14; -} -else -{ -x_10 = x_8; -goto block_14; -} -block_14: -{ -if (x_10 == 0) -{ -size_t x_11; size_t x_12; -x_11 = 1; -x_12 = lean_usize_add(x_6, x_11); -x_6 = x_12; -goto _start; -} -else -{ +lean_object* x_9; +x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_9; } } -} -else -{ -uint8_t x_18; -x_18 = 0; -return x_18; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; uint64_t x_9; uint8_t x_10; size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; -x_8 = lean_unbox(x_1); -x_9 = lean_unbox_uint64(x_3); -lean_dec(x_3); -x_10 = lean_unbox(x_4); -x_11 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_12 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_13 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1(x_8, x_2, x_9, x_10, x_5, x_11, x_12); -lean_dec_ref(x_5); -lean_dec_ref(x_2); -x_14 = lean_box(x_13); -return x_14; -} -} -static lean_object* _init_l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" (hash: ", 8, 8); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(")", 1, 1); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_eq(x_6, x_8); -if (x_9 == 1) -{ -lean_dec(x_6); -return x_7; -} -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; uint64_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; lean_object* x_26; lean_object* x_27; -x_10 = lean_nat_sub(x_5, x_6); -x_11 = lean_array_fget_borrowed(x_4, x_10); -x_12 = lean_ctor_get(x_11, 0); -x_13 = lean_ctor_get(x_12, 0); -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_nat_sub(x_6, x_14); -lean_dec(x_6); -x_16 = lean_array_fget_borrowed(x_1, x_10); -lean_dec(x_10); -x_17 = l___private_Lake_Build_Module_0__Lake_ModuleExportInfo_disambiguationHash(x_16, x_2, x_3); -x_18 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5___closed__0; -x_19 = lean_string_append(x_7, x_18); -lean_inc_ref(x_13); -x_20 = l___private_Lake_Build_Module_0__Lake_Package_discriminant(x_13); -x_21 = lean_string_append(x_19, x_20); -lean_dec_ref(x_20); -x_22 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__0; -x_23 = lean_string_append(x_21, x_22); -x_24 = l_Lake_Hash_hex(x_17); -x_25 = lean_string_append(x_23, x_24); -lean_dec_ref(x_24); -x_26 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__1; -x_27 = lean_string_append(x_25, x_26); -x_6 = x_15; -x_7 = x_27; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_2); -x_9 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec_ref(x_3); -lean_dec_ref(x_1); -return x_9; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(": could not disambiguate the module `", 37, 37); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`; multiple packages provide distinct definitions:", 50, 50); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -lean_object* x_19; lean_object* x_23; uint8_t x_24; -x_19 = lean_array_fget_borrowed(x_11, x_1); -x_23 = lean_array_get_size(x_11); -x_24 = lean_nat_dec_lt(x_5, x_23); -if (x_24 == 0) -{ -lean_dec(x_10); -lean_dec(x_8); -lean_dec_ref(x_7); -goto block_22; -} -else -{ -if (x_24 == 0) -{ -lean_dec(x_10); -lean_dec(x_8); -lean_dec_ref(x_7); -goto block_22; -} -else -{ -uint64_t x_25; size_t x_26; size_t x_27; uint8_t x_28; -x_25 = l___private_Lake_Build_Module_0__Lake_ModuleExportInfo_disambiguationHash(x_19, x_3, x_4); -x_26 = 1; -x_27 = lean_usize_of_nat(x_23); -x_28 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1(x_3, x_4, x_25, x_6, x_11, x_26, x_27); -if (x_28 == 0) -{ -lean_dec(x_10); -lean_dec(x_8); -lean_dec_ref(x_7); -goto block_22; -} -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; uint8_t x_36; -lean_dec_ref(x_2); -x_29 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__0; -x_30 = lean_string_append(x_7, x_29); -x_31 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_8, x_6); -x_32 = lean_string_append(x_30, x_31); -lean_dec_ref(x_31); -x_33 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__1; -x_34 = lean_string_append(x_32, x_33); -lean_inc(x_10); -x_35 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg(x_11, x_3, x_4, x_9, x_10, x_10, x_34); -lean_dec(x_10); -lean_dec_ref(x_4); -x_36 = !lean_is_exclusive(x_17); -if (x_36 == 0) -{ -lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_37 = lean_ctor_get(x_17, 0); -x_38 = 3; -x_39 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set_uint8(x_39, sizeof(void*)*1, x_38); -x_40 = lean_array_get_size(x_37); -x_41 = lean_array_push(x_37, x_39); -lean_ctor_set(x_17, 0, x_41); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_17); -return x_42; -} -else -{ -lean_object* x_43; uint8_t x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_43 = lean_ctor_get(x_17, 0); -x_44 = lean_ctor_get_uint8(x_17, sizeof(void*)*3); -x_45 = lean_ctor_get_uint8(x_17, sizeof(void*)*3 + 1); -x_46 = lean_ctor_get(x_17, 1); -x_47 = lean_ctor_get(x_17, 2); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_43); -lean_dec(x_17); -x_48 = 3; -x_49 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_49, 0, x_35); -lean_ctor_set_uint8(x_49, sizeof(void*)*1, x_48); -x_50 = lean_array_get_size(x_43); -x_51 = lean_array_push(x_43, x_49); -x_52 = lean_alloc_ctor(0, 3, 2); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_46); -lean_ctor_set(x_52, 2, x_47); -lean_ctor_set_uint8(x_52, sizeof(void*)*3, x_44); -lean_ctor_set_uint8(x_52, sizeof(void*)*3 + 1, x_45); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_50); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -} -block_22: -{ -lean_object* x_20; lean_object* x_21; -lean_inc(x_19); -x_20 = l___private_Lake_Build_Module_0__Lake_ModuleImportInfo_addImport(x_2, x_3, x_4, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_17); -return x_21; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__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: -{ -uint8_t x_19; uint8_t x_20; lean_object* x_21; -x_19 = lean_unbox(x_3); -x_20 = lean_unbox(x_6); -x_21 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1(x_1, x_2, x_19, x_4, x_5, x_20, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec_ref(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec_ref(x_11); -lean_dec_ref(x_9); -lean_dec(x_5); -lean_dec(x_1); -return x_21; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { -_start: -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_19, 1); -x_22 = lean_box(x_2); -x_23 = lean_box(x_5); -lean_inc(x_1); -x_24 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___boxed), 18, 10); -lean_closure_set(x_24, 0, x_1); -lean_closure_set(x_24, 1, x_13); -lean_closure_set(x_24, 2, x_22); -lean_closure_set(x_24, 3, x_3); -lean_closure_set(x_24, 4, x_4); -lean_closure_set(x_24, 5, x_23); -lean_closure_set(x_24, 6, x_6); -lean_closure_set(x_24, 7, x_7); -lean_closure_set(x_24, 8, x_8); -lean_closure_set(x_24, 9, x_9); -lean_inc_ref(x_21); -x_25 = l_Lake_Job_mapM___redArg(x_10, x_11, x_24, x_1, x_12, x_14, x_15, x_16, x_17, x_18, x_21); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_19); -return x_26; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__2___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -_start: -{ -uint8_t x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; -x_21 = lean_unbox(x_2); -x_22 = lean_unbox(x_5); -x_23 = lean_unbox(x_12); -x_24 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__2(x_1, x_21, x_3, x_4, x_22, x_6, x_7, x_8, x_9, x_10, x_11, x_23, x_13, x_14, x_15, x_16, x_17, x_18, x_19); -return x_24; -} -} LEAN_EXPORT lean_object* l___private_Init_Data_Vector_Basic_0__Vector_mapM_go___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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: { @@ -13242,503 +12505,336 @@ lean_dec(x_1); return x_13; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__0() { +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1(uint8_t x_1, lean_object* x_2, uint64_t x_3, lean_object* x_4, size_t x_5, size_t x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_eq(x_5, x_6); +if (x_7 == 0) +{ +uint8_t x_8; lean_object* x_9; uint64_t x_10; uint8_t x_11; +x_8 = 1; +x_9 = lean_array_uget(x_4, x_5); +x_10 = l___private_Lake_Build_Module_0__Lake_ModuleExportInfo_disambiguationHash(x_9, x_1, x_2); +lean_dec(x_9); +x_11 = lean_uint64_dec_eq(x_3, x_10); +if (x_11 == 0) +{ +return x_8; +} +else +{ +if (x_7 == 0) +{ +size_t x_12; size_t x_13; +x_12 = 1; +x_13 = lean_usize_add(x_5, x_12); +x_5 = x_13; +goto _start; +} +else +{ +return x_8; +} +} +} +else +{ +uint8_t x_15; +x_15 = 0; +return x_15; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; uint64_t x_8; size_t x_9; size_t x_10; uint8_t x_11; lean_object* x_12; +x_7 = lean_unbox(x_1); +x_8 = lean_unbox_uint64(x_3); +lean_dec(x_3); +x_9 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_10 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_11 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1(x_7, x_2, x_8, x_4, x_9, x_10); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +x_12 = lean_box(x_11); +return x_12; +} +} +static lean_object* _init_l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__0() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__0___boxed), 8, 0); +x_1 = lean_mk_string_unchecked("\n ", 3, 3); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__2() { +static lean_object* _init_l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__1() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("", 12, 12); +x_1 = lean_mk_string_unchecked(" (hash: ", 8, 8); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__3() { +static lean_object* _init_l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__2() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked(": cannot `import all` the module `", 34, 34); +x_1 = lean_mk_string_unchecked(")", 1, 1); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__4() { +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` from the following packages:", 30, 30); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__5() { -_start: +lean_object* x_8; uint8_t x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_6, x_8); +if (x_9 == 1) { -lean_object* x_1; -x_1 = lean_mk_string_unchecked(": module imports itself", 23, 23); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, size_t x_9, size_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { -_start: -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_26; -x_26 = lean_usize_dec_eq(x_9, x_10); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; uint8_t x_30; -x_27 = lean_array_uget(x_8, x_9); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get_uint8(x_27, sizeof(void*)*1); -x_30 = lean_name_eq(x_1, x_28); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_46; -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_28); -x_32 = l_Lake_Workspace_findModules(x_28, x_31); -x_33 = lean_array_get_size(x_32); -x_34 = lean_unsigned_to_nat(0u); -x_46 = lean_nat_dec_eq(x_33, x_34); -if (x_46 == 0) -{ -lean_object* x_47; uint8_t x_48; -x_47 = lean_unsigned_to_nat(1u); -x_48 = lean_nat_dec_eq(x_33, x_47); -if (x_48 == 0) -{ -lean_object* x_49; uint8_t x_50; uint8_t x_51; -x_49 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__0; -x_50 = 1; -if (x_29 == 0) -{ -x_51 = x_50; -goto block_68; +lean_dec(x_6); +return x_7; } else { -uint8_t x_69; -x_69 = lean_nat_dec_lt(x_34, x_33); -if (x_69 == 0) -{ -x_51 = x_29; -goto block_68; -} -else -{ -if (x_69 == 0) -{ -x_51 = x_29; -goto block_68; -} -else -{ -size_t x_70; size_t x_71; uint8_t x_72; -x_70 = 0; -x_71 = lean_usize_of_nat(x_33); -x_72 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3(x_5, x_32, x_70, x_71); -if (x_72 == 0) -{ -x_51 = x_29; -goto block_68; -} -else -{ -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_dec(x_27); -lean_dec_ref(x_11); -x_73 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__3; -lean_inc_ref(x_3); -x_74 = lean_string_append(x_3, x_73); -x_75 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_28, x_72); -x_76 = lean_string_append(x_74, x_75); -lean_dec_ref(x_75); -x_77 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__4; -x_78 = lean_string_append(x_76, x_77); -if (x_69 == 0) -{ -lean_dec_ref(x_32); -x_35 = x_78; -goto block_45; -} -else -{ -uint8_t x_79; -x_79 = lean_nat_dec_le(x_33, x_33); -if (x_79 == 0) -{ -if (x_69 == 0) -{ -lean_dec_ref(x_32); -x_35 = x_78; -goto block_45; -} -else -{ -lean_object* x_80; -x_80 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4(x_5, x_32, x_70, x_71, x_78); -lean_dec_ref(x_32); -x_35 = x_80; -goto block_45; -} -} -else -{ -lean_object* x_81; -x_81 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4(x_5, x_32, x_70, x_71, x_78); -lean_dec_ref(x_32); -x_35 = x_81; -goto block_45; -} -} -} -} -} -} -block_68: -{ -lean_object* x_52; lean_object* x_53; -x_52 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__1; -lean_inc_ref(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -x_53 = l___private_Init_Data_Vector_Basic_0__Vector_mapM_go___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__0___redArg(x_33, x_49, x_32, x_34, x_52, x_12, x_13, x_14, x_15, x_16, x_17); -if (lean_obj_tag(x_53) == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -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_ref(x_53); -x_56 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__2; -x_57 = l_Lake_Job_collectVector___redArg(x_33, x_54, x_56); -x_58 = lean_box(x_2); -x_59 = lean_box(x_51); -x_60 = lean_box(x_50); -lean_inc(x_4); -lean_inc_ref(x_3); -x_61 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__2___boxed), 20, 12); -lean_closure_set(x_61, 0, x_34); -lean_closure_set(x_61, 1, x_58); -lean_closure_set(x_61, 2, x_27); -lean_closure_set(x_61, 3, x_47); -lean_closure_set(x_61, 4, x_59); -lean_closure_set(x_61, 5, x_3); -lean_closure_set(x_61, 6, x_28); -lean_closure_set(x_61, 7, x_32); -lean_closure_set(x_61, 8, x_33); -lean_closure_set(x_61, 9, x_4); -lean_closure_set(x_61, 10, x_57); -lean_closure_set(x_61, 11, x_60); -x_62 = l___private_Lake_Build_Module_0__Lake_Module_recParseImports___closed__2; -lean_inc_ref(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_4); -x_63 = l_Lake_Job_bindM___redArg(x_4, x_11, x_61, x_34, x_50, x_12, x_13, x_14, x_15, x_16, x_62); -x_19 = x_63; -x_20 = x_55; -x_21 = lean_box(0); -goto block_25; -} -else -{ -uint8_t x_64; -lean_dec_ref(x_32); -lean_dec(x_28); -lean_dec(x_27); -lean_dec_ref(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec_ref(x_11); -lean_dec_ref(x_7); -lean_dec_ref(x_6); -lean_dec(x_4); -lean_dec_ref(x_3); -x_64 = !lean_is_exclusive(x_53); -if (x_64 == 0) -{ -return x_53; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_53, 0); -x_66 = lean_ctor_get(x_53, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_53); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; -} -} -} -} -else -{ -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_dec(x_28); -x_82 = lean_array_fget(x_32, x_34); -lean_dec_ref(x_32); -x_83 = lean_ctor_get(x_82, 0); -x_84 = lean_ctor_get(x_83, 0); -x_85 = lean_ctor_get(x_82, 1); -x_86 = lean_ctor_get(x_84, 2); -x_87 = l_Lake_Module_exportInfoFacet; -lean_inc(x_85); -lean_inc(x_86); -x_88 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_88, 0, x_86); -lean_ctor_set(x_88, 1, x_85); -x_89 = l_Lake_Module_keyword; -x_90 = lean_alloc_ctor(1, 4, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -lean_ctor_set(x_90, 2, x_82); -lean_ctor_set(x_90, 3, x_87); -lean_inc_ref(x_12); -lean_inc_ref(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -x_91 = lean_apply_7(x_12, x_90, x_13, x_14, x_15, x_16, x_17, lean_box(0)); -if (lean_obj_tag(x_91) == 0) -{ -lean_object* x_92; lean_object* x_93; uint8_t x_94; -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -lean_dec_ref(x_91); -x_94 = !lean_is_exclusive(x_11); -if (x_94 == 0) -{ -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; -x_95 = lean_ctor_get(x_11, 0); -x_96 = lean_ctor_get(x_11, 2); -lean_dec(x_96); -x_97 = lean_ctor_get(x_11, 1); -lean_dec(x_97); -x_98 = lean_box(x_2); -x_99 = lean_box(x_48); -x_100 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__4___boxed), 6, 5); -lean_closure_set(x_100, 0, x_92); -lean_closure_set(x_100, 1, x_34); -lean_closure_set(x_100, 2, x_98); -lean_closure_set(x_100, 3, x_27); -lean_closure_set(x_100, 4, x_99); -x_101 = lean_task_bind(x_95, x_100, x_34, x_48); -x_102 = l___private_Lake_Build_Module_0__Lake_Module_recFetchInput___closed__1; -lean_inc(x_4); -lean_ctor_set(x_11, 2, x_102); -lean_ctor_set(x_11, 1, x_4); -lean_ctor_set(x_11, 0, x_101); -lean_ctor_set_uint8(x_11, sizeof(void*)*3, x_26); -x_19 = x_11; -x_20 = x_93; -x_21 = lean_box(0); -goto block_25; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_103 = lean_ctor_get(x_11, 0); -lean_inc(x_103); -lean_dec(x_11); -x_104 = lean_box(x_2); -x_105 = lean_box(x_48); -x_106 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__4___boxed), 6, 5); -lean_closure_set(x_106, 0, x_92); -lean_closure_set(x_106, 1, x_34); -lean_closure_set(x_106, 2, x_104); -lean_closure_set(x_106, 3, x_27); -lean_closure_set(x_106, 4, x_105); -x_107 = lean_task_bind(x_103, x_106, x_34, x_48); -x_108 = l___private_Lake_Build_Module_0__Lake_Module_recFetchInput___closed__1; -lean_inc(x_4); -x_109 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_4); -lean_ctor_set(x_109, 2, x_108); -lean_ctor_set_uint8(x_109, sizeof(void*)*3, x_26); -x_19 = x_109; -x_20 = x_93; -x_21 = lean_box(0); -goto block_25; -} -} -else -{ -uint8_t x_110; -lean_dec(x_27); -lean_dec_ref(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec_ref(x_11); -lean_dec_ref(x_7); -lean_dec_ref(x_6); -lean_dec(x_4); -lean_dec_ref(x_3); -x_110 = !lean_is_exclusive(x_91); -if (x_110 == 0) -{ -return x_91; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; -x_111 = lean_ctor_get(x_91, 0); -x_112 = lean_ctor_get(x_91, 1); -lean_inc(x_112); -lean_inc(x_111); -lean_dec(x_91); -x_113 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_113, 0, x_111); -lean_ctor_set(x_113, 1, x_112); -return x_113; -} -} -} -} -else -{ -lean_dec_ref(x_32); -lean_dec(x_28); -lean_dec(x_27); -x_19 = x_11; -x_20 = x_17; -x_21 = lean_box(0); -goto block_25; -} -block_45: -{ -uint8_t x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_36 = 3; -x_37 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set_uint8(x_37, sizeof(void*)*1, x_36); -x_38 = lean_array_push(x_17, x_37); -x_39 = 0; -x_40 = l___private_Lake_Build_Module_0__Lake_Module_recParseImports___closed__2; -lean_inc_ref(x_6); -x_41 = lean_alloc_ctor(0, 3, 2); -lean_ctor_set(x_41, 0, x_6); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_41, 2, x_34); -lean_ctor_set_uint8(x_41, sizeof(void*)*3, x_39); -lean_ctor_set_uint8(x_41, sizeof(void*)*3 + 1, x_26); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_34); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_task_pure(x_42); -lean_inc_ref(x_7); -lean_inc(x_4); -x_44 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_4); -lean_ctor_set(x_44, 2, x_7); -lean_ctor_set_uint8(x_44, sizeof(void*)*3, x_26); -x_19 = x_44; -x_20 = x_38; -x_21 = lean_box(0); -goto block_25; -} -} -else -{ -lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -lean_dec(x_28); -lean_dec(x_27); -lean_dec_ref(x_11); -x_114 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__5; -lean_inc_ref(x_3); -x_115 = lean_string_append(x_3, x_114); -x_116 = 3; -x_117 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_117, 0, x_115); -lean_ctor_set_uint8(x_117, sizeof(void*)*1, x_116); -x_118 = lean_array_push(x_17, x_117); -x_119 = lean_unsigned_to_nat(0u); -x_120 = 0; -x_121 = l___private_Lake_Build_Module_0__Lake_Module_recParseImports___closed__2; -lean_inc_ref(x_6); -x_122 = lean_alloc_ctor(0, 3, 2); -lean_ctor_set(x_122, 0, x_6); -lean_ctor_set(x_122, 1, x_121); -lean_ctor_set(x_122, 2, x_119); -lean_ctor_set_uint8(x_122, sizeof(void*)*3, x_120); -lean_ctor_set_uint8(x_122, sizeof(void*)*3 + 1, x_26); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_119); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_task_pure(x_123); -lean_inc_ref(x_7); -lean_inc(x_4); -x_125 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_4); -lean_ctor_set(x_125, 2, x_7); -lean_ctor_set_uint8(x_125, sizeof(void*)*3, x_26); -x_19 = x_125; -x_20 = x_118; -x_21 = lean_box(0); -goto block_25; -} -} -else -{ -lean_object* x_126; -lean_dec_ref(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec_ref(x_7); -lean_dec_ref(x_6); -lean_dec(x_4); -lean_dec_ref(x_3); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_11); -lean_ctor_set(x_126, 1, x_17); -return x_126; -} -block_25: -{ -size_t x_22; size_t x_23; -x_22 = 1; -x_23 = lean_usize_add(x_9, x_22); -x_9 = x_23; -x_11 = x_19; -x_17 = x_20; +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; uint64_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; lean_object* x_26; lean_object* x_27; +x_10 = lean_nat_sub(x_5, x_6); +x_11 = lean_array_fget_borrowed(x_4, x_10); +x_12 = lean_ctor_get(x_11, 0); +x_13 = lean_ctor_get(x_12, 0); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_sub(x_6, x_14); +lean_dec(x_6); +x_16 = lean_array_fget_borrowed(x_1, x_10); +lean_dec(x_10); +x_17 = l___private_Lake_Build_Module_0__Lake_ModuleExportInfo_disambiguationHash(x_16, x_2, x_3); +x_18 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__0; +x_19 = lean_string_append(x_7, x_18); +lean_inc_ref(x_13); +x_20 = l___private_Lake_Build_Module_0__Lake_Package_discriminant(x_13); +x_21 = lean_string_append(x_19, x_20); +lean_dec_ref(x_20); +x_22 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__1; +x_23 = lean_string_append(x_21, x_22); +x_24 = l_Lake_Hash_hex(x_17); +x_25 = lean_string_append(x_23, x_24); +lean_dec_ref(x_24); +x_26 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__2; +x_27 = lean_string_append(x_25, x_26); +x_6 = x_15; +x_7 = x_27; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +x_9 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +return x_9; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(": could not disambiguate the module `", 37, 37); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`; multiple packages provide distinct definitions:", 50, 50); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_18; lean_object* x_22; uint8_t x_23; +x_18 = lean_array_fget_borrowed(x_10, x_1); +x_22 = lean_array_get_size(x_10); +x_23 = lean_nat_dec_lt(x_5, x_22); +if (x_23 == 0) +{ +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +goto block_21; +} +else +{ +if (x_23 == 0) +{ +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +goto block_21; +} +else +{ +uint64_t x_24; size_t x_25; size_t x_26; uint8_t x_27; +x_24 = l___private_Lake_Build_Module_0__Lake_ModuleExportInfo_disambiguationHash(x_18, x_3, x_4); +x_25 = 1; +x_26 = lean_usize_of_nat(x_22); +x_27 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__1(x_3, x_4, x_24, x_10, x_25, x_26); +if (x_27 == 0) +{ +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +goto block_21; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +lean_dec_ref(x_2); +x_28 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__0; +x_29 = lean_string_append(x_6, x_28); +x_30 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_7, x_27); +x_31 = lean_string_append(x_29, x_30); +lean_dec_ref(x_30); +x_32 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__1; +x_33 = lean_string_append(x_31, x_32); +lean_inc(x_9); +x_34 = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg(x_10, x_3, x_4, x_8, x_9, x_9, x_33); +lean_dec(x_9); +lean_dec_ref(x_4); +x_35 = !lean_is_exclusive(x_16); +if (x_35 == 0) +{ +lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_36 = lean_ctor_get(x_16, 0); +x_37 = 3; +x_38 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_38, 0, x_34); +lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_37); +x_39 = lean_array_get_size(x_36); +x_40 = lean_array_push(x_36, x_38); +lean_ctor_set(x_16, 0, x_40); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_16); +return x_41; +} +else +{ +lean_object* x_42; uint8_t x_43; uint8_t 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_object* x_51; lean_object* x_52; +x_42 = lean_ctor_get(x_16, 0); +x_43 = lean_ctor_get_uint8(x_16, sizeof(void*)*3); +x_44 = lean_ctor_get_uint8(x_16, sizeof(void*)*3 + 1); +x_45 = lean_ctor_get(x_16, 1); +x_46 = lean_ctor_get(x_16, 2); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_42); +lean_dec(x_16); +x_47 = 3; +x_48 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_48, 0, x_34); +lean_ctor_set_uint8(x_48, sizeof(void*)*1, x_47); +x_49 = lean_array_get_size(x_42); +x_50 = lean_array_push(x_42, x_48); +x_51 = lean_alloc_ctor(0, 3, 2); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_45); +lean_ctor_set(x_51, 2, x_46); +lean_ctor_set_uint8(x_51, sizeof(void*)*3, x_43); +lean_ctor_set_uint8(x_51, sizeof(void*)*3 + 1, x_44); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +} +block_21: +{ +lean_object* x_19; lean_object* x_20; +lean_inc(x_18); +x_19 = l___private_Lake_Build_Module_0__Lake_ModuleImportInfo_addImport(x_2, x_3, x_4, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_16); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +_start: +{ +uint8_t x_18; lean_object* x_19; +x_18 = lean_unbox(x_3); +x_19 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1(x_1, x_2, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_8); +lean_dec(x_5); +lean_dec(x_1); +return x_19; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; +x_19 = lean_ctor_get(x_17, 1); +x_20 = lean_box(x_2); +lean_inc(x_1); +x_21 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___boxed), 17, 9); +lean_closure_set(x_21, 0, x_1); +lean_closure_set(x_21, 1, x_11); +lean_closure_set(x_21, 2, x_20); +lean_closure_set(x_21, 3, x_3); +lean_closure_set(x_21, 4, x_4); +lean_closure_set(x_21, 5, x_5); +lean_closure_set(x_21, 6, x_6); +lean_closure_set(x_21, 7, x_7); +lean_closure_set(x_21, 8, x_8); +x_22 = 1; +lean_inc_ref(x_19); +x_23 = l_Lake_Job_mapM___redArg(x_9, x_10, x_21, x_1, x_22, x_12, x_13, x_14, x_15, x_16, x_19); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_17); +return x_24; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__2___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -13759,118 +12855,513 @@ lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; _start: { -uint8_t x_19; size_t x_20; size_t x_21; lean_object* x_22; +uint8_t x_19; lean_object* x_20; x_19 = lean_unbox(x_2); +x_20 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__2(x_1, x_19, 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_20; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__0___boxed), 8, 0); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 12, 12); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(": module imports itself", 23, 23); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_25; +x_25 = lean_usize_dec_eq(x_8, x_9); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_array_uget(x_7, x_8); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_name_eq(x_1, x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_29 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +x_30 = l_Lake_Workspace_findModules(x_27, x_29); +x_31 = lean_array_get_size(x_30); +x_32 = lean_unsigned_to_nat(0u); +x_33 = lean_nat_dec_eq(x_31, x_32); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_unsigned_to_nat(1u); +x_35 = lean_nat_dec_eq(x_31, x_34); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__0; +x_37 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__1; +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +x_38 = l___private_Init_Data_Vector_Basic_0__Vector_mapM_go___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__0___redArg(x_31, x_36, x_30, x_32, x_37, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); +lean_inc(x_40); +lean_dec_ref(x_38); +x_41 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__2; +x_42 = l_Lake_Job_collectVector___redArg(x_31, x_39, x_41); +x_43 = lean_box(x_2); +lean_inc(x_4); +lean_inc_ref(x_3); +x_44 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__2___boxed), 18, 10); +lean_closure_set(x_44, 0, x_32); +lean_closure_set(x_44, 1, x_43); +lean_closure_set(x_44, 2, x_26); +lean_closure_set(x_44, 3, x_34); +lean_closure_set(x_44, 4, x_3); +lean_closure_set(x_44, 5, x_27); +lean_closure_set(x_44, 6, x_30); +lean_closure_set(x_44, 7, x_31); +lean_closure_set(x_44, 8, x_4); +lean_closure_set(x_44, 9, x_42); +x_45 = 1; +x_46 = l___private_Lake_Build_Module_0__Lake_Module_recParseImports___closed__2; +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_4); +x_47 = l_Lake_Job_bindM___redArg(x_4, x_10, x_44, x_32, x_45, x_11, x_12, x_13, x_14, x_15, x_46); +x_18 = x_47; +x_19 = x_40; +x_20 = lean_box(0); +goto block_24; +} +else +{ +uint8_t x_48; +lean_dec_ref(x_30); +lean_dec(x_27); +lean_dec(x_26); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_48 = !lean_is_exclusive(x_38); +if (x_48 == 0) +{ +return x_38; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_38, 0); +x_50 = lean_ctor_get(x_38, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_38); +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; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_27); +x_52 = lean_array_fget(x_30, x_32); +lean_dec_ref(x_30); +x_53 = lean_ctor_get(x_52, 0); +x_54 = lean_ctor_get(x_53, 0); +x_55 = lean_ctor_get(x_52, 1); +x_56 = lean_ctor_get(x_54, 2); +x_57 = l_Lake_Module_exportInfoFacet; +lean_inc(x_55); +lean_inc(x_56); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_55); +x_59 = l_Lake_Module_keyword; +x_60 = lean_alloc_ctor(1, 4, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 2, x_52); +lean_ctor_set(x_60, 3, x_57); +lean_inc_ref(x_11); +lean_inc_ref(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_61 = lean_apply_7(x_11, x_60, x_12, x_13, x_14, x_15, x_16, lean_box(0)); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec_ref(x_61); +x_64 = !lean_is_exclusive(x_10); +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; lean_object* x_71; lean_object* x_72; +x_65 = lean_ctor_get(x_10, 0); +x_66 = lean_ctor_get(x_10, 2); +lean_dec(x_66); +x_67 = lean_ctor_get(x_10, 1); +lean_dec(x_67); +x_68 = lean_box(x_2); +x_69 = lean_box(x_35); +x_70 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__4___boxed), 6, 5); +lean_closure_set(x_70, 0, x_62); +lean_closure_set(x_70, 1, x_32); +lean_closure_set(x_70, 2, x_68); +lean_closure_set(x_70, 3, x_26); +lean_closure_set(x_70, 4, x_69); +x_71 = lean_task_bind(x_65, x_70, x_32, x_35); +x_72 = l___private_Lake_Build_Module_0__Lake_Module_recFetchInput___closed__1; +lean_inc(x_4); +lean_ctor_set(x_10, 2, x_72); +lean_ctor_set(x_10, 1, x_4); +lean_ctor_set(x_10, 0, x_71); +lean_ctor_set_uint8(x_10, sizeof(void*)*3, x_25); +x_18 = x_10; +x_19 = x_63; +x_20 = lean_box(0); +goto block_24; +} +else +{ +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; +x_73 = lean_ctor_get(x_10, 0); +lean_inc(x_73); +lean_dec(x_10); +x_74 = lean_box(x_2); +x_75 = lean_box(x_35); +x_76 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__4___boxed), 6, 5); +lean_closure_set(x_76, 0, x_62); +lean_closure_set(x_76, 1, x_32); +lean_closure_set(x_76, 2, x_74); +lean_closure_set(x_76, 3, x_26); +lean_closure_set(x_76, 4, x_75); +x_77 = lean_task_bind(x_73, x_76, x_32, x_35); +x_78 = l___private_Lake_Build_Module_0__Lake_Module_recFetchInput___closed__1; +lean_inc(x_4); +x_79 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_4); +lean_ctor_set(x_79, 2, x_78); +lean_ctor_set_uint8(x_79, sizeof(void*)*3, x_25); +x_18 = x_79; +x_19 = x_63; +x_20 = lean_box(0); +goto block_24; +} +} +else +{ +uint8_t x_80; +lean_dec(x_26); +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_80 = !lean_is_exclusive(x_61); +if (x_80 == 0) +{ +return x_61; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_61, 0); +x_82 = lean_ctor_get(x_61, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_61); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +} +else +{ +lean_dec_ref(x_30); +lean_dec(x_27); +lean_dec(x_26); +x_18 = x_10; +x_19 = x_16; +x_20 = lean_box(0); +goto block_24; +} +} +else +{ +lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_dec(x_27); +lean_dec(x_26); +lean_dec_ref(x_10); +x_84 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__3; +lean_inc_ref(x_3); +x_85 = lean_string_append(x_3, x_84); +x_86 = 3; +x_87 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set_uint8(x_87, sizeof(void*)*1, x_86); +x_88 = lean_array_push(x_16, x_87); +x_89 = lean_unsigned_to_nat(0u); +x_90 = 0; +x_91 = l___private_Lake_Build_Module_0__Lake_Module_recParseImports___closed__2; +lean_inc_ref(x_5); +x_92 = lean_alloc_ctor(0, 3, 2); +lean_ctor_set(x_92, 0, x_5); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set(x_92, 2, x_89); +lean_ctor_set_uint8(x_92, sizeof(void*)*3, x_90); +lean_ctor_set_uint8(x_92, sizeof(void*)*3 + 1, x_25); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_89); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_task_pure(x_93); +lean_inc_ref(x_6); +lean_inc(x_4); +x_95 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_4); +lean_ctor_set(x_95, 2, x_6); +lean_ctor_set_uint8(x_95, sizeof(void*)*3, x_25); +x_18 = x_95; +x_19 = x_88; +x_20 = lean_box(0); +goto block_24; +} +} +else +{ +lean_object* x_96; +lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec_ref(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_10); +lean_ctor_set(x_96, 1, x_16); +return x_96; +} +block_24: +{ +size_t x_21; size_t x_22; +x_21 = 1; +x_22 = lean_usize_add(x_8, x_21); +x_8 = x_22; +x_10 = x_18; +x_16 = x_19; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__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: +{ +uint8_t x_18; size_t x_19; size_t x_20; lean_object* x_21; +x_18 = lean_unbox(x_2); +x_19 = lean_unbox_usize(x_8); +lean_dec(x_8); x_20 = lean_unbox_usize(x_9); lean_dec(x_9); -x_21 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_22 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5(x_1, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_20, x_21, x_11, x_12, x_13, x_14, x_15, x_16, x_17); -lean_dec_ref(x_8); -lean_dec(x_5); +x_21 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_19, x_20, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec_ref(x_7); lean_dec(x_1); -return x_22; +return x_21; +} +} +LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_fetchImportInfo___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_11; uint8_t x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get_uint8(x_3, sizeof(void*)*1); +x_13 = lean_box(0); +if (x_12 == 0) +{ +uint8_t x_36; +x_36 = 1; +x_14 = x_36; +goto block_35; +} +else +{ +uint8_t x_37; +x_37 = 0; +x_14 = x_37; +goto block_35; +} +block_35: +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_15 = lean_unsigned_to_nat(0u); +x_16 = l___private_Lake_Build_Module_0__Lake_collectImportsAux___closed__5; +x_17 = 0; +x_18 = l___private_Lake_Build_Module_0__Lake_collectImportsAux___closed__6; +lean_inc(x_2); +x_19 = l___private_Lake_Build_Module_0__Lake_ModuleImportInfo_nil(x_2); +x_20 = l___private_Lake_Build_Module_0__Lake_Module_recFetchInput___closed__1; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_18); +x_22 = lean_task_pure(x_21); +x_23 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_13); +lean_ctor_set(x_23, 2, x_20); +lean_ctor_set_uint8(x_23, sizeof(void*)*3, x_17); +x_24 = lean_array_get_size(x_11); +x_25 = lean_nat_dec_lt(x_15, x_24); +if (x_25 == 0) +{ +lean_object* x_26; +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +lean_dec_ref(x_1); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_23); +lean_ctor_set(x_26, 1, x_9); +return x_26; +} +else +{ +uint8_t x_27; +x_27 = lean_nat_dec_le(x_24, x_24); +if (x_27 == 0) +{ +if (x_25 == 0) +{ +lean_object* x_28; +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +lean_dec_ref(x_1); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_23); +lean_ctor_set(x_28, 1, x_9); +return x_28; +} +else +{ +size_t x_29; size_t x_30; lean_object* x_31; +x_29 = 0; +x_30 = lean_usize_of_nat(x_24); +x_31 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3(x_2, x_14, x_1, x_13, x_16, x_20, x_11, x_29, x_30, x_23, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_31; +} +} +else +{ +size_t x_32; size_t x_33; lean_object* x_34; +x_32 = 0; +x_33 = lean_usize_of_nat(x_24); +x_34 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3(x_2, x_14, x_1, x_13, x_16, x_20, x_11, x_32, x_33, x_23, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_34; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_fetchImportInfo___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lake_Build_Module_0__Lake_fetchImportInfo___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec_ref(x_3); +return x_11; } } LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_fetchImportInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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; uint8_t x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_4, 0); -x_13 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); -x_14 = lean_box(0); -if (x_13 == 0) -{ -uint8_t x_37; -x_37 = 1; -x_15 = x_37; -goto block_36; -} -else -{ -uint8_t x_38; -x_38 = 0; -x_15 = x_38; -goto block_36; -} -block_36: -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_16 = lean_unsigned_to_nat(0u); -x_17 = l___private_Lake_Build_Module_0__Lake_collectImportsAux___closed__5; -x_18 = 0; -x_19 = l___private_Lake_Build_Module_0__Lake_collectImportsAux___closed__6; -lean_inc(x_3); -x_20 = l___private_Lake_Build_Module_0__Lake_ModuleImportInfo_nil(x_3); -x_21 = l___private_Lake_Build_Module_0__Lake_Module_recFetchInput___closed__1; -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_19); -x_23 = lean_task_pure(x_22); -x_24 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_14); -lean_ctor_set(x_24, 2, x_21); -lean_ctor_set_uint8(x_24, sizeof(void*)*3, x_18); -x_25 = lean_array_get_size(x_12); -x_26 = lean_nat_dec_lt(x_16, x_25); -if (x_26 == 0) -{ -lean_object* x_27; -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_3); -lean_dec_ref(x_1); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_24); -lean_ctor_set(x_27, 1, x_10); -return x_27; -} -else -{ -uint8_t x_28; -x_28 = lean_nat_dec_le(x_25, x_25); -if (x_28 == 0) -{ -if (x_26 == 0) -{ -lean_object* x_29; -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_3); -lean_dec_ref(x_1); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_24); -lean_ctor_set(x_29, 1, x_10); -return x_29; -} -else -{ -size_t x_30; size_t x_31; lean_object* x_32; -x_30 = 0; -x_31 = lean_usize_of_nat(x_25); -x_32 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5(x_3, x_15, x_1, x_14, x_2, x_17, x_21, x_12, x_30, x_31, x_24, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -return x_32; -} -} -else -{ -size_t x_33; size_t x_34; lean_object* x_35; -x_33 = 0; -x_34 = lean_usize_of_nat(x_25); -x_35 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5(x_3, x_15, x_1, x_14, x_2, x_17, x_21, x_12, x_33, x_34, x_24, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -return x_35; -} -} -} +lean_object* x_12; +x_12 = l___private_Lake_Build_Module_0__Lake_fetchImportInfo___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_fetchImportInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { @@ -13977,7 +13468,6 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_9, 2); lean_inc(x_12); x_13 = lean_ctor_get(x_10, 2); -lean_inc(x_13); x_14 = lean_ctor_get(x_10, 4); lean_inc_ref(x_14); x_15 = lean_ctor_get(x_10, 6); @@ -14034,9 +13524,8 @@ x_33 = l_Lean_modToFilePath(x_32, x_11, x_28); lean_dec_ref(x_32); x_34 = l_Lake_relPathFrom(x_14, x_33); lean_dec_ref(x_14); -x_35 = l___private_Lake_Build_Module_0__Lake_fetchImportInfo(x_34, x_13, x_11, x_24, x_2, x_3, x_4, x_5, x_6, x_25); +x_35 = l___private_Lake_Build_Module_0__Lake_fetchImportInfo___redArg(x_34, x_11, x_24, x_2, x_3, x_4, x_5, x_6, x_25); lean_dec(x_24); -lean_dec(x_13); return x_35; } else @@ -14044,7 +13533,6 @@ else uint8_t x_36; lean_dec_ref(x_15); lean_dec_ref(x_14); -lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec_ref(x_6); @@ -14077,7 +13565,6 @@ else uint8_t x_40; lean_dec_ref(x_15); lean_dec_ref(x_14); -lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec_ref(x_6); @@ -16411,15 +15898,15 @@ x_36 = l_Lean_LeanOptions_appendArray(x_35, x_3); x_37 = lean_alloc_ctor(0, 7, 1); lean_ctor_set(x_37, 0, x_4); lean_ctor_set(x_37, 1, x_30); -lean_ctor_set(x_37, 2, x_29); -lean_ctor_set(x_37, 3, x_28); -lean_ctor_set(x_37, 4, x_25); -lean_ctor_set(x_37, 5, x_24); +lean_ctor_set(x_37, 2, x_26); +lean_ctor_set(x_37, 3, x_24); +lean_ctor_set(x_37, 4, x_28); +lean_ctor_set(x_37, 5, x_25); lean_ctor_set(x_37, 6, x_36); lean_ctor_set_uint8(x_37, sizeof(void*)*7, x_27); x_38 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_38, 1, x_31); +lean_ctor_set(x_38, 1, x_29); return x_38; } block_74: @@ -16456,27 +15943,27 @@ x_65 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__priv x_66 = l_Lake_instOrdBuildType_ord(x_10, x_11); if (x_66 == 2) { -x_24 = x_65; -x_25 = x_63; -x_26 = lean_box(0); +x_24 = x_40; +x_25 = x_65; +x_26 = x_60; x_27 = x_57; -x_28 = x_40; -x_29 = x_60; +x_28 = x_63; +x_29 = x_58; x_30 = x_59; -x_31 = x_58; +x_31 = lean_box(0); x_32 = x_11; goto block_39; } else { -x_24 = x_65; -x_25 = x_63; -x_26 = lean_box(0); +x_24 = x_40; +x_25 = x_65; +x_26 = x_60; x_27 = x_57; -x_28 = x_40; -x_29 = x_60; +x_28 = x_63; +x_29 = x_58; x_30 = x_59; -x_31 = x_58; +x_31 = lean_box(0); x_32 = x_10; goto block_39; } @@ -16527,7 +16014,7 @@ block_90: if (x_84 == 0) { lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_85 = l_Lake_BuildTrace_mix(x_83, x_81); +x_85 = l_Lake_BuildTrace_mix(x_81, x_83); x_86 = l_Lake_BuildTrace_mix(x_85, x_82); x_87 = l_Lake_platformTrace; x_88 = l_Lake_BuildTrace_mix(x_86, x_87); @@ -16549,7 +16036,7 @@ else { lean_object* x_89; lean_dec_ref(x_82); -x_89 = l_Lake_BuildTrace_mix(x_83, x_81); +x_89 = l_Lake_BuildTrace_mix(x_81, x_83); x_40 = x_80; x_41 = x_17; x_42 = x_18; @@ -16633,9 +16120,9 @@ lean_object* x_115; uint8_t x_116; x_115 = lean_ctor_get(x_15, 0); x_116 = lean_unbox(x_115); x_80 = x_95; -x_81 = x_108; +x_81 = x_78; x_82 = x_92; -x_83 = x_78; +x_83 = x_108; x_84 = x_116; goto block_90; } @@ -16646,9 +16133,9 @@ lean_object* x_117; uint8_t x_118; x_117 = lean_ctor_get(x_14, 0); x_118 = lean_unbox(x_117); x_80 = x_95; -x_81 = x_108; +x_81 = x_78; x_82 = x_92; -x_83 = x_78; +x_83 = x_108; x_84 = x_118; goto block_90; } @@ -16705,9 +16192,9 @@ lean_object* x_131; uint8_t x_132; x_131 = lean_ctor_get(x_15, 0); x_132 = lean_unbox(x_131); x_80 = x_95; -x_81 = x_123; +x_81 = x_127; x_82 = x_92; -x_83 = x_127; +x_83 = x_123; x_84 = x_132; goto block_90; } @@ -16718,9 +16205,9 @@ lean_object* x_133; uint8_t x_134; x_133 = lean_ctor_get(x_14, 0); x_134 = lean_unbox(x_133); x_80 = x_95; -x_81 = x_123; +x_81 = x_127; x_82 = x_92; -x_83 = x_127; +x_83 = x_123; x_84 = x_134; goto block_90; } @@ -16797,9 +16284,9 @@ lean_object* x_152; uint8_t x_153; x_152 = lean_ctor_get(x_15, 0); x_153 = lean_unbox(x_152); x_80 = x_95; -x_81 = x_143; +x_81 = x_147; x_82 = x_149; -x_83 = x_147; +x_83 = x_143; x_84 = x_153; goto block_90; } @@ -16810,9 +16297,9 @@ lean_object* x_154; uint8_t x_155; x_154 = lean_ctor_get(x_14, 0); x_155 = lean_unbox(x_154); x_80 = x_95; -x_81 = x_143; +x_81 = x_147; x_82 = x_149; -x_83 = x_147; +x_83 = x_143; x_84 = x_155; goto block_90; } @@ -17997,7 +17484,7 @@ lean_inc(x_11); x_29 = lean_apply_7(x_10, x_28, x_11, x_12, x_13, x_14, x_26, lean_box(0)); if (lean_obj_tag(x_29) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_96; lean_object* x_97; uint8_t 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_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; uint8_t x_120; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; 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; uint8_t x_120; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); x_31 = lean_ctor_get(x_29, 1); @@ -18120,13 +17607,13 @@ lean_dec_ref(x_45); x_56 = l_Array_append___redArg(x_49, x_54); lean_dec_ref(x_54); x_57 = l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__7___closed__0; -lean_inc_ref(x_39); -lean_inc(x_40); -lean_inc(x_38); +lean_inc_ref(x_38); +lean_inc(x_36); lean_inc(x_37); -lean_inc_ref(x_41); +lean_inc(x_39); +lean_inc_ref(x_40); lean_inc_ref(x_7); -x_58 = l_Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0(x_7, x_56, x_57, x_41, x_37, x_38, x_40, x_39, x_43); +x_58 = l_Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0(x_7, x_56, x_57, x_40, x_39, x_37, x_36, x_38, x_43); if (lean_obj_tag(x_58) == 0) { lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; @@ -18138,13 +17625,13 @@ lean_dec_ref(x_58); x_61 = l_Array_append___redArg(x_50, x_55); lean_dec_ref(x_55); x_62 = l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__7___closed__1; -lean_inc_ref(x_39); -lean_inc(x_40); -lean_inc(x_38); +lean_inc_ref(x_38); +lean_inc(x_36); lean_inc(x_37); -lean_inc_ref(x_41); +lean_inc(x_39); +lean_inc_ref(x_40); lean_inc_ref(x_7); -x_63 = l_Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0(x_7, x_61, x_62, x_41, x_37, x_38, x_40, x_39, x_60); +x_63 = l_Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0(x_7, x_61, x_62, x_40, x_39, x_37, x_36, x_38, x_60); if (lean_obj_tag(x_63) == 0) { uint8_t x_64; @@ -18179,7 +17666,7 @@ lean_closure_set(x_71, 14, x_35); lean_closure_set(x_71, 15, x_30); x_72 = lean_unsigned_to_nat(0u); x_73 = l___private_Lake_Build_Module_0__Lake_Module_recParseImports___closed__2; -x_74 = l_Lake_Job_bindM___redArg(x_8, x_25, x_71, x_72, x_36, x_41, x_37, x_38, x_40, x_39, x_73); +x_74 = l_Lake_Job_bindM___redArg(x_8, x_25, x_71, x_72, x_41, x_40, x_39, x_37, x_36, x_38, x_73); lean_ctor_set(x_63, 0, x_74); return x_63; } @@ -18217,7 +17704,7 @@ lean_closure_set(x_82, 14, x_35); lean_closure_set(x_82, 15, x_30); x_83 = lean_unsigned_to_nat(0u); x_84 = l___private_Lake_Build_Module_0__Lake_Module_recParseImports___closed__2; -x_85 = l_Lake_Job_bindM___redArg(x_8, x_25, x_82, x_83, x_36, x_41, x_37, x_38, x_40, x_39, x_84); +x_85 = l_Lake_Job_bindM___redArg(x_8, x_25, x_82, x_83, x_41, x_40, x_39, x_37, x_36, x_38, x_84); x_86 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_76); @@ -18233,11 +17720,11 @@ lean_dec_ref(x_52); lean_dec(x_48); lean_dec_ref(x_47); lean_dec_ref(x_42); -lean_dec_ref(x_41); -lean_dec(x_40); -lean_dec_ref(x_39); -lean_dec(x_38); +lean_dec_ref(x_40); +lean_dec(x_39); +lean_dec_ref(x_38); lean_dec(x_37); +lean_dec(x_36); lean_dec_ref(x_35); lean_dec(x_30); lean_dec(x_25); @@ -18275,11 +17762,11 @@ lean_dec_ref(x_50); lean_dec(x_48); lean_dec_ref(x_47); lean_dec_ref(x_42); -lean_dec_ref(x_41); -lean_dec(x_40); -lean_dec_ref(x_39); -lean_dec(x_38); +lean_dec_ref(x_40); +lean_dec(x_39); +lean_dec_ref(x_38); lean_dec(x_37); +lean_dec(x_36); lean_dec_ref(x_35); lean_dec(x_30); lean_dec(x_25); @@ -18319,12 +17806,12 @@ lean_inc(x_106); lean_dec_ref(x_104); x_34 = x_96; x_35 = x_97; -x_36 = x_98; -x_37 = x_99; -x_38 = x_100; -x_39 = x_103; +x_36 = x_99; +x_37 = x_98; +x_38 = x_101; +x_39 = x_100; x_40 = x_102; -x_41 = x_101; +x_41 = x_103; x_42 = x_105; x_43 = x_106; x_44 = lean_box(0); @@ -18333,11 +17820,11 @@ goto block_95; else { uint8_t x_107; -lean_dec_ref(x_103); -lean_dec(x_102); +lean_dec_ref(x_102); lean_dec_ref(x_101); lean_dec(x_100); lean_dec(x_99); +lean_dec(x_98); lean_dec_ref(x_97); lean_dec_ref(x_32); lean_dec(x_30); @@ -18371,12 +17858,12 @@ block_154: { lean_object* x_121; lean_inc_ref(x_117); +lean_inc(x_114); +lean_inc(x_115); lean_inc(x_118); -lean_inc(x_116); -lean_inc(x_113); lean_inc_ref(x_119); -x_121 = l___private_Lake_Build_Module_0__Lake_Module_fetchImportLibs(x_4, x_112, x_120, x_119, x_113, x_116, x_118, x_117, x_114); -lean_dec_ref(x_112); +x_121 = l___private_Lake_Build_Module_0__Lake_Module_fetchImportLibs(x_4, x_113, x_120, x_119, x_118, x_115, x_114, x_117, x_116); +lean_dec_ref(x_113); lean_dec_ref(x_4); if (lean_obj_tag(x_121) == 0) { @@ -18396,12 +17883,12 @@ lean_object* x_127; x_127 = l___private_Lake_Build_Module_0__Lake_Module_fetchImportLibs___closed__0; x_34 = x_126; x_35 = x_125; -x_36 = x_126; -x_37 = x_113; -x_38 = x_116; -x_39 = x_117; -x_40 = x_118; -x_41 = x_119; +x_36 = x_114; +x_37 = x_115; +x_38 = x_117; +x_39 = x_118; +x_40 = x_119; +x_41 = x_126; x_42 = x_127; x_43 = x_123; x_44 = lean_box(0); @@ -18420,19 +17907,19 @@ size_t x_132; size_t x_133; lean_object* x_134; x_132 = l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__7___closed__4; x_133 = 0; lean_inc_ref(x_117); +lean_inc(x_114); +lean_inc(x_115); lean_inc(x_118); -lean_inc(x_116); -lean_inc(x_113); lean_inc_ref(x_119); -x_134 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_132, x_133, x_129, x_119, x_113, x_116, x_118, x_117, x_123); +x_134 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_132, x_133, x_129, x_119, x_118, x_115, x_114, x_117, x_123); x_96 = x_126; x_97 = x_125; -x_98 = x_126; -x_99 = x_113; -x_100 = x_116; -x_101 = x_119; -x_102 = x_118; -x_103 = x_117; +x_98 = x_115; +x_99 = x_114; +x_100 = x_118; +x_101 = x_117; +x_102 = x_119; +x_103 = x_126; x_104 = x_134; goto block_111; } @@ -18449,19 +17936,19 @@ size_t x_137; size_t x_138; lean_object* x_139; x_137 = l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__7___closed__4; x_138 = 0; lean_inc_ref(x_117); +lean_inc(x_114); +lean_inc(x_115); lean_inc(x_118); -lean_inc(x_116); -lean_inc(x_113); lean_inc_ref(x_119); -x_139 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_137, x_138, x_129, x_119, x_113, x_116, x_118, x_117, x_123); +x_139 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_137, x_138, x_129, x_119, x_118, x_115, x_114, x_117, x_123); x_96 = x_126; x_97 = x_125; -x_98 = x_126; -x_99 = x_113; -x_100 = x_116; -x_101 = x_119; -x_102 = x_118; -x_103 = x_117; +x_98 = x_115; +x_99 = x_114; +x_100 = x_118; +x_101 = x_117; +x_102 = x_119; +x_103 = x_126; x_104 = x_139; goto block_111; } @@ -18474,19 +17961,19 @@ lean_inc_ref(x_7); x_142 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__3(x_135, x_7, x_9, x_140, x_141, x_129); x_143 = lean_array_size(x_142); lean_inc_ref(x_117); +lean_inc(x_114); +lean_inc(x_115); lean_inc(x_118); -lean_inc(x_116); -lean_inc(x_113); lean_inc_ref(x_119); -x_144 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_143, x_140, x_142, x_119, x_113, x_116, x_118, x_117, x_123); +x_144 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_143, x_140, x_142, x_119, x_118, x_115, x_114, x_117, x_123); x_96 = x_126; x_97 = x_125; -x_98 = x_126; -x_99 = x_113; -x_100 = x_116; -x_101 = x_119; -x_102 = x_118; -x_103 = x_117; +x_98 = x_115; +x_99 = x_114; +x_100 = x_118; +x_101 = x_117; +x_102 = x_119; +x_103 = x_126; x_104 = x_144; goto block_111; } @@ -18500,19 +17987,19 @@ lean_inc_ref(x_7); x_147 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__3(x_135, x_7, x_9, x_145, x_146, x_129); x_148 = lean_array_size(x_147); lean_inc_ref(x_117); +lean_inc(x_114); +lean_inc(x_115); lean_inc(x_118); -lean_inc(x_116); -lean_inc(x_113); lean_inc_ref(x_119); -x_149 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_148, x_145, x_147, x_119, x_113, x_116, x_118, x_117, x_123); +x_149 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_148, x_145, x_147, x_119, x_118, x_115, x_114, x_117, x_123); x_96 = x_126; x_97 = x_125; -x_98 = x_126; -x_99 = x_113; -x_100 = x_116; -x_101 = x_119; -x_102 = x_118; -x_103 = x_117; +x_98 = x_115; +x_99 = x_114; +x_100 = x_118; +x_101 = x_117; +x_102 = x_119; +x_103 = x_126; x_104 = x_149; goto block_111; } @@ -18525,8 +18012,8 @@ uint8_t x_150; lean_dec_ref(x_119); lean_dec(x_118); lean_dec_ref(x_117); -lean_dec(x_116); -lean_dec(x_113); +lean_dec(x_115); +lean_dec(x_114); lean_dec_ref(x_32); lean_dec(x_30); lean_dec(x_25); @@ -18570,13 +18057,13 @@ x_165 = lean_ctor_get(x_163, 1); lean_inc(x_165); lean_dec_ref(x_163); x_166 = lean_ctor_get_uint8(x_6, sizeof(void*)*9 + 1); -x_112 = x_164; -x_113 = x_157; -x_114 = x_165; -x_115 = lean_box(0); -x_116 = x_158; +x_112 = lean_box(0); +x_113 = x_164; +x_114 = x_159; +x_115 = x_158; +x_116 = x_165; x_117 = x_160; -x_118 = x_159; +x_118 = x_157; x_119 = x_156; x_120 = x_166; goto block_154; @@ -18589,13 +18076,13 @@ lean_inc(x_167); x_168 = lean_ctor_get(x_163, 1); lean_inc(x_168); lean_dec_ref(x_163); -x_112 = x_167; -x_113 = x_157; -x_114 = x_168; -x_115 = lean_box(0); -x_116 = x_158; +x_112 = lean_box(0); +x_113 = x_167; +x_114 = x_159; +x_115 = x_158; +x_116 = x_168; x_117 = x_160; -x_118 = x_159; +x_118 = x_157; x_119 = x_156; x_120 = x_33; goto block_154; @@ -21437,11 +20924,11 @@ if (lean_is_scalar(x_23)) { x_41 = x_23; } lean_ctor_set(x_41, 0, x_32); -lean_ctor_set(x_41, 1, x_36); -lean_ctor_set(x_41, 2, x_34); -lean_ctor_set(x_41, 3, x_37); -lean_ctor_set(x_41, 4, x_35); -lean_ctor_set(x_41, 5, x_33); +lean_ctor_set(x_41, 1, x_33); +lean_ctor_set(x_41, 2, x_36); +lean_ctor_set(x_41, 3, x_35); +lean_ctor_set(x_41, 4, x_37); +lean_ctor_set(x_41, 5, x_34); lean_ctor_set(x_41, 6, x_38); if (lean_is_scalar(x_12)) { x_42 = lean_alloc_ctor(0, 2, 0); @@ -21491,11 +20978,11 @@ lean_dec_ref(x_48); lean_dec_ref(x_22); lean_dec(x_11); x_65 = lean_box(0); -x_33 = x_63; -x_34 = x_44; -x_35 = x_46; +x_33 = x_44; +x_34 = x_63; +x_35 = x_57; x_36 = x_45; -x_37 = x_57; +x_37 = x_46; x_38 = x_65; x_39 = x_47; x_40 = lean_box(0); @@ -21518,11 +21005,11 @@ x_69 = !lean_is_exclusive(x_68); if (x_69 == 0) { lean_ctor_set_tag(x_68, 1); -x_33 = x_63; -x_34 = x_44; -x_35 = x_46; +x_33 = x_44; +x_34 = x_63; +x_35 = x_57; x_36 = x_45; -x_37 = x_57; +x_37 = x_46; x_38 = x_68; x_39 = x_47; x_40 = lean_box(0); @@ -21536,11 +21023,11 @@ lean_inc(x_70); lean_dec(x_68); x_71 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_71, 0, x_70); -x_33 = x_63; -x_34 = x_44; -x_35 = x_46; +x_33 = x_44; +x_34 = x_63; +x_35 = x_57; x_36 = x_45; -x_37 = x_57; +x_37 = x_46; x_38 = x_71; x_39 = x_47; x_40 = lean_box(0); @@ -21668,8 +21155,8 @@ lean_inc_ref(x_104); x_105 = lean_ctor_get(x_99, 2); lean_inc(x_105); x_106 = lean_box(0); -x_44 = x_98; -x_45 = x_97; +x_44 = x_97; +x_45 = x_98; x_46 = x_106; x_47 = x_99; x_48 = x_101; @@ -21703,8 +21190,8 @@ x_115 = !lean_is_exclusive(x_114); if (x_115 == 0) { lean_ctor_set_tag(x_114, 1); -x_44 = x_98; -x_45 = x_97; +x_44 = x_97; +x_45 = x_98; x_46 = x_114; x_47 = x_99; x_48 = x_107; @@ -21723,8 +21210,8 @@ lean_inc(x_116); lean_dec(x_114); x_117 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_117, 0, x_116); -x_44 = x_98; -x_45 = x_97; +x_44 = x_97; +x_45 = x_98; x_46 = x_117; x_47 = x_99; x_48 = x_107; @@ -23076,11 +22563,11 @@ if (lean_is_scalar(x_20)) { x_39 = x_20; } lean_ctor_set(x_39, 0, x_28); -lean_ctor_set(x_39, 1, x_32); -lean_ctor_set(x_39, 2, x_35); -lean_ctor_set(x_39, 3, x_34); -lean_ctor_set(x_39, 4, x_31); -lean_ctor_set(x_39, 5, x_33); +lean_ctor_set(x_39, 1, x_35); +lean_ctor_set(x_39, 2, x_34); +lean_ctor_set(x_39, 3, x_31); +lean_ctor_set(x_39, 4, x_33); +lean_ctor_set(x_39, 5, x_32); lean_ctor_set(x_39, 6, x_36); if (lean_is_scalar(x_30)) { x_40 = lean_alloc_ctor(0, 2, 0); @@ -23112,9 +22599,9 @@ lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); lean_dec_ref(x_52); -x_31 = x_45; -x_32 = x_42; -x_33 = x_53; +x_31 = x_42; +x_32 = x_53; +x_33 = x_45; x_34 = x_43; x_35 = x_44; x_36 = x_19; @@ -23148,9 +22635,9 @@ x_63 = lean_ctor_get(x_61, 1); lean_inc(x_63); lean_dec_ref(x_61); lean_ctor_set(x_19, 0, x_62); -x_31 = x_45; -x_32 = x_42; -x_33 = x_55; +x_31 = x_42; +x_32 = x_55; +x_33 = x_45; x_34 = x_43; x_35 = x_44; x_36 = x_19; @@ -23165,8 +22652,8 @@ lean_free_object(x_19); lean_dec(x_55); lean_dec(x_45); lean_dec(x_44); -lean_dec_ref(x_43); -lean_dec(x_42); +lean_dec(x_43); +lean_dec_ref(x_42); lean_dec(x_30); lean_dec(x_28); lean_dec(x_20); @@ -23210,9 +22697,9 @@ lean_inc(x_73); lean_dec_ref(x_71); x_74 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_74, 0, x_72); -x_31 = x_45; -x_32 = x_42; -x_33 = x_55; +x_31 = x_42; +x_32 = x_55; +x_33 = x_45; x_34 = x_43; x_35 = x_44; x_36 = x_74; @@ -23226,8 +22713,8 @@ lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_dec(x_55); lean_dec(x_45); lean_dec(x_44); -lean_dec_ref(x_43); -lean_dec(x_42); +lean_dec(x_43); +lean_dec_ref(x_42); lean_dec(x_30); lean_dec(x_28); lean_dec(x_20); @@ -23261,8 +22748,8 @@ uint8_t x_79; lean_dec_ref(x_50); lean_dec(x_45); lean_dec(x_44); -lean_dec_ref(x_43); -lean_dec(x_42); +lean_dec(x_43); +lean_dec_ref(x_42); lean_dec(x_30); lean_dec(x_28); lean_dec(x_20); @@ -23306,9 +22793,9 @@ lean_inc(x_91); x_92 = lean_ctor_get(x_90, 1); lean_inc(x_92); lean_dec_ref(x_90); -x_42 = x_84; -x_43 = x_91; -x_44 = x_85; +x_42 = x_91; +x_43 = x_85; +x_44 = x_84; x_45 = x_17; x_46 = x_92; x_47 = lean_box(0); @@ -23341,9 +22828,9 @@ x_101 = lean_ctor_get(x_99, 1); lean_inc(x_101); lean_dec_ref(x_99); lean_ctor_set(x_17, 0, x_100); -x_42 = x_84; -x_43 = x_93; -x_44 = x_85; +x_42 = x_93; +x_43 = x_85; +x_44 = x_84; x_45 = x_17; x_46 = x_101; x_47 = lean_box(0); @@ -23405,9 +22892,9 @@ lean_inc(x_111); lean_dec_ref(x_109); x_112 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_112, 0, x_110); -x_42 = x_84; -x_43 = x_93; -x_44 = x_85; +x_42 = x_93; +x_43 = x_85; +x_44 = x_84; x_45 = x_112; x_46 = x_111; x_47 = lean_box(0); @@ -23761,8 +23248,8 @@ x_30 = lean_box(0); x_31 = lean_alloc_ctor(0, 8, 0); lean_ctor_set(x_31, 0, x_12); lean_ctor_set(x_31, 1, x_19); -lean_ctor_set(x_31, 2, x_20); -lean_ctor_set(x_31, 3, x_22); +lean_ctor_set(x_31, 2, x_22); +lean_ctor_set(x_31, 3, x_20); lean_ctor_set(x_31, 4, x_21); lean_ctor_set(x_31, 5, x_23); lean_ctor_set(x_31, 6, x_28); @@ -23780,8 +23267,8 @@ lean_ctor_set(x_34, 0, x_33); x_35 = lean_alloc_ctor(0, 8, 0); lean_ctor_set(x_35, 0, x_12); lean_ctor_set(x_35, 1, x_19); -lean_ctor_set(x_35, 2, x_20); -lean_ctor_set(x_35, 3, x_22); +lean_ctor_set(x_35, 2, x_22); +lean_ctor_set(x_35, 3, x_20); lean_ctor_set(x_35, 4, x_21); lean_ctor_set(x_35, 5, x_23); lean_ctor_set(x_35, 6, x_28); @@ -23802,9 +23289,9 @@ if (x_3 == 0) lean_object* x_42; lean_dec_ref(x_17); x_42 = lean_box(0); -x_20 = x_37; +x_20 = x_38; x_21 = x_41; -x_22 = x_38; +x_22 = x_37; x_23 = x_42; goto block_36; } @@ -23817,9 +23304,9 @@ x_44 = l_Lean_modToFilePath(x_17, x_7, x_43); lean_dec_ref(x_17); x_45 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_45, 0, x_44); -x_20 = x_37; +x_20 = x_38; x_21 = x_41; -x_22 = x_38; +x_22 = x_37; x_23 = x_45; goto block_36; } @@ -28609,7 +28096,7 @@ lean_inc_ref(x_48); x_49 = l_Lake_BuildTrace_mix(x_43, x_48); if (lean_obj_tag(x_46) == 0) { -lean_object* x_50; lean_object* x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint64_t x_61; uint8_t x_260; lean_object* x_261; uint8_t x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; uint8_t x_269; lean_object* x_285; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; +lean_object* x_50; lean_object* x_51; uint8_t x_52; uint8_t 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; uint8_t x_60; uint64_t x_61; lean_object* x_260; lean_object* x_261; uint8_t x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; uint8_t x_269; lean_object* x_285; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; x_50 = lean_ctor_get(x_46, 0); lean_inc(x_50); x_51 = lean_ctor_get(x_46, 1); @@ -28631,9 +28118,9 @@ block_259: { lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; x_62 = l___private_Lake_Build_Module_0__Lake_Module_buildLean___closed__0; -x_63 = l_System_FilePath_normalize(x_58); +x_63 = l_System_FilePath_normalize(x_54); x_64 = l_Lake_joinRelative(x_5, x_63); -x_65 = l_System_FilePath_normalize(x_60); +x_65 = l_System_FilePath_normalize(x_59); x_66 = l_Lake_joinRelative(x_64, x_65); x_67 = l_Lean_modToFilePath(x_66, x_6, x_62); lean_dec_ref(x_66); @@ -28642,7 +28129,7 @@ x_68 = l_Lake_readTraceFile(x_67, x_51); x_69 = l___private_Lake_Build_Module_0__Lake_Module_recFetchInput___lam__0___closed__0; x_70 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__2___closed__0; x_71 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__2___closed__1; -x_72 = lean_array_to_list(x_59); +x_72 = lean_array_to_list(x_57); x_73 = l_List_toString___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__0(x_72); lean_dec(x_72); x_74 = lean_string_append(x_71, x_73); @@ -28655,7 +28142,7 @@ lean_ctor_set(x_77, 0, x_75); lean_ctor_set(x_77, 1, x_69); lean_ctor_set(x_77, 2, x_76); lean_ctor_set_uint64(x_77, sizeof(void*)*3, x_61); -x_78 = l_Lake_BuildTrace_mix(x_56, x_77); +x_78 = l_Lake_BuildTrace_mix(x_55, x_77); x_79 = !lean_is_exclusive(x_78); if (x_79 == 0) { @@ -28697,9 +28184,9 @@ x_90 = lean_ctor_get(x_87, 1); lean_inc(x_90); lean_dec_ref(x_87); x_91 = lean_ctor_get(x_47, 2); -x_92 = lean_ctor_get(x_54, 2); +x_92 = lean_ctor_get(x_58, 2); lean_inc_ref(x_92); -lean_dec_ref(x_54); +lean_dec_ref(x_58); lean_inc(x_84); lean_inc_ref(x_9); x_93 = l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__3(x_12, x_9, x_78, x_84, x_92, x_13, x_14, x_15, x_16, x_90); @@ -28734,7 +28221,7 @@ if (x_99 == 0) { lean_object* x_100; lean_object* x_101; x_100 = lean_ctor_get(x_95, 0); -x_101 = l___private_Lake_Build_Module_0__Lake_Module_computeArtifacts___redArg(x_9, x_57, x_16, x_100); +x_101 = l___private_Lake_Build_Module_0__Lake_Module_computeArtifacts___redArg(x_9, x_60, x_16, x_100); lean_dec_ref(x_16); if (lean_obj_tag(x_101) == 0) { @@ -28791,7 +28278,7 @@ lean_inc(x_113); lean_inc(x_112); lean_inc(x_109); lean_dec(x_95); -x_114 = l___private_Lake_Build_Module_0__Lake_Module_computeArtifacts___redArg(x_9, x_57, x_16, x_109); +x_114 = l___private_Lake_Build_Module_0__Lake_Module_computeArtifacts___redArg(x_9, x_60, x_16, x_109); lean_dec_ref(x_16); if (lean_obj_tag(x_114) == 0) { @@ -28976,7 +28463,7 @@ lean_inc_ref(x_9); lean_inc_ref(x_8); lean_inc_ref(x_138); lean_inc(x_84); -x_139 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__0(x_80, x_84, x_138, x_8, x_9, x_67, x_55, x_12, x_13, x_14, x_15, x_16, x_137); +x_139 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__0(x_80, x_84, x_138, x_8, x_9, x_67, x_56, x_12, x_13, x_14, x_15, x_16, x_137); if (lean_obj_tag(x_139) == 0) { lean_object* x_140; @@ -28988,7 +28475,7 @@ lean_object* x_141; lean_object* x_142; lean_dec_ref(x_138); lean_dec(x_84); lean_dec_ref(x_78); -lean_dec_ref(x_54); +lean_dec_ref(x_58); lean_dec(x_50); lean_dec_ref(x_16); lean_dec(x_15); @@ -29017,9 +28504,9 @@ lean_dec(x_140); x_143 = lean_ctor_get(x_139, 1); lean_inc(x_143); lean_dec_ref(x_139); -x_144 = lean_ctor_get(x_54, 2); +x_144 = lean_ctor_get(x_58, 2); lean_inc_ref(x_144); -lean_dec_ref(x_54); +lean_dec_ref(x_58); lean_inc_ref(x_9); x_145 = l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__3(x_12, x_9, x_78, x_84, x_144, x_13, x_14, x_15, x_16, x_143); lean_dec_ref(x_144); @@ -29043,7 +28530,7 @@ lean_dec_ref(x_11); x_151 = lean_box(0); x_152 = lean_unbox(x_146); lean_dec(x_146); -x_153 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__1(x_152, x_9, x_53, x_52, x_8, x_138, x_80, x_151, x_12, x_13, x_14, x_15, x_16, x_147); +x_153 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__1(x_152, x_9, x_52, x_53, x_8, x_138, x_80, x_151, x_12, x_13, x_14, x_15, x_16, x_147); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -29072,7 +28559,7 @@ lean_dec_ref(x_154); x_156 = lean_box(0); x_157 = lean_unbox(x_146); lean_dec(x_146); -x_158 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__1(x_157, x_9, x_53, x_52, x_8, x_138, x_80, x_156, x_12, x_13, x_14, x_15, x_16, x_155); +x_158 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__1(x_157, x_9, x_52, x_53, x_8, x_138, x_80, x_156, x_12, x_13, x_14, x_15, x_16, x_155); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -29137,7 +28624,7 @@ uint8_t x_163; lean_dec_ref(x_138); lean_dec(x_84); lean_dec_ref(x_78); -lean_dec_ref(x_54); +lean_dec_ref(x_58); lean_dec(x_50); lean_dec_ref(x_16); lean_dec(x_15); @@ -29172,7 +28659,7 @@ else { uint8_t x_167; lean_dec_ref(x_67); -lean_dec_ref(x_54); +lean_dec_ref(x_58); lean_dec(x_50); lean_dec_ref(x_16); lean_dec(x_15); @@ -29272,9 +28759,9 @@ x_186 = lean_ctor_get(x_183, 1); lean_inc(x_186); lean_dec_ref(x_183); x_187 = lean_ctor_get(x_47, 2); -x_188 = lean_ctor_get(x_54, 2); +x_188 = lean_ctor_get(x_58, 2); lean_inc_ref(x_188); -lean_dec_ref(x_54); +lean_dec_ref(x_58); lean_inc(x_180); lean_inc_ref(x_9); x_189 = l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__3(x_12, x_9, x_179, x_180, x_188, x_13, x_14, x_15, x_16, x_186); @@ -29321,7 +28808,7 @@ if (lean_is_exclusive(x_191)) { lean_dec_ref(x_191); x_200 = lean_box(0); } -x_201 = l___private_Lake_Build_Module_0__Lake_Module_computeArtifacts___redArg(x_9, x_57, x_16, x_195); +x_201 = l___private_Lake_Build_Module_0__Lake_Module_computeArtifacts___redArg(x_9, x_60, x_16, x_195); lean_dec_ref(x_16); if (lean_obj_tag(x_201) == 0) { @@ -29517,7 +29004,7 @@ lean_inc_ref(x_9); lean_inc_ref(x_8); lean_inc_ref(x_225); lean_inc(x_180); -x_226 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__0(x_175, x_180, x_225, x_8, x_9, x_67, x_55, x_12, x_13, x_14, x_15, x_16, x_224); +x_226 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__0(x_175, x_180, x_225, x_8, x_9, x_67, x_56, x_12, x_13, x_14, x_15, x_16, x_224); if (lean_obj_tag(x_226) == 0) { lean_object* x_227; @@ -29529,7 +29016,7 @@ lean_object* x_228; lean_object* x_229; lean_dec_ref(x_225); lean_dec(x_180); lean_dec_ref(x_179); -lean_dec_ref(x_54); +lean_dec_ref(x_58); lean_dec(x_50); lean_dec_ref(x_16); lean_dec(x_15); @@ -29558,9 +29045,9 @@ lean_dec(x_227); x_230 = lean_ctor_get(x_226, 1); lean_inc(x_230); lean_dec_ref(x_226); -x_231 = lean_ctor_get(x_54, 2); +x_231 = lean_ctor_get(x_58, 2); lean_inc_ref(x_231); -lean_dec_ref(x_54); +lean_dec_ref(x_58); lean_inc_ref(x_9); x_232 = l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__3(x_12, x_9, x_179, x_180, x_231, x_13, x_14, x_15, x_16, x_230); lean_dec_ref(x_231); @@ -29584,7 +29071,7 @@ lean_dec_ref(x_11); x_238 = lean_box(0); x_239 = lean_unbox(x_233); lean_dec(x_233); -x_240 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__1(x_239, x_9, x_53, x_52, x_8, x_225, x_175, x_238, x_12, x_13, x_14, x_15, x_16, x_234); +x_240 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__1(x_239, x_9, x_52, x_53, x_8, x_225, x_175, x_238, x_12, x_13, x_14, x_15, x_16, x_234); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -29613,7 +29100,7 @@ lean_dec_ref(x_241); x_243 = lean_box(0); x_244 = lean_unbox(x_233); lean_dec(x_233); -x_245 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__1(x_244, x_9, x_53, x_52, x_8, x_225, x_175, x_243, x_12, x_13, x_14, x_15, x_16, x_242); +x_245 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLean___lam__1(x_244, x_9, x_52, x_53, x_8, x_225, x_175, x_243, x_12, x_13, x_14, x_15, x_16, x_242); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -29680,7 +29167,7 @@ lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_dec_ref(x_225); lean_dec(x_180); lean_dec_ref(x_179); -lean_dec_ref(x_54); +lean_dec_ref(x_58); lean_dec(x_50); lean_dec_ref(x_16); lean_dec(x_15); @@ -29717,7 +29204,7 @@ else { lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_dec_ref(x_67); -lean_dec_ref(x_54); +lean_dec_ref(x_58); lean_dec(x_50); lean_dec_ref(x_16); lean_dec(x_15); @@ -29764,24 +29251,24 @@ block_284: { lean_object* x_270; lean_object* x_271; lean_object* x_272; uint64_t x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; x_270 = l_Lake_BuildType_leanArgs(x_269); -x_271 = l_Array_append___redArg(x_270, x_265); -lean_dec_ref(x_265); -x_272 = l_Array_append___redArg(x_271, x_264); +x_271 = l_Array_append___redArg(x_270, x_260); +lean_dec_ref(x_260); +x_272 = l_Array_append___redArg(x_271, x_263); x_273 = l_Lake_Hash_nil; x_274 = lean_unsigned_to_nat(0u); x_275 = lean_array_get_size(x_272); x_276 = lean_nat_dec_lt(x_274, x_275); if (x_276 == 0) { -x_52 = x_260; -x_53 = x_262; -x_54 = x_266; -x_55 = x_260; -x_56 = x_267; -x_57 = x_268; -x_58 = x_263; -x_59 = x_272; -x_60 = x_261; +x_52 = x_262; +x_53 = x_265; +x_54 = x_264; +x_55 = x_266; +x_56 = x_265; +x_57 = x_272; +x_58 = x_267; +x_59 = x_261; +x_60 = x_268; x_61 = x_273; goto block_259; } @@ -29793,15 +29280,15 @@ if (x_277 == 0) { if (x_276 == 0) { -x_52 = x_260; -x_53 = x_262; -x_54 = x_266; -x_55 = x_260; -x_56 = x_267; -x_57 = x_268; -x_58 = x_263; -x_59 = x_272; -x_60 = x_261; +x_52 = x_262; +x_53 = x_265; +x_54 = x_264; +x_55 = x_266; +x_56 = x_265; +x_57 = x_272; +x_58 = x_267; +x_59 = x_261; +x_60 = x_268; x_61 = x_273; goto block_259; } @@ -29811,15 +29298,15 @@ size_t x_278; size_t x_279; uint64_t x_280; x_278 = 0; x_279 = lean_usize_of_nat(x_275); x_280 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__4(x_272, x_278, x_279, x_273); -x_52 = x_260; -x_53 = x_262; -x_54 = x_266; -x_55 = x_260; -x_56 = x_267; -x_57 = x_268; -x_58 = x_263; -x_59 = x_272; -x_60 = x_261; +x_52 = x_262; +x_53 = x_265; +x_54 = x_264; +x_55 = x_266; +x_56 = x_265; +x_57 = x_272; +x_58 = x_267; +x_59 = x_261; +x_60 = x_268; x_61 = x_280; goto block_259; } @@ -29830,15 +29317,15 @@ size_t x_281; size_t x_282; uint64_t x_283; x_281 = 0; x_282 = lean_usize_of_nat(x_275); x_283 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildLean_spec__4(x_272, x_281, x_282, x_273); -x_52 = x_260; -x_53 = x_262; -x_54 = x_266; -x_55 = x_260; -x_56 = x_267; -x_57 = x_268; -x_58 = x_263; -x_59 = x_272; -x_60 = x_261; +x_52 = x_262; +x_53 = x_265; +x_54 = x_264; +x_55 = x_266; +x_56 = x_265; +x_57 = x_272; +x_58 = x_267; +x_59 = x_261; +x_60 = x_268; x_61 = x_283; goto block_259; } @@ -29873,28 +29360,28 @@ x_300 = l_Lake_BuildTrace_mix(x_297, x_299); x_301 = l_Lake_instOrdBuildType_ord(x_293, x_295); if (x_301 == 2) { -x_260 = x_292; +x_260 = x_294; x_261 = x_291; x_262 = x_288; -x_263 = x_290; -x_264 = x_296; -x_265 = x_294; -x_266 = x_285; -x_267 = x_300; +x_263 = x_296; +x_264 = x_290; +x_265 = x_292; +x_266 = x_300; +x_267 = x_285; x_268 = x_288; x_269 = x_295; goto block_284; } else { -x_260 = x_292; +x_260 = x_294; x_261 = x_291; x_262 = x_288; -x_263 = x_290; -x_264 = x_296; -x_265 = x_294; -x_266 = x_285; -x_267 = x_300; +x_263 = x_296; +x_264 = x_290; +x_265 = x_292; +x_266 = x_300; +x_267 = x_285; x_268 = x_288; x_269 = x_293; goto block_284; @@ -32779,7 +32266,7 @@ return x_1; LEAN_EXPORT lean_object* l___private_Lake_Build_Module_0__Lake_Module_recBuildLeanCToOExport(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_73; uint8_t x_99; uint8_t x_100; +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_73; uint8_t x_99; uint8_t x_100; x_9 = lean_ctor_get(x_6, 0); x_10 = lean_ctor_get(x_6, 3); lean_inc(x_10); @@ -32805,16 +32292,16 @@ block_72: { lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; x_27 = l_Lake_BuildType_leancArgs(x_26); -x_28 = l_Array_append___redArg(x_27, x_19); -lean_dec_ref(x_19); +x_28 = l_Array_append___redArg(x_27, x_17); +lean_dec_ref(x_17); x_29 = l_Array_append___redArg(x_28, x_24); lean_dec_ref(x_24); x_30 = l___private_Lake_Build_Module_0__Lake_Module_recBuildLeanCToOExport___closed__1; x_31 = l_Array_append___redArg(x_29, x_30); x_32 = l_Lake_Module_cFacet; x_33 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_33, 0, x_17); -lean_ctor_set(x_33, 1, x_15); +lean_ctor_set(x_33, 0, x_15); +lean_ctor_set(x_33, 1, x_23); x_34 = l_Lake_Module_keyword; x_35 = lean_alloc_ctor(1, 4, 0); lean_ctor_set(x_35, 0, x_33); @@ -32822,16 +32309,16 @@ lean_ctor_set(x_35, 1, x_34); lean_ctor_set(x_35, 2, x_1); lean_ctor_set(x_35, 3, x_32); x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_16); -x_37 = lean_box(x_21); +lean_ctor_set(x_36, 0, x_14); +x_37 = lean_box(x_19); x_38 = lean_alloc_closure((void*)(l___private_Lake_Build_Module_0__Lake_Module_recBuildLeanCToOExport___lam__0___boxed), 17, 10); lean_closure_set(x_38, 0, x_35); lean_closure_set(x_38, 1, x_36); -lean_closure_set(x_38, 2, x_22); -lean_closure_set(x_38, 3, x_18); -lean_closure_set(x_38, 4, x_23); +lean_closure_set(x_38, 2, x_20); +lean_closure_set(x_38, 3, x_16); +lean_closure_set(x_38, 4, x_21); lean_closure_set(x_38, 5, x_13); -lean_closure_set(x_38, 6, x_20); +lean_closure_set(x_38, 6, x_18); lean_closure_set(x_38, 7, x_25); lean_closure_set(x_38, 8, x_31); lean_closure_set(x_38, 9, x_37); @@ -32852,7 +32339,7 @@ x_43 = lean_ctor_get(x_41, 2); lean_dec(x_43); x_44 = lean_st_ref_take(x_10); x_45 = 0; -lean_ctor_set(x_41, 2, x_14); +lean_ctor_set(x_41, 2, x_22); lean_ctor_set_uint8(x_41, sizeof(void*)*3, x_45); lean_inc_ref(x_41); x_46 = l_Lake_Job_toOpaque___redArg(x_41); @@ -32876,7 +32363,7 @@ x_53 = 0; x_54 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_54, 0, x_50); lean_ctor_set(x_54, 1, x_51); -lean_ctor_set(x_54, 2, x_14); +lean_ctor_set(x_54, 2, x_22); lean_ctor_set_uint8(x_54, sizeof(void*)*3, x_53); lean_inc_ref(x_54); x_55 = l_Lake_Job_toOpaque___redArg(x_54); @@ -32918,7 +32405,7 @@ if (lean_is_scalar(x_63)) { } lean_ctor_set(x_66, 0, x_61); lean_ctor_set(x_66, 1, x_62); -lean_ctor_set(x_66, 2, x_14); +lean_ctor_set(x_66, 2, x_22); lean_ctor_set_uint8(x_66, sizeof(void*)*3, x_65); lean_inc_ref(x_66); x_67 = l_Lake_Job_toOpaque___redArg(x_66); @@ -32934,7 +32421,7 @@ return x_71; } else { -lean_dec_ref(x_14); +lean_dec_ref(x_22); lean_dec(x_10); return x_39; } @@ -32981,16 +32468,16 @@ lean_inc(x_81); lean_inc_ref(x_75); lean_inc_n(x_80, 2); x_13 = x_80; -x_14 = x_96; -x_15 = x_80; -x_16 = x_75; -x_17 = x_81; -x_18 = x_82; -x_19 = x_87; -x_20 = x_88; -x_21 = x_83; -x_22 = x_84; -x_23 = x_85; +x_14 = x_75; +x_15 = x_81; +x_16 = x_82; +x_17 = x_87; +x_18 = x_88; +x_19 = x_83; +x_20 = x_84; +x_21 = x_85; +x_22 = x_96; +x_23 = x_80; x_24 = x_90; x_25 = x_91; x_26 = x_89; @@ -33009,16 +32496,16 @@ lean_inc(x_81); lean_inc_ref(x_75); lean_inc_n(x_80, 2); x_13 = x_80; -x_14 = x_96; -x_15 = x_80; -x_16 = x_75; -x_17 = x_81; -x_18 = x_82; -x_19 = x_87; -x_20 = x_88; -x_21 = x_83; -x_22 = x_84; -x_23 = x_85; +x_14 = x_75; +x_15 = x_81; +x_16 = x_82; +x_17 = x_87; +x_18 = x_88; +x_19 = x_83; +x_20 = x_84; +x_21 = x_85; +x_22 = x_96; +x_23 = x_80; x_24 = x_90; x_25 = x_91; x_26 = x_86; @@ -34654,7 +34141,7 @@ if (x_87 == 0) { lean_dec_ref(x_85); x_30 = x_82; -x_31 = x_83; +x_31 = x_84; x_32 = lean_box(0); goto block_57; } @@ -34668,7 +34155,7 @@ if (x_87 == 0) { lean_dec_ref(x_85); x_30 = x_82; -x_31 = x_83; +x_31 = x_84; x_32 = lean_box(0); goto block_57; } @@ -34681,7 +34168,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_3); lean_inc_ref(x_8); -x_90 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildDynlib_spec__1(x_85, x_21, x_89, x_82, x_8, x_3, x_10, x_11, x_12, x_83); +x_90 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildDynlib_spec__1(x_85, x_21, x_89, x_82, x_8, x_3, x_10, x_11, x_12, x_84); lean_dec_ref(x_85); x_58 = x_90; goto block_63; @@ -34696,7 +34183,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_3); lean_inc_ref(x_8); -x_92 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildDynlib_spec__1(x_85, x_21, x_91, x_82, x_8, x_3, x_10, x_11, x_12, x_83); +x_92 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recBuildDynlib_spec__1(x_85, x_21, x_91, x_82, x_8, x_3, x_10, x_11, x_12, x_84); lean_dec_ref(x_85); x_58 = x_92; goto block_63; @@ -34719,8 +34206,8 @@ x_99 = lean_nat_dec_lt(x_81, x_98); if (x_99 == 0) { x_82 = x_95; -x_83 = x_96; -x_84 = lean_box(0); +x_83 = lean_box(0); +x_84 = x_96; x_85 = x_97; goto block_93; } @@ -34734,8 +34221,8 @@ if (x_101 == 0) if (x_99 == 0) { x_82 = x_95; -x_83 = x_96; -x_84 = lean_box(0); +x_83 = lean_box(0); +x_84 = x_96; x_85 = x_97; goto block_93; } @@ -34746,8 +34233,8 @@ x_102 = lean_usize_of_nat(x_98); lean_inc_ref(x_4); x_103 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__3(x_100, x_4, x_29, x_21, x_102, x_97); x_82 = x_95; -x_83 = x_96; -x_84 = lean_box(0); +x_83 = lean_box(0); +x_84 = x_96; x_85 = x_103; goto block_93; } @@ -34759,8 +34246,8 @@ x_104 = lean_usize_of_nat(x_98); lean_inc_ref(x_4); x_105 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__3(x_100, x_4, x_29, x_21, x_104, x_97); x_82 = x_95; -x_83 = x_96; -x_84 = lean_box(0); +x_83 = lean_box(0); +x_84 = x_96; x_85 = x_105; goto block_93; } @@ -35840,9 +35327,9 @@ goto block_154; block_147: { lean_object* x_144; lean_object* x_145; lean_object* x_146; -x_144 = lean_nat_add(x_141, x_143); +x_144 = lean_nat_add(x_142, x_143); lean_dec(x_143); -lean_dec(x_141); +lean_dec(x_142); if (lean_is_scalar(x_138)) { x_145 = lean_alloc_ctor(0, 5, 0); } else { @@ -35861,7 +35348,7 @@ if (lean_is_scalar(x_128)) { lean_ctor_set(x_146, 0, x_140); lean_ctor_set(x_146, 1, x_130); lean_ctor_set(x_146, 2, x_131); -lean_ctor_set(x_146, 3, x_142); +lean_ctor_set(x_146, 3, x_141); lean_ctor_set(x_146, 4, x_145); return x_146; } @@ -35887,8 +35374,8 @@ if (lean_obj_tag(x_133) == 0) lean_object* x_152; x_152 = lean_ctor_get(x_133, 0); lean_inc(x_152); -x_141 = x_151; -x_142 = x_150; +x_141 = x_150; +x_142 = x_151; x_143 = x_152; goto block_147; } @@ -35896,8 +35383,8 @@ else { lean_object* x_153; x_153 = lean_unsigned_to_nat(0u); -x_141 = x_151; -x_142 = x_150; +x_141 = x_150; +x_142 = x_151; x_143 = x_153; goto block_147; } @@ -36613,25 +36100,25 @@ x_60 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__priv x_61 = l_Lake_instOrdBuildType_ord(x_12, x_13); if (x_61 == 2) { -x_23 = x_56; -x_24 = lean_box(0); -x_25 = x_60; -x_26 = x_54; -x_27 = x_58; -x_28 = x_52; -x_29 = x_55; +x_23 = x_54; +x_24 = x_60; +x_25 = x_55; +x_26 = x_58; +x_27 = lean_box(0); +x_28 = x_56; +x_29 = x_52; x_30 = x_13; goto block_37; } else { -x_23 = x_56; -x_24 = lean_box(0); -x_25 = x_60; -x_26 = x_54; -x_27 = x_58; -x_28 = x_52; -x_29 = x_55; +x_23 = x_54; +x_24 = x_60; +x_25 = x_55; +x_26 = x_58; +x_27 = lean_box(0); +x_28 = x_56; +x_29 = x_52; x_30 = x_12; goto block_37; } @@ -36749,16 +36236,16 @@ x_33 = l_Lean_LeanOptions_append(x_31, x_32); x_34 = l_Lean_LeanOptions_appendArray(x_33, x_6); x_35 = lean_alloc_ctor(0, 7, 1); lean_ctor_set(x_35, 0, x_7); -lean_ctor_set(x_35, 1, x_29); -lean_ctor_set(x_35, 2, x_23); -lean_ctor_set(x_35, 3, x_28); -lean_ctor_set(x_35, 4, x_27); -lean_ctor_set(x_35, 5, x_25); +lean_ctor_set(x_35, 1, x_25); +lean_ctor_set(x_35, 2, x_28); +lean_ctor_set(x_35, 3, x_29); +lean_ctor_set(x_35, 4, x_26); +lean_ctor_set(x_35, 5, x_24); lean_ctor_set(x_35, 6, x_34); lean_ctor_set_uint8(x_35, sizeof(void*)*7, x_8); x_36 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_26); +lean_ctor_set(x_36, 1, x_23); return x_36; } } @@ -37353,11 +36840,11 @@ lean_inc(x_4); lean_inc_ref(x_3); lean_inc(x_12); lean_inc_ref(x_45); -x_46 = l___private_Lake_Build_Module_0__Lake_fetchImportInfo(x_45, x_15, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_32); +x_46 = l___private_Lake_Build_Module_0__Lake_fetchImportInfo___redArg(x_45, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_32); lean_dec_ref(x_2); if (lean_obj_tag(x_46) == 0) { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t 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_117; uint8_t x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_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; uint8_t x_141; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t 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; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_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; uint8_t x_141; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_181; lean_object* x_182; lean_object* x_183; x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); x_48 = lean_ctor_get(x_46, 1); @@ -37504,13 +36991,13 @@ lean_inc_ref(x_63); x_69 = l_Array_append___redArg(x_63, x_67); lean_dec_ref(x_67); x_70 = l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__7___closed__0; -lean_inc_ref(x_53); +lean_inc_ref(x_55); +lean_inc(x_52); lean_inc(x_56); lean_inc(x_57); -lean_inc(x_52); -lean_inc_ref(x_54); +lean_inc_ref(x_53); lean_inc_ref(x_11); -x_71 = l_Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0(x_11, x_69, x_70, x_54, x_52, x_57, x_56, x_53, x_59); +x_71 = l_Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0(x_11, x_69, x_70, x_53, x_57, x_56, x_52, x_55, x_59); if (lean_obj_tag(x_71) == 0) { lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; @@ -37523,13 +37010,13 @@ lean_inc_ref(x_64); x_74 = l_Array_append___redArg(x_64, x_68); lean_dec_ref(x_68); x_75 = l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__7___closed__1; -lean_inc_ref(x_53); +lean_inc_ref(x_55); +lean_inc(x_52); lean_inc(x_56); lean_inc(x_57); -lean_inc(x_52); -lean_inc_ref(x_54); +lean_inc_ref(x_53); lean_inc_ref(x_11); -x_76 = l_Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0(x_11, x_74, x_75, x_54, x_52, x_57, x_56, x_53, x_73); +x_76 = l_Lake_TargetArray_fetchIn___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__0(x_11, x_74, x_75, x_53, x_57, x_56, x_52, x_55, x_73); if (lean_obj_tag(x_76) == 0) { uint8_t x_77; @@ -37570,7 +37057,7 @@ lean_closure_set(x_88, 2, x_86); lean_closure_set(x_88, 3, x_87); x_89 = lean_unsigned_to_nat(0u); x_90 = l___private_Lake_Build_Module_0__Lake_Module_recParseImports___closed__2; -x_91 = l_Lake_Job_bindM___redArg(x_49, x_24, x_88, x_89, x_55, x_54, x_52, x_57, x_56, x_53, x_90); +x_91 = l_Lake_Job_bindM___redArg(x_49, x_24, x_88, x_89, x_54, x_53, x_57, x_56, x_52, x_55, x_90); lean_ctor_set(x_76, 0, x_91); return x_76; } @@ -37614,7 +37101,7 @@ lean_closure_set(x_103, 2, x_101); lean_closure_set(x_103, 3, x_102); x_104 = lean_unsigned_to_nat(0u); x_105 = l___private_Lake_Build_Module_0__Lake_Module_recParseImports___closed__2; -x_106 = l_Lake_Job_bindM___redArg(x_49, x_24, x_103, x_104, x_55, x_54, x_52, x_57, x_56, x_53, x_105); +x_106 = l_Lake_Job_bindM___redArg(x_49, x_24, x_103, x_104, x_54, x_53, x_57, x_56, x_52, x_55, x_105); x_107 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_107, 0, x_106); lean_ctor_set(x_107, 1, x_93); @@ -37630,7 +37117,7 @@ lean_dec_ref(x_62); lean_dec_ref(x_58); lean_dec(x_57); lean_dec(x_56); -lean_dec_ref(x_54); +lean_dec_ref(x_55); lean_dec_ref(x_53); lean_dec(x_52); lean_dec_ref(x_50); @@ -37668,7 +37155,7 @@ lean_dec_ref(x_62); lean_dec_ref(x_58); lean_dec(x_57); lean_dec(x_56); -lean_dec_ref(x_54); +lean_dec_ref(x_55); lean_dec_ref(x_53); lean_dec(x_52); lean_dec_ref(x_50); @@ -37707,13 +37194,13 @@ lean_inc(x_126); x_127 = lean_ctor_get(x_125, 1); lean_inc(x_127); lean_dec_ref(x_125); -x_50 = x_117; -x_51 = x_118; +x_50 = x_118; +x_51 = x_117; x_52 = x_119; x_53 = x_120; x_54 = x_121; -x_55 = x_122; -x_56 = x_123; +x_55 = x_123; +x_56 = x_122; x_57 = x_124; x_58 = x_126; x_59 = x_127; @@ -37724,11 +37211,11 @@ else { uint8_t x_128; lean_dec(x_124); -lean_dec(x_123); -lean_dec_ref(x_121); +lean_dec_ref(x_123); +lean_dec(x_122); lean_dec_ref(x_120); lean_dec(x_119); -lean_dec_ref(x_117); +lean_dec_ref(x_118); lean_dec(x_47); lean_dec_ref(x_36); lean_dec(x_31); @@ -37758,13 +37245,13 @@ return x_131; block_171: { lean_object* x_142; -lean_inc_ref(x_137); +lean_inc_ref(x_138); +lean_inc(x_134); lean_inc(x_139); lean_inc(x_140); -lean_inc(x_135); -lean_inc_ref(x_138); -x_142 = l___private_Lake_Build_Module_0__Lake_Module_fetchImportLibs(x_1, x_136, x_141, x_138, x_135, x_140, x_139, x_137, x_133); -lean_dec_ref(x_136); +lean_inc_ref(x_136); +x_142 = l___private_Lake_Build_Module_0__Lake_Module_fetchImportLibs(x_1, x_137, x_141, x_136, x_140, x_139, x_134, x_138, x_135); +lean_dec_ref(x_137); lean_dec_ref(x_1); if (lean_obj_tag(x_142) == 0) { @@ -37784,10 +37271,10 @@ lean_object* x_148; x_148 = l___private_Lake_Build_Module_0__Lake_Module_fetchImportLibs___closed__0; x_50 = x_146; x_51 = x_147; -x_52 = x_135; -x_53 = x_137; -x_54 = x_138; -x_55 = x_147; +x_52 = x_134; +x_53 = x_136; +x_54 = x_147; +x_55 = x_138; x_56 = x_139; x_57 = x_140; x_58 = x_148; @@ -37806,19 +37293,19 @@ if (x_152 == 0) { size_t x_153; lean_object* x_154; x_153 = l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__7___closed__4; -lean_inc_ref(x_137); +lean_inc_ref(x_138); +lean_inc(x_134); lean_inc(x_139); lean_inc(x_140); -lean_inc(x_135); -lean_inc_ref(x_138); -x_154 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_153, x_29, x_150, x_138, x_135, x_140, x_139, x_137, x_144); -x_117 = x_146; -x_118 = x_147; -x_119 = x_135; -x_120 = x_137; -x_121 = x_138; -x_122 = x_147; -x_123 = x_139; +lean_inc_ref(x_136); +x_154 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_153, x_29, x_150, x_136, x_140, x_139, x_134, x_138, x_144); +x_117 = x_147; +x_118 = x_146; +x_119 = x_134; +x_120 = x_136; +x_121 = x_147; +x_122 = x_139; +x_123 = x_138; x_124 = x_140; x_125 = x_154; goto block_132; @@ -37834,19 +37321,19 @@ if (x_152 == 0) { size_t x_157; lean_object* x_158; x_157 = l___private_Lake_Build_Module_0__Lake_Module_recFetchSetup___lam__7___closed__4; -lean_inc_ref(x_137); +lean_inc_ref(x_138); +lean_inc(x_134); lean_inc(x_139); lean_inc(x_140); -lean_inc(x_135); -lean_inc_ref(x_138); -x_158 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_157, x_29, x_150, x_138, x_135, x_140, x_139, x_137, x_144); -x_117 = x_146; -x_118 = x_147; -x_119 = x_135; -x_120 = x_137; -x_121 = x_138; -x_122 = x_147; -x_123 = x_139; +lean_inc_ref(x_136); +x_158 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_157, x_29, x_150, x_136, x_140, x_139, x_134, x_138, x_144); +x_117 = x_147; +x_118 = x_146; +x_119 = x_134; +x_120 = x_136; +x_121 = x_147; +x_122 = x_139; +x_123 = x_138; x_124 = x_140; x_125 = x_158; goto block_132; @@ -37858,19 +37345,19 @@ x_159 = lean_usize_of_nat(x_151); lean_inc_ref(x_11); x_160 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__3(x_155, x_11, x_18, x_29, x_159, x_150); x_161 = lean_array_size(x_160); -lean_inc_ref(x_137); +lean_inc_ref(x_138); +lean_inc(x_134); lean_inc(x_139); lean_inc(x_140); -lean_inc(x_135); -lean_inc_ref(x_138); -x_162 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_161, x_29, x_160, x_138, x_135, x_140, x_139, x_137, x_144); -x_117 = x_146; -x_118 = x_147; -x_119 = x_135; -x_120 = x_137; -x_121 = x_138; -x_122 = x_147; -x_123 = x_139; +lean_inc_ref(x_136); +x_162 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_161, x_29, x_160, x_136, x_140, x_139, x_134, x_138, x_144); +x_117 = x_147; +x_118 = x_146; +x_119 = x_134; +x_120 = x_136; +x_121 = x_147; +x_122 = x_139; +x_123 = x_138; x_124 = x_140; x_125 = x_162; goto block_132; @@ -37883,19 +37370,19 @@ x_163 = lean_usize_of_nat(x_151); lean_inc_ref(x_11); x_164 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__3(x_155, x_11, x_18, x_29, x_163, x_150); x_165 = lean_array_size(x_164); -lean_inc_ref(x_137); +lean_inc_ref(x_138); +lean_inc(x_134); lean_inc(x_139); lean_inc(x_140); -lean_inc(x_135); -lean_inc_ref(x_138); -x_166 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_165, x_29, x_164, x_138, x_135, x_140, x_139, x_137, x_144); -x_117 = x_146; -x_118 = x_147; -x_119 = x_135; -x_120 = x_137; -x_121 = x_138; -x_122 = x_147; -x_123 = x_139; +lean_inc_ref(x_136); +x_166 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Module_0__Lake_Module_recFetchSetup_spec__2(x_165, x_29, x_164, x_136, x_140, x_139, x_134, x_138, x_144); +x_117 = x_147; +x_118 = x_146; +x_119 = x_134; +x_120 = x_136; +x_121 = x_147; +x_122 = x_139; +x_123 = x_138; x_124 = x_140; x_125 = x_166; goto block_132; @@ -37909,8 +37396,8 @@ uint8_t x_167; lean_dec(x_140); lean_dec(x_139); lean_dec_ref(x_138); -lean_dec_ref(x_137); -lean_dec(x_135); +lean_dec_ref(x_136); +lean_dec(x_134); lean_dec(x_47); lean_dec_ref(x_36); lean_dec(x_31); @@ -37941,27 +37428,27 @@ block_180: { if (x_34 == 0) { -x_133 = x_178; -x_134 = lean_box(0); -x_135 = x_174; -x_136 = x_172; -x_137 = x_177; -x_138 = x_173; -x_139 = x_176; -x_140 = x_175; +x_133 = lean_box(0); +x_134 = x_176; +x_135 = x_178; +x_136 = x_173; +x_137 = x_172; +x_138 = x_177; +x_139 = x_175; +x_140 = x_174; x_141 = x_38; goto block_171; } else { -x_133 = x_178; -x_134 = lean_box(0); -x_135 = x_174; -x_136 = x_172; -x_137 = x_177; -x_138 = x_173; -x_139 = x_176; -x_140 = x_175; +x_133 = lean_box(0); +x_134 = x_176; +x_135 = x_178; +x_136 = x_173; +x_137 = x_172; +x_138 = x_177; +x_139 = x_175; +x_140 = x_174; x_141 = x_34; goto block_171; } @@ -38827,7 +38314,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc_ref(x_4); lean_inc_ref(x_1); -x_31 = l___private_Lake_Build_Module_0__Lake_fetchImportInfo(x_1, x_30, x_30, x_2, x_4, x_5, x_6, x_7, x_8, x_29); +x_31 = l___private_Lake_Build_Module_0__Lake_fetchImportInfo___redArg(x_1, x_30, x_2, x_4, x_5, x_6, x_7, x_8, x_29); lean_dec_ref(x_2); if (lean_obj_tag(x_31) == 0) { @@ -39002,7 +38489,7 @@ if (x_59 == 0) { lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; x_60 = lean_ctor_get(x_58, 0); -x_61 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__2; +x_61 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__2; x_62 = l_Lake_Job_collectArray___redArg(x_49, x_61); lean_dec_ref(x_49); x_63 = l___private_Lake_Build_Module_0__Lake_setupExternalModule___boxed__const__1; @@ -39040,7 +38527,7 @@ x_72 = lean_ctor_get(x_58, 1); lean_inc(x_72); lean_inc(x_71); lean_dec(x_58); -x_73 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__2; +x_73 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__2; x_74 = l_Lake_Job_collectArray___redArg(x_49, x_73); lean_dec_ref(x_49); x_75 = l___private_Lake_Build_Module_0__Lake_setupExternalModule___boxed__const__1; @@ -41104,28 +40591,24 @@ l___private_Lake_Build_Module_0__Lake_Package_discriminant___closed__1 = _init_l lean_mark_persistent(l___private_Lake_Build_Module_0__Lake_Package_discriminant___closed__1); l___private_Lake_Build_Module_0__Lake_Package_discriminant___closed__2 = _init_l___private_Lake_Build_Module_0__Lake_Package_discriminant___closed__2(); lean_mark_persistent(l___private_Lake_Build_Module_0__Lake_Package_discriminant___closed__2); -l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__4_spec__5___closed__0); l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__0 = _init_l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__0(); lean_mark_persistent(l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__0); l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__1 = _init_l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__1(); lean_mark_persistent(l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__1); -l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__0); -l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___lam__1___closed__1); -l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__0); -l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__1); -l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__2(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__2); -l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__3(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__3); -l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__4(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__4); -l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__5(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__5___closed__5); +l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__2 = _init_l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__2(); +lean_mark_persistent(l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__2___redArg___closed__2); +l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__0); +l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___lam__1___closed__1); +l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__0); +l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__1); +l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__2(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__2); +l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__3(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Module_0__Lake_fetchImportInfo_spec__3___closed__3); l_Lake_Module_importInfoFacetConfig___closed__0 = _init_l_Lake_Module_importInfoFacetConfig___closed__0(); lean_mark_persistent(l_Lake_Module_importInfoFacetConfig___closed__0); l_Lake_Module_importInfoFacetConfig___closed__1 = _init_l_Lake_Module_importInfoFacetConfig___closed__1(); diff --git a/stage0/stdlib/Lake/Build/Package.c b/stage0/stdlib/Lake/Build/Package.c index cff16b0ed0..14d815a484 100644 --- a/stage0/stdlib/Lake/Build/Package.c +++ b/stage0/stdlib/Lake/Build/Package.c @@ -17,13 +17,13 @@ static lean_object* l___private_Lake_Build_Package_0__Lake_Package_maybeFetchBui LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_mkOptBuildArchiveFacetConfig___redArg___lam__0(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_Lake_Build_Package_0__Lake_Package_maybeFetchBuildCache___closed__1; lean_object* l_Lake_GitRepo_getFilteredRemoteUrl_x3f(lean_object*, lean_object*); +lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); lean_object* l_Lake_Package_fetchTargetJob(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Package_0__Lake_Package_recBuildExtraDepTargets___closed__0; static lean_object* l_Lake_Package_barrelFacetConfig___closed__0; lean_object* l_Lake_ensureJob___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Package_0__Lake_Package_recComputeTransDeps_spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_mkBuildArchiveFacetConfig___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg(uint8_t); LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_maybeFetchBuildCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_Package_initFacetConfigs___closed__3; LEAN_EXPORT lean_object* l_Lake_MTime_checkUpToDate___at___00Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Package_0__Lake_Package_fetchBuildArchive_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -111,6 +111,7 @@ static lean_object* l_Lake_formatQuery___at___00Lake_Package_optBuildCacheFacetC LEAN_EXPORT lean_object* l_Lake_Package_barrelFacetConfig; LEAN_EXPORT lean_object* l_Lake_Package_gitHubReleaseFacetConfig___lam__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_Lake_OrdHashSet_insert___at___00__private_Lake_Build_Package_0__Lake_Package_recComputeTransDeps_spec__0(lean_object*, lean_object*); +static lean_object* l_Lake_formatQuery___at___00Lake_Package_extraDepFacetConfig_spec__0___redArg___closed__0; uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Package_afterBuildCacheSync___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Package_0__Lake_Package_maybeFetchBuildCache___closed__0; @@ -125,6 +126,7 @@ LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Package_extraDepFacetC LEAN_EXPORT lean_object* l_Lake_Package_buildCacheFacetConfig___lam__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_Lake_Package_barrelFacetConfig___lam__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_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0(uint8_t, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0___closed__0; static lean_object* l___private_Lake_Build_Package_0__Lake_Package_getBarrelUrl___redArg___closed__0; static lean_object* l___private_Lake_Build_Package_0__Lake_Package_maybeFetchBuildCacheWithWarning___lam__0___closed__2; extern lean_object* l_Lake_instDataKindBool; @@ -149,7 +151,6 @@ static lean_object* l___private_Lake_Build_Package_0__Lake_Package_optFacetDetai LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_Build_Package_0__Lake_Package_recComputeTransDeps_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_maybeFetchBuildCacheWithWarning___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); -LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg___boxed(lean_object*); lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_Build_Package_0__Lake_Package_recFetchDeps_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_Lake_Package_optGitHubReleaseFacetConfig___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -161,6 +162,7 @@ static lean_object* l___private_Lake_Build_Package_0__Lake_Package_mkOptBuildArc lean_object* l_Lake_readTraceFile(lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Package_0__Lake_Package_getBarrelUrl___redArg___closed__3; static lean_object* l___private_Lake_Build_Package_0__Lake_Package_recBuildExtraDepTargets___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lake_OrdHashSet_insert___at___00__private_Lake_Build_Package_0__Lake_Package_recComputeTransDeps_spec__0_spec__0(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Package_0__Lake_Package_mkBuildArchiveFacetConfig___redArg___closed__1; static lean_object* l_Lake_OrdHashSet_empty___at___00__private_Lake_Build_Package_0__Lake_Package_recComputeTransDeps_spec__2___closed__0; @@ -174,6 +176,7 @@ LEAN_EXPORT lean_object* l_Lake_Package_afterBuildCacheSync___redArg___lam__0___ lean_object* l_Lake_removeFileIfExists(lean_object*); static lean_object* l_Lake_OrdHashSet_empty___at___00__private_Lake_Build_Package_0__Lake_Package_recComputeTransDeps_spec__2___closed__1; static lean_object* l___private_Lake_Build_Package_0__Lake_Package_getReleaseUrl___redArg___closed__6; +lean_object* l_String_Slice_Pos_prevn(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Package_0__Lake_Package_fetchBuildArchive___closed__0; extern lean_object* l_Lake_Package_transDepsFacet; static lean_object* l_Lake_Package_buildCacheFacetConfig___closed__1; @@ -183,6 +186,7 @@ LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_recBuild LEAN_EXPORT lean_object* l_Lake_Package_afterBuildCacheSync___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_Lake_Build_Package_0__Lake_Package_getBarrelUrl___redArg___closed__7; static lean_object* l___private_Lake_Build_Package_0__Lake_Package_mkBuildArchiveFacetConfig___redArg___lam__0___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_recBuildExtraDepTargets___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Package_0__Lake_Package_getReleaseUrl___redArg___closed__5; LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00Lake_OrdHashSet_insert___at___00__private_Lake_Build_Package_0__Lake_Package_recComputeTransDeps_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*); @@ -194,6 +198,7 @@ static lean_object* l___private_Lake_Build_Package_0__Lake_Package_recFetchDeps_ static lean_object* l_Lake_Package_optBuildCacheFacetConfig___closed__1; lean_object* l_Lake_instQueryJsonUnit___lam__0(lean_object*); LEAN_EXPORT lean_object* l_Lake_Package_afterBuildCacheSync(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lake_Package_initFacetConfigs___closed__1; LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_recFetchDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lake_OrdHashSet_empty___at___00__private_Lake_Build_Package_0__Lake_Package_recComputeTransDeps_spec__2___closed__3; @@ -332,15 +337,14 @@ lean_object* lean_string_append(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lake_Package_extraDepFacetConfig___closed__1; lean_object* l_Lake_BuildMetadata_writeFile(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_Package_depsFacetConfig___lam__0___boxed(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_mkOptBuildArchiveFacetConfig___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lake_joinRelative(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Package_optBuildCacheFacetConfig_spec__0(uint8_t, uint8_t); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_Package_optGitHubReleaseFacetConfig___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lake_Package_depsFacetConfig___lam__0(uint8_t, lean_object*); static lean_object* l_Lake_Package_optBarrelFacetConfig___closed__1; lean_object* l_Lake_formatQuery___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lake_Build_Package_0__Lake_Package_fetchBuildArchive___closed__3; @@ -353,7 +357,6 @@ lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lake_Package_initFacetConfigs___closed__0; LEAN_EXPORT lean_object* l_Lake_Package_gitHubReleaseFacetConfig___lam__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_mkBuildArchiveFacetConfig___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg___closed__0; static lean_object* l_Lake_Package_transDepsFacetConfig___closed__0; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lake_Package_buildCacheFacetConfig___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -763,47 +766,179 @@ lean_dec_ref(x_5); return x_14; } } -static lean_object* _init_l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg___closed__0() { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = l_Lean_Json_compress(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg(uint8_t x_1) { -_start: +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) { -if (x_1 == 0) -{ -lean_object* x_2; -x_2 = l___private_Lake_Build_Package_0__Lake_Package_recFetchDeps___lam__0___closed__1; -return x_2; +return x_3; } else { -lean_object* x_3; -x_3 = l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg___closed__0; -return x_3; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_ctor_get(x_5, 2); +lean_inc(x_6); +lean_dec(x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_6, x_4); +x_10 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_10, 0, x_9); +x_11 = 1; +x_12 = lean_usize_add(x_2, x_11); +x_13 = lean_array_uset(x_8, x_2, x_10); +x_2 = x_12; +x_3 = x_13; +goto _start; } } } -LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); -x_3 = l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg(x_2); -return x_3; +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__1(x_4, x_5, x_3); +return x_6; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\n", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_2, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; +x_6 = lean_array_uget(x_1, x_2); +x_7 = lean_ctor_get(x_6, 1); +lean_inc(x_7); +lean_dec(x_6); +x_8 = l_Lean_Name_toString(x_7, x_5); +x_9 = lean_string_append(x_4, x_8); +lean_dec_ref(x_8); +x_10 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0___closed__0; +x_11 = lean_string_append(x_9, x_10); +x_12 = 1; +x_13 = lean_usize_add(x_2, x_12); +x_2 = x_13; +x_4 = x_11; +goto _start; +} +else +{ +return x_4; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0(x_1, x_5, x_6, x_4); +lean_dec_ref(x_1); +return x_7; } } LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0(uint8_t x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg(x_1); -return x_3; +if (x_1 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = l___private_Lake_Build_Package_0__Lake_Package_recFetchDeps___lam__0___closed__1; +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_get_size(x_2); +x_14 = lean_nat_dec_lt(x_12, x_13); +if (x_14 == 0) +{ +lean_dec_ref(x_2); +x_3 = x_11; +goto block_10; +} +else +{ +uint8_t x_15; +x_15 = lean_nat_dec_le(x_13, x_13); +if (x_15 == 0) +{ +if (x_14 == 0) +{ +lean_dec_ref(x_2); +x_3 = x_11; +goto block_10; +} +else +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = 0; +x_17 = lean_usize_of_nat(x_13); +x_18 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0(x_2, x_16, x_17, x_11); +lean_dec_ref(x_2); +x_3 = x_18; +goto block_10; +} +} +else +{ +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = 0; +x_20 = lean_usize_of_nat(x_13); +x_21 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0(x_2, x_19, x_20, x_11); +lean_dec_ref(x_2); +x_3 = x_21; +goto block_10; +} +} +} +else +{ +size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_22 = lean_array_size(x_2); +x_23 = 0; +x_24 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__1(x_22, x_23, x_2); +x_25 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_Json_compress(x_25); +return x_26; +} +block_10: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_unsigned_to_nat(1u); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_string_utf8_byte_size(x_3); +lean_inc_ref(x_3); +x_7 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_7, 0, x_3); +lean_ctor_set(x_7, 1, x_5); +lean_ctor_set(x_7, 2, x_6); +x_8 = l_String_Slice_Pos_prevn(x_7, x_6, x_4); +lean_dec_ref(x_7); +x_9 = lean_string_utf8_extract(x_3, x_5, x_8); +lean_dec(x_8); +lean_dec_ref(x_3); +return x_9; +} } } LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___boxed(lean_object* x_1, lean_object* x_2) { @@ -812,25 +947,6 @@ _start: uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); x_4 = l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0(x_3, x_2); -lean_dec_ref(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lake_Package_depsFacetConfig___lam__0(uint8_t x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lake_Package_depsFacetConfig___lam__0___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = lean_unbox(x_1); -x_4 = l_Lake_Package_depsFacetConfig___lam__0(x_3, x_2); -lean_dec_ref(x_2); return x_4; } } @@ -838,7 +954,7 @@ static lean_object* _init_l_Lake_Package_depsFacetConfig___closed__0() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lake_Package_depsFacetConfig___lam__0___boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___boxed), 2, 0); return x_1; } } @@ -2225,7 +2341,7 @@ return x_1; LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_maybeFetchBuildCache(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; x_45 = lean_ctor_get(x_6, 1); x_46 = lean_ctor_get(x_45, 1); x_47 = lean_ctor_get_uint8(x_46, sizeof(void*)*17); @@ -2298,15 +2414,15 @@ block_44: { if (x_40 == 0) { -lean_dec(x_39); -lean_dec_ref(x_36); +lean_dec_ref(x_39); +lean_dec(x_38); lean_dec_ref(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_9 = x_37; +x_9 = x_35; x_10 = lean_box(0); x_11 = x_40; goto block_25; @@ -2314,29 +2430,29 @@ goto block_25; else { lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_41 = lean_string_utf8_byte_size(x_36); -lean_dec_ref(x_36); +x_41 = lean_string_utf8_byte_size(x_39); +lean_dec_ref(x_39); x_42 = lean_unsigned_to_nat(0u); x_43 = lean_nat_dec_eq(x_41, x_42); if (x_43 == 0) { -x_26 = x_37; +x_26 = x_35; x_27 = lean_box(0); -x_28 = x_39; +x_28 = x_38; goto block_34; } else { -lean_dec(x_39); +lean_dec(x_38); lean_dec_ref(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_9 = x_37; +x_9 = x_35; x_10 = lean_box(0); -x_11 = x_35; +x_11 = x_37; goto block_25; } } @@ -2383,25 +2499,25 @@ if (x_62 == 0) lean_object* x_63; uint8_t x_64; x_63 = l___private_Lake_Build_Package_0__Lake_Package_maybeFetchBuildCache___closed__1; x_64 = lean_string_dec_eq(x_55, x_63); -lean_inc(x_53); lean_inc_ref(x_48); -x_35 = x_57; -x_36 = x_48; -x_37 = x_50; -x_38 = lean_box(0); -x_39 = x_53; +lean_inc(x_53); +x_35 = x_50; +x_36 = lean_box(0); +x_37 = x_57; +x_38 = x_53; +x_39 = x_48; x_40 = x_64; goto block_44; } else { -lean_inc(x_53); lean_inc_ref(x_48); -x_35 = x_57; -x_36 = x_48; -x_37 = x_50; -x_38 = lean_box(0); -x_39 = x_53; +lean_inc(x_53); +x_35 = x_50; +x_36 = lean_box(0); +x_37 = x_57; +x_38 = x_53; +x_39 = x_48; x_40 = x_62; goto block_44; } @@ -3291,6 +3407,15 @@ x_9 = l___private_Lake_Build_Package_0__Lake_Package_recBuildExtraDepTargets(x_1 return x_9; } } +static lean_object* _init_l_Lake_formatQuery___at___00Lake_Package_extraDepFacetConfig_spec__0___redArg___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = l_Lean_Json_compress(x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lake_formatQuery___at___00Lake_Package_extraDepFacetConfig_spec__0___redArg(uint8_t x_1) { _start: { @@ -3303,7 +3428,7 @@ return x_2; else { lean_object* x_3; -x_3 = l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg___closed__0; +x_3 = l_Lake_formatQuery___at___00Lake_Package_extraDepFacetConfig_spec__0___redArg___closed__0; return x_3; } } @@ -3778,7 +3903,7 @@ return x_3; LEAN_EXPORT lean_object* l___private_Lake_Build_Package_0__Lake_Package_getReleaseUrl___redArg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_50; lean_object* x_82; +lean_object* x_4; lean_object* x_5; uint8_t x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_50; lean_object* x_82; x_20 = lean_ctor_get(x_1, 4); lean_inc_ref(x_20); x_21 = lean_ctor_get(x_1, 6); @@ -3855,11 +3980,11 @@ x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); lean_dec_ref(x_32); x_34 = lean_alloc_ctor(0, 3, 2); -lean_ctor_set(x_34, 0, x_27); -lean_ctor_set(x_34, 1, x_29); -lean_ctor_set(x_34, 2, x_26); +lean_ctor_set(x_34, 0, x_24); +lean_ctor_set(x_34, 1, x_28); +lean_ctor_set(x_34, 2, x_27); lean_ctor_set_uint8(x_34, sizeof(void*)*3, x_25); -lean_ctor_set_uint8(x_34, sizeof(void*)*3 + 1, x_28); +lean_ctor_set_uint8(x_34, sizeof(void*)*3 + 1, x_29); x_35 = l___private_Lake_Build_Package_0__Lake_Package_getReleaseUrl___redArg___closed__1; x_36 = lean_string_append(x_30, x_35); x_37 = lean_string_append(x_36, x_33); @@ -3892,11 +4017,11 @@ lean_dec(x_43); x_46 = l___private_Lake_Build_Package_0__Lake_Package_getReleaseUrl___redArg___closed__4; x_47 = lean_string_append(x_45, x_46); x_4 = x_47; -x_5 = x_27; +x_5 = x_24; x_6 = x_25; -x_7 = x_28; -x_8 = x_29; -x_9 = x_26; +x_7 = x_29; +x_8 = x_28; +x_9 = x_27; x_10 = lean_box(0); goto block_19; } @@ -3906,11 +4031,11 @@ lean_object* x_48; lean_dec(x_42); x_48 = l___private_Lake_Build_Package_0__Lake_Package_recFetchDeps___lam__0___closed__1; x_4 = x_48; -x_5 = x_27; +x_5 = x_24; x_6 = x_25; -x_7 = x_28; -x_8 = x_29; -x_9 = x_26; +x_7 = x_29; +x_8 = x_28; +x_9 = x_27; x_10 = lean_box(0); goto block_19; } @@ -3939,12 +4064,12 @@ lean_dec_ref(x_2); x_58 = lean_ctor_get(x_52, 0); lean_inc(x_58); lean_dec_ref(x_52); -x_24 = lean_box(0); +x_24 = x_53; x_25 = x_54; -x_26 = x_57; -x_27 = x_53; -x_28 = x_55; -x_29 = x_56; +x_26 = lean_box(0); +x_27 = x_57; +x_28 = x_56; +x_29 = x_55; x_30 = x_58; goto block_49; } @@ -4012,12 +4137,12 @@ lean_dec_ref(x_2); x_80 = lean_ctor_get(x_50, 0); lean_inc(x_80); lean_dec_ref(x_50); -x_24 = lean_box(0); +x_24 = x_75; x_25 = x_76; -x_26 = x_79; -x_27 = x_75; -x_28 = x_77; -x_29 = x_78; +x_26 = lean_box(0); +x_27 = x_79; +x_28 = x_78; +x_29 = x_77; x_30 = x_80; goto block_49; } @@ -5416,7 +5541,7 @@ lean_ctor_set(x_10, 0, x_23); x_31 = l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Package_0__Lake_Package_fetchBuildArchive_spec__0(x_5, x_3, x_30, x_22, x_29, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_31) == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t 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_61; lean_object* x_62; lean_object* x_63; uint8_t x_83; uint8_t x_84; uint8_t x_85; +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; uint8_t x_61; lean_object* x_62; lean_object* x_63; uint8_t x_83; uint8_t x_84; uint8_t x_85; x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); x_33 = lean_ctor_get(x_31, 1); @@ -5485,8 +5610,8 @@ block_60: { uint8_t x_43; lean_object* x_44; uint8_t x_45; x_43 = 1; -x_44 = l_Lake_untar(x_3, x_39, x_43, x_37); -x_45 = l_Lake_JobAction_merge(x_36, x_35); +x_44 = l_Lake_untar(x_3, x_38, x_43, x_40); +x_45 = l_Lake_JobAction_merge(x_37, x_35); if (lean_obj_tag(x_44) == 0) { uint8_t x_46; @@ -5497,10 +5622,10 @@ lean_object* x_47; lean_object* x_48; x_47 = lean_ctor_get(x_44, 1); x_48 = lean_alloc_ctor(0, 3, 2); lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_41); -lean_ctor_set(x_48, 2, x_42); +lean_ctor_set(x_48, 1, x_36); +lean_ctor_set(x_48, 2, x_39); lean_ctor_set_uint8(x_48, sizeof(void*)*3, x_45); -lean_ctor_set_uint8(x_48, sizeof(void*)*3 + 1, x_38); +lean_ctor_set_uint8(x_48, sizeof(void*)*3 + 1, x_41); lean_ctor_set(x_44, 1, x_48); return x_44; } @@ -5514,10 +5639,10 @@ lean_inc(x_49); lean_dec(x_44); x_51 = lean_alloc_ctor(0, 3, 2); lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_41); -lean_ctor_set(x_51, 2, x_42); +lean_ctor_set(x_51, 1, x_36); +lean_ctor_set(x_51, 2, x_39); lean_ctor_set_uint8(x_51, sizeof(void*)*3, x_45); -lean_ctor_set_uint8(x_51, sizeof(void*)*3 + 1, x_38); +lean_ctor_set_uint8(x_51, sizeof(void*)*3 + 1, x_41); x_52 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_52, 0, x_49); lean_ctor_set(x_52, 1, x_51); @@ -5534,10 +5659,10 @@ lean_object* x_54; lean_object* x_55; x_54 = lean_ctor_get(x_44, 1); x_55 = lean_alloc_ctor(0, 3, 2); lean_ctor_set(x_55, 0, x_54); -lean_ctor_set(x_55, 1, x_41); -lean_ctor_set(x_55, 2, x_42); +lean_ctor_set(x_55, 1, x_36); +lean_ctor_set(x_55, 2, x_39); lean_ctor_set_uint8(x_55, sizeof(void*)*3, x_45); -lean_ctor_set_uint8(x_55, sizeof(void*)*3 + 1, x_38); +lean_ctor_set_uint8(x_55, sizeof(void*)*3 + 1, x_41); lean_ctor_set(x_44, 1, x_55); return x_44; } @@ -5551,10 +5676,10 @@ lean_inc(x_56); lean_dec(x_44); x_58 = lean_alloc_ctor(0, 3, 2); lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_41); -lean_ctor_set(x_58, 2, x_42); +lean_ctor_set(x_58, 1, x_36); +lean_ctor_set(x_58, 2, x_39); lean_ctor_set_uint8(x_58, sizeof(void*)*3, x_45); -lean_ctor_set_uint8(x_58, sizeof(void*)*3 + 1, x_38); +lean_ctor_set_uint8(x_58, sizeof(void*)*3 + 1, x_41); x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_56); lean_ctor_set(x_59, 1, x_58); @@ -5589,13 +5714,13 @@ lean_inc_ref(x_73); x_74 = lean_ctor_get(x_62, 2); lean_inc(x_74); lean_dec_ref(x_62); -x_36 = x_71; -x_37 = x_70; -x_38 = x_72; -x_39 = x_68; -x_40 = lean_box(0); -x_41 = x_73; -x_42 = x_74; +x_36 = x_73; +x_37 = x_71; +x_38 = x_68; +x_39 = x_74; +x_40 = x_70; +x_41 = x_72; +x_42 = lean_box(0); goto block_60; } else @@ -5613,13 +5738,13 @@ lean_inc_ref(x_78); x_79 = lean_ctor_get(x_62, 2); lean_inc(x_79); lean_dec_ref(x_62); -x_36 = x_76; -x_37 = x_75; -x_38 = x_77; -x_39 = x_68; -x_40 = lean_box(0); -x_41 = x_78; -x_42 = x_79; +x_36 = x_78; +x_37 = x_76; +x_38 = x_68; +x_39 = x_79; +x_40 = x_75; +x_41 = x_77; +x_42 = lean_box(0); goto block_60; } else @@ -5723,7 +5848,7 @@ lean_ctor_set_uint8(x_113, sizeof(void*)*3 + 1, x_98); x_114 = l_Lake_SavedTrace_replayIfUpToDate_x27___at___00__private_Lake_Build_Package_0__Lake_Package_fetchBuildArchive_spec__0(x_5, x_3, x_112, x_104, x_111, x_6, x_7, x_8, x_9, x_113); if (lean_obj_tag(x_114) == 0) { -lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; uint8_t x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_140; lean_object* x_141; lean_object* x_142; uint8_t x_162; uint8_t x_163; uint8_t x_164; +lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; uint8_t x_140; lean_object* x_141; lean_object* x_142; uint8_t x_162; uint8_t x_163; uint8_t x_164; x_115 = lean_ctor_get(x_114, 0); lean_inc(x_115); x_116 = lean_ctor_get(x_114, 1); @@ -5792,8 +5917,8 @@ block_139: { uint8_t x_126; lean_object* x_127; uint8_t x_128; x_126 = 1; -x_127 = l_Lake_untar(x_3, x_122, x_126, x_120); -x_128 = l_Lake_JobAction_merge(x_119, x_118); +x_127 = l_Lake_untar(x_3, x_121, x_126, x_123); +x_128 = l_Lake_JobAction_merge(x_120, x_118); if (lean_obj_tag(x_127) == 0) { lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; @@ -5811,10 +5936,10 @@ if (lean_is_exclusive(x_127)) { } x_132 = lean_alloc_ctor(0, 3, 2); lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_124); -lean_ctor_set(x_132, 2, x_125); +lean_ctor_set(x_132, 1, x_119); +lean_ctor_set(x_132, 2, x_122); lean_ctor_set_uint8(x_132, sizeof(void*)*3, x_128); -lean_ctor_set_uint8(x_132, sizeof(void*)*3 + 1, x_121); +lean_ctor_set_uint8(x_132, sizeof(void*)*3 + 1, x_124); if (lean_is_scalar(x_131)) { x_133 = lean_alloc_ctor(0, 2, 0); } else { @@ -5841,10 +5966,10 @@ if (lean_is_exclusive(x_127)) { } x_137 = lean_alloc_ctor(0, 3, 2); lean_ctor_set(x_137, 0, x_135); -lean_ctor_set(x_137, 1, x_124); -lean_ctor_set(x_137, 2, x_125); +lean_ctor_set(x_137, 1, x_119); +lean_ctor_set(x_137, 2, x_122); lean_ctor_set_uint8(x_137, sizeof(void*)*3, x_128); -lean_ctor_set_uint8(x_137, sizeof(void*)*3 + 1, x_121); +lean_ctor_set_uint8(x_137, sizeof(void*)*3 + 1, x_124); if (lean_is_scalar(x_136)) { x_138 = lean_alloc_ctor(1, 2, 0); } else { @@ -5882,13 +6007,13 @@ lean_inc_ref(x_152); x_153 = lean_ctor_get(x_141, 2); lean_inc(x_153); lean_dec_ref(x_141); -x_119 = x_150; -x_120 = x_149; -x_121 = x_151; -x_122 = x_147; -x_123 = lean_box(0); -x_124 = x_152; -x_125 = x_153; +x_119 = x_152; +x_120 = x_150; +x_121 = x_147; +x_122 = x_153; +x_123 = x_149; +x_124 = x_151; +x_125 = lean_box(0); goto block_139; } else @@ -5906,13 +6031,13 @@ lean_inc_ref(x_157); x_158 = lean_ctor_get(x_141, 2); lean_inc(x_158); lean_dec_ref(x_141); -x_119 = x_155; -x_120 = x_154; -x_121 = x_156; -x_122 = x_147; -x_123 = lean_box(0); -x_124 = x_157; -x_125 = x_158; +x_119 = x_157; +x_120 = x_155; +x_121 = x_147; +x_122 = x_158; +x_123 = x_154; +x_124 = x_156; +x_125 = lean_box(0); goto block_139; } else @@ -9219,9 +9344,9 @@ goto block_52; block_44: { lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_nat_add(x_38, x_40); +x_41 = lean_nat_add(x_39, x_40); lean_dec(x_40); -lean_dec(x_38); +lean_dec(x_39); if (lean_is_scalar(x_35)) { x_42 = lean_alloc_ctor(0, 5, 0); } else { @@ -9240,7 +9365,7 @@ if (lean_is_scalar(x_25)) { lean_ctor_set(x_43, 0, x_37); lean_ctor_set(x_43, 1, x_28); lean_ctor_set(x_43, 2, x_29); -lean_ctor_set(x_43, 3, x_39); +lean_ctor_set(x_43, 3, x_38); lean_ctor_set(x_43, 4, x_42); return x_43; } @@ -9266,8 +9391,8 @@ if (lean_obj_tag(x_31) == 0) lean_object* x_50; x_50 = lean_ctor_get(x_31, 0); lean_inc(x_50); -x_38 = x_49; -x_39 = x_48; +x_38 = x_48; +x_39 = x_49; x_40 = x_50; goto block_44; } @@ -9275,8 +9400,8 @@ else { lean_object* x_51; x_51 = lean_unsigned_to_nat(0u); -x_38 = x_49; -x_39 = x_48; +x_38 = x_48; +x_39 = x_49; x_40 = x_51; goto block_44; } @@ -10236,8 +10361,8 @@ l___private_Lake_Build_Package_0__Lake_Package_recFetchDeps___lam__0___closed__3 lean_mark_persistent(l___private_Lake_Build_Package_0__Lake_Package_recFetchDeps___lam__0___closed__3); l___private_Lake_Build_Package_0__Lake_Package_recFetchDeps___lam__0___closed__4 = _init_l___private_Lake_Build_Package_0__Lake_Package_recFetchDeps___lam__0___closed__4(); lean_mark_persistent(l___private_Lake_Build_Package_0__Lake_Package_recFetchDeps___lam__0___closed__4); -l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg___closed__0 = _init_l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg___closed__0(); -lean_mark_persistent(l_Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0___redArg___closed__0); +l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_formatQuery___at___00Lake_Package_depsFacetConfig_spec__0_spec__0___closed__0); l_Lake_Package_depsFacetConfig___closed__0 = _init_l_Lake_Package_depsFacetConfig___closed__0(); lean_mark_persistent(l_Lake_Package_depsFacetConfig___closed__0); l_Lake_Package_depsFacetConfig___closed__1 = _init_l_Lake_Package_depsFacetConfig___closed__1(); @@ -10298,6 +10423,8 @@ l___private_Lake_Build_Package_0__Lake_Package_recBuildExtraDepTargets___closed_ lean_mark_persistent(l___private_Lake_Build_Package_0__Lake_Package_recBuildExtraDepTargets___closed__0); l___private_Lake_Build_Package_0__Lake_Package_recBuildExtraDepTargets___closed__1 = _init_l___private_Lake_Build_Package_0__Lake_Package_recBuildExtraDepTargets___closed__1(); lean_mark_persistent(l___private_Lake_Build_Package_0__Lake_Package_recBuildExtraDepTargets___closed__1); +l_Lake_formatQuery___at___00Lake_Package_extraDepFacetConfig_spec__0___redArg___closed__0 = _init_l_Lake_formatQuery___at___00Lake_Package_extraDepFacetConfig_spec__0___redArg___closed__0(); +lean_mark_persistent(l_Lake_formatQuery___at___00Lake_Package_extraDepFacetConfig_spec__0___redArg___closed__0); l_Lake_Package_extraDepFacetConfig___closed__0 = _init_l_Lake_Package_extraDepFacetConfig___closed__0(); lean_mark_persistent(l_Lake_Package_extraDepFacetConfig___closed__0); l_Lake_Package_extraDepFacetConfig___closed__1 = _init_l_Lake_Package_extraDepFacetConfig___closed__1(); diff --git a/stage0/stdlib/Lake/Build/Target/Fetch.c b/stage0/stdlib/Lake/Build/Target/Fetch.c index 7ee2a5a118..153e78c648 100644 --- a/stage0/stdlib/Lake/Build/Target/Fetch.c +++ b/stage0/stdlib/Lake/Build/Target/Fetch.c @@ -363,7 +363,7 @@ else lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_dec(x_29); x_32 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_33 = l_Lake_BuildKey_toString(x_2); +x_33 = l_Lake_PartialBuildKey_toString(x_2); x_34 = lean_string_append(x_32, x_33); lean_dec_ref(x_33); x_35 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; @@ -495,7 +495,7 @@ block_24: { 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; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_9 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_10 = l_Lake_BuildKey_toString(x_2); +x_10 = l_Lake_PartialBuildKey_toString(x_2); x_11 = lean_string_append(x_9, x_10); lean_dec_ref(x_10); x_12 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; @@ -573,7 +573,7 @@ else 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; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_dec(x_33); x_36 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_37 = l_Lake_BuildKey_toString(x_2); +x_37 = l_Lake_PartialBuildKey_toString(x_2); x_38 = lean_string_append(x_36, x_37); lean_dec_ref(x_37); x_39 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; @@ -705,7 +705,7 @@ block_28: { 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; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_13 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_14 = l_Lake_BuildKey_toString(x_2); +x_14 = l_Lake_PartialBuildKey_toString(x_2); x_15 = lean_string_append(x_13, x_14); lean_dec_ref(x_14); x_16 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; @@ -1153,6 +1153,8 @@ lean_dec(x_6); lean_dec_ref(x_5); lean_dec_ref(x_1); x_28 = lean_ctor_get(x_3, 0); +lean_inc(x_28); +lean_dec_ref(x_3); x_29 = lean_ctor_get(x_9, 1); lean_inc(x_29); lean_dec_ref(x_9); @@ -1161,1310 +1163,1315 @@ x_30 = l_Lake_Workspace_findModule_x3f(x_28, x_29); lean_dec(x_29); if (lean_obj_tag(x_30) == 1) { -lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_dec_ref(x_2); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); lean_dec_ref(x_30); -x_32 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__1; -x_33 = 0; -x_34 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__4; -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_31); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_task_pure(x_35); -x_37 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_27); -lean_ctor_set(x_37, 2, x_32); -lean_ctor_set_uint8(x_37, sizeof(void*)*3, x_33); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_3); -lean_ctor_set(x_38, 1, x_37); +x_32 = lean_ctor_get(x_31, 0); +x_33 = lean_ctor_get(x_32, 0); +x_34 = lean_ctor_get(x_33, 2); +lean_inc(x_34); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_28); +x_36 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__1; +x_37 = 0; +x_38 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__4; x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_10); -return x_39; +lean_ctor_set(x_39, 0, x_31); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_task_pure(x_39); +x_41 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_27); +lean_ctor_set(x_41, 2, x_36); +lean_ctor_set_uint8(x_41, sizeof(void*)*3, x_37); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_35); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_10); +return x_43; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_dec(x_30); -lean_inc(x_28); -lean_dec_ref(x_3); -x_40 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_41 = l_Lake_BuildKey_toString(x_2); -x_42 = lean_string_append(x_40, x_41); -lean_dec_ref(x_41); -x_43 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__5; -x_44 = lean_string_append(x_42, x_43); -x_45 = 1; -x_46 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_28, x_45); -x_47 = lean_string_append(x_44, x_46); -lean_dec_ref(x_46); -x_48 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_49 = lean_string_append(x_47, x_48); -x_50 = 3; -x_51 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set_uint8(x_51, sizeof(void*)*1, x_50); -x_52 = lean_array_get_size(x_10); -x_53 = lean_array_push(x_10, x_51); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +x_44 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_45 = l_Lake_PartialBuildKey_toString(x_2); +x_46 = lean_string_append(x_44, x_45); +lean_dec_ref(x_45); +x_47 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__5; +x_48 = lean_string_append(x_46, x_47); +x_49 = 1; +x_50 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_28, x_49); +x_51 = lean_string_append(x_48, x_50); +lean_dec_ref(x_50); +x_52 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_53 = lean_string_append(x_51, x_52); +x_54 = 3; +x_55 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set_uint8(x_55, sizeof(void*)*1, x_54); +x_56 = lean_array_get_size(x_10); +x_57 = lean_array_push(x_10, x_55); +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; } } case 1: { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec_ref(x_5); -x_55 = lean_ctor_get(x_3, 0); -lean_inc(x_55); +x_59 = lean_ctor_get(x_3, 0); +lean_inc(x_59); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); - x_56 = x_3; + x_60 = x_3; } else { lean_dec_ref(x_3); - x_56 = lean_box(0); + x_60 = lean_box(0); } -x_74 = l_Lake_instDataKindPackage; -switch (lean_obj_tag(x_55)) { +x_78 = l_Lake_instDataKindPackage; +switch (lean_obj_tag(x_59)) { case 0: { lean_dec_ref(x_9); lean_dec_ref(x_2); -x_75 = x_1; -x_76 = x_10; -x_77 = lean_box(0); -goto block_88; +x_79 = x_1; +x_80 = x_10; +x_81 = lean_box(0); +goto block_92; } case 2: { -lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_dec_ref(x_1); -x_89 = lean_ctor_get(x_9, 1); -lean_inc(x_89); +x_93 = lean_ctor_get(x_9, 1); +lean_inc(x_93); lean_dec_ref(x_9); -x_90 = lean_ctor_get(x_89, 5); -lean_inc(x_90); -lean_dec(x_89); -x_91 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_90, x_55); -lean_dec(x_90); -if (lean_obj_tag(x_91) == 1) +x_94 = lean_ctor_get(x_93, 5); +lean_inc(x_94); +lean_dec(x_93); +x_95 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_94, x_59); +lean_dec(x_94); +if (lean_obj_tag(x_95) == 1) { -lean_object* x_92; -lean_dec_ref(x_55); +lean_object* x_96; +lean_dec_ref(x_59); lean_dec_ref(x_2); -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -lean_dec_ref(x_91); -x_75 = x_92; -x_76 = x_10; -x_77 = lean_box(0); -goto block_88; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +lean_dec_ref(x_95); +x_79 = x_96; +x_80 = x_10; +x_81 = lean_box(0); +goto block_92; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_91); -lean_dec(x_56); -x_93 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_94 = l_Lake_BuildKey_toString(x_2); -x_95 = lean_string_append(x_93, x_94); -lean_dec_ref(x_94); -x_96 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; -x_97 = lean_string_append(x_95, x_96); -x_98 = 1; -x_99 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_55, x_98); -x_100 = lean_string_append(x_97, x_99); -lean_dec_ref(x_99); -x_101 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_102 = lean_string_append(x_100, x_101); -x_103 = 3; -x_104 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set_uint8(x_104, sizeof(void*)*1, x_103); -x_105 = lean_array_get_size(x_10); -x_106 = lean_array_push(x_10, x_104); -x_22 = x_105; -x_23 = x_106; +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +lean_dec(x_95); +lean_dec(x_60); +x_97 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_98 = l_Lake_PartialBuildKey_toString(x_2); +x_99 = lean_string_append(x_97, x_98); +lean_dec_ref(x_98); +x_100 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_101 = lean_string_append(x_99, x_100); +x_102 = 1; +x_103 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_59, x_102); +x_104 = lean_string_append(x_101, x_103); +lean_dec_ref(x_103); +x_105 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_106 = lean_string_append(x_104, x_105); +x_107 = 3; +x_108 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set_uint8(x_108, sizeof(void*)*1, x_107); +x_109 = lean_array_get_size(x_10); +x_110 = lean_array_push(x_10, x_108); +x_22 = x_109; +x_23 = x_110; x_24 = lean_box(0); goto block_26; } } default: { -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; size_t x_111; size_t x_112; lean_object* x_113; lean_object* x_114; +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; size_t x_115; size_t x_116; lean_object* x_117; lean_object* x_118; lean_dec_ref(x_1); -x_107 = lean_ctor_get(x_9, 1); -lean_inc(x_107); +x_111 = lean_ctor_get(x_9, 1); +lean_inc(x_111); lean_dec_ref(x_9); -x_108 = lean_ctor_get(x_107, 4); -lean_inc_ref(x_108); -lean_dec(x_107); -x_109 = lean_box(0); -x_110 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__14; -x_111 = lean_array_size(x_108); -x_112 = 0; -x_113 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__1(x_55, x_110, x_109, x_108, x_111, x_112, x_110); -lean_dec_ref(x_108); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -lean_dec_ref(x_113); -if (lean_obj_tag(x_114) == 0) +x_112 = lean_ctor_get(x_111, 4); +lean_inc_ref(x_112); +lean_dec(x_111); +x_113 = lean_box(0); +x_114 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__14; +x_115 = lean_array_size(x_112); +x_116 = 0; +x_117 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__1(x_59, x_114, x_113, x_112, x_115, x_116, x_114); +lean_dec_ref(x_112); +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +lean_dec_ref(x_117); +if (lean_obj_tag(x_118) == 0) { -lean_dec(x_56); -x_57 = x_10; -x_58 = lean_box(0); -goto block_73; +lean_dec(x_60); +x_61 = x_10; +x_62 = lean_box(0); +goto block_77; } else { -lean_object* x_115; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -lean_dec_ref(x_114); -if (lean_obj_tag(x_115) == 1) +lean_object* x_119; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +lean_dec_ref(x_118); +if (lean_obj_tag(x_119) == 1) { -lean_object* x_116; -lean_dec(x_55); +lean_object* x_120; +lean_dec(x_59); lean_dec_ref(x_2); -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -lean_dec_ref(x_115); -x_75 = x_116; -x_76 = x_10; -x_77 = lean_box(0); -goto block_88; +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +lean_dec_ref(x_119); +x_79 = x_120; +x_80 = x_10; +x_81 = lean_box(0); +goto block_92; } else { -lean_dec(x_115); -lean_dec(x_56); -x_57 = x_10; -x_58 = lean_box(0); -goto block_73; +lean_dec(x_119); +lean_dec(x_60); +x_61 = x_10; +x_62 = lean_box(0); +goto block_77; } } } } -block_73: +block_77: { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_59 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_60 = l_Lake_BuildKey_toString(x_2); -x_61 = lean_string_append(x_59, x_60); -lean_dec_ref(x_60); -x_62 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; -x_63 = lean_string_append(x_61, x_62); -x_64 = 1; -x_65 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_55, x_64); -x_66 = lean_string_append(x_63, x_65); -lean_dec_ref(x_65); -x_67 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_68 = lean_string_append(x_66, x_67); -x_69 = 3; -x_70 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set_uint8(x_70, sizeof(void*)*1, x_69); -x_71 = lean_array_get_size(x_57); -x_72 = lean_array_push(x_57, x_70); -x_22 = x_71; -x_23 = x_72; +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_63 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_64 = l_Lake_PartialBuildKey_toString(x_2); +x_65 = lean_string_append(x_63, x_64); +lean_dec_ref(x_64); +x_66 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_67 = lean_string_append(x_65, x_66); +x_68 = 1; +x_69 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_59, x_68); +x_70 = lean_string_append(x_67, x_69); +lean_dec_ref(x_69); +x_71 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_72 = lean_string_append(x_70, x_71); +x_73 = 3; +x_74 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set_uint8(x_74, sizeof(void*)*1, x_73); +x_75 = lean_array_get_size(x_61); +x_76 = lean_array_push(x_61, x_74); +x_22 = x_75; +x_23 = x_76; x_24 = lean_box(0); goto block_26; } -block_88: +block_92: { -lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_78 = lean_ctor_get(x_75, 2); -lean_inc(x_78); -if (lean_is_scalar(x_56)) { - x_79 = lean_alloc_ctor(1, 1, 0); +lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_82 = lean_ctor_get(x_79, 2); +lean_inc(x_82); +if (lean_is_scalar(x_60)) { + x_83 = lean_alloc_ctor(1, 1, 0); } else { - x_79 = x_56; + x_83 = x_60; } -lean_ctor_set(x_79, 0, x_78); -x_80 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__1; -x_81 = 0; -x_82 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__4; -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_75); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_task_pure(x_83); -x_85 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_74); -lean_ctor_set(x_85, 2, x_80); -lean_ctor_set_uint8(x_85, sizeof(void*)*3, x_81); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_79); -lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_83, 0, x_82); +x_84 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__1; +x_85 = 0; +x_86 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__4; x_87 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_76); -return x_87; +lean_ctor_set(x_87, 0, x_79); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_task_pure(x_87); +x_89 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_78); +lean_ctor_set(x_89, 2, x_84); +lean_ctor_set_uint8(x_89, sizeof(void*)*3, x_85); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_83); +lean_ctor_set(x_90, 1, x_89); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_80); +return x_91; } } case 2: { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_157; lean_object* x_158; +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_161; lean_object* x_162; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec_ref(x_5); -x_117 = lean_ctor_get(x_3, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_3, 1); -lean_inc(x_118); +x_121 = lean_ctor_get(x_3, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_3, 1); +lean_inc(x_122); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); - x_119 = x_3; + x_123 = x_3; } else { lean_dec_ref(x_3); - x_119 = lean_box(0); + x_123 = lean_box(0); } -switch (lean_obj_tag(x_117)) { +switch (lean_obj_tag(x_121)) { case 0: { lean_dec_ref(x_9); -x_120 = x_1; -x_121 = x_10; -x_122 = lean_box(0); -goto block_156; +x_124 = x_1; +x_125 = x_10; +x_126 = lean_box(0); +goto block_160; } case 2: { -lean_object* x_174; lean_object* x_175; lean_object* x_176; +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_dec_ref(x_1); -x_174 = lean_ctor_get(x_9, 1); -lean_inc(x_174); +x_178 = lean_ctor_get(x_9, 1); +lean_inc(x_178); lean_dec_ref(x_9); -x_175 = lean_ctor_get(x_174, 5); -lean_inc(x_175); -lean_dec(x_174); -x_176 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_175, x_117); -lean_dec(x_175); -if (lean_obj_tag(x_176) == 1) +x_179 = lean_ctor_get(x_178, 5); +lean_inc(x_179); +lean_dec(x_178); +x_180 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_179, x_121); +lean_dec(x_179); +if (lean_obj_tag(x_180) == 1) { -lean_object* x_177; -lean_dec_ref(x_117); -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -lean_dec_ref(x_176); -x_120 = x_177; -x_121 = x_10; -x_122 = lean_box(0); -goto block_156; +lean_object* x_181; +lean_dec_ref(x_121); +x_181 = lean_ctor_get(x_180, 0); +lean_inc(x_181); +lean_dec_ref(x_180); +x_124 = x_181; +x_125 = x_10; +x_126 = lean_box(0); +goto block_160; } else { -lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -lean_dec(x_176); -lean_dec(x_119); -lean_dec(x_118); -x_178 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_179 = l_Lake_BuildKey_toString(x_2); -x_180 = lean_string_append(x_178, x_179); -lean_dec_ref(x_179); -x_181 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; -x_182 = lean_string_append(x_180, x_181); -x_183 = 1; -x_184 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_117, x_183); -x_185 = lean_string_append(x_182, x_184); -lean_dec_ref(x_184); -x_186 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_187 = lean_string_append(x_185, x_186); -x_188 = 3; -x_189 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set_uint8(x_189, sizeof(void*)*1, x_188); -x_190 = lean_array_get_size(x_10); -x_191 = lean_array_push(x_10, x_189); -x_17 = x_190; -x_18 = x_191; +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; +lean_dec(x_180); +lean_dec(x_123); +lean_dec(x_122); +x_182 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_183 = l_Lake_PartialBuildKey_toString(x_2); +x_184 = lean_string_append(x_182, x_183); +lean_dec_ref(x_183); +x_185 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_186 = lean_string_append(x_184, x_185); +x_187 = 1; +x_188 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_121, x_187); +x_189 = lean_string_append(x_186, x_188); +lean_dec_ref(x_188); +x_190 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_191 = lean_string_append(x_189, x_190); +x_192 = 3; +x_193 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set_uint8(x_193, sizeof(void*)*1, x_192); +x_194 = lean_array_get_size(x_10); +x_195 = lean_array_push(x_10, x_193); +x_17 = x_194; +x_18 = x_195; x_19 = lean_box(0); goto block_21; } } default: { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; size_t x_196; size_t x_197; lean_object* x_198; lean_object* x_199; +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; size_t x_200; size_t x_201; lean_object* x_202; lean_object* x_203; lean_dec_ref(x_1); -x_192 = lean_ctor_get(x_9, 1); -lean_inc(x_192); +x_196 = lean_ctor_get(x_9, 1); +lean_inc(x_196); lean_dec_ref(x_9); -x_193 = lean_ctor_get(x_192, 4); -lean_inc_ref(x_193); -lean_dec(x_192); -x_194 = lean_box(0); -x_195 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__14; -x_196 = lean_array_size(x_193); -x_197 = 0; -x_198 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__1(x_117, x_195, x_194, x_193, x_196, x_197, x_195); -lean_dec_ref(x_193); -x_199 = lean_ctor_get(x_198, 0); -lean_inc(x_199); -lean_dec_ref(x_198); -if (lean_obj_tag(x_199) == 0) +x_197 = lean_ctor_get(x_196, 4); +lean_inc_ref(x_197); +lean_dec(x_196); +x_198 = lean_box(0); +x_199 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__14; +x_200 = lean_array_size(x_197); +x_201 = 0; +x_202 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__1(x_121, x_199, x_198, x_197, x_200, x_201, x_199); +lean_dec_ref(x_197); +x_203 = lean_ctor_get(x_202, 0); +lean_inc(x_203); +lean_dec_ref(x_202); +if (lean_obj_tag(x_203) == 0) { -lean_dec(x_119); -lean_dec(x_118); -x_157 = x_10; -x_158 = lean_box(0); -goto block_173; -} -else -{ -lean_object* x_200; -x_200 = lean_ctor_get(x_199, 0); -lean_inc(x_200); -lean_dec_ref(x_199); -if (lean_obj_tag(x_200) == 1) -{ -lean_object* x_201; -lean_dec(x_117); -x_201 = lean_ctor_get(x_200, 0); -lean_inc(x_201); -lean_dec_ref(x_200); -x_120 = x_201; -x_121 = x_10; -x_122 = lean_box(0); -goto block_156; -} -else -{ -lean_dec(x_200); -lean_dec(x_119); -lean_dec(x_118); -x_157 = x_10; -x_158 = lean_box(0); -goto block_173; -} -} -} -} -block_156: -{ -lean_object* x_123; -lean_inc_ref(x_120); -lean_inc(x_118); -x_123 = l_Lake_Package_findTargetModule_x3f(x_118, x_120); -if (lean_obj_tag(x_123) == 1) -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -lean_dec_ref(x_2); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -lean_dec_ref(x_123); -x_125 = lean_ctor_get(x_120, 2); -lean_inc(x_125); -lean_dec_ref(x_120); -if (lean_is_scalar(x_119)) { - x_126 = lean_alloc_ctor(2, 2, 0); -} else { - x_126 = x_119; -} -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_118); -x_127 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__1; -x_128 = 0; -x_129 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__4; -x_130 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_130, 0, x_124); -lean_ctor_set(x_130, 1, x_129); -x_131 = lean_task_pure(x_130); -x_132 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_27); -lean_ctor_set(x_132, 2, x_127); -lean_ctor_set_uint8(x_132, sizeof(void*)*3, x_128); -x_133 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_133, 0, x_126); -lean_ctor_set(x_133, 1, x_132); -x_134 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_121); -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; uint8_t x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_dec(x_123); -lean_dec(x_119); -x_135 = lean_ctor_get(x_120, 1); -lean_inc(x_135); -lean_dec_ref(x_120); -x_136 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_137 = l_Lake_BuildKey_toString(x_2); -x_138 = lean_string_append(x_136, x_137); -lean_dec_ref(x_137); -x_139 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__6; -x_140 = lean_string_append(x_138, x_139); -x_141 = 1; -x_142 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_118, x_141); -x_143 = lean_string_append(x_140, x_142); -lean_dec_ref(x_142); -x_144 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__7; -x_145 = lean_string_append(x_143, x_144); -x_146 = 0; -x_147 = l_Lean_Name_toString(x_135, x_146); -x_148 = lean_string_append(x_145, x_147); -lean_dec_ref(x_147); -x_149 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; -x_150 = lean_string_append(x_148, x_149); -x_151 = 3; -x_152 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set_uint8(x_152, sizeof(void*)*1, x_151); -x_153 = lean_array_get_size(x_121); -x_154 = lean_array_push(x_121, x_152); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -return x_155; +lean_dec(x_122); +x_161 = x_10; +x_162 = lean_box(0); +goto block_177; } -} -block_173: +else { -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -x_159 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_160 = l_Lake_BuildKey_toString(x_2); -x_161 = lean_string_append(x_159, x_160); -lean_dec_ref(x_160); -x_162 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; -x_163 = lean_string_append(x_161, x_162); -x_164 = 1; -x_165 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_117, x_164); -x_166 = lean_string_append(x_163, x_165); -lean_dec_ref(x_165); -x_167 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_168 = lean_string_append(x_166, x_167); -x_169 = 3; -x_170 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_170, 0, x_168); -lean_ctor_set_uint8(x_170, sizeof(void*)*1, x_169); -x_171 = lean_array_get_size(x_157); -x_172 = lean_array_push(x_157, x_170); -x_17 = x_171; -x_18 = x_172; +lean_object* x_204; +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +lean_dec_ref(x_203); +if (lean_obj_tag(x_204) == 1) +{ +lean_object* x_205; +lean_dec(x_121); +x_205 = lean_ctor_get(x_204, 0); +lean_inc(x_205); +lean_dec_ref(x_204); +x_124 = x_205; +x_125 = x_10; +x_126 = lean_box(0); +goto block_160; +} +else +{ +lean_dec(x_204); +lean_dec(x_123); +lean_dec(x_122); +x_161 = x_10; +x_162 = lean_box(0); +goto block_177; +} +} +} +} +block_160: +{ +lean_object* x_127; +lean_inc_ref(x_124); +lean_inc(x_122); +x_127 = l_Lake_Package_findTargetModule_x3f(x_122, x_124); +if (lean_obj_tag(x_127) == 1) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec_ref(x_2); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +lean_dec_ref(x_127); +x_129 = lean_ctor_get(x_124, 2); +lean_inc(x_129); +lean_dec_ref(x_124); +if (lean_is_scalar(x_123)) { + x_130 = lean_alloc_ctor(2, 2, 0); +} else { + x_130 = x_123; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_122); +x_131 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__1; +x_132 = 0; +x_133 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__4; +x_134 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_134, 0, x_128); +lean_ctor_set(x_134, 1, x_133); +x_135 = lean_task_pure(x_134); +x_136 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_27); +lean_ctor_set(x_136, 2, x_131); +lean_ctor_set_uint8(x_136, sizeof(void*)*3, x_132); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_130); +lean_ctor_set(x_137, 1, x_136); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_125); +return x_138; +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +lean_dec(x_127); +lean_dec(x_123); +x_139 = lean_ctor_get(x_124, 1); +lean_inc(x_139); +lean_dec_ref(x_124); +x_140 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_141 = l_Lake_PartialBuildKey_toString(x_2); +x_142 = lean_string_append(x_140, x_141); +lean_dec_ref(x_141); +x_143 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__6; +x_144 = lean_string_append(x_142, x_143); +x_145 = 1; +x_146 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_122, x_145); +x_147 = lean_string_append(x_144, x_146); +lean_dec_ref(x_146); +x_148 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__7; +x_149 = lean_string_append(x_147, x_148); +x_150 = 0; +x_151 = l_Lean_Name_toString(x_139, x_150); +x_152 = lean_string_append(x_149, x_151); +lean_dec_ref(x_151); +x_153 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; +x_154 = lean_string_append(x_152, x_153); +x_155 = 3; +x_156 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set_uint8(x_156, sizeof(void*)*1, x_155); +x_157 = lean_array_get_size(x_125); +x_158 = lean_array_push(x_125, x_156); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +block_177: +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_163 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_164 = l_Lake_PartialBuildKey_toString(x_2); +x_165 = lean_string_append(x_163, x_164); +lean_dec_ref(x_164); +x_166 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_167 = lean_string_append(x_165, x_166); +x_168 = 1; +x_169 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_121, x_168); +x_170 = lean_string_append(x_167, x_169); +lean_dec_ref(x_169); +x_171 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_172 = lean_string_append(x_170, x_171); +x_173 = 3; +x_174 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set_uint8(x_174, sizeof(void*)*1, x_173); +x_175 = lean_array_get_size(x_161); +x_176 = lean_array_push(x_161, x_174); +x_17 = x_175; +x_18 = x_176; x_19 = lean_box(0); goto block_21; } } case 3: { -lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_308; lean_object* x_309; -x_202 = lean_ctor_get(x_3, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_3, 1); -lean_inc(x_203); +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_312; lean_object* x_313; +x_206 = lean_ctor_get(x_3, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_3, 1); +lean_inc(x_207); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); - x_204 = x_3; + x_208 = x_3; } else { lean_dec_ref(x_3); - x_204 = lean_box(0); + x_208 = lean_box(0); } -switch (lean_obj_tag(x_202)) { +switch (lean_obj_tag(x_206)) { case 0: { -x_205 = x_1; -x_206 = x_10; -x_207 = lean_box(0); -goto block_307; +x_209 = x_1; +x_210 = x_10; +x_211 = lean_box(0); +goto block_311; } case 2: { -lean_object* x_325; lean_object* x_326; lean_object* x_327; +lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_dec_ref(x_1); -x_325 = lean_ctor_get(x_9, 1); -x_326 = lean_ctor_get(x_325, 5); -x_327 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_326, x_202); -if (lean_obj_tag(x_327) == 1) +x_329 = lean_ctor_get(x_9, 1); +x_330 = lean_ctor_get(x_329, 5); +x_331 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_330, x_206); +if (lean_obj_tag(x_331) == 1) { -lean_object* x_328; -lean_dec_ref(x_202); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -lean_dec_ref(x_327); -x_205 = x_328; -x_206 = x_10; -x_207 = lean_box(0); -goto block_307; +lean_object* x_332; +lean_dec_ref(x_206); +x_332 = lean_ctor_get(x_331, 0); +lean_inc(x_332); +lean_dec_ref(x_331); +x_209 = x_332; +x_210 = x_10; +x_211 = lean_box(0); +goto block_311; } else { -lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; uint8_t x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; -lean_dec(x_327); -lean_dec(x_204); -lean_dec(x_203); +lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; uint8_t x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; +lean_dec(x_331); +lean_dec(x_208); +lean_dec(x_207); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec_ref(x_5); -x_329 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_330 = l_Lake_BuildKey_toString(x_2); -x_331 = lean_string_append(x_329, x_330); -lean_dec_ref(x_330); -x_332 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; -x_333 = lean_string_append(x_331, x_332); -x_334 = 1; -x_335 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_202, x_334); -x_336 = lean_string_append(x_333, x_335); -lean_dec_ref(x_335); -x_337 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_338 = lean_string_append(x_336, x_337); -x_339 = 3; -x_340 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_340, 0, x_338); -lean_ctor_set_uint8(x_340, sizeof(void*)*1, x_339); -x_341 = lean_array_get_size(x_10); -x_342 = lean_array_push(x_10, x_340); -x_12 = x_341; -x_13 = x_342; +x_333 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_334 = l_Lake_PartialBuildKey_toString(x_2); +x_335 = lean_string_append(x_333, x_334); +lean_dec_ref(x_334); +x_336 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_337 = lean_string_append(x_335, x_336); +x_338 = 1; +x_339 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_206, x_338); +x_340 = lean_string_append(x_337, x_339); +lean_dec_ref(x_339); +x_341 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_342 = lean_string_append(x_340, x_341); +x_343 = 3; +x_344 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_344, 0, x_342); +lean_ctor_set_uint8(x_344, sizeof(void*)*1, x_343); +x_345 = lean_array_get_size(x_10); +x_346 = lean_array_push(x_10, x_344); +x_12 = x_345; +x_13 = x_346; x_14 = lean_box(0); goto block_16; } } default: { -lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; size_t x_347; size_t x_348; lean_object* x_349; lean_object* x_350; +lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; size_t x_351; size_t x_352; lean_object* x_353; lean_object* x_354; lean_dec_ref(x_1); -x_343 = lean_ctor_get(x_9, 1); -x_344 = lean_ctor_get(x_343, 4); -x_345 = lean_box(0); -x_346 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__14; -x_347 = lean_array_size(x_344); -x_348 = 0; -x_349 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__1(x_202, x_346, x_345, x_344, x_347, x_348, x_346); -x_350 = lean_ctor_get(x_349, 0); -lean_inc(x_350); -lean_dec_ref(x_349); -if (lean_obj_tag(x_350) == 0) +x_347 = lean_ctor_get(x_9, 1); +x_348 = lean_ctor_get(x_347, 4); +x_349 = lean_box(0); +x_350 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__14; +x_351 = lean_array_size(x_348); +x_352 = 0; +x_353 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__1(x_206, x_350, x_349, x_348, x_351, x_352, x_350); +x_354 = lean_ctor_get(x_353, 0); +lean_inc(x_354); +lean_dec_ref(x_353); +if (lean_obj_tag(x_354) == 0) { -lean_dec(x_204); -lean_dec(x_203); +lean_dec(x_208); +lean_dec(x_207); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec_ref(x_5); -x_308 = x_10; -x_309 = lean_box(0); -goto block_324; +x_312 = x_10; +x_313 = lean_box(0); +goto block_328; } else { -lean_object* x_351; -x_351 = lean_ctor_get(x_350, 0); -lean_inc(x_351); -lean_dec_ref(x_350); -if (lean_obj_tag(x_351) == 1) +lean_object* x_355; +x_355 = lean_ctor_get(x_354, 0); +lean_inc(x_355); +lean_dec_ref(x_354); +if (lean_obj_tag(x_355) == 1) { -lean_object* x_352; -lean_dec(x_202); -x_352 = lean_ctor_get(x_351, 0); -lean_inc(x_352); -lean_dec_ref(x_351); -x_205 = x_352; -x_206 = x_10; -x_207 = lean_box(0); -goto block_307; +lean_object* x_356; +lean_dec(x_206); +x_356 = lean_ctor_get(x_355, 0); +lean_inc(x_356); +lean_dec_ref(x_355); +x_209 = x_356; +x_210 = x_10; +x_211 = lean_box(0); +goto block_311; } else { -lean_dec(x_351); -lean_dec(x_204); -lean_dec(x_203); +lean_dec(x_355); +lean_dec(x_208); +lean_dec(x_207); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec_ref(x_5); -x_308 = x_10; -x_309 = lean_box(0); -goto block_324; +x_312 = x_10; +x_313 = lean_box(0); +goto block_328; } } } } -block_307: +block_311: { -lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_208 = lean_ctor_get(x_205, 1); -x_209 = lean_ctor_get(x_205, 2); -lean_inc(x_203); -lean_inc(x_209); -if (lean_is_scalar(x_204)) { - x_210 = lean_alloc_ctor(3, 2, 0); +lean_object* x_212; lean_object* x_213; lean_object* x_214; +x_212 = lean_ctor_get(x_209, 1); +x_213 = lean_ctor_get(x_209, 2); +lean_inc(x_207); +lean_inc(x_213); +if (lean_is_scalar(x_208)) { + x_214 = lean_alloc_ctor(3, 2, 0); } else { - x_210 = x_204; + x_214 = x_208; } -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_203); +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_207); if (x_4 == 0) { -lean_object* x_211; lean_object* x_212; +lean_object* x_215; lean_object* x_216; lean_dec_ref(x_2); -x_211 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_211, 0, x_205); -lean_ctor_set(x_211, 1, x_203); -x_212 = lean_apply_7(x_5, x_211, x_6, x_7, x_8, x_9, x_206, lean_box(0)); -if (lean_obj_tag(x_212) == 0) -{ -uint8_t x_213; -x_213 = !lean_is_exclusive(x_212); -if (x_213 == 0) -{ -lean_object* x_214; lean_object* x_215; -x_214 = lean_ctor_get(x_212, 0); x_215 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_215, 0, x_210); -lean_ctor_set(x_215, 1, x_214); -lean_ctor_set(x_212, 0, x_215); -return x_212; -} -else +lean_ctor_set(x_215, 0, x_209); +lean_ctor_set(x_215, 1, x_207); +x_216 = lean_apply_7(x_5, x_215, x_6, x_7, x_8, x_9, x_210, lean_box(0)); +if (lean_obj_tag(x_216) == 0) { -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_216 = lean_ctor_get(x_212, 0); -x_217 = lean_ctor_get(x_212, 1); -lean_inc(x_217); -lean_inc(x_216); -lean_dec(x_212); -x_218 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_218, 0, x_210); -lean_ctor_set(x_218, 1, x_216); +uint8_t x_217; +x_217 = !lean_is_exclusive(x_216); +if (x_217 == 0) +{ +lean_object* x_218; lean_object* x_219; +x_218 = lean_ctor_get(x_216, 0); x_219 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_219, 0, x_218); -lean_ctor_set(x_219, 1, x_217); -return x_219; -} +lean_ctor_set(x_219, 0, x_214); +lean_ctor_set(x_219, 1, x_218); +lean_ctor_set(x_216, 0, x_219); +return x_216; } else { -uint8_t x_220; -lean_dec_ref(x_210); -x_220 = !lean_is_exclusive(x_212); -if (x_220 == 0) -{ -return x_212; -} -else -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_221 = lean_ctor_get(x_212, 0); -x_222 = lean_ctor_get(x_212, 1); -lean_inc(x_222); +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_220 = lean_ctor_get(x_216, 0); +x_221 = lean_ctor_get(x_216, 1); lean_inc(x_221); -lean_dec(x_212); -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_221); -lean_ctor_set(x_223, 1, x_222); +lean_inc(x_220); +lean_dec(x_216); +x_222 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_222, 0, x_214); +lean_ctor_set(x_222, 1, x_220); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_221); return x_223; } } +else +{ +uint8_t x_224; +lean_dec_ref(x_214); +x_224 = !lean_is_exclusive(x_216); +if (x_224 == 0) +{ +return x_216; } else { -lean_object* x_224; -x_224 = l_Lake_Package_findTargetDecl_x3f(x_203, x_205); -if (lean_obj_tag(x_224) == 1) -{ -lean_object* x_225; uint8_t x_226; -lean_dec_ref(x_2); -x_225 = lean_ctor_get(x_224, 0); +lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_225 = lean_ctor_get(x_216, 0); +x_226 = lean_ctor_get(x_216, 1); +lean_inc(x_226); lean_inc(x_225); -lean_dec_ref(x_224); -x_226 = !lean_is_exclusive(x_225); -if (x_226 == 0) -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; -x_227 = lean_ctor_get(x_225, 1); -x_228 = lean_ctor_get(x_225, 2); -x_229 = lean_ctor_get(x_225, 3); -x_230 = lean_ctor_get(x_225, 0); -lean_dec(x_230); -x_231 = l_Lean_Name_isAnonymous(x_228); -if (x_231 == 0) -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; -lean_dec(x_203); -x_232 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__9; -lean_inc(x_228); -x_233 = l_Lean_Name_str___override(x_228, x_232); -x_234 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_234, 0, x_205); -lean_ctor_set(x_234, 1, x_227); -lean_ctor_set(x_234, 2, x_229); -lean_inc(x_233); -lean_inc_ref(x_210); -lean_ctor_set_tag(x_225, 1); -lean_ctor_set(x_225, 3, x_233); -lean_ctor_set(x_225, 2, x_234); -lean_ctor_set(x_225, 1, x_228); -lean_ctor_set(x_225, 0, x_210); -x_235 = lean_apply_7(x_5, x_225, x_6, x_7, x_8, x_9, x_206, lean_box(0)); -if (lean_obj_tag(x_235) == 0) -{ -uint8_t x_236; -x_236 = !lean_is_exclusive(x_235); -if (x_236 == 0) -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_237 = lean_ctor_get(x_235, 0); -x_238 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_238, 0, x_210); -lean_ctor_set(x_238, 1, x_233); -x_239 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_237); -lean_ctor_set(x_235, 0, x_239); -return x_235; +lean_dec(x_216); +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_225); +lean_ctor_set(x_227, 1, x_226); +return x_227; +} +} } else { -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_240 = lean_ctor_get(x_235, 0); -x_241 = lean_ctor_get(x_235, 1); -lean_inc(x_241); -lean_inc(x_240); -lean_dec(x_235); +lean_object* x_228; +x_228 = l_Lake_Package_findTargetDecl_x3f(x_207, x_209); +if (lean_obj_tag(x_228) == 1) +{ +lean_object* x_229; uint8_t x_230; +lean_dec_ref(x_2); +x_229 = lean_ctor_get(x_228, 0); +lean_inc(x_229); +lean_dec_ref(x_228); +x_230 = !lean_is_exclusive(x_229); +if (x_230 == 0) +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; +x_231 = lean_ctor_get(x_229, 1); +x_232 = lean_ctor_get(x_229, 2); +x_233 = lean_ctor_get(x_229, 3); +x_234 = lean_ctor_get(x_229, 0); +lean_dec(x_234); +x_235 = l_Lean_Name_isAnonymous(x_232); +if (x_235 == 0) +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; +lean_dec(x_207); +x_236 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__9; +lean_inc(x_232); +x_237 = l_Lean_Name_str___override(x_232, x_236); +x_238 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_238, 0, x_209); +lean_ctor_set(x_238, 1, x_231); +lean_ctor_set(x_238, 2, x_233); +lean_inc(x_237); +lean_inc_ref(x_214); +lean_ctor_set_tag(x_229, 1); +lean_ctor_set(x_229, 3, x_237); +lean_ctor_set(x_229, 2, x_238); +lean_ctor_set(x_229, 1, x_232); +lean_ctor_set(x_229, 0, x_214); +x_239 = lean_apply_7(x_5, x_229, x_6, x_7, x_8, x_9, x_210, lean_box(0)); +if (lean_obj_tag(x_239) == 0) +{ +uint8_t x_240; +x_240 = !lean_is_exclusive(x_239); +if (x_240 == 0) +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_241 = lean_ctor_get(x_239, 0); x_242 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_242, 0, x_210); -lean_ctor_set(x_242, 1, x_233); +lean_ctor_set(x_242, 0, x_214); +lean_ctor_set(x_242, 1, x_237); x_243 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_240); -x_244 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_244, 0, x_243); -lean_ctor_set(x_244, 1, x_241); -return x_244; -} +lean_ctor_set(x_243, 1, x_241); +lean_ctor_set(x_239, 0, x_243); +return x_239; } else { -uint8_t x_245; -lean_dec(x_233); -lean_dec_ref(x_210); -x_245 = !lean_is_exclusive(x_235); -if (x_245 == 0) -{ -return x_235; -} -else -{ -lean_object* x_246; lean_object* x_247; lean_object* x_248; -x_246 = lean_ctor_get(x_235, 0); -x_247 = lean_ctor_get(x_235, 1); -lean_inc(x_247); -lean_inc(x_246); -lean_dec(x_235); -x_248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_248, 0, x_246); -lean_ctor_set(x_248, 1, x_247); +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_244 = lean_ctor_get(x_239, 0); +x_245 = lean_ctor_get(x_239, 1); +lean_inc(x_245); +lean_inc(x_244); +lean_dec(x_239); +x_246 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_246, 0, x_214); +lean_ctor_set(x_246, 1, x_237); +x_247 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_244); +x_248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_248, 0, x_247); +lean_ctor_set(x_248, 1, x_245); return x_248; } } +else +{ +uint8_t x_249; +lean_dec(x_237); +lean_dec_ref(x_214); +x_249 = !lean_is_exclusive(x_239); +if (x_249 == 0) +{ +return x_239; } else { -lean_object* x_249; lean_object* x_250; -lean_free_object(x_225); -lean_dec(x_229); -lean_dec(x_228); -lean_dec(x_227); -x_249 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_249, 0, x_205); -lean_ctor_set(x_249, 1, x_203); -x_250 = lean_apply_7(x_5, x_249, x_6, x_7, x_8, x_9, x_206, lean_box(0)); -if (lean_obj_tag(x_250) == 0) +lean_object* x_250; lean_object* x_251; lean_object* x_252; +x_250 = lean_ctor_get(x_239, 0); +x_251 = lean_ctor_get(x_239, 1); +lean_inc(x_251); +lean_inc(x_250); +lean_dec(x_239); +x_252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_252, 0, x_250); +lean_ctor_set(x_252, 1, x_251); +return x_252; +} +} +} +else { -uint8_t x_251; -x_251 = !lean_is_exclusive(x_250); -if (x_251 == 0) -{ -lean_object* x_252; lean_object* x_253; -x_252 = lean_ctor_get(x_250, 0); +lean_object* x_253; lean_object* x_254; +lean_free_object(x_229); +lean_dec(x_233); +lean_dec(x_232); +lean_dec(x_231); x_253 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_253, 0, x_210); -lean_ctor_set(x_253, 1, x_252); -lean_ctor_set(x_250, 0, x_253); -return x_250; -} -else +lean_ctor_set(x_253, 0, x_209); +lean_ctor_set(x_253, 1, x_207); +x_254 = lean_apply_7(x_5, x_253, x_6, x_7, x_8, x_9, x_210, lean_box(0)); +if (lean_obj_tag(x_254) == 0) { -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_254 = lean_ctor_get(x_250, 0); -x_255 = lean_ctor_get(x_250, 1); -lean_inc(x_255); -lean_inc(x_254); -lean_dec(x_250); -x_256 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_256, 0, x_210); -lean_ctor_set(x_256, 1, x_254); +uint8_t x_255; +x_255 = !lean_is_exclusive(x_254); +if (x_255 == 0) +{ +lean_object* x_256; lean_object* x_257; +x_256 = lean_ctor_get(x_254, 0); x_257 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_255); -return x_257; -} +lean_ctor_set(x_257, 0, x_214); +lean_ctor_set(x_257, 1, x_256); +lean_ctor_set(x_254, 0, x_257); +return x_254; } else { -uint8_t x_258; -lean_dec_ref(x_210); -x_258 = !lean_is_exclusive(x_250); -if (x_258 == 0) -{ -return x_250; -} -else -{ -lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_259 = lean_ctor_get(x_250, 0); -x_260 = lean_ctor_get(x_250, 1); -lean_inc(x_260); +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; +x_258 = lean_ctor_get(x_254, 0); +x_259 = lean_ctor_get(x_254, 1); lean_inc(x_259); -lean_dec(x_250); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_259); -lean_ctor_set(x_261, 1, x_260); +lean_inc(x_258); +lean_dec(x_254); +x_260 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_260, 0, x_214); +lean_ctor_set(x_260, 1, x_258); +x_261 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_261, 1, x_259); return x_261; } } -} +else +{ +uint8_t x_262; +lean_dec_ref(x_214); +x_262 = !lean_is_exclusive(x_254); +if (x_262 == 0) +{ +return x_254; } else { -lean_object* x_262; lean_object* x_263; lean_object* x_264; uint8_t x_265; -x_262 = lean_ctor_get(x_225, 1); -x_263 = lean_ctor_get(x_225, 2); -x_264 = lean_ctor_get(x_225, 3); +lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_263 = lean_ctor_get(x_254, 0); +x_264 = lean_ctor_get(x_254, 1); lean_inc(x_264); lean_inc(x_263); -lean_inc(x_262); -lean_dec(x_225); -x_265 = l_Lean_Name_isAnonymous(x_263); -if (x_265 == 0) -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; -lean_dec(x_203); -x_266 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__9; -lean_inc(x_263); -x_267 = l_Lean_Name_str___override(x_263, x_266); -x_268 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_268, 0, x_205); -lean_ctor_set(x_268, 1, x_262); -lean_ctor_set(x_268, 2, x_264); -lean_inc(x_267); -lean_inc_ref(x_210); -x_269 = lean_alloc_ctor(1, 4, 0); -lean_ctor_set(x_269, 0, x_210); -lean_ctor_set(x_269, 1, x_263); -lean_ctor_set(x_269, 2, x_268); -lean_ctor_set(x_269, 3, x_267); -x_270 = lean_apply_7(x_5, x_269, x_6, x_7, x_8, x_9, x_206, lean_box(0)); -if (lean_obj_tag(x_270) == 0) -{ -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_270, 1); -lean_inc(x_272); -if (lean_is_exclusive(x_270)) { - lean_ctor_release(x_270, 0); - lean_ctor_release(x_270, 1); - x_273 = x_270; -} else { - lean_dec_ref(x_270); - x_273 = lean_box(0); +lean_dec(x_254); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_263); +lean_ctor_set(x_265, 1, x_264); +return x_265; +} } -x_274 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_274, 0, x_210); -lean_ctor_set(x_274, 1, x_267); -x_275 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_275, 0, x_274); -lean_ctor_set(x_275, 1, x_271); -if (lean_is_scalar(x_273)) { - x_276 = lean_alloc_ctor(0, 2, 0); -} else { - x_276 = x_273; } -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_272); -return x_276; } else { -lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; -lean_dec(x_267); -lean_dec_ref(x_210); -x_277 = lean_ctor_get(x_270, 0); -lean_inc(x_277); -x_278 = lean_ctor_get(x_270, 1); -lean_inc(x_278); -if (lean_is_exclusive(x_270)) { - lean_ctor_release(x_270, 0); - lean_ctor_release(x_270, 1); - x_279 = x_270; +lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; +x_266 = lean_ctor_get(x_229, 1); +x_267 = lean_ctor_get(x_229, 2); +x_268 = lean_ctor_get(x_229, 3); +lean_inc(x_268); +lean_inc(x_267); +lean_inc(x_266); +lean_dec(x_229); +x_269 = l_Lean_Name_isAnonymous(x_267); +if (x_269 == 0) +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; +lean_dec(x_207); +x_270 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__9; +lean_inc(x_267); +x_271 = l_Lean_Name_str___override(x_267, x_270); +x_272 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_272, 0, x_209); +lean_ctor_set(x_272, 1, x_266); +lean_ctor_set(x_272, 2, x_268); +lean_inc(x_271); +lean_inc_ref(x_214); +x_273 = lean_alloc_ctor(1, 4, 0); +lean_ctor_set(x_273, 0, x_214); +lean_ctor_set(x_273, 1, x_267); +lean_ctor_set(x_273, 2, x_272); +lean_ctor_set(x_273, 3, x_271); +x_274 = lean_apply_7(x_5, x_273, x_6, x_7, x_8, x_9, x_210, lean_box(0)); +if (lean_obj_tag(x_274) == 0) +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_275 = lean_ctor_get(x_274, 0); +lean_inc(x_275); +x_276 = lean_ctor_get(x_274, 1); +lean_inc(x_276); +if (lean_is_exclusive(x_274)) { + lean_ctor_release(x_274, 0); + lean_ctor_release(x_274, 1); + x_277 = x_274; } else { - lean_dec_ref(x_270); - x_279 = lean_box(0); + lean_dec_ref(x_274); + x_277 = lean_box(0); } -if (lean_is_scalar(x_279)) { - x_280 = lean_alloc_ctor(1, 2, 0); +x_278 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_278, 0, x_214); +lean_ctor_set(x_278, 1, x_271); +x_279 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_279, 0, x_278); +lean_ctor_set(x_279, 1, x_275); +if (lean_is_scalar(x_277)) { + x_280 = lean_alloc_ctor(0, 2, 0); } else { - x_280 = x_279; + x_280 = x_277; } -lean_ctor_set(x_280, 0, x_277); -lean_ctor_set(x_280, 1, x_278); +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_276); return x_280; } +else +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +lean_dec(x_271); +lean_dec_ref(x_214); +x_281 = lean_ctor_get(x_274, 0); +lean_inc(x_281); +x_282 = lean_ctor_get(x_274, 1); +lean_inc(x_282); +if (lean_is_exclusive(x_274)) { + lean_ctor_release(x_274, 0); + lean_ctor_release(x_274, 1); + x_283 = x_274; +} else { + lean_dec_ref(x_274); + x_283 = lean_box(0); +} +if (lean_is_scalar(x_283)) { + x_284 = lean_alloc_ctor(1, 2, 0); +} else { + x_284 = x_283; +} +lean_ctor_set(x_284, 0, x_281); +lean_ctor_set(x_284, 1, x_282); +return x_284; +} } else { -lean_object* x_281; lean_object* x_282; -lean_dec(x_264); -lean_dec(x_263); -lean_dec(x_262); -x_281 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_281, 0, x_205); -lean_ctor_set(x_281, 1, x_203); -x_282 = lean_apply_7(x_5, x_281, x_6, x_7, x_8, x_9, x_206, lean_box(0)); -if (lean_obj_tag(x_282) == 0) +lean_object* x_285; lean_object* x_286; +lean_dec(x_268); +lean_dec(x_267); +lean_dec(x_266); +x_285 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_285, 0, x_209); +lean_ctor_set(x_285, 1, x_207); +x_286 = lean_apply_7(x_5, x_285, x_6, x_7, x_8, x_9, x_210, lean_box(0)); +if (lean_obj_tag(x_286) == 0) { -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_283 = lean_ctor_get(x_282, 0); -lean_inc(x_283); -x_284 = lean_ctor_get(x_282, 1); -lean_inc(x_284); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_285 = x_282; -} else { - lean_dec_ref(x_282); - x_285 = lean_box(0); -} -x_286 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_286, 0, x_210); -lean_ctor_set(x_286, 1, x_283); -if (lean_is_scalar(x_285)) { - x_287 = lean_alloc_ctor(0, 2, 0); -} else { - x_287 = x_285; -} -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_284); -return x_287; -} -else -{ -lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -lean_dec_ref(x_210); -x_288 = lean_ctor_get(x_282, 0); +lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; +x_287 = lean_ctor_get(x_286, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_286, 1); lean_inc(x_288); -x_289 = lean_ctor_get(x_282, 1); -lean_inc(x_289); -if (lean_is_exclusive(x_282)) { - lean_ctor_release(x_282, 0); - lean_ctor_release(x_282, 1); - x_290 = x_282; +if (lean_is_exclusive(x_286)) { + lean_ctor_release(x_286, 0); + lean_ctor_release(x_286, 1); + x_289 = x_286; } else { - lean_dec_ref(x_282); - x_290 = lean_box(0); + lean_dec_ref(x_286); + x_289 = lean_box(0); } -if (lean_is_scalar(x_290)) { - x_291 = lean_alloc_ctor(1, 2, 0); +x_290 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_290, 0, x_214); +lean_ctor_set(x_290, 1, x_287); +if (lean_is_scalar(x_289)) { + x_291 = lean_alloc_ctor(0, 2, 0); } else { - x_291 = x_290; + x_291 = x_289; } -lean_ctor_set(x_291, 0, x_288); -lean_ctor_set(x_291, 1, x_289); +lean_ctor_set(x_291, 0, x_290); +lean_ctor_set(x_291, 1, x_288); return x_291; } +else +{ +lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; +lean_dec_ref(x_214); +x_292 = lean_ctor_get(x_286, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_286, 1); +lean_inc(x_293); +if (lean_is_exclusive(x_286)) { + lean_ctor_release(x_286, 0); + lean_ctor_release(x_286, 1); + x_294 = x_286; +} else { + lean_dec_ref(x_286); + x_294 = lean_box(0); +} +if (lean_is_scalar(x_294)) { + x_295 = lean_alloc_ctor(1, 2, 0); +} else { + x_295 = x_294; +} +lean_ctor_set(x_295, 0, x_292); +lean_ctor_set(x_295, 1, x_293); +return x_295; +} } } } else { -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; -lean_dec(x_224); -lean_dec_ref(x_210); -lean_inc(x_208); -lean_dec_ref(x_205); -lean_dec(x_203); +lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; uint8_t x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; +lean_dec(x_228); +lean_dec_ref(x_214); +lean_inc(x_212); +lean_dec_ref(x_209); +lean_dec(x_207); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec_ref(x_5); -x_292 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_293 = l_Lake_BuildKey_toString(x_2); -x_294 = lean_string_append(x_292, x_293); -lean_dec_ref(x_293); -x_295 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__10; -x_296 = lean_string_append(x_294, x_295); -x_297 = 0; -x_298 = l_Lean_Name_toString(x_208, x_297); -x_299 = lean_string_append(x_296, x_298); -lean_dec_ref(x_298); -x_300 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; -x_301 = lean_string_append(x_299, x_300); -x_302 = 3; -x_303 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_303, 0, x_301); -lean_ctor_set_uint8(x_303, sizeof(void*)*1, x_302); -x_304 = lean_array_get_size(x_206); -x_305 = lean_array_push(x_206, x_303); -x_306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_306, 0, x_304); -lean_ctor_set(x_306, 1, x_305); -return x_306; +x_296 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_297 = l_Lake_PartialBuildKey_toString(x_2); +x_298 = lean_string_append(x_296, x_297); +lean_dec_ref(x_297); +x_299 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__10; +x_300 = lean_string_append(x_298, x_299); +x_301 = 0; +x_302 = l_Lean_Name_toString(x_212, x_301); +x_303 = lean_string_append(x_300, x_302); +lean_dec_ref(x_302); +x_304 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; +x_305 = lean_string_append(x_303, x_304); +x_306 = 3; +x_307 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_307, 0, x_305); +lean_ctor_set_uint8(x_307, sizeof(void*)*1, x_306); +x_308 = lean_array_get_size(x_210); +x_309 = lean_array_push(x_210, x_307); +x_310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_310, 0, x_308); +lean_ctor_set(x_310, 1, x_309); +return x_310; } } } -block_324: +block_328: { -lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; uint8_t x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; -x_310 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_311 = l_Lake_BuildKey_toString(x_2); -x_312 = lean_string_append(x_310, x_311); -lean_dec_ref(x_311); -x_313 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; -x_314 = lean_string_append(x_312, x_313); -x_315 = 1; -x_316 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_202, x_315); -x_317 = lean_string_append(x_314, x_316); -lean_dec_ref(x_316); -x_318 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_319 = lean_string_append(x_317, x_318); -x_320 = 3; -x_321 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_321, 0, x_319); -lean_ctor_set_uint8(x_321, sizeof(void*)*1, x_320); -x_322 = lean_array_get_size(x_308); -x_323 = lean_array_push(x_308, x_321); -x_12 = x_322; -x_13 = x_323; +lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; uint8_t x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +x_314 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_315 = l_Lake_PartialBuildKey_toString(x_2); +x_316 = lean_string_append(x_314, x_315); +lean_dec_ref(x_315); +x_317 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_318 = lean_string_append(x_316, x_317); +x_319 = 1; +x_320 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_206, x_319); +x_321 = lean_string_append(x_318, x_320); +lean_dec_ref(x_320); +x_322 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_323 = lean_string_append(x_321, x_322); +x_324 = 3; +x_325 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_325, 0, x_323); +lean_ctor_set_uint8(x_325, sizeof(void*)*1, x_324); +x_326 = lean_array_get_size(x_312); +x_327 = lean_array_push(x_312, x_325); +x_12 = x_326; +x_13 = x_327; x_14 = lean_box(0); goto block_16; } } default: { -lean_object* x_353; lean_object* x_354; lean_object* x_355; uint8_t x_356; lean_object* x_357; -x_353 = lean_ctor_get(x_3, 0); -lean_inc_ref(x_353); -x_354 = lean_ctor_get(x_3, 1); -lean_inc(x_354); +lean_object* x_357; lean_object* x_358; lean_object* x_359; uint8_t x_360; lean_object* x_361; +x_357 = lean_ctor_get(x_3, 0); +lean_inc_ref(x_357); +x_358 = lean_ctor_get(x_3, 1); +lean_inc(x_358); if (lean_is_exclusive(x_3)) { lean_ctor_release(x_3, 0); lean_ctor_release(x_3, 1); - x_355 = x_3; + x_359 = x_3; } else { lean_dec_ref(x_3); - x_355 = lean_box(0); + x_359 = lean_box(0); } -x_356 = 0; +x_360 = 0; lean_inc_ref(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc_ref(x_5); -lean_inc_ref(x_353); +lean_inc_ref(x_357); lean_inc_ref(x_2); -x_357 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux(x_1, x_2, x_353, x_356, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_357) == 0) +x_361 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux(x_1, x_2, x_357, x_360, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_361) == 0) { -lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_393; -x_358 = lean_ctor_get(x_357, 0); -lean_inc(x_358); -x_359 = lean_ctor_get(x_358, 1); -lean_inc(x_359); -if (lean_is_exclusive(x_358)) { - lean_ctor_release(x_358, 0); - lean_ctor_release(x_358, 1); - x_360 = x_358; +lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; uint8_t x_397; +x_362 = lean_ctor_get(x_361, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_362, 1); +lean_inc(x_363); +if (lean_is_exclusive(x_362)) { + lean_ctor_release(x_362, 0); + lean_ctor_release(x_362, 1); + x_364 = x_362; } else { - lean_dec_ref(x_358); - x_360 = lean_box(0); + lean_dec_ref(x_362); + x_364 = lean_box(0); } -x_361 = lean_ctor_get(x_357, 1); -lean_inc(x_361); -if (lean_is_exclusive(x_357)) { - lean_ctor_release(x_357, 0); - lean_ctor_release(x_357, 1); - x_362 = x_357; +x_365 = lean_ctor_get(x_361, 1); +lean_inc(x_365); +if (lean_is_exclusive(x_361)) { + lean_ctor_release(x_361, 0); + lean_ctor_release(x_361, 1); + x_366 = x_361; } else { - lean_dec_ref(x_357); - x_362 = lean_box(0); + lean_dec_ref(x_361); + x_366 = lean_box(0); } -x_363 = lean_ctor_get(x_359, 1); -x_393 = l_Lean_Name_isAnonymous(x_363); -if (x_393 == 0) +x_367 = lean_ctor_get(x_363, 1); +x_397 = l_Lean_Name_isAnonymous(x_367); +if (x_397 == 0) { -uint8_t x_394; -x_394 = l_Lean_Name_isAnonymous(x_354); -if (x_394 == 0) +uint8_t x_398; +x_398 = l_Lean_Name_isAnonymous(x_358); +if (x_398 == 0) { -x_364 = x_354; -goto block_392; +x_368 = x_358; +goto block_396; } else { -lean_object* x_395; -lean_dec(x_354); -x_395 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__12; -x_364 = x_395; -goto block_392; +lean_object* x_399; +lean_dec(x_358); +x_399 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__12; +x_368 = x_399; +goto block_396; } } else { -lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; uint8_t x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; -lean_dec(x_362); -lean_dec(x_360); +lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; uint8_t x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; +lean_dec(x_366); +lean_dec(x_364); +lean_dec(x_363); lean_dec(x_359); -lean_dec(x_355); -lean_dec(x_354); -lean_dec_ref(x_353); +lean_dec(x_358); +lean_dec_ref(x_357); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec_ref(x_5); -x_396 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_397 = l_Lake_BuildKey_toString(x_2); -x_398 = lean_string_append(x_396, x_397); -lean_dec_ref(x_397); -x_399 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__13; -x_400 = lean_string_append(x_398, x_399); -x_401 = 3; -x_402 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_402, 0, x_400); -lean_ctor_set_uint8(x_402, sizeof(void*)*1, x_401); -x_403 = lean_array_get_size(x_361); -x_404 = lean_array_push(x_361, x_402); -x_405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_405, 0, x_403); -lean_ctor_set(x_405, 1, x_404); -return x_405; +x_400 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_401 = l_Lake_PartialBuildKey_toString(x_2); +x_402 = lean_string_append(x_400, x_401); +lean_dec_ref(x_401); +x_403 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__13; +x_404 = lean_string_append(x_402, x_403); +x_405 = 3; +x_406 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_406, 0, x_404); +lean_ctor_set_uint8(x_406, sizeof(void*)*1, x_405); +x_407 = lean_array_get_size(x_365); +x_408 = lean_array_push(x_365, x_406); +x_409 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_409, 0, x_407); +lean_ctor_set(x_409, 1, x_408); +return x_409; } -block_392: +block_396: { -lean_object* x_365; lean_object* x_366; lean_object* x_367; -x_365 = lean_ctor_get(x_9, 1); -lean_inc(x_363); -x_366 = l_Lean_Name_append(x_363, x_364); -x_367 = l_Lake_Workspace_findFacetConfig_x3f(x_366, x_365); -if (lean_obj_tag(x_367) == 1) +lean_object* x_369; lean_object* x_370; lean_object* x_371; +x_369 = lean_ctor_get(x_9, 1); +lean_inc(x_367); +x_370 = l_Lean_Name_append(x_367, x_368); +x_371 = l_Lake_Workspace_findFacetConfig_x3f(x_370, x_369); +if (lean_obj_tag(x_371) == 1) { -lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; +lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_dec_ref(x_2); -x_368 = lean_ctor_get(x_367, 0); -lean_inc(x_368); -lean_dec_ref(x_367); -x_369 = lean_ctor_get(x_368, 2); -lean_inc(x_369); -lean_dec(x_368); -lean_inc(x_366); -lean_inc(x_363); -lean_inc_ref(x_353); -x_370 = lean_alloc_closure((void*)(l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___lam__0___boxed), 11, 3); -lean_closure_set(x_370, 0, x_353); -lean_closure_set(x_370, 1, x_363); -lean_closure_set(x_370, 2, x_366); -x_371 = lean_unsigned_to_nat(0u); -x_372 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__3; -x_373 = l_Lake_Job_bindM___redArg(x_369, x_359, x_370, x_371, x_356, x_5, x_6, x_7, x_8, x_9, x_372); -if (lean_is_scalar(x_355)) { - x_374 = lean_alloc_ctor(4, 2, 0); +x_372 = lean_ctor_get(x_371, 0); +lean_inc(x_372); +lean_dec_ref(x_371); +x_373 = lean_ctor_get(x_372, 2); +lean_inc(x_373); +lean_dec(x_372); +lean_inc(x_370); +lean_inc(x_367); +lean_inc_ref(x_357); +x_374 = lean_alloc_closure((void*)(l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___lam__0___boxed), 11, 3); +lean_closure_set(x_374, 0, x_357); +lean_closure_set(x_374, 1, x_367); +lean_closure_set(x_374, 2, x_370); +x_375 = lean_unsigned_to_nat(0u); +x_376 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__3; +x_377 = l_Lake_Job_bindM___redArg(x_373, x_363, x_374, x_375, x_360, x_5, x_6, x_7, x_8, x_9, x_376); +if (lean_is_scalar(x_359)) { + x_378 = lean_alloc_ctor(4, 2, 0); } else { - x_374 = x_355; + x_378 = x_359; } -lean_ctor_set(x_374, 0, x_353); -lean_ctor_set(x_374, 1, x_366); -if (lean_is_scalar(x_360)) { - x_375 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_378, 0, x_357); +lean_ctor_set(x_378, 1, x_370); +if (lean_is_scalar(x_364)) { + x_379 = lean_alloc_ctor(0, 2, 0); } else { - x_375 = x_360; + x_379 = x_364; } -lean_ctor_set(x_375, 0, x_374); -lean_ctor_set(x_375, 1, x_373); -if (lean_is_scalar(x_362)) { - x_376 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_379, 0, x_378); +lean_ctor_set(x_379, 1, x_377); +if (lean_is_scalar(x_366)) { + x_380 = lean_alloc_ctor(0, 2, 0); } else { - x_376 = x_362; + x_380 = x_366; } -lean_ctor_set(x_376, 0, x_375); -lean_ctor_set(x_376, 1, x_361); -return x_376; +lean_ctor_set(x_380, 0, x_379); +lean_ctor_set(x_380, 1, x_365); +return x_380; } else { -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; uint8_t x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; -lean_dec(x_367); -lean_dec(x_360); +lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; uint8_t x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; +lean_dec(x_371); +lean_dec(x_364); +lean_dec(x_363); lean_dec(x_359); -lean_dec(x_355); -lean_dec_ref(x_353); +lean_dec_ref(x_357); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec_ref(x_5); -x_377 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_378 = l_Lake_BuildKey_toString(x_2); -x_379 = lean_string_append(x_377, x_378); -lean_dec_ref(x_378); -x_380 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__11; -x_381 = lean_string_append(x_379, x_380); -x_382 = 1; -x_383 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_366, x_382); -x_384 = lean_string_append(x_381, x_383); -lean_dec_ref(x_383); -x_385 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; -x_386 = lean_string_append(x_384, x_385); -x_387 = 3; -x_388 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_388, 0, x_386); -lean_ctor_set_uint8(x_388, sizeof(void*)*1, x_387); -x_389 = lean_array_get_size(x_361); -x_390 = lean_array_push(x_361, x_388); -if (lean_is_scalar(x_362)) { - x_391 = lean_alloc_ctor(1, 2, 0); +x_381 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_382 = l_Lake_PartialBuildKey_toString(x_2); +x_383 = lean_string_append(x_381, x_382); +lean_dec_ref(x_382); +x_384 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__11; +x_385 = lean_string_append(x_383, x_384); +x_386 = 1; +x_387 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_370, x_386); +x_388 = lean_string_append(x_385, x_387); +lean_dec_ref(x_387); +x_389 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; +x_390 = lean_string_append(x_388, x_389); +x_391 = 3; +x_392 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_392, 0, x_390); +lean_ctor_set_uint8(x_392, sizeof(void*)*1, x_391); +x_393 = lean_array_get_size(x_365); +x_394 = lean_array_push(x_365, x_392); +if (lean_is_scalar(x_366)) { + x_395 = lean_alloc_ctor(1, 2, 0); } else { - x_391 = x_362; - lean_ctor_set_tag(x_391, 1); + x_395 = x_366; + lean_ctor_set_tag(x_395, 1); } -lean_ctor_set(x_391, 0, x_389); -lean_ctor_set(x_391, 1, x_390); -return x_391; +lean_ctor_set(x_395, 0, x_393); +lean_ctor_set(x_395, 1, x_394); +return x_395; } } } else { -lean_dec(x_355); -lean_dec(x_354); -lean_dec_ref(x_353); +lean_dec(x_359); +lean_dec(x_358); +lean_dec_ref(x_357); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec_ref(x_5); lean_dec_ref(x_2); -return x_357; +return x_361; } } } @@ -2976,7 +2983,7 @@ return x_79; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; 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; uint8_t x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_dec(x_72); x_80 = lean_ctor_get(x_71, 1); lean_inc(x_80); @@ -2993,504 +3000,506 @@ x_88 = lean_string_append(x_85, x_87); lean_dec_ref(x_87); x_89 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__7; x_90 = lean_string_append(x_88, x_89); -x_91 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_80, x_86); -x_92 = lean_string_append(x_90, x_91); -lean_dec_ref(x_91); -x_93 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; -x_94 = lean_string_append(x_92, x_93); -x_95 = 3; -x_96 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set_uint8(x_96, sizeof(void*)*1, x_95); -x_97 = lean_array_get_size(x_8); -x_98 = lean_array_push(x_8, x_96); +x_91 = 0; +x_92 = l_Lean_Name_toString(x_80, x_91); +x_93 = lean_string_append(x_90, x_92); +lean_dec_ref(x_92); +x_94 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; +x_95 = lean_string_append(x_93, x_94); +x_96 = 3; +x_97 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set_uint8(x_97, sizeof(void*)*1, x_96); +x_98 = lean_array_get_size(x_8); +x_99 = lean_array_push(x_8, x_97); lean_ctor_set_tag(x_2, 1); -lean_ctor_set(x_2, 1, x_98); -lean_ctor_set(x_2, 0, x_97); +lean_ctor_set(x_2, 1, x_99); +lean_ctor_set(x_2, 0, x_98); return x_2; } } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_dec(x_70); lean_dec(x_68); -x_99 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_100 = l_Lake_BuildKey_toString(x_1); -x_101 = lean_string_append(x_99, x_100); -lean_dec_ref(x_100); -x_102 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; -x_103 = lean_string_append(x_101, x_102); -x_104 = 1; -x_105 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_67, x_104); -x_106 = lean_string_append(x_103, x_105); -lean_dec_ref(x_105); -x_107 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_108 = lean_string_append(x_106, x_107); -x_109 = 3; -x_110 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set_uint8(x_110, sizeof(void*)*1, x_109); -x_111 = lean_array_get_size(x_8); -x_112 = lean_array_push(x_8, x_110); +x_100 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_101 = l_Lake_BuildKey_toString(x_1); +x_102 = lean_string_append(x_100, x_101); +lean_dec_ref(x_101); +x_103 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_104 = lean_string_append(x_102, x_103); +x_105 = 1; +x_106 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_67, x_105); +x_107 = lean_string_append(x_104, x_106); +lean_dec_ref(x_106); +x_108 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_109 = lean_string_append(x_107, x_108); +x_110 = 3; +x_111 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set_uint8(x_111, sizeof(void*)*1, x_110); +x_112 = lean_array_get_size(x_8); +x_113 = lean_array_push(x_8, x_111); lean_ctor_set_tag(x_2, 1); -lean_ctor_set(x_2, 1, x_112); -lean_ctor_set(x_2, 0, x_111); +lean_ctor_set(x_2, 1, x_113); +lean_ctor_set(x_2, 0, x_112); return x_2; } } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_113 = lean_ctor_get(x_2, 0); -x_114 = lean_ctor_get(x_2, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_2); -x_115 = lean_ctor_get(x_65, 5); +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_114 = lean_ctor_get(x_2, 0); +x_115 = lean_ctor_get(x_2, 1); lean_inc(x_115); -lean_dec(x_65); -x_116 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_115, x_113); -lean_dec(x_115); -if (lean_obj_tag(x_116) == 1) -{ -lean_object* x_117; lean_object* x_118; -lean_dec(x_113); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -lean_dec_ref(x_116); -lean_inc(x_117); lean_inc(x_114); -x_118 = l_Lake_Package_findTargetModule_x3f(x_114, x_117); -if (lean_obj_tag(x_118) == 1) -{ -lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -lean_dec(x_117); -lean_dec(x_114); -lean_dec_ref(x_1); -x_119 = lean_ctor_get(x_118, 0); -lean_inc(x_119); -lean_dec_ref(x_118); -x_120 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__1; -x_121 = 0; -x_122 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__4; -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_119); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_task_pure(x_123); -x_125 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_10); -lean_ctor_set(x_125, 2, x_120); -lean_ctor_set_uint8(x_125, sizeof(void*)*3, x_121); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_8); -return x_126; -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -lean_dec(x_118); -x_127 = lean_ctor_get(x_117, 1); -lean_inc(x_127); -lean_dec(x_117); -x_128 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_129 = l_Lake_BuildKey_toString(x_1); -x_130 = lean_string_append(x_128, x_129); -lean_dec_ref(x_129); -x_131 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__5; -x_132 = lean_string_append(x_130, x_131); -x_133 = 1; -x_134 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_114, x_133); -x_135 = lean_string_append(x_132, x_134); -lean_dec_ref(x_134); -x_136 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__7; -x_137 = lean_string_append(x_135, x_136); -x_138 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_127, x_133); -x_139 = lean_string_append(x_137, x_138); -lean_dec_ref(x_138); -x_140 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; -x_141 = lean_string_append(x_139, x_140); -x_142 = 3; -x_143 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set_uint8(x_143, sizeof(void*)*1, x_142); -x_144 = lean_array_get_size(x_8); -x_145 = lean_array_push(x_8, x_143); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_144); -lean_ctor_set(x_146, 1, x_145); -return x_146; -} -} -else -{ -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_dec(x_2); +x_116 = lean_ctor_get(x_65, 5); +lean_inc(x_116); +lean_dec(x_65); +x_117 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_116, x_114); lean_dec(x_116); +if (lean_obj_tag(x_117) == 1) +{ +lean_object* x_118; lean_object* x_119; lean_dec(x_114); -x_147 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_148 = l_Lake_BuildKey_toString(x_1); -x_149 = lean_string_append(x_147, x_148); -lean_dec_ref(x_148); -x_150 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +lean_dec_ref(x_117); +lean_inc(x_118); +lean_inc(x_115); +x_119 = l_Lake_Package_findTargetModule_x3f(x_115, x_118); +if (lean_obj_tag(x_119) == 1) +{ +lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec(x_118); +lean_dec(x_115); +lean_dec_ref(x_1); +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +lean_dec_ref(x_119); +x_121 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__1; +x_122 = 0; +x_123 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__4; +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_120); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_task_pure(x_124); +x_126 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_10); +lean_ctor_set(x_126, 2, x_121); +lean_ctor_set_uint8(x_126, sizeof(void*)*3, x_122); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_8); +return x_127; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_dec(x_119); +x_128 = lean_ctor_get(x_118, 1); +lean_inc(x_128); +lean_dec(x_118); +x_129 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_130 = l_Lake_BuildKey_toString(x_1); +x_131 = lean_string_append(x_129, x_130); +lean_dec_ref(x_130); +x_132 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__5; +x_133 = lean_string_append(x_131, x_132); +x_134 = 1; +x_135 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_115, x_134); +x_136 = lean_string_append(x_133, x_135); +lean_dec_ref(x_135); +x_137 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__7; +x_138 = lean_string_append(x_136, x_137); +x_139 = 0; +x_140 = l_Lean_Name_toString(x_128, x_139); +x_141 = lean_string_append(x_138, x_140); +lean_dec_ref(x_140); +x_142 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; +x_143 = lean_string_append(x_141, x_142); +x_144 = 3; +x_145 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_145, 0, x_143); +lean_ctor_set_uint8(x_145, sizeof(void*)*1, x_144); +x_146 = lean_array_get_size(x_8); +x_147 = lean_array_push(x_8, x_145); +x_148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_148, 0, x_146); +lean_ctor_set(x_148, 1, x_147); +return x_148; +} +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; uint8_t x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +lean_dec(x_117); +lean_dec(x_115); +x_149 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_150 = l_Lake_BuildKey_toString(x_1); x_151 = lean_string_append(x_149, x_150); -x_152 = 1; -x_153 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_113, x_152); -x_154 = lean_string_append(x_151, x_153); -lean_dec_ref(x_153); -x_155 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_156 = lean_string_append(x_154, x_155); -x_157 = 3; -x_158 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_158, 0, x_156); -lean_ctor_set_uint8(x_158, sizeof(void*)*1, x_157); -x_159 = lean_array_get_size(x_8); -x_160 = lean_array_push(x_8, x_158); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_159); -lean_ctor_set(x_161, 1, x_160); -return x_161; +lean_dec_ref(x_150); +x_152 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_153 = lean_string_append(x_151, x_152); +x_154 = 1; +x_155 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_114, x_154); +x_156 = lean_string_append(x_153, x_155); +lean_dec_ref(x_155); +x_157 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_158 = lean_string_append(x_156, x_157); +x_159 = 3; +x_160 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_160, 0, x_158); +lean_ctor_set_uint8(x_160, sizeof(void*)*1, x_159); +x_161 = lean_array_get_size(x_8); +x_162 = lean_array_push(x_8, x_160); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_161); +lean_ctor_set(x_163, 1, x_162); +return x_163; } } } case 3: { -uint8_t x_162; -x_162 = !lean_is_exclusive(x_2); -if (x_162 == 0) +uint8_t x_164; +x_164 = !lean_is_exclusive(x_2); +if (x_164 == 0) { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_163 = lean_ctor_get(x_7, 1); -x_164 = lean_ctor_get(x_2, 0); -x_165 = lean_ctor_get(x_2, 1); -x_166 = lean_ctor_get(x_163, 5); -x_167 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_166, x_164); -if (lean_obj_tag(x_167) == 1) +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_165 = lean_ctor_get(x_7, 1); +x_166 = lean_ctor_get(x_2, 0); +x_167 = lean_ctor_get(x_2, 1); +x_168 = lean_ctor_get(x_165, 5); +x_169 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_168, x_166); +if (lean_obj_tag(x_169) == 1) { -lean_object* x_168; lean_object* x_169; -lean_dec(x_164); +lean_object* x_170; lean_object* x_171; +lean_dec(x_166); lean_dec_ref(x_1); -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -lean_dec_ref(x_167); +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +lean_dec_ref(x_169); lean_ctor_set_tag(x_2, 0); -lean_ctor_set(x_2, 0, x_168); -x_169 = lean_apply_7(x_3, x_2, x_4, x_5, x_6, x_7, x_8, lean_box(0)); -return x_169; +lean_ctor_set(x_2, 0, x_170); +x_171 = lean_apply_7(x_3, x_2, x_4, x_5, x_6, x_7, x_8, lean_box(0)); +return x_171; } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +lean_dec(x_169); lean_dec(x_167); -lean_dec(x_165); lean_dec_ref(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_3); -x_170 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_171 = l_Lake_BuildKey_toString(x_1); -x_172 = lean_string_append(x_170, x_171); -lean_dec_ref(x_171); -x_173 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_172 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_173 = l_Lake_BuildKey_toString(x_1); x_174 = lean_string_append(x_172, x_173); -x_175 = 1; -x_176 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_164, x_175); -x_177 = lean_string_append(x_174, x_176); -lean_dec_ref(x_176); -x_178 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_179 = lean_string_append(x_177, x_178); -x_180 = 3; -x_181 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_181, 0, x_179); -lean_ctor_set_uint8(x_181, sizeof(void*)*1, x_180); -x_182 = lean_array_get_size(x_8); -x_183 = lean_array_push(x_8, x_181); +lean_dec_ref(x_173); +x_175 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_176 = lean_string_append(x_174, x_175); +x_177 = 1; +x_178 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_166, x_177); +x_179 = lean_string_append(x_176, x_178); +lean_dec_ref(x_178); +x_180 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_181 = lean_string_append(x_179, x_180); +x_182 = 3; +x_183 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_183, 0, x_181); +lean_ctor_set_uint8(x_183, sizeof(void*)*1, x_182); +x_184 = lean_array_get_size(x_8); +x_185 = lean_array_push(x_8, x_183); lean_ctor_set_tag(x_2, 1); -lean_ctor_set(x_2, 1, x_183); -lean_ctor_set(x_2, 0, x_182); +lean_ctor_set(x_2, 1, x_185); +lean_ctor_set(x_2, 0, x_184); return x_2; } } else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_184 = lean_ctor_get(x_7, 1); -x_185 = lean_ctor_get(x_2, 0); -x_186 = lean_ctor_get(x_2, 1); -lean_inc(x_186); -lean_inc(x_185); +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_186 = lean_ctor_get(x_7, 1); +x_187 = lean_ctor_get(x_2, 0); +x_188 = lean_ctor_get(x_2, 1); +lean_inc(x_188); +lean_inc(x_187); lean_dec(x_2); -x_187 = lean_ctor_get(x_184, 5); -x_188 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_187, x_185); -if (lean_obj_tag(x_188) == 1) +x_189 = lean_ctor_get(x_186, 5); +x_190 = l_Std_DTreeMap_Internal_Impl_get_x3f___at___00__private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_spec__0___redArg(x_189, x_187); +if (lean_obj_tag(x_190) == 1) { -lean_object* x_189; lean_object* x_190; lean_object* x_191; -lean_dec(x_185); +lean_object* x_191; lean_object* x_192; lean_object* x_193; +lean_dec(x_187); lean_dec_ref(x_1); -x_189 = lean_ctor_get(x_188, 0); -lean_inc(x_189); -lean_dec_ref(x_188); -x_190 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_190, 0, x_189); -lean_ctor_set(x_190, 1, x_186); -x_191 = lean_apply_7(x_3, x_190, x_4, x_5, x_6, x_7, x_8, lean_box(0)); -return x_191; +x_191 = lean_ctor_get(x_190, 0); +lean_inc(x_191); +lean_dec_ref(x_190); +x_192 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_192, 0, x_191); +lean_ctor_set(x_192, 1, x_188); +x_193 = lean_apply_7(x_3, x_192, x_4, x_5, x_6, x_7, x_8, lean_box(0)); +return x_193; } else { -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; +lean_dec(x_190); lean_dec(x_188); -lean_dec(x_186); lean_dec_ref(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_3); -x_192 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_193 = l_Lake_BuildKey_toString(x_1); -x_194 = lean_string_append(x_192, x_193); -lean_dec_ref(x_193); -x_195 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_194 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_195 = l_Lake_BuildKey_toString(x_1); x_196 = lean_string_append(x_194, x_195); -x_197 = 1; -x_198 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_185, x_197); -x_199 = lean_string_append(x_196, x_198); -lean_dec_ref(x_198); -x_200 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; -x_201 = lean_string_append(x_199, x_200); -x_202 = 3; -x_203 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_203, 0, x_201); -lean_ctor_set_uint8(x_203, sizeof(void*)*1, x_202); -x_204 = lean_array_get_size(x_8); -x_205 = lean_array_push(x_8, x_203); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_204); -lean_ctor_set(x_206, 1, x_205); -return x_206; +lean_dec_ref(x_195); +x_197 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__1; +x_198 = lean_string_append(x_196, x_197); +x_199 = 1; +x_200 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_187, x_199); +x_201 = lean_string_append(x_198, x_200); +lean_dec_ref(x_200); +x_202 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__2; +x_203 = lean_string_append(x_201, x_202); +x_204 = 3; +x_205 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_205, 0, x_203); +lean_ctor_set_uint8(x_205, sizeof(void*)*1, x_204); +x_206 = lean_array_get_size(x_8); +x_207 = lean_array_push(x_8, x_205); +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_206); +lean_ctor_set(x_208, 1, x_207); +return x_208; } } } default: { -lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_207 = lean_ctor_get(x_2, 0); -x_208 = lean_ctor_get(x_2, 1); +lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_209 = lean_ctor_get(x_2, 0); +x_210 = lean_ctor_get(x_2, 1); lean_inc_ref(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc_ref(x_3); -lean_inc_ref(x_207); +lean_inc_ref(x_209); lean_inc_ref(x_1); -x_209 = l___private_Lake_Build_Target_Fetch_0__Lake_BuildKey_fetchCore(x_1, x_207, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_209) == 0) +x_211 = l___private_Lake_Build_Target_Fetch_0__Lake_BuildKey_fetchCore(x_1, x_209, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_211) == 0) { -uint8_t x_210; -x_210 = !lean_is_exclusive(x_209); -if (x_210 == 0) +uint8_t x_212; +x_212 = !lean_is_exclusive(x_211); +if (x_212 == 0) { -lean_object* x_211; lean_object* x_212; lean_object* x_213; uint8_t x_214; -x_211 = lean_ctor_get(x_209, 0); -x_212 = lean_ctor_get(x_209, 1); -x_213 = lean_ctor_get(x_211, 1); -x_214 = l_Lean_Name_isAnonymous(x_213); -if (x_214 == 0) +lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; +x_213 = lean_ctor_get(x_211, 0); +x_214 = lean_ctor_get(x_211, 1); +x_215 = lean_ctor_get(x_213, 1); +x_216 = l_Lean_Name_isAnonymous(x_215); +if (x_216 == 0) { -lean_object* x_215; lean_object* x_216; -lean_inc(x_208); -lean_inc_ref(x_207); +lean_object* x_217; lean_object* x_218; +lean_inc(x_210); +lean_inc_ref(x_209); lean_dec_ref(x_2); -x_215 = lean_ctor_get(x_7, 1); -x_216 = l_Lake_Workspace_findFacetConfig_x3f(x_208, x_215); -if (lean_obj_tag(x_216) == 1) +x_217 = lean_ctor_get(x_7, 1); +x_218 = l_Lake_Workspace_findFacetConfig_x3f(x_210, x_217); +if (lean_obj_tag(x_218) == 1) { -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_dec_ref(x_1); -x_217 = lean_ctor_get(x_216, 0); -lean_inc(x_217); -lean_dec_ref(x_216); -x_218 = lean_ctor_get(x_217, 2); -lean_inc(x_218); -lean_dec(x_217); -lean_inc(x_213); -x_219 = lean_alloc_closure((void*)(l___private_Lake_Build_Target_Fetch_0__Lake_BuildKey_fetchCore___lam__0___boxed), 11, 3); -lean_closure_set(x_219, 0, x_207); -lean_closure_set(x_219, 1, x_213); -lean_closure_set(x_219, 2, x_208); -x_220 = lean_unsigned_to_nat(0u); -x_221 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__3; -x_222 = l_Lake_Job_bindM___redArg(x_218, x_211, x_219, x_220, x_214, x_3, x_4, x_5, x_6, x_7, x_221); -lean_ctor_set(x_209, 0, x_222); -return x_209; +x_219 = lean_ctor_get(x_218, 0); +lean_inc(x_219); +lean_dec_ref(x_218); +x_220 = lean_ctor_get(x_219, 2); +lean_inc(x_220); +lean_dec(x_219); +lean_inc(x_215); +x_221 = lean_alloc_closure((void*)(l___private_Lake_Build_Target_Fetch_0__Lake_BuildKey_fetchCore___lam__0___boxed), 11, 3); +lean_closure_set(x_221, 0, x_209); +lean_closure_set(x_221, 1, x_215); +lean_closure_set(x_221, 2, x_210); +x_222 = lean_unsigned_to_nat(0u); +x_223 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__3; +x_224 = l_Lake_Job_bindM___redArg(x_220, x_213, x_221, x_222, x_216, x_3, x_4, x_5, x_6, x_7, x_223); +lean_ctor_set(x_211, 0, x_224); +return x_211; } else { -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; -lean_dec(x_216); -lean_dec(x_211); -lean_dec_ref(x_207); +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_218); +lean_dec(x_213); +lean_dec_ref(x_209); lean_dec_ref(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_3); -x_223 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_224 = l_Lake_BuildKey_toString(x_1); -x_225 = lean_string_append(x_223, x_224); -lean_dec_ref(x_224); -x_226 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__11; +x_225 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_226 = l_Lake_BuildKey_toString(x_1); x_227 = lean_string_append(x_225, x_226); -x_228 = 1; -x_229 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_208, x_228); -x_230 = lean_string_append(x_227, x_229); -lean_dec_ref(x_229); -x_231 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; -x_232 = lean_string_append(x_230, x_231); -x_233 = 3; -x_234 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_234, 0, x_232); -lean_ctor_set_uint8(x_234, sizeof(void*)*1, x_233); -x_235 = lean_array_get_size(x_212); -x_236 = lean_array_push(x_212, x_234); -lean_ctor_set_tag(x_209, 1); -lean_ctor_set(x_209, 1, x_236); -lean_ctor_set(x_209, 0, x_235); -return x_209; +lean_dec_ref(x_226); +x_228 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__11; +x_229 = lean_string_append(x_227, x_228); +x_230 = 1; +x_231 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_210, x_230); +x_232 = lean_string_append(x_229, x_231); +lean_dec_ref(x_231); +x_233 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; +x_234 = lean_string_append(x_232, x_233); +x_235 = 3; +x_236 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_236, 0, x_234); +lean_ctor_set_uint8(x_236, sizeof(void*)*1, x_235); +x_237 = lean_array_get_size(x_214); +x_238 = lean_array_push(x_214, x_236); +lean_ctor_set_tag(x_211, 1); +lean_ctor_set(x_211, 1, x_238); +lean_ctor_set(x_211, 0, x_237); +return x_211; } } else { -lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; uint8_t x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -lean_dec(x_211); +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; +lean_dec(x_213); lean_dec_ref(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_3); lean_dec_ref(x_1); -x_237 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_238 = l_Lake_BuildKey_toString(x_2); -x_239 = lean_string_append(x_237, x_238); -lean_dec_ref(x_238); -x_240 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__13; +x_239 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_240 = l_Lake_BuildKey_toString(x_2); x_241 = lean_string_append(x_239, x_240); -x_242 = 3; -x_243 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_243, 0, x_241); -lean_ctor_set_uint8(x_243, sizeof(void*)*1, x_242); -x_244 = lean_array_get_size(x_212); -x_245 = lean_array_push(x_212, x_243); -lean_ctor_set_tag(x_209, 1); -lean_ctor_set(x_209, 1, x_245); -lean_ctor_set(x_209, 0, x_244); -return x_209; +lean_dec_ref(x_240); +x_242 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__13; +x_243 = lean_string_append(x_241, x_242); +x_244 = 3; +x_245 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_245, 0, x_243); +lean_ctor_set_uint8(x_245, sizeof(void*)*1, x_244); +x_246 = lean_array_get_size(x_214); +x_247 = lean_array_push(x_214, x_245); +lean_ctor_set_tag(x_211, 1); +lean_ctor_set(x_211, 1, x_247); +lean_ctor_set(x_211, 0, x_246); +return x_211; } } else { -lean_object* x_246; lean_object* x_247; lean_object* x_248; uint8_t x_249; -x_246 = lean_ctor_get(x_209, 0); -x_247 = lean_ctor_get(x_209, 1); -lean_inc(x_247); -lean_inc(x_246); -lean_dec(x_209); -x_248 = lean_ctor_get(x_246, 1); -x_249 = l_Lean_Name_isAnonymous(x_248); -if (x_249 == 0) -{ -lean_object* x_250; lean_object* x_251; -lean_inc(x_208); -lean_inc_ref(x_207); -lean_dec_ref(x_2); -x_250 = lean_ctor_get(x_7, 1); -x_251 = l_Lake_Workspace_findFacetConfig_x3f(x_208, x_250); -if (lean_obj_tag(x_251) == 1) -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; -lean_dec_ref(x_1); -x_252 = lean_ctor_get(x_251, 0); -lean_inc(x_252); -lean_dec_ref(x_251); -x_253 = lean_ctor_get(x_252, 2); -lean_inc(x_253); -lean_dec(x_252); +lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; +x_248 = lean_ctor_get(x_211, 0); +x_249 = lean_ctor_get(x_211, 1); +lean_inc(x_249); lean_inc(x_248); -x_254 = lean_alloc_closure((void*)(l___private_Lake_Build_Target_Fetch_0__Lake_BuildKey_fetchCore___lam__0___boxed), 11, 3); -lean_closure_set(x_254, 0, x_207); -lean_closure_set(x_254, 1, x_248); -lean_closure_set(x_254, 2, x_208); -x_255 = lean_unsigned_to_nat(0u); -x_256 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__3; -x_257 = l_Lake_Job_bindM___redArg(x_253, x_246, x_254, x_255, x_249, x_3, x_4, x_5, x_6, x_7, x_256); -x_258 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_247); -return x_258; +lean_dec(x_211); +x_250 = lean_ctor_get(x_248, 1); +x_251 = l_Lean_Name_isAnonymous(x_250); +if (x_251 == 0) +{ +lean_object* x_252; lean_object* x_253; +lean_inc(x_210); +lean_inc_ref(x_209); +lean_dec_ref(x_2); +x_252 = lean_ctor_get(x_7, 1); +x_253 = l_Lake_Workspace_findFacetConfig_x3f(x_210, x_252); +if (lean_obj_tag(x_253) == 1) +{ +lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +lean_dec_ref(x_1); +x_254 = lean_ctor_get(x_253, 0); +lean_inc(x_254); +lean_dec_ref(x_253); +x_255 = lean_ctor_get(x_254, 2); +lean_inc(x_255); +lean_dec(x_254); +lean_inc(x_250); +x_256 = lean_alloc_closure((void*)(l___private_Lake_Build_Target_Fetch_0__Lake_BuildKey_fetchCore___lam__0___boxed), 11, 3); +lean_closure_set(x_256, 0, x_209); +lean_closure_set(x_256, 1, x_250); +lean_closure_set(x_256, 2, x_210); +x_257 = lean_unsigned_to_nat(0u); +x_258 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__3; +x_259 = l_Lake_Job_bindM___redArg(x_255, x_248, x_256, x_257, x_251, x_3, x_4, x_5, x_6, x_7, x_258); +x_260 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_249); +return x_260; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; uint8_t x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; -lean_dec(x_251); -lean_dec(x_246); -lean_dec_ref(x_207); +lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +lean_dec(x_253); +lean_dec(x_248); +lean_dec_ref(x_209); lean_dec_ref(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_3); -x_259 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_260 = l_Lake_BuildKey_toString(x_1); -x_261 = lean_string_append(x_259, x_260); -lean_dec_ref(x_260); -x_262 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__11; +x_261 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_262 = l_Lake_BuildKey_toString(x_1); x_263 = lean_string_append(x_261, x_262); -x_264 = 1; -x_265 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_208, x_264); -x_266 = lean_string_append(x_263, x_265); -lean_dec_ref(x_265); -x_267 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; -x_268 = lean_string_append(x_266, x_267); -x_269 = 3; -x_270 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_270, 0, x_268); -lean_ctor_set_uint8(x_270, sizeof(void*)*1, x_269); -x_271 = lean_array_get_size(x_247); -x_272 = lean_array_push(x_247, x_270); -x_273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_273, 0, x_271); -lean_ctor_set(x_273, 1, x_272); -return x_273; +lean_dec_ref(x_262); +x_264 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__11; +x_265 = lean_string_append(x_263, x_264); +x_266 = 1; +x_267 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_210, x_266); +x_268 = lean_string_append(x_265, x_267); +lean_dec_ref(x_267); +x_269 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__8; +x_270 = lean_string_append(x_268, x_269); +x_271 = 3; +x_272 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_272, 0, x_270); +lean_ctor_set_uint8(x_272, sizeof(void*)*1, x_271); +x_273 = lean_array_get_size(x_249); +x_274 = lean_array_push(x_249, x_272); +x_275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_275, 0, x_273); +lean_ctor_set(x_275, 1, x_274); +return x_275; } } else { -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; uint8_t x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; -lean_dec(x_246); +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; uint8_t x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; +lean_dec(x_248); lean_dec_ref(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_3); lean_dec_ref(x_1); -x_274 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; -x_275 = l_Lake_BuildKey_toString(x_2); -x_276 = lean_string_append(x_274, x_275); -lean_dec_ref(x_275); -x_277 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__13; +x_276 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux_resolveTargetPackageD___redArg___closed__0; +x_277 = l_Lake_BuildKey_toString(x_2); x_278 = lean_string_append(x_276, x_277); -x_279 = 3; -x_280 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_280, 0, x_278); -lean_ctor_set_uint8(x_280, sizeof(void*)*1, x_279); -x_281 = lean_array_get_size(x_247); -x_282 = lean_array_push(x_247, x_280); -x_283 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_283, 0, x_281); -lean_ctor_set(x_283, 1, x_282); -return x_283; +lean_dec_ref(x_277); +x_279 = l___private_Lake_Build_Target_Fetch_0__Lake_PartialBuildKey_fetchInCoreAux___closed__13; +x_280 = lean_string_append(x_278, x_279); +x_281 = 3; +x_282 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_282, 0, x_280); +lean_ctor_set_uint8(x_282, sizeof(void*)*1, x_281); +x_283 = lean_array_get_size(x_249); +x_284 = lean_array_push(x_249, x_282); +x_285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set(x_285, 1, x_284); +return x_285; } } } @@ -3503,7 +3512,7 @@ lean_dec(x_4); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -return x_209; +return x_211; } } } diff --git a/stage0/stdlib/Lake/Config/OutFormat.c b/stage0/stdlib/Lake/Config/OutFormat.c index 0d49bf5166..a46ad9950c 100644 --- a/stage0/stdlib/Lake/Config/OutFormat.c +++ b/stage0/stdlib/Lake/Config/OutFormat.c @@ -23,45 +23,46 @@ LEAN_EXPORT lean_object* l_Lake_instQueryText___lam__0(lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryJson___lam__0(lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryTextOfToText___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lake_OutFormat_text_elim___redArg(lean_object*); -static lean_object* l_Lake_instToTextArray___redArg___lam__1___closed__8; +LEAN_EXPORT lean_object* l_Lake_instQueryJsonArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instToTextOfToString(lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lake_ppModuleHeader_spec__0(uint8_t, lean_object*, size_t, size_t, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Lake_instToTextList___redArg___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryJsonUnit; +LEAN_EXPORT lean_object* l_Lake_instQueryJsonList(lean_object*, lean_object*); +static lean_object* l_Lake_arrayToLines___redArg___closed__4; LEAN_EXPORT lean_object* l_Lake_instQueryText___lam__0___boxed(lean_object*); -static lean_object* l_Lake_instToTextArray___redArg___lam__1___closed__2; static lean_object* l_Lake_instToTextJson___closed__0; -static lean_object* l_Lake_instToTextArray___redArg___lam__1___closed__4; static lean_object* l_Lake_ppImport___closed__3; static lean_object* l_Lake_ppModuleHeader___closed__1; lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* lean_string_push(lean_object*, uint32_t); -static lean_object* l_Lake_instToTextList___redArg___lam__0___closed__0; -static lean_object* l_Lake_instToTextArray___redArg___lam__1___closed__7; LEAN_EXPORT lean_object* l_Lake_formatQuery___redArg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lake_instToTextArray___redArg___lam__1___closed__0; size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lake_instToTextOfToString___redArg___boxed(lean_object*); +static lean_object* l_Lake_arrayToLines___redArg___closed__5; static lean_object* l_Lake_ppImport___closed__2; +static lean_object* l_Lake_arrayToLines___redArg___closed__3; LEAN_EXPORT lean_object* l_Lake_OutFormat_text_elim(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lake_OutFormat_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_nullFormat___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instToTextJson; +LEAN_EXPORT lean_object* l_Lake_instQueryTextArray___redArg(lean_object*); +LEAN_EXPORT lean_object* l_Lake_arrayToLines(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instToTextList___redArg(lean_object*); -static lean_object* l_Lake_instToTextArray___redArg___lam__1___closed__1; lean_object* l_List_foldl___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__2___boxed(lean_object*, lean_object*); lean_object* l_String_Slice_Pos_prevn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_ppImport___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_instQueryJsonArray___redArg(lean_object*); +LEAN_EXPORT lean_object* l_Lake_instQueryJsonList___redArg___lam__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_OutFormat_ctorIdx(uint8_t); LEAN_EXPORT lean_object* l_Lake_ppImport(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lake_instFormatQueryOfQueryTextOfQueryJson___redArg(lean_object*, lean_object*); -static lean_object* l_Lake_instToTextArray___redArg___lam__1___closed__9; -static lean_object* l_Lake_instToTextArray___redArg___lam__1___closed__5; -static lean_object* l_Lake_instToTextArray___redArg___lam__1___closed__6; +LEAN_EXPORT lean_object* l_Lake_listToLines___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryTextOfToText___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryJsonUnit___lam__0(lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryJson___lam__0___boxed(lean_object*); @@ -69,7 +70,6 @@ lean_object* l_Id_instMonad___lam__3(lean_object*, lean_object*, lean_object*, l LEAN_EXPORT lean_object* l_Lake_instQueryTextUnit; LEAN_EXPORT lean_object* l_Lake_OutFormat_json_elim___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_OutFormat_ctorElim___redArg(lean_object*); -static lean_object* l_Lake_instToTextList___redArg___lam__1___closed__0; LEAN_EXPORT lean_object* l_Lake_OutFormat_text_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_OutFormat_ctorElim(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_nullFormat(lean_object*, uint8_t, lean_object*); @@ -78,33 +78,51 @@ LEAN_EXPORT lean_object* l_Lake_OutFormat_ctorElim___redArg___boxed(lean_object* LEAN_EXPORT lean_object* l_Lake_OutFormat_json_elim(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryTextOfToText___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_OutFormat_json_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lake_arrayToLines___redArg___closed__2; +LEAN_EXPORT lean_object* l_Lake_instQueryTextList(lean_object*, lean_object*); +static lean_object* l_Lake_listToLines___redArg___closed__0; +static lean_object* l_Lake_arrayToLines___redArg___closed__0; +static lean_object* l_Lake_arrayToLines___redArg___closed__8; LEAN_EXPORT lean_object* l_Lake_nullFormat___redArg___boxed(lean_object*); -static lean_object* l_Lake_instToTextArray___redArg___lam__1___closed__3; +LEAN_EXPORT lean_object* l_Lake_listToLines(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryJsonOfToJson___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lake_ppModuleHeader(lean_object*); +static lean_object* l_Lake_arrayToLines___redArg___closed__9; +static lean_object* l_Lake_arrayToLines___redArg___closed__1; lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_OutFormat_json_elim___redArg(lean_object*); +static lean_object* l_Lake_arrayToLines___redArg___closed__7; LEAN_EXPORT lean_object* l_Lake_instToTextArray___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lake_ppModuleHeader___boxed(lean_object*); static lean_object* l_Lake_instQueryJson___closed__0; static lean_object* l_Lake_ppModuleHeader___closed__0; +LEAN_EXPORT lean_object* l_Lake_instQueryJsonList___redArg(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instToTextList(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lake_instQueryTextList___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lake_formatQuery(lean_object*, lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lake_instQueryJsonArray___redArg___lam__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryJsonOfToJson___redArg(lean_object*); static lean_object* l_Lake_ppImport___closed__1; +static lean_object* l_Lake_listToLines___redArg___lam__0___closed__0; lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lake_Config_OutFormat_0__Lake_instQueryTextModuleHeader___closed__0; +LEAN_EXPORT lean_object* l_Lake_listToLines___redArg___lam__0(lean_object*, lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__6(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instToTextArray(lean_object*, lean_object*); +lean_object* lean_array_mk(lean_object*); LEAN_EXPORT lean_object* l_Lake_OutFormat_toCtorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lake_instQueryTextArray(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Lake_instQueryJsonList___redArg___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryJsonOfToJson(lean_object*, lean_object*); static lean_object* l_Lake_instQueryJsonUnit___closed__0; LEAN_EXPORT lean_object* l_Lake_instQueryTextUnit___lam__0(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); +size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Lake_OutFormat_toCtorIdx(uint8_t); LEAN_EXPORT lean_object* l_Lake_instQueryText(lean_object*); +static lean_object* l_Lake_arrayToLines___redArg___closed__6; static lean_object* l_Lake_instQueryTextUnit___closed__0; LEAN_EXPORT lean_object* l_Lake_instFormatQueryOfQueryTextOfQueryJson(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_Config_OutFormat_0__Lake_instQueryTextModuleHeader; @@ -112,6 +130,7 @@ lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_instQueryJson(lean_object*); LEAN_EXPORT lean_object* l_Lake_instToTextList___redArg___lam__1(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Lake_arrayToLines___redArg(lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lake_formatQuery___redArg(lean_object*, uint8_t, lean_object*); @@ -299,6 +318,322 @@ lean_dec_ref(x_2); return x_3; } } +static lean_object* _init_l_Lake_listToLines___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("\n", 1, 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lake_listToLines___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_apply_1(x_1, x_3); +x_5 = lean_string_append(x_2, x_4); +lean_dec_ref(x_4); +x_6 = l_Lake_listToLines___redArg___lam__0___closed__0; +x_7 = lean_string_append(x_5, x_6); +return x_7; +} +} +static lean_object* _init_l_Lake_listToLines___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lake_listToLines___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_3 = lean_alloc_closure((void*)(l_Lake_listToLines___redArg___lam__0), 3, 1); +lean_closure_set(x_3, 0, x_2); +x_4 = l_Lake_listToLines___redArg___closed__0; +x_5 = l_List_foldl___redArg(x_3, x_4, x_1); +x_6 = lean_unsigned_to_nat(1u); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_string_utf8_byte_size(x_5); +lean_inc(x_5); +x_9 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_7); +lean_ctor_set(x_9, 2, x_8); +x_10 = l_String_Slice_Pos_prevn(x_9, x_8, x_6); +lean_dec_ref(x_9); +x_11 = lean_string_utf8_extract(x_5, x_7, x_10); +lean_dec(x_10); +lean_dec(x_5); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lake_listToLines(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_4 = lean_alloc_closure((void*)(l_Lake_listToLines___redArg___lam__0), 3, 1); +lean_closure_set(x_4, 0, x_3); +x_5 = l_Lake_listToLines___redArg___closed__0; +x_6 = l_List_foldl___redArg(x_4, x_5, x_2); +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_string_utf8_byte_size(x_6); +lean_inc(x_6); +x_10 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_10, 0, x_6); +lean_ctor_set(x_10, 1, x_8); +lean_ctor_set(x_10, 2, x_9); +x_11 = l_String_Slice_Pos_prevn(x_10, x_9, x_7); +lean_dec_ref(x_10); +x_12 = lean_string_utf8_extract(x_6, x_8, x_11); +lean_dec(x_11); +lean_dec(x_6); +return x_12; +} +} +static lean_object* _init_l_Lake_arrayToLines___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__0), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lake_arrayToLines___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__1___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lake_arrayToLines___redArg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__2___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lake_arrayToLines___redArg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__3), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lake_arrayToLines___redArg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__4___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lake_arrayToLines___redArg___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__5___boxed), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lake_arrayToLines___redArg___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__6), 4, 0); +return x_1; +} +} +static lean_object* _init_l_Lake_arrayToLines___redArg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_arrayToLines___redArg___closed__1; +x_2 = l_Lake_arrayToLines___redArg___closed__0; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lake_arrayToLines___redArg___closed__8() { +_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_Lake_arrayToLines___redArg___closed__5; +x_2 = l_Lake_arrayToLines___redArg___closed__4; +x_3 = l_Lake_arrayToLines___redArg___closed__3; +x_4 = l_Lake_arrayToLines___redArg___closed__2; +x_5 = l_Lake_arrayToLines___redArg___closed__7; +x_6 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_2); +lean_ctor_set(x_6, 4, x_1); +return x_6; +} +} +static lean_object* _init_l_Lake_arrayToLines___redArg___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lake_arrayToLines___redArg___closed__6; +x_2 = l_Lake_arrayToLines___redArg___closed__8; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lake_arrayToLines___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_11 = l_Lake_listToLines___redArg___closed__0; +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_get_size(x_1); +x_14 = l_Lake_arrayToLines___redArg___closed__9; +x_15 = lean_nat_dec_lt(x_12, x_13); +if (x_15 == 0) +{ +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_3 = x_11; +goto block_10; +} +else +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_alloc_closure((void*)(l_Lake_listToLines___redArg___lam__0), 3, 1); +lean_closure_set(x_16, 0, x_2); +x_17 = lean_nat_dec_le(x_13, x_13); +if (x_17 == 0) +{ +if (x_15 == 0) +{ +lean_dec_ref(x_16); +lean_dec_ref(x_1); +x_3 = x_11; +goto block_10; +} +else +{ +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = 0; +x_19 = lean_usize_of_nat(x_13); +x_20 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_14, x_16, x_1, x_18, x_19, x_11); +x_3 = x_20; +goto block_10; +} +} +else +{ +size_t x_21; size_t x_22; lean_object* x_23; +x_21 = 0; +x_22 = lean_usize_of_nat(x_13); +x_23 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_14, x_16, x_1, x_21, x_22, x_11); +x_3 = x_23; +goto block_10; +} +} +block_10: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_unsigned_to_nat(1u); +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_string_utf8_byte_size(x_3); +lean_inc_ref(x_3); +x_7 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_7, 0, x_3); +lean_ctor_set(x_7, 1, x_5); +lean_ctor_set(x_7, 2, x_6); +x_8 = l_String_Slice_Pos_prevn(x_7, x_6, x_4); +lean_dec_ref(x_7); +x_9 = lean_string_utf8_extract(x_3, x_5, x_8); +lean_dec(x_8); +lean_dec_ref(x_3); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Lake_arrayToLines(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = l_Lake_listToLines___redArg___closed__0; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_get_size(x_2); +x_15 = l_Lake_arrayToLines___redArg___closed__9; +x_16 = lean_nat_dec_lt(x_13, x_14); +if (x_16 == 0) +{ +lean_dec_ref(x_3); +lean_dec_ref(x_2); +x_4 = x_12; +goto block_11; +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_alloc_closure((void*)(l_Lake_listToLines___redArg___lam__0), 3, 1); +lean_closure_set(x_17, 0, x_3); +x_18 = lean_nat_dec_le(x_14, x_14); +if (x_18 == 0) +{ +if (x_16 == 0) +{ +lean_dec_ref(x_17); +lean_dec_ref(x_2); +x_4 = x_12; +goto block_11; +} +else +{ +size_t x_19; size_t x_20; lean_object* x_21; +x_19 = 0; +x_20 = lean_usize_of_nat(x_14); +x_21 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_15, x_17, x_2, x_19, x_20, x_12); +x_4 = x_21; +goto block_11; +} +} +else +{ +size_t x_22; size_t x_23; lean_object* x_24; +x_22 = 0; +x_23 = lean_usize_of_nat(x_14); +x_24 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold(lean_box(0), lean_box(0), lean_box(0), x_15, x_17, x_2, x_22, x_23, x_12); +x_4 = x_24; +goto block_11; +} +} +block_11: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = lean_unsigned_to_nat(1u); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_string_utf8_byte_size(x_4); +lean_inc_ref(x_4); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_4); +lean_ctor_set(x_8, 1, x_6); +lean_ctor_set(x_8, 2, x_7); +x_9 = l_String_Slice_Pos_prevn(x_8, x_7, x_5); +lean_dec_ref(x_8); +x_10 = lean_string_utf8_extract(x_4, x_6, x_9); +lean_dec(x_9); +lean_dec_ref(x_4); +return x_10; +} +} +} static lean_object* _init_l_Lake_instToTextJson___closed__0() { _start: { @@ -315,14 +650,6 @@ x_1 = l_Lake_instToTextJson___closed__0; return x_1; } } -static lean_object* _init_l_Lake_instToTextList___redArg___lam__0___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("\n", 1, 1); -return x_1; -} -} LEAN_EXPORT lean_object* l_Lake_instToTextList___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -330,24 +657,16 @@ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_apply_1(x_1, x_3); x_5 = lean_string_append(x_2, x_4); lean_dec_ref(x_4); -x_6 = l_Lake_instToTextList___redArg___lam__0___closed__0; +x_6 = l_Lake_listToLines___redArg___lam__0___closed__0; x_7 = lean_string_append(x_5, x_6); return x_7; } } -static lean_object* _init_l_Lake_instToTextList___redArg___lam__1___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("", 0, 0); -return x_1; -} -} LEAN_EXPORT lean_object* l_Lake_instToTextList___redArg___lam__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_3 = l_Lake_instToTextList___redArg___lam__1___closed__0; +x_3 = l_Lake_listToLines___redArg___closed__0; x_4 = l_List_foldl___redArg(x_1, x_3, x_2); x_5 = lean_unsigned_to_nat(1u); x_6 = lean_unsigned_to_nat(0u); @@ -384,112 +703,14 @@ x_3 = l_Lake_instToTextList___redArg(x_2); return x_3; } } -static lean_object* _init_l_Lake_instToTextArray___redArg___lam__1___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__0), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lake_instToTextArray___redArg___lam__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__1___boxed), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lake_instToTextArray___redArg___lam__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__2___boxed), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lake_instToTextArray___redArg___lam__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__3), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lake_instToTextArray___redArg___lam__1___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__4___boxed), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lake_instToTextArray___redArg___lam__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__5___boxed), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lake_instToTextArray___redArg___lam__1___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Id_instMonad___lam__6), 4, 0); -return x_1; -} -} -static lean_object* _init_l_Lake_instToTextArray___redArg___lam__1___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_instToTextArray___redArg___lam__1___closed__1; -x_2 = l_Lake_instToTextArray___redArg___lam__1___closed__0; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lake_instToTextArray___redArg___lam__1___closed__8() { -_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_Lake_instToTextArray___redArg___lam__1___closed__5; -x_2 = l_Lake_instToTextArray___redArg___lam__1___closed__4; -x_3 = l_Lake_instToTextArray___redArg___lam__1___closed__3; -x_4 = l_Lake_instToTextArray___redArg___lam__1___closed__2; -x_5 = l_Lake_instToTextArray___redArg___lam__1___closed__7; -x_6 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_4); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_2); -lean_ctor_set(x_6, 4, x_1); -return x_6; -} -} -static lean_object* _init_l_Lake_instToTextArray___redArg___lam__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lake_instToTextArray___redArg___lam__1___closed__6; -x_2 = l_Lake_instToTextArray___redArg___lam__1___closed__8; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} LEAN_EXPORT lean_object* l_Lake_instToTextArray___redArg___lam__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_11 = l_Lake_instToTextList___redArg___lam__1___closed__0; +x_11 = l_Lake_listToLines___redArg___closed__0; x_12 = lean_unsigned_to_nat(0u); x_13 = lean_array_get_size(x_2); -x_14 = l_Lake_instToTextArray___redArg___lam__1___closed__9; +x_14 = l_Lake_arrayToLines___redArg___closed__9; x_15 = lean_nat_dec_lt(x_12, x_13); if (x_15 == 0) { @@ -574,7 +795,7 @@ LEAN_EXPORT lean_object* l_Lake_instQueryText___lam__0(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lake_instToTextList___redArg___lam__1___closed__0; +x_2 = l_Lake_listToLines___redArg___closed__0; return x_2; } } @@ -635,11 +856,49 @@ lean_dec_ref(x_2); return x_3; } } +LEAN_EXPORT lean_object* l_Lake_instQueryTextList___redArg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_alloc_closure((void*)(l_Lake_instToTextList___redArg___lam__0), 3, 1); +lean_closure_set(x_2, 0, x_1); +x_3 = lean_alloc_closure((void*)(l_Lake_instToTextList___redArg___lam__1), 2, 1); +lean_closure_set(x_3, 0, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lake_instQueryTextList(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lake_instQueryTextList___redArg(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lake_instQueryTextArray___redArg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_alloc_closure((void*)(l_Lake_instToTextList___redArg___lam__0), 3, 1); +lean_closure_set(x_2, 0, x_1); +x_3 = lean_alloc_closure((void*)(l_Lake_instToTextArray___redArg___lam__1), 2, 1); +lean_closure_set(x_3, 0, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lake_instQueryTextArray(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lake_instQueryTextArray___redArg(x_2); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lake_instQueryTextUnit___lam__0(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lake_instToTextList___redArg___lam__1___closed__0; +x_2 = l_Lake_listToLines___redArg___closed__0; return x_2; } } @@ -724,6 +983,79 @@ lean_dec_ref(x_2); return x_3; } } +LEAN_EXPORT lean_object* l_Lake_instQueryJsonList___redArg___lam__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_apply_1(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lake_instQueryJsonList___redArg___lam__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; size_t x_5; size_t x_6; lean_object* x_7; lean_object* x_8; +x_3 = lean_array_mk(x_2); +x_4 = l_Lake_arrayToLines___redArg___closed__9; +x_5 = lean_array_size(x_3); +x_6 = 0; +x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_4, x_1, x_5, x_6, x_3); +x_8 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lake_instQueryJsonList___redArg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_alloc_closure((void*)(l_Lake_instQueryJsonList___redArg___lam__0), 2, 1); +lean_closure_set(x_2, 0, x_1); +x_3 = lean_alloc_closure((void*)(l_Lake_instQueryJsonList___redArg___lam__1), 2, 1); +lean_closure_set(x_3, 0, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lake_instQueryJsonList(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lake_instQueryJsonList___redArg(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lake_instQueryJsonArray___redArg___lam__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; size_t x_4; size_t x_5; lean_object* x_6; lean_object* x_7; +x_3 = l_Lake_arrayToLines___redArg___closed__9; +x_4 = lean_array_size(x_2); +x_5 = 0; +x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map(lean_box(0), lean_box(0), lean_box(0), x_3, x_1, x_4, x_5, x_2); +x_7 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lake_instQueryJsonArray___redArg(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_alloc_closure((void*)(l_Lake_instQueryJsonList___redArg___lam__0), 2, 1); +lean_closure_set(x_2, 0, x_1); +x_3 = lean_alloc_closure((void*)(l_Lake_instQueryJsonArray___redArg___lam__1), 2, 1); +lean_closure_set(x_3, 0, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lake_instQueryJsonArray(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lake_instQueryJsonArray___redArg(x_2); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lake_instQueryJsonUnit___lam__0(lean_object* x_1) { _start: { @@ -783,7 +1115,7 @@ _start: if (x_1 == 0) { lean_object* x_2; -x_2 = l_Lake_instToTextList___redArg___lam__1___closed__0; +x_2 = l_Lake_listToLines___redArg___closed__0; return x_2; } else @@ -1144,34 +1476,34 @@ lean_dec_ref(res); res = initialize_Init_Data_String_TakeDrop(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lake_listToLines___redArg___lam__0___closed__0 = _init_l_Lake_listToLines___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Lake_listToLines___redArg___lam__0___closed__0); +l_Lake_listToLines___redArg___closed__0 = _init_l_Lake_listToLines___redArg___closed__0(); +lean_mark_persistent(l_Lake_listToLines___redArg___closed__0); +l_Lake_arrayToLines___redArg___closed__0 = _init_l_Lake_arrayToLines___redArg___closed__0(); +lean_mark_persistent(l_Lake_arrayToLines___redArg___closed__0); +l_Lake_arrayToLines___redArg___closed__1 = _init_l_Lake_arrayToLines___redArg___closed__1(); +lean_mark_persistent(l_Lake_arrayToLines___redArg___closed__1); +l_Lake_arrayToLines___redArg___closed__2 = _init_l_Lake_arrayToLines___redArg___closed__2(); +lean_mark_persistent(l_Lake_arrayToLines___redArg___closed__2); +l_Lake_arrayToLines___redArg___closed__3 = _init_l_Lake_arrayToLines___redArg___closed__3(); +lean_mark_persistent(l_Lake_arrayToLines___redArg___closed__3); +l_Lake_arrayToLines___redArg___closed__4 = _init_l_Lake_arrayToLines___redArg___closed__4(); +lean_mark_persistent(l_Lake_arrayToLines___redArg___closed__4); +l_Lake_arrayToLines___redArg___closed__5 = _init_l_Lake_arrayToLines___redArg___closed__5(); +lean_mark_persistent(l_Lake_arrayToLines___redArg___closed__5); +l_Lake_arrayToLines___redArg___closed__6 = _init_l_Lake_arrayToLines___redArg___closed__6(); +lean_mark_persistent(l_Lake_arrayToLines___redArg___closed__6); +l_Lake_arrayToLines___redArg___closed__7 = _init_l_Lake_arrayToLines___redArg___closed__7(); +lean_mark_persistent(l_Lake_arrayToLines___redArg___closed__7); +l_Lake_arrayToLines___redArg___closed__8 = _init_l_Lake_arrayToLines___redArg___closed__8(); +lean_mark_persistent(l_Lake_arrayToLines___redArg___closed__8); +l_Lake_arrayToLines___redArg___closed__9 = _init_l_Lake_arrayToLines___redArg___closed__9(); +lean_mark_persistent(l_Lake_arrayToLines___redArg___closed__9); l_Lake_instToTextJson___closed__0 = _init_l_Lake_instToTextJson___closed__0(); lean_mark_persistent(l_Lake_instToTextJson___closed__0); l_Lake_instToTextJson = _init_l_Lake_instToTextJson(); lean_mark_persistent(l_Lake_instToTextJson); -l_Lake_instToTextList___redArg___lam__0___closed__0 = _init_l_Lake_instToTextList___redArg___lam__0___closed__0(); -lean_mark_persistent(l_Lake_instToTextList___redArg___lam__0___closed__0); -l_Lake_instToTextList___redArg___lam__1___closed__0 = _init_l_Lake_instToTextList___redArg___lam__1___closed__0(); -lean_mark_persistent(l_Lake_instToTextList___redArg___lam__1___closed__0); -l_Lake_instToTextArray___redArg___lam__1___closed__0 = _init_l_Lake_instToTextArray___redArg___lam__1___closed__0(); -lean_mark_persistent(l_Lake_instToTextArray___redArg___lam__1___closed__0); -l_Lake_instToTextArray___redArg___lam__1___closed__1 = _init_l_Lake_instToTextArray___redArg___lam__1___closed__1(); -lean_mark_persistent(l_Lake_instToTextArray___redArg___lam__1___closed__1); -l_Lake_instToTextArray___redArg___lam__1___closed__2 = _init_l_Lake_instToTextArray___redArg___lam__1___closed__2(); -lean_mark_persistent(l_Lake_instToTextArray___redArg___lam__1___closed__2); -l_Lake_instToTextArray___redArg___lam__1___closed__3 = _init_l_Lake_instToTextArray___redArg___lam__1___closed__3(); -lean_mark_persistent(l_Lake_instToTextArray___redArg___lam__1___closed__3); -l_Lake_instToTextArray___redArg___lam__1___closed__4 = _init_l_Lake_instToTextArray___redArg___lam__1___closed__4(); -lean_mark_persistent(l_Lake_instToTextArray___redArg___lam__1___closed__4); -l_Lake_instToTextArray___redArg___lam__1___closed__5 = _init_l_Lake_instToTextArray___redArg___lam__1___closed__5(); -lean_mark_persistent(l_Lake_instToTextArray___redArg___lam__1___closed__5); -l_Lake_instToTextArray___redArg___lam__1___closed__6 = _init_l_Lake_instToTextArray___redArg___lam__1___closed__6(); -lean_mark_persistent(l_Lake_instToTextArray___redArg___lam__1___closed__6); -l_Lake_instToTextArray___redArg___lam__1___closed__7 = _init_l_Lake_instToTextArray___redArg___lam__1___closed__7(); -lean_mark_persistent(l_Lake_instToTextArray___redArg___lam__1___closed__7); -l_Lake_instToTextArray___redArg___lam__1___closed__8 = _init_l_Lake_instToTextArray___redArg___lam__1___closed__8(); -lean_mark_persistent(l_Lake_instToTextArray___redArg___lam__1___closed__8); -l_Lake_instToTextArray___redArg___lam__1___closed__9 = _init_l_Lake_instToTextArray___redArg___lam__1___closed__9(); -lean_mark_persistent(l_Lake_instToTextArray___redArg___lam__1___closed__9); l_Lake_instQueryText___closed__0 = _init_l_Lake_instQueryText___closed__0(); lean_mark_persistent(l_Lake_instQueryText___closed__0); l_Lake_instQueryTextUnit___closed__0 = _init_l_Lake_instQueryTextUnit___closed__0(); diff --git a/stage0/stdlib/Lake/DSL/Key.c b/stage0/stdlib/Lake/DSL/Key.c index ef5de6cb64..5921812db1 100644 --- a/stage0/stdlib/Lake/DSL/Key.c +++ b/stage0/stdlib/Lake/DSL/Key.c @@ -37,6 +37,7 @@ static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit_ static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__17; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__0(size_t, size_t, lean_object*); static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit__1___closed__4; +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__12; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetKeyLit___closed__8; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetKeyLit___closed__3; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); @@ -56,8 +57,10 @@ static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLi static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit__1___closed__3; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__8; lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__10; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__2; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetKeyLit___closed__4; +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__11; static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__13; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__4; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit__1___closed__9; @@ -91,6 +94,7 @@ LEAN_EXPORT lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTarget static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__15; +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__18; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetKeyLit___closed__5; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit__1___closed__5; LEAN_EXPORT lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetKeyLit__1(); @@ -101,6 +105,7 @@ static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit_ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__7; +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__13; lean_object* l_Lean_Syntax_node1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__17; static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__11; @@ -112,6 +117,7 @@ static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__4; static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__9; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__0; +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__15; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__3; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__5; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__13; @@ -123,6 +129,7 @@ static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLi lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__0; +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__14; static lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__1; lean_object* l_Lean_Name_mkStr1(lean_object*); static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__16; @@ -132,6 +139,7 @@ static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetKeyL lean_object* lean_array_get_size(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__17; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lake_Name_quoteFrom(lean_object*, lean_object*, uint8_t); @@ -139,6 +147,7 @@ static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit_ static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__8; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetKeyLit__1___closed__0; static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetKeyLit___closed__9; +static lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__16; static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__0() { _start: { @@ -1111,7 +1120,7 @@ static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTarge _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("PartialBuildKey.mk", 18, 18); +x_1 = lean_mk_string_unchecked("BuildKey.module", 15, 15); return x_1; } } @@ -1128,51 +1137,53 @@ static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTarge _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("PartialBuildKey", 15, 15); +x_1 = lean_mk_string_unchecked("module", 6, 6); return x_1; } } static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__5() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_unchecked("mk", 2, 2); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__4; +x_2 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__7; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; } } static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__5; -x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__4; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__7() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__5; -x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__4; +x_1 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__4; +x_2 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__7; x_3 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__10; x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); return x_4; } } -static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__8() { +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__7; +x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__6; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__9() { _start: { @@ -1185,6 +1196,96 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__9; +x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__7; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PartialBuildKey.mk", 18, 18); +return x_1; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__11; +x_2 = l_String_toRawSubstring_x27(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("PartialBuildKey", 15, 15); +return x_1; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("mk", 2, 2); +return x_1; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__14; +x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__13; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__14; +x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__13; +x_3 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__10; +x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__16; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__17; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -1223,253 +1324,249 @@ return x_16; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_17; uint8_t x_18; x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec_ref(x_15); -x_18 = l_Lean_Syntax_getArg(x_1, x_9); -x_19 = l_Lean_TSyntax_getId(x_18); -x_20 = !lean_is_exclusive(x_2); -if (x_20 == 0) +x_18 = !lean_is_exclusive(x_2); +if (x_18 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_21 = lean_ctor_get(x_2, 1); -x_22 = lean_ctor_get(x_2, 2); -x_23 = lean_ctor_get(x_2, 5); -x_24 = 0; -x_25 = l_Lake_Name_quoteFrom(x_18, x_19, x_24); -x_26 = lean_unsigned_to_nat(0u); -x_27 = l_Lean_Syntax_getArg(x_1, x_26); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_19 = lean_ctor_get(x_2, 1); +x_20 = lean_ctor_get(x_2, 2); +x_21 = lean_ctor_get(x_2, 5); +x_22 = l_Lean_Syntax_getArg(x_1, x_9); +x_23 = l_Lean_TSyntax_getId(x_22); +x_24 = lean_unsigned_to_nat(0u); +x_25 = l_Lean_Syntax_getArg(x_1, x_24); lean_dec(x_1); -x_28 = lean_box(0); -lean_inc(x_27); -x_29 = l_Lake_Name_quoteFrom(x_27, x_28, x_24); -x_30 = l_Lean_replaceRef(x_27, x_23); -lean_dec(x_23); -lean_dec(x_27); -lean_inc(x_30); -lean_inc(x_22); -lean_inc(x_21); -lean_ctor_set(x_2, 5, x_30); -x_31 = l_Lean_SourceInfo_fromRef(x_30, x_24); -lean_dec(x_30); -x_32 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__4; -x_33 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__10; -x_34 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__12; -lean_inc(x_22); -lean_inc(x_21); -x_35 = l_Lean_addMacroScope(x_21, x_34, x_22); -x_36 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__17; -lean_inc(x_31); -x_37 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_37, 0, x_31); -lean_ctor_set(x_37, 1, x_33); -lean_ctor_set(x_37, 2, x_35); -lean_ctor_set(x_37, 3, x_36); -x_38 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__17; -lean_inc(x_31); -x_39 = l_Lean_Syntax_node2(x_31, x_38, x_29, x_25); -lean_inc(x_31); -x_40 = l_Lean_Syntax_node2(x_31, x_32, x_37, x_39); -x_41 = l___private_Lake_DSL_Key_0__Lake_DSL_expandFacets(x_40, x_17, x_2, x_3); -if (lean_obj_tag(x_41) == 0) -{ -uint8_t x_42; -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_43 = lean_ctor_get(x_41, 0); -x_44 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__3; -x_45 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__6; -x_46 = l_Lean_addMacroScope(x_21, x_45, x_22); -x_47 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__9; -lean_inc(x_31); -x_48 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_48, 0, x_31); -lean_ctor_set(x_48, 1, x_44); -lean_ctor_set(x_48, 2, x_46); -lean_ctor_set(x_48, 3, x_47); -lean_inc(x_31); -x_49 = l_Lean_Syntax_node1(x_31, x_38, x_43); -x_50 = l_Lean_Syntax_node2(x_31, x_32, x_48, x_49); -lean_ctor_set(x_41, 0, x_50); -return x_41; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_51 = lean_ctor_get(x_41, 0); -x_52 = lean_ctor_get(x_41, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_41); -x_53 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__3; -x_54 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__6; -x_55 = l_Lean_addMacroScope(x_21, x_54, x_22); -x_56 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__9; -lean_inc(x_31); -x_57 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_57, 0, x_31); -lean_ctor_set(x_57, 1, x_53); -lean_ctor_set(x_57, 2, x_55); -lean_ctor_set(x_57, 3, x_56); -lean_inc(x_31); -x_58 = l_Lean_Syntax_node1(x_31, x_38, x_51); -x_59 = l_Lean_Syntax_node2(x_31, x_32, x_57, x_58); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_52); -return x_60; -} -} -else -{ -uint8_t x_61; -lean_dec(x_31); -lean_dec(x_22); +x_26 = 0; +x_27 = l_Lake_Name_quoteFrom(x_22, x_23, x_26); +x_28 = l_Lean_replaceRef(x_25, x_21); lean_dec(x_21); -x_61 = !lean_is_exclusive(x_41); -if (x_61 == 0) +lean_dec(x_25); +lean_inc(x_28); +lean_inc(x_20); +lean_inc(x_19); +lean_ctor_set(x_2, 5, x_28); +x_29 = l_Lean_SourceInfo_fromRef(x_28, x_26); +lean_dec(x_28); +x_30 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__4; +x_31 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__3; +x_32 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__5; +lean_inc(x_20); +lean_inc(x_19); +x_33 = l_Lean_addMacroScope(x_19, x_32, x_20); +x_34 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__10; +lean_inc(x_29); +x_35 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_35, 0, x_29); +lean_ctor_set(x_35, 1, x_31); +lean_ctor_set(x_35, 2, x_33); +lean_ctor_set(x_35, 3, x_34); +x_36 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__17; +lean_inc(x_29); +x_37 = l_Lean_Syntax_node1(x_29, x_36, x_27); +lean_inc(x_29); +x_38 = l_Lean_Syntax_node2(x_29, x_30, x_35, x_37); +x_39 = l___private_Lake_DSL_Key_0__Lake_DSL_expandFacets(x_38, x_17, x_2, x_3); +if (lean_obj_tag(x_39) == 0) { -return x_41; +uint8_t x_40; +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_41 = lean_ctor_get(x_39, 0); +x_42 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__12; +x_43 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__15; +x_44 = l_Lean_addMacroScope(x_19, x_43, x_20); +x_45 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__18; +lean_inc(x_29); +x_46 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_46, 0, x_29); +lean_ctor_set(x_46, 1, x_42); +lean_ctor_set(x_46, 2, x_44); +lean_ctor_set(x_46, 3, x_45); +lean_inc(x_29); +x_47 = l_Lean_Syntax_node1(x_29, x_36, x_41); +x_48 = l_Lean_Syntax_node2(x_29, x_30, x_46, x_47); +lean_ctor_set(x_39, 0, x_48); +return x_39; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_41, 0); -x_63 = lean_ctor_get(x_41, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_41); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_49 = lean_ctor_get(x_39, 0); +x_50 = lean_ctor_get(x_39, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_39); +x_51 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__12; +x_52 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__15; +x_53 = l_Lean_addMacroScope(x_19, x_52, x_20); +x_54 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__18; +lean_inc(x_29); +x_55 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_55, 0, x_29); +lean_ctor_set(x_55, 1, x_51); +lean_ctor_set(x_55, 2, x_53); +lean_ctor_set(x_55, 3, x_54); +lean_inc(x_29); +x_56 = l_Lean_Syntax_node1(x_29, x_36, x_49); +x_57 = l_Lean_Syntax_node2(x_29, x_30, x_55, x_56); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_50); +return x_58; +} +} +else +{ +uint8_t x_59; +lean_dec(x_29); +lean_dec(x_20); +lean_dec(x_19); +x_59 = !lean_is_exclusive(x_39); +if (x_59 == 0) +{ +return x_39; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_39, 0); +x_61 = lean_ctor_get(x_39, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_39); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_65 = lean_ctor_get(x_2, 0); -x_66 = lean_ctor_get(x_2, 1); -x_67 = lean_ctor_get(x_2, 2); -x_68 = lean_ctor_get(x_2, 3); -x_69 = lean_ctor_get(x_2, 4); -x_70 = lean_ctor_get(x_2, 5); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_63 = lean_ctor_get(x_2, 0); +x_64 = lean_ctor_get(x_2, 1); +x_65 = lean_ctor_get(x_2, 2); +x_66 = lean_ctor_get(x_2, 3); +x_67 = lean_ctor_get(x_2, 4); +x_68 = lean_ctor_get(x_2, 5); 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_dec(x_2); -x_71 = 0; -x_72 = l_Lake_Name_quoteFrom(x_18, x_19, x_71); -x_73 = lean_unsigned_to_nat(0u); -x_74 = l_Lean_Syntax_getArg(x_1, x_73); +x_69 = l_Lean_Syntax_getArg(x_1, x_9); +x_70 = l_Lean_TSyntax_getId(x_69); +x_71 = lean_unsigned_to_nat(0u); +x_72 = l_Lean_Syntax_getArg(x_1, x_71); lean_dec(x_1); -x_75 = lean_box(0); -lean_inc(x_74); -x_76 = l_Lake_Name_quoteFrom(x_74, x_75, x_71); -x_77 = l_Lean_replaceRef(x_74, x_70); -lean_dec(x_70); -lean_dec(x_74); +x_73 = 0; +x_74 = l_Lake_Name_quoteFrom(x_69, x_70, x_73); +x_75 = l_Lean_replaceRef(x_72, x_68); +lean_dec(x_68); +lean_dec(x_72); +lean_inc(x_75); +lean_inc(x_65); +lean_inc(x_64); +x_76 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_76, 0, x_63); +lean_ctor_set(x_76, 1, x_64); +lean_ctor_set(x_76, 2, x_65); +lean_ctor_set(x_76, 3, x_66); +lean_ctor_set(x_76, 4, x_67); +lean_ctor_set(x_76, 5, x_75); +x_77 = l_Lean_SourceInfo_fromRef(x_75, x_73); +lean_dec(x_75); +x_78 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__4; +x_79 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__3; +x_80 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__5; +lean_inc(x_65); +lean_inc(x_64); +x_81 = l_Lean_addMacroScope(x_64, x_80, x_65); +x_82 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__10; lean_inc(x_77); -lean_inc(x_67); -lean_inc(x_66); -x_78 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_78, 0, x_65); -lean_ctor_set(x_78, 1, x_66); -lean_ctor_set(x_78, 2, x_67); -lean_ctor_set(x_78, 3, x_68); -lean_ctor_set(x_78, 4, x_69); -lean_ctor_set(x_78, 5, x_77); -x_79 = l_Lean_SourceInfo_fromRef(x_77, x_71); -lean_dec(x_77); -x_80 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__4; -x_81 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__10; -x_82 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__12; -lean_inc(x_67); -lean_inc(x_66); -x_83 = l_Lean_addMacroScope(x_66, x_82, x_67); -x_84 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit___closed__17; -lean_inc(x_79); -x_85 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_85, 0, x_79); -lean_ctor_set(x_85, 1, x_81); -lean_ctor_set(x_85, 2, x_83); -lean_ctor_set(x_85, 3, x_84); -x_86 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__17; -lean_inc(x_79); -x_87 = l_Lean_Syntax_node2(x_79, x_86, x_76, x_72); -lean_inc(x_79); -x_88 = l_Lean_Syntax_node2(x_79, x_80, x_85, x_87); -x_89 = l___private_Lake_DSL_Key_0__Lake_DSL_expandFacets(x_88, x_17, x_78, x_3); -if (lean_obj_tag(x_89) == 0) +x_83 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_83, 0, x_77); +lean_ctor_set(x_83, 1, x_79); +lean_ctor_set(x_83, 2, x_81); +lean_ctor_set(x_83, 3, x_82); +x_84 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__17; +lean_inc(x_77); +x_85 = l_Lean_Syntax_node1(x_77, x_84, x_74); +lean_inc(x_77); +x_86 = l_Lean_Syntax_node2(x_77, x_78, x_83, x_85); +x_87 = l___private_Lake_DSL_Key_0__Lake_DSL_expandFacets(x_86, x_17, x_76, x_3); +if (lean_obj_tag(x_87) == 0) { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_90 = lean_ctor_get(x_89, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_89, 1); -lean_inc(x_91); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_92 = x_89; +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_88 = lean_ctor_get(x_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_89); - x_92 = lean_box(0); + lean_dec_ref(x_87); + x_90 = lean_box(0); } -x_93 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__3; -x_94 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__6; -x_95 = l_Lean_addMacroScope(x_66, x_94, x_67); -x_96 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__9; -lean_inc(x_79); -x_97 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_97, 0, x_79); -lean_ctor_set(x_97, 1, x_93); -lean_ctor_set(x_97, 2, x_95); -lean_ctor_set(x_97, 3, x_96); -lean_inc(x_79); -x_98 = l_Lean_Syntax_node1(x_79, x_86, x_90); -x_99 = l_Lean_Syntax_node2(x_79, x_80, x_97, x_98); -if (lean_is_scalar(x_92)) { - x_100 = lean_alloc_ctor(0, 2, 0); +x_91 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__12; +x_92 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__15; +x_93 = l_Lean_addMacroScope(x_64, x_92, x_65); +x_94 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__18; +lean_inc(x_77); +x_95 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_95, 0, x_77); +lean_ctor_set(x_95, 1, x_91); +lean_ctor_set(x_95, 2, x_93); +lean_ctor_set(x_95, 3, x_94); +lean_inc(x_77); +x_96 = l_Lean_Syntax_node1(x_77, x_84, x_88); +x_97 = l_Lean_Syntax_node2(x_77, x_78, x_95, x_96); +if (lean_is_scalar(x_90)) { + x_98 = lean_alloc_ctor(0, 2, 0); } else { - x_100 = x_92; + x_98 = x_90; } -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_91); -return x_100; +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_89); +return x_98; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_79); -lean_dec(x_67); -lean_dec(x_66); -x_101 = lean_ctor_get(x_89, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_89, 1); -lean_inc(x_102); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - lean_ctor_release(x_89, 1); - x_103 = x_89; +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_77); +lean_dec(x_65); +lean_dec(x_64); +x_99 = lean_ctor_get(x_87, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_87, 1); +lean_inc(x_100); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + lean_ctor_release(x_87, 1); + x_101 = x_87; } else { - lean_dec_ref(x_89); - x_103 = lean_box(0); + lean_dec_ref(x_87); + x_101 = lean_box(0); } -if (lean_is_scalar(x_103)) { - x_104 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(1, 2, 0); } else { - x_104 = x_103; + x_102 = x_101; } -lean_ctor_set(x_104, 0, x_101); -lean_ctor_set(x_104, 1, x_102); -return x_104; +lean_ctor_set(x_102, 0, x_99); +lean_ctor_set(x_102, 1, x_100); +return x_102; } } } @@ -1780,20 +1877,20 @@ goto block_132; block_110: { uint8_t x_59; -x_59 = !lean_is_exclusive(x_54); +x_59 = !lean_is_exclusive(x_55); if (x_59 == 0) { lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_54, 1); -x_61 = lean_ctor_get(x_54, 2); -x_62 = lean_ctor_get(x_54, 5); +x_60 = lean_ctor_get(x_55, 1); +x_61 = lean_ctor_get(x_55, 2); +x_62 = lean_ctor_get(x_55, 5); x_63 = l_Lean_replaceRef(x_53, x_62); lean_dec(x_62); lean_dec(x_53); lean_inc(x_63); lean_inc(x_61); lean_inc(x_60); -lean_ctor_set(x_54, 5, x_63); +lean_ctor_set(x_55, 5, x_63); if (lean_obj_tag(x_57) == 1) { lean_object* x_64; lean_object* x_65; @@ -1803,8 +1900,8 @@ lean_dec(x_60); x_64 = lean_ctor_get(x_57, 0); lean_inc(x_64); lean_dec_ref(x_57); -lean_inc_ref(x_54); -x_65 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit(x_58, x_64, x_54, x_56); +lean_inc_ref(x_55); +x_65 = l___private_Lake_DSL_Key_0__Lake_DSL_expandPackageTargetLit(x_58, x_64, x_55, x_56); if (lean_obj_tag(x_65) == 0) { lean_object* x_66; lean_object* x_67; @@ -1813,17 +1910,17 @@ lean_inc(x_66); x_67 = lean_ctor_get(x_65, 1); lean_inc(x_67); lean_dec_ref(x_65); -x_5 = x_55; +x_5 = x_54; x_6 = x_66; -x_7 = x_54; +x_7 = x_55; x_8 = x_67; goto block_47; } else { uint8_t x_68; -lean_dec_ref(x_54); lean_dec_ref(x_55); +lean_dec_ref(x_54); x_68 = !lean_is_exclusive(x_65); if (x_68 == 0) { @@ -1866,9 +1963,9 @@ x_80 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__p lean_inc(x_73); x_81 = l_Lean_Syntax_node1(x_73, x_80, x_58); x_82 = l_Lean_Syntax_node2(x_73, x_74, x_79, x_81); -x_5 = x_55; +x_5 = x_54; x_6 = x_82; -x_7 = x_54; +x_7 = x_55; x_8 = x_56; goto block_47; } @@ -1876,19 +1973,19 @@ goto block_47; 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; lean_object* x_89; lean_object* x_90; -x_83 = lean_ctor_get(x_54, 0); -x_84 = lean_ctor_get(x_54, 1); -x_85 = lean_ctor_get(x_54, 2); -x_86 = lean_ctor_get(x_54, 3); -x_87 = lean_ctor_get(x_54, 4); -x_88 = lean_ctor_get(x_54, 5); +x_83 = lean_ctor_get(x_55, 0); +x_84 = lean_ctor_get(x_55, 1); +x_85 = lean_ctor_get(x_55, 2); +x_86 = lean_ctor_get(x_55, 3); +x_87 = lean_ctor_get(x_55, 4); +x_88 = lean_ctor_get(x_55, 5); lean_inc(x_88); lean_inc(x_87); lean_inc(x_86); lean_inc(x_85); lean_inc(x_84); lean_inc(x_83); -lean_dec(x_54); +lean_dec(x_55); x_89 = l_Lean_replaceRef(x_53, x_88); lean_dec(x_88); lean_dec(x_53); @@ -1921,7 +2018,7 @@ lean_inc(x_93); x_94 = lean_ctor_get(x_92, 1); lean_inc(x_94); lean_dec_ref(x_92); -x_5 = x_55; +x_5 = x_54; x_6 = x_93; x_7 = x_90; x_8 = x_94; @@ -1931,7 +2028,7 @@ else { lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_dec_ref(x_90); -lean_dec_ref(x_55); +lean_dec_ref(x_54); x_95 = lean_ctor_get(x_92, 0); lean_inc(x_95); x_96 = lean_ctor_get(x_92, 1); @@ -1976,7 +2073,7 @@ x_107 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__ lean_inc(x_100); x_108 = l_Lean_Syntax_node1(x_100, x_107, x_58); x_109 = l_Lean_Syntax_node2(x_100, x_101, x_106, x_108); -x_5 = x_55; +x_5 = x_54; x_6 = x_109; x_7 = x_90; x_8 = x_56; @@ -2020,8 +2117,8 @@ x_125 = lean_box(0); x_126 = 0; lean_inc(x_53); x_127 = l_Lake_Name_quoteFrom(x_53, x_125, x_126); -x_54 = x_114; -x_55 = x_123; +x_54 = x_123; +x_55 = x_114; x_56 = x_115; x_57 = x_113; x_58 = x_127; @@ -2036,8 +2133,8 @@ lean_dec_ref(x_124); x_129 = l_Lean_TSyntax_getId(x_128); x_130 = 0; x_131 = l_Lake_Name_quoteFrom(x_128, x_129, x_130); -x_54 = x_114; -x_55 = x_123; +x_54 = x_123; +x_55 = x_114; x_56 = x_115; x_57 = x_113; x_58 = x_131; @@ -2070,10 +2167,10 @@ x_15 = 0; x_16 = l_Lean_SourceInfo_fromRef(x_14, x_15); lean_dec(x_14); x_17 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__4; -x_18 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__3; -x_19 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__6; +x_18 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__12; +x_19 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__15; x_20 = l_Lean_addMacroScope(x_12, x_19, x_13); -x_21 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__9; +x_21 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__18; lean_inc(x_16); x_22 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_22, 0, x_16); @@ -2106,10 +2203,10 @@ x_31 = 0; x_32 = l_Lean_SourceInfo_fromRef(x_30, x_31); lean_dec(x_30); x_33 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lake_DSL_Key_0__Lake_DSL_expandFacets_spec__1___redArg___closed__4; -x_34 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__3; -x_35 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__6; +x_34 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__12; +x_35 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__15; x_36 = l_Lean_addMacroScope(x_28, x_35, x_29); -x_37 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__9; +x_37 = l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__18; lean_inc(x_32); x_38 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_38, 0, x_32); @@ -2309,6 +2406,24 @@ l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__8 = _ini lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__8); l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__9 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__9(); lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__9); +l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__10 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__10(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__10); +l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__11 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__11(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__11); +l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__12 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__12(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__12); +l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__13 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__13(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__13); +l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__14 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__14(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__14); +l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__15 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__15(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__15); +l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__16 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__16(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__16); +l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__17 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__17(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__17); +l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__18 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__18(); +lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___closed__18); l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit__1___closed__0 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit__1___closed__0(); lean_mark_persistent(l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit__1___closed__0); l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit__1___closed__1 = _init_l___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit___regBuiltin___private_Lake_DSL_Key_0__Lake_DSL_expandModuleTargetKeyLit__1___closed__1(); diff --git a/stage0/stdlib/Lean/Compiler/InlineAttrs.c b/stage0/stdlib/Lean/Compiler/InlineAttrs.c index 3dffcd0b79..a18b8cdf66 100644 --- a/stage0/stdlib/Lean/Compiler/InlineAttrs.c +++ b/stage0/stdlib/Lean/Compiler/InlineAttrs.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Compiler.InlineAttrs -// Imports: public import Lean.Attributes +// Imports: public import Lean.Attributes import Lean.Meta.RecExt #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -32,7 +32,6 @@ static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___a static lean_object* l_Lean_Compiler_initFn___closed__22_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_inline_elim(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_InlineAttributeKind_toAttrString___closed__0; -static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__6; static lean_object* l_Lean_Compiler_initFn___closed__26_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6_spec__7___closed__0; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -59,14 +58,12 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_inlineAttrs; LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Compiler_initFn_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2__spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__3_spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn___closed__16_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; -static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Compiler_inlineAttrs___regBuiltin_Lean_Compiler_inlineAttrs_declRange__3(); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_inlineAttrs___regBuiltin_Lean_Compiler_inlineAttrs_docString__1___boxed(lean_object*); lean_object* l_Lean_MessageData_note(lean_object*); static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_InlineAttributeKind_toAttrString___closed__4; LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_Compiler_initFn_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2__spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1___redArg___closed__3; static lean_object* l_Lean_Compiler_initFn___closed__24_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_InlineAttributeKind_toAttrString___closed__3; @@ -75,7 +72,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_inlineIfReduce_elim LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Compiler_initFn_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2__spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Compiler_initFn_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2__spec__0_spec__0___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_inline_elim___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Compiler_initFn_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2__spec__0_spec__0___redArg___lam__0(lean_object*, uint8_t, lean_object*, lean_object*); @@ -98,7 +94,6 @@ LEAN_EXPORT uint64_t l_Lean_Compiler_instHashableInlineAttributeKind_hash(uint8_ static lean_object* l_Lean_Compiler_initFn___closed__30_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Compiler_inlineAttrs___regBuiltin_Lean_Compiler_inlineAttrs_docString__1(); LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_inlineIfReduce_elim___redArg___boxed(lean_object*); -static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__5; LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_toCtorIdx(uint8_t); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn___closed__11_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; @@ -114,7 +109,6 @@ LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_Compiler_initFn_00___x40_ static lean_object* l_Lean_Compiler_initFn___closed__15_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; lean_object* l_Lean_registerEnumAttributes___redArg(lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__3_spec__4___redArg___closed__2; -static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__1; lean_object* lean_st_ref_get(lean_object*); static lean_object* l_Lean_Compiler_initFn___closed__4_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__3_spec__4___redArg___closed__8; @@ -126,22 +120,17 @@ LEAN_EXPORT uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasIn static lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Compiler_initFn_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2__spec__0_spec__0___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__3_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__3_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_inlineAttrs___regBuiltin_Lean_Compiler_inlineAttrs_declRange__3___closed__2; -lean_object* l_Lean_Expr_constName_x21(lean_object*); static lean_object* l_Lean_Compiler_inlineAttrs___regBuiltin_Lean_Compiler_inlineAttrs_declRange__3___closed__4; LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__3_spec__4___redArg___closed__12; LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_macroInline_elim(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_instHashableInlineAttributeKind_hash___boxed(lean_object*); -static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__4; -static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrCore___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Compiler_initFn_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2__spec__0_spec__0___redArg(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn___lam__1___closed__4_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Compiler_initFn_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2__spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_inlineAttrs___regBuiltin_Lean_Compiler_inlineAttrs_declRange__3___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_alwaysInline_elim___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline(lean_object*, lean_object*, lean_object*); @@ -182,13 +171,11 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_instBEqInlineAttributeKind; static lean_object* l_Lean_Compiler_initFn___closed__12_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn___closed__23_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; -lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_inlineAttrs___regBuiltin_Lean_Compiler_inlineAttrs_declRange__3___boxed(lean_object*); lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Compiler_initFn_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2__spec__0_spec__0___redArg___closed__2; -uint8_t l_Lean_isBRecOnRecursor(lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__3_spec__4___redArg___closed__1; @@ -199,7 +186,6 @@ static lean_object* l_Lean_Compiler_instBEqInlineAttributeKind___closed__0; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_ctorElim___redArg(lean_object*); lean_object* l_Lean_Compiler_checkIsDefinition(lean_object*, lean_object*); -static lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__2; static lean_object* l_Lean_Compiler_initFn___closed__29_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; uint8_t l_Lean_isPrivateName(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__3_spec__4___redArg___closed__13; @@ -226,7 +212,6 @@ lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_macroInline_elim___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_inline_elim___redArg___boxed(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* lean_find_expr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_getInlineAttribute_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Compiler_initFn_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2__spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_noinline_elim(lean_object*, uint8_t, lean_object*, lean_object*); @@ -235,7 +220,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_ctorElim(lean_objec static lean_object* l_Lean_Compiler_inlineAttrs___regBuiltin_Lean_Compiler_inlineAttrs_declRange__3___closed__5; LEAN_EXPORT lean_object* l_Lean_Compiler_initFn___lam__0_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn___closed__18_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; -uint8_t l_Lean_Expr_isConst(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_noinline_elim___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); @@ -248,6 +232,7 @@ lean_object* l_Lean_MessageData_ofName(lean_object*); extern lean_object* l_Lean_Options_empty; LEAN_EXPORT uint8_t l_Lean_Compiler_hasInlineAttribute(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_initFn___closed__28_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; +lean_object* l_Lean_Meta_isRecursiveDefinition___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_InlineAttributeKind_toCtorIdx___boxed(lean_object*); static lean_object* l_Lean_Compiler_initFn___lam__1___closed__0_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l_Lean_Compiler_initFn___lam__1_00___x40_Lean_Compiler_InlineAttrs_1525986753____hygCtx___hyg_2_(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); @@ -721,142 +706,6 @@ x_3 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_InlineAttributeKind return x_3; } } -static lean_object* _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("WellFounded", 11, 11); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Nat", 3, 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("fix", 3, 3); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__2; -x_2 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__1; -x_3 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__0; -x_4 = l_Lean_Name_mkStr3(x_3, x_2, x_1); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("_unary", 6, 6); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__4; -x_2 = l_Lean_Name_mkStr1(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__2; -x_2 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__0; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; -x_4 = l_Lean_Expr_isConst(x_3); -if (x_4 == 0) -{ -lean_dec_ref(x_2); -lean_dec(x_1); -return x_4; -} -else -{ -lean_object* x_5; uint8_t x_6; uint8_t x_13; -x_5 = l_Lean_Expr_constName_x21(x_3); -lean_inc(x_5); -x_13 = l_Lean_isBRecOnRecursor(x_2, x_5); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -x_14 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__6; -x_15 = lean_name_eq(x_5, x_14); -x_6 = x_15; -goto block_12; -} -else -{ -x_6 = x_13; -goto block_12; -} -block_12: -{ -if (x_6 == 0) -{ -lean_object* x_7; uint8_t x_8; -x_7 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__3; -x_8 = lean_name_eq(x_5, x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_9 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__5; -x_10 = l_Lean_Name_append(x_1, x_9); -x_11 = lean_name_eq(x_5, x_10); -lean_dec(x_10); -lean_dec(x_5); -return x_11; -} -else -{ -lean_dec(x_5); -lean_dec(x_1); -return x_8; -} -} -else -{ -lean_dec(x_5); -lean_dec(x_1); -return x_6; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0(x_1, x_2, x_3); -lean_dec_ref(x_3); -x_5 = lean_box(x_4); -return x_5; -} -} static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6_spec__7___closed__0() { _start: { @@ -1686,167 +1535,211 @@ lean_object* x_7; x_7 = lean_ctor_get(x_5, 0); if (lean_obj_tag(x_7) == 1) { -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_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; x_8 = lean_ctor_get(x_7, 0); lean_inc_ref(x_8); lean_dec_ref(x_7); -x_9 = lean_ctor_get(x_8, 1); -lean_inc_ref(x_9); -x_10 = lean_ctor_get(x_8, 3); -lean_inc(x_10); +x_9 = lean_ctor_get(x_8, 3); +lean_inc(x_9); lean_dec_ref(x_8); -x_11 = l_List_lengthTR___redArg(x_10); +x_10 = l_List_lengthTR___redArg(x_9); +lean_dec(x_9); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_dec_eq(x_10, x_11); lean_dec(x_10); -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_nat_dec_eq(x_11, x_12); -lean_dec(x_11); -if (x_13 == 0) +if (x_12 == 0) +{ +lean_object* x_13; +lean_dec(x_1); +x_13 = lean_box(x_12); +lean_ctor_set(x_5, 0, x_13); +return x_5; +} +else { lean_object* x_14; -lean_dec_ref(x_9); -lean_dec(x_1); -x_14 = lean_box(x_13); -lean_ctor_set(x_5, 0, x_14); -return x_5; +lean_free_object(x_5); +x_14 = l_Lean_Meta_isRecursiveDefinition___redArg(x_1, x_3); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; uint8_t x_17; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_unbox(x_16); +lean_dec(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_box(x_12); +lean_ctor_set(x_14, 0, x_18); +return x_14; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_st_ref_get(x_3); -x_16 = lean_ctor_get(x_15, 0); -lean_inc_ref(x_16); -lean_dec(x_15); -x_17 = lean_alloc_closure((void*)(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___boxed), 3, 2); -lean_closure_set(x_17, 0, x_1); -lean_closure_set(x_17, 1, x_16); -x_18 = lean_find_expr(x_17, x_9); -lean_dec_ref(x_9); -lean_dec_ref(x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; -x_19 = lean_box(x_13); -lean_ctor_set(x_5, 0, x_19); -return x_5; +uint8_t x_19; lean_object* x_20; +x_19 = 0; +x_20 = lean_box(x_19); +lean_ctor_set(x_14, 0, x_20); +return x_14; +} } else { -uint8_t x_20; lean_object* x_21; -lean_dec_ref(x_18); -x_20 = 0; -x_21 = lean_box(x_20); -lean_ctor_set(x_5, 0, x_21); -return x_5; +lean_object* x_21; uint8_t x_22; +x_21 = lean_ctor_get(x_14, 0); +lean_inc(x_21); +lean_dec(x_14); +x_22 = lean_unbox(x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_box(x_12); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +else +{ +uint8_t x_25; lean_object* x_26; lean_object* x_27; +x_25 = 0; +x_26 = lean_box(x_25); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, x_26); +return x_27; } } } else { -uint8_t x_22; lean_object* x_23; +return x_14; +} +} +} +else +{ +uint8_t x_28; lean_object* x_29; lean_dec(x_7); lean_dec(x_1); -x_22 = 0; -x_23 = lean_box(x_22); -lean_ctor_set(x_5, 0, x_23); +x_28 = 0; +x_29 = lean_box(x_28); +lean_ctor_set(x_5, 0, x_29); return x_5; } } else { -lean_object* x_24; -x_24 = lean_ctor_get(x_5, 0); -lean_inc(x_24); +lean_object* x_30; +x_30 = lean_ctor_get(x_5, 0); +lean_inc(x_30); lean_dec(x_5); -if (lean_obj_tag(x_24) == 1) +if (lean_obj_tag(x_30) == 1) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_25 = lean_ctor_get(x_24, 0); -lean_inc_ref(x_25); -lean_dec_ref(x_24); -x_26 = lean_ctor_get(x_25, 1); -lean_inc_ref(x_26); -x_27 = lean_ctor_get(x_25, 3); -lean_inc(x_27); -lean_dec_ref(x_25); -x_28 = l_List_lengthTR___redArg(x_27); -lean_dec(x_27); -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_dec_eq(x_28, x_29); -lean_dec(x_28); -if (x_30 == 0) +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_31 = lean_ctor_get(x_30, 0); +lean_inc_ref(x_31); +lean_dec_ref(x_30); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +lean_dec_ref(x_31); +x_33 = l_List_lengthTR___redArg(x_32); +lean_dec(x_32); +x_34 = lean_unsigned_to_nat(1u); +x_35 = lean_nat_dec_eq(x_33, x_34); +lean_dec(x_33); +if (x_35 == 0) { -lean_object* x_31; lean_object* x_32; -lean_dec_ref(x_26); +lean_object* x_36; lean_object* x_37; lean_dec(x_1); -x_31 = lean_box(x_30); -x_32 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_32, 0, x_31); -return x_32; +x_36 = lean_box(x_35); +x_37 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_37, 0, x_36); +return x_37; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_st_ref_get(x_3); -x_34 = lean_ctor_get(x_33, 0); -lean_inc_ref(x_34); -lean_dec(x_33); -x_35 = lean_alloc_closure((void*)(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___boxed), 3, 2); -lean_closure_set(x_35, 0, x_1); -lean_closure_set(x_35, 1, x_34); -x_36 = lean_find_expr(x_35, x_26); -lean_dec_ref(x_26); -lean_dec_ref(x_35); -if (lean_obj_tag(x_36) == 0) +lean_object* x_38; +x_38 = l_Lean_Meta_isRecursiveDefinition___redArg(x_1, x_3); +if (lean_obj_tag(x_38) == 0) +{ +lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + x_40 = x_38; +} else { + lean_dec_ref(x_38); + x_40 = lean_box(0); +} +x_41 = lean_unbox(x_39); +lean_dec(x_39); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_box(x_35); +if (lean_is_scalar(x_40)) { + x_43 = lean_alloc_ctor(0, 1, 0); +} else { + x_43 = x_40; +} +lean_ctor_set(x_43, 0, x_42); +return x_43; +} +else +{ +uint8_t x_44; lean_object* x_45; lean_object* x_46; +x_44 = 0; +x_45 = lean_box(x_44); +if (lean_is_scalar(x_40)) { + x_46 = lean_alloc_ctor(0, 1, 0); +} else { + x_46 = x_40; +} +lean_ctor_set(x_46, 0, x_45); +return x_46; +} +} +else { -lean_object* x_37; lean_object* x_38; -x_37 = lean_box(x_30); -x_38 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_38, 0, x_37); return x_38; } -else -{ -uint8_t x_39; lean_object* x_40; lean_object* x_41; -lean_dec_ref(x_36); -x_39 = 0; -x_40 = lean_box(x_39); -x_41 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_41, 0, x_40); -return x_41; -} } } else { -uint8_t x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_24); +uint8_t x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_30); lean_dec(x_1); -x_42 = 0; -x_43 = lean_box(x_42); -x_44 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_44, 0, x_43); -return x_44; +x_47 = 0; +x_48 = lean_box(x_47); +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_48); +return x_49; } } } else { -uint8_t x_45; +uint8_t x_50; lean_dec(x_1); -x_45 = !lean_is_exclusive(x_5); -if (x_45 == 0) +x_50 = !lean_is_exclusive(x_5); +if (x_50 == 0) { return x_5; } else { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_5, 0); -lean_inc(x_46); +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_5, 0); +lean_inc(x_51); lean_dec(x_5); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_46); -return x_47; +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_51); +return x_52; } } } @@ -3148,7 +3041,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_unsigned_to_nat(47u); +x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -3160,7 +3053,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(63u); -x_2 = lean_unsigned_to_nat(83u); +x_2 = lean_unsigned_to_nat(78u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -3188,7 +3081,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(19u); -x_2 = lean_unsigned_to_nat(68u); +x_2 = lean_unsigned_to_nat(63u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -3200,7 +3093,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(30u); -x_2 = lean_unsigned_to_nat(68u); +x_2 = lean_unsigned_to_nat(63u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -3412,6 +3305,7 @@ return x_4; } } lean_object* initialize_Lean_Attributes(uint8_t builtin); +lean_object* initialize_Lean_Meta_RecExt(uint8_t builtin); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Compiler_InlineAttrs(uint8_t builtin) { lean_object * res; @@ -3420,6 +3314,9 @@ _G_initialized = true; res = initialize_Lean_Attributes(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_RecExt(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Compiler_instInhabitedInlineAttributeKind_default = _init_l_Lean_Compiler_instInhabitedInlineAttributeKind_default(); l_Lean_Compiler_instInhabitedInlineAttributeKind = _init_l_Lean_Compiler_instInhabitedInlineAttributeKind(); l_Lean_Compiler_instBEqInlineAttributeKind___closed__0 = _init_l_Lean_Compiler_instBEqInlineAttributeKind___closed__0(); @@ -3440,20 +3337,6 @@ l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_InlineAttributeKind_toAtt lean_mark_persistent(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_InlineAttributeKind_toAttrString___closed__3); l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_InlineAttributeKind_toAttrString___closed__4 = _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_InlineAttributeKind_toAttrString___closed__4(); lean_mark_persistent(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_InlineAttributeKind_toAttrString___closed__4); -l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__0 = _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__0(); -lean_mark_persistent(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__0); -l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__1 = _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__1(); -lean_mark_persistent(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__1); -l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__2 = _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__2(); -lean_mark_persistent(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__2); -l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__3 = _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__3(); -lean_mark_persistent(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__3); -l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__4 = _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__4(); -lean_mark_persistent(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__4); -l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__5 = _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__5(); -lean_mark_persistent(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__5); -l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__6 = _init_l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__6(); -lean_mark_persistent(l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline___lam__0___closed__6); l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6_spec__7___closed__0 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6_spec__7___closed__0(); lean_mark_persistent(l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6_spec__7___closed__0); l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6_spec__7___closed__1 = _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_isValidMacroInline_spec__0_spec__0_spec__1_spec__2_spec__4_spec__6_spec__7___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/DocString/Builtin.c b/stage0/stdlib/Lean/Elab/DocString/Builtin.c index 57e9ddbebf..5dd752c295 100644 --- a/stage0/stdlib/Lean/Elab/DocString/Builtin.c +++ b/stage0/stdlib/Lean/Elab/DocString/Builtin.c @@ -14,6 +14,7 @@ extern "C" { #endif LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr_spec__2___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_ctorIdx(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_name_spec__3(uint8_t, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_var_elim(lean_object*, lean_object*, lean_object*, lean_object*); @@ -26,6 +27,7 @@ LEAN_EXPORT lean_object* l_Array_filterMapM___at___00__private_Lean_Elab_DocStri LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__1_spec__3(lean_object*, lean_object*, size_t, lean_object*); static lean_object* l_Lean_Doc_name___regBuiltin_Lean_Doc_name_getArgs_docString__5___closed__0; static lean_object* l_Lean_Doc_name___regBuiltin_Lean_Doc_name_getArgs_declRange__7___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax_getArgs_docString__5___boxed(lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprAttributes___closed__0; @@ -38,6 +40,8 @@ lean_object* l_Lean_Doc_done(lean_object*, uint8_t, lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1(); LEAN_EXPORT lean_object* l_Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3(); lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); +static lean_object* l_Lean_Doc_lean___lam__3___closed__0; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__1; LEAN_EXPORT lean_object* l_Array_filterMapM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr_spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___lam__2(uint8_t, uint8_t, lean_object*); static lean_object* l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__2; @@ -65,11 +69,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_ins static lean_object* l_Lean_Doc_Data_instReprAttribute___closed__0; LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___lam__2___closed__5; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getNamed___at___00Lean_Doc_given_getArgs_spec__0_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_lengthTR___redArg(lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__2_spec__6(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_given___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_givenInstance___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_attr(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -100,23 +102,24 @@ LEAN_EXPORT lean_object* l_Lean_Doc_suggestConvTactic___boxed(lean_object*, lean uint8_t l_Lean_MacroScopesView_isSuffixOf(lean_object*, lean_object*); static lean_object* l_Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option_getArgs_declRange__7___closed__2; static lean_object* l_Lean_Doc_module___closed__9; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Meta_Context_configKey(lean_object*); static lean_object* l_Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1___redArg___closed__0; static lean_object* l_Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19___closed__2; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__12___closed__0; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getNamed___at___00Lean_Doc_name_getArgs_spec__1_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_lean___closed__11; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_leanRole_getArgs_declRange__7___closed__1; size_t lean_usize_shift_right(size_t, size_t); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__19; LEAN_EXPORT lean_object* l_Lean_Doc_name___regBuiltin_Lean_Doc_name_getArgs_docString__5___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getPositional___at___00Lean_Doc_manual_getArgs_spec__0_spec__0___redArg___boxed(lean_object**); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDocString(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm_getArgs_declRange__7___closed__2; LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_assert___closed__3; @@ -128,8 +131,6 @@ static lean_object* l_Lean_Doc_name___closed__5; static lean_object* l_Lean_Doc_module___closed__2; static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6_spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_givenInstance___regBuiltin_Lean_Doc_givenInstance__3___closed__3; uint8_t l_Lean_Syntax_matchesIdent(lean_object*, lean_object*); @@ -139,7 +140,6 @@ static lean_object* l_Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm_getArgs_d lean_object* l_Lean_TSyntax_getId(lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27_getArgs_declRange__7___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespace___at___00Lean_Doc_open_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___boxed(lean_object*); @@ -149,15 +149,14 @@ LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_s LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___00Lean_Doc_leanRole_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_given_spec__4___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_syntax_getArgs___boxed(lean_object*, lean_object*, lean_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_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStderr___at___00IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__7(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___redArg___closed__0; static lean_object* l_Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___closed__1; static lean_object* l_Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__1; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__6_spec__15___redArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_module___regBuiltin_Lean_Doc_module_getArgs_declRange__7___closed__0; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_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_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__3___redArg___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean_getArgs___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_option_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___at___00Lean_Doc_tactic_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -176,7 +175,6 @@ static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore_ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13_spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_instMonad___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax_getArgs_declRange__7___closed__1; static lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Doc_tactic_spec__0___redArg___closed__1; lean_object* l_Lean_Elab_Command_getScope___redArg(lean_object*); @@ -205,10 +203,12 @@ lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, l LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_name___closed__2; static lean_object* l_Lean_Doc_module___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__9; static lean_object* l_Lean_Doc_assert___regBuiltin_Lean_Doc_assert_getArgs_declRange__7___closed__0; lean_object* l_Lean_Environment_header(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___00Lean_Doc_name_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic_getArgs_docString__5(); static lean_object* l_Lean_Doc_assert___closed__5; @@ -219,7 +219,9 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__8___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestAttr___closed__0; static lean_object* l_Lean_Doc_suggestName___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18_spec__22(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13___at___00Lean_PersistentHashMap_toArray___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__1_spec__4___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_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* l_Lean_Doc_instFromDocArgString___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_similarNames___boxed(lean_object*, lean_object*); @@ -229,9 +231,9 @@ static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore_ LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_11_; LEAN_EXPORT lean_object* l_Lean_Doc_leanRole(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedFileMap_default; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__6; lean_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___redArg___lam__0(lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg___lam__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___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___closed__0; static lean_object* l_Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic_getArgs_docString__5___closed__0; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshFVarId___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -239,7 +241,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_f uint8_t l_Array_isEmpty___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__1; static lean_object* l_Lean_Doc_name___closed__1; LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__23___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -253,7 +254,6 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_ResolveNa lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__0_00___x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_11_; static lean_object* l_Lean_Doc_suggestLeanBlock___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___boxed(lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_name_spec__3___closed__2; @@ -271,7 +271,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists___boxed(lean_object*, lean_o lean_object* lean_get_set_stdout(lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__2; static lean_object* l_Lean_Doc_parseQuotedStrLit___at___00Lean_Doc_given_spec__2___closed__1; -static lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___closed__0; static lean_object* l_Lean_Doc_module___regBuiltin_Lean_Doc_module__3___closed__2; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -292,29 +291,35 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_hig LEAN_EXPORT lean_object* l_Lean_Doc_tactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_manual___regBuiltin_Lean_Doc_manual_getArgs_docString__5(); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logError___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_filterFieldList___at___00__private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__8_spec__17_spec__18(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_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___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getNamed___at___00Lean_Doc_output_getArgs_spec__0_spec__1___redArg___boxed(lean_object**); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__3; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getMany___at___00Lean_Doc_open_getArgs_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___boxed(lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__2; static lean_object* l_Lean_Doc_Data_instReprAttributes_repr___redArg___closed__4; LEAN_EXPORT lean_object* l_Lean_Doc_option___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_String_quote(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__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 uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f_usable(lean_object*); static lean_object* l_Lean_Doc_name___closed__11; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13_spec__23_spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_option_getArgs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg___boxed(lean_object*, lean_object*); static lean_object* l_IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2___redArg___closed__2; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__7; +static lean_object* l_Lean_Doc_lean___lam__3___closed__2; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__0; static lean_object* l_Lean_Doc_output___closed__3; lean_object* l_Lean_Syntax_getId(lean_object*); @@ -323,7 +328,6 @@ lean_object* l_Lean_Environment_findConstVal_x3f(lean_object*, lean_object*, uin LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldlM___at___00Std_DTreeMap_Internal_Impl_foldl___at___00Lean_Doc_output_spec__2_spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprConst; static lean_object* l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_11_; lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); @@ -344,7 +348,6 @@ LEAN_EXPORT lean_object* l_Lean_filterFieldList___at___00__private_Lean_ResolveN static lean_object* l_Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat_getArgs_docString__5___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_givenInstance_spec__1(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Doc_name_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__14(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___00Lean_PersistentArray_foldlM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes_spec__0_spec__0___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getPositional___at___00Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___boxed(lean_object**); @@ -357,6 +360,7 @@ static lean_object* l_Lean_Doc_suggestModule___regBuiltin_Lean_Doc_suggestModule static lean_object* l_Lean_Doc_suggestLeanBlock___lam__0___closed__1; LEAN_EXPORT lean_object* l_Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1___redArg(lean_object*); extern lean_object* l_Lean_Parser_Term_attributes; +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_assert_x27___closed__1; LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_Doc_lean_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_spec__0(lean_object*, size_t, size_t, lean_object*); @@ -378,15 +382,13 @@ static lean_object* l_Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm_getArgs_d static lean_object* l_Lean_Doc_output___closed__13; uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Doc_tactic_spec__3(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_name___closed__8; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__9; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_attr___regBuiltin_Lean_Doc_attr_getArgs_declRange__7(); LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___boxed(lean_object*); static lean_object* l_Lean_Doc_option___closed__8; static lean_object* l_Lean_Doc_suggestLeanBlock___lam__0___closed__0; @@ -402,14 +404,15 @@ lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f___lam__0(lean_object*); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1___closed__2; lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*); +static lean_object* l_Lean_Doc_lean___lam__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_const_elim(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprModuleName___closed__0; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__7___boxed(lean_object**); static lean_object* l_Lean_Doc_name___regBuiltin_Lean_Doc_name_getArgs_declRange__7___closed__3; LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13(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*); static lean_object* l_Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax_getArgs_declRange__7___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshFVarId___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___closed__0; lean_object* l_Lean_Parser_optional(lean_object*); @@ -418,7 +421,6 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning static lean_object* l_Lean_Doc_attr___closed__7; static lean_object* l_Lean_Doc_lean___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtension___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___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_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -433,6 +435,7 @@ lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__3; static lean_object* l_Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__1; extern lean_object* l_Lean_Parser_ParserExtension_instInhabitedState_default; +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_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_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13___at___00Lean_PersistentHashMap_toArray___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__1_spec__4___redArg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Doc_open_getArgs___closed__1; @@ -443,7 +446,6 @@ lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprAttribute_repr(lean_object*, lean_object*); static lean_object* l_Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax_getArgs_declRange__7___closed__0; lean_object* l_Lean_Parser_sepBy1Fn(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__7(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___closed__3; @@ -461,11 +463,9 @@ LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshFVarId___at___00_ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getNamed___at___00Lean_Doc_given_getArgs_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -476,16 +476,16 @@ static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_l static lean_object* l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; static lean_object* l_Lean_Doc_open_getArgs___closed__0; static lean_object* l_Lean_Doc_output___closed__12; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__2; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__18; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__9; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__11; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__11; LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_leanRole_getArgs_declRange__7___boxed(lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_foldl___at___00Lean_Doc_output_spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__0(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_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0_spec__0_spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_lean___regBuiltin_Lean_Doc_lean_getArgs_docString__5(); -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprSyntax_repr___redArg___closed__2; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__12; LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_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*); @@ -497,7 +497,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_f static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__0; static lean_object* l_Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__0; LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2(lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_activateScoped___at___00Lean_Doc_open_spec__3_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -509,6 +508,7 @@ uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__7; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprModuleName_repr___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__4(lean_object*, lean_object*); lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameSyntaxCat; @@ -523,22 +523,24 @@ static lean_object* l_IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_Doc static lean_object* l_Lean_Doc_assert_x27___closed__6; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__12; LEAN_EXPORT lean_object* l_Lean_Doc_given___regBuiltin_Lean_Doc_given_getArgs_docString__5(); +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___boxed(lean_object*, lean_object*, lean_object*, 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_Doc_name___closed__9; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__8; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_open_spec__2___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_tactic_getArgs___boxed(lean_object*, lean_object*, lean_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_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_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*); extern lean_object* l_Lean_LocalContext_empty; LEAN_EXPORT lean_object* l_Lean_Doc_manual___regBuiltin_Lean_Doc_manual_getArgs_declRange__7___boxed(lean_object*); static lean_object* l_Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1___closed__1; -static lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___00Lean_PersistentArray_findSomeRevMAux___at___00Lean_PersistentArray_findSomeRevM_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__3_spec__10_spec__14___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_output_spec__0___boxed(lean_object**); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__5; LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr___regBuiltin_Lean_Doc_suggestAttr__1___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getPositional___at___00Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg___boxed(lean_object**); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprSyntax; lean_object* l_panic___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__0; @@ -559,14 +561,11 @@ LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams_ lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterMapTR_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__7; LEAN_EXPORT lean_object* l_Array_filterMapM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1___closed__4; static lean_object* l_Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option_getArgs_declRange__7___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_getNamed___at___00Lean_Doc_output_getArgs_spec__0(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__10; -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__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___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at___00__private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1_spec__3___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_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*); static lean_object* l_Lean_Doc_set__option_getArgs___closed__2; @@ -586,6 +585,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27_ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_option___regBuiltin_Lean_Doc_option_getArgs_declRange__7___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_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_Lean_Doc_assert___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_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_Lean_Doc_leanRole___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -602,7 +602,6 @@ lean_object* l_Lean_MessageData_hint(lean_object*, lean_object*, lean_object*, l LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instHAppendDocCodeString___lam__0(lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__4; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__0; @@ -616,7 +615,6 @@ lean_object* l_Lean_Exception_toMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprSyntax_repr___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_givenInstance(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_module(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__6; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1___redArg(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg___boxed(lean_object*, lean_object*); @@ -640,12 +638,12 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m LEAN_EXPORT lean_object* l_Lean_Doc_output___regBuiltin_Lean_Doc_output_getArgs_declRange__7(); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprSyntaxCat___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_ensureNoOverload___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__9_spec__19(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_conv___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__1___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_logInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Parser_ParserFn_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -664,9 +662,7 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_val LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___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_ensureNoOverload___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__9(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_lean___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at___00__private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__9; LEAN_EXPORT lean_object* l_Lean_Doc_suggestModule(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_toArray___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__1___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_filterFieldList___at___00__private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__8_spec__17_spec__19(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -679,7 +675,6 @@ static lean_object* l_Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3___ LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Doc_tactic_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_givenInstance___boxed(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_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0_spec__0_spec__2___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkInputContext___redArg(lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___redArg___lam__0(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getTokenTable(lean_object*); @@ -697,21 +692,25 @@ LEAN_EXPORT lean_object* l_Lean_Doc_instAppendDocCode; LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___00Lean_Doc_name_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_activateScoped___at___00Lean_Doc_open_spec__3_spec__12(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_givenInstance_spec__1___boxed(lean_object**); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13_spec__23_spec__28_spec__32___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5_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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___closed__0; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__4; static lean_object* l_Lean_Doc_manual___regBuiltin_Lean_Doc_manual_getArgs_declRange__7___closed__1; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_instImpl___closed__2_00___x40_Lean_Elab_DocString_Builtin_805460910____hygCtx___hyg_7_; LEAN_EXPORT lean_object* l_Lean_Doc_module___regBuiltin_Lean_Doc_module_getArgs_docString__5(); LEAN_EXPORT lean_object* l_Lean_Doc_DocCode_push(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStdout___at___00IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__4___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_module___regBuiltin_Lean_Doc_module_getArgs_declRange__7___closed__3; lean_object* l_Lean_Meta_instantiateMVarsIfMVarApp___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___closed__0; LEAN_EXPORT lean_object* l_IO_withStdin___at___00IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_ctorIdx___boxed(lean_object*); @@ -733,13 +732,12 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_given_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___00Lean_resolveNamespace___at___00Lean_Doc_open_spec__0_spec__1(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_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Doc_given___regBuiltin_Lean_Doc_given_getArgs_declRange__7(); -static lean_object* l_Lean_Doc_lean___closed__8; LEAN_EXPORT lean_object* l_Lean_Doc_getPositional___at___00Lean_Doc_manual_getArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___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_IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_933202971____hygCtx___hyg_18_; lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_parseQuotedStrLit_repositionSyntax(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__1___closed__3; @@ -769,9 +767,9 @@ static lean_object* l_Lean_Doc_name___closed__0; static lean_object* l_Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat_getArgs_declRange__7___closed__1; static lean_object* l_Lean_Doc_suggestOption___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm_getArgs_declRange__7___boxed(lean_object*); +static lean_object* l_Lean_Doc_lean___lam__3___closed__5; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_instImpl___closed__5_00___x40_Lean_Elab_DocString_Builtin_805460910____hygCtx___hyg_7_; LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_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___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getPositional___at___00Lean_Doc_syntax_getArgs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___redArg(lean_object*, lean_object*); @@ -781,13 +779,17 @@ LEAN_EXPORT lean_object* l_Lean_Doc_leanRole_getArgs(lean_object*, lean_object*, LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13_spec__23_spec__28_spec__32(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_getMany___at___00Lean_Doc_open_getArgs_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getPositional___at___00Lean_Doc_manual_getArgs_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestConvTactic___regBuiltin_Lean_Doc_suggestConvTactic__1___boxed(lean_object*); static lean_object* l_Lean_Doc_lean___regBuiltin_Lean_Doc_lean_getArgs_docString__5___closed__0; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_given_spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_filterFieldList___at___00__private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__8_spec__17_spec__19_spec__21_spec__23_spec__24___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___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_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27__3(); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__12; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_keyword_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_name_getArgs___closed__1; @@ -811,7 +813,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m LEAN_EXPORT lean_object* l_Lean_Doc_suggestGiven___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_DocString_Builtin_0__Lean_Doc_output_sortByDistance(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__17; -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_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_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__4(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_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm_getArgs_docString__5(); static lean_object* l_Lean_Doc_option___closed__1; @@ -820,7 +822,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at___00Lean_Pe static lean_object* l_Lean_Doc_suggestTactic___closed__2; LEAN_EXPORT lean_object* l_IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_givenInstance___regBuiltin_Lean_Doc_givenInstance__3___closed__1; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__8; LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___00Lean_Doc_name_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_lean_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespace___at___00Lean_Doc_open_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -828,7 +829,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_option_getArgs___boxed(lean_object*, lean_ob lean_object* lean_local_ctx_find(lean_object*, lean_object*); static lean_object* l_Lean_Doc_conv___regBuiltin_Lean_Doc_conv_getArgs_declRange__7___closed__3; static lean_object* l_Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__2; -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg___lam__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_Doc_syntax___regBuiltin_Lean_Doc_syntax_getArgs_declRange__7___boxed(lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5___closed__0; @@ -847,6 +847,7 @@ static lean_object* l_Lean_Doc_Data_instReprConst_repr___redArg___closed__10; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3(); static lean_object* l_Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_getMany___at___00Lean_Doc_open_getArgs_spec__0_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__13; @@ -866,16 +867,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lea LEAN_EXPORT lean_object* l_Lean_logInfoAt___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___boxed(lean_object**); static lean_object* l_Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__2; static lean_object* l_Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19___closed__1; static lean_object* l_Lean_Doc_Data_instImpl___closed__4_00___x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_11_; LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_var_elim___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_givenInstance___regBuiltin_Lean_Doc_givenInstance_getArgs_declRange__7___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprSyntaxCat_repr(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprOption_repr___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_name___closed__16; static lean_object* l_Lean_Doc_open_getArgs___closed__5; @@ -886,10 +884,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_hig LEAN_EXPORT lean_object* l_Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_suggestGiven(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isMarkedMeta(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13_spec__23_spec__28_spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_givenInstance___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_manual___closed__1; @@ -916,24 +916,24 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_ LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_Doc_lean_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__7(lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_find_x3f___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_output_spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_instTypeNameNoInfo; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_instImpl___closed__4_00___x40_Lean_Elab_DocString_Builtin_805460910____hygCtx___hyg_7_; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_instImpl___closed__9_00___x40_Lean_Elab_DocString_Builtin_805460910____hygCtx___hyg_7_; static lean_object* l_Lean_Doc_assert_x27___closed__0; static lean_object* l_Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19___closed__3; static lean_object* l_Lean_Doc_conv___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__5; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__2_spec__6___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat_getArgs_declRange__7(); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_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_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getNamed___at___00Lean_Doc_output_getArgs_spec__0_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_leanRole_getArgs_declRange__7___closed__0; @@ -969,7 +969,7 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_ResolveNa static lean_object* l_Lean_Doc_lit___regBuiltin_Lean_Doc_lit_getArgs_declRange__7___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_option___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Doc_manual_spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg(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_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___lam__2___closed__2; lean_object* l_Lean_Name_getPrefix(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgWithSyntax___private__1___at___00Lean_Doc_instFromDocArgOption___private__1___at___00Lean_Doc_getNamed___at___00Lean_Doc_output_getArgs_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1004,7 +1004,7 @@ lean_object* l_Lean_Name_components(lean_object*); static lean_object* l_Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9___closed__2; lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_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*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_3372342900____hygCtx___hyg_11_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__3_spec__7___redArg(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_Syntax_TSepArray_getElems___redArg(lean_object*); @@ -1012,10 +1012,10 @@ LEAN_EXPORT lean_object* l_Lean_Doc_output(lean_object*, lean_object*, lean_obje LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofFormat(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_withStdout___at___00IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__4(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_output___closed__2; lean_object* l_Lean_Parser_mkParserState(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__3; static lean_object* l_Lean_Doc_suggestCat___redArg___closed__1; @@ -1039,19 +1039,20 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__3; static lean_object* l_Lean_Doc_name___closed__13; static lean_object* l_Lean_Doc_module___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___lam__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_similarNames_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_name___regBuiltin_Lean_Doc_name_getArgs_declRange__7___boxed(lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_805460910____hygCtx___hyg_7_; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprModuleName_repr(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__1___closed__5; -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_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_Lean_Doc_output___regBuiltin_Lean_Doc_output_getArgs_declRange__7___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3(); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_indirectModUseExt; static lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5_spec__7___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentArray_foldlM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1064,7 +1065,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_getMany___at___00Lean_Doc_open_getArgs_spec_ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option_getArgs_declRange__7___closed__3; lean_object* l_Lean_Parser_ParserState_allErrors(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*); lean_object* l_Lean_Exception_getRef(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00List_forIn_x27_loop___at___00Lean_Doc_open_spec__4_spec__14___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1073,7 +1073,6 @@ lean_object* l_Lean_Meta_reduceAll(lean_object*, lean_object*, lean_object*, lea lean_object* l_Lean_Doc_addBuiltinDocCommand(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9___lam__0(lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__0_00___x40_Lean_Elab_DocString_Builtin_984454940____hygCtx___hyg_11_; -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_output___regBuiltin_Lean_Doc_output_getArgs_declRange__7___closed__2; lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__1_spec__3_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*); @@ -1108,7 +1107,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_get LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_given_spec__4___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__23(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__3; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__2_spec__6___redArg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__9; lean_object* l_Lean_Parser_symbol(lean_object*); @@ -1127,7 +1126,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_lit___regBuiltin_Lean_Doc_lit_getArgs_declRa static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__7; static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5___closed__2; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Doc_open___regBuiltin_Lean_Doc_open__3___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_suggestSyntax_spec__1___redArg(size_t, size_t, lean_object*); @@ -1143,6 +1141,7 @@ LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logInfoAt___at___00__private LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_18_; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13_spec__23_spec__28___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_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_EXPORT lean_object* l_Array_filterMapM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_suggestSyntax_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1164,7 +1163,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprTactic_repr___redArg(lean_object*); uint8_t l_Lean_Syntax_isMissing(lean_object*); LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_Doc_parseQuotedStrLit___at___00Lean_Doc_given_spec__2_spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestModule___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_3070054517____hygCtx___hyg_18_; static lean_object* l_Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat_getArgs_declRange__7___closed__0; @@ -1196,10 +1194,12 @@ lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_sp static lean_object* l_Lean_Doc_conv___regBuiltin_Lean_Doc_conv__3___closed__1; static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__5; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___00Lean_PersistentArray_findSomeRevMAux___at___00Lean_PersistentArray_findSomeRevM_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__2_spec__7_spec__10___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_lean___lam__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_open_spec__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Doc_output_getArgs___boxed(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_Doc_tactic___regBuiltin_Lean_Doc_tactic_getArgs_declRange__7___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___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_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13_spec__23_spec__28_spec__31(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___00Lean_Doc_parseStrLit___at___00Lean_Doc_tactic_spec__1_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*); @@ -1219,11 +1219,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onl lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestModule___regBuiltin_Lean_Doc_suggestModule__1___closed__2; static lean_object* l_Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___closed__2; LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprSyntax_repr___redArg___closed__3; -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__14___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_output_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprAttributes; @@ -1237,7 +1238,6 @@ LEAN_EXPORT lean_object* l_Lean_SMap_toList___at___00__private_Lean_Elab_DocStri static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__11; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr___redArg___closed__3; lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_given_spec__5___boxed(lean_object**); lean_object* l_Lean_Name_componentsRev(lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_name_spec__3___closed__0; @@ -1245,16 +1245,18 @@ static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_l LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_givenInstance___closed__0; static lean_object* l_Lean_Doc_manual_getArgs___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_givenInstance_spec__0___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__4; LEAN_EXPORT lean_object* l_Lean_Doc_suggestGiven___regBuiltin_Lean_Doc_suggestGiven__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_suggestLeanTermBlock__1___closed__2; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); extern lean_object* l_Lean_rootNamespace; -static lean_object* l_Lean_Doc_lean___closed__14; lean_object* l_Lean_PersistentArray_append___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_given___regBuiltin_Lean_Doc_given_getArgs_declRange__7___closed__3; static lean_object* l_IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2___redArg___closed__0; @@ -1290,16 +1292,19 @@ LEAN_EXPORT lean_object* l_Lean_Doc_conv___boxed(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l_Lean_Doc_lit_getArgs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestModule___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_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_initFn___lam__0_00___x40_Lean_Elab_DocString_Builtin_765136268____hygCtx___hyg_2_(lean_object*); static lean_object* l_Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__0; static lean_object* l_Lean_Doc_leanRole___lam__2___closed__0; +LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__7; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_conv___regBuiltin_Lean_Doc_conv_getArgs_declRange__7(); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11___redArg___closed__1; static lean_object* l_Lean_Doc_Data_instReprConst_repr___redArg___closed__12; +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___lam__0___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_Doc_manual___regBuiltin_Lean_Doc_manual_getArgs_declRange__7___closed__2; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_field_elim(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1349,11 +1354,9 @@ static lean_object* l_Lean_Doc_suggestLeanBlock___closed__1; static lean_object* l_Lean_Doc_given___closed__3; static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_suggestModule___regBuiltin_Lean_Doc_suggestModule__1___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_manual___closed__5; LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_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_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_filterFieldList___at___00__private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__8_spec__17_spec__19_spec__21___redArg(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* l_Lean_Parser_node(lean_object*, lean_object*); lean_object* l_StateT_bind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1362,6 +1365,7 @@ static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_l static lean_object* l_Lean_Doc_suggestSyntax___regBuiltin_Lean_Doc_suggestSyntax__1___closed__2; LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Doc_name_spec__2___redArg___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_Doc_tactic___closed__1; +LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_toArray___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__14; @@ -1370,7 +1374,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m static lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13___at___00Lean_PersistentHashMap_toArray___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__1_spec__4___redArg___closed__0; static lean_object* l_Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__0; extern lean_object* l_Lean_scopedEnvExtensionsRef; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__4; static lean_object* l_Lean_Doc_open___closed__0; static lean_object* l_Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__2; static lean_object* l_Lean_Doc_manual___closed__3; @@ -1385,15 +1388,14 @@ static lean_object* l_Lean_Doc_assert_x27___closed__4; static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__20; static lean_object* l_Lean_Doc_assert_x27___closed__3; static lean_object* l_Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__13; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__4; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__0_00___x40_Lean_Elab_DocString_Builtin_1741536020____hygCtx___hyg_15_; lean_object* lean_mk_syntax_ident(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshFVarId___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_given___regBuiltin_Lean_Doc_given_getArgs_docString__5___closed__0; -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_mkIdentFrom_x27(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified___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_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1404,11 +1406,10 @@ uint8_t l_Lean_LocalDecl_isAuxDecl(lean_object*); static lean_object* l_Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3___closed__1; lean_object* l_Lean_instBEqExtraModUse_beq___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__1; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__12; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_given_spec__4___closed__6; lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); static lean_object* l_Lean_Doc_open___regBuiltin_Lean_Doc_open_getArgs_declRange__7___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_assert___regBuiltin_Lean_Doc_assert_getArgs_docString__5___boxed(lean_object*); static lean_object* l_Lean_Doc_name_getArgs___closed__0; @@ -1416,7 +1417,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lea lean_object* l_List_appendTR___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprSyntax_repr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__1_spec__2(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_set__option_getArgs(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1440,7 +1440,6 @@ lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___closed__0; lean_object* l_Lean_Parser_nodeFn(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_given___regBuiltin_Lean_Doc_given_getArgs_declRange__7___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldlFromMAux___at___00Lean_PersistentArray_foldlM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0_spec__0_spec__2___closed__2; @@ -1490,11 +1489,11 @@ static lean_object* l_Lean_Doc_suggestLeanTermBlock___regBuiltin_Lean_Doc_sugges LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_attr_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_instHashableExtraModUse_hash(lean_object*); lean_object* l_Lean_MessageData_ofExpr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getPositional___at___00Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Doc_tactic_spec__0___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprConvTactic___closed__0; -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterMapTR_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__2(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__3___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getNamed___at___00Lean_Doc_output_getArgs_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1503,11 +1502,11 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNa LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getRef___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_syntax_getArgs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__0; LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__0_00___x40_Lean_Elab_DocString_Builtin_3165776479____hygCtx___hyg_15_; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit_x27___at___00Lean_Doc_option_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_throwUnconfigurable___at___00__private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1_spec__3___redArg___closed__1; @@ -1530,6 +1529,7 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Doc_getPositional___at_ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg___closed__1; LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__2___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__0___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_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_2108039916____hygCtx___hyg_11_; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgWithSyntax___private__1___at___00Lean_Doc_instFromDocArgOption___private__1___at___00Lean_Doc_getNamed___at___00Lean_Doc_output_getArgs_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__3(lean_object*, lean_object*, lean_object*); @@ -1553,7 +1553,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__3(lean_object*, lean_object*, le lean_object* l_Lean_Meta_Context_config(lean_object*); static lean_object* l_Lean_Doc_assert_x27___closed__7; lean_object* l_List_head_x21___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__0(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_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__0; static lean_object* l_Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameAttribute; @@ -1565,7 +1565,6 @@ static lean_object* l_Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__0; LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_filterFieldList___at___00__private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__8_spec__17_spec__19_spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr___redArg___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___closed__0; static lean_object* l_Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1___closed__0; static lean_object* l_Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__1; @@ -1573,30 +1572,28 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_a LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_open_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___00Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Doc_tactic_spec__0_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___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_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_option___closed__3; static lean_object* l_Lean_Doc_given_getArgs___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___00Lean_Doc_name_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*); extern lean_object* l_Lean_Doc_instImpl_00___x40_Lean_Elab_DocString_Builtin_Postponed_1250074310____hygCtx___hyg_20_; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestConvTactic___regBuiltin_Lean_Doc_suggestConvTactic__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanBlock___lam__0(lean_object*, lean_object*); -static lean_object* l_Lean_Doc_lean___closed__13; lean_object* l_Lean_EditDistance_levenshtein(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_parseQuotedStrLit___at___00Lean_Doc_given_spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_open_spec__2_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat__3(); LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Doc_lean___lam__3___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__13(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_3430689252____hygCtx___hyg_11_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr_spec__0(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameModuleName; LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Doc_tactic_spec__0(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__5; static lean_object* l_Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6_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*); static lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___closed__2; -static lean_object* l_Lean_Doc_lean___closed__15; LEAN_EXPORT lean_object* l_Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Doc_tactic_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_activateScoped___at___00Lean_Doc_open_spec__3___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_attr_getArgs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1610,7 +1607,7 @@ static lean_object* l_Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__0(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Doc_lit___regBuiltin_Lean_Doc_lit__3___closed__1; static lean_object* l_Lean_Doc_givenInstance___regBuiltin_Lean_Doc_givenInstance_getArgs_declRange__7___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestTactic___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_filterFieldList___at___00__private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__8_spec__17_spec__19_spec__21_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1640,17 +1637,15 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_att LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Doc_instHAppendDocCodeString___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenInstanceContents___lam__4(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_lean___closed__4; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshFVarId___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_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_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___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_Doc_name___closed__7; static lean_object* l_Lean_Doc_lean___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_attr___regBuiltin_Lean_Doc_attr_getArgs_docString__5___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestName___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__20(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getNamed___at___00Lean_Doc_name_getArgs_spec__1_spec__3___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_given_spec__4___closed__5; static lean_object* l_Lean_Doc_lean___regBuiltin_Lean_Doc_lean__3___closed__1; @@ -1671,12 +1666,12 @@ LEAN_EXPORT lean_object* l_Lean_Doc_output___regBuiltin_Lean_Doc_output_getArgs_ LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getNamed___at___00Lean_Doc_output_getArgs_spec__0_spec__1___boxed(lean_object**); extern lean_object* l_Lean_Doc_instImpl_00___x40_Lean_Elab_DocString_Builtin_Postponed_1706582166____hygCtx___hyg_11_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_given_spec__6(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic__3(); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_givenInstance_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__3; lean_object* l_Lean_Name_appendCore(lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___regBuiltin_Lean_Doc_lean_getArgs_declRange__7___closed__1; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__8; static lean_object* l_Lean_Doc_module___closed__10; LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_lit_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1690,6 +1685,7 @@ lean_object* lean_string_length(lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenInstanceContents___closed__1; static lean_object* l_Lean_Doc_given_getArgs___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___00Lean_Doc_leanRole_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___closed__0; lean_object* l_Lean_Doc_elabInline(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1711,6 +1707,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_option___regBuiltin_Lean_Doc_option__3___box static lean_object* l_Lean_Doc_set__option_getArgs___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanRole_getArgs___boxed(lean_object*, lean_object*, lean_object*, 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_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DocString_0__Lean_Doc_asNamed(lean_object*); static lean_object* l_Lean_Doc_assert___regBuiltin_Lean_Doc_assert_getArgs_declRange__7___closed__3; @@ -1724,6 +1721,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_hig uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_suggestSyntax_spec__0___lam__0(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_open___regBuiltin_Lean_Doc_open_getArgs_declRange__7___closed__1; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_givenInstance_getArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1732,16 +1730,17 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_giv lean_object* lean_nat_mod(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestTactic___regBuiltin_Lean_Doc_suggestTactic__1___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_given___regBuiltin_Lean_Doc_given__3___closed__3; static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__1; lean_object* l_Lean_Parser_symbolFn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__1; static lean_object* l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_leanRole_getArgs_declRange__7___closed__2; static lean_object* l_Lean_Doc_getMany___at___00Lean_Doc_open_getArgs_spec__0___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at___00Lean_Elab_throwErrorWithNestedErrors___at___00Lean_Doc_tactic_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanBlock___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_name___closed__15; +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___00Lean_PersistentArray_findSomeRevM_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__2_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); @@ -1751,7 +1750,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_module___boxed(lean_object*, lean_object*, l LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_similarNames(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__13(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_output_spec__0_spec__0___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkListLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); static lean_object* l_Lean_Doc_output___regBuiltin_Lean_Doc_output__3___closed__0; @@ -1760,6 +1758,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_hig lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___00Lean_Doc_given_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_suggestLean___lam__0___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___lam__1___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_activateScoped___at___00Lean_Doc_open_spec__3_spec__12___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_Doc_lean_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1789,14 +1788,14 @@ lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__5; static lean_object* l_Lean_Doc_lean___regBuiltin_Lean_Doc_lean_getArgs_declRange__7___closed__3; LEAN_EXPORT lean_object* l_Lean_Doc_name___regBuiltin_Lean_Doc_name_getArgs_declRange__7(); +static lean_object* l_Lean_Doc_lean___lam__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_suggestSyntax(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_lean___closed__5; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprModuleName_repr___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_getMany___at___00Lean_Doc_open_getArgs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_logAt___at___00Lean_logInfoAt___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_option___regBuiltin_Lean_Doc_option_getArgs_declRange__7___boxed(lean_object*); static lean_object* l_Lean_Doc_option___closed__6; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getPositional___at___00Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__14(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); @@ -1806,6 +1805,7 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenCon static lean_object* l_Lean_Doc_option___closed__5; static lean_object* l_Lean_PersistentHashMap_toArray___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__1___redArg___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___redArg___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__19(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__1___closed__8; LEAN_EXPORT lean_object* l_Lean_Doc_assert_getArgs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1815,12 +1815,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_hig static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__13_spec__23___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3___boxed(lean_object*); static lean_object* l_Lean_Doc_module___regBuiltin_Lean_Doc_module_getArgs_declRange__7___closed__1; static lean_object* l_Lean_Doc_module___closed__12; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__6; @@ -1842,7 +1840,6 @@ LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___a LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_leanRole_getArgs_declRange__7(); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__3_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_firstToken_x3f_usable___boxed(lean_object*); static lean_object* l_Lean_Doc_attr___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___00Lean_PersistentArray_findSomeRevM_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__3_spec__9___redArg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1853,15 +1850,14 @@ uint64_t lean_uint64_xor(uint64_t, uint64_t); static lean_object* l_Lean_Doc_name___regBuiltin_Lean_Doc_name__3___closed__3; static lean_object* l_Lean_Doc_Data_instReprConst_repr___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5_spec__7___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_instBEqExtraModUse_beq(lean_object*, lean_object*); lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_given_spec__5___redArg(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_leanTerm___regBuiltin_Lean_Doc_leanTerm__3___boxed(lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___redArg___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___regBuiltin_Lean_Doc_attr__3___closed__2; +static lean_object* l_Lean_Doc_lean___lam__3___closed__6; static lean_object* l_Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_attr___regBuiltin_Lean_Doc_attr_getArgs_docString__5(); LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1869,7 +1865,6 @@ lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_ScopedEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprConst_repr___redArg___closed__5; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__3; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; static lean_object* l_Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3___closed__2; @@ -1877,7 +1872,6 @@ LEAN_EXPORT lean_object* l_Lean_resolveLocalName___at___00Lean_unresolveNameGlob LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___00Lean_PersistentArray_findSomeRevM_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__2_spec__6___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_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_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00List_forIn_x27_loop___at___00Lean_Doc_open_spec__4_spec__14(lean_object*, uint8_t, 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*); static lean_object* l_Lean_Doc_option___regBuiltin_Lean_Doc_option__3___closed__3; @@ -1886,13 +1880,11 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifie LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_mkIdentFrom_x27___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2(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* l_List_reverse___redArg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_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*, lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__17; uint8_t lean_int_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27_getArgs_docString__5(); LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_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*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_tactic_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameTactic; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1927,6 +1919,7 @@ static lean_object* l_Lean_Doc_conv___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0___redArg(lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprConst_repr___redArg___closed__3; lean_object* lean_get_set_stdin(lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__2; static lean_object* l_Lean_Doc_manual___closed__0; static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_given_spec__4___closed__3; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__1; @@ -1948,12 +1941,14 @@ static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_instImpl static lean_object* l_Lean_resolveNamespace___at___00Lean_Doc_open_spec__0___closed__1; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Doc_output___closed__14; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_filterFieldList___at___00__private_Lean_ResolveName_0__Lean_resolveGlobalConstCore___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__8_spec__17_spec__19_spec__21(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10___redArg(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 uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Doc_suggestModule_spec__0(lean_object*, lean_object*, size_t, size_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_3992687814____hygCtx___hyg_11_; LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameSetOption; lean_object* l_Lean_Parser_atomicFn(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_getPositional___at___00Lean_Doc_syntax_getArgs_spec__0___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1(); @@ -1973,6 +1968,7 @@ lean_object* l_Lean_getOptionDecl(lean_object*); LEAN_EXPORT lean_object* l_Lean_ensureNoOverload___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_ctorType_x3f(lean_object*); uint8_t lean_string_memcmp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_open___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_identFn(lean_object*, lean_object*); @@ -1982,11 +1978,9 @@ LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_leanRole_getA LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Doc_instFromDocArgDocScope___private__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__3(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Doc_open_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__16; lean_object* l_Lean_PersistentEnvExtension_addEntry___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0___closed__1; LEAN_EXPORT lean_object* l_Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9___lam__0___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1994,7 +1988,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_name___lam__2___boxed(lean_object*, lean_obj LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_suggestSyntax_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getNamed___at___00Lean_Doc_name_getArgs_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); -static lean_object* l_Lean_Doc_lean___closed__6; LEAN_EXPORT lean_object* l_Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option_getArgs_declRange__7(); LEAN_EXPORT lean_object* l_Lean_Doc_open_getArgs(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_open(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2005,6 +1998,7 @@ lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyIdent_isEmpty(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_tactic(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__0(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*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_givenInstance_spec__0___closed__2; lean_object* lean_erase_macro_scopes(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_open_spec__2___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2031,6 +2025,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_Persis static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__2___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_tactic___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Doc_instFromDocArgOption___private__1___at___00Lean_Doc_getNamed___at___00Lean_Doc_given_getArgs_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_assert___regBuiltin_Lean_Doc_assert_getArgs_docString__5___closed__0; @@ -2048,18 +2043,17 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___00Lean_Doc_parseStrLit___at___00Lean_Doc_tactic_spec__1_spec__3___redArg(lean_object*); static lean_object* l_Lean_Doc_module___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutErrToSorry___at___00Lean_Doc_leanRole_spec__0___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__19(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_syntax(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprModuleName_repr___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic___closed__3; size_t lean_usize_sub(size_t, size_t); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__4; lean_object* lean_array_mk(lean_object*); static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_Doc_name_spec__1_spec__2_spec__3_spec__10_spec__11_spec__13_spec__14_spec__15___redArg___closed__6; static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__1_spec__3___redArg___closed__1; uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_lean___closed__9; static lean_object* l_Lean_Doc_module___closed__0; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__3; LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*); @@ -2087,12 +2081,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_hig LEAN_EXPORT lean_object* l_Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option_getArgs_docString__5___boxed(lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Doc_checkNameExists_spec__0_spec__0___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Doc_name_spec__6___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_lean___lam__3___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_givenInstance_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lit___regBuiltin_Lean_Doc_lit_getArgs_declRange__7___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr_spec__2___redArg___lam__0(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__2; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanTermContents___lam__0___closed__1; lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_set__option_getArgs___closed__0; @@ -2107,13 +2100,13 @@ static lean_object* l_Lean_Doc_syntaxCat___regBuiltin_Lean_Doc_syntaxCat_getArgs LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes___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_Doc_given___regBuiltin_Lean_Doc_given_getArgs_docString__5___boxed(lean_object*); static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__8; +LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__3___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_attr___regBuiltin_Lean_Doc_attr_getArgs_declRange__7___boxed(lean_object*); static lean_object* l_Lean_resolveNamespaceCore___at___00Lean_resolveNamespace___at___00Lean_Doc_open_spec__0_spec__1___redArg___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__3(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Doc_lean___closed__10; LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Doc_set__option_spec__0(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean___regBuiltin_Lean_Doc_lean_getArgs_declRange__7___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_syntax___regBuiltin_Lean_Doc_syntax__3___boxed(lean_object*); @@ -2154,7 +2147,6 @@ LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnkn static lean_object* l_Lean_Doc_Data_instImpl___closed__0_00___x40_Lean_Elab_DocString_Builtin_975656928____hygCtx___hyg_11_; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_instImpl___closed__12_00___x40_Lean_Elab_DocString_Builtin_805460910____hygCtx___hyg_7_; LEAN_EXPORT lean_object* l_Lean_Doc_open___regBuiltin_Lean_Doc_open__3(); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getConvTactic_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__3; @@ -2163,6 +2155,7 @@ static lean_object* l_Lean_Doc_parseQuotedStrLit___at___00Lean_Doc_given_spec__2 static lean_object* l_Lean_resolveNamespace___at___00Lean_Doc_open_spec__0___closed__2; LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__1___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Doc_module___regBuiltin_Lean_Doc_module__3(); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_assertContents___lam__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_lean___regBuiltin_Lean_Doc_lean_getArgs_declRange__7(); @@ -2174,12 +2167,12 @@ size_t lean_usize_shift_left(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Doc_parseStrLit___at___00Lean_Doc_tactic_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___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Doc_name_spec__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestName___regBuiltin_Lean_Doc_suggestName__1(); lean_object* l_Lean_Meta_getLocalInstances___redArg(lean_object*); static lean_object* l_Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_module_getArgs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestAttr___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_pushInfoLeaf___at___00Lean_Doc_name_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*); @@ -2207,6 +2200,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_Data_instReprSyntaxCat_repr___boxed(lean_obj lean_object* lean_string_from_utf8_unchecked(lean_object*); lean_object* l_Lean_Doc_Block_empty(lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___closed__11; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__10; static lean_object* l_Lean_Doc_attr___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_suggestSyntax_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_EXPORT lean_object* l_Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27_getArgs_declRange__7(); @@ -2245,8 +2239,6 @@ lean_object* l_Lean_LocalDecl_toExpr(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_name_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getPositional___at___00Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getNamed___at___00Lean_Doc_name_getArgs_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__11; -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNatLit_x3f(lean_object*); static lean_object* l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_975656928____hygCtx___hyg_11_; LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1_spec__2(lean_object*); @@ -2255,6 +2247,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3(); static lean_object* l_Lean_Doc_suggestCat___regBuiltin_Lean_Doc_suggestCat__1___closed__0; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__6; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__1_spec__3_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___boxed(lean_object**); static lean_object* l_Lean_Doc_assert___closed__1; LEAN_EXPORT lean_object* l_Lean_Doc_manual(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* l_Lean_Parser_whitespace(lean_object*, lean_object*); @@ -2281,6 +2274,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_manual_getArgs___boxed(lean_object*, lean_ob LEAN_EXPORT lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanTermBlock(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_toArray(lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Doc_addBuiltinDocRole(lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLeanBlock___regBuiltin_Lean_Doc_suggestLeanBlock__1(); @@ -2306,6 +2300,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_open___boxed(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l_Lean_logInfoAt___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_assert___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestModule___regBuiltin_Lean_Doc_suggestModule__1(); +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_975656928____hygCtx___hyg_11_; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_rewriteBottomUpM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__1___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2332,16 +2327,15 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_Pers static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__2; LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_literal_elim(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_attr___closed__8; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Doc_lean___lam__3___closed__7; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__21; static lean_object* l_Lean_Doc_conv___regBuiltin_Lean_Doc_conv_getArgs_declRange__7___closed__0; -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_manual___closed__4; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__4___boxed(lean_object**); static lean_object* l_Lean_Doc_manual___closed__6; LEAN_EXPORT lean_object* l_Lean_logWarningAt___at___00Lean_Doc_given_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_conv___regBuiltin_Lean_Doc_conv_getArgs_declRange__7___closed__1; -static lean_object* l_Lean_Doc_lean___closed__7; static lean_object* l_Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__2; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2362,6 +2356,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenD LEAN_EXPORT lean_object* l_Lean_Doc_module___regBuiltin_Lean_Doc_module_getArgs_declRange__7(); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___00Lean_PersistentArray_findSomeRevM_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__2_spec__6___redArg___lam__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00Lean_Doc_given_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Doc_getMany___at___00Lean_Doc_open_getArgs_spec__0_spec__1(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_name___regBuiltin_Lean_Doc_name__3(); lean_object* l_Lean_Elab_ContextInfo_runMetaM___redArg(lean_object*, lean_object*, lean_object*); @@ -2371,7 +2366,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_lit(lean_object*, uint8_t, lean_object*, lea static lean_object* l_Lean_Doc_Data_instReprConst_repr___redArg___closed__0; static lean_object* l___private_Lean_ResolveName_0__Lean_unresolveNameGlobal_unresolveNameCore___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__6___closed__0; static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__15; -static lean_object* l_Lean_Doc_lean___closed__12; static lean_object* l_Lean_Doc_option___closed__4; LEAN_EXPORT lean_object* l_Lean_Doc_lit___regBuiltin_Lean_Doc_lit_getArgs_declRange__7(); LEAN_EXPORT lean_object* l_Lean_Doc_syntaxCat___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2386,8 +2380,10 @@ static lean_object* l_Lean_Doc_manual___closed__7; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_givenInstance_spec__1___redArg(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_DeclNameGenerator_ofPrefix(lean_object*); static lean_object* l_Lean_Doc_assert_x27___regBuiltin_Lean_Doc_assert_x27_getArgs_declRange__7___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getPositional___at___00Lean_Doc_set__option_getArgs_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Range_Basic_0__Std_Legacy_Range_forIn_x27_loop___at___00Lean_Doc_getPositional___at___00Lean_Doc_syntax_getArgs_spec__0_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestTactic(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_tactic___regBuiltin_Lean_Doc_tactic_getArgs_declRange__7___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -2402,7 +2398,6 @@ uint8_t l_Array_contains___redArg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Options_empty; LEAN_EXPORT lean_object* l_Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_module___regBuiltin_Lean_Doc_module_getArgs_docString__5___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_checkNameExists___redArg___closed__0; @@ -2419,7 +2414,6 @@ LEAN_EXPORT lean_object* l_Lean_Doc_manual___regBuiltin_Lean_Doc_manual__3(); lean_object* l_Lean_Parser_SyntaxStack_back(lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption___regBuiltin_Lean_Doc_suggestOption__1(); LEAN_EXPORT lean_object* l_Lean_Doc_checkNameExists(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_findSomeRevM_x3f_find___at___00Lean_PersistentArray_findSomeRevM_x3f___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__0_spec__2_spec__6___redArg___lam__0(lean_object*, lean_object*); lean_object* l_Lean_Name_hash___override___boxed(lean_object*); @@ -2431,13 +2425,13 @@ static lean_object* l_Lean_Doc_output___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand___lam__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_Doc_suggestName___lam__0(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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18_spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_Doc_lean_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19___closed__4; static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_optionNameAndVal___closed__1; static lean_object* l_Lean_Doc_assert___regBuiltin_Lean_Doc_assert__3___closed__3; lean_object* l_Lean_Doc_addBuiltinCodeBlockSuggestion(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprConst_repr___redArg___closed__1; lean_object* l_String_decidableLT___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_suggestLean___regBuiltin_Lean_Doc_suggestLean__1___boxed(lean_object*); @@ -2445,9 +2439,9 @@ static lean_object* l_Lean_Doc_assert_x27___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_lean_getArgs___closed__1; static lean_object* l_Lean_Doc_syntax_getArgs___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13(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* l_instDecidableEqString___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_SMap_toList___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__1_spec__3_spec__14___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__4___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_instImpl___closed__8_00___x40_Lean_Elab_DocString_Builtin_805460910____hygCtx___hyg_7_; lean_object* l_Lean_Doc_addBuiltinDocCodeBlock(lean_object*, lean_object*, lean_object*); @@ -2459,6 +2453,7 @@ size_t lean_usize_land(size_t, size_t); static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__1_spec__3___redArg___closed__0; lean_object* l_Lean_throwErrorAt___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_StateT_pure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_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*); static lean_object* l_Lean_ensureNoOverload___at___00Lean_resolveGlobalConstNoOverloadCore___at___00Lean_Elab_OpenDecl_resolveId___at___00Lean_Elab_OpenDecl_resolveNameUsingNamespacesCore___at___00Lean_Doc_open_spec__1_spec__3_spec__4_spec__9___closed__3; lean_object* l_Lean_Parser_optionalFn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_Data_instReprSyntax_repr___redArg___closed__0; @@ -2472,6 +2467,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold_ LEAN_EXPORT lean_object* l_Lean_Doc_Data_instTypeNameLeanBlock; LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Doc_output___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_logAt___at___00Lean_logInfoAt___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5; lean_object* l_Std_HashMap_instInhabited(lean_object*, lean_object*, lean_object*, lean_object*); @@ -2491,6 +2487,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onl LEAN_EXPORT lean_object* l_Lean_Doc_given___regBuiltin_Lean_Doc_given_getArgs_declRange__7___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_validateCat___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Doc_conv___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00List_forIn_x27_loop___at___00Lean_Doc_open_spec__4_spec__14___redArg(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__1_spec__3___redArg(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__2_spec__6___redArg(lean_object* x_1, lean_object* x_2) { @@ -44930,7 +44927,7 @@ block_9: lean_object* x_7; lean_object* x_8; x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_4); +lean_ctor_set(x_7, 1, x_5); x_8 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_8, 0, x_7); return x_8; @@ -44961,8 +44958,8 @@ lean_object* x_22; lean_object* x_23; lean_dec_ref(x_20); x_22 = l_IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2___redArg___closed__4; x_23 = l_panic___at___00IO_FS_withIsolatedStreams___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__2_spec__6(x_22); -x_4 = x_18; -x_5 = lean_box(0); +x_4 = lean_box(0); +x_5 = x_18; x_6 = x_23; goto block_9; } @@ -44970,8 +44967,8 @@ else { lean_object* x_24; x_24 = lean_string_from_utf8_unchecked(x_20); -x_4 = x_18; -x_5 = lean_box(0); +x_4 = lean_box(0); +x_5 = x_18; x_6 = x_24; goto block_9; } @@ -45179,7 +45176,7 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logInfoAt___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_runCommand_spec__0_spec__0(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_8; lean_object* x_9; uint8_t 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; uint8_t x_82; lean_object* x_83; uint8_t x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; uint8_t x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; uint8_t x_120; lean_object* x_121; uint8_t x_125; lean_object* x_126; uint8_t x_127; uint8_t x_128; uint8_t x_139; uint8_t x_140; lean_object* x_141; uint8_t x_142; uint8_t x_143; uint8_t x_145; uint8_t x_158; +lean_object* x_8; uint8_t 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; uint8_t x_82; uint8_t x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; uint8_t x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; uint8_t x_125; lean_object* x_126; uint8_t x_127; uint8_t x_128; uint8_t x_139; uint8_t x_140; lean_object* x_141; uint8_t x_142; uint8_t x_143; uint8_t x_145; uint8_t x_158; x_139 = 2; x_158 = l_Lean_instBEqMessageSeverity_beq(x_3, x_139); if (x_158 == 0) @@ -45231,15 +45228,15 @@ lean_ctor_set(x_27, 0, x_23); lean_ctor_set(x_27, 1, x_24); x_28 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_12); +lean_ctor_set(x_28, 1, x_13); x_29 = lean_alloc_ctor(0, 5, 3); lean_ctor_set(x_29, 0, x_11); -lean_ctor_set(x_29, 1, x_8); -lean_ctor_set(x_29, 2, x_9); -lean_ctor_set(x_29, 3, x_13); +lean_ctor_set(x_29, 1, x_12); +lean_ctor_set(x_29, 2, x_10); +lean_ctor_set(x_29, 3, x_8); lean_ctor_set(x_29, 4, x_28); -lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_10); -lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_14); +lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_14); +lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_9); lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 2, x_4); x_30 = l_Lean_MessageLog_add(x_29, x_26); lean_ctor_set(x_22, 1, x_30); @@ -45279,15 +45276,15 @@ lean_ctor_set(x_44, 0, x_23); lean_ctor_set(x_44, 1, x_24); x_45 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_12); +lean_ctor_set(x_45, 1, x_13); x_46 = lean_alloc_ctor(0, 5, 3); lean_ctor_set(x_46, 0, x_11); -lean_ctor_set(x_46, 1, x_8); -lean_ctor_set(x_46, 2, x_9); -lean_ctor_set(x_46, 3, x_13); +lean_ctor_set(x_46, 1, x_12); +lean_ctor_set(x_46, 2, x_10); +lean_ctor_set(x_46, 3, x_8); lean_ctor_set(x_46, 4, x_45); -lean_ctor_set_uint8(x_46, sizeof(void*)*5, x_10); -lean_ctor_set_uint8(x_46, sizeof(void*)*5 + 1, x_14); +lean_ctor_set_uint8(x_46, sizeof(void*)*5, x_14); +lean_ctor_set_uint8(x_46, sizeof(void*)*5 + 1, x_9); lean_ctor_set_uint8(x_46, sizeof(void*)*5 + 2, x_4); x_47 = l_Lean_MessageLog_add(x_46, x_34); x_48 = lean_alloc_ctor(0, 11, 0); @@ -45365,15 +45362,15 @@ lean_ctor_set(x_67, 0, x_53); lean_ctor_set(x_67, 1, x_54); x_68 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_12); +lean_ctor_set(x_68, 1, x_13); x_69 = lean_alloc_ctor(0, 5, 3); lean_ctor_set(x_69, 0, x_11); -lean_ctor_set(x_69, 1, x_8); -lean_ctor_set(x_69, 2, x_9); -lean_ctor_set(x_69, 3, x_13); +lean_ctor_set(x_69, 1, x_12); +lean_ctor_set(x_69, 2, x_10); +lean_ctor_set(x_69, 3, x_8); lean_ctor_set(x_69, 4, x_68); -lean_ctor_set_uint8(x_69, sizeof(void*)*5, x_10); -lean_ctor_set_uint8(x_69, sizeof(void*)*5 + 1, x_14); +lean_ctor_set_uint8(x_69, sizeof(void*)*5, x_14); +lean_ctor_set_uint8(x_69, sizeof(void*)*5 + 1, x_9); lean_ctor_set_uint8(x_69, sizeof(void*)*5 + 2, x_4); x_70 = l_Lean_MessageLog_add(x_69, x_56); if (lean_is_scalar(x_66)) { @@ -45406,7 +45403,7 @@ lean_dec(x_18); lean_dec_ref(x_13); lean_dec_ref(x_12); lean_dec_ref(x_11); -lean_dec(x_9); +lean_dec(x_10); lean_dec_ref(x_8); x_75 = !lean_is_exclusive(x_19); if (x_75 == 0) @@ -45431,7 +45428,7 @@ uint8_t x_78; lean_dec_ref(x_13); lean_dec_ref(x_12); lean_dec_ref(x_11); -lean_dec(x_9); +lean_dec(x_10); lean_dec_ref(x_8); x_78 = !lean_is_exclusive(x_17); if (x_78 == 0) @@ -45477,12 +45474,12 @@ x_98 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraM if (x_90 == 0) { lean_free_object(x_92); -x_8 = x_95; -x_9 = x_97; -x_10 = x_84; +x_8 = x_98; +x_9 = x_83; +x_10 = x_97; x_11 = x_88; -x_12 = x_94; -x_13 = x_98; +x_12 = x_95; +x_13 = x_94; x_14 = x_85; x_15 = x_6; x_16 = lean_box(0); @@ -45512,12 +45509,12 @@ return x_92; else { lean_free_object(x_92); -x_8 = x_95; -x_9 = x_97; -x_10 = x_84; +x_8 = x_98; +x_9 = x_83; +x_10 = x_97; x_11 = x_88; -x_12 = x_94; -x_13 = x_98; +x_12 = x_95; +x_13 = x_94; x_14 = x_85; x_15 = x_6; x_16 = lean_box(0); @@ -45541,12 +45538,12 @@ lean_ctor_set(x_107, 0, x_106); x_108 = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__3___redArg___closed__1; if (x_90 == 0) { -x_8 = x_105; -x_9 = x_107; -x_10 = x_84; +x_8 = x_108; +x_9 = x_83; +x_10 = x_107; x_11 = x_88; -x_12 = x_104; -x_13 = x_108; +x_12 = x_105; +x_13 = x_104; x_14 = x_85; x_15 = x_6; x_16 = lean_box(0); @@ -45576,12 +45573,12 @@ return x_114; } else { -x_8 = x_105; -x_9 = x_107; -x_10 = x_84; +x_8 = x_108; +x_9 = x_83; +x_10 = x_107; x_11 = x_88; -x_12 = x_104; -x_13 = x_108; +x_12 = x_105; +x_13 = x_104; x_14 = x_85; x_15 = x_6; x_16 = lean_box(0); @@ -45593,14 +45590,14 @@ goto block_81; block_124: { lean_object* x_122; -x_122 = l_Lean_Syntax_getTailPos_x3f(x_118, x_119); -lean_dec(x_118); +x_122 = l_Lean_Syntax_getTailPos_x3f(x_119, x_120); +lean_dec(x_119); if (lean_obj_tag(x_122) == 0) { lean_inc(x_121); x_82 = x_116; -x_83 = lean_box(0); -x_84 = x_119; +x_83 = x_117; +x_84 = lean_box(0); x_85 = x_120; x_86 = x_121; x_87 = x_121; @@ -45613,8 +45610,8 @@ x_123 = lean_ctor_get(x_122, 0); lean_inc(x_123); lean_dec_ref(x_122); x_82 = x_116; -x_83 = lean_box(0); -x_84 = x_119; +x_83 = x_117; +x_84 = lean_box(0); x_85 = x_120; x_86 = x_121; x_87 = x_123; @@ -45639,10 +45636,10 @@ if (lean_obj_tag(x_132) == 0) lean_object* x_133; x_133 = lean_unsigned_to_nat(0u); x_116 = x_125; -x_117 = lean_box(0); -x_118 = x_131; -x_119 = x_127; -x_120 = x_128; +x_117 = x_128; +x_118 = lean_box(0); +x_119 = x_131; +x_120 = x_127; x_121 = x_133; goto block_124; } @@ -45653,10 +45650,10 @@ x_134 = lean_ctor_get(x_132, 0); lean_inc(x_134); lean_dec_ref(x_132); x_116 = x_125; -x_117 = lean_box(0); -x_118 = x_131; -x_119 = x_127; -x_120 = x_128; +x_117 = x_128; +x_118 = lean_box(0); +x_119 = x_131; +x_120 = x_127; x_121 = x_134; goto block_124; } @@ -46591,7 +46588,7 @@ block_43: { lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_23 = lean_alloc_ctor(1, 2, 1); -lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 0, x_20); lean_ctor_set(x_23, 1, x_21); lean_ctor_set_uint8(x_23, sizeof(void*)*2, x_18); lean_inc_ref(x_22); @@ -46694,8 +46691,8 @@ x_54 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redAr x_55 = lean_nat_dec_le(x_54, x_53); if (x_55 == 0) { -x_19 = x_46; -x_20 = lean_box(0); +x_19 = lean_box(0); +x_20 = x_46; x_21 = x_47; x_22 = x_51; goto block_43; @@ -46707,8 +46704,8 @@ x_56 = lean_unsigned_to_nat(0u); x_57 = lean_string_memcmp(x_51, x_52, x_56, x_56, x_54); if (x_57 == 0) { -x_19 = x_46; -x_20 = lean_box(0); +x_19 = lean_box(0); +x_20 = x_46; x_21 = x_47; x_22 = x_51; goto block_43; @@ -46730,8 +46727,8 @@ lean_dec(x_61); lean_dec_ref(x_51); x_63 = lean_string_append(x_58, x_62); lean_dec_ref(x_62); -x_19 = x_46; -x_20 = lean_box(0); +x_19 = lean_box(0); +x_20 = x_46; x_21 = x_47; x_22 = x_63; goto block_43; @@ -46991,7 +46988,7 @@ lean_dec(x_3); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_9; lean_object* x_10; @@ -47046,4957 +47043,34 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_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_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, 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_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_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_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_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: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_1); -x_12 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_3); lean_dec(x_2); return x_12; } } -LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_box(x_3); -x_14 = lean_apply_10(x_1, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_apply_1(x_2, x_16); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_14, 0); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_apply_1(x_2, x_18); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_19); -return x_20; -} -} -else -{ -uint8_t x_21; -lean_dec(x_2); -x_21 = !lean_is_exclusive(x_14); -if (x_21 == 0) -{ -return x_14; -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_14, 0); -lean_inc(x_22); -lean_dec(x_14); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -return x_23; -} -} -} -} -LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); -x_14 = l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9___redArg(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_5 = lean_box(0); -x_6 = l_Lean_Doc_DocCode_push(x_3, x_1, x_2); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_5); -lean_ctor_set(x_7, 1, x_6); -x_8 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_8, 0, x_7); -return x_8; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(x_1, x_2, x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg___lam__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_11; -x_11 = l_Lean_Elab_ContextInfo_runMetaM___redArg(x_1, x_2, x_3); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_11, 0); -x_17 = lean_ctor_get(x_8, 5); -x_18 = lean_io_error_to_string(x_16); -x_19 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_19, 0, x_18); -x_20 = l_Lean_MessageData_ofFormat(x_19); -lean_inc(x_17); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_20); -lean_ctor_set(x_11, 0, x_21); -return x_11; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_22 = lean_ctor_get(x_11, 0); -lean_inc(x_22); -lean_dec(x_11); -x_23 = lean_ctor_get(x_8, 5); -x_24 = lean_io_error_to_string(x_22); -x_25 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = l_Lean_MessageData_ofFormat(x_25); -lean_inc(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_23); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -return x_28; -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_11; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_13; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_4); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; uint8_t x_16; -lean_dec_ref(x_4); -x_14 = lean_ctor_get(x_3, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_3, 1); -lean_inc(x_15); -lean_dec_ref(x_3); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_ctor_get(x_14, 0); -x_18 = lean_ctor_get(x_14, 1); -lean_inc(x_18); -x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___redArg___lam__2___boxed), 6, 1); -lean_closure_set(x_19, 0, x_18); -x_20 = l_Lean_Elab_Info_lctx(x_18); -lean_dec(x_18); -x_21 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg___lam__1___boxed), 10, 3); -lean_closure_set(x_21, 0, x_17); -lean_closure_set(x_21, 1, x_20); -lean_closure_set(x_21, 2, x_19); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_22 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_22) == 0) -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -if (lean_obj_tag(x_24) == 1) -{ -lean_object* x_25; -lean_dec(x_15); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_14, 1, x_1); -lean_ctor_set(x_14, 0, x_25); -lean_ctor_set(x_22, 0, x_14); -return x_22; -} -else -{ -lean_free_object(x_22); -lean_dec(x_24); -lean_free_object(x_14); -lean_inc_ref(x_2); -{ -lean_object* _tmp_2 = x_15; -lean_object* _tmp_3 = x_2; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -} -else -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_22, 0); -lean_inc(x_27); -lean_dec(x_22); -if (lean_obj_tag(x_27) == 1) -{ -lean_object* x_28; lean_object* x_29; -lean_dec(x_15); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_14, 1, x_1); -lean_ctor_set(x_14, 0, x_28); -x_29 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_29, 0, x_14); -return x_29; -} -else -{ -lean_dec(x_27); -lean_free_object(x_14); -lean_inc_ref(x_2); -{ -lean_object* _tmp_2 = x_15; -lean_object* _tmp_3 = x_2; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -} -} -else -{ -uint8_t x_31; -lean_free_object(x_14); -lean_dec(x_15); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -x_31 = !lean_is_exclusive(x_22); -if (x_31 == 0) -{ -return x_22; -} -else -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_22, 0); -lean_inc(x_32); -lean_dec(x_22); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -return x_33; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_34 = lean_ctor_get(x_14, 0); -x_35 = lean_ctor_get(x_14, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_14); -lean_inc(x_35); -x_36 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___redArg___lam__2___boxed), 6, 1); -lean_closure_set(x_36, 0, x_35); -x_37 = l_Lean_Elab_Info_lctx(x_35); -lean_dec(x_35); -x_38 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg___lam__1___boxed), 10, 3); -lean_closure_set(x_38, 0, x_34); -lean_closure_set(x_38, 1, x_37); -lean_closure_set(x_38, 2, x_36); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_39 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - x_41 = x_39; -} else { - lean_dec_ref(x_39); - x_41 = lean_box(0); -} -if (lean_obj_tag(x_40) == 1) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_15); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_40); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_1); -if (lean_is_scalar(x_41)) { - x_44 = lean_alloc_ctor(0, 1, 0); -} else { - x_44 = x_41; -} -lean_ctor_set(x_44, 0, x_43); -return x_44; -} -else -{ -lean_dec(x_41); -lean_dec(x_40); -lean_inc_ref(x_2); -{ -lean_object* _tmp_2 = x_15; -lean_object* _tmp_3 = x_2; -x_3 = _tmp_2; -x_4 = _tmp_3; -} -goto _start; -} -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -lean_dec(x_15); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -x_46 = lean_ctor_get(x_39, 0); -lean_inc(x_46); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - x_47 = x_39; -} else { - lean_dec_ref(x_39); - x_47 = lean_box(0); -} -if (lean_is_scalar(x_47)) { - x_48 = lean_alloc_ctor(1, 1, 0); -} else { - x_48 = x_47; -} -lean_ctor_set(x_48, 0, x_46); -return x_48; -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg(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_5); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_box(0); -x_13 = lean_box(0); -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___redArg___closed__0; -x_15 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg(x_13, x_14, x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -lean_dec(x_17); -if (lean_obj_tag(x_18) == 0) -{ -lean_ctor_set(x_15, 0, x_12); -return x_15; -} -else -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -lean_dec_ref(x_18); -lean_ctor_set(x_15, 0, x_19); -return x_15; -} -} -else -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_15, 0); -lean_inc(x_20); -lean_dec(x_15); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_12); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -lean_dec_ref(x_21); -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_23); -return x_24; -} -} -} -else -{ -uint8_t x_25; -x_25 = !lean_is_exclusive(x_15); -if (x_25 == 0) -{ -return x_15; -} -else -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_15, 0); -lean_inc(x_26); -lean_dec(x_15); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -return x_27; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_2); -x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_4); -lean_dec(x_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_ContextInfo_runMetaM___redArg(x_1, x_2, x_3); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_11, 0); -x_17 = lean_ctor_get(x_8, 5); -x_18 = lean_io_error_to_string(x_16); -x_19 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_19, 0, x_18); -x_20 = l_Lean_MessageData_ofFormat(x_19); -lean_inc(x_17); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_20); -lean_ctor_set(x_11, 0, x_21); -return x_11; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_22 = lean_ctor_get(x_11, 0); -lean_inc(x_22); -lean_dec(x_11); -x_23 = lean_ctor_get(x_8, 5); -x_24 = lean_io_error_to_string(x_22); -x_25 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = l_Lean_MessageData_ofFormat(x_25); -lean_inc(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_23); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -return x_28; -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_11; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_ContextInfo_runMetaM___redArg(x_1, x_2, x_3); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_11, 0); -x_17 = lean_ctor_get(x_8, 5); -x_18 = lean_io_error_to_string(x_16); -x_19 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_19, 0, x_18); -x_20 = l_Lean_MessageData_ofFormat(x_19); -lean_inc(x_17); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_20); -lean_ctor_set(x_11, 0, x_21); -return x_11; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_22 = lean_ctor_get(x_11, 0); -lean_inc(x_22); -lean_dec(x_11); -x_23 = lean_ctor_get(x_8, 5); -x_24 = lean_io_error_to_string(x_22); -x_25 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = l_Lean_MessageData_ofFormat(x_25); -lean_inc(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_23); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -return x_28; -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__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) { -_start: -{ -lean_object* x_11; -x_11 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_11; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_11; -x_11 = l_Lean_Elab_ContextInfo_runMetaM___redArg(x_1, x_2, x_3); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -else -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_11); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_11, 0); -x_17 = lean_ctor_get(x_8, 5); -x_18 = lean_io_error_to_string(x_16); -x_19 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_19, 0, x_18); -x_20 = l_Lean_MessageData_ofFormat(x_19); -lean_inc(x_17); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_20); -lean_ctor_set(x_11, 0, x_21); -return x_11; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_22 = lean_ctor_get(x_11, 0); -lean_inc(x_22); -lean_dec(x_11); -x_23 = lean_ctor_get(x_8, 5); -x_24 = lean_io_error_to_string(x_22); -x_25 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_25, 0, x_24); -x_26 = l_Lean_MessageData_ofFormat(x_25); -lean_inc(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_23); -lean_ctor_set(x_27, 1, x_26); -x_28 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_28, 0, x_27); -return x_28; -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_11; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_12; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); -x_12 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_12, 0, x_3); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_2, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_13, 1); -lean_inc(x_14); -switch (lean_obj_tag(x_14)) { -case 1: -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_2, 1); -lean_inc(x_15); -lean_dec_ref(x_2); -x_16 = lean_ctor_get(x_13, 0); -lean_inc(x_16); -lean_dec(x_13); -x_17 = lean_ctor_get(x_14, 0); -lean_inc_ref(x_17); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - x_18 = x_14; -} else { - lean_dec_ref(x_14); - x_18 = lean_box(0); -} -if (lean_obj_tag(x_3) == 1) -{ -lean_object* x_49; -x_49 = lean_ctor_get(x_3, 0); -if (lean_obj_tag(x_49) == 1) -{ -lean_object* x_50; -lean_dec(x_18); -x_50 = lean_ctor_get(x_17, 3); -lean_inc_ref(x_50); -if (lean_obj_tag(x_50) == 4) -{ -uint8_t x_51; -x_51 = !lean_is_exclusive(x_3); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_52 = lean_ctor_get(x_3, 0); -lean_dec(x_52); -x_53 = lean_ctor_get(x_17, 1); -lean_inc_ref(x_53); -lean_dec_ref(x_17); -x_54 = lean_ctor_get(x_50, 0); -lean_inc(x_54); -lean_dec_ref(x_50); -lean_inc(x_54); -x_55 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_ppSignature___boxed), 6, 1); -lean_closure_set(x_55, 0, x_54); -x_56 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__0___boxed), 10, 3); -lean_closure_set(x_56, 0, x_16); -lean_closure_set(x_56, 1, x_53); -lean_closure_set(x_56, 2, x_55); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_57 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_56, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_57) == 0) -{ -lean_object* x_58; uint8_t x_59; -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -lean_dec_ref(x_57); -x_59 = !lean_is_exclusive(x_58); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; -x_60 = lean_ctor_get(x_58, 0); -x_61 = lean_ctor_get(x_58, 1); -lean_dec(x_61); -lean_ctor_set(x_58, 1, x_60); -lean_ctor_set(x_58, 0, x_54); -lean_ctor_set(x_3, 0, x_58); -x_2 = x_15; -goto _start; -} -else -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_58, 0); -lean_inc(x_63); -lean_dec(x_58); -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_54); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set(x_3, 0, x_64); -x_2 = x_15; -goto _start; -} -} -else -{ -uint8_t x_66; -lean_dec(x_54); -lean_free_object(x_3); -lean_dec(x_15); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); -x_66 = !lean_is_exclusive(x_57); -if (x_66 == 0) -{ -return x_57; -} -else -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_57, 0); -lean_inc(x_67); -lean_dec(x_57); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_67); -return x_68; -} -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_3); -x_69 = lean_ctor_get(x_17, 1); -lean_inc_ref(x_69); -lean_dec_ref(x_17); -x_70 = lean_ctor_get(x_50, 0); -lean_inc(x_70); -lean_dec_ref(x_50); -lean_inc(x_70); -x_71 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_ppSignature___boxed), 6, 1); -lean_closure_set(x_71, 0, x_70); -x_72 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__0___boxed), 10, 3); -lean_closure_set(x_72, 0, x_16); -lean_closure_set(x_72, 1, x_69); -lean_closure_set(x_72, 2, x_71); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_73 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_72, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_73) == 0) -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -lean_dec_ref(x_73); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_76 = x_74; -} else { - lean_dec_ref(x_74); - x_76 = lean_box(0); -} -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_76; -} -lean_ctor_set(x_77, 0, x_70); -lean_ctor_set(x_77, 1, x_75); -x_78 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_78, 0, x_77); -x_2 = x_15; -x_3 = x_78; -goto _start; -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; -lean_dec(x_70); -lean_dec(x_15); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); -x_80 = lean_ctor_get(x_73, 0); -lean_inc(x_80); -if (lean_is_exclusive(x_73)) { - lean_ctor_release(x_73, 0); - x_81 = x_73; -} else { - lean_dec_ref(x_73); - x_81 = lean_box(0); -} -if (lean_is_scalar(x_81)) { - x_82 = lean_alloc_ctor(1, 1, 0); -} else { - x_82 = x_81; -} -lean_ctor_set(x_82, 0, x_80); -return x_82; -} -} -} -else -{ -lean_dec_ref(x_50); -lean_dec_ref(x_17); -lean_dec(x_16); -x_2 = x_15; -goto _start; -} -} -else -{ -goto block_48; -} -} -else -{ -goto block_48; -} -block_48: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_17, 3); -lean_inc_ref(x_19); -switch (lean_obj_tag(x_19)) { -case 4: -{ -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_17, 1); -lean_inc_ref(x_20); -lean_dec_ref(x_17); -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -lean_dec_ref(x_19); -lean_inc(x_21); -x_22 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_ppSignature___boxed), 6, 1); -lean_closure_set(x_22, 0, x_21); -x_23 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__0___boxed), 10, 3); -lean_closure_set(x_23, 0, x_16); -lean_closure_set(x_23, 1, x_20); -lean_closure_set(x_23, 2, x_22); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_24 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_24) == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -lean_dec_ref(x_24); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_ctor_get(x_25, 1); -lean_dec(x_28); -lean_ctor_set(x_25, 1, x_27); -lean_ctor_set(x_25, 0, x_21); -if (lean_is_scalar(x_18)) { - x_29 = lean_alloc_ctor(1, 1, 0); -} else { - x_29 = x_18; -} -lean_ctor_set(x_29, 0, x_25); -x_2 = x_15; -x_3 = x_29; -goto _start; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_25, 0); -lean_inc(x_31); -lean_dec(x_25); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_21); -lean_ctor_set(x_32, 1, x_31); -if (lean_is_scalar(x_18)) { - x_33 = lean_alloc_ctor(1, 1, 0); -} else { - x_33 = x_18; -} -lean_ctor_set(x_33, 0, x_32); -x_2 = x_15; -x_3 = x_33; -goto _start; -} -} -else -{ -uint8_t x_35; -lean_dec(x_21); -lean_dec(x_18); -lean_dec(x_15); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); -x_35 = !lean_is_exclusive(x_24); -if (x_35 == 0) -{ -return x_24; -} -else -{ -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_24, 0); -lean_inc(x_36); -lean_dec(x_24); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_36); -return x_37; -} -} -} -case 1: -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -lean_dec(x_18); -x_38 = lean_ctor_get(x_17, 1); -lean_inc_ref(x_38); -lean_dec_ref(x_17); -x_39 = lean_ctor_get(x_19, 0); -lean_inc(x_39); -lean_dec_ref(x_19); -lean_inc(x_1); -x_40 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__5___boxed), 7, 2); -lean_closure_set(x_40, 0, x_39); -lean_closure_set(x_40, 1, x_1); -x_41 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__2___boxed), 10, 3); -lean_closure_set(x_41, 0, x_16); -lean_closure_set(x_41, 1, x_38); -lean_closure_set(x_41, 2, x_40); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -lean_dec_ref(x_42); -if (lean_obj_tag(x_43) == 1) -{ -x_2 = x_15; -x_3 = x_43; -goto _start; -} -else -{ -lean_dec(x_43); -x_2 = x_15; -goto _start; -} -} -else -{ -lean_dec(x_15); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); -return x_42; -} -} -default: -{ -lean_dec_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -x_2 = x_15; -goto _start; -} -} -} -else -{ -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -x_2 = x_15; -goto _start; -} -} -} -case 7: -{ -uint8_t x_84; -lean_dec(x_3); -x_84 = !lean_is_exclusive(x_14); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_85 = lean_ctor_get(x_14, 0); -x_86 = lean_ctor_get(x_2, 1); -lean_inc(x_86); -lean_dec_ref(x_2); -x_87 = lean_ctor_get(x_13, 0); -lean_inc(x_87); -lean_dec(x_13); -x_88 = lean_ctor_get(x_85, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_85, 2); -lean_inc_ref(x_89); -lean_dec_ref(x_85); -x_90 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__10___boxed), 6, 1); -lean_closure_set(x_90, 0, x_88); -x_91 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__4___boxed), 10, 3); -lean_closure_set(x_91, 0, x_87); -lean_closure_set(x_91, 1, x_89); -lean_closure_set(x_91, 2, x_90); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_92 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_91, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_92) == 0) -{ -lean_object* x_93; -x_93 = lean_ctor_get(x_92, 0); -lean_inc(x_93); -lean_dec_ref(x_92); -lean_ctor_set_tag(x_14, 1); -lean_ctor_set(x_14, 0, x_93); -x_2 = x_86; -x_3 = x_14; -goto _start; -} -else -{ -uint8_t x_95; -lean_dec(x_86); -lean_free_object(x_14); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); -x_95 = !lean_is_exclusive(x_92); -if (x_95 == 0) -{ -return x_92; -} -else -{ -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_92, 0); -lean_inc(x_96); -lean_dec(x_92); -x_97 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_97, 0, x_96); -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_14, 0); -lean_inc(x_98); -lean_dec(x_14); -x_99 = lean_ctor_get(x_2, 1); -lean_inc(x_99); -lean_dec_ref(x_2); -x_100 = lean_ctor_get(x_13, 0); -lean_inc(x_100); -lean_dec(x_13); -x_101 = lean_ctor_get(x_98, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_98, 2); -lean_inc_ref(x_102); -lean_dec_ref(x_98); -x_103 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__10___boxed), 6, 1); -lean_closure_set(x_103, 0, x_101); -x_104 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___lam__4___boxed), 10, 3); -lean_closure_set(x_104, 0, x_100); -lean_closure_set(x_104, 1, x_102); -lean_closure_set(x_104, 2, x_103); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_105 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_104, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_106; lean_object* x_107; -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -lean_dec_ref(x_105); -x_107 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_107, 0, x_106); -x_2 = x_99; -x_3 = x_107; -goto _start; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -lean_dec(x_99); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); -x_109 = lean_ctor_get(x_105, 0); -lean_inc(x_109); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - x_110 = x_105; -} else { - lean_dec_ref(x_105); - x_110 = lean_box(0); -} -if (lean_is_scalar(x_110)) { - x_111 = lean_alloc_ctor(1, 1, 0); -} else { - x_111 = x_110; -} -lean_ctor_set(x_111, 0, x_109); -return x_111; -} -} -} -case 5: -{ -uint8_t x_112; -lean_dec(x_3); -x_112 = !lean_is_exclusive(x_13); -if (x_112 == 0) -{ -lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_113 = lean_ctor_get(x_13, 1); -lean_dec(x_113); -x_114 = lean_ctor_get(x_13, 0); -lean_dec(x_114); -x_115 = !lean_is_exclusive(x_14); -if (x_115 == 0) -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_116 = lean_ctor_get(x_14, 0); -x_117 = lean_ctor_get(x_2, 1); -lean_inc(x_117); -lean_dec_ref(x_2); -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); -x_119 = lean_ctor_get(x_116, 2); -lean_inc(x_119); -lean_dec_ref(x_116); -lean_ctor_set_tag(x_13, 3); -lean_ctor_set(x_13, 1, x_119); -lean_ctor_set(x_13, 0, x_118); -lean_ctor_set_tag(x_14, 1); -lean_ctor_set(x_14, 0, x_13); -x_2 = x_117; -x_3 = x_14; -goto _start; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_121 = lean_ctor_get(x_14, 0); -lean_inc(x_121); -lean_dec(x_14); -x_122 = lean_ctor_get(x_2, 1); -lean_inc(x_122); -lean_dec_ref(x_2); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -x_124 = lean_ctor_get(x_121, 2); -lean_inc(x_124); -lean_dec_ref(x_121); -lean_ctor_set_tag(x_13, 3); -lean_ctor_set(x_13, 1, x_124); -lean_ctor_set(x_13, 0, x_123); -x_125 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_125, 0, x_13); -x_2 = x_122; -x_3 = x_125; -goto _start; -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -lean_dec(x_13); -x_127 = lean_ctor_get(x_14, 0); -lean_inc_ref(x_127); -if (lean_is_exclusive(x_14)) { - lean_ctor_release(x_14, 0); - x_128 = x_14; -} else { - lean_dec_ref(x_14); - x_128 = lean_box(0); -} -x_129 = lean_ctor_get(x_2, 1); -lean_inc(x_129); -lean_dec_ref(x_2); -x_130 = lean_ctor_get(x_127, 1); -lean_inc(x_130); -x_131 = lean_ctor_get(x_127, 2); -lean_inc(x_131); -lean_dec_ref(x_127); -x_132 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -if (lean_is_scalar(x_128)) { - x_133 = lean_alloc_ctor(1, 1, 0); -} else { - x_133 = x_128; - lean_ctor_set_tag(x_133, 1); -} -lean_ctor_set(x_133, 0, x_132); -x_2 = x_129; -x_3 = x_133; -goto _start; -} -} -default: -{ -lean_object* x_135; -lean_dec(x_14); -lean_dec(x_13); -x_135 = lean_ctor_get(x_2, 1); -lean_inc(x_135); -lean_dec_ref(x_2); -x_2 = x_135; -goto _start; -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_4); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_12; lean_object* x_13; -x_12 = lean_box(0); -x_13 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg(x_12, x_1, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_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) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_2); -x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_4); -lean_dec(x_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__14(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_ctor_get(x_1, 0); -x_14 = lean_ctor_get(x_13, 0); -x_15 = lean_ctor_get(x_13, 1); -x_16 = lean_ctor_get(x_13, 2); -x_17 = lean_string_utf8_extract(x_14, x_15, x_16); -x_18 = lean_box(0); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(x_17, x_18, x_2); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_2); -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_21); -return x_22; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_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: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__14(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_ctor_get(x_1, 2); -x_14 = lean_ctor_get(x_13, 0); -x_15 = lean_ctor_get(x_13, 1); -x_16 = lean_ctor_get(x_13, 2); -x_17 = lean_string_utf8_extract(x_14, x_15, x_16); -x_18 = lean_box(0); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(x_17, x_18, x_2); -return x_19; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_2); -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_21); -return x_22; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_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: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -switch (lean_obj_tag(x_2)) { -case 0: -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_14 = lean_box(0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_3); -x_16 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_16, 0, x_15); -return x_16; -} -case 1: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_34; -x_17 = lean_ctor_get(x_2, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_2, 1); -lean_inc(x_18); -x_19 = lean_ctor_get(x_2, 2); -x_34 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__14(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 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_63; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -lean_dec_ref(x_34); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_63 = l_Lean_isLitKind(x_18); -if (x_63 == 0) -{ -lean_inc_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_2); -x_37 = x_4; -x_38 = x_5; -x_39 = x_6; -x_40 = x_7; -x_41 = x_8; -x_42 = x_9; -x_43 = x_10; -x_44 = x_11; -x_45 = x_12; -x_46 = lean_box(0); -goto block_62; -} -else -{ -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = lean_array_get_size(x_19); -x_65 = lean_unsigned_to_nat(1u); -x_66 = lean_nat_dec_eq(x_64, x_65); -if (x_66 == 0) -{ -lean_inc_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_2); -x_37 = x_4; -x_38 = x_5; -x_39 = x_6; -x_40 = x_7; -x_41 = x_8; -x_42 = x_9; -x_43 = x_10; -x_44 = x_11; -x_45 = x_12; -x_46 = lean_box(0); -goto block_62; -} -else -{ -lean_object* x_67; lean_object* x_68; -x_67 = lean_unsigned_to_nat(0u); -x_68 = lean_array_fget_borrowed(x_19, x_67); -if (lean_obj_tag(x_68) == 2) -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); -lean_inc_ref(x_70); -x_71 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__14(x_69, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_71) == 0) -{ -uint8_t x_72; -x_72 = !lean_is_exclusive(x_71); -if (x_72 == 0) -{ -lean_object* x_73; uint8_t x_74; -x_73 = lean_ctor_get(x_71, 0); -x_74 = !lean_is_exclusive(x_73); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_75 = lean_ctor_get(x_73, 1); -x_76 = lean_ctor_get(x_73, 0); -lean_dec(x_76); -x_77 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__0___boxed), 4, 1); -lean_closure_set(x_77, 0, x_2); -x_78 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes(x_1, x_77); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_79 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15(x_78, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; lean_object* x_81; -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -lean_dec_ref(x_79); -lean_ctor_set_tag(x_73, 5); -lean_ctor_set(x_73, 1, x_80); -lean_ctor_set(x_73, 0, x_18); -lean_ctor_set_tag(x_71, 1); -x_81 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(x_70, x_71, x_75); -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, 0); -lean_inc(x_82); -lean_dec_ref(x_81); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_69, x_83, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_69); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -lean_dec_ref(x_84); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_87 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_17, x_86, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_17); -if (lean_obj_tag(x_87) == 0) -{ -uint8_t x_88; -x_88 = !lean_is_exclusive(x_87); -if (x_88 == 0) -{ -lean_object* x_89; uint8_t x_90; -x_89 = lean_ctor_get(x_87, 0); -x_90 = !lean_is_exclusive(x_89); -if (x_90 == 0) -{ -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_89, 0); -lean_dec(x_91); -x_92 = lean_box(0); -lean_ctor_set(x_89, 0, x_92); -return x_87; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_89, 1); -lean_inc(x_93); -lean_dec(x_89); -x_94 = lean_box(0); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -lean_ctor_set(x_87, 0, x_95); -return x_87; -} -} -else -{ -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_96 = lean_ctor_get(x_87, 0); -lean_inc(x_96); -lean_dec(x_87); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_98 = x_96; -} else { - lean_dec_ref(x_96); - x_98 = lean_box(0); -} -x_99 = lean_box(0); -if (lean_is_scalar(x_98)) { - x_100 = lean_alloc_ctor(0, 2, 0); -} else { - x_100 = x_98; -} -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_97); -x_101 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_101, 0, x_100); -return x_101; -} -} -else -{ -return x_87; -} -} -else -{ -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_84; -} -} -else -{ -lean_dec(x_69); -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_81; -} -} -else -{ -uint8_t x_102; -lean_free_object(x_73); -lean_dec(x_75); -lean_free_object(x_71); -lean_dec_ref(x_70); -lean_dec(x_69); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_102 = !lean_is_exclusive(x_79); -if (x_102 == 0) -{ -return x_79; -} -else -{ -lean_object* x_103; lean_object* x_104; -x_103 = lean_ctor_get(x_79, 0); -lean_inc(x_103); -lean_dec(x_79); -x_104 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_104, 0, x_103); -return x_104; -} -} -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_105 = lean_ctor_get(x_73, 1); -lean_inc(x_105); -lean_dec(x_73); -x_106 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__0___boxed), 4, 1); -lean_closure_set(x_106, 0, x_2); -x_107 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes(x_1, x_106); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_108 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15(x_107, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_108) == 0) -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_108, 0); -lean_inc(x_109); -lean_dec_ref(x_108); -x_110 = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(x_110, 0, x_18); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set_tag(x_71, 1); -lean_ctor_set(x_71, 0, x_110); -x_111 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(x_70, x_71, x_105); -if (lean_obj_tag(x_111) == 0) -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -lean_dec_ref(x_111); -x_113 = lean_ctor_get(x_112, 1); -lean_inc(x_113); -lean_dec(x_112); -x_114 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_69, x_113, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_69); -if (lean_obj_tag(x_114) == 0) -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -lean_dec_ref(x_114); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -lean_dec(x_115); -x_117 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_17, x_116, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_17); -if (lean_obj_tag(x_117) == 0) -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - x_119 = x_117; -} else { - lean_dec_ref(x_117); - x_119 = lean_box(0); -} -x_120 = lean_ctor_get(x_118, 1); -lean_inc(x_120); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - x_121 = x_118; -} else { - lean_dec_ref(x_118); - x_121 = lean_box(0); -} -x_122 = lean_box(0); -if (lean_is_scalar(x_121)) { - x_123 = lean_alloc_ctor(0, 2, 0); -} else { - x_123 = x_121; -} -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_120); -if (lean_is_scalar(x_119)) { - x_124 = lean_alloc_ctor(0, 1, 0); -} else { - x_124 = x_119; -} -lean_ctor_set(x_124, 0, x_123); -return x_124; -} -else -{ -return x_117; -} -} -else -{ -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_114; -} -} -else -{ -lean_dec(x_69); -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_111; -} -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; -lean_dec(x_105); -lean_free_object(x_71); -lean_dec_ref(x_70); -lean_dec(x_69); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_125 = lean_ctor_get(x_108, 0); -lean_inc(x_125); -if (lean_is_exclusive(x_108)) { - lean_ctor_release(x_108, 0); - x_126 = x_108; -} else { - lean_dec_ref(x_108); - x_126 = lean_box(0); -} -if (lean_is_scalar(x_126)) { - x_127 = lean_alloc_ctor(1, 1, 0); -} else { - x_127 = x_126; -} -lean_ctor_set(x_127, 0, x_125); -return x_127; -} -} -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_128 = lean_ctor_get(x_71, 0); -lean_inc(x_128); -lean_dec(x_71); -x_129 = lean_ctor_get(x_128, 1); -lean_inc(x_129); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_130 = x_128; -} else { - lean_dec_ref(x_128); - x_130 = lean_box(0); -} -x_131 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__0___boxed), 4, 1); -lean_closure_set(x_131, 0, x_2); -x_132 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes(x_1, x_131); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_133 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15(x_132, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_133) == 0) -{ -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -lean_dec_ref(x_133); -if (lean_is_scalar(x_130)) { - x_135 = lean_alloc_ctor(5, 2, 0); -} else { - x_135 = x_130; - lean_ctor_set_tag(x_135, 5); -} -lean_ctor_set(x_135, 0, x_18); -lean_ctor_set(x_135, 1, x_134); -x_136 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_136, 0, x_135); -x_137 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(x_70, x_136, x_129); -if (lean_obj_tag(x_137) == 0) -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -lean_dec_ref(x_137); -x_139 = lean_ctor_get(x_138, 1); -lean_inc(x_139); -lean_dec(x_138); -x_140 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_69, x_139, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_69); -if (lean_obj_tag(x_140) == 0) -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_141 = lean_ctor_get(x_140, 0); -lean_inc(x_141); -lean_dec_ref(x_140); -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -lean_dec(x_141); -x_143 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_17, x_142, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_17); -if (lean_obj_tag(x_143) == 0) -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -if (lean_is_exclusive(x_143)) { - lean_ctor_release(x_143, 0); - x_145 = x_143; -} else { - lean_dec_ref(x_143); - x_145 = lean_box(0); -} -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_147 = x_144; -} else { - lean_dec_ref(x_144); - x_147 = lean_box(0); -} -x_148 = lean_box(0); -if (lean_is_scalar(x_147)) { - x_149 = lean_alloc_ctor(0, 2, 0); -} else { - x_149 = x_147; -} -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_146); -if (lean_is_scalar(x_145)) { - x_150 = lean_alloc_ctor(0, 1, 0); -} else { - x_150 = x_145; -} -lean_ctor_set(x_150, 0, x_149); -return x_150; -} -else -{ -return x_143; -} -} -else -{ -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_140; -} -} -else -{ -lean_dec(x_69); -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_137; -} -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; -lean_dec(x_130); -lean_dec(x_129); -lean_dec_ref(x_70); -lean_dec(x_69); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_151 = lean_ctor_get(x_133, 0); -lean_inc(x_151); -if (lean_is_exclusive(x_133)) { - lean_ctor_release(x_133, 0); - x_152 = x_133; -} else { - lean_dec_ref(x_133); - x_152 = lean_box(0); -} -if (lean_is_scalar(x_152)) { - x_153 = lean_alloc_ctor(1, 1, 0); -} else { - x_153 = x_152; -} -lean_ctor_set(x_153, 0, x_151); -return x_153; -} -} -} -else -{ -lean_dec_ref(x_70); -lean_dec(x_69); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -return x_71; -} -} -else -{ -lean_inc_ref(x_19); -lean_dec(x_18); -lean_dec_ref(x_2); -x_37 = x_4; -x_38 = x_5; -x_39 = x_6; -x_40 = x_7; -x_41 = x_8; -x_42 = x_9; -x_43 = x_10; -x_44 = x_11; -x_45 = x_12; -x_46 = lean_box(0); -goto block_62; -} -} -} -block_62: -{ -lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_47 = lean_unsigned_to_nat(0u); -x_48 = lean_array_get_size(x_19); -x_49 = lean_nat_dec_lt(x_47, x_48); -if (x_49 == 0) -{ -lean_object* x_50; -lean_dec_ref(x_19); -x_50 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_17, x_36, x_37, x_38, x_39, x_40, x_41, x_42, x_43, x_44, x_45); -lean_dec(x_45); -lean_dec_ref(x_44); -lean_dec(x_43); -lean_dec_ref(x_42); -lean_dec(x_41); -lean_dec_ref(x_40); -lean_dec(x_17); -return x_50; -} -else -{ -lean_object* x_51; uint8_t x_52; -x_51 = lean_box(0); -x_52 = lean_nat_dec_le(x_48, x_48); -if (x_52 == 0) -{ -if (x_49 == 0) -{ -lean_object* x_53; -lean_dec_ref(x_19); -x_53 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_17, x_36, x_37, x_38, x_39, x_40, x_41, x_42, x_43, x_44, x_45); -lean_dec(x_45); -lean_dec_ref(x_44); -lean_dec(x_43); -lean_dec_ref(x_42); -lean_dec(x_41); -lean_dec_ref(x_40); -lean_dec(x_17); -return x_53; -} -else -{ -size_t x_54; size_t x_55; lean_object* x_56; -x_54 = 0; -x_55 = lean_usize_of_nat(x_48); -lean_inc(x_45); -lean_inc_ref(x_44); -lean_inc(x_43); -lean_inc_ref(x_42); -lean_inc(x_41); -lean_inc_ref(x_40); -x_56 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__13(x_1, x_19, x_54, x_55, x_51, x_36, x_37, x_38, x_39, x_40, x_41, x_42, x_43, x_44, x_45); -lean_dec_ref(x_19); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -lean_dec_ref(x_56); -x_20 = x_57; -x_21 = x_37; -x_22 = x_38; -x_23 = x_39; -x_24 = x_40; -x_25 = x_41; -x_26 = x_42; -x_27 = x_43; -x_28 = x_44; -x_29 = x_45; -x_30 = lean_box(0); -goto block_33; -} -else -{ -lean_dec(x_45); -lean_dec_ref(x_44); -lean_dec(x_43); -lean_dec_ref(x_42); -lean_dec(x_41); -lean_dec_ref(x_40); -lean_dec(x_17); -return x_56; -} -} -} -else -{ -size_t x_58; size_t x_59; lean_object* x_60; -x_58 = 0; -x_59 = lean_usize_of_nat(x_48); -lean_inc(x_45); -lean_inc_ref(x_44); -lean_inc(x_43); -lean_inc_ref(x_42); -lean_inc(x_41); -lean_inc_ref(x_40); -x_60 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__13(x_1, x_19, x_58, x_59, x_51, x_36, x_37, x_38, x_39, x_40, x_41, x_42, x_43, x_44, x_45); -lean_dec_ref(x_19); -if (lean_obj_tag(x_60) == 0) -{ -lean_object* x_61; -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -lean_dec_ref(x_60); -x_20 = x_61; -x_21 = x_37; -x_22 = x_38; -x_23 = x_39; -x_24 = x_40; -x_25 = x_41; -x_26 = x_42; -x_27 = x_43; -x_28 = x_44; -x_29 = x_45; -x_30 = lean_box(0); -goto block_33; -} -else -{ -lean_dec(x_45); -lean_dec_ref(x_44); -lean_dec(x_43); -lean_dec_ref(x_42); -lean_dec(x_41); -lean_dec_ref(x_40); -lean_dec(x_17); -return x_60; -} -} -} -} -} -else -{ -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_2); -return x_34; -} -block_33: -{ -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_20, 1); -lean_inc(x_31); -lean_dec_ref(x_20); -x_32 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_17, x_31, x_21, x_22, x_23, x_24, x_25, x_26, x_27, x_28, x_29); -lean_dec(x_29); -lean_dec_ref(x_28); -lean_dec(x_27); -lean_dec_ref(x_26); -lean_dec(x_25); -lean_dec_ref(x_24); -lean_dec(x_17); -return x_32; -} -} -case 2: -{ -lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_154 = lean_ctor_get(x_2, 0); -lean_inc(x_154); -x_155 = lean_ctor_get(x_2, 1); -lean_inc_ref(x_155); -lean_dec_ref(x_2); -x_156 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__14(x_154, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_156) == 0) -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_157 = lean_ctor_get(x_156, 0); -lean_inc(x_157); -lean_dec_ref(x_156); -x_158 = lean_ctor_get(x_157, 1); -lean_inc(x_158); -lean_dec(x_157); -x_159 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__12___closed__0; -x_160 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(x_155, x_159, x_158); -if (lean_obj_tag(x_160) == 0) -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_160, 0); -lean_inc(x_161); -lean_dec_ref(x_160); -x_162 = lean_ctor_get(x_161, 1); -lean_inc(x_162); -lean_dec(x_161); -x_163 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_154, x_162, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_154); -return x_163; -} -else -{ -lean_dec(x_154); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_160; -} -} -else -{ -lean_dec_ref(x_155); -lean_dec(x_154); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_156; -} -} -default: -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_164 = lean_ctor_get(x_2, 0); -lean_inc(x_164); -x_165 = lean_ctor_get(x_2, 2); -lean_inc(x_165); -x_166 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__0___boxed), 4, 1); -lean_closure_set(x_166, 0, x_2); -x_167 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes(x_1, x_166); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_168 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17(x_167, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_168) == 0) -{ -lean_object* x_169; lean_object* x_170; -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -lean_dec_ref(x_168); -x_170 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__14(x_164, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_170) == 0) -{ -lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; -x_171 = lean_ctor_get(x_170, 0); -lean_inc(x_171); -lean_dec_ref(x_170); -x_172 = lean_ctor_get(x_171, 1); -lean_inc(x_172); -lean_dec(x_171); -x_173 = 1; -x_174 = l_Lean_Name_toString(x_165, x_173); -x_175 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(x_174, x_169, x_172); -if (lean_obj_tag(x_175) == 0) -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -lean_dec_ref(x_175); -x_177 = lean_ctor_get(x_176, 1); -lean_inc(x_177); -lean_dec(x_176); -x_178 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__12(x_164, x_177, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_164); -return x_178; -} -else -{ -lean_dec(x_164); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_175; -} -} -else -{ -lean_dec(x_169); -lean_dec(x_165); -lean_dec(x_164); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -return x_170; -} -} -else -{ -uint8_t x_179; -lean_dec(x_165); -lean_dec(x_164); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_3); -x_179 = !lean_is_exclusive(x_168); -if (x_179 == 0) -{ -return x_168; -} -else -{ -lean_object* x_180; lean_object* x_181; -x_180 = lean_ctor_get(x_168, 0); -lean_inc(x_180); -lean_dec(x_168); -x_181 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_181, 0, x_180); -return x_181; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_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, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_17; -x_17 = lean_usize_dec_eq(x_3, x_4); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_array_uget(x_2, x_3); -lean_inc(x_15); -lean_inc_ref(x_14); -lean_inc(x_13); -lean_inc_ref(x_12); -lean_inc(x_11); -lean_inc_ref(x_10); -x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8(x_1, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec_ref(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 = 1; -x_24 = lean_usize_add(x_3, x_23); -x_3 = x_24; -x_5 = x_21; -x_6 = x_22; -goto _start; -} -else -{ -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -return x_19; -} -} -else -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_15); -lean_dec_ref(x_14); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_5); -lean_ctor_set(x_26, 1, x_6); -x_27 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_27, 0, x_26); -return x_27; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -size_t x_17; size_t x_18; uint8_t x_19; lean_object* x_20; -x_17 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_18 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_19 = lean_unbox(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__13(x_1, x_2, x_17, x_18, x_5, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_9); -lean_dec(x_8); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -return x_20; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_4); -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_1); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___redArg___closed__0; -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___redArg___closed__1; -x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8___boxed), 13, 3); -lean_closure_set(x_15, 0, x_1); -lean_closure_set(x_15, 1, x_2); -lean_closure_set(x_15, 2, x_14); -x_16 = l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9___redArg(x_15, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_16; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = l_Lean_MessageData_toString(x_1); -x_10 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_10, 0, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_TSyntax_getId(x_1); -x_5 = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(x_4, x_2, x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__0(x_1, x_2, x_3); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_st_ref_take(x_8); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_12 = lean_ctor_get(x_10, 0); -x_13 = lean_ctor_get(x_10, 5); -lean_dec(x_13); -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanOutputExt; -x_15 = lean_ctor_get(x_14, 2); -lean_inc(x_15); -x_16 = l_Lean_EnvExtension_modifyState___redArg(x_14, x_12, x_1, x_15, x_2); -lean_dec(x_15); -x_17 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__5; -lean_ctor_set(x_10, 5, x_17); -lean_ctor_set(x_10, 0, x_16); -x_18 = lean_st_ref_set(x_8, x_10); -x_19 = lean_st_ref_take(x_6); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_21 = lean_ctor_get(x_19, 1); -lean_dec(x_21); -x_22 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__6; -lean_ctor_set(x_19, 1, x_22); -x_23 = lean_st_ref_set(x_6, x_19); -x_24 = lean_box(0); -x_25 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_25, 0, x_24); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_26 = lean_ctor_get(x_19, 0); -x_27 = lean_ctor_get(x_19, 2); -x_28 = lean_ctor_get(x_19, 3); -x_29 = lean_ctor_get(x_19, 4); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_19); -x_30 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__6; -x_31 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_31, 0, x_26); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_31, 2, x_27); -lean_ctor_set(x_31, 3, x_28); -lean_ctor_set(x_31, 4, x_29); -x_32 = lean_st_ref_set(x_6, x_31); -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_34, 0, x_33); -return x_34; -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_35 = lean_ctor_get(x_10, 0); -x_36 = lean_ctor_get(x_10, 1); -x_37 = lean_ctor_get(x_10, 2); -x_38 = lean_ctor_get(x_10, 3); -x_39 = lean_ctor_get(x_10, 4); -x_40 = lean_ctor_get(x_10, 6); -x_41 = lean_ctor_get(x_10, 7); -x_42 = lean_ctor_get(x_10, 8); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_10); -x_43 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanOutputExt; -x_44 = lean_ctor_get(x_43, 2); -lean_inc(x_44); -x_45 = l_Lean_EnvExtension_modifyState___redArg(x_43, x_35, x_1, x_44, x_2); -lean_dec(x_44); -x_46 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__5; -x_47 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_36); -lean_ctor_set(x_47, 2, x_37); -lean_ctor_set(x_47, 3, x_38); -lean_ctor_set(x_47, 4, x_39); -lean_ctor_set(x_47, 5, x_46); -lean_ctor_set(x_47, 6, x_40); -lean_ctor_set(x_47, 7, x_41); -lean_ctor_set(x_47, 8, x_42); -x_48 = lean_st_ref_set(x_8, x_47); -x_49 = lean_st_ref_take(x_6); -x_50 = lean_ctor_get(x_49, 0); -lean_inc_ref(x_50); -x_51 = lean_ctor_get(x_49, 2); -lean_inc(x_51); -x_52 = lean_ctor_get(x_49, 3); -lean_inc_ref(x_52); -x_53 = lean_ctor_get(x_49, 4); -lean_inc_ref(x_53); -if (lean_is_exclusive(x_49)) { - lean_ctor_release(x_49, 0); - lean_ctor_release(x_49, 1); - lean_ctor_release(x_49, 2); - lean_ctor_release(x_49, 3); - lean_ctor_release(x_49, 4); - x_54 = x_49; -} else { - lean_dec_ref(x_49); - x_54 = lean_box(0); -} -x_55 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__6; -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 5, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_50); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_51); -lean_ctor_set(x_56, 3, x_52); -lean_ctor_set(x_56, 4, x_53); -x_57 = lean_st_ref_set(x_6, x_56); -x_58 = lean_box(0); -x_59 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_59, 0, x_58); -return x_59; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_1); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_3); -x_17 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__0___boxed), 3, 2); -lean_closure_set(x_17, 0, x_16); -lean_closure_set(x_17, 1, x_3); -x_18 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__1___boxed), 9, 2); -lean_closure_set(x_18, 0, x_17); -lean_closure_set(x_18, 1, x_2); -x_19 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_19) == 0) -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -lean_ctor_set(x_1, 0, x_3); -lean_ctor_set(x_19, 0, x_1); -return x_19; -} -else -{ -lean_object* x_22; -lean_dec(x_19); -lean_ctor_set(x_1, 0, x_3); -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_1); -return x_22; -} -} -else -{ -uint8_t x_23; -lean_free_object(x_1); -lean_dec_ref(x_3); -x_23 = !lean_is_exclusive(x_19); -if (x_23 == 0) -{ -return x_19; -} -else -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_19, 0); -lean_inc(x_24); -lean_dec(x_19); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_24); -return x_25; -} -} -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_1, 0); -lean_inc(x_26); -lean_dec(x_1); -lean_inc_ref(x_3); -x_27 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__0___boxed), 3, 2); -lean_closure_set(x_27, 0, x_26); -lean_closure_set(x_27, 1, x_3); -x_28 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__1___boxed), 9, 2); -lean_closure_set(x_28, 0, x_27); -lean_closure_set(x_28, 1, x_2); -x_29 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_28, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - x_30 = x_29; -} else { - lean_dec_ref(x_29); - x_30 = lean_box(0); -} -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_3); -if (lean_is_scalar(x_30)) { - x_32 = lean_alloc_ctor(0, 1, 0); -} else { - x_32 = x_30; -} -lean_ctor_set(x_32, 0, x_31); -return x_32; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec_ref(x_3); -x_33 = lean_ctor_get(x_29, 0); -lean_inc(x_33); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - x_34 = x_29; -} else { - lean_dec_ref(x_29); - x_34 = lean_box(0); -} -if (lean_is_scalar(x_34)) { - x_35 = lean_alloc_ctor(1, 1, 0); -} else { - x_35 = x_34; -} -lean_ctor_set(x_35, 0, x_33); -return x_35; -} -} -} -else -{ -lean_object* x_36; lean_object* x_37; -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_3); -x_37 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_37, 0, x_36); -return x_37; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_5); -x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_7); -lean_dec(x_6); -return x_16; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("The `+error` flag indicates that warnings are expected:", 55, 55); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" +warning", 9, 9); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__2; -x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__3; -x_3 = lean_array_push(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Unexpected warning:", 19, 19); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("The `+error` flag indicates that errors are expected:", 53, 53); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" +error", 7, 7); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__9; -x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__3; -x_3 = lean_array_push(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Unexpected error:", 17, 17); -return x_1; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__11; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, uint8_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { -_start: -{ -lean_object* x_23; uint8_t x_42; -x_42 = lean_usize_dec_lt(x_11, x_10); -if (x_42 == 0) -{ -lean_object* x_43; -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_43 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_43, 0, x_12); -return x_43; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; uint8_t 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; 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_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_110; lean_object* x_111; uint8_t 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; uint8_t x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_44 = lean_array_uget(x_9, x_11); -x_45 = lean_ctor_get(x_44, 1); -lean_inc_ref(x_45); -x_46 = lean_ctor_get(x_44, 2); -lean_inc(x_46); -x_47 = lean_ctor_get_uint8(x_44, sizeof(void*)*5 + 1); -x_48 = lean_ctor_get_uint8(x_44, sizeof(void*)*5 + 2); -x_49 = lean_ctor_get(x_44, 4); -lean_inc(x_49); -lean_dec(x_44); -lean_inc(x_49); -x_184 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__3___boxed), 8, 1); -lean_closure_set(x_184, 0, x_49); -x_185 = l_Lean_FileMap_ofPosition(x_1, x_45); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_200; -x_200 = lean_string_utf8_next(x_2, x_185); -x_186 = x_200; -goto block_199; -} -else -{ -lean_object* x_201; lean_object* x_202; -x_201 = lean_ctor_get(x_46, 0); -lean_inc(x_201); -lean_dec_ref(x_46); -x_202 = l_Lean_FileMap_ofPosition(x_1, x_201); -x_186 = x_202; -goto block_199; -} -block_71: -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_64, 0, x_60); -lean_ctor_set(x_64, 1, x_63); -lean_inc(x_54); -lean_inc_ref(x_50); -lean_inc(x_55); -lean_inc_ref(x_62); -lean_inc(x_53); -lean_inc_ref(x_52); -x_65 = l_Lean_logErrorAt___at___00Lean_Doc_name_spec__2___redArg(x_51, x_64, x_61, x_52, x_53, x_62, x_55, x_50, x_54); -lean_dec(x_51); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -lean_dec_ref(x_65); -lean_inc(x_5); -lean_inc(x_4); -x_67 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2(x_4, x_5, x_57, x_66, x_58, x_59, x_61, x_52, x_53, x_62, x_55, x_50, x_54); -x_23 = x_67; -goto block_41; -} -else -{ -uint8_t x_68; -lean_dec_ref(x_62); -lean_dec_ref(x_57); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_53); -lean_dec_ref(x_52); -lean_dec_ref(x_50); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_68 = !lean_is_exclusive(x_65); -if (x_68 == 0) -{ -return x_65; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_65, 0); -lean_inc(x_69); -lean_dec(x_65); -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_69); -return x_70; -} -} -} -block_109: -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_84 = lean_ctor_get(x_76, 0); -x_85 = lean_ctor_get(x_76, 1); -x_86 = lean_ctor_get(x_76, 2); -x_87 = lean_ctor_get(x_76, 3); -x_88 = lean_ctor_get(x_76, 4); -x_89 = lean_ctor_get(x_76, 5); -x_90 = lean_ctor_get(x_76, 6); -x_91 = lean_ctor_get(x_76, 7); -x_92 = lean_ctor_get(x_76, 8); -x_93 = lean_ctor_get(x_76, 9); -x_94 = lean_ctor_get(x_76, 10); -x_95 = lean_ctor_get(x_76, 11); -x_96 = lean_ctor_get_uint8(x_76, sizeof(void*)*14); -x_97 = lean_ctor_get(x_76, 12); -x_98 = lean_ctor_get_uint8(x_76, sizeof(void*)*14 + 1); -x_99 = lean_ctor_get(x_76, 13); -x_100 = 0; -x_101 = l_Lean_replaceRef(x_77, x_89); -lean_dec(x_77); -lean_inc_ref(x_99); -lean_inc(x_97); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_88); -lean_inc(x_87); -lean_inc_ref(x_86); -lean_inc_ref(x_85); -lean_inc_ref(x_84); -x_102 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_102, 0, x_84); -lean_ctor_set(x_102, 1, x_85); -lean_ctor_set(x_102, 2, x_86); -lean_ctor_set(x_102, 3, x_87); -lean_ctor_set(x_102, 4, x_88); -lean_ctor_set(x_102, 5, x_101); -lean_ctor_set(x_102, 6, x_90); -lean_ctor_set(x_102, 7, x_91); -lean_ctor_set(x_102, 8, x_92); -lean_ctor_set(x_102, 9, x_93); -lean_ctor_set(x_102, 10, x_94); -lean_ctor_set(x_102, 11, x_95); -lean_ctor_set(x_102, 12, x_97); -lean_ctor_set(x_102, 13, x_99); -lean_ctor_set_uint8(x_102, sizeof(void*)*14, x_96); -lean_ctor_set_uint8(x_102, sizeof(void*)*14 + 1, x_98); -lean_inc(x_72); -lean_inc(x_73); -lean_inc_ref(x_83); -lean_inc(x_81); -lean_inc_ref(x_78); -x_103 = l_Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28(x_49, x_100, x_3, x_75, x_79, x_80, x_78, x_81, x_83, x_73, x_102, x_72); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -lean_dec_ref(x_103); -lean_inc(x_5); -lean_inc(x_4); -x_105 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2(x_4, x_5, x_74, x_104, x_75, x_79, x_80, x_78, x_81, x_83, x_73, x_76, x_72); -x_23 = x_105; -goto block_41; -} -else -{ -uint8_t x_106; -lean_dec_ref(x_83); -lean_dec(x_81); -lean_dec_ref(x_78); -lean_dec_ref(x_76); -lean_dec_ref(x_74); -lean_dec(x_73); -lean_dec(x_72); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_106 = !lean_is_exclusive(x_103); -if (x_106 == 0) -{ -return x_103; -} -else -{ -lean_object* x_107; lean_object* x_108; -x_107 = lean_ctor_get(x_103, 0); -lean_inc(x_107); -lean_dec(x_103); -x_108 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_108, 0, x_107); -return x_108; -} -} -} -block_136: -{ -uint8_t x_122; uint8_t x_123; -x_122 = 1; -x_123 = l_Lean_instBEqMessageSeverity_beq(x_47, x_122); -if (x_123 == 0) -{ -x_72 = x_120; -x_73 = x_118; -x_74 = x_110; -x_75 = x_112; -x_76 = x_119; -x_77 = x_111; -x_78 = x_115; -x_79 = x_113; -x_80 = x_114; -x_81 = x_116; -x_82 = lean_box(0); -x_83 = x_117; -goto block_109; -} -else -{ -if (x_6 == 0) -{ -if (x_123 == 0) -{ -x_72 = x_120; -x_73 = x_118; -x_74 = x_110; -x_75 = x_112; -x_76 = x_119; -x_77 = x_111; -x_78 = x_115; -x_79 = x_113; -x_80 = x_114; -x_81 = x_116; -x_82 = lean_box(0); -x_83 = x_117; -goto block_109; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__1; -x_125 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__4; -lean_inc(x_120); -lean_inc_ref(x_119); -lean_inc(x_118); -lean_inc_ref(x_117); -lean_inc(x_116); -lean_inc_ref(x_115); -x_126 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_124, x_125, x_114, x_115, x_116, x_117, x_118, x_119, x_120); -if (lean_obj_tag(x_126) == 0) -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -lean_dec_ref(x_126); -x_128 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__6; -x_129 = l_Lean_indentD(x_49); -x_130 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -if (lean_obj_tag(x_127) == 0) -{ -lean_object* x_131; -x_131 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__13; -x_50 = x_119; -x_51 = x_111; -x_52 = x_115; -x_53 = x_116; -x_54 = x_120; -x_55 = x_118; -x_56 = lean_box(0); -x_57 = x_110; -x_58 = x_112; -x_59 = x_113; -x_60 = x_130; -x_61 = x_114; -x_62 = x_117; -x_63 = x_131; -goto block_71; -} -else -{ -lean_object* x_132; -x_132 = lean_ctor_get(x_127, 0); -lean_inc(x_132); -lean_dec_ref(x_127); -x_50 = x_119; -x_51 = x_111; -x_52 = x_115; -x_53 = x_116; -x_54 = x_120; -x_55 = x_118; -x_56 = lean_box(0); -x_57 = x_110; -x_58 = x_112; -x_59 = x_113; -x_60 = x_130; -x_61 = x_114; -x_62 = x_117; -x_63 = x_132; -goto block_71; -} -} -else -{ -uint8_t x_133; -lean_dec(x_120); -lean_dec_ref(x_119); -lean_dec(x_118); -lean_dec_ref(x_117); -lean_dec(x_116); -lean_dec_ref(x_115); -lean_dec(x_111); -lean_dec_ref(x_110); -lean_dec(x_49); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_133 = !lean_is_exclusive(x_126); -if (x_133 == 0) -{ -return x_126; -} -else -{ -lean_object* x_134; lean_object* x_135; -x_134 = lean_ctor_get(x_126, 0); -lean_inc(x_134); -lean_dec(x_126); -x_135 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_135, 0, x_134); -return x_135; -} -} -} -} -else -{ -x_72 = x_120; -x_73 = x_118; -x_74 = x_110; -x_75 = x_112; -x_76 = x_119; -x_77 = x_111; -x_78 = x_115; -x_79 = x_113; -x_80 = x_114; -x_81 = x_116; -x_82 = lean_box(0); -x_83 = x_117; -goto block_109; -} -} -} -block_156: -{ -lean_object* x_151; lean_object* x_152; -x_151 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_151, 0, x_147); -lean_ctor_set(x_151, 1, x_150); -lean_inc(x_140); -lean_inc_ref(x_143); -lean_inc(x_139); -lean_inc_ref(x_141); -lean_inc(x_149); -lean_inc_ref(x_148); -x_152 = l_Lean_logErrorAt___at___00Lean_Doc_name_spec__2___redArg(x_138, x_151, x_145, x_148, x_149, x_141, x_139, x_143, x_140); -if (lean_obj_tag(x_152) == 0) -{ -lean_dec_ref(x_152); -x_110 = x_146; -x_111 = x_138; -x_112 = x_137; -x_113 = x_142; -x_114 = x_145; -x_115 = x_148; -x_116 = x_149; -x_117 = x_141; -x_118 = x_139; -x_119 = x_143; -x_120 = x_140; -x_121 = lean_box(0); -goto block_136; -} -else -{ -uint8_t x_153; -lean_dec(x_149); -lean_dec_ref(x_148); -lean_dec_ref(x_146); -lean_dec_ref(x_143); -lean_dec_ref(x_141); -lean_dec(x_140); -lean_dec(x_139); -lean_dec(x_138); -lean_dec(x_49); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_153 = !lean_is_exclusive(x_152); -if (x_153 == 0) -{ -return x_152; -} -else -{ -lean_object* x_154; lean_object* x_155; -x_154 = lean_ctor_get(x_152, 0); -lean_inc(x_154); -lean_dec(x_152); -x_155 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_155, 0, x_154); -return x_155; -} -} -} -block_183: -{ -uint8_t x_169; uint8_t x_170; -x_169 = 2; -x_170 = l_Lean_instBEqMessageSeverity_beq(x_47, x_169); -if (x_170 == 0) -{ -x_110 = x_158; -x_111 = x_157; -x_112 = x_159; -x_113 = x_160; -x_114 = x_161; -x_115 = x_162; -x_116 = x_163; -x_117 = x_164; -x_118 = x_165; -x_119 = x_166; -x_120 = x_167; -x_121 = lean_box(0); -goto block_136; -} -else -{ -if (x_7 == 0) -{ -if (x_170 == 0) -{ -x_110 = x_158; -x_111 = x_157; -x_112 = x_159; -x_113 = x_160; -x_114 = x_161; -x_115 = x_162; -x_116 = x_163; -x_117 = x_164; -x_118 = x_165; -x_119 = x_166; -x_120 = x_167; -x_121 = lean_box(0); -goto block_136; -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__8; -x_172 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__10; -lean_inc(x_167); -lean_inc_ref(x_166); -lean_inc(x_165); -lean_inc_ref(x_164); -lean_inc(x_163); -lean_inc_ref(x_162); -x_173 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_171, x_172, x_161, x_162, x_163, x_164, x_165, x_166, x_167); -if (lean_obj_tag(x_173) == 0) -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -lean_dec_ref(x_173); -x_175 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__12; -lean_inc(x_49); -x_176 = l_Lean_indentD(x_49); -x_177 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_177, 0, x_175); -lean_ctor_set(x_177, 1, x_176); -if (lean_obj_tag(x_174) == 0) -{ -lean_object* x_178; -x_178 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__13; -x_137 = x_159; -x_138 = x_157; -x_139 = x_165; -x_140 = x_167; -x_141 = x_164; -x_142 = x_160; -x_143 = x_166; -x_144 = lean_box(0); -x_145 = x_161; -x_146 = x_158; -x_147 = x_177; -x_148 = x_162; -x_149 = x_163; -x_150 = x_178; -goto block_156; -} -else -{ -lean_object* x_179; -x_179 = lean_ctor_get(x_174, 0); -lean_inc(x_179); -lean_dec_ref(x_174); -x_137 = x_159; -x_138 = x_157; -x_139 = x_165; -x_140 = x_167; -x_141 = x_164; -x_142 = x_160; -x_143 = x_166; -x_144 = lean_box(0); -x_145 = x_161; -x_146 = x_158; -x_147 = x_177; -x_148 = x_162; -x_149 = x_163; -x_150 = x_179; -goto block_156; -} -} -else -{ -uint8_t x_180; -lean_dec(x_167); -lean_dec_ref(x_166); -lean_dec(x_165); -lean_dec_ref(x_164); -lean_dec(x_163); -lean_dec_ref(x_162); -lean_dec_ref(x_158); -lean_dec(x_157); -lean_dec(x_49); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_180 = !lean_is_exclusive(x_173); -if (x_180 == 0) -{ -return x_173; -} -else -{ -lean_object* x_181; lean_object* x_182; -x_181 = lean_ctor_get(x_173, 0); -lean_inc(x_181); -lean_dec(x_173); -x_182 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_182, 0, x_181); -return x_182; -} -} -} -} -else -{ -x_110 = x_158; -x_111 = x_157; -x_112 = x_159; -x_113 = x_160; -x_114 = x_161; -x_115 = x_162; -x_116 = x_163; -x_117 = x_164; -x_118 = x_165; -x_119 = x_166; -x_120 = x_167; -x_121 = lean_box(0); -goto block_136; -} -} -} -block_199: -{ -if (x_48 == 0) -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_string_utf8_extract(x_2, x_185, x_186); -x_188 = lean_alloc_ctor(1, 2, 1); -lean_ctor_set(x_188, 0, x_185); -lean_ctor_set(x_188, 1, x_186); -lean_ctor_set_uint8(x_188, sizeof(void*)*2, x_3); -x_189 = l_Lean_Syntax_mkStrLit(x_187, x_188); -if (lean_obj_tag(x_4) == 0) -{ -lean_dec_ref(x_184); -lean_inc(x_21); -lean_inc_ref(x_20); -lean_inc(x_19); -lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); -x_157 = x_189; -x_158 = x_12; -x_159 = x_13; -x_160 = x_14; -x_161 = x_15; -x_162 = x_16; -x_163 = x_17; -x_164 = x_18; -x_165 = x_19; -x_166 = x_20; -x_167 = x_21; -x_168 = lean_box(0); -goto block_183; -} -else -{ -lean_object* x_190; -lean_inc(x_21); -lean_inc_ref(x_20); -lean_inc(x_19); -lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); -x_190 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_184, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_190) == 0) -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -lean_dec_ref(x_190); -x_192 = lean_box(x_47); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_191); -x_194 = lean_array_push(x_12, x_193); -lean_inc(x_21); -lean_inc_ref(x_20); -lean_inc(x_19); -lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); -x_157 = x_189; -x_158 = x_194; -x_159 = x_13; -x_160 = x_14; -x_161 = x_15; -x_162 = x_16; -x_163 = x_17; -x_164 = x_18; -x_165 = x_19; -x_166 = x_20; -x_167 = x_21; -x_168 = lean_box(0); -goto block_183; -} -else -{ -uint8_t x_195; -lean_dec(x_189); -lean_dec(x_49); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec_ref(x_12); -lean_dec(x_5); -lean_dec_ref(x_4); -x_195 = !lean_is_exclusive(x_190); -if (x_195 == 0) -{ -return x_190; -} -else -{ -lean_object* x_196; lean_object* x_197; -x_196 = lean_ctor_get(x_190, 0); -lean_inc(x_196); -lean_dec(x_190); -x_197 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_197, 0, x_196); -return x_197; -} -} -} -} -else -{ -lean_object* x_198; -lean_dec(x_186); -lean_dec(x_185); -lean_dec_ref(x_184); -lean_dec(x_49); -lean_inc(x_21); -lean_inc_ref(x_20); -lean_inc(x_19); -lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); -lean_inc(x_5); -lean_inc(x_4); -x_198 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2(x_4, x_5, x_12, x_8, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -x_23 = x_198; -goto block_41; -} -} -} -block_41: -{ -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -lean_dec_ref(x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; size_t x_28; size_t x_29; -lean_free_object(x_23); -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -lean_dec_ref(x_25); -x_28 = 1; -x_29 = lean_usize_add(x_11, x_28); -x_11 = x_29; -x_12 = x_27; -goto _start; -} -} -else -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_23, 0); -lean_inc(x_31); -lean_dec(x_23); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -lean_dec_ref(x_31); -x_33 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_33, 0, x_32); -return x_33; -} -else -{ -lean_object* x_34; size_t x_35; size_t x_36; -x_34 = lean_ctor_get(x_31, 0); -lean_inc(x_34); -lean_dec_ref(x_31); -x_35 = 1; -x_36 = lean_usize_add(x_11, x_35); -x_11 = x_36; -x_12 = x_34; -goto _start; -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_38 = !lean_is_exclusive(x_23); -if (x_38 == 0) -{ -return x_23; -} -else -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_23, 0); -lean_inc(x_39); -lean_dec(x_23); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_39); -return x_40; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -lean_object* x_21 = _args[20]; -lean_object* x_22 = _args[21]; -_start: -{ -uint8_t x_23; uint8_t x_24; uint8_t x_25; size_t x_26; size_t x_27; uint8_t x_28; lean_object* x_29; -x_23 = lean_unbox(x_3); -x_24 = lean_unbox(x_6); -x_25 = lean_unbox(x_7); -x_26 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_27 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_28 = lean_unbox(x_13); -x_29 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5(x_1, x_2, x_23, x_4, x_5, x_24, x_25, x_8, x_9, x_26, x_27, x_12, x_28, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -lean_dec(x_15); -lean_dec(x_14); -lean_dec_ref(x_9); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -return x_29; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, uint8_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { -_start: -{ -lean_object* x_23; uint8_t x_42; -x_42 = lean_usize_dec_lt(x_11, x_10); -if (x_42 == 0) -{ -lean_object* x_43; -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_43 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_43, 0, x_12); -return x_43; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; uint8_t x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_110; lean_object* x_111; uint8_t 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_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_44 = lean_array_uget(x_9, x_11); -x_45 = lean_ctor_get(x_44, 1); -lean_inc_ref(x_45); -x_46 = lean_ctor_get(x_44, 2); -lean_inc(x_46); -x_47 = lean_ctor_get_uint8(x_44, sizeof(void*)*5 + 1); -x_48 = lean_ctor_get_uint8(x_44, sizeof(void*)*5 + 2); -x_49 = lean_ctor_get(x_44, 4); -lean_inc(x_49); -lean_dec(x_44); -lean_inc(x_49); -x_184 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__3___boxed), 8, 1); -lean_closure_set(x_184, 0, x_49); -x_185 = l_Lean_FileMap_ofPosition(x_1, x_45); -if (lean_obj_tag(x_46) == 0) -{ -lean_object* x_200; -x_200 = lean_string_utf8_next(x_2, x_185); -x_186 = x_200; -goto block_199; -} -else -{ -lean_object* x_201; lean_object* x_202; -x_201 = lean_ctor_get(x_46, 0); -lean_inc(x_201); -lean_dec_ref(x_46); -x_202 = l_Lean_FileMap_ofPosition(x_1, x_201); -x_186 = x_202; -goto block_199; -} -block_71: -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_64, 0, x_57); -lean_ctor_set(x_64, 1, x_63); -lean_inc(x_60); -lean_inc_ref(x_55); -lean_inc(x_62); -lean_inc_ref(x_58); -lean_inc(x_51); -lean_inc_ref(x_56); -x_65 = l_Lean_logErrorAt___at___00Lean_Doc_name_spec__2___redArg(x_50, x_64, x_59, x_56, x_51, x_58, x_62, x_55, x_60); -lean_dec(x_50); -if (lean_obj_tag(x_65) == 0) -{ -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -lean_dec_ref(x_65); -lean_inc(x_5); -lean_inc(x_4); -x_67 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2(x_4, x_5, x_53, x_66, x_52, x_61, x_59, x_56, x_51, x_58, x_62, x_55, x_60); -x_23 = x_67; -goto block_41; -} -else -{ -uint8_t x_68; -lean_dec(x_62); -lean_dec(x_60); -lean_dec_ref(x_58); -lean_dec_ref(x_56); -lean_dec_ref(x_55); -lean_dec_ref(x_53); -lean_dec(x_51); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_68 = !lean_is_exclusive(x_65); -if (x_68 == 0) -{ -return x_65; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_65, 0); -lean_inc(x_69); -lean_dec(x_65); -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_69); -return x_70; -} -} -} -block_109: -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_84 = lean_ctor_get(x_81, 0); -x_85 = lean_ctor_get(x_81, 1); -x_86 = lean_ctor_get(x_81, 2); -x_87 = lean_ctor_get(x_81, 3); -x_88 = lean_ctor_get(x_81, 4); -x_89 = lean_ctor_get(x_81, 5); -x_90 = lean_ctor_get(x_81, 6); -x_91 = lean_ctor_get(x_81, 7); -x_92 = lean_ctor_get(x_81, 8); -x_93 = lean_ctor_get(x_81, 9); -x_94 = lean_ctor_get(x_81, 10); -x_95 = lean_ctor_get(x_81, 11); -x_96 = lean_ctor_get_uint8(x_81, sizeof(void*)*14); -x_97 = lean_ctor_get(x_81, 12); -x_98 = lean_ctor_get_uint8(x_81, sizeof(void*)*14 + 1); -x_99 = lean_ctor_get(x_81, 13); -x_100 = 0; -x_101 = l_Lean_replaceRef(x_76, x_89); -lean_dec(x_76); -lean_inc_ref(x_99); -lean_inc(x_97); -lean_inc(x_95); -lean_inc(x_94); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_inc(x_90); -lean_inc(x_88); -lean_inc(x_87); -lean_inc_ref(x_86); -lean_inc_ref(x_85); -lean_inc_ref(x_84); -x_102 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_102, 0, x_84); -lean_ctor_set(x_102, 1, x_85); -lean_ctor_set(x_102, 2, x_86); -lean_ctor_set(x_102, 3, x_87); -lean_ctor_set(x_102, 4, x_88); -lean_ctor_set(x_102, 5, x_101); -lean_ctor_set(x_102, 6, x_90); -lean_ctor_set(x_102, 7, x_91); -lean_ctor_set(x_102, 8, x_92); -lean_ctor_set(x_102, 9, x_93); -lean_ctor_set(x_102, 10, x_94); -lean_ctor_set(x_102, 11, x_95); -lean_ctor_set(x_102, 12, x_97); -lean_ctor_set(x_102, 13, x_99); -lean_ctor_set_uint8(x_102, sizeof(void*)*14, x_96); -lean_ctor_set_uint8(x_102, sizeof(void*)*14 + 1, x_98); -lean_inc(x_79); -lean_inc(x_83); -lean_inc_ref(x_72); -lean_inc(x_73); -lean_inc_ref(x_82); -x_103 = l_Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28(x_49, x_100, x_3, x_75, x_80, x_74, x_82, x_73, x_72, x_83, x_102, x_79); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -lean_dec_ref(x_103); -lean_inc(x_5); -lean_inc(x_4); -x_105 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2(x_4, x_5, x_77, x_104, x_75, x_80, x_74, x_82, x_73, x_72, x_83, x_81, x_79); -x_23 = x_105; -goto block_41; -} -else -{ -uint8_t x_106; -lean_dec(x_83); -lean_dec_ref(x_82); -lean_dec_ref(x_81); -lean_dec(x_79); -lean_dec_ref(x_77); -lean_dec(x_73); -lean_dec_ref(x_72); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_106 = !lean_is_exclusive(x_103); -if (x_106 == 0) -{ -return x_103; -} -else -{ -lean_object* x_107; lean_object* x_108; -x_107 = lean_ctor_get(x_103, 0); -lean_inc(x_107); -lean_dec(x_103); -x_108 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_108, 0, x_107); -return x_108; -} -} -} -block_136: -{ -uint8_t x_122; uint8_t x_123; -x_122 = 1; -x_123 = l_Lean_instBEqMessageSeverity_beq(x_47, x_122); -if (x_123 == 0) -{ -x_72 = x_117; -x_73 = x_116; -x_74 = x_114; -x_75 = x_112; -x_76 = x_110; -x_77 = x_111; -x_78 = lean_box(0); -x_79 = x_120; -x_80 = x_113; -x_81 = x_119; -x_82 = x_115; -x_83 = x_118; -goto block_109; -} -else -{ -if (x_6 == 0) -{ -if (x_123 == 0) -{ -x_72 = x_117; -x_73 = x_116; -x_74 = x_114; -x_75 = x_112; -x_76 = x_110; -x_77 = x_111; -x_78 = lean_box(0); -x_79 = x_120; -x_80 = x_113; -x_81 = x_119; -x_82 = x_115; -x_83 = x_118; -goto block_109; -} -else -{ -lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_124 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__1; -x_125 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__4; -lean_inc(x_120); -lean_inc_ref(x_119); -lean_inc(x_118); -lean_inc_ref(x_117); -lean_inc(x_116); -lean_inc_ref(x_115); -x_126 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_124, x_125, x_114, x_115, x_116, x_117, x_118, x_119, x_120); -if (lean_obj_tag(x_126) == 0) -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_127 = lean_ctor_get(x_126, 0); -lean_inc(x_127); -lean_dec_ref(x_126); -x_128 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__6; -x_129 = l_Lean_indentD(x_49); -x_130 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -if (lean_obj_tag(x_127) == 0) -{ -lean_object* x_131; -x_131 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__13; -x_50 = x_110; -x_51 = x_116; -x_52 = x_112; -x_53 = x_111; -x_54 = lean_box(0); -x_55 = x_119; -x_56 = x_115; -x_57 = x_130; -x_58 = x_117; -x_59 = x_114; -x_60 = x_120; -x_61 = x_113; -x_62 = x_118; -x_63 = x_131; -goto block_71; -} -else -{ -lean_object* x_132; -x_132 = lean_ctor_get(x_127, 0); -lean_inc(x_132); -lean_dec_ref(x_127); -x_50 = x_110; -x_51 = x_116; -x_52 = x_112; -x_53 = x_111; -x_54 = lean_box(0); -x_55 = x_119; -x_56 = x_115; -x_57 = x_130; -x_58 = x_117; -x_59 = x_114; -x_60 = x_120; -x_61 = x_113; -x_62 = x_118; -x_63 = x_132; -goto block_71; -} -} -else -{ -uint8_t x_133; -lean_dec(x_120); -lean_dec_ref(x_119); -lean_dec(x_118); -lean_dec_ref(x_117); -lean_dec(x_116); -lean_dec_ref(x_115); -lean_dec_ref(x_111); -lean_dec(x_110); -lean_dec(x_49); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_133 = !lean_is_exclusive(x_126); -if (x_133 == 0) -{ -return x_126; -} -else -{ -lean_object* x_134; lean_object* x_135; -x_134 = lean_ctor_get(x_126, 0); -lean_inc(x_134); -lean_dec(x_126); -x_135 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_135, 0, x_134); -return x_135; -} -} -} -} -else -{ -x_72 = x_117; -x_73 = x_116; -x_74 = x_114; -x_75 = x_112; -x_76 = x_110; -x_77 = x_111; -x_78 = lean_box(0); -x_79 = x_120; -x_80 = x_113; -x_81 = x_119; -x_82 = x_115; -x_83 = x_118; -goto block_109; -} -} -} -block_156: -{ -lean_object* x_151; lean_object* x_152; -x_151 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_151, 0, x_147); -lean_ctor_set(x_151, 1, x_150); -lean_inc(x_144); -lean_inc_ref(x_145); -lean_inc(x_143); -lean_inc_ref(x_149); -lean_inc(x_142); -lean_inc_ref(x_146); -x_152 = l_Lean_logErrorAt___at___00Lean_Doc_name_spec__2___redArg(x_137, x_151, x_148, x_146, x_142, x_149, x_143, x_145, x_144); -if (lean_obj_tag(x_152) == 0) -{ -lean_dec_ref(x_152); -x_110 = x_137; -x_111 = x_138; -x_112 = x_141; -x_113 = x_139; -x_114 = x_148; -x_115 = x_146; -x_116 = x_142; -x_117 = x_149; -x_118 = x_143; -x_119 = x_145; -x_120 = x_144; -x_121 = lean_box(0); -goto block_136; -} -else -{ -uint8_t x_153; -lean_dec_ref(x_149); -lean_dec_ref(x_146); -lean_dec_ref(x_145); -lean_dec(x_144); -lean_dec(x_143); -lean_dec(x_142); -lean_dec_ref(x_138); -lean_dec(x_137); -lean_dec(x_49); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_153 = !lean_is_exclusive(x_152); -if (x_153 == 0) -{ -return x_152; -} -else -{ -lean_object* x_154; lean_object* x_155; -x_154 = lean_ctor_get(x_152, 0); -lean_inc(x_154); -lean_dec(x_152); -x_155 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_155, 0, x_154); -return x_155; -} -} -} -block_183: -{ -uint8_t x_169; uint8_t x_170; -x_169 = 2; -x_170 = l_Lean_instBEqMessageSeverity_beq(x_47, x_169); -if (x_170 == 0) -{ -x_110 = x_157; -x_111 = x_158; -x_112 = x_159; -x_113 = x_160; -x_114 = x_161; -x_115 = x_162; -x_116 = x_163; -x_117 = x_164; -x_118 = x_165; -x_119 = x_166; -x_120 = x_167; -x_121 = lean_box(0); -goto block_136; -} -else -{ -if (x_7 == 0) -{ -if (x_170 == 0) -{ -x_110 = x_157; -x_111 = x_158; -x_112 = x_159; -x_113 = x_160; -x_114 = x_161; -x_115 = x_162; -x_116 = x_163; -x_117 = x_164; -x_118 = x_165; -x_119 = x_166; -x_120 = x_167; -x_121 = lean_box(0); -goto block_136; -} -else -{ -lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_171 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__8; -x_172 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__10; -lean_inc(x_167); -lean_inc_ref(x_166); -lean_inc(x_165); -lean_inc_ref(x_164); -lean_inc(x_163); -lean_inc_ref(x_162); -x_173 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_171, x_172, x_161, x_162, x_163, x_164, x_165, x_166, x_167); -if (lean_obj_tag(x_173) == 0) -{ -lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -lean_dec_ref(x_173); -x_175 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__12; -lean_inc(x_49); -x_176 = l_Lean_indentD(x_49); -x_177 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_177, 0, x_175); -lean_ctor_set(x_177, 1, x_176); -if (lean_obj_tag(x_174) == 0) -{ -lean_object* x_178; -x_178 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__13; -x_137 = x_157; -x_138 = x_158; -x_139 = x_160; -x_140 = lean_box(0); -x_141 = x_159; -x_142 = x_163; -x_143 = x_165; -x_144 = x_167; -x_145 = x_166; -x_146 = x_162; -x_147 = x_177; -x_148 = x_161; -x_149 = x_164; -x_150 = x_178; -goto block_156; -} -else -{ -lean_object* x_179; -x_179 = lean_ctor_get(x_174, 0); -lean_inc(x_179); -lean_dec_ref(x_174); -x_137 = x_157; -x_138 = x_158; -x_139 = x_160; -x_140 = lean_box(0); -x_141 = x_159; -x_142 = x_163; -x_143 = x_165; -x_144 = x_167; -x_145 = x_166; -x_146 = x_162; -x_147 = x_177; -x_148 = x_161; -x_149 = x_164; -x_150 = x_179; -goto block_156; -} -} -else -{ -uint8_t x_180; -lean_dec(x_167); -lean_dec_ref(x_166); -lean_dec(x_165); -lean_dec_ref(x_164); -lean_dec(x_163); -lean_dec_ref(x_162); -lean_dec_ref(x_158); -lean_dec(x_157); -lean_dec(x_49); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_180 = !lean_is_exclusive(x_173); -if (x_180 == 0) -{ -return x_173; -} -else -{ -lean_object* x_181; lean_object* x_182; -x_181 = lean_ctor_get(x_173, 0); -lean_inc(x_181); -lean_dec(x_173); -x_182 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_182, 0, x_181); -return x_182; -} -} -} -} -else -{ -x_110 = x_157; -x_111 = x_158; -x_112 = x_159; -x_113 = x_160; -x_114 = x_161; -x_115 = x_162; -x_116 = x_163; -x_117 = x_164; -x_118 = x_165; -x_119 = x_166; -x_120 = x_167; -x_121 = lean_box(0); -goto block_136; -} -} -} -block_199: -{ -if (x_48 == 0) -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; -x_187 = lean_string_utf8_extract(x_2, x_185, x_186); -x_188 = lean_alloc_ctor(1, 2, 1); -lean_ctor_set(x_188, 0, x_185); -lean_ctor_set(x_188, 1, x_186); -lean_ctor_set_uint8(x_188, sizeof(void*)*2, x_3); -x_189 = l_Lean_Syntax_mkStrLit(x_187, x_188); -if (lean_obj_tag(x_4) == 0) -{ -lean_dec_ref(x_184); -lean_inc(x_21); -lean_inc_ref(x_20); -lean_inc(x_19); -lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); -x_157 = x_189; -x_158 = x_12; -x_159 = x_13; -x_160 = x_14; -x_161 = x_15; -x_162 = x_16; -x_163 = x_17; -x_164 = x_18; -x_165 = x_19; -x_166 = x_20; -x_167 = x_21; -x_168 = lean_box(0); -goto block_183; -} -else -{ -lean_object* x_190; -lean_inc(x_21); -lean_inc_ref(x_20); -lean_inc(x_19); -lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); -x_190 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_184, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_190) == 0) -{ -lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -lean_dec_ref(x_190); -x_192 = lean_box(x_47); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_191); -x_194 = lean_array_push(x_12, x_193); -lean_inc(x_21); -lean_inc_ref(x_20); -lean_inc(x_19); -lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); -x_157 = x_189; -x_158 = x_194; -x_159 = x_13; -x_160 = x_14; -x_161 = x_15; -x_162 = x_16; -x_163 = x_17; -x_164 = x_18; -x_165 = x_19; -x_166 = x_20; -x_167 = x_21; -x_168 = lean_box(0); -goto block_183; -} -else -{ -uint8_t x_195; -lean_dec(x_189); -lean_dec(x_49); -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec_ref(x_12); -lean_dec(x_5); -lean_dec_ref(x_4); -x_195 = !lean_is_exclusive(x_190); -if (x_195 == 0) -{ -return x_190; -} -else -{ -lean_object* x_196; lean_object* x_197; -x_196 = lean_ctor_get(x_190, 0); -lean_inc(x_196); -lean_dec(x_190); -x_197 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_197, 0, x_196); -return x_197; -} -} -} -} -else -{ -lean_object* x_198; -lean_dec(x_186); -lean_dec(x_185); -lean_dec_ref(x_184); -lean_dec(x_49); -lean_inc(x_21); -lean_inc_ref(x_20); -lean_inc(x_19); -lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); -lean_inc(x_5); -lean_inc(x_4); -x_198 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___lam__2(x_4, x_5, x_12, x_8, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -x_23 = x_198; -goto block_41; -} -} -} -block_41: -{ -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -lean_dec_ref(x_25); -lean_ctor_set(x_23, 0, x_26); -return x_23; -} -else -{ -lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; -lean_free_object(x_23); -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -lean_dec_ref(x_25); -x_28 = 1; -x_29 = lean_usize_add(x_11, x_28); -x_30 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29, x_27, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_30; -} -} -else -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_23, 0); -lean_inc(x_31); -lean_dec(x_23); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -lean_dec_ref(x_31); -x_33 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_33, 0, x_32); -return x_33; -} -else -{ -lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_31, 0); -lean_inc(x_34); -lean_dec_ref(x_31); -x_35 = 1; -x_36 = lean_usize_add(x_11, x_35); -x_37 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_36, x_34, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -return x_37; -} -} -} -else -{ -uint8_t x_38; -lean_dec(x_21); -lean_dec_ref(x_20); -lean_dec(x_19); -lean_dec_ref(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_5); -lean_dec(x_4); -x_38 = !lean_is_exclusive(x_23); -if (x_38 == 0) -{ -return x_23; -} -else -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_23, 0); -lean_inc(x_39); -lean_dec(x_23); -x_40 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_40, 0, x_39); -return x_40; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -lean_object* x_19 = _args[18]; -lean_object* x_20 = _args[19]; -lean_object* x_21 = _args[20]; -lean_object* x_22 = _args[21]; -_start: -{ -uint8_t x_23; uint8_t x_24; uint8_t x_25; size_t x_26; size_t x_27; uint8_t x_28; lean_object* x_29; -x_23 = lean_unbox(x_3); -x_24 = lean_unbox(x_6); -x_25 = lean_unbox(x_7); -x_26 = lean_unbox_usize(x_10); -lean_dec(x_10); -x_27 = lean_unbox_usize(x_11); -lean_dec(x_11); -x_28 = lean_unbox(x_13); -x_29 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg(x_1, x_2, x_23, x_4, x_5, x_24, x_25, x_8, x_9, x_26, x_27, x_12, x_28, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21); -lean_dec(x_15); -lean_dec(x_14); -lean_dec_ref(x_9); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -return x_29; -} -} LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__3_spec__7___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { @@ -52174,7 +47248,7 @@ lean_dec_ref(x_3); return x_20; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_15; @@ -52248,7 +47322,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { size_t x_15; size_t x_16; lean_object* x_17; @@ -52256,7 +47330,7 @@ x_15 = lean_unbox_usize(x_4); lean_dec(x_4); x_16 = lean_unbox_usize(x_5); lean_dec(x_5); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9___redArg(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10___redArg(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_7); lean_dec_ref(x_3); return x_17; @@ -52303,7 +47377,7 @@ lean_ctor_set(x_21, 0, x_2); lean_ctor_set(x_21, 1, x_1); x_22 = 1; x_23 = lean_usize_add(x_5, x_22); -x_24 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9___redArg(x_2, x_1, x_3, x_4, x_23, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_24 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10___redArg(x_2, x_1, x_3, x_4, x_23, x_21, x_9, x_10, x_11, x_12, x_13, x_14, x_15); return x_24; } else @@ -54044,7 +49118,7 @@ lean_dec(x_6); return x_16; } } -static lean_object* _init_l_Lean_Doc_lean___closed__0() { +static lean_object* _init_l_Lean_Doc_lean___lam__3___closed__0() { _start: { lean_object* x_1; lean_object* x_2; @@ -54053,57 +49127,17 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Doc_lean___closed__1() { +static lean_object* _init_l_Lean_Doc_lean___lam__3___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_lean___closed__0; +x_1 = l_Lean_Doc_lean___lam__3___closed__0; 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_Doc_lean___closed__2() { -_start: -{ -size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 5; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Doc_lean___closed__0; -x_4 = l_Lean_Doc_lean___closed__1; -x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_2); -lean_ctor_set(x_5, 3, x_2); -lean_ctor_set_usize(x_5, 4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Doc_lean___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_NameSet_empty; -x_2 = l_Lean_Doc_lean___closed__2; -x_3 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Doc_lean___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1u); -x_2 = l_Lean_firstFrontendMacroScope; -x_3 = lean_nat_add(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Doc_lean___closed__5() { +static lean_object* _init_l_Lean_Doc_lean___lam__3___closed__2() { _start: { lean_object* x_1; @@ -54111,28 +49145,28 @@ x_1 = lean_mk_string_unchecked("_uniq", 5, 5); return x_1; } } -static lean_object* _init_l_Lean_Doc_lean___closed__6() { +static lean_object* _init_l_Lean_Doc_lean___lam__3___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_lean___closed__5; +x_1 = l_Lean_Doc_lean___lam__3___closed__2; x_2 = l_Lean_Name_mkStr1(x_1); return x_2; } } -static lean_object* _init_l_Lean_Doc_lean___closed__7() { +static lean_object* _init_l_Lean_Doc_lean___lam__3___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(1u); -x_2 = l_Lean_Doc_lean___closed__6; +x_2 = l_Lean_Doc_lean___lam__3___closed__3; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_lean___closed__8() { +static lean_object* _init_l_Lean_Doc_lean___lam__3___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -54141,7 +49175,7 @@ x_2 = l_Lean_DeclNameGenerator_ofPrefix(x_1); return x_2; } } -static lean_object* _init_l_Lean_Doc_lean___closed__9() { +static lean_object* _init_l_Lean_Doc_lean___lam__3___closed__6() { _start: { lean_object* x_1; @@ -54149,44 +49183,7738 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Doc_lean___closed__10() { +static lean_object* _init_l_Lean_Doc_lean___lam__3___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Doc_lean___closed__9; +x_1 = l_Lean_Doc_lean___lam__3___closed__6; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Doc_lean___closed__11() { +LEAN_EXPORT lean_object* l_Lean_Doc_lean___lam__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { -lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Doc_lean___closed__2; -x_2 = l_Lean_Doc_lean___closed__10; -x_3 = 1; -x_4 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_4, 0, x_2); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_1); -lean_ctor_set_uint8(x_4, sizeof(void*)*3, x_3); +lean_object* x_21; lean_object* x_22; lean_object* x_23; size_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint64_t 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_21 = lean_ctor_get(x_18, 4); +x_22 = l_Lean_Doc_lean___lam__3___closed__0; +x_23 = l_Lean_Doc_lean___lam__3___closed__1; +x_24 = 5; +lean_inc_n(x_1, 2); +x_25 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_22); +lean_ctor_set(x_25, 2, x_1); +lean_ctor_set(x_25, 3, x_1); +lean_ctor_set_usize(x_25, 4, x_24); +x_26 = l_Lean_NameSet_empty; +lean_inc_ref_n(x_25, 2); +x_27 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_25); +lean_ctor_set(x_27, 2, x_26); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_2, x_28); +x_30 = l_Lean_Doc_lean___lam__3___closed__4; +x_31 = l_Lean_Doc_lean___lam__3___closed__5; +x_32 = l_Lean_Doc_lean___lam__3___closed__7; +lean_inc_ref(x_25); +x_33 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_25); +lean_ctor_set_uint8(x_33, sizeof(void*)*3, x_3); +x_34 = 0; +x_35 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_35, 0, x_25); +lean_ctor_set_uint64(x_35, sizeof(void*)*1, x_34); +x_36 = lean_mk_empty_array_with_capacity(x_1); +lean_dec(x_1); +lean_inc_ref(x_36); +lean_inc(x_21); +x_37 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_37, 0, x_4); +lean_ctor_set(x_37, 1, x_27); +lean_ctor_set(x_37, 2, x_5); +lean_ctor_set(x_37, 3, x_26); +lean_ctor_set(x_37, 4, x_29); +lean_ctor_set(x_37, 5, x_21); +lean_ctor_set(x_37, 6, x_30); +lean_ctor_set(x_37, 7, x_31); +lean_ctor_set(x_37, 8, x_33); +lean_ctor_set(x_37, 9, x_35); +lean_ctor_set(x_37, 10, x_36); +x_38 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_38, 0, x_6); +lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_7); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_39); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +x_41 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_Doc_lean_spec__0(x_8, x_9, x_10, x_40, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; uint8_t x_43; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +lean_dec_ref(x_41); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = lean_ctor_get(x_42, 1); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_46 = lean_ctor_get(x_42, 0); +x_47 = lean_ctor_get(x_44, 0); +x_48 = lean_ctor_get(x_44, 1); +lean_dec(x_48); +x_49 = lean_ctor_get(x_46, 0); +x_50 = lean_ctor_get(x_46, 2); +x_51 = lean_ctor_get(x_46, 8); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc_ref(x_49); +x_52 = l_Lean_setEnv___at___00Lean_Doc_lean_spec__1___redArg(x_49, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; uint8_t x_54; +lean_dec_ref(x_52); +x_53 = lean_st_ref_take(x_13); +x_54 = !lean_is_exclusive(x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_53, 0); +lean_dec(x_55); +lean_inc(x_50); +lean_ctor_set(x_53, 0, x_50); +x_56 = lean_st_ref_set(x_13, x_53); +x_57 = lean_ctor_get(x_51, 2); +x_58 = lean_box(0); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc_ref(x_57); +x_59 = l_Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2(x_58, x_57, x_58, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; +lean_dec_ref(x_59); +x_60 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg(x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_60) == 0) +{ +uint8_t x_61; +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) +{ +lean_object* x_62; +x_62 = lean_ctor_get(x_60, 0); +lean_ctor_set(x_44, 1, x_62); +lean_ctor_set(x_44, 0, x_46); +lean_ctor_set(x_42, 0, x_47); +lean_ctor_set(x_60, 0, x_42); +return x_60; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_60, 0); +lean_inc(x_63); +lean_dec(x_60); +lean_ctor_set(x_44, 1, x_63); +lean_ctor_set(x_44, 0, x_46); +lean_ctor_set(x_42, 0, x_47); +x_64 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_64, 0, x_42); +return x_64; +} +} +else +{ +uint8_t x_65; +lean_free_object(x_44); +lean_dec(x_47); +lean_free_object(x_42); +lean_dec(x_46); +x_65 = !lean_is_exclusive(x_60); +if (x_65 == 0) +{ +return x_60; +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_60, 0); +lean_inc(x_66); +lean_dec(x_60); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_66); +return x_67; +} +} +} +else +{ +uint8_t x_68; +lean_free_object(x_44); +lean_dec(x_47); +lean_free_object(x_42); +lean_dec(x_46); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +x_68 = !lean_is_exclusive(x_59); +if (x_68 == 0) +{ +return x_59; +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_59, 0); +lean_inc(x_69); +lean_dec(x_59); +x_70 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_70, 0, x_69); +return x_70; +} +} +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_71 = lean_ctor_get(x_53, 1); +x_72 = lean_ctor_get(x_53, 2); +x_73 = lean_ctor_get(x_53, 3); +x_74 = lean_ctor_get(x_53, 4); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_53); +lean_inc(x_50); +x_75 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_75, 0, x_50); +lean_ctor_set(x_75, 1, x_71); +lean_ctor_set(x_75, 2, x_72); +lean_ctor_set(x_75, 3, x_73); +lean_ctor_set(x_75, 4, x_74); +x_76 = lean_st_ref_set(x_13, x_75); +x_77 = lean_ctor_get(x_51, 2); +x_78 = lean_box(0); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc_ref(x_77); +x_79 = l_Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2(x_78, x_77, x_78, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; +lean_dec_ref(x_79); +x_80 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg(x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_80, 0); +lean_inc(x_81); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + x_82 = x_80; +} else { + lean_dec_ref(x_80); + x_82 = lean_box(0); +} +lean_ctor_set(x_44, 1, x_81); +lean_ctor_set(x_44, 0, x_46); +lean_ctor_set(x_42, 0, x_47); +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(0, 1, 0); +} else { + x_83 = x_82; +} +lean_ctor_set(x_83, 0, x_42); +return x_83; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +lean_free_object(x_44); +lean_dec(x_47); +lean_free_object(x_42); +lean_dec(x_46); +x_84 = lean_ctor_get(x_80, 0); +lean_inc(x_84); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + x_85 = x_80; +} else { + lean_dec_ref(x_80); + x_85 = lean_box(0); +} +if (lean_is_scalar(x_85)) { + x_86 = lean_alloc_ctor(1, 1, 0); +} else { + x_86 = x_85; +} +lean_ctor_set(x_86, 0, x_84); +return x_86; +} +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_free_object(x_44); +lean_dec(x_47); +lean_free_object(x_42); +lean_dec(x_46); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +x_87 = lean_ctor_get(x_79, 0); +lean_inc(x_87); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + x_88 = x_79; +} else { + lean_dec_ref(x_79); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(1, 1, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_87); +return x_89; +} +} +} +else +{ +uint8_t x_90; +lean_free_object(x_44); +lean_dec(x_47); +lean_free_object(x_42); +lean_dec(x_46); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +x_90 = !lean_is_exclusive(x_52); +if (x_90 == 0) +{ +return x_52; +} +else +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_52, 0); +lean_inc(x_91); +lean_dec(x_52); +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_91); +return x_92; +} +} +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_93 = lean_ctor_get(x_42, 0); +x_94 = lean_ctor_get(x_44, 0); +lean_inc(x_94); +lean_dec(x_44); +x_95 = lean_ctor_get(x_93, 0); +x_96 = lean_ctor_get(x_93, 2); +x_97 = lean_ctor_get(x_93, 8); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc_ref(x_95); +x_98 = l_Lean_setEnv___at___00Lean_Doc_lean_spec__1___redArg(x_95, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_98) == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_dec_ref(x_98); +x_99 = lean_st_ref_take(x_13); +x_100 = lean_ctor_get(x_99, 1); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 2); +lean_inc_ref(x_101); +x_102 = lean_ctor_get(x_99, 3); +lean_inc_ref(x_102); +x_103 = lean_ctor_get(x_99, 4); +lean_inc_ref(x_103); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + lean_ctor_release(x_99, 2); + lean_ctor_release(x_99, 3); + lean_ctor_release(x_99, 4); + x_104 = x_99; +} else { + lean_dec_ref(x_99); + x_104 = lean_box(0); +} +lean_inc(x_96); +if (lean_is_scalar(x_104)) { + x_105 = lean_alloc_ctor(0, 5, 0); +} else { + x_105 = x_104; +} +lean_ctor_set(x_105, 0, x_96); +lean_ctor_set(x_105, 1, x_100); +lean_ctor_set(x_105, 2, x_101); +lean_ctor_set(x_105, 3, x_102); +lean_ctor_set(x_105, 4, x_103); +x_106 = lean_st_ref_set(x_13, x_105); +x_107 = lean_ctor_get(x_97, 2); +x_108 = lean_box(0); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc_ref(x_107); +x_109 = l_Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2(x_108, x_107, x_108, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; +lean_dec_ref(x_109); +x_110 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg(x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_111 = lean_ctor_get(x_110, 0); +lean_inc(x_111); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + x_112 = x_110; +} else { + lean_dec_ref(x_110); + x_112 = lean_box(0); +} +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_93); +lean_ctor_set(x_113, 1, x_111); +lean_ctor_set(x_42, 1, x_113); +lean_ctor_set(x_42, 0, x_94); +if (lean_is_scalar(x_112)) { + x_114 = lean_alloc_ctor(0, 1, 0); +} else { + x_114 = x_112; +} +lean_ctor_set(x_114, 0, x_42); +return x_114; +} +else +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +lean_dec(x_94); +lean_free_object(x_42); +lean_dec(x_93); +x_115 = lean_ctor_get(x_110, 0); +lean_inc(x_115); +if (lean_is_exclusive(x_110)) { + lean_ctor_release(x_110, 0); + x_116 = x_110; +} else { + lean_dec_ref(x_110); + x_116 = lean_box(0); +} +if (lean_is_scalar(x_116)) { + x_117 = lean_alloc_ctor(1, 1, 0); +} else { + x_117 = x_116; +} +lean_ctor_set(x_117, 0, x_115); +return x_117; +} +} +else +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_94); +lean_free_object(x_42); +lean_dec(x_93); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +x_118 = lean_ctor_get(x_109, 0); +lean_inc(x_118); +if (lean_is_exclusive(x_109)) { + lean_ctor_release(x_109, 0); + x_119 = x_109; +} else { + lean_dec_ref(x_109); + x_119 = lean_box(0); +} +if (lean_is_scalar(x_119)) { + x_120 = lean_alloc_ctor(1, 1, 0); +} else { + x_120 = x_119; +} +lean_ctor_set(x_120, 0, x_118); +return x_120; +} +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_94); +lean_free_object(x_42); +lean_dec(x_93); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +x_121 = lean_ctor_get(x_98, 0); +lean_inc(x_121); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + x_122 = x_98; +} else { + lean_dec_ref(x_98); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 1, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_121); +return x_123; +} +} +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_124 = lean_ctor_get(x_42, 1); +x_125 = lean_ctor_get(x_42, 0); +lean_inc(x_124); +lean_inc(x_125); +lean_dec(x_42); +x_126 = lean_ctor_get(x_124, 0); +lean_inc(x_126); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_127 = x_124; +} else { + lean_dec_ref(x_124); + x_127 = lean_box(0); +} +x_128 = lean_ctor_get(x_125, 0); +x_129 = lean_ctor_get(x_125, 2); +x_130 = lean_ctor_get(x_125, 8); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc_ref(x_128); +x_131 = l_Lean_setEnv___at___00Lean_Doc_lean_spec__1___redArg(x_128, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_131) == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +lean_dec_ref(x_131); +x_132 = lean_st_ref_take(x_13); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 2); +lean_inc_ref(x_134); +x_135 = lean_ctor_get(x_132, 3); +lean_inc_ref(x_135); +x_136 = lean_ctor_get(x_132, 4); +lean_inc_ref(x_136); +if (lean_is_exclusive(x_132)) { + lean_ctor_release(x_132, 0); + lean_ctor_release(x_132, 1); + lean_ctor_release(x_132, 2); + lean_ctor_release(x_132, 3); + lean_ctor_release(x_132, 4); + x_137 = x_132; +} else { + lean_dec_ref(x_132); + x_137 = lean_box(0); +} +lean_inc(x_129); +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 5, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_129); +lean_ctor_set(x_138, 1, x_133); +lean_ctor_set(x_138, 2, x_134); +lean_ctor_set(x_138, 3, x_135); +lean_ctor_set(x_138, 4, x_136); +x_139 = lean_st_ref_set(x_13, x_138); +x_140 = lean_ctor_get(x_130, 2); +x_141 = lean_box(0); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc_ref(x_140); +x_142 = l_Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2(x_141, x_140, x_141, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_142) == 0) +{ +lean_object* x_143; +lean_dec_ref(x_142); +x_143 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg(x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_143) == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + x_145 = x_143; +} else { + lean_dec_ref(x_143); + x_145 = lean_box(0); +} +if (lean_is_scalar(x_127)) { + x_146 = lean_alloc_ctor(0, 2, 0); +} else { + x_146 = x_127; +} +lean_ctor_set(x_146, 0, x_125); +lean_ctor_set(x_146, 1, x_144); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_126); +lean_ctor_set(x_147, 1, x_146); +if (lean_is_scalar(x_145)) { + x_148 = lean_alloc_ctor(0, 1, 0); +} else { + x_148 = x_145; +} +lean_ctor_set(x_148, 0, x_147); +return x_148; +} +else +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +x_149 = lean_ctor_get(x_143, 0); +lean_inc(x_149); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + x_150 = x_143; +} else { + lean_dec_ref(x_143); + x_150 = lean_box(0); +} +if (lean_is_scalar(x_150)) { + x_151 = lean_alloc_ctor(1, 1, 0); +} else { + x_151 = x_150; +} +lean_ctor_set(x_151, 0, x_149); +return x_151; +} +} +else +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +x_152 = lean_ctor_get(x_142, 0); +lean_inc(x_152); +if (lean_is_exclusive(x_142)) { + lean_ctor_release(x_142, 0); + x_153 = x_142; +} else { + lean_dec_ref(x_142); + x_153 = lean_box(0); +} +if (lean_is_scalar(x_153)) { + x_154 = lean_alloc_ctor(1, 1, 0); +} else { + x_154 = x_153; +} +lean_ctor_set(x_154, 0, x_152); +return x_154; +} +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_dec(x_127); +lean_dec(x_126); +lean_dec(x_125); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +x_155 = lean_ctor_get(x_131, 0); +lean_inc(x_155); +if (lean_is_exclusive(x_131)) { + lean_ctor_release(x_131, 0); + x_156 = x_131; +} else { + lean_dec_ref(x_131); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 1, 0); +} else { + x_157 = x_156; +} +lean_ctor_set(x_157, 0, x_155); +return x_157; +} +} +} +else +{ +uint8_t x_158; +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +x_158 = !lean_is_exclusive(x_41); +if (x_158 == 0) +{ +return x_41; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_41, 0); +lean_inc(x_159); +lean_dec(x_41); +x_160 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_160, 0, x_159); +return x_160; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Doc_lean___lam__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]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +_start: +{ +uint8_t x_21; uint8_t x_22; uint8_t x_23; lean_object* x_24; +x_21 = lean_unbox(x_3); +x_22 = lean_unbox(x_7); +x_23 = lean_unbox(x_11); +x_24 = l_Lean_Doc_lean___lam__3(x_1, x_2, x_21, x_4, x_5, x_6, x_22, x_8, x_9, x_10, x_23, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_2); +return x_24; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_box(0); +x_6 = l_Lean_Doc_DocCode_push(x_3, x_1, x_2); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(x_1, x_2, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_1, 2); +x_14 = lean_ctor_get(x_13, 0); +x_15 = lean_ctor_get(x_13, 1); +x_16 = lean_ctor_get(x_13, 2); +x_17 = lean_string_utf8_extract(x_14, x_15, x_16); +x_18 = lean_box(0); +x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(x_17, x_18, x_2); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_2); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_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: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_3); +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg___lam__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_11; +x_11 = l_Lean_Elab_ContextInfo_runMetaM___redArg(x_1, x_2, x_3); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_8, 5); +x_18 = lean_io_error_to_string(x_16); +x_19 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_MessageData_ofFormat(x_19); +lean_inc(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_17); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_11, 0, x_21); +return x_11; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_11, 0); +lean_inc(x_22); +lean_dec(x_11); +x_23 = lean_ctor_get(x_8, 5); +x_24 = lean_io_error_to_string(x_22); +x_25 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_MessageData_ofFormat(x_25); +lean_inc(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_13; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_4); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +lean_dec_ref(x_4); +x_14 = lean_ctor_get(x_3, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_3, 1); +lean_inc(x_15); +lean_dec_ref(x_3); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_14, 0); +x_18 = lean_ctor_get(x_14, 1); +lean_inc(x_18); +x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___redArg___lam__2___boxed), 6, 1); +lean_closure_set(x_19, 0, x_18); +x_20 = l_Lean_Elab_Info_lctx(x_18); +lean_dec(x_18); +x_21 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg___lam__1___boxed), 10, 3); +lean_closure_set(x_21, 0, x_17); +lean_closure_set(x_21, 1, x_20); +lean_closure_set(x_21, 2, x_19); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_22 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +if (lean_obj_tag(x_24) == 1) +{ +lean_object* x_25; +lean_dec(x_15); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_14, 1, x_1); +lean_ctor_set(x_14, 0, x_25); +lean_ctor_set(x_22, 0, x_14); +return x_22; +} +else +{ +lean_free_object(x_22); +lean_dec(x_24); +lean_free_object(x_14); +lean_inc_ref(x_2); +{ +lean_object* _tmp_2 = x_15; +lean_object* _tmp_3 = x_2; +x_3 = _tmp_2; +x_4 = _tmp_3; +} +goto _start; +} +} +else +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_22, 0); +lean_inc(x_27); +lean_dec(x_22); +if (lean_obj_tag(x_27) == 1) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_15); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_14, 1, x_1); +lean_ctor_set(x_14, 0, x_28); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_14); +return x_29; +} +else +{ +lean_dec(x_27); +lean_free_object(x_14); +lean_inc_ref(x_2); +{ +lean_object* _tmp_2 = x_15; +lean_object* _tmp_3 = x_2; +x_3 = _tmp_2; +x_4 = _tmp_3; +} +goto _start; +} +} +} +else +{ +uint8_t x_31; +lean_free_object(x_14); +lean_dec(x_15); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_31 = !lean_is_exclusive(x_22); +if (x_31 == 0) +{ +return x_22; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_22, 0); +lean_inc(x_32); +lean_dec(x_22); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +return x_33; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_ctor_get(x_14, 0); +x_35 = lean_ctor_get(x_14, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_14); +lean_inc(x_35); +x_36 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___redArg___lam__2___boxed), 6, 1); +lean_closure_set(x_36, 0, x_35); +x_37 = l_Lean_Elab_Info_lctx(x_35); +lean_dec(x_35); +x_38 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg___lam__1___boxed), 10, 3); +lean_closure_set(x_38, 0, x_34); +lean_closure_set(x_38, 1, x_37); +lean_closure_set(x_38, 2, x_36); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_39 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_38, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + x_41 = x_39; +} else { + lean_dec_ref(x_39); + x_41 = lean_box(0); +} +if (lean_obj_tag(x_40) == 1) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_15); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_40); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_1); +if (lean_is_scalar(x_41)) { + x_44 = lean_alloc_ctor(0, 1, 0); +} else { + x_44 = x_41; +} +lean_ctor_set(x_44, 0, x_43); +return x_44; +} +else +{ +lean_dec(x_41); +lean_dec(x_40); +lean_inc_ref(x_2); +{ +lean_object* _tmp_2 = x_15; +lean_object* _tmp_3 = x_2; +x_3 = _tmp_2; +x_4 = _tmp_3; +} +goto _start; +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_15); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_46 = lean_ctor_get(x_39, 0); +lean_inc(x_46); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + x_47 = x_39; +} else { + lean_dec_ref(x_39); + x_47 = lean_box(0); +} +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(1, 1, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_46); +return x_48; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg(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_5); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_box(0); +x_13 = lean_box(0); +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___redArg___closed__0; +x_15 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg(x_13, x_14, x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_ctor_set(x_15, 0, x_12); +return x_15; +} +else +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec_ref(x_18); +lean_ctor_set(x_15, 0, x_19); +return x_15; +} +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +lean_inc(x_20); +lean_dec(x_15); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_12); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec_ref(x_21); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_15); +if (x_25 == 0) +{ +return x_15; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_15, 0); +lean_inc(x_26); +lean_dec(x_15); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +return x_27; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_2); +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +lean_dec(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_ContextInfo_runMetaM___redArg(x_1, x_2, x_3); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_8, 5); +x_18 = lean_io_error_to_string(x_16); +x_19 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_MessageData_ofFormat(x_19); +lean_inc(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_17); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_11, 0, x_21); +return x_11; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_11, 0); +lean_inc(x_22); +lean_dec(x_11); +x_23 = lean_ctor_get(x_8, 5); +x_24 = lean_io_error_to_string(x_22); +x_25 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_MessageData_ofFormat(x_25); +lean_inc(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_ContextInfo_runMetaM___redArg(x_1, x_2, x_3); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_8, 5); +x_18 = lean_io_error_to_string(x_16); +x_19 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_MessageData_ofFormat(x_19); +lean_inc(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_17); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_11, 0, x_21); +return x_11; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_11, 0); +lean_inc(x_22); +lean_dec(x_11); +x_23 = lean_ctor_get(x_8, 5); +x_24 = lean_io_error_to_string(x_22); +x_25 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_MessageData_ofFormat(x_25); +lean_inc(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__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) { +_start: +{ +lean_object* x_11; +x_11 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_11; +x_11 = l_Lean_Elab_ContextInfo_runMetaM___redArg(x_1, x_2, x_3); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_8, 5); +x_18 = lean_io_error_to_string(x_16); +x_19 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_19, 0, x_18); +x_20 = l_Lean_MessageData_ofFormat(x_19); +lean_inc(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_17); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_11, 0, x_21); +return x_11; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_11, 0); +lean_inc(x_22); +lean_dec(x_11); +x_23 = lean_ctor_get(x_8, 5); +x_24 = lean_io_error_to_string(x_22); +x_25 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_25, 0, x_24); +x_26 = l_Lean_MessageData_ofFormat(x_25); +lean_inc(x_23); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_12; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_3); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_2, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +switch (lean_obj_tag(x_14)) { +case 1: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_2, 1); +lean_inc(x_15); +lean_dec_ref(x_2); +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_ctor_get(x_14, 0); +lean_inc_ref(x_17); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_18 = x_14; +} else { + lean_dec_ref(x_14); + x_18 = lean_box(0); +} +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_49; +x_49 = lean_ctor_get(x_3, 0); +if (lean_obj_tag(x_49) == 1) +{ +lean_object* x_50; +lean_dec(x_18); +x_50 = lean_ctor_get(x_17, 3); +lean_inc_ref(x_50); +if (lean_obj_tag(x_50) == 4) +{ +uint8_t x_51; +x_51 = !lean_is_exclusive(x_3); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_52 = lean_ctor_get(x_3, 0); +lean_dec(x_52); +x_53 = lean_ctor_get(x_17, 1); +lean_inc_ref(x_53); +lean_dec_ref(x_17); +x_54 = lean_ctor_get(x_50, 0); +lean_inc(x_54); +lean_dec_ref(x_50); +lean_inc(x_54); +x_55 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_ppSignature___boxed), 6, 1); +lean_closure_set(x_55, 0, x_54); +x_56 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__0___boxed), 10, 3); +lean_closure_set(x_56, 0, x_16); +lean_closure_set(x_56, 1, x_53); +lean_closure_set(x_56, 2, x_55); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_57 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_56, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_57) == 0) +{ +lean_object* x_58; uint8_t x_59; +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +lean_dec_ref(x_57); +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_58, 0); +x_61 = lean_ctor_get(x_58, 1); +lean_dec(x_61); +lean_ctor_set(x_58, 1, x_60); +lean_ctor_set(x_58, 0, x_54); +lean_ctor_set(x_3, 0, x_58); +x_2 = x_15; +goto _start; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_58, 0); +lean_inc(x_63); +lean_dec(x_58); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_54); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_3, 0, x_64); +x_2 = x_15; +goto _start; +} +} +else +{ +uint8_t x_66; +lean_dec(x_54); +lean_free_object(x_3); +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_66 = !lean_is_exclusive(x_57); +if (x_66 == 0) +{ +return x_57; +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_57, 0); +lean_inc(x_67); +lean_dec(x_57); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_67); +return x_68; +} +} +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_3); +x_69 = lean_ctor_get(x_17, 1); +lean_inc_ref(x_69); +lean_dec_ref(x_17); +x_70 = lean_ctor_get(x_50, 0); +lean_inc(x_70); +lean_dec_ref(x_50); +lean_inc(x_70); +x_71 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_ppSignature___boxed), 6, 1); +lean_closure_set(x_71, 0, x_70); +x_72 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__0___boxed), 10, 3); +lean_closure_set(x_72, 0, x_16); +lean_closure_set(x_72, 1, x_69); +lean_closure_set(x_72, 2, x_71); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_73 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_72, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +lean_dec_ref(x_73); +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_76 = x_74; +} else { + lean_dec_ref(x_74); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(0, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_70); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_2 = x_15; +x_3 = x_78; +goto _start; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec(x_70); +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_80 = lean_ctor_get(x_73, 0); +lean_inc(x_80); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + x_81 = x_73; +} else { + lean_dec_ref(x_73); + x_81 = lean_box(0); +} +if (lean_is_scalar(x_81)) { + x_82 = lean_alloc_ctor(1, 1, 0); +} else { + x_82 = x_81; +} +lean_ctor_set(x_82, 0, x_80); +return x_82; +} +} +} +else +{ +lean_dec_ref(x_50); +lean_dec_ref(x_17); +lean_dec(x_16); +x_2 = x_15; +goto _start; +} +} +else +{ +goto block_48; +} +} +else +{ +goto block_48; +} +block_48: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_17, 3); +lean_inc_ref(x_19); +switch (lean_obj_tag(x_19)) { +case 4: +{ +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_17, 1); +lean_inc_ref(x_20); +lean_dec_ref(x_17); +x_21 = lean_ctor_get(x_19, 0); +lean_inc(x_21); +lean_dec_ref(x_19); +lean_inc(x_21); +x_22 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_ppSignature___boxed), 6, 1); +lean_closure_set(x_22, 0, x_21); +x_23 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__0___boxed), 10, 3); +lean_closure_set(x_23, 0, x_16); +lean_closure_set(x_23, 1, x_20); +lean_closure_set(x_23, 2, x_22); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_24 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec_ref(x_24); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_ctor_get(x_25, 1); +lean_dec(x_28); +lean_ctor_set(x_25, 1, x_27); +lean_ctor_set(x_25, 0, x_21); +if (lean_is_scalar(x_18)) { + x_29 = lean_alloc_ctor(1, 1, 0); +} else { + x_29 = x_18; +} +lean_ctor_set(x_29, 0, x_25); +x_2 = x_15; +x_3 = x_29; +goto _start; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_25, 0); +lean_inc(x_31); +lean_dec(x_25); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_21); +lean_ctor_set(x_32, 1, x_31); +if (lean_is_scalar(x_18)) { + x_33 = lean_alloc_ctor(1, 1, 0); +} else { + x_33 = x_18; +} +lean_ctor_set(x_33, 0, x_32); +x_2 = x_15; +x_3 = x_33; +goto _start; +} +} +else +{ +uint8_t x_35; +lean_dec(x_21); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_24); +if (x_35 == 0) +{ +return x_24; +} +else +{ +lean_object* x_36; lean_object* x_37; +x_36 = lean_ctor_get(x_24, 0); +lean_inc(x_36); +lean_dec(x_24); +x_37 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_37, 0, x_36); +return x_37; +} +} +} +case 1: +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_18); +x_38 = lean_ctor_get(x_17, 1); +lean_inc_ref(x_38); +lean_dec_ref(x_17); +x_39 = lean_ctor_get(x_19, 0); +lean_inc(x_39); +lean_dec_ref(x_19); +lean_inc(x_1); +x_40 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__5___boxed), 7, 2); +lean_closure_set(x_40, 0, x_39); +lean_closure_set(x_40, 1, x_1); +x_41 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__2___boxed), 10, 3); +lean_closure_set(x_41, 0, x_16); +lean_closure_set(x_41, 1, x_38); +lean_closure_set(x_41, 2, x_40); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_42 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_41, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +lean_dec_ref(x_42); +if (lean_obj_tag(x_43) == 1) +{ +x_2 = x_15; +x_3 = x_43; +goto _start; +} +else +{ +lean_dec(x_43); +x_2 = x_15; +goto _start; +} +} +else +{ +lean_dec(x_15); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_42; +} +} +default: +{ +lean_dec_ref(x_19); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +x_2 = x_15; +goto _start; +} +} +} +else +{ +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_16); +x_2 = x_15; +goto _start; +} +} +} +case 7: +{ +uint8_t x_84; +lean_dec(x_3); +x_84 = !lean_is_exclusive(x_14); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_85 = lean_ctor_get(x_14, 0); +x_86 = lean_ctor_get(x_2, 1); +lean_inc(x_86); +lean_dec_ref(x_2); +x_87 = lean_ctor_get(x_13, 0); +lean_inc(x_87); +lean_dec(x_13); +x_88 = lean_ctor_get(x_85, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_85, 2); +lean_inc_ref(x_89); +lean_dec_ref(x_85); +x_90 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__10___boxed), 6, 1); +lean_closure_set(x_90, 0, x_88); +x_91 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__4___boxed), 10, 3); +lean_closure_set(x_91, 0, x_87); +lean_closure_set(x_91, 1, x_89); +lean_closure_set(x_91, 2, x_90); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_92 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_91, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +lean_dec_ref(x_92); +lean_ctor_set_tag(x_14, 1); +lean_ctor_set(x_14, 0, x_93); +x_2 = x_86; +x_3 = x_14; +goto _start; +} +else +{ +uint8_t x_95; +lean_dec(x_86); +lean_free_object(x_14); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_95 = !lean_is_exclusive(x_92); +if (x_95 == 0) +{ +return x_92; +} +else +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_92, 0); +lean_inc(x_96); +lean_dec(x_92); +x_97 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_97, 0, x_96); +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_14, 0); +lean_inc(x_98); +lean_dec(x_14); +x_99 = lean_ctor_get(x_2, 1); +lean_inc(x_99); +lean_dec_ref(x_2); +x_100 = lean_ctor_get(x_13, 0); +lean_inc(x_100); +lean_dec(x_13); +x_101 = lean_ctor_get(x_98, 0); +lean_inc(x_101); +x_102 = lean_ctor_get(x_98, 2); +lean_inc_ref(x_102); +lean_dec_ref(x_98); +x_103 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___redArg___lam__10___boxed), 6, 1); +lean_closure_set(x_103, 0, x_101); +x_104 = lean_alloc_closure((void*)(l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___lam__4___boxed), 10, 3); +lean_closure_set(x_104, 0, x_100); +lean_closure_set(x_104, 1, x_102); +lean_closure_set(x_104, 2, x_103); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_105 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_104, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +lean_dec_ref(x_105); +x_107 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_107, 0, x_106); +x_2 = x_99; +x_3 = x_107; +goto _start; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +lean_dec(x_99); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +x_109 = lean_ctor_get(x_105, 0); +lean_inc(x_109); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + x_110 = x_105; +} else { + lean_dec_ref(x_105); + x_110 = lean_box(0); +} +if (lean_is_scalar(x_110)) { + x_111 = lean_alloc_ctor(1, 1, 0); +} else { + x_111 = x_110; +} +lean_ctor_set(x_111, 0, x_109); +return x_111; +} +} +} +case 5: +{ +uint8_t x_112; +lean_dec(x_3); +x_112 = !lean_is_exclusive(x_13); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_113 = lean_ctor_get(x_13, 1); +lean_dec(x_113); +x_114 = lean_ctor_get(x_13, 0); +lean_dec(x_114); +x_115 = !lean_is_exclusive(x_14); +if (x_115 == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_116 = lean_ctor_get(x_14, 0); +x_117 = lean_ctor_get(x_2, 1); +lean_inc(x_117); +lean_dec_ref(x_2); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +x_119 = lean_ctor_get(x_116, 2); +lean_inc(x_119); +lean_dec_ref(x_116); +lean_ctor_set_tag(x_13, 3); +lean_ctor_set(x_13, 1, x_119); +lean_ctor_set(x_13, 0, x_118); +lean_ctor_set_tag(x_14, 1); +lean_ctor_set(x_14, 0, x_13); +x_2 = x_117; +x_3 = x_14; +goto _start; +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_121 = lean_ctor_get(x_14, 0); +lean_inc(x_121); +lean_dec(x_14); +x_122 = lean_ctor_get(x_2, 1); +lean_inc(x_122); +lean_dec_ref(x_2); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +x_124 = lean_ctor_get(x_121, 2); +lean_inc(x_124); +lean_dec_ref(x_121); +lean_ctor_set_tag(x_13, 3); +lean_ctor_set(x_13, 1, x_124); +lean_ctor_set(x_13, 0, x_123); +x_125 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_125, 0, x_13); +x_2 = x_122; +x_3 = x_125; +goto _start; +} +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec(x_13); +x_127 = lean_ctor_get(x_14, 0); +lean_inc_ref(x_127); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + x_128 = x_14; +} else { + lean_dec_ref(x_14); + x_128 = lean_box(0); +} +x_129 = lean_ctor_get(x_2, 1); +lean_inc(x_129); +lean_dec_ref(x_2); +x_130 = lean_ctor_get(x_127, 1); +lean_inc(x_130); +x_131 = lean_ctor_get(x_127, 2); +lean_inc(x_131); +lean_dec_ref(x_127); +x_132 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +if (lean_is_scalar(x_128)) { + x_133 = lean_alloc_ctor(1, 1, 0); +} else { + x_133 = x_128; + lean_ctor_set_tag(x_133, 1); +} +lean_ctor_set(x_133, 0, x_132); +x_2 = x_129; +x_3 = x_133; +goto _start; +} +} +default: +{ +lean_object* x_135; +lean_dec(x_14); +lean_dec(x_13); +x_135 = lean_ctor_get(x_2, 1); +lean_inc(x_135); +lean_dec_ref(x_2); +x_2 = x_135; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg(x_12, x_1, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_2); +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +lean_dec(x_3); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__20(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_13, 0); +x_15 = lean_ctor_get(x_13, 1); +x_16 = lean_ctor_get(x_13, 2); +x_17 = lean_string_utf8_extract(x_14, x_15, x_16); +x_18 = lean_box(0); +x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(x_17, x_18, x_2); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_2); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_3); +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__20(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +case 1: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_34; +x_17 = lean_ctor_get(x_2, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_2, 1); +lean_inc(x_18); +x_19 = lean_ctor_get(x_2, 2); +x_34 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__20(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; 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_63; +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +lean_dec_ref(x_34); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_63 = l_Lean_isLitKind(x_18); +if (x_63 == 0) +{ +lean_inc_ref(x_19); +lean_dec(x_18); +lean_dec_ref(x_2); +x_37 = x_4; +x_38 = x_5; +x_39 = x_6; +x_40 = x_7; +x_41 = x_8; +x_42 = x_9; +x_43 = x_10; +x_44 = x_11; +x_45 = x_12; +x_46 = lean_box(0); +goto block_62; +} +else +{ +lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_64 = lean_array_get_size(x_19); +x_65 = lean_unsigned_to_nat(1u); +x_66 = lean_nat_dec_eq(x_64, x_65); +if (x_66 == 0) +{ +lean_inc_ref(x_19); +lean_dec(x_18); +lean_dec_ref(x_2); +x_37 = x_4; +x_38 = x_5; +x_39 = x_6; +x_40 = x_7; +x_41 = x_8; +x_42 = x_9; +x_43 = x_10; +x_44 = x_11; +x_45 = x_12; +x_46 = lean_box(0); +goto block_62; +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_unsigned_to_nat(0u); +x_68 = lean_array_fget_borrowed(x_19, x_67); +if (lean_obj_tag(x_68) == 2) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_68, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_68, 1); +lean_inc_ref(x_70); +x_71 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__20(x_69, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_71) == 0) +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +lean_object* x_73; uint8_t x_74; +x_73 = lean_ctor_get(x_71, 0); +x_74 = !lean_is_exclusive(x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_75 = lean_ctor_get(x_73, 1); +x_76 = lean_ctor_get(x_73, 0); +lean_dec(x_76); +x_77 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__0___boxed), 4, 1); +lean_closure_set(x_77, 0, x_2); +x_78 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes(x_1, x_77); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_79 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21(x_78, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_79, 0); +lean_inc(x_80); +lean_dec_ref(x_79); +lean_ctor_set_tag(x_73, 5); +lean_ctor_set(x_73, 1, x_80); +lean_ctor_set(x_73, 0, x_18); +lean_ctor_set_tag(x_71, 1); +x_81 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(x_70, x_71, x_75); +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, 0); +lean_inc(x_82); +lean_dec_ref(x_81); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_69, x_83, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_69); +if (lean_obj_tag(x_84) == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +lean_dec_ref(x_84); +x_86 = lean_ctor_get(x_85, 1); +lean_inc(x_86); +lean_dec(x_85); +x_87 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_17, x_86, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_17); +if (lean_obj_tag(x_87) == 0) +{ +uint8_t x_88; +x_88 = !lean_is_exclusive(x_87); +if (x_88 == 0) +{ +lean_object* x_89; uint8_t x_90; +x_89 = lean_ctor_get(x_87, 0); +x_90 = !lean_is_exclusive(x_89); +if (x_90 == 0) +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_89, 0); +lean_dec(x_91); +x_92 = lean_box(0); +lean_ctor_set(x_89, 0, x_92); +return x_87; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_89, 1); +lean_inc(x_93); +lean_dec(x_89); +x_94 = lean_box(0); +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +lean_ctor_set(x_87, 0, x_95); +return x_87; +} +} +else +{ +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_96 = lean_ctor_get(x_87, 0); +lean_inc(x_96); +lean_dec(x_87); +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_98 = x_96; +} else { + lean_dec_ref(x_96); + x_98 = lean_box(0); +} +x_99 = lean_box(0); +if (lean_is_scalar(x_98)) { + x_100 = lean_alloc_ctor(0, 2, 0); +} else { + x_100 = x_98; +} +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_97); +x_101 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_101, 0, x_100); +return x_101; +} +} +else +{ +return x_87; +} +} +else +{ +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_84; +} +} +else +{ +lean_dec(x_69); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_81; +} +} +else +{ +uint8_t x_102; +lean_free_object(x_73); +lean_dec(x_75); +lean_free_object(x_71); +lean_dec_ref(x_70); +lean_dec(x_69); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_102 = !lean_is_exclusive(x_79); +if (x_102 == 0) +{ +return x_79; +} +else +{ +lean_object* x_103; lean_object* x_104; +x_103 = lean_ctor_get(x_79, 0); +lean_inc(x_103); +lean_dec(x_79); +x_104 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_104, 0, x_103); +return x_104; +} +} +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_105 = lean_ctor_get(x_73, 1); +lean_inc(x_105); +lean_dec(x_73); +x_106 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__0___boxed), 4, 1); +lean_closure_set(x_106, 0, x_2); +x_107 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes(x_1, x_106); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_108 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21(x_107, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +lean_dec_ref(x_108); +x_110 = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(x_110, 0, x_18); +lean_ctor_set(x_110, 1, x_109); +lean_ctor_set_tag(x_71, 1); +lean_ctor_set(x_71, 0, x_110); +x_111 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(x_70, x_71, x_105); +if (lean_obj_tag(x_111) == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +lean_dec_ref(x_111); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_69, x_113, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_69); +if (lean_obj_tag(x_114) == 0) +{ +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +lean_dec_ref(x_114); +x_116 = lean_ctor_get(x_115, 1); +lean_inc(x_116); +lean_dec(x_115); +x_117 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_17, x_116, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_17); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + x_119 = x_117; +} else { + lean_dec_ref(x_117); + x_119 = lean_box(0); +} +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_121 = x_118; +} else { + lean_dec_ref(x_118); + x_121 = lean_box(0); +} +x_122 = lean_box(0); +if (lean_is_scalar(x_121)) { + x_123 = lean_alloc_ctor(0, 2, 0); +} else { + x_123 = x_121; +} +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_120); +if (lean_is_scalar(x_119)) { + x_124 = lean_alloc_ctor(0, 1, 0); +} else { + x_124 = x_119; +} +lean_ctor_set(x_124, 0, x_123); +return x_124; +} +else +{ +return x_117; +} +} +else +{ +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_114; +} +} +else +{ +lean_dec(x_69); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_111; +} +} +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec(x_105); +lean_free_object(x_71); +lean_dec_ref(x_70); +lean_dec(x_69); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_125 = lean_ctor_get(x_108, 0); +lean_inc(x_125); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + x_126 = x_108; +} else { + lean_dec_ref(x_108); + x_126 = lean_box(0); +} +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(1, 1, 0); +} else { + x_127 = x_126; +} +lean_ctor_set(x_127, 0, x_125); +return x_127; +} +} +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_128 = lean_ctor_get(x_71, 0); +lean_inc(x_128); +lean_dec(x_71); +x_129 = lean_ctor_get(x_128, 1); +lean_inc(x_129); +if (lean_is_exclusive(x_128)) { + lean_ctor_release(x_128, 0); + lean_ctor_release(x_128, 1); + x_130 = x_128; +} else { + lean_dec_ref(x_128); + x_130 = lean_box(0); +} +x_131 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__0___boxed), 4, 1); +lean_closure_set(x_131, 0, x_2); +x_132 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes(x_1, x_131); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_133 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21(x_132, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_133) == 0) +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_134 = lean_ctor_get(x_133, 0); +lean_inc(x_134); +lean_dec_ref(x_133); +if (lean_is_scalar(x_130)) { + x_135 = lean_alloc_ctor(5, 2, 0); +} else { + x_135 = x_130; + lean_ctor_set_tag(x_135, 5); +} +lean_ctor_set(x_135, 0, x_18); +lean_ctor_set(x_135, 1, x_134); +x_136 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_136, 0, x_135); +x_137 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(x_70, x_136, x_129); +if (lean_obj_tag(x_137) == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +lean_dec_ref(x_137); +x_139 = lean_ctor_get(x_138, 1); +lean_inc(x_139); +lean_dec(x_138); +x_140 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_69, x_139, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_69); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +lean_dec_ref(x_140); +x_142 = lean_ctor_get(x_141, 1); +lean_inc(x_142); +lean_dec(x_141); +x_143 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_17, x_142, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_17); +if (lean_obj_tag(x_143) == 0) +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + x_145 = x_143; +} else { + lean_dec_ref(x_143); + x_145 = lean_box(0); +} +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_147 = x_144; +} else { + lean_dec_ref(x_144); + x_147 = lean_box(0); +} +x_148 = lean_box(0); +if (lean_is_scalar(x_147)) { + x_149 = lean_alloc_ctor(0, 2, 0); +} else { + x_149 = x_147; +} +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_146); +if (lean_is_scalar(x_145)) { + x_150 = lean_alloc_ctor(0, 1, 0); +} else { + x_150 = x_145; +} +lean_ctor_set(x_150, 0, x_149); +return x_150; +} +else +{ +return x_143; +} +} +else +{ +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_140; +} +} +else +{ +lean_dec(x_69); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_137; +} +} +else +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; +lean_dec(x_130); +lean_dec(x_129); +lean_dec_ref(x_70); +lean_dec(x_69); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +x_151 = lean_ctor_get(x_133, 0); +lean_inc(x_151); +if (lean_is_exclusive(x_133)) { + lean_ctor_release(x_133, 0); + x_152 = x_133; +} else { + lean_dec_ref(x_133); + x_152 = lean_box(0); +} +if (lean_is_scalar(x_152)) { + x_153 = lean_alloc_ctor(1, 1, 0); +} else { + x_153 = x_152; +} +lean_ctor_set(x_153, 0, x_151); +return x_153; +} +} +} +else +{ +lean_dec_ref(x_70); +lean_dec(x_69); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +return x_71; +} +} +else +{ +lean_inc_ref(x_19); +lean_dec(x_18); +lean_dec_ref(x_2); +x_37 = x_4; +x_38 = x_5; +x_39 = x_6; +x_40 = x_7; +x_41 = x_8; +x_42 = x_9; +x_43 = x_10; +x_44 = x_11; +x_45 = x_12; +x_46 = lean_box(0); +goto block_62; +} +} +} +block_62: +{ +lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_47 = lean_unsigned_to_nat(0u); +x_48 = lean_array_get_size(x_19); +x_49 = lean_nat_dec_lt(x_47, x_48); +if (x_49 == 0) +{ +lean_object* x_50; +lean_dec_ref(x_19); +x_50 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_17, x_36, x_37, x_38, x_39, x_40, x_41, x_42, x_43, x_44, x_45); +lean_dec(x_45); +lean_dec_ref(x_44); +lean_dec(x_43); +lean_dec_ref(x_42); +lean_dec(x_41); +lean_dec_ref(x_40); +lean_dec(x_17); +return x_50; +} +else +{ +lean_object* x_51; uint8_t x_52; +x_51 = lean_box(0); +x_52 = lean_nat_dec_le(x_48, x_48); +if (x_52 == 0) +{ +if (x_49 == 0) +{ +lean_object* x_53; +lean_dec_ref(x_19); +x_53 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_17, x_36, x_37, x_38, x_39, x_40, x_41, x_42, x_43, x_44, x_45); +lean_dec(x_45); +lean_dec_ref(x_44); +lean_dec(x_43); +lean_dec_ref(x_42); +lean_dec(x_41); +lean_dec_ref(x_40); +lean_dec(x_17); +return x_53; +} +else +{ +size_t x_54; size_t x_55; lean_object* x_56; +x_54 = 0; +x_55 = lean_usize_of_nat(x_48); +lean_inc(x_45); +lean_inc_ref(x_44); +lean_inc(x_43); +lean_inc_ref(x_42); +lean_inc(x_41); +lean_inc_ref(x_40); +x_56 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__19(x_1, x_19, x_54, x_55, x_51, x_36, x_37, x_38, x_39, x_40, x_41, x_42, x_43, x_44, x_45); +lean_dec_ref(x_19); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +lean_dec_ref(x_56); +x_20 = x_57; +x_21 = x_37; +x_22 = x_38; +x_23 = x_39; +x_24 = x_40; +x_25 = x_41; +x_26 = x_42; +x_27 = x_43; +x_28 = x_44; +x_29 = x_45; +x_30 = lean_box(0); +goto block_33; +} +else +{ +lean_dec(x_45); +lean_dec_ref(x_44); +lean_dec(x_43); +lean_dec_ref(x_42); +lean_dec(x_41); +lean_dec_ref(x_40); +lean_dec(x_17); +return x_56; +} +} +} +else +{ +size_t x_58; size_t x_59; lean_object* x_60; +x_58 = 0; +x_59 = lean_usize_of_nat(x_48); +lean_inc(x_45); +lean_inc_ref(x_44); +lean_inc(x_43); +lean_inc_ref(x_42); +lean_inc(x_41); +lean_inc_ref(x_40); +x_60 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__19(x_1, x_19, x_58, x_59, x_51, x_36, x_37, x_38, x_39, x_40, x_41, x_42, x_43, x_44, x_45); +lean_dec_ref(x_19); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +lean_dec_ref(x_60); +x_20 = x_61; +x_21 = x_37; +x_22 = x_38; +x_23 = x_39; +x_24 = x_40; +x_25 = x_41; +x_26 = x_42; +x_27 = x_43; +x_28 = x_44; +x_29 = x_45; +x_30 = lean_box(0); +goto block_33; +} +else +{ +lean_dec(x_45); +lean_dec_ref(x_44); +lean_dec(x_43); +lean_dec_ref(x_42); +lean_dec(x_41); +lean_dec_ref(x_40); +lean_dec(x_17); +return x_60; +} +} +} +} +} +else +{ +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +return x_34; +} +block_33: +{ +lean_object* x_31; lean_object* x_32; +x_31 = lean_ctor_get(x_20, 1); +lean_inc(x_31); +lean_dec_ref(x_20); +x_32 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_17, x_31, x_21, x_22, x_23, x_24, x_25, x_26, x_27, x_28, x_29); +lean_dec(x_29); +lean_dec_ref(x_28); +lean_dec(x_27); +lean_dec_ref(x_26); +lean_dec(x_25); +lean_dec_ref(x_24); +lean_dec(x_17); +return x_32; +} +} +case 2: +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_2, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_155); +lean_dec_ref(x_2); +x_156 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__20(x_154, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_156) == 0) +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +lean_dec_ref(x_156); +x_158 = lean_ctor_get(x_157, 1); +lean_inc(x_158); +lean_dec(x_157); +x_159 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__12___closed__0; +x_160 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(x_155, x_159, x_158); +if (lean_obj_tag(x_160) == 0) +{ +lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_161 = lean_ctor_get(x_160, 0); +lean_inc(x_161); +lean_dec_ref(x_160); +x_162 = lean_ctor_get(x_161, 1); +lean_inc(x_162); +lean_dec(x_161); +x_163 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_154, x_162, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_154); +return x_163; +} +else +{ +lean_dec(x_154); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_160; +} +} +else +{ +lean_dec_ref(x_155); +lean_dec(x_154); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_156; +} +} +default: +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_164 = lean_ctor_get(x_2, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_2, 2); +lean_inc(x_165); +x_166 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___redArg___lam__0___boxed), 4, 1); +lean_closure_set(x_166, 0, x_2); +x_167 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_deepestNodes(x_1, x_166); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +x_168 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23(x_167, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_168) == 0) +{ +lean_object* x_169; lean_object* x_170; +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +lean_dec_ref(x_168); +x_170 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitLeading___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__20(x_164, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_170) == 0) +{ +lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +lean_dec_ref(x_170); +x_172 = lean_ctor_get(x_171, 1); +lean_inc(x_172); +lean_dec(x_171); +x_173 = 1; +x_174 = l_Lean_Name_toString(x_165, x_173); +x_175 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(x_174, x_169, x_172); +if (lean_obj_tag(x_175) == 0) +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +lean_dec_ref(x_175); +x_177 = lean_ctor_get(x_176, 1); +lean_inc(x_177); +lean_dec(x_176); +x_178 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emitTrailing___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__18(x_164, x_177, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_164); +return x_178; +} +else +{ +lean_dec(x_164); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_175; +} +} +else +{ +lean_dec(x_169); +lean_dec(x_165); +lean_dec(x_164); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +return x_170; +} +} +else +{ +uint8_t x_179; +lean_dec(x_165); +lean_dec(x_164); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec_ref(x_3); +x_179 = !lean_is_exclusive(x_168); +if (x_179 == 0) +{ +return x_168; +} +else +{ +lean_object* x_180; lean_object* x_181; +x_180 = lean_ctor_get(x_168, 0); +lean_inc(x_180); +lean_dec(x_168); +x_181 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_181, 0, x_180); +return x_181; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__19(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +uint8_t x_17; +x_17 = lean_usize_dec_eq(x_3, x_4); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_uget(x_2, x_3); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +x_19 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11(x_1, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +lean_dec_ref(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 = 1; +x_24 = lean_usize_add(x_3, x_23); +x_3 = x_24; +x_5 = x_21; +x_6 = x_22; +goto _start; +} +else +{ +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +return x_19; +} +} +else +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_5); +lean_ctor_set(x_26, 1, x_6); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, x_26); +return x_27; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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; uint8_t x_19; lean_object* x_20; +x_17 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_18 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_19 = lean_unbox(x_7); +x_20 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__19(x_1, x_2, x_17, x_18, x_5, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_9); +lean_dec(x_8); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_4); +x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_1); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(x_3); +x_14 = lean_apply_10(x_1, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_apply_1(x_2, x_16); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_apply_1(x_2, x_18); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +else +{ +uint8_t x_21; +lean_dec(x_2); +x_21 = !lean_is_exclusive(x_14); +if (x_21 == 0) +{ +return x_14; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_14, 0); +lean_inc(x_22); +lean_dec(x_14); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_3); +x_14 = l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12___redArg(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___redArg___closed__0; +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___redArg___closed__1; +x_15 = lean_alloc_closure((void*)(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11___boxed), 13, 3); +lean_closure_set(x_15, 0, x_1); +lean_closure_set(x_15, 1, x_2); +lean_closure_set(x_15, 2, x_14); +x_16 = l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12___redArg(x_15, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_3); +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_st_ref_get(x_4); +x_9 = lean_ctor_get(x_8, 0); +lean_inc_ref(x_9); +lean_dec(x_8); +x_10 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +static lean_object* _init_l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___lam__1___boxed), 7, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19___closed__0; +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_10 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec_ref(x_10); +x_12 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___closed__0; +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec_ref(x_13); +x_15 = l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___closed__3; +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_16 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec_ref(x_16); +x_18 = l_Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9___closed__0; +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_19 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +lean_dec_ref(x_19); +x_21 = l_Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9___closed__1; +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_22 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +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, 0); +lean_inc(x_23); +lean_dec_ref(x_22); +x_24 = l_Lean_mkFreshId___at___00Lean_mkFreshFVarId___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___closed__0; +x_25 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_24, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_box(0); +x_29 = l_Lean_instInhabitedFileMap_default; +x_30 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_30, 0, x_11); +lean_ctor_set(x_30, 1, x_28); +lean_ctor_set(x_30, 2, x_29); +lean_ctor_set(x_30, 3, x_14); +lean_ctor_set(x_30, 4, x_17); +lean_ctor_set(x_30, 5, x_20); +lean_ctor_set(x_30, 6, x_23); +lean_ctor_set(x_30, 7, x_27); +lean_ctor_set(x_25, 0, x_30); +return x_25; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_25, 0); +lean_inc(x_31); +lean_dec(x_25); +x_32 = lean_box(0); +x_33 = l_Lean_instInhabitedFileMap_default; +x_34 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_34, 0, x_11); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_33); +lean_ctor_set(x_34, 3, x_14); +lean_ctor_set(x_34, 4, x_17); +lean_ctor_set(x_34, 5, x_20); +lean_ctor_set(x_34, 6, x_23); +lean_ctor_set(x_34, 7, x_31); +x_35 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_35, 0, x_34); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_dec(x_23); +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_11); +x_36 = !lean_is_exclusive(x_25); +if (x_36 == 0) +{ +return x_25; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_25, 0); +lean_inc(x_37); +lean_dec(x_25); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_39 = !lean_is_exclusive(x_22); +if (x_39 == 0) +{ +return x_22; +} +else +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_22, 0); +lean_inc(x_40); +lean_dec(x_22); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +return x_41; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_17); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_42 = !lean_is_exclusive(x_19); +if (x_42 == 0) +{ +return x_19; +} +else +{ +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_19, 0); +lean_inc(x_43); +lean_dec(x_19); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_45 = !lean_is_exclusive(x_16); +if (x_45 == 0) +{ +return x_16; +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_16, 0); +lean_inc(x_46); +lean_dec(x_16); +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_46); +return x_47; +} +} +} +else +{ +uint8_t x_48; +lean_dec(x_11); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_48 = !lean_is_exclusive(x_13); +if (x_48 == 0) +{ +return x_13; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_13, 0); +lean_inc(x_49); +lean_dec(x_13); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_49); +return x_50; +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_51 = !lean_is_exclusive(x_10); +if (x_51 == 0) +{ +return x_10; +} +else +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_10, 0); +lean_inc(x_52); +lean_dec(x_10); +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_52); +return x_53; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___boxed(lean_object* x_1, lean_object* x_2, 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_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +x_11 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec_ref(x_11); +x_13 = l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___closed__1; +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +uint8_t x_16; +x_16 = !lean_is_exclusive(x_12); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_14, 0); +x_18 = lean_ctor_get(x_12, 2); +lean_dec(x_18); +x_19 = lean_ctor_get(x_12, 1); +lean_dec(x_19); +x_20 = lean_box(0); +lean_ctor_set(x_12, 2, x_17); +lean_ctor_set(x_12, 1, x_20); +lean_ctor_set(x_14, 0, x_12); +return x_14; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_21 = lean_ctor_get(x_14, 0); +x_22 = lean_ctor_get(x_12, 0); +x_23 = lean_ctor_get(x_12, 3); +x_24 = lean_ctor_get(x_12, 4); +x_25 = lean_ctor_get(x_12, 5); +x_26 = lean_ctor_get(x_12, 6); +x_27 = lean_ctor_get(x_12, 7); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_12); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_29, 0, x_22); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_21); +lean_ctor_set(x_29, 3, x_23); +lean_ctor_set(x_29, 4, x_24); +lean_ctor_set(x_29, 5, x_25); +lean_ctor_set(x_29, 6, x_26); +lean_ctor_set(x_29, 7, x_27); +lean_ctor_set(x_14, 0, x_29); +return x_14; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_30 = lean_ctor_get(x_14, 0); +lean_inc(x_30); +lean_dec(x_14); +x_31 = lean_ctor_get(x_12, 0); +lean_inc_ref(x_31); +x_32 = lean_ctor_get(x_12, 3); +lean_inc_ref(x_32); +x_33 = lean_ctor_get(x_12, 4); +lean_inc_ref(x_33); +x_34 = lean_ctor_get(x_12, 5); +lean_inc(x_34); +x_35 = lean_ctor_get(x_12, 6); +lean_inc(x_35); +x_36 = lean_ctor_get(x_12, 7); +lean_inc_ref(x_36); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + lean_ctor_release(x_12, 2); + lean_ctor_release(x_12, 3); + lean_ctor_release(x_12, 4); + lean_ctor_release(x_12, 5); + lean_ctor_release(x_12, 6); + lean_ctor_release(x_12, 7); + x_37 = x_12; +} else { + lean_dec_ref(x_12); + x_37 = lean_box(0); +} +x_38 = lean_box(0); +if (lean_is_scalar(x_37)) { + x_39 = lean_alloc_ctor(0, 8, 0); +} else { + x_39 = x_37; +} +lean_ctor_set(x_39, 0, x_31); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_30); +lean_ctor_set(x_39, 3, x_32); +lean_ctor_set(x_39, 4, x_33); +lean_ctor_set(x_39, 5, x_34); +lean_ctor_set(x_39, 6, x_35); +lean_ctor_set(x_39, 7, x_36); +x_40 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_40, 0, x_39); +return x_40; +} +} +else +{ +uint8_t x_41; +lean_dec(x_12); +x_41 = !lean_is_exclusive(x_14); +if (x_41 == 0) +{ +return x_14; +} +else +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_14, 0); +lean_inc(x_42); +lean_dec(x_14); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); +return x_43; +} +} +} +else +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_11; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_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: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +x_12 = l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_11, 0, x_15); +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_11, 0); +lean_inc(x_16); +lean_dec(x_11); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_11); +if (x_20 == 0) +{ +return x_11; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_11, 0); +lean_inc(x_21); +lean_dec(x_11); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +x_12 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___lam__0(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__19(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_4, x_3); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_5); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_1, 0); +x_19 = lean_box(x_6); +lean_inc_ref(x_2); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_20 = lean_apply_10(x_2, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, lean_box(0)); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_31; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec_ref(x_20); +x_22 = lean_array_uget(x_5, x_4); +x_23 = lean_unsigned_to_nat(0u); +x_24 = lean_array_uset(x_5, x_4, x_23); +lean_inc_ref(x_18); +x_31 = l_Lean_Elab_InfoTree_substitute(x_22, x_18); +if (lean_obj_tag(x_21) == 0) +{ +x_25 = x_31; +goto block_30; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_21, 0); +lean_inc(x_32); +lean_dec_ref(x_21); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_25 = x_33; +goto block_30; +} +block_30: +{ +size_t x_26; size_t x_27; lean_object* x_28; +x_26 = 1; +x_27 = lean_usize_add(x_4, x_26); +x_28 = lean_array_uset(x_24, x_4, x_25); +x_4 = x_27; +x_5 = x_28; +goto _start; +} +} +else +{ +uint8_t x_34; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_34 = !lean_is_exclusive(x_20); +if (x_34 == 0) +{ +return x_20; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_20, 0); +lean_inc(x_35); +lean_dec(x_20); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +return x_36; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; uint8_t x_18; lean_object* x_19; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = lean_unbox(x_6); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__19(x_1, x_2, x_16, x_17, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_3); +if (x_14 == 0) +{ +lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_3, 0); +x_16 = lean_array_size(x_15); +x_17 = 0; +x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18_spec__22(x_1, x_2, x_16, x_17, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_ctor_set(x_3, 0, x_20); +lean_ctor_set(x_18, 0, x_3); +return x_18; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_21); +lean_dec(x_18); +lean_ctor_set(x_3, 0, x_21); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_3); +return x_22; +} +} +else +{ +uint8_t x_23; +lean_free_object(x_3); +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +return x_18; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_18, 0); +lean_inc(x_24); +lean_dec(x_18); +x_25 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +} +} +else +{ +lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; +x_26 = lean_ctor_get(x_3, 0); +lean_inc(x_26); +lean_dec(x_3); +x_27 = lean_array_size(x_26); +x_28 = 0; +x_29 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18_spec__22(x_1, x_2, x_27, x_28, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + x_31 = x_29; +} else { + lean_dec_ref(x_29); + x_31 = lean_box(0); +} +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_30); +if (lean_is_scalar(x_31)) { + x_33 = lean_alloc_ctor(0, 1, 0); +} else { + x_33 = x_31; +} +lean_ctor_set(x_33, 0, x_32); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_29, 0); +lean_inc(x_34); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + x_35 = x_29; +} else { + lean_dec_ref(x_29); + x_35 = lean_box(0); +} +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(1, 1, 0); +} else { + x_36 = x_35; +} +lean_ctor_set(x_36, 0, x_34); +return x_36; +} +} +} +else +{ +uint8_t x_37; +x_37 = !lean_is_exclusive(x_3); +if (x_37 == 0) +{ +lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_3, 0); +x_39 = lean_array_size(x_38); +x_40 = 0; +x_41 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__19(x_1, x_2, x_39, x_40, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_ctor_set(x_3, 0, x_43); +lean_ctor_set(x_41, 0, x_3); +return x_41; +} +else +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_41, 0); +lean_inc(x_44); +lean_dec(x_41); +lean_ctor_set(x_3, 0, x_44); +x_45 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_45, 0, x_3); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_free_object(x_3); +x_46 = !lean_is_exclusive(x_41); +if (x_46 == 0) +{ +return x_41; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_41, 0); +lean_inc(x_47); +lean_dec(x_41); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_3, 0); +lean_inc(x_49); +lean_dec(x_3); +x_50 = lean_array_size(x_49); +x_51 = 0; +x_52 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__19(x_1, x_2, x_50, x_51, x_49, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + x_54 = x_52; +} else { + lean_dec_ref(x_52); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_53); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 1, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_52, 0); +lean_inc(x_57); +if (lean_is_exclusive(x_52)) { + lean_ctor_release(x_52, 0); + x_58 = x_52; +} else { + lean_dec_ref(x_52); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 1, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_57); +return x_59; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18_spec__22(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_4, x_3); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_5); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_array_uget(x_5, x_4); +lean_inc(x_14); +lean_inc_ref(x_13); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc_ref(x_2); +lean_inc_ref(x_1); +x_19 = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18(x_1, x_2, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +lean_dec_ref(x_19); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_array_uset(x_5, x_4, x_21); +x_23 = 1; +x_24 = lean_usize_add(x_4, x_23); +x_25 = lean_array_uset(x_22, x_4, x_20); +x_4 = x_24; +x_5 = x_25; +goto _start; +} +else +{ +uint8_t x_27; +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec_ref(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) +{ +return x_19; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_19, 0); +lean_inc(x_28); +lean_dec(x_19); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +return x_29; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18_spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; uint8_t x_18; lean_object* x_19; +x_16 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_17 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_18 = lean_unbox(x_6); +x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18_spec__22(x_1, x_2, x_16, x_17, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_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, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_4); +x_15 = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18(x_1, x_2, x_3, 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_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_3); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_3, 0); +x_16 = lean_ctor_get(x_3, 1); +x_17 = lean_ctor_get(x_3, 2); +x_18 = lean_ctor_get(x_3, 3); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_2); +lean_inc_ref(x_1); +x_19 = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +lean_dec_ref(x_19); +x_21 = lean_array_size(x_16); +x_22 = 0; +x_23 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__19(x_1, x_2, x_21, x_22, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_23) == 0) +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_ctor_get(x_23, 0); +lean_ctor_set(x_3, 1, x_25); +lean_ctor_set(x_3, 0, x_20); +lean_ctor_set(x_23, 0, x_3); +return x_23; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +lean_dec(x_23); +lean_ctor_set(x_3, 1, x_26); +lean_ctor_set(x_3, 0, x_20); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, x_3); +return x_27; +} +} +else +{ +uint8_t x_28; +lean_dec(x_20); +lean_free_object(x_3); +lean_dec(x_18); +lean_dec(x_17); +x_28 = !lean_is_exclusive(x_23); +if (x_28 == 0) +{ +return x_23; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_23, 0); +lean_inc(x_29); +lean_dec(x_23); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +return x_30; +} +} +} +else +{ +uint8_t x_31; +lean_free_object(x_3); +lean_dec(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_31 = !lean_is_exclusive(x_19); +if (x_31 == 0) +{ +return x_19; +} +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_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +return x_33; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; size_t x_37; lean_object* x_38; lean_object* x_39; +x_34 = lean_ctor_get(x_3, 0); +x_35 = lean_ctor_get(x_3, 1); +x_36 = lean_ctor_get(x_3, 2); +x_37 = lean_ctor_get_usize(x_3, 4); +x_38 = lean_ctor_get(x_3, 3); +lean_inc(x_38); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_3); +lean_inc(x_12); +lean_inc_ref(x_11); +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc_ref(x_2); +lean_inc_ref(x_1); +x_39 = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__18(x_1, x_2, x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +lean_dec_ref(x_39); +x_41 = lean_array_size(x_35); +x_42 = 0; +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13_spec__19(x_1, x_2, x_41, x_42, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + x_45 = x_43; +} else { + lean_dec_ref(x_43); + x_45 = lean_box(0); +} +x_46 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_46, 0, x_40); +lean_ctor_set(x_46, 1, x_44); +lean_ctor_set(x_46, 2, x_36); +lean_ctor_set(x_46, 3, x_38); +lean_ctor_set_usize(x_46, 4, x_37); +if (lean_is_scalar(x_45)) { + x_47 = lean_alloc_ctor(0, 1, 0); +} else { + x_47 = x_45; +} +lean_ctor_set(x_47, 0, x_46); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_40); +lean_dec(x_38); +lean_dec(x_36); +x_48 = lean_ctor_get(x_43, 0); +lean_inc(x_48); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + x_49 = x_43; +} else { + lean_dec_ref(x_43); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(1, 1, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_48); +return x_50; +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_38); +lean_dec(x_36); +lean_dec_ref(x_35); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_51 = lean_ctor_get(x_39, 0); +lean_inc(x_51); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + x_52 = x_39; +} else { + lean_dec_ref(x_39); + x_52 = lean_box(0); +} +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(1, 1, 0); +} else { + x_53 = x_52; +} +lean_ctor_set(x_53, 0, x_51); +return x_53; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_4); +x_15 = l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13(x_1, x_2, x_3, 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___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_st_ref_take(x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; uint8_t x_13; +x_12 = lean_ctor_get(x_10, 7); +x_13 = !lean_is_exclusive(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; +x_14 = lean_ctor_get(x_12, 2); +lean_dec(x_14); +x_15 = l_Lean_PersistentArray_append___redArg(x_1, x_2); +lean_ctor_set(x_12, 2, x_15); +x_16 = lean_st_ref_set(x_8, x_10); +x_17 = lean_box(0); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +else +{ +uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_19 = lean_ctor_get_uint8(x_12, sizeof(void*)*3); +x_20 = lean_ctor_get(x_12, 0); +x_21 = lean_ctor_get(x_12, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_12); +x_22 = l_Lean_PersistentArray_append___redArg(x_1, x_2); +x_23 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_23, 0, x_20); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_23, 2, x_22); +lean_ctor_set_uint8(x_23, sizeof(void*)*3, x_19); +lean_ctor_set(x_10, 7, x_23); +x_24 = lean_st_ref_set(x_8, x_10); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_27 = lean_ctor_get(x_10, 7); +x_28 = lean_ctor_get(x_10, 0); +x_29 = lean_ctor_get(x_10, 1); +x_30 = lean_ctor_get(x_10, 2); +x_31 = lean_ctor_get(x_10, 3); +x_32 = lean_ctor_get(x_10, 4); +x_33 = lean_ctor_get(x_10, 5); +x_34 = lean_ctor_get(x_10, 6); +x_35 = lean_ctor_get(x_10, 8); +lean_inc(x_35); +lean_inc(x_27); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_10); +x_36 = lean_ctor_get_uint8(x_27, sizeof(void*)*3); +x_37 = lean_ctor_get(x_27, 0); +lean_inc_ref(x_37); +x_38 = lean_ctor_get(x_27, 1); +lean_inc_ref(x_38); +if (lean_is_exclusive(x_27)) { + lean_ctor_release(x_27, 0); + lean_ctor_release(x_27, 1); + lean_ctor_release(x_27, 2); + x_39 = x_27; +} else { + lean_dec_ref(x_27); + x_39 = lean_box(0); +} +x_40 = l_Lean_PersistentArray_append___redArg(x_1, x_2); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 3, 1); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_37); +lean_ctor_set(x_41, 1, x_38); +lean_ctor_set(x_41, 2, x_40); +lean_ctor_set_uint8(x_41, sizeof(void*)*3, x_36); +x_42 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_42, 0, x_28); +lean_ctor_set(x_42, 1, x_29); +lean_ctor_set(x_42, 2, x_30); +lean_ctor_set(x_42, 3, x_31); +lean_ctor_set(x_42, 4, x_32); +lean_ctor_set(x_42, 5, x_33); +lean_ctor_set(x_42, 6, x_34); +lean_ctor_set(x_42, 7, x_41); +lean_ctor_set(x_42, 8, x_35); +x_43 = lean_st_ref_set(x_8, x_42); +x_44 = lean_box(0); +x_45 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_45, 0, x_44); +return x_45; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__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___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_15; +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +x_15 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +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); +lean_dec_ref(x_15); +x_17 = lean_ctor_get(x_16, 2); +lean_inc_ref(x_17); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_4); +lean_inc_ref(x_3); +lean_inc(x_2); +x_18 = l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__13(x_16, x_9, x_17, x_10, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec_ref(x_18); +x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__1___boxed), 9, 2); +lean_closure_set(x_20, 0, x_12); +lean_closure_set(x_20, 1, x_19); +x_21 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_21; +} +else +{ +uint8_t x_22; +lean_dec_ref(x_12); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +else +{ +uint8_t x_25; +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +x_25 = !lean_is_exclusive(x_15); +if (x_25 == 0) +{ +return x_15; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_15, 0); +lean_inc(x_26); +lean_dec(x_15); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +return x_27; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_10); +x_16 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_11, x_12, x_13); +lean_dec(x_13); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_st_ref_take(x_6); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_8, 7); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_10, 2); +lean_dec(x_12); +x_13 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5___closed__2; +lean_ctor_set(x_10, 2, x_13); +x_14 = lean_st_ref_set(x_6, x_8); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +else +{ +uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_17 = lean_ctor_get_uint8(x_10, sizeof(void*)*3); +x_18 = lean_ctor_get(x_10, 0); +x_19 = lean_ctor_get(x_10, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_10); +x_20 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5___closed__2; +x_21 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_19); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set_uint8(x_21, sizeof(void*)*3, x_17); +lean_ctor_set(x_8, 7, x_21); +x_22 = lean_st_ref_set(x_6, x_8); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_25 = lean_ctor_get(x_8, 7); +x_26 = lean_ctor_get(x_8, 0); +x_27 = lean_ctor_get(x_8, 1); +x_28 = lean_ctor_get(x_8, 2); +x_29 = lean_ctor_get(x_8, 3); +x_30 = lean_ctor_get(x_8, 4); +x_31 = lean_ctor_get(x_8, 5); +x_32 = lean_ctor_get(x_8, 6); +x_33 = lean_ctor_get(x_8, 8); +lean_inc(x_33); +lean_inc(x_25); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_8); +x_34 = lean_ctor_get_uint8(x_25, sizeof(void*)*3); +x_35 = lean_ctor_get(x_25, 0); +lean_inc_ref(x_35); +x_36 = lean_ctor_get(x_25, 1); +lean_inc_ref(x_36); +if (lean_is_exclusive(x_25)) { + lean_ctor_release(x_25, 0); + lean_ctor_release(x_25, 1); + lean_ctor_release(x_25, 2); + x_37 = x_25; +} else { + lean_dec_ref(x_25); + x_37 = lean_box(0); +} +x_38 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5___closed__2; +if (lean_is_scalar(x_37)) { + x_39 = lean_alloc_ctor(0, 3, 1); +} else { + x_39 = x_37; +} +lean_ctor_set(x_39, 0, x_35); +lean_ctor_set(x_39, 1, x_36); +lean_ctor_set(x_39, 2, x_38); +lean_ctor_set_uint8(x_39, sizeof(void*)*3, x_34); +x_40 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_40, 0, x_26); +lean_ctor_set(x_40, 1, x_27); +lean_ctor_set(x_40, 2, x_28); +lean_ctor_set(x_40, 3, x_29); +lean_ctor_set(x_40, 4, x_30); +lean_ctor_set(x_40, 5, x_31); +lean_ctor_set(x_40, 6, x_32); +lean_ctor_set(x_40, 7, x_39); +lean_ctor_set(x_40, 8, x_33); +x_41 = lean_st_ref_set(x_6, x_40); +x_42 = lean_box(0); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +return x_43; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_8; +} +} +static lean_object* _init_l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___lam__1___boxed), 7, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5_spec__7___redArg___closed__0; +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc_ref(x_4); +lean_inc(x_3); +lean_inc_ref(x_2); +x_10 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec_ref(x_10); +x_12 = lean_ctor_get(x_11, 2); +lean_inc_ref(x_12); +lean_dec(x_11); +x_13 = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___closed__0; +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +lean_ctor_set(x_14, 0, x_12); +return x_14; +} +else +{ +lean_object* x_17; +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_12); +return x_17; +} +} +else +{ +uint8_t x_18; +lean_dec_ref(x_12); +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) +{ +return x_14; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_14, 0); +lean_inc(x_19); +lean_dec(x_14); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +} +else +{ +uint8_t x_21; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_21 = !lean_is_exclusive(x_10); +if (x_21 == 0) +{ +return x_10; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_10, 0); +lean_inc(x_22); +lean_dec(x_10); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +return x_23; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___boxed(lean_object* x_1, lean_object* x_2, 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_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5_spec__7___redArg___closed__0; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec_ref(x_14); +x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*3); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec_ref(x_2); +x_17 = lean_box(x_3); +x_18 = lean_apply_10(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); +return x_18; +} +else +{ +lean_object* x_19; +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_19 = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +lean_dec_ref(x_19); +x_21 = lean_box(x_3); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_22 = lean_apply_10(x_1, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_ctor_set_tag(x_22, 1); +x_25 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__0(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_2, x_3, x_4, x_20, x_22); +lean_dec_ref(x_22); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +else +{ +lean_object* x_28; +lean_dec(x_25); +x_28 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_28, 0, x_24); +return x_28; +} +} +else +{ +uint8_t x_29; +lean_dec(x_24); +x_29 = !lean_is_exclusive(x_25); +if (x_29 == 0) +{ +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_25, 0); +lean_inc(x_30); +lean_dec(x_25); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_30); +return x_31; +} +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_22, 0); +lean_inc(x_32); +lean_dec(x_22); +lean_inc(x_32); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__0(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_2, x_3, x_4, x_20, x_33); +lean_dec_ref(x_33); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + x_35 = x_34; +} else { + lean_dec_ref(x_34); + x_35 = lean_box(0); +} +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 1, 0); +} else { + x_36 = x_35; +} +lean_ctor_set(x_36, 0, x_32); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_32); +x_37 = lean_ctor_get(x_34, 0); +lean_inc(x_37); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + x_38 = x_34; +} else { + lean_dec_ref(x_34); + x_38 = lean_box(0); +} +if (lean_is_scalar(x_38)) { + x_39 = lean_alloc_ctor(1, 1, 0); +} else { + x_39 = x_38; +} +lean_ctor_set(x_39, 0, x_37); +return x_39; +} +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_22, 0); +lean_inc(x_40); +lean_dec_ref(x_22); +x_41 = lean_box(0); +x_42 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___lam__0(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_2, x_3, x_4, x_20, x_41); +if (lean_obj_tag(x_42) == 0) +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +lean_ctor_set_tag(x_42, 1); +lean_ctor_set(x_42, 0, x_40); +return x_42; +} +else +{ +lean_object* x_45; +lean_dec(x_42); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_40); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_dec(x_40); +x_46 = !lean_is_exclusive(x_42); +if (x_46 == 0) +{ +return x_42; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_42, 0); +lean_inc(x_47); +lean_dec(x_42); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +return x_48; +} +} +} +} +else +{ +uint8_t x_49; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_49 = !lean_is_exclusive(x_19); +if (x_49 == 0) +{ +return x_19; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_19, 0); +lean_inc(x_50); +lean_dec(x_19); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_50); +return x_51; +} +} +} +} +else +{ +uint8_t x_52; +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_52 = !lean_is_exclusive(x_14); +if (x_52 == 0) +{ +return x_14; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_14, 0); +lean_inc(x_53); +lean_dec(x_14); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_53); +return x_54; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_3); +x_14 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +static lean_object* _init_l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___lam__0___boxed), 10, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_12; lean_object* x_13; +x_12 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___closed__0; +x_13 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg(x_1, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_2); +x_13 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_st_ref_take(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_9, 5); +lean_dec(x_12); +x_13 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanOutputExt; +x_14 = lean_ctor_get(x_13, 2); +lean_inc(x_14); +x_15 = lean_box(0); +x_16 = l_Lean_EnvExtension_modifyState___redArg(x_13, x_11, x_1, x_14, x_15); +lean_dec(x_14); +x_17 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__5; +lean_ctor_set(x_9, 5, x_17); +lean_ctor_set(x_9, 0, x_16); +x_18 = lean_st_ref_set(x_7, x_9); +x_19 = lean_st_ref_take(x_5); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = lean_ctor_get(x_19, 1); +lean_dec(x_21); +x_22 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__6; +lean_ctor_set(x_19, 1, x_22); +x_23 = lean_st_ref_set(x_5, x_19); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 2); +x_28 = lean_ctor_get(x_19, 3); +x_29 = lean_ctor_get(x_19, 4); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_30 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__6; +x_31 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_27); +lean_ctor_set(x_31, 3, x_28); +lean_ctor_set(x_31, 4, x_29); +x_32 = lean_st_ref_set(x_5, x_31); +x_33 = lean_box(0); +x_34 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_34, 0, x_33); +return x_34; +} +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_35 = lean_ctor_get(x_9, 0); +x_36 = lean_ctor_get(x_9, 1); +x_37 = lean_ctor_get(x_9, 2); +x_38 = lean_ctor_get(x_9, 3); +x_39 = lean_ctor_get(x_9, 4); +x_40 = lean_ctor_get(x_9, 6); +x_41 = lean_ctor_get(x_9, 7); +x_42 = lean_ctor_get(x_9, 8); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_9); +x_43 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_leanOutputExt; +x_44 = lean_ctor_get(x_43, 2); +lean_inc(x_44); +x_45 = lean_box(0); +x_46 = l_Lean_EnvExtension_modifyState___redArg(x_43, x_35, x_1, x_44, x_45); +lean_dec(x_44); +x_47 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__5; +x_48 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_36); +lean_ctor_set(x_48, 2, x_37); +lean_ctor_set(x_48, 3, x_38); +lean_ctor_set(x_48, 4, x_39); +lean_ctor_set(x_48, 5, x_47); +lean_ctor_set(x_48, 6, x_40); +lean_ctor_set(x_48, 7, x_41); +lean_ctor_set(x_48, 8, x_42); +x_49 = lean_st_ref_set(x_7, x_48); +x_50 = lean_st_ref_take(x_5); +x_51 = lean_ctor_get(x_50, 0); +lean_inc_ref(x_51); +x_52 = lean_ctor_get(x_50, 2); +lean_inc(x_52); +x_53 = lean_ctor_get(x_50, 3); +lean_inc_ref(x_53); +x_54 = lean_ctor_get(x_50, 4); +lean_inc_ref(x_54); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + lean_ctor_release(x_50, 2); + lean_ctor_release(x_50, 3); + lean_ctor_release(x_50, 4); + x_55 = x_50; +} else { + lean_dec_ref(x_50); + x_55 = lean_box(0); +} +x_56 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__6; +if (lean_is_scalar(x_55)) { + x_57 = lean_alloc_ctor(0, 5, 0); +} else { + x_57 = x_55; +} +lean_ctor_set(x_57, 0, x_51); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_52); +lean_ctor_set(x_57, 3, x_53); +lean_ctor_set(x_57, 4, x_54); +x_58 = lean_st_ref_set(x_5, x_57); +x_59 = lean_box(0); +x_60 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_60, 0, x_59); +return x_60; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_TSyntax_getId(x_1); +x_5 = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(x_4, x_2, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__0(x_1, x_2, x_3); +lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Doc_lean___closed__12() { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_1; uint64_t x_2; lean_object* x_3; -x_1 = l_Lean_Doc_lean___closed__2; -x_2 = 0; -x_3 = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint64(x_3, sizeof(void*)*1, x_2); +if (lean_obj_tag(x_1) == 1) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_2); +x_16 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__0___boxed), 3, 2); +lean_closure_set(x_16, 0, x_15); +lean_closure_set(x_16, 1, x_2); +x_17 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__1___boxed), 8, 1); +lean_closure_set(x_17, 0, x_16); +x_18 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +lean_ctor_set(x_1, 0, x_2); +lean_ctor_set(x_18, 0, x_1); +return x_18; +} +else +{ +lean_object* x_21; +lean_dec(x_18); +lean_ctor_set(x_1, 0, x_2); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_1); +return x_21; +} +} +else +{ +uint8_t x_22; +lean_free_object(x_1); +lean_dec_ref(x_2); +x_22 = !lean_is_exclusive(x_18); +if (x_22 == 0) +{ +return x_18; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_1, 0); +lean_inc(x_25); +lean_dec(x_1); +lean_inc_ref(x_2); +x_26 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__0___boxed), 3, 2); +lean_closure_set(x_26, 0, x_25); +lean_closure_set(x_26, 1, x_2); +x_27 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__1___boxed), 8, 1); +lean_closure_set(x_27, 0, x_26); +x_28 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + x_29 = x_28; +} else { + lean_dec_ref(x_28); + x_29 = lean_box(0); +} +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_2); +if (lean_is_scalar(x_29)) { + x_31 = lean_alloc_ctor(0, 1, 0); +} else { + x_31 = x_29; +} +lean_ctor_set(x_31, 0, x_30); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec_ref(x_2); +x_32 = lean_ctor_get(x_28, 0); +lean_inc(x_32); +if (lean_is_exclusive(x_28)) { + lean_ctor_release(x_28, 0); + x_33 = x_28; +} else { + lean_dec_ref(x_28); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(1, 1, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_32); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_1); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_2); +x_36 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_36, 0, x_35); +return x_36; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_4); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__2(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_6); +lean_dec(x_5); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = l_Lean_MessageData_toString(x_1); +x_10 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("The `+warning` flag indicates that warnings are expected:", 57, 57); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" +warning", 9, 9); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__2; +x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__3; +x_3 = lean_array_push(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_Doc_lean___closed__13() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unexpected warning:", 19, 19); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("The `+error` flag indicates that errors are expected:", 53, 53); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" +error", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__9; +x_2 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__3; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unexpected error:", 17, 17); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__11; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_21; uint8_t x_40; +x_40 = lean_usize_dec_lt(x_9, x_8); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_10); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_42 = lean_array_uget(x_7, x_9); +x_43 = lean_ctor_get(x_42, 1); +lean_inc_ref(x_43); +x_44 = lean_ctor_get(x_42, 2); +lean_inc(x_44); +x_45 = lean_ctor_get_uint8(x_42, sizeof(void*)*5 + 1); +x_46 = lean_ctor_get_uint8(x_42, sizeof(void*)*5 + 2); +x_47 = lean_ctor_get(x_42, 4); +lean_inc(x_47); +lean_dec(x_42); +lean_inc(x_47); +x_182 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__3___boxed), 8, 1); +lean_closure_set(x_182, 0, x_47); +x_183 = l_Lean_FileMap_ofPosition(x_1, x_43); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_199; +x_199 = lean_string_utf8_next(x_2, x_183); +x_184 = x_199; +goto block_198; +} +else +{ +lean_object* x_200; lean_object* x_201; +x_200 = lean_ctor_get(x_44, 0); +lean_inc(x_200); +lean_dec_ref(x_44); +x_201 = l_Lean_FileMap_ofPosition(x_1, x_200); +x_184 = x_201; +goto block_198; +} +block_69: +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_53); +lean_ctor_set(x_62, 1, x_61); +lean_inc(x_57); +lean_inc_ref(x_50); +lean_inc(x_56); +lean_inc_ref(x_48); +lean_inc(x_55); +lean_inc_ref(x_60); +x_63 = l_Lean_logErrorAt___at___00Lean_Doc_name_spec__2___redArg(x_59, x_62, x_49, x_60, x_55, x_48, x_56, x_50, x_57); +lean_dec(x_59); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +lean_dec_ref(x_63); +lean_inc(x_4); +x_65 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__2(x_4, x_58, x_64, x_54, x_51, x_49, x_60, x_55, x_48, x_56, x_50, x_57); +x_21 = x_65; +goto block_39; +} +else +{ +uint8_t x_66; +lean_dec_ref(x_60); +lean_dec_ref(x_58); +lean_dec(x_57); +lean_dec(x_56); +lean_dec(x_55); +lean_dec_ref(x_50); +lean_dec_ref(x_48); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_66 = !lean_is_exclusive(x_63); +if (x_66 == 0) +{ +return x_63; +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_63, 0); +lean_inc(x_67); +lean_dec(x_63); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_67); +return x_68; +} +} +} +block_107: +{ +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; uint8_t x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_82 = lean_ctor_get(x_76, 0); +x_83 = lean_ctor_get(x_76, 1); +x_84 = lean_ctor_get(x_76, 2); +x_85 = lean_ctor_get(x_76, 3); +x_86 = lean_ctor_get(x_76, 4); +x_87 = lean_ctor_get(x_76, 5); +x_88 = lean_ctor_get(x_76, 6); +x_89 = lean_ctor_get(x_76, 7); +x_90 = lean_ctor_get(x_76, 8); +x_91 = lean_ctor_get(x_76, 9); +x_92 = lean_ctor_get(x_76, 10); +x_93 = lean_ctor_get(x_76, 11); +x_94 = lean_ctor_get_uint8(x_76, sizeof(void*)*14); +x_95 = lean_ctor_get(x_76, 12); +x_96 = lean_ctor_get_uint8(x_76, sizeof(void*)*14 + 1); +x_97 = lean_ctor_get(x_76, 13); +x_98 = 0; +x_99 = l_Lean_replaceRef(x_80, x_87); +lean_dec(x_80); +lean_inc_ref(x_97); +lean_inc(x_95); +lean_inc(x_93); +lean_inc(x_92); +lean_inc(x_91); +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_86); +lean_inc(x_85); +lean_inc_ref(x_84); +lean_inc_ref(x_83); +lean_inc_ref(x_82); +x_100 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_100, 0, x_82); +lean_ctor_set(x_100, 1, x_83); +lean_ctor_set(x_100, 2, x_84); +lean_ctor_set(x_100, 3, x_85); +lean_ctor_set(x_100, 4, x_86); +lean_ctor_set(x_100, 5, x_99); +lean_ctor_set(x_100, 6, x_88); +lean_ctor_set(x_100, 7, x_89); +lean_ctor_set(x_100, 8, x_90); +lean_ctor_set(x_100, 9, x_91); +lean_ctor_set(x_100, 10, x_92); +lean_ctor_set(x_100, 11, x_93); +lean_ctor_set(x_100, 12, x_95); +lean_ctor_set(x_100, 13, x_97); +lean_ctor_set_uint8(x_100, sizeof(void*)*14, x_94); +lean_ctor_set_uint8(x_100, sizeof(void*)*14 + 1, x_96); +lean_inc(x_75); +lean_inc(x_73); +lean_inc_ref(x_70); +lean_inc(x_71); +lean_inc_ref(x_79); +x_101 = l_Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28(x_47, x_98, x_3, x_81, x_77, x_74, x_79, x_71, x_70, x_73, x_100, x_75); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; lean_object* x_103; +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +lean_dec_ref(x_101); +lean_inc(x_4); +x_103 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__2(x_4, x_78, x_102, x_81, x_77, x_74, x_79, x_71, x_70, x_73, x_76, x_75); +x_21 = x_103; +goto block_39; +} +else +{ +uint8_t x_104; +lean_dec_ref(x_79); +lean_dec_ref(x_78); +lean_dec_ref(x_76); +lean_dec(x_75); +lean_dec(x_73); +lean_dec(x_71); +lean_dec_ref(x_70); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_104 = !lean_is_exclusive(x_101); +if (x_104 == 0) +{ +return x_101; +} +else +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_101, 0); +lean_inc(x_105); +lean_dec(x_101); +x_106 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_106, 0, x_105); +return x_106; +} +} +} +block_134: +{ +uint8_t x_120; uint8_t x_121; +x_120 = 1; +x_121 = l_Lean_instBEqMessageSeverity_beq(x_45, x_120); +if (x_121 == 0) +{ +x_70 = x_115; +x_71 = x_114; +x_72 = lean_box(0); +x_73 = x_116; +x_74 = x_112; +x_75 = x_118; +x_76 = x_117; +x_77 = x_111; +x_78 = x_108; +x_79 = x_113; +x_80 = x_109; +x_81 = x_110; +goto block_107; +} +else +{ +if (x_5 == 0) +{ +if (x_121 == 0) +{ +x_70 = x_115; +x_71 = x_114; +x_72 = lean_box(0); +x_73 = x_116; +x_74 = x_112; +x_75 = x_118; +x_76 = x_117; +x_77 = x_111; +x_78 = x_108; +x_79 = x_113; +x_80 = x_109; +x_81 = x_110; +goto block_107; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__1; +x_123 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__4; +lean_inc(x_118); +lean_inc_ref(x_117); +lean_inc(x_116); +lean_inc_ref(x_115); +lean_inc(x_114); +lean_inc_ref(x_113); +x_124 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_122, x_123, x_112, x_113, x_114, x_115, x_116, x_117, x_118); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +lean_dec_ref(x_124); +x_126 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__6; +x_127 = l_Lean_indentD(x_47); +x_128 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_129; +x_129 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__13; +x_48 = x_115; +x_49 = x_112; +x_50 = x_117; +x_51 = x_111; +x_52 = lean_box(0); +x_53 = x_128; +x_54 = x_110; +x_55 = x_114; +x_56 = x_116; +x_57 = x_118; +x_58 = x_108; +x_59 = x_109; +x_60 = x_113; +x_61 = x_129; +goto block_69; +} +else +{ +lean_object* x_130; +x_130 = lean_ctor_get(x_125, 0); +lean_inc(x_130); +lean_dec_ref(x_125); +x_48 = x_115; +x_49 = x_112; +x_50 = x_117; +x_51 = x_111; +x_52 = lean_box(0); +x_53 = x_128; +x_54 = x_110; +x_55 = x_114; +x_56 = x_116; +x_57 = x_118; +x_58 = x_108; +x_59 = x_109; +x_60 = x_113; +x_61 = x_130; +goto block_69; +} +} +else +{ +uint8_t x_131; +lean_dec(x_118); +lean_dec_ref(x_117); +lean_dec(x_116); +lean_dec_ref(x_115); +lean_dec(x_114); +lean_dec_ref(x_113); +lean_dec(x_109); +lean_dec_ref(x_108); +lean_dec(x_47); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_131 = !lean_is_exclusive(x_124); +if (x_131 == 0) +{ +return x_124; +} +else +{ +lean_object* x_132; lean_object* x_133; +x_132 = lean_ctor_get(x_124, 0); +lean_inc(x_132); +lean_dec(x_124); +x_133 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_133, 0, x_132); +return x_133; +} +} +} +} +else +{ +x_70 = x_115; +x_71 = x_114; +x_72 = lean_box(0); +x_73 = x_116; +x_74 = x_112; +x_75 = x_118; +x_76 = x_117; +x_77 = x_111; +x_78 = x_108; +x_79 = x_113; +x_80 = x_109; +x_81 = x_110; +goto block_107; +} +} +} +block_154: +{ +lean_object* x_149; lean_object* x_150; +x_149 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_149, 0, x_135); +lean_ctor_set(x_149, 1, x_148); +lean_inc(x_146); +lean_inc_ref(x_142); +lean_inc(x_139); +lean_inc_ref(x_136); +lean_inc(x_138); +lean_inc_ref(x_141); +x_150 = l_Lean_logErrorAt___at___00Lean_Doc_name_spec__2___redArg(x_144, x_149, x_140, x_141, x_138, x_136, x_139, x_142, x_146); +if (lean_obj_tag(x_150) == 0) +{ +lean_dec_ref(x_150); +x_108 = x_143; +x_109 = x_144; +x_110 = x_137; +x_111 = x_145; +x_112 = x_140; +x_113 = x_141; +x_114 = x_138; +x_115 = x_136; +x_116 = x_139; +x_117 = x_142; +x_118 = x_146; +x_119 = lean_box(0); +goto block_134; +} +else +{ +uint8_t x_151; +lean_dec(x_146); +lean_dec(x_144); +lean_dec_ref(x_143); +lean_dec_ref(x_142); +lean_dec_ref(x_141); +lean_dec(x_139); +lean_dec(x_138); +lean_dec_ref(x_136); +lean_dec(x_47); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_151 = !lean_is_exclusive(x_150); +if (x_151 == 0) +{ +return x_150; +} +else +{ +lean_object* x_152; lean_object* x_153; +x_152 = lean_ctor_get(x_150, 0); +lean_inc(x_152); +lean_dec(x_150); +x_153 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_153, 0, x_152); +return x_153; +} +} +} +block_181: +{ +uint8_t x_167; uint8_t x_168; +x_167 = 2; +x_168 = l_Lean_instBEqMessageSeverity_beq(x_45, x_167); +if (x_168 == 0) +{ +x_108 = x_156; +x_109 = x_155; +x_110 = x_157; +x_111 = x_158; +x_112 = x_159; +x_113 = x_160; +x_114 = x_161; +x_115 = x_162; +x_116 = x_163; +x_117 = x_164; +x_118 = x_165; +x_119 = lean_box(0); +goto block_134; +} +else +{ +if (x_6 == 0) +{ +if (x_168 == 0) +{ +x_108 = x_156; +x_109 = x_155; +x_110 = x_157; +x_111 = x_158; +x_112 = x_159; +x_113 = x_160; +x_114 = x_161; +x_115 = x_162; +x_116 = x_163; +x_117 = x_164; +x_118 = x_165; +x_119 = lean_box(0); +goto block_134; +} +else +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_169 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__8; +x_170 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__10; +lean_inc(x_165); +lean_inc_ref(x_164); +lean_inc(x_163); +lean_inc_ref(x_162); +lean_inc(x_161); +lean_inc_ref(x_160); +x_171 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_169, x_170, x_159, x_160, x_161, x_162, x_163, x_164, x_165); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +lean_dec_ref(x_171); +x_173 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__12; +lean_inc(x_47); +x_174 = l_Lean_indentD(x_47); +x_175 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +if (lean_obj_tag(x_172) == 0) +{ +lean_object* x_176; +x_176 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__13; +x_135 = x_175; +x_136 = x_162; +x_137 = x_157; +x_138 = x_161; +x_139 = x_163; +x_140 = x_159; +x_141 = x_160; +x_142 = x_164; +x_143 = x_156; +x_144 = x_155; +x_145 = x_158; +x_146 = x_165; +x_147 = lean_box(0); +x_148 = x_176; +goto block_154; +} +else +{ +lean_object* x_177; +x_177 = lean_ctor_get(x_172, 0); +lean_inc(x_177); +lean_dec_ref(x_172); +x_135 = x_175; +x_136 = x_162; +x_137 = x_157; +x_138 = x_161; +x_139 = x_163; +x_140 = x_159; +x_141 = x_160; +x_142 = x_164; +x_143 = x_156; +x_144 = x_155; +x_145 = x_158; +x_146 = x_165; +x_147 = lean_box(0); +x_148 = x_177; +goto block_154; +} +} +else +{ +uint8_t x_178; +lean_dec(x_165); +lean_dec_ref(x_164); +lean_dec(x_163); +lean_dec_ref(x_162); +lean_dec(x_161); +lean_dec_ref(x_160); +lean_dec_ref(x_156); +lean_dec(x_155); +lean_dec(x_47); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_178 = !lean_is_exclusive(x_171); +if (x_178 == 0) +{ +return x_171; +} +else +{ +lean_object* x_179; lean_object* x_180; +x_179 = lean_ctor_get(x_171, 0); +lean_inc(x_179); +lean_dec(x_171); +x_180 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_180, 0, x_179); +return x_180; +} +} +} +} +else +{ +x_108 = x_156; +x_109 = x_155; +x_110 = x_157; +x_111 = x_158; +x_112 = x_159; +x_113 = x_160; +x_114 = x_161; +x_115 = x_162; +x_116 = x_163; +x_117 = x_164; +x_118 = x_165; +x_119 = lean_box(0); +goto block_134; +} +} +} +block_198: +{ +if (x_46 == 0) +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_string_utf8_extract(x_2, x_183, x_184); +x_186 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_186, 0, x_183); +lean_ctor_set(x_186, 1, x_184); +lean_ctor_set_uint8(x_186, sizeof(void*)*2, x_3); +x_187 = l_Lean_Syntax_mkStrLit(x_185, x_186); +if (lean_obj_tag(x_4) == 0) +{ +lean_dec_ref(x_182); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +x_155 = x_187; +x_156 = x_10; +x_157 = x_11; +x_158 = x_12; +x_159 = x_13; +x_160 = x_14; +x_161 = x_15; +x_162 = x_16; +x_163 = x_17; +x_164 = x_18; +x_165 = x_19; +x_166 = lean_box(0); +goto block_181; +} +else +{ +lean_object* x_188; +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +x_188 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_182, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_188) == 0) +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_189 = lean_ctor_get(x_188, 0); +lean_inc(x_189); +lean_dec_ref(x_188); +x_190 = lean_box(x_45); +x_191 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_189); +x_192 = lean_array_push(x_10, x_191); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +x_155 = x_187; +x_156 = x_192; +x_157 = x_11; +x_158 = x_12; +x_159 = x_13; +x_160 = x_14; +x_161 = x_15; +x_162 = x_16; +x_163 = x_17; +x_164 = x_18; +x_165 = x_19; +x_166 = lean_box(0); +goto block_181; +} +else +{ +uint8_t x_193; +lean_dec(x_187); +lean_dec(x_47); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec_ref(x_10); +lean_dec_ref(x_4); +x_193 = !lean_is_exclusive(x_188); +if (x_193 == 0) +{ +return x_188; +} +else +{ +lean_object* x_194; lean_object* x_195; +x_194 = lean_ctor_get(x_188, 0); +lean_inc(x_194); +lean_dec(x_188); +x_195 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_195, 0, x_194); +return x_195; +} +} +} +} +else +{ +lean_object* x_196; lean_object* x_197; +lean_dec(x_184); +lean_dec(x_183); +lean_dec_ref(x_182); +lean_dec(x_47); +x_196 = lean_box(0); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_4); +x_197 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__2(x_4, x_10, x_196, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +x_21 = x_197; +goto block_39; +} +} +} +block_39: +{ +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec_ref(x_23); +lean_ctor_set(x_21, 0, x_24); +return x_21; +} +else +{ +lean_object* x_25; size_t x_26; size_t x_27; +lean_free_object(x_21); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = 1; +x_27 = lean_usize_add(x_9, x_26); +x_9 = x_27; +x_10 = x_25; +goto _start; +} +} +else +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_21, 0); +lean_inc(x_29); +lean_dec(x_21); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +lean_dec_ref(x_29); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_30); +return x_31; +} +else +{ +lean_object* x_32; size_t x_33; size_t x_34; +x_32 = lean_ctor_get(x_29, 0); +lean_inc(x_32); +lean_dec_ref(x_29); +x_33 = 1; +x_34 = lean_usize_add(x_9, x_33); +x_9 = x_34; +x_10 = x_32; +goto _start; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) +{ +return x_21; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_21, 0); +lean_inc(x_37); +lean_dec(x_21); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +return x_38; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_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]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +_start: +{ +uint8_t x_21; uint8_t x_22; uint8_t x_23; size_t x_24; size_t x_25; uint8_t x_26; lean_object* x_27; +x_21 = lean_unbox(x_3); +x_22 = lean_unbox(x_5); +x_23 = lean_unbox(x_6); +x_24 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_25 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_26 = lean_unbox(x_11); +x_27 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9(x_1, x_2, x_21, x_4, x_22, x_23, x_7, x_24, x_25, x_10, x_26, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_13); +lean_dec(x_12); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_27; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, size_t x_8, size_t x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +_start: +{ +lean_object* x_21; uint8_t x_40; +x_40 = lean_usize_dec_lt(x_9, x_8); +if (x_40 == 0) +{ +lean_object* x_41; +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_10); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_42 = lean_array_uget(x_7, x_9); +x_43 = lean_ctor_get(x_42, 1); +lean_inc_ref(x_43); +x_44 = lean_ctor_get(x_42, 2); +lean_inc(x_44); +x_45 = lean_ctor_get_uint8(x_42, sizeof(void*)*5 + 1); +x_46 = lean_ctor_get_uint8(x_42, sizeof(void*)*5 + 2); +x_47 = lean_ctor_get(x_42, 4); +lean_inc(x_47); +lean_dec(x_42); +lean_inc(x_47); +x_182 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__3___boxed), 8, 1); +lean_closure_set(x_182, 0, x_47); +x_183 = l_Lean_FileMap_ofPosition(x_1, x_43); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_199; +x_199 = lean_string_utf8_next(x_2, x_183); +x_184 = x_199; +goto block_198; +} +else +{ +lean_object* x_200; lean_object* x_201; +x_200 = lean_ctor_get(x_44, 0); +lean_inc(x_200); +lean_dec_ref(x_44); +x_201 = l_Lean_FileMap_ofPosition(x_1, x_200); +x_184 = x_201; +goto block_198; +} +block_69: +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_62, 0, x_50); +lean_ctor_set(x_62, 1, x_61); +lean_inc(x_54); +lean_inc_ref(x_51); +lean_inc(x_60); +lean_inc_ref(x_52); +lean_inc(x_57); +lean_inc_ref(x_55); +x_63 = l_Lean_logErrorAt___at___00Lean_Doc_name_spec__2___redArg(x_49, x_62, x_59, x_55, x_57, x_52, x_60, x_51, x_54); +lean_dec(x_49); +if (lean_obj_tag(x_63) == 0) +{ +lean_object* x_64; lean_object* x_65; +x_64 = lean_ctor_get(x_63, 0); +lean_inc(x_64); +lean_dec_ref(x_63); +lean_inc(x_4); +x_65 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__2(x_4, x_58, x_64, x_56, x_53, x_59, x_55, x_57, x_52, x_60, x_51, x_54); +x_21 = x_65; +goto block_39; +} +else +{ +uint8_t x_66; +lean_dec(x_60); +lean_dec_ref(x_58); +lean_dec(x_57); +lean_dec_ref(x_55); +lean_dec(x_54); +lean_dec_ref(x_52); +lean_dec_ref(x_51); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_66 = !lean_is_exclusive(x_63); +if (x_66 == 0) +{ +return x_63; +} +else +{ +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_63, 0); +lean_inc(x_67); +lean_dec(x_63); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_67); +return x_68; +} +} +} +block_107: +{ +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; uint8_t x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_82 = lean_ctor_get(x_76, 0); +x_83 = lean_ctor_get(x_76, 1); +x_84 = lean_ctor_get(x_76, 2); +x_85 = lean_ctor_get(x_76, 3); +x_86 = lean_ctor_get(x_76, 4); +x_87 = lean_ctor_get(x_76, 5); +x_88 = lean_ctor_get(x_76, 6); +x_89 = lean_ctor_get(x_76, 7); +x_90 = lean_ctor_get(x_76, 8); +x_91 = lean_ctor_get(x_76, 9); +x_92 = lean_ctor_get(x_76, 10); +x_93 = lean_ctor_get(x_76, 11); +x_94 = lean_ctor_get_uint8(x_76, sizeof(void*)*14); +x_95 = lean_ctor_get(x_76, 12); +x_96 = lean_ctor_get_uint8(x_76, sizeof(void*)*14 + 1); +x_97 = lean_ctor_get(x_76, 13); +x_98 = 0; +x_99 = l_Lean_replaceRef(x_72, x_87); +lean_dec(x_72); +lean_inc_ref(x_97); +lean_inc(x_95); +lean_inc(x_93); +lean_inc(x_92); +lean_inc(x_91); +lean_inc(x_90); +lean_inc(x_89); +lean_inc(x_88); +lean_inc(x_86); +lean_inc(x_85); +lean_inc_ref(x_84); +lean_inc_ref(x_83); +lean_inc_ref(x_82); +x_100 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_100, 0, x_82); +lean_ctor_set(x_100, 1, x_83); +lean_ctor_set(x_100, 2, x_84); +lean_ctor_set(x_100, 3, x_85); +lean_ctor_set(x_100, 4, x_86); +lean_ctor_set(x_100, 5, x_99); +lean_ctor_set(x_100, 6, x_88); +lean_ctor_set(x_100, 7, x_89); +lean_ctor_set(x_100, 8, x_90); +lean_ctor_set(x_100, 9, x_91); +lean_ctor_set(x_100, 10, x_92); +lean_ctor_set(x_100, 11, x_93); +lean_ctor_set(x_100, 12, x_95); +lean_ctor_set(x_100, 13, x_97); +lean_ctor_set_uint8(x_100, sizeof(void*)*14, x_94); +lean_ctor_set_uint8(x_100, sizeof(void*)*14 + 1, x_96); +lean_inc(x_79); +lean_inc(x_80); +lean_inc_ref(x_77); +lean_inc(x_71); +lean_inc_ref(x_81); +x_101 = l_Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28(x_47, x_98, x_3, x_70, x_78, x_75, x_81, x_71, x_77, x_80, x_100, x_79); +if (lean_obj_tag(x_101) == 0) +{ +lean_object* x_102; lean_object* x_103; +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +lean_dec_ref(x_101); +lean_inc(x_4); +x_103 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__2(x_4, x_73, x_102, x_70, x_78, x_75, x_81, x_71, x_77, x_80, x_76, x_79); +x_21 = x_103; +goto block_39; +} +else +{ +uint8_t x_104; +lean_dec_ref(x_81); +lean_dec(x_80); +lean_dec(x_79); +lean_dec_ref(x_77); +lean_dec_ref(x_76); +lean_dec_ref(x_73); +lean_dec(x_71); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_104 = !lean_is_exclusive(x_101); +if (x_104 == 0) +{ +return x_101; +} +else +{ +lean_object* x_105; lean_object* x_106; +x_105 = lean_ctor_get(x_101, 0); +lean_inc(x_105); +lean_dec(x_101); +x_106 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_106, 0, x_105); +return x_106; +} +} +} +block_134: +{ +uint8_t x_120; uint8_t x_121; +x_120 = 1; +x_121 = l_Lean_instBEqMessageSeverity_beq(x_45, x_120); +if (x_121 == 0) +{ +x_70 = x_110; +x_71 = x_114; +x_72 = x_108; +x_73 = x_109; +x_74 = lean_box(0); +x_75 = x_112; +x_76 = x_117; +x_77 = x_115; +x_78 = x_111; +x_79 = x_118; +x_80 = x_116; +x_81 = x_113; +goto block_107; +} +else +{ +if (x_5 == 0) +{ +if (x_121 == 0) +{ +x_70 = x_110; +x_71 = x_114; +x_72 = x_108; +x_73 = x_109; +x_74 = lean_box(0); +x_75 = x_112; +x_76 = x_117; +x_77 = x_115; +x_78 = x_111; +x_79 = x_118; +x_80 = x_116; +x_81 = x_113; +goto block_107; +} +else +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_122 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__1; +x_123 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__4; +lean_inc(x_118); +lean_inc_ref(x_117); +lean_inc(x_116); +lean_inc_ref(x_115); +lean_inc(x_114); +lean_inc_ref(x_113); +x_124 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_122, x_123, x_112, x_113, x_114, x_115, x_116, x_117, x_118); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +lean_dec_ref(x_124); +x_126 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__6; +x_127 = l_Lean_indentD(x_47); +x_128 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +if (lean_obj_tag(x_125) == 0) +{ +lean_object* x_129; +x_129 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__13; +x_48 = lean_box(0); +x_49 = x_108; +x_50 = x_128; +x_51 = x_117; +x_52 = x_115; +x_53 = x_111; +x_54 = x_118; +x_55 = x_113; +x_56 = x_110; +x_57 = x_114; +x_58 = x_109; +x_59 = x_112; +x_60 = x_116; +x_61 = x_129; +goto block_69; +} +else +{ +lean_object* x_130; +x_130 = lean_ctor_get(x_125, 0); +lean_inc(x_130); +lean_dec_ref(x_125); +x_48 = lean_box(0); +x_49 = x_108; +x_50 = x_128; +x_51 = x_117; +x_52 = x_115; +x_53 = x_111; +x_54 = x_118; +x_55 = x_113; +x_56 = x_110; +x_57 = x_114; +x_58 = x_109; +x_59 = x_112; +x_60 = x_116; +x_61 = x_130; +goto block_69; +} +} +else +{ +uint8_t x_131; +lean_dec(x_118); +lean_dec_ref(x_117); +lean_dec(x_116); +lean_dec_ref(x_115); +lean_dec(x_114); +lean_dec_ref(x_113); +lean_dec_ref(x_109); +lean_dec(x_108); +lean_dec(x_47); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_131 = !lean_is_exclusive(x_124); +if (x_131 == 0) +{ +return x_124; +} +else +{ +lean_object* x_132; lean_object* x_133; +x_132 = lean_ctor_get(x_124, 0); +lean_inc(x_132); +lean_dec(x_124); +x_133 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_133, 0, x_132); +return x_133; +} +} +} +} +else +{ +x_70 = x_110; +x_71 = x_114; +x_72 = x_108; +x_73 = x_109; +x_74 = lean_box(0); +x_75 = x_112; +x_76 = x_117; +x_77 = x_115; +x_78 = x_111; +x_79 = x_118; +x_80 = x_116; +x_81 = x_113; +goto block_107; +} +} +} +block_154: +{ +lean_object* x_149; lean_object* x_150; +x_149 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +lean_inc(x_140); +lean_inc_ref(x_146); +lean_inc(x_139); +lean_inc_ref(x_145); +lean_inc(x_143); +lean_inc_ref(x_137); +x_150 = l_Lean_logErrorAt___at___00Lean_Doc_name_spec__2___redArg(x_135, x_149, x_142, x_137, x_143, x_145, x_139, x_146, x_140); +if (lean_obj_tag(x_150) == 0) +{ +lean_dec_ref(x_150); +x_108 = x_135; +x_109 = x_144; +x_110 = x_138; +x_111 = x_141; +x_112 = x_142; +x_113 = x_137; +x_114 = x_143; +x_115 = x_145; +x_116 = x_139; +x_117 = x_146; +x_118 = x_140; +x_119 = lean_box(0); +goto block_134; +} +else +{ +uint8_t x_151; +lean_dec_ref(x_146); +lean_dec_ref(x_145); +lean_dec_ref(x_144); +lean_dec(x_143); +lean_dec(x_140); +lean_dec(x_139); +lean_dec_ref(x_137); +lean_dec(x_135); +lean_dec(x_47); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_151 = !lean_is_exclusive(x_150); +if (x_151 == 0) +{ +return x_150; +} +else +{ +lean_object* x_152; lean_object* x_153; +x_152 = lean_ctor_get(x_150, 0); +lean_inc(x_152); +lean_dec(x_150); +x_153 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_153, 0, x_152); +return x_153; +} +} +} +block_181: +{ +uint8_t x_167; uint8_t x_168; +x_167 = 2; +x_168 = l_Lean_instBEqMessageSeverity_beq(x_45, x_167); +if (x_168 == 0) +{ +x_108 = x_155; +x_109 = x_156; +x_110 = x_157; +x_111 = x_158; +x_112 = x_159; +x_113 = x_160; +x_114 = x_161; +x_115 = x_162; +x_116 = x_163; +x_117 = x_164; +x_118 = x_165; +x_119 = lean_box(0); +goto block_134; +} +else +{ +if (x_6 == 0) +{ +if (x_168 == 0) +{ +x_108 = x_155; +x_109 = x_156; +x_110 = x_157; +x_111 = x_158; +x_112 = x_159; +x_113 = x_160; +x_114 = x_161; +x_115 = x_162; +x_116 = x_163; +x_117 = x_164; +x_118 = x_165; +x_119 = lean_box(0); +goto block_134; +} +else +{ +lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_169 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__8; +x_170 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__10; +lean_inc(x_165); +lean_inc_ref(x_164); +lean_inc(x_163); +lean_inc_ref(x_162); +lean_inc(x_161); +lean_inc_ref(x_160); +x_171 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg(x_169, x_170, x_159, x_160, x_161, x_162, x_163, x_164, x_165); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +lean_dec_ref(x_171); +x_173 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__12; +lean_inc(x_47); +x_174 = l_Lean_indentD(x_47); +x_175 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +if (lean_obj_tag(x_172) == 0) +{ +lean_object* x_176; +x_176 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0___closed__13; +x_135 = x_155; +x_136 = lean_box(0); +x_137 = x_160; +x_138 = x_157; +x_139 = x_163; +x_140 = x_165; +x_141 = x_158; +x_142 = x_159; +x_143 = x_161; +x_144 = x_156; +x_145 = x_162; +x_146 = x_164; +x_147 = x_175; +x_148 = x_176; +goto block_154; +} +else +{ +lean_object* x_177; +x_177 = lean_ctor_get(x_172, 0); +lean_inc(x_177); +lean_dec_ref(x_172); +x_135 = x_155; +x_136 = lean_box(0); +x_137 = x_160; +x_138 = x_157; +x_139 = x_163; +x_140 = x_165; +x_141 = x_158; +x_142 = x_159; +x_143 = x_161; +x_144 = x_156; +x_145 = x_162; +x_146 = x_164; +x_147 = x_175; +x_148 = x_177; +goto block_154; +} +} +else +{ +uint8_t x_178; +lean_dec(x_165); +lean_dec_ref(x_164); +lean_dec(x_163); +lean_dec_ref(x_162); +lean_dec(x_161); +lean_dec_ref(x_160); +lean_dec_ref(x_156); +lean_dec(x_155); +lean_dec(x_47); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_178 = !lean_is_exclusive(x_171); +if (x_178 == 0) +{ +return x_171; +} +else +{ +lean_object* x_179; lean_object* x_180; +x_179 = lean_ctor_get(x_171, 0); +lean_inc(x_179); +lean_dec(x_171); +x_180 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_180, 0, x_179); +return x_180; +} +} +} +} +else +{ +x_108 = x_155; +x_109 = x_156; +x_110 = x_157; +x_111 = x_158; +x_112 = x_159; +x_113 = x_160; +x_114 = x_161; +x_115 = x_162; +x_116 = x_163; +x_117 = x_164; +x_118 = x_165; +x_119 = lean_box(0); +goto block_134; +} +} +} +block_198: +{ +if (x_46 == 0) +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; +x_185 = lean_string_utf8_extract(x_2, x_183, x_184); +x_186 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_186, 0, x_183); +lean_ctor_set(x_186, 1, x_184); +lean_ctor_set_uint8(x_186, sizeof(void*)*2, x_3); +x_187 = l_Lean_Syntax_mkStrLit(x_185, x_186); +if (lean_obj_tag(x_4) == 0) +{ +lean_dec_ref(x_182); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +x_155 = x_187; +x_156 = x_10; +x_157 = x_11; +x_158 = x_12; +x_159 = x_13; +x_160 = x_14; +x_161 = x_15; +x_162 = x_16; +x_163 = x_17; +x_164 = x_18; +x_165 = x_19; +x_166 = lean_box(0); +goto block_181; +} +else +{ +lean_object* x_188; +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +x_188 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_182, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +if (lean_obj_tag(x_188) == 0) +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_189 = lean_ctor_get(x_188, 0); +lean_inc(x_189); +lean_dec_ref(x_188); +x_190 = lean_box(x_45); +x_191 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_189); +x_192 = lean_array_push(x_10, x_191); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +x_155 = x_187; +x_156 = x_192; +x_157 = x_11; +x_158 = x_12; +x_159 = x_13; +x_160 = x_14; +x_161 = x_15; +x_162 = x_16; +x_163 = x_17; +x_164 = x_18; +x_165 = x_19; +x_166 = lean_box(0); +goto block_181; +} +else +{ +uint8_t x_193; +lean_dec(x_187); +lean_dec(x_47); +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec_ref(x_10); +lean_dec_ref(x_4); +x_193 = !lean_is_exclusive(x_188); +if (x_193 == 0) +{ +return x_188; +} +else +{ +lean_object* x_194; lean_object* x_195; +x_194 = lean_ctor_get(x_188, 0); +lean_inc(x_194); +lean_dec(x_188); +x_195 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_195, 0, x_194); +return x_195; +} +} +} +} +else +{ +lean_object* x_196; lean_object* x_197; +lean_dec(x_184); +lean_dec(x_183); +lean_dec_ref(x_182); +lean_dec(x_47); +x_196 = lean_box(0); +lean_inc(x_19); +lean_inc_ref(x_18); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +lean_inc_ref(x_14); +lean_inc(x_4); +x_197 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___lam__2(x_4, x_10, x_196, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +x_21 = x_197; +goto block_39; +} +} +} +block_39: +{ +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec_ref(x_23); +lean_ctor_set(x_21, 0, x_24); +return x_21; +} +else +{ +lean_object* x_25; size_t x_26; size_t x_27; lean_object* x_28; +lean_free_object(x_21); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec_ref(x_23); +x_26 = 1; +x_27 = lean_usize_add(x_9, x_26); +x_28 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_27, x_25, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +return x_28; +} +} +else +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_21, 0); +lean_inc(x_29); +lean_dec(x_21); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +lean_dec_ref(x_29); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_30); +return x_31; +} +else +{ +lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_29, 0); +lean_inc(x_32); +lean_dec_ref(x_29); +x_33 = 1; +x_34 = lean_usize_add(x_9, x_33); +x_35 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34, x_32, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_19); +lean_dec_ref(x_18); +lean_dec(x_17); +lean_dec_ref(x_16); +lean_dec(x_15); +lean_dec_ref(x_14); +lean_dec(x_4); +x_36 = !lean_is_exclusive(x_21); +if (x_36 == 0) +{ +return x_21; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_21, 0); +lean_inc(x_37); +lean_dec(x_21); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +return x_38; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +_start: +{ +uint8_t x_21; uint8_t x_22; uint8_t x_23; size_t x_24; size_t x_25; uint8_t x_26; lean_object* x_27; +x_21 = lean_unbox(x_3); +x_22 = lean_unbox(x_5); +x_23 = lean_unbox(x_6); +x_24 = lean_unbox_usize(x_8); +lean_dec(x_8); +x_25 = lean_unbox_usize(x_9); +lean_dec(x_9); +x_26 = lean_unbox(x_11); +x_27 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg(x_1, x_2, x_21, x_4, x_22, x_23, x_7, x_24, x_25, x_10, x_26, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +lean_dec(x_13); +lean_dec(x_12); +lean_dec_ref(x_7); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_27; +} +} +static lean_object* _init_l_Lean_Doc_lean___closed__0() { _start: { lean_object* x_1; lean_object* x_2; @@ -54195,7 +56923,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Doc_lean___closed__14() { +static lean_object* _init_l_Lean_Doc_lean___closed__1() { _start: { lean_object* x_1; @@ -54203,7 +56931,7 @@ x_1 = l_Lean_Doc_Block_empty(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Doc_lean___closed__15() { +static lean_object* _init_l_Lean_Doc_lean___closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -54240,32 +56968,32 @@ lean_inc_ref(x_9); x_20 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_19, 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; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_369; lean_object* x_370; lean_object* x_375; lean_object* x_381; +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_205; lean_object* x_206; lean_object* x_211; lean_object* x_217; x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); lean_dec_ref(x_20); x_22 = l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___closed__0; x_23 = l_Lean_Elab_Command_instInhabitedScope_default; x_24 = 1; -x_381 = l_Lean_Syntax_getPos_x3f(x_5, x_24); -if (lean_obj_tag(x_381) == 0) +x_217 = l_Lean_Syntax_getPos_x3f(x_5, x_24); +if (lean_obj_tag(x_217) == 0) { -lean_object* x_382; lean_object* x_383; -x_382 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; -x_383 = l_panic___at___00__private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___00Lean_Doc_parseStrLit___at___00Lean_Doc_tactic_spec__1_spec__3_spec__5(x_382); -x_375 = x_383; -goto block_380; +lean_object* x_218; lean_object* x_219; +x_218 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_219 = l_panic___at___00__private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___00Lean_Doc_parseStrLit___at___00Lean_Doc_tactic_spec__1_spec__3_spec__5(x_218); +x_211 = x_219; +goto block_216; } else { -lean_object* x_384; -x_384 = lean_ctor_get(x_381, 0); -lean_inc(x_384); -lean_dec_ref(x_381); -x_375 = x_384; -goto block_380; +lean_object* x_220; +x_220 = lean_ctor_get(x_217, 0); +lean_inc(x_220); +lean_dec_ref(x_217); +x_211 = x_220; +goto block_216; } -block_368: +block_204: { lean_object* x_28; lean_inc(x_14); @@ -54290,7 +57018,7 @@ lean_inc_ref(x_9); x_30 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_22, x_8, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_30) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; 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_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; lean_object* x_43; lean_object* x_44; lean_object* x_45; x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); lean_dec_ref(x_30); @@ -54317,139 +57045,88 @@ lean_ctor_set_uint8(x_39, sizeof(void*)*10, x_38); x_40 = lean_ctor_get(x_32, 0); lean_inc(x_40); lean_dec(x_32); -x_41 = lean_ctor_get(x_13, 4); -lean_inc_ref(x_25); -x_42 = l_Lean_Parser_mkInputContext___redArg(x_25, x_29, x_24, x_27); -x_43 = l_Lean_NameSet_empty; -x_44 = l_Lean_Doc_lean___closed__3; -x_45 = l_Lean_Doc_lean___closed__4; -x_46 = l_Lean_Doc_lean___closed__7; -x_47 = lean_box(0); -x_48 = l_Lean_Doc_lean___closed__8; -x_49 = l_Lean_Doc_lean___closed__11; -x_50 = l_Lean_Doc_lean___closed__12; -x_51 = l_Lean_Doc_lean___closed__13; -lean_inc(x_41); -x_52 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_52, 0, x_21); -lean_ctor_set(x_52, 1, x_44); -lean_ctor_set(x_52, 2, x_40); -lean_ctor_set(x_52, 3, x_43); -lean_ctor_set(x_52, 4, x_45); -lean_ctor_set(x_52, 5, x_41); -lean_ctor_set(x_52, 6, x_46); -lean_ctor_set(x_52, 7, x_48); -lean_ctor_set(x_52, 8, x_49); -lean_ctor_set(x_52, 9, x_50); -lean_ctor_set(x_52, 10, x_51); -x_53 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_53, 0, x_26); -lean_ctor_set_uint8(x_53, sizeof(void*)*1, x_38); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_53); -x_55 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_55, 0, x_52); -lean_ctor_set(x_55, 1, x_54); +lean_inc_ref(x_26); +x_41 = l_Lean_Parser_mkInputContext___redArg(x_26, x_29, x_24, x_27); +x_42 = lean_box(x_24); +x_43 = lean_box(x_38); +x_44 = lean_alloc_closure((void*)(l_Lean_Doc_lean___lam__3___boxed), 20, 10); +lean_closure_set(x_44, 0, x_33); +lean_closure_set(x_44, 1, x_36); +lean_closure_set(x_44, 2, x_42); +lean_closure_set(x_44, 3, x_21); +lean_closure_set(x_44, 4, x_40); +lean_closure_set(x_44, 5, x_25); +lean_closure_set(x_44, 6, x_43); +lean_closure_set(x_44, 7, x_23); +lean_closure_set(x_44, 8, x_41); +lean_closure_set(x_44, 9, x_39); lean_inc(x_14); lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -x_56 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_Doc_lean_spec__0(x_23, x_42, x_39, x_55, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_56) == 0) +lean_inc(x_8); +lean_inc(x_7); +x_45 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg(x_44, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_45) == 0) { -lean_object* x_57; uint8_t x_58; -x_57 = lean_ctor_get(x_56, 0); -lean_inc(x_57); -lean_dec_ref(x_56); -x_58 = !lean_is_exclusive(x_57); -if (x_58 == 0) +lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +lean_dec_ref(x_45); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = !lean_is_exclusive(x_46); +if (x_49 == 0) { -lean_object* x_59; uint8_t x_60; -x_59 = lean_ctor_get(x_57, 1); -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) +lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_50 = lean_ctor_get(x_46, 0); +x_51 = lean_ctor_get(x_46, 1); +lean_dec(x_51); +x_52 = !lean_is_exclusive(x_47); +if (x_52 == 0) { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_61 = lean_ctor_get(x_57, 0); -x_62 = lean_ctor_get(x_59, 0); -x_63 = lean_ctor_get(x_59, 1); -lean_dec(x_63); -x_64 = lean_ctor_get(x_61, 0); -lean_inc_ref(x_64); -x_65 = lean_ctor_get(x_61, 1); -lean_inc_ref(x_65); -x_66 = lean_ctor_get(x_61, 2); -lean_inc(x_66); -x_67 = lean_ctor_get(x_61, 8); -lean_inc_ref(x_67); -lean_dec(x_61); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; +x_53 = lean_ctor_get(x_47, 1); +x_54 = lean_ctor_get(x_47, 0); +lean_dec(x_54); +x_55 = lean_ctor_get(x_48, 1); +lean_inc_ref(x_55); +lean_dec(x_48); +x_56 = l_Lean_Doc_lean___closed__0; +x_57 = l_Lean_MessageLog_toArray(x_55); +lean_dec_ref(x_55); +x_58 = lean_array_size(x_57); +x_59 = 0; lean_inc(x_14); lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -x_68 = l_Lean_setEnv___at___00Lean_Doc_lean_spec__1___redArg(x_64, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_68) == 0) -{ -lean_object* x_69; uint8_t x_70; -lean_dec_ref(x_68); -x_69 = lean_st_ref_take(x_8); -x_70 = !lean_is_exclusive(x_69); -if (x_70 == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_71 = lean_ctor_get(x_69, 0); -lean_dec(x_71); -lean_ctor_set(x_69, 0, x_66); -x_72 = lean_st_ref_set(x_8, x_69); -x_73 = lean_ctor_get(x_67, 2); -lean_inc_ref(x_73); -lean_dec_ref(x_67); -x_74 = lean_box(0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_75 = l_Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2(x_74, x_73, x_74, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_75) == 0) -{ -lean_object* x_76; size_t x_77; size_t x_78; lean_object* x_79; -lean_dec_ref(x_75); -x_76 = l_Lean_MessageLog_toArray(x_65); -lean_dec_ref(x_65); -x_77 = lean_array_size(x_76); -x_78 = 0; -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_79 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg(x_18, x_25, x_24, x_1, x_47, x_3, x_2, x_74, x_76, x_77, x_78, x_51, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec_ref(x_76); -lean_dec_ref(x_25); +x_60 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg(x_18, x_26, x_24, x_1, x_3, x_2, x_57, x_58, x_59, x_56, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_57); +lean_dec_ref(x_26); lean_dec(x_18); -if (lean_obj_tag(x_79) == 0) +if (lean_obj_tag(x_60) == 0) { -uint8_t x_80; -x_80 = !lean_is_exclusive(x_79); -if (x_80 == 0) +uint8_t x_61; +x_61 = !lean_is_exclusive(x_60); +if (x_61 == 0) { -lean_object* x_81; -x_81 = lean_ctor_get(x_79, 0); -lean_dec(x_81); +lean_object* x_62; +x_62 = lean_ctor_get(x_60, 0); +lean_dec(x_62); if (x_4 == 0) { -lean_object* x_82; -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); +lean_object* x_63; +lean_free_object(x_47); +lean_dec(x_53); +lean_free_object(x_46); +lean_dec(x_50); lean_dec(x_14); lean_dec_ref(x_13); lean_dec(x_12); @@ -54458,273 +57135,433 @@ lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); -x_82 = l_Lean_Doc_lean___closed__14; -lean_ctor_set(x_79, 0, x_82); -return x_79; +x_63 = l_Lean_Doc_lean___closed__1; +lean_ctor_set(x_60, 0, x_63); +return x_60; } else { -lean_object* x_83; -lean_free_object(x_79); +lean_object* x_64; uint8_t x_65; +x_64 = lean_ctor_get(x_53, 2); +x_65 = lean_nat_dec_lt(x_33, x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +lean_free_object(x_47); +lean_dec(x_53); +lean_free_object(x_46); +lean_dec(x_50); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_66 = l_Lean_TSyntax_getString(x_5); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_60, 0, x_67); +return x_60; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_free_object(x_60); +x_68 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; +x_69 = lean_box(2); +x_70 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +lean_ctor_set(x_70, 2, x_50); +x_71 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(x_53, x_70, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_71) == 0) +{ +uint8_t x_72; +x_72 = !lean_is_exclusive(x_71); +if (x_72 == 0) +{ +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_73 = lean_ctor_get(x_71, 0); +x_74 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; +x_75 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; +lean_ctor_set(x_47, 1, x_73); +lean_ctor_set(x_47, 0, x_75); +lean_ctor_set(x_46, 0, x_74); +x_76 = l_Lean_TSyntax_getString(x_5); +x_77 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_78 = l_Lean_Doc_lean___closed__2; +x_79 = lean_array_push(x_78, x_77); +x_80 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_80, 0, x_46); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_71, 0, x_80); +return x_71; +} +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; lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_81 = lean_ctor_get(x_71, 0); +lean_inc(x_81); +lean_dec(x_71); +x_82 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; +x_83 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; +lean_ctor_set(x_47, 1, x_81); +lean_ctor_set(x_47, 0, x_83); +lean_ctor_set(x_46, 0, x_82); +x_84 = l_Lean_TSyntax_getString(x_5); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_84); +x_86 = l_Lean_Doc_lean___closed__2; +x_87 = lean_array_push(x_86, x_85); +x_88 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_88, 0, x_46); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_89, 0, x_88); +return x_89; +} +} +else +{ +uint8_t x_90; +lean_free_object(x_47); +lean_free_object(x_46); +x_90 = !lean_is_exclusive(x_71); +if (x_90 == 0) +{ +return x_71; +} +else +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_71, 0); +lean_inc(x_91); +lean_dec(x_71); +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_91); +return x_92; +} +} +} +} +} +else +{ +lean_dec(x_60); +if (x_4 == 0) +{ +lean_object* x_93; lean_object* x_94; +lean_free_object(x_47); +lean_dec(x_53); +lean_free_object(x_46); +lean_dec(x_50); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_93 = l_Lean_Doc_lean___closed__1; +x_94 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_94, 0, x_93); +return x_94; +} +else +{ +lean_object* x_95; uint8_t x_96; +x_95 = lean_ctor_get(x_53, 2); +x_96 = lean_nat_dec_lt(x_33, x_95); +if (x_96 == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_free_object(x_47); +lean_dec(x_53); +lean_free_object(x_46); +lean_dec(x_50); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_97 = l_Lean_TSyntax_getString(x_5); +x_98 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_98, 0, x_97); +x_99 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_99, 0, x_98); +return x_99; +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_100 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; +x_101 = lean_box(2); +x_102 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_100); +lean_ctor_set(x_102, 2, x_50); +x_103 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(x_53, x_102, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_103) == 0) +{ +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_104 = lean_ctor_get(x_103, 0); +lean_inc(x_104); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + x_105 = x_103; +} else { + lean_dec_ref(x_103); + x_105 = lean_box(0); +} +x_106 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; +x_107 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; +lean_ctor_set(x_47, 1, x_104); +lean_ctor_set(x_47, 0, x_107); +lean_ctor_set(x_46, 0, x_106); +x_108 = l_Lean_TSyntax_getString(x_5); +x_109 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_109, 0, x_108); +x_110 = l_Lean_Doc_lean___closed__2; +x_111 = lean_array_push(x_110, x_109); +x_112 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_112, 0, x_46); +lean_ctor_set(x_112, 1, x_111); +if (lean_is_scalar(x_105)) { + x_113 = lean_alloc_ctor(0, 1, 0); +} else { + x_113 = x_105; +} +lean_ctor_set(x_113, 0, x_112); +return x_113; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_free_object(x_47); +lean_free_object(x_46); +x_114 = lean_ctor_get(x_103, 0); +lean_inc(x_114); +if (lean_is_exclusive(x_103)) { + lean_ctor_release(x_103, 0); + x_115 = x_103; +} else { + lean_dec_ref(x_103); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(1, 1, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_114); +return x_116; +} +} +} +} +} +else +{ +uint8_t x_117; +lean_free_object(x_47); +lean_dec(x_53); +lean_free_object(x_46); +lean_dec(x_50); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_117 = !lean_is_exclusive(x_60); +if (x_117 == 0) +{ +return x_60; +} +else +{ +lean_object* x_118; lean_object* x_119; +x_118 = lean_ctor_get(x_60, 0); +lean_inc(x_118); +lean_dec(x_60); +x_119 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_119, 0, x_118); +return x_119; +} +} +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; size_t x_124; size_t x_125; lean_object* x_126; +x_120 = lean_ctor_get(x_47, 1); +lean_inc(x_120); +lean_dec(x_47); +x_121 = lean_ctor_get(x_48, 1); +lean_inc_ref(x_121); +lean_dec(x_48); +x_122 = l_Lean_Doc_lean___closed__0; +x_123 = l_Lean_MessageLog_toArray(x_121); +lean_dec_ref(x_121); +x_124 = lean_array_size(x_123); +x_125 = 0; lean_inc(x_14); lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -x_83 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_83) == 0) +x_126 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg(x_18, x_26, x_24, x_1, x_3, x_2, x_123, x_124, x_125, x_122, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_123); +lean_dec_ref(x_26); +lean_dec(x_18); +if (lean_obj_tag(x_126) == 0) { -uint8_t x_84; -x_84 = !lean_is_exclusive(x_83); -if (x_84 == 0) -{ -lean_object* x_85; lean_object* x_86; uint8_t x_87; -x_85 = lean_ctor_get(x_83, 0); -x_86 = lean_ctor_get(x_85, 2); -x_87 = lean_nat_dec_lt(x_33, x_86); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; -lean_dec(x_85); -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_88 = l_Lean_TSyntax_getString(x_5); -x_89 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_83, 0, x_89); -return x_83; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_free_object(x_83); -x_90 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; -x_91 = lean_box(2); -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_90); -lean_ctor_set(x_92, 2, x_62); -x_93 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_85, x_92, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_93) == 0) -{ -uint8_t x_94; -x_94 = !lean_is_exclusive(x_93); -if (x_94 == 0) -{ -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; -x_95 = lean_ctor_get(x_93, 0); -x_96 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -x_97 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -lean_ctor_set(x_59, 1, x_95); -lean_ctor_set(x_59, 0, x_97); -lean_ctor_set(x_57, 0, x_96); -x_98 = l_Lean_TSyntax_getString(x_5); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_100 = l_Lean_Doc_lean___closed__15; -x_101 = lean_array_push(x_100, x_99); -x_102 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_102, 0, x_57); -lean_ctor_set(x_102, 1, x_101); -lean_ctor_set(x_93, 0, x_102); -return x_93; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_103 = lean_ctor_get(x_93, 0); -lean_inc(x_103); -lean_dec(x_93); -x_104 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -x_105 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -lean_ctor_set(x_59, 1, x_103); -lean_ctor_set(x_59, 0, x_105); -lean_ctor_set(x_57, 0, x_104); -x_106 = l_Lean_TSyntax_getString(x_5); -x_107 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_107, 0, x_106); -x_108 = l_Lean_Doc_lean___closed__15; -x_109 = lean_array_push(x_108, x_107); -x_110 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_110, 0, x_57); -lean_ctor_set(x_110, 1, x_109); -x_111 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_111, 0, x_110); -return x_111; -} -} -else -{ -uint8_t x_112; -lean_free_object(x_59); -lean_free_object(x_57); -x_112 = !lean_is_exclusive(x_93); -if (x_112 == 0) -{ -return x_93; -} -else -{ -lean_object* x_113; lean_object* x_114; -x_113 = lean_ctor_get(x_93, 0); -lean_inc(x_113); -lean_dec(x_93); -x_114 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_114, 0, x_113); -return x_114; -} -} -} -} -else -{ -lean_object* x_115; lean_object* x_116; uint8_t x_117; -x_115 = lean_ctor_get(x_83, 0); -lean_inc(x_115); -lean_dec(x_83); -x_116 = lean_ctor_get(x_115, 2); -x_117 = lean_nat_dec_lt(x_33, x_116); -if (x_117 == 0) -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; -lean_dec(x_115); -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_118 = l_Lean_TSyntax_getString(x_5); -x_119 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_119, 0, x_118); -x_120 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_120, 0, x_119); -return x_120; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_121 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; -x_122 = lean_box(2); -x_123 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -lean_ctor_set(x_123, 2, x_62); -x_124 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_115, x_123, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_125 = lean_ctor_get(x_124, 0); -lean_inc(x_125); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - x_126 = x_124; +lean_object* x_127; +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + x_127 = x_126; } else { - lean_dec_ref(x_124); - x_126 = lean_box(0); + lean_dec_ref(x_126); + x_127 = lean_box(0); } -x_127 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -x_128 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -lean_ctor_set(x_59, 1, x_125); -lean_ctor_set(x_59, 0, x_128); -lean_ctor_set(x_57, 0, x_127); -x_129 = l_Lean_TSyntax_getString(x_5); -x_130 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_130, 0, x_129); -x_131 = l_Lean_Doc_lean___closed__15; -x_132 = lean_array_push(x_131, x_130); -x_133 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_133, 0, x_57); -lean_ctor_set(x_133, 1, x_132); -if (lean_is_scalar(x_126)) { +if (x_4 == 0) +{ +lean_object* x_128; lean_object* x_129; +lean_dec(x_120); +lean_free_object(x_46); +lean_dec(x_50); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_128 = l_Lean_Doc_lean___closed__1; +if (lean_is_scalar(x_127)) { + x_129 = lean_alloc_ctor(0, 1, 0); +} else { + x_129 = x_127; +} +lean_ctor_set(x_129, 0, x_128); +return x_129; +} +else +{ +lean_object* x_130; uint8_t x_131; +x_130 = lean_ctor_get(x_120, 2); +x_131 = lean_nat_dec_lt(x_33, x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_120); +lean_free_object(x_46); +lean_dec(x_50); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_132 = l_Lean_TSyntax_getString(x_5); +x_133 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_133, 0, x_132); +if (lean_is_scalar(x_127)) { x_134 = lean_alloc_ctor(0, 1, 0); } else { - x_134 = x_126; + x_134 = x_127; } lean_ctor_set(x_134, 0, x_133); return x_134; } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; -lean_free_object(x_59); -lean_free_object(x_57); -x_135 = lean_ctor_get(x_124, 0); -lean_inc(x_135); -if (lean_is_exclusive(x_124)) { - lean_ctor_release(x_124, 0); - x_136 = x_124; -} else { - lean_dec_ref(x_124); - x_136 = lean_box(0); -} -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); -return x_137; -} -} -} -} -else +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_127); +x_135 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; +x_136 = lean_box(2); +x_137 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_135); +lean_ctor_set(x_137, 2, x_50); +x_138 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(x_120, x_137, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_138) == 0) { -uint8_t x_138; -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_138 = !lean_is_exclusive(x_83); -if (x_138 == 0) -{ -return x_83; -} -else -{ -lean_object* x_139; lean_object* x_140; -x_139 = lean_ctor_get(x_83, 0); +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); -lean_dec(x_83); -x_140 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_140, 0, x_139); -return x_140; +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + x_140 = x_138; +} else { + lean_dec_ref(x_138); + x_140 = lean_box(0); +} +x_141 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; +x_142 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; +x_143 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_139); +lean_ctor_set(x_46, 1, x_143); +lean_ctor_set(x_46, 0, x_141); +x_144 = l_Lean_TSyntax_getString(x_5); +x_145 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_145, 0, x_144); +x_146 = l_Lean_Doc_lean___closed__2; +x_147 = lean_array_push(x_146, x_145); +x_148 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_148, 0, x_46); +lean_ctor_set(x_148, 1, x_147); +if (lean_is_scalar(x_140)) { + x_149 = lean_alloc_ctor(0, 1, 0); +} else { + x_149 = x_140; +} +lean_ctor_set(x_149, 0, x_148); +return x_149; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; +lean_free_object(x_46); +x_150 = lean_ctor_get(x_138, 0); +lean_inc(x_150); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + x_151 = x_138; +} else { + lean_dec_ref(x_138); + x_151 = lean_box(0); +} +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(1, 1, 0); +} else { + x_152 = x_151; +} +lean_ctor_set(x_152, 0, x_150); +return x_152; } } } } else { -lean_dec(x_79); -if (x_4 == 0) -{ -lean_object* x_141; lean_object* x_142; -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); +lean_object* x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_120); +lean_free_object(x_46); +lean_dec(x_50); lean_dec(x_14); lean_dec_ref(x_13); lean_dec(x_12); @@ -54733,42 +57570,75 @@ lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); -x_141 = l_Lean_Doc_lean___closed__14; -x_142 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_142, 0, x_141); -return x_142; +x_153 = lean_ctor_get(x_126, 0); +lean_inc(x_153); +if (lean_is_exclusive(x_126)) { + lean_ctor_release(x_126, 0); + x_154 = x_126; +} else { + lean_dec_ref(x_126); + x_154 = lean_box(0); +} +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(1, 1, 0); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_153); +return x_155; +} +} } else { -lean_object* x_143; +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; size_t x_162; size_t x_163; lean_object* x_164; +x_156 = lean_ctor_get(x_46, 0); +lean_inc(x_156); +lean_dec(x_46); +x_157 = lean_ctor_get(x_47, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_158 = x_47; +} else { + lean_dec_ref(x_47); + x_158 = lean_box(0); +} +x_159 = lean_ctor_get(x_48, 1); +lean_inc_ref(x_159); +lean_dec(x_48); +x_160 = l_Lean_Doc_lean___closed__0; +x_161 = l_Lean_MessageLog_toArray(x_159); +lean_dec_ref(x_159); +x_162 = lean_array_size(x_161); +x_163 = 0; lean_inc(x_14); lean_inc_ref(x_13); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -x_143 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_143) == 0) +x_164 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg(x_18, x_26, x_24, x_1, x_3, x_2, x_161, x_162, x_163, x_160, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec_ref(x_161); +lean_dec_ref(x_26); +lean_dec(x_18); +if (lean_obj_tag(x_164) == 0) { -lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -if (lean_is_exclusive(x_143)) { - lean_ctor_release(x_143, 0); - x_145 = x_143; +lean_object* x_165; +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + x_165 = x_164; } else { - lean_dec_ref(x_143); - x_145 = lean_box(0); + lean_dec_ref(x_164); + x_165 = lean_box(0); } -x_146 = lean_ctor_get(x_144, 2); -x_147 = lean_nat_dec_lt(x_33, x_146); -if (x_147 == 0) +if (x_4 == 0) { -lean_object* x_148; lean_object* x_149; lean_object* x_150; -lean_dec(x_144); -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); +lean_object* x_166; lean_object* x_167; +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_156); lean_dec(x_14); lean_dec_ref(x_13); lean_dec(x_12); @@ -54777,91 +57647,26 @@ lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); -x_148 = l_Lean_TSyntax_getString(x_5); -x_149 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_149, 0, x_148); -if (lean_is_scalar(x_145)) { - x_150 = lean_alloc_ctor(0, 1, 0); +x_166 = l_Lean_Doc_lean___closed__1; +if (lean_is_scalar(x_165)) { + x_167 = lean_alloc_ctor(0, 1, 0); } else { - x_150 = x_145; + x_167 = x_165; } -lean_ctor_set(x_150, 0, x_149); -return x_150; -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; -lean_dec(x_145); -x_151 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; -x_152 = lean_box(2); -x_153 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_151); -lean_ctor_set(x_153, 2, x_62); -x_154 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_144, x_153, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_154) == 0) -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -if (lean_is_exclusive(x_154)) { - lean_ctor_release(x_154, 0); - x_156 = x_154; -} else { - lean_dec_ref(x_154); - x_156 = lean_box(0); -} -x_157 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -x_158 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -lean_ctor_set(x_59, 1, x_155); -lean_ctor_set(x_59, 0, x_158); -lean_ctor_set(x_57, 0, x_157); -x_159 = l_Lean_TSyntax_getString(x_5); -x_160 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_161 = l_Lean_Doc_lean___closed__15; -x_162 = lean_array_push(x_161, x_160); -x_163 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_163, 0, x_57); -lean_ctor_set(x_163, 1, x_162); -if (lean_is_scalar(x_156)) { - x_164 = lean_alloc_ctor(0, 1, 0); -} else { - x_164 = x_156; -} -lean_ctor_set(x_164, 0, x_163); -return x_164; -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; -lean_free_object(x_59); -lean_free_object(x_57); -x_165 = lean_ctor_get(x_154, 0); -lean_inc(x_165); -if (lean_is_exclusive(x_154)) { - lean_ctor_release(x_154, 0); - x_166 = x_154; -} else { - lean_dec_ref(x_154); - x_166 = lean_box(0); -} -if (lean_is_scalar(x_166)) { - x_167 = lean_alloc_ctor(1, 1, 0); -} else { - x_167 = x_166; -} -lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 0, x_166); return x_167; } -} -} else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); +lean_object* x_168; uint8_t x_169; +x_168 = lean_ctor_get(x_157, 2); +x_169 = lean_nat_dec_lt(x_33, x_168); +if (x_169 == 0) +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_156); lean_dec(x_14); lean_dec_ref(x_13); lean_dec(x_12); @@ -54870,205 +57675,98 @@ lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); -x_168 = lean_ctor_get(x_143, 0); -lean_inc(x_168); -if (lean_is_exclusive(x_143)) { - lean_ctor_release(x_143, 0); - x_169 = x_143; +x_170 = l_Lean_TSyntax_getString(x_5); +x_171 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_171, 0, x_170); +if (lean_is_scalar(x_165)) { + x_172 = lean_alloc_ctor(0, 1, 0); } else { - lean_dec_ref(x_143); - x_169 = lean_box(0); -} -if (lean_is_scalar(x_169)) { - x_170 = lean_alloc_ctor(1, 1, 0); -} else { - x_170 = x_169; -} -lean_ctor_set(x_170, 0, x_168); -return x_170; -} -} + x_172 = x_165; } +lean_ctor_set(x_172, 0, x_171); +return x_172; } else { -uint8_t x_171; -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_171 = !lean_is_exclusive(x_79); -if (x_171 == 0) +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +lean_dec(x_165); +x_173 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; +x_174 = lean_box(2); +x_175 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_175, 0, x_174); +lean_ctor_set(x_175, 1, x_173); +lean_ctor_set(x_175, 2, x_156); +x_176 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(x_157, x_175, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_176) == 0) { -return x_79; -} -else -{ -lean_object* x_172; lean_object* x_173; -x_172 = lean_ctor_get(x_79, 0); -lean_inc(x_172); -lean_dec(x_79); -x_173 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_173, 0, x_172); -return x_173; -} -} -} -else -{ -uint8_t x_174; -lean_dec_ref(x_65); -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); -lean_dec_ref(x_25); -lean_dec(x_18); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_174 = !lean_is_exclusive(x_75); -if (x_174 == 0) -{ -return x_75; -} -else -{ -lean_object* x_175; lean_object* x_176; -x_175 = lean_ctor_get(x_75, 0); -lean_inc(x_175); -lean_dec(x_75); -x_176 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_176, 0, x_175); -return x_176; -} -} -} -else -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -x_177 = lean_ctor_get(x_69, 1); -x_178 = lean_ctor_get(x_69, 2); -x_179 = lean_ctor_get(x_69, 3); -x_180 = lean_ctor_get(x_69, 4); -lean_inc(x_180); -lean_inc(x_179); -lean_inc(x_178); +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_177 = lean_ctor_get(x_176, 0); lean_inc(x_177); -lean_dec(x_69); -x_181 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_181, 0, x_66); -lean_ctor_set(x_181, 1, x_177); -lean_ctor_set(x_181, 2, x_178); -lean_ctor_set(x_181, 3, x_179); -lean_ctor_set(x_181, 4, x_180); -x_182 = lean_st_ref_set(x_8, x_181); -x_183 = lean_ctor_get(x_67, 2); -lean_inc_ref(x_183); -lean_dec_ref(x_67); -x_184 = lean_box(0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_185 = l_Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2(x_184, x_183, x_184, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_185) == 0) -{ -lean_object* x_186; size_t x_187; size_t x_188; lean_object* x_189; -lean_dec_ref(x_185); -x_186 = l_Lean_MessageLog_toArray(x_65); -lean_dec_ref(x_65); -x_187 = lean_array_size(x_186); -x_188 = 0; -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_189 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg(x_18, x_25, x_24, x_1, x_47, x_3, x_2, x_184, x_186, x_187, x_188, x_51, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec_ref(x_186); -lean_dec_ref(x_25); -lean_dec(x_18); -if (lean_obj_tag(x_189) == 0) -{ -lean_object* x_190; -if (lean_is_exclusive(x_189)) { - lean_ctor_release(x_189, 0); - x_190 = x_189; +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + x_178 = x_176; } else { - lean_dec_ref(x_189); + lean_dec_ref(x_176); + x_178 = lean_box(0); +} +x_179 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; +x_180 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; +if (lean_is_scalar(x_158)) { + x_181 = lean_alloc_ctor(0, 2, 0); +} else { + x_181 = x_158; +} +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_177); +x_182 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_182, 0, x_179); +lean_ctor_set(x_182, 1, x_181); +x_183 = l_Lean_TSyntax_getString(x_5); +x_184 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_184, 0, x_183); +x_185 = l_Lean_Doc_lean___closed__2; +x_186 = lean_array_push(x_185, x_184); +x_187 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_187, 0, x_182); +lean_ctor_set(x_187, 1, x_186); +if (lean_is_scalar(x_178)) { + x_188 = lean_alloc_ctor(0, 1, 0); +} else { + x_188 = x_178; +} +lean_ctor_set(x_188, 0, x_187); +return x_188; +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_dec(x_158); +x_189 = lean_ctor_get(x_176, 0); +lean_inc(x_189); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + x_190 = x_176; +} else { + lean_dec_ref(x_176); x_190 = lean_box(0); } -if (x_4 == 0) -{ -lean_object* x_191; lean_object* x_192; -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_191 = l_Lean_Doc_lean___closed__14; if (lean_is_scalar(x_190)) { - x_192 = lean_alloc_ctor(0, 1, 0); + x_191 = lean_alloc_ctor(1, 1, 0); } else { - x_192 = x_190; + x_191 = x_190; +} +lean_ctor_set(x_191, 0, x_189); +return x_191; +} +} } -lean_ctor_set(x_192, 0, x_191); -return x_192; } else { -lean_object* x_193; -lean_dec(x_190); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_193 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_193) == 0) -{ -lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; -x_194 = lean_ctor_get(x_193, 0); -lean_inc(x_194); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - x_195 = x_193; -} else { - lean_dec_ref(x_193); - x_195 = lean_box(0); -} -x_196 = lean_ctor_get(x_194, 2); -x_197 = lean_nat_dec_lt(x_33, x_196); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; lean_object* x_200; -lean_dec(x_194); -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); +lean_object* x_192; lean_object* x_193; lean_object* x_194; +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_156); lean_dec(x_14); lean_dec_ref(x_13); lean_dec(x_12); @@ -55077,158 +57775,29 @@ lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); -x_198 = l_Lean_TSyntax_getString(x_5); -x_199 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_199, 0, x_198); -if (lean_is_scalar(x_195)) { - x_200 = lean_alloc_ctor(0, 1, 0); +x_192 = lean_ctor_get(x_164, 0); +lean_inc(x_192); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + x_193 = x_164; } else { - x_200 = x_195; + lean_dec_ref(x_164); + x_193 = lean_box(0); } -lean_ctor_set(x_200, 0, x_199); -return x_200; -} -else -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -lean_dec(x_195); -x_201 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; -x_202 = lean_box(2); -x_203 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_203, 0, x_202); -lean_ctor_set(x_203, 1, x_201); -lean_ctor_set(x_203, 2, x_62); -x_204 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_194, x_203, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_204) == 0) -{ -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - x_206 = x_204; +if (lean_is_scalar(x_193)) { + x_194 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_204); - x_206 = lean_box(0); + x_194 = x_193; } -x_207 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -x_208 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -lean_ctor_set(x_59, 1, x_205); -lean_ctor_set(x_59, 0, x_208); -lean_ctor_set(x_57, 0, x_207); -x_209 = l_Lean_TSyntax_getString(x_5); -x_210 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_210, 0, x_209); -x_211 = l_Lean_Doc_lean___closed__15; -x_212 = lean_array_push(x_211, x_210); -x_213 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_213, 0, x_57); -lean_ctor_set(x_213, 1, x_212); -if (lean_is_scalar(x_206)) { - x_214 = lean_alloc_ctor(0, 1, 0); -} else { - x_214 = x_206; -} -lean_ctor_set(x_214, 0, x_213); -return x_214; -} -else -{ -lean_object* x_215; lean_object* x_216; lean_object* x_217; -lean_free_object(x_59); -lean_free_object(x_57); -x_215 = lean_ctor_get(x_204, 0); -lean_inc(x_215); -if (lean_is_exclusive(x_204)) { - lean_ctor_release(x_204, 0); - x_216 = x_204; -} else { - lean_dec_ref(x_204); - x_216 = lean_box(0); -} -if (lean_is_scalar(x_216)) { - x_217 = lean_alloc_ctor(1, 1, 0); -} else { - x_217 = x_216; -} -lean_ctor_set(x_217, 0, x_215); -return x_217; +lean_ctor_set(x_194, 0, x_192); +return x_194; } } } else { -lean_object* x_218; lean_object* x_219; lean_object* x_220; -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_218 = lean_ctor_get(x_193, 0); -lean_inc(x_218); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - x_219 = x_193; -} else { - lean_dec_ref(x_193); - x_219 = lean_box(0); -} -if (lean_is_scalar(x_219)) { - x_220 = lean_alloc_ctor(1, 1, 0); -} else { - x_220 = x_219; -} -lean_ctor_set(x_220, 0, x_218); -return x_220; -} -} -} -else -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_221 = lean_ctor_get(x_189, 0); -lean_inc(x_221); -if (lean_is_exclusive(x_189)) { - lean_ctor_release(x_189, 0); - x_222 = x_189; -} else { - lean_dec_ref(x_189); - x_222 = lean_box(0); -} -if (lean_is_scalar(x_222)) { - x_223 = lean_alloc_ctor(1, 1, 0); -} else { - x_223 = x_222; -} -lean_ctor_set(x_223, 0, x_221); -return x_223; -} -} -else -{ -lean_object* x_224; lean_object* x_225; lean_object* x_226; -lean_dec_ref(x_65); -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); -lean_dec_ref(x_25); +uint8_t x_195; +lean_dec_ref(x_26); lean_dec(x_18); lean_dec(x_14); lean_dec_ref(x_13); @@ -55239,864 +57808,30 @@ lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_1); -x_224 = lean_ctor_get(x_185, 0); -lean_inc(x_224); -if (lean_is_exclusive(x_185)) { - lean_ctor_release(x_185, 0); - x_225 = x_185; -} else { - lean_dec_ref(x_185); - x_225 = lean_box(0); +x_195 = !lean_is_exclusive(x_45); +if (x_195 == 0) +{ +return x_45; } -if (lean_is_scalar(x_225)) { - x_226 = lean_alloc_ctor(1, 1, 0); -} else { - x_226 = x_225; -} -lean_ctor_set(x_226, 0, x_224); -return x_226; +else +{ +lean_object* x_196; lean_object* x_197; +x_196 = lean_ctor_get(x_45, 0); +lean_inc(x_196); +lean_dec(x_45); +x_197 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_197, 0, x_196); +return x_197; } } } else { -uint8_t x_227; -lean_dec_ref(x_67); -lean_dec(x_66); -lean_dec_ref(x_65); -lean_free_object(x_59); -lean_dec(x_62); -lean_free_object(x_57); -lean_dec_ref(x_25); -lean_dec(x_18); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_227 = !lean_is_exclusive(x_68); -if (x_227 == 0) -{ -return x_68; -} -else -{ -lean_object* x_228; lean_object* x_229; -x_228 = lean_ctor_get(x_68, 0); -lean_inc(x_228); -lean_dec(x_68); -x_229 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_229, 0, x_228); -return x_229; -} -} -} -else -{ -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; -x_230 = lean_ctor_get(x_57, 0); -x_231 = lean_ctor_get(x_59, 0); -lean_inc(x_231); -lean_dec(x_59); -x_232 = lean_ctor_get(x_230, 0); -lean_inc_ref(x_232); -x_233 = lean_ctor_get(x_230, 1); -lean_inc_ref(x_233); -x_234 = lean_ctor_get(x_230, 2); -lean_inc(x_234); -x_235 = lean_ctor_get(x_230, 8); -lean_inc_ref(x_235); -lean_dec(x_230); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_236 = l_Lean_setEnv___at___00Lean_Doc_lean_spec__1___redArg(x_232, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_236) == 0) -{ -lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -lean_dec_ref(x_236); -x_237 = lean_st_ref_take(x_8); -x_238 = lean_ctor_get(x_237, 1); -lean_inc(x_238); -x_239 = lean_ctor_get(x_237, 2); -lean_inc_ref(x_239); -x_240 = lean_ctor_get(x_237, 3); -lean_inc_ref(x_240); -x_241 = lean_ctor_get(x_237, 4); -lean_inc_ref(x_241); -if (lean_is_exclusive(x_237)) { - lean_ctor_release(x_237, 0); - lean_ctor_release(x_237, 1); - lean_ctor_release(x_237, 2); - lean_ctor_release(x_237, 3); - lean_ctor_release(x_237, 4); - x_242 = x_237; -} else { - lean_dec_ref(x_237); - x_242 = lean_box(0); -} -if (lean_is_scalar(x_242)) { - x_243 = lean_alloc_ctor(0, 5, 0); -} else { - x_243 = x_242; -} -lean_ctor_set(x_243, 0, x_234); -lean_ctor_set(x_243, 1, x_238); -lean_ctor_set(x_243, 2, x_239); -lean_ctor_set(x_243, 3, x_240); -lean_ctor_set(x_243, 4, x_241); -x_244 = lean_st_ref_set(x_8, x_243); -x_245 = lean_ctor_get(x_235, 2); -lean_inc_ref(x_245); -lean_dec_ref(x_235); -x_246 = lean_box(0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_247 = l_Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2(x_246, x_245, x_246, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_247) == 0) -{ -lean_object* x_248; size_t x_249; size_t x_250; lean_object* x_251; -lean_dec_ref(x_247); -x_248 = l_Lean_MessageLog_toArray(x_233); -lean_dec_ref(x_233); -x_249 = lean_array_size(x_248); -x_250 = 0; -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_251 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg(x_18, x_25, x_24, x_1, x_47, x_3, x_2, x_246, x_248, x_249, x_250, x_51, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec_ref(x_248); -lean_dec_ref(x_25); -lean_dec(x_18); -if (lean_obj_tag(x_251) == 0) -{ -lean_object* x_252; -if (lean_is_exclusive(x_251)) { - lean_ctor_release(x_251, 0); - x_252 = x_251; -} else { - lean_dec_ref(x_251); - x_252 = lean_box(0); -} -if (x_4 == 0) -{ -lean_object* x_253; lean_object* x_254; -lean_dec(x_231); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_253 = l_Lean_Doc_lean___closed__14; -if (lean_is_scalar(x_252)) { - x_254 = lean_alloc_ctor(0, 1, 0); -} else { - x_254 = x_252; -} -lean_ctor_set(x_254, 0, x_253); -return x_254; -} -else -{ -lean_object* x_255; -lean_dec(x_252); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_255 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_255) == 0) -{ -lean_object* x_256; lean_object* x_257; lean_object* x_258; uint8_t x_259; -x_256 = lean_ctor_get(x_255, 0); -lean_inc(x_256); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - x_257 = x_255; -} else { - lean_dec_ref(x_255); - x_257 = lean_box(0); -} -x_258 = lean_ctor_get(x_256, 2); -x_259 = lean_nat_dec_lt(x_33, x_258); -if (x_259 == 0) -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; -lean_dec(x_256); -lean_dec(x_231); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_260 = l_Lean_TSyntax_getString(x_5); -x_261 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_261, 0, x_260); -if (lean_is_scalar(x_257)) { - x_262 = lean_alloc_ctor(0, 1, 0); -} else { - x_262 = x_257; -} -lean_ctor_set(x_262, 0, x_261); -return x_262; -} -else -{ -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -lean_dec(x_257); -x_263 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; -x_264 = lean_box(2); -x_265 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -lean_ctor_set(x_265, 2, x_231); -x_266 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_256, x_265, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_266) == 0) -{ -lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_267 = lean_ctor_get(x_266, 0); -lean_inc(x_267); -if (lean_is_exclusive(x_266)) { - lean_ctor_release(x_266, 0); - x_268 = x_266; -} else { - lean_dec_ref(x_266); - x_268 = lean_box(0); -} -x_269 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -x_270 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -x_271 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_267); -lean_ctor_set(x_57, 1, x_271); -lean_ctor_set(x_57, 0, x_269); -x_272 = l_Lean_TSyntax_getString(x_5); -x_273 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_273, 0, x_272); -x_274 = l_Lean_Doc_lean___closed__15; -x_275 = lean_array_push(x_274, x_273); -x_276 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_276, 0, x_57); -lean_ctor_set(x_276, 1, x_275); -if (lean_is_scalar(x_268)) { - x_277 = lean_alloc_ctor(0, 1, 0); -} else { - x_277 = x_268; -} -lean_ctor_set(x_277, 0, x_276); -return x_277; -} -else -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; -lean_free_object(x_57); -x_278 = lean_ctor_get(x_266, 0); -lean_inc(x_278); -if (lean_is_exclusive(x_266)) { - lean_ctor_release(x_266, 0); - x_279 = x_266; -} else { - lean_dec_ref(x_266); - x_279 = lean_box(0); -} -if (lean_is_scalar(x_279)) { - x_280 = lean_alloc_ctor(1, 1, 0); -} else { - x_280 = x_279; -} -lean_ctor_set(x_280, 0, x_278); -return x_280; -} -} -} -else -{ -lean_object* x_281; lean_object* x_282; lean_object* x_283; -lean_dec(x_231); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_281 = lean_ctor_get(x_255, 0); -lean_inc(x_281); -if (lean_is_exclusive(x_255)) { - lean_ctor_release(x_255, 0); - x_282 = x_255; -} else { - lean_dec_ref(x_255); - x_282 = lean_box(0); -} -if (lean_is_scalar(x_282)) { - x_283 = lean_alloc_ctor(1, 1, 0); -} else { - x_283 = x_282; -} -lean_ctor_set(x_283, 0, x_281); -return x_283; -} -} -} -else -{ -lean_object* x_284; lean_object* x_285; lean_object* x_286; -lean_dec(x_231); -lean_free_object(x_57); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_284 = lean_ctor_get(x_251, 0); -lean_inc(x_284); -if (lean_is_exclusive(x_251)) { - lean_ctor_release(x_251, 0); - x_285 = x_251; -} else { - lean_dec_ref(x_251); - x_285 = lean_box(0); -} -if (lean_is_scalar(x_285)) { - x_286 = lean_alloc_ctor(1, 1, 0); -} else { - x_286 = x_285; -} -lean_ctor_set(x_286, 0, x_284); -return x_286; -} -} -else -{ -lean_object* x_287; lean_object* x_288; lean_object* x_289; -lean_dec_ref(x_233); -lean_dec(x_231); -lean_free_object(x_57); -lean_dec_ref(x_25); -lean_dec(x_18); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_287 = lean_ctor_get(x_247, 0); -lean_inc(x_287); -if (lean_is_exclusive(x_247)) { - lean_ctor_release(x_247, 0); - x_288 = x_247; -} else { - lean_dec_ref(x_247); - x_288 = lean_box(0); -} -if (lean_is_scalar(x_288)) { - x_289 = lean_alloc_ctor(1, 1, 0); -} else { - x_289 = x_288; -} -lean_ctor_set(x_289, 0, x_287); -return x_289; -} -} -else -{ -lean_object* x_290; lean_object* x_291; lean_object* x_292; -lean_dec_ref(x_235); -lean_dec(x_234); -lean_dec_ref(x_233); -lean_dec(x_231); -lean_free_object(x_57); -lean_dec_ref(x_25); -lean_dec(x_18); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_290 = lean_ctor_get(x_236, 0); -lean_inc(x_290); -if (lean_is_exclusive(x_236)) { - lean_ctor_release(x_236, 0); - x_291 = x_236; -} else { - lean_dec_ref(x_236); - x_291 = lean_box(0); -} -if (lean_is_scalar(x_291)) { - x_292 = lean_alloc_ctor(1, 1, 0); -} else { - x_292 = x_291; -} -lean_ctor_set(x_292, 0, x_290); -return x_292; -} -} -} -else -{ -lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_293 = lean_ctor_get(x_57, 1); -x_294 = lean_ctor_get(x_57, 0); -lean_inc(x_293); -lean_inc(x_294); -lean_dec(x_57); -x_295 = lean_ctor_get(x_293, 0); -lean_inc(x_295); -if (lean_is_exclusive(x_293)) { - lean_ctor_release(x_293, 0); - lean_ctor_release(x_293, 1); - x_296 = x_293; -} else { - lean_dec_ref(x_293); - x_296 = lean_box(0); -} -x_297 = lean_ctor_get(x_294, 0); -lean_inc_ref(x_297); -x_298 = lean_ctor_get(x_294, 1); -lean_inc_ref(x_298); -x_299 = lean_ctor_get(x_294, 2); -lean_inc(x_299); -x_300 = lean_ctor_get(x_294, 8); -lean_inc_ref(x_300); -lean_dec(x_294); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_301 = l_Lean_setEnv___at___00Lean_Doc_lean_spec__1___redArg(x_297, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_301) == 0) -{ -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; -lean_dec_ref(x_301); -x_302 = lean_st_ref_take(x_8); -x_303 = lean_ctor_get(x_302, 1); -lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 2); -lean_inc_ref(x_304); -x_305 = lean_ctor_get(x_302, 3); -lean_inc_ref(x_305); -x_306 = lean_ctor_get(x_302, 4); -lean_inc_ref(x_306); -if (lean_is_exclusive(x_302)) { - lean_ctor_release(x_302, 0); - lean_ctor_release(x_302, 1); - lean_ctor_release(x_302, 2); - lean_ctor_release(x_302, 3); - lean_ctor_release(x_302, 4); - x_307 = x_302; -} else { - lean_dec_ref(x_302); - x_307 = lean_box(0); -} -if (lean_is_scalar(x_307)) { - x_308 = lean_alloc_ctor(0, 5, 0); -} else { - x_308 = x_307; -} -lean_ctor_set(x_308, 0, x_299); -lean_ctor_set(x_308, 1, x_303); -lean_ctor_set(x_308, 2, x_304); -lean_ctor_set(x_308, 3, x_305); -lean_ctor_set(x_308, 4, x_306); -x_309 = lean_st_ref_set(x_8, x_308); -x_310 = lean_ctor_get(x_300, 2); -lean_inc_ref(x_310); -lean_dec_ref(x_300); -x_311 = lean_box(0); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_312 = l_Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2(x_311, x_310, x_311, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_312) == 0) -{ -lean_object* x_313; size_t x_314; size_t x_315; lean_object* x_316; -lean_dec_ref(x_312); -x_313 = l_Lean_MessageLog_toArray(x_298); -lean_dec_ref(x_298); -x_314 = lean_array_size(x_313); -x_315 = 0; -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_316 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg(x_18, x_25, x_24, x_1, x_47, x_3, x_2, x_311, x_313, x_314, x_315, x_51, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec_ref(x_313); -lean_dec_ref(x_25); -lean_dec(x_18); -if (lean_obj_tag(x_316) == 0) -{ -lean_object* x_317; -if (lean_is_exclusive(x_316)) { - lean_ctor_release(x_316, 0); - x_317 = x_316; -} else { - lean_dec_ref(x_316); - x_317 = lean_box(0); -} -if (x_4 == 0) -{ -lean_object* x_318; lean_object* x_319; -lean_dec(x_296); -lean_dec(x_295); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_318 = l_Lean_Doc_lean___closed__14; -if (lean_is_scalar(x_317)) { - x_319 = lean_alloc_ctor(0, 1, 0); -} else { - x_319 = x_317; -} -lean_ctor_set(x_319, 0, x_318); -return x_319; -} -else -{ -lean_object* x_320; -lean_dec(x_317); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -x_320 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_320) == 0) -{ -lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; -x_321 = lean_ctor_get(x_320, 0); -lean_inc(x_321); -if (lean_is_exclusive(x_320)) { - lean_ctor_release(x_320, 0); - x_322 = x_320; -} else { - lean_dec_ref(x_320); - x_322 = lean_box(0); -} -x_323 = lean_ctor_get(x_321, 2); -x_324 = lean_nat_dec_lt(x_33, x_323); -if (x_324 == 0) -{ -lean_object* x_325; lean_object* x_326; lean_object* x_327; -lean_dec(x_321); -lean_dec(x_296); -lean_dec(x_295); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_325 = l_Lean_TSyntax_getString(x_5); -x_326 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_326, 0, x_325); -if (lean_is_scalar(x_322)) { - x_327 = lean_alloc_ctor(0, 1, 0); -} else { - x_327 = x_322; -} -lean_ctor_set(x_327, 0, x_326); -return x_327; -} -else -{ -lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; -lean_dec(x_322); -x_328 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_givenContents___lam__4___closed__1; -x_329 = lean_box(2); -x_330 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_330, 0, x_329); -lean_ctor_set(x_330, 1, x_328); -lean_ctor_set(x_330, 2, x_295); -x_331 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_321, x_330, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_331) == 0) -{ -lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; -x_332 = lean_ctor_get(x_331, 0); -lean_inc(x_332); -if (lean_is_exclusive(x_331)) { - lean_ctor_release(x_331, 0); - x_333 = x_331; -} else { - lean_dec_ref(x_331); - x_333 = lean_box(0); -} -x_334 = l_Lean_Doc_Data_instImpl___closed__1_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -x_335 = l_Lean_Doc_Data_instImpl_00___x40_Lean_Elab_DocString_Builtin_264819094____hygCtx___hyg_18_; -if (lean_is_scalar(x_296)) { - x_336 = lean_alloc_ctor(0, 2, 0); -} else { - x_336 = x_296; -} -lean_ctor_set(x_336, 0, x_335); -lean_ctor_set(x_336, 1, x_332); -x_337 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_337, 0, x_334); -lean_ctor_set(x_337, 1, x_336); -x_338 = l_Lean_TSyntax_getString(x_5); -x_339 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_339, 0, x_338); -x_340 = l_Lean_Doc_lean___closed__15; -x_341 = lean_array_push(x_340, x_339); -x_342 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_342, 0, x_337); -lean_ctor_set(x_342, 1, x_341); -if (lean_is_scalar(x_333)) { - x_343 = lean_alloc_ctor(0, 1, 0); -} else { - x_343 = x_333; -} -lean_ctor_set(x_343, 0, x_342); -return x_343; -} -else -{ -lean_object* x_344; lean_object* x_345; lean_object* x_346; -lean_dec(x_296); -x_344 = lean_ctor_get(x_331, 0); -lean_inc(x_344); -if (lean_is_exclusive(x_331)) { - lean_ctor_release(x_331, 0); - x_345 = x_331; -} else { - lean_dec_ref(x_331); - x_345 = lean_box(0); -} -if (lean_is_scalar(x_345)) { - x_346 = lean_alloc_ctor(1, 1, 0); -} else { - x_346 = x_345; -} -lean_ctor_set(x_346, 0, x_344); -return x_346; -} -} -} -else -{ -lean_object* x_347; lean_object* x_348; lean_object* x_349; -lean_dec(x_296); -lean_dec(x_295); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_347 = lean_ctor_get(x_320, 0); -lean_inc(x_347); -if (lean_is_exclusive(x_320)) { - lean_ctor_release(x_320, 0); - x_348 = x_320; -} else { - lean_dec_ref(x_320); - x_348 = lean_box(0); -} -if (lean_is_scalar(x_348)) { - x_349 = lean_alloc_ctor(1, 1, 0); -} else { - x_349 = x_348; -} -lean_ctor_set(x_349, 0, x_347); -return x_349; -} -} -} -else -{ -lean_object* x_350; lean_object* x_351; lean_object* x_352; -lean_dec(x_296); -lean_dec(x_295); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_350 = lean_ctor_get(x_316, 0); -lean_inc(x_350); -if (lean_is_exclusive(x_316)) { - lean_ctor_release(x_316, 0); - x_351 = x_316; -} else { - lean_dec_ref(x_316); - x_351 = lean_box(0); -} -if (lean_is_scalar(x_351)) { - x_352 = lean_alloc_ctor(1, 1, 0); -} else { - x_352 = x_351; -} -lean_ctor_set(x_352, 0, x_350); -return x_352; -} -} -else -{ -lean_object* x_353; lean_object* x_354; lean_object* x_355; -lean_dec_ref(x_298); -lean_dec(x_296); -lean_dec(x_295); -lean_dec_ref(x_25); -lean_dec(x_18); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_353 = lean_ctor_get(x_312, 0); -lean_inc(x_353); -if (lean_is_exclusive(x_312)) { - lean_ctor_release(x_312, 0); - x_354 = x_312; -} else { - lean_dec_ref(x_312); - x_354 = lean_box(0); -} -if (lean_is_scalar(x_354)) { - x_355 = lean_alloc_ctor(1, 1, 0); -} else { - x_355 = x_354; -} -lean_ctor_set(x_355, 0, x_353); -return x_355; -} -} -else -{ -lean_object* x_356; lean_object* x_357; lean_object* x_358; -lean_dec_ref(x_300); -lean_dec(x_299); -lean_dec_ref(x_298); -lean_dec(x_296); -lean_dec(x_295); -lean_dec_ref(x_25); -lean_dec(x_18); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_356 = lean_ctor_get(x_301, 0); -lean_inc(x_356); -if (lean_is_exclusive(x_301)) { - lean_ctor_release(x_301, 0); - x_357 = x_301; -} else { - lean_dec_ref(x_301); - x_357 = lean_box(0); -} -if (lean_is_scalar(x_357)) { - x_358 = lean_alloc_ctor(1, 1, 0); -} else { - x_358 = x_357; -} -lean_ctor_set(x_358, 0, x_356); -return x_358; -} -} -} -else -{ -uint8_t x_359; -lean_dec_ref(x_25); -lean_dec(x_18); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_1); -x_359 = !lean_is_exclusive(x_56); -if (x_359 == 0) -{ -return x_56; -} -else -{ -lean_object* x_360; lean_object* x_361; -x_360 = lean_ctor_get(x_56, 0); -lean_inc(x_360); -lean_dec(x_56); -x_361 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_361, 0, x_360); -return x_361; -} -} -} -else -{ -uint8_t x_362; +uint8_t x_198; lean_dec(x_29); lean_dec(x_27); -lean_dec(x_26); -lean_dec_ref(x_25); +lean_dec_ref(x_26); +lean_dec(x_25); lean_dec(x_21); lean_dec(x_18); lean_dec(x_14); @@ -56108,29 +57843,29 @@ lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_1); -x_362 = !lean_is_exclusive(x_30); -if (x_362 == 0) +x_198 = !lean_is_exclusive(x_30); +if (x_198 == 0) { return x_30; } else { -lean_object* x_363; lean_object* x_364; -x_363 = lean_ctor_get(x_30, 0); -lean_inc(x_363); +lean_object* x_199; lean_object* x_200; +x_199 = lean_ctor_get(x_30, 0); +lean_inc(x_199); lean_dec(x_30); -x_364 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_364, 0, x_363); -return x_364; +x_200 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_200, 0, x_199); +return x_200; } } } else { -uint8_t x_365; +uint8_t x_201; lean_dec(x_27); -lean_dec(x_26); -lean_dec_ref(x_25); +lean_dec_ref(x_26); +lean_dec(x_25); lean_dec(x_21); lean_dec(x_18); lean_dec(x_14); @@ -56142,75 +57877,75 @@ lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_1); -x_365 = !lean_is_exclusive(x_28); -if (x_365 == 0) +x_201 = !lean_is_exclusive(x_28); +if (x_201 == 0) { return x_28; } else { -lean_object* x_366; lean_object* x_367; -x_366 = lean_ctor_get(x_28, 0); -lean_inc(x_366); +lean_object* x_202; lean_object* x_203; +x_202 = lean_ctor_get(x_28, 0); +lean_inc(x_202); lean_dec(x_28); -x_367 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_367, 0, x_366); -return x_367; +x_203 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_203, 0, x_202); +return x_203; } } } -block_374: +block_210: { -lean_object* x_371; lean_object* x_372; uint8_t x_373; -x_371 = lean_ctor_get(x_18, 0); -x_372 = lean_string_utf8_byte_size(x_371); -x_373 = lean_nat_dec_le(x_370, x_372); -if (x_373 == 0) +lean_object* x_207; lean_object* x_208; uint8_t x_209; +x_207 = lean_ctor_get(x_18, 0); +x_208 = lean_string_utf8_byte_size(x_207); +x_209 = lean_nat_dec_le(x_206, x_208); +if (x_209 == 0) { -lean_dec(x_370); -lean_inc_ref(x_371); -x_25 = x_371; -x_26 = x_369; -x_27 = x_372; -goto block_368; +lean_dec(x_206); +lean_inc_ref(x_207); +x_25 = x_205; +x_26 = x_207; +x_27 = x_208; +goto block_204; } else { -lean_inc_ref(x_371); -x_25 = x_371; -x_26 = x_369; -x_27 = x_370; -goto block_368; +lean_inc_ref(x_207); +x_25 = x_205; +x_26 = x_207; +x_27 = x_206; +goto block_204; } } -block_380: +block_216: { -lean_object* x_376; -x_376 = l_Lean_Syntax_getTailPos_x3f(x_5, x_24); -if (lean_obj_tag(x_376) == 0) +lean_object* x_212; +x_212 = l_Lean_Syntax_getTailPos_x3f(x_5, x_24); +if (lean_obj_tag(x_212) == 0) { -lean_object* x_377; lean_object* x_378; -x_377 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; -x_378 = l_panic___at___00__private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___00Lean_Doc_parseStrLit___at___00Lean_Doc_tactic_spec__1_spec__3_spec__5(x_377); -x_369 = x_375; -x_370 = x_378; -goto block_374; +lean_object* x_213; lean_object* x_214; +x_213 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; +x_214 = l_panic___at___00__private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___00Lean_Doc_parseStrLit___at___00Lean_Doc_tactic_spec__1_spec__3_spec__5(x_213); +x_205 = x_211; +x_206 = x_214; +goto block_210; } else { -lean_object* x_379; -x_379 = lean_ctor_get(x_376, 0); -lean_inc(x_379); -lean_dec_ref(x_376); -x_369 = x_375; -x_370 = x_379; -goto block_374; +lean_object* x_215; +x_215 = lean_ctor_get(x_212, 0); +lean_inc(x_215); +lean_dec_ref(x_212); +x_205 = x_211; +x_206 = x_215; +goto block_210; } } } else { -uint8_t x_385; +uint8_t x_221; lean_dec(x_18); lean_dec(x_14); lean_dec_ref(x_13); @@ -56221,26 +57956,26 @@ lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_1); -x_385 = !lean_is_exclusive(x_20); -if (x_385 == 0) +x_221 = !lean_is_exclusive(x_20); +if (x_221 == 0) { return x_20; } else { -lean_object* x_386; lean_object* x_387; -x_386 = lean_ctor_get(x_20, 0); -lean_inc(x_386); +lean_object* x_222; lean_object* x_223; +x_222 = lean_ctor_get(x_20, 0); +lean_inc(x_222); lean_dec(x_20); -x_387 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_387, 0, x_386); -return x_387; +x_223 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_223, 0, x_222); +return x_223; } } } else { -uint8_t x_388; +uint8_t x_224; lean_dec(x_14); lean_dec_ref(x_13); lean_dec(x_12); @@ -56250,20 +57985,20 @@ lean_dec_ref(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_1); -x_388 = !lean_is_exclusive(x_17); -if (x_388 == 0) +x_224 = !lean_is_exclusive(x_17); +if (x_224 == 0) { return x_17; } else { -lean_object* x_389; lean_object* x_390; -x_389 = lean_ctor_get(x_17, 0); -lean_inc(x_389); +lean_object* x_225; lean_object* x_226; +x_225 = lean_ctor_get(x_17, 0); +lean_inc(x_225); lean_dec(x_17); -x_390 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_390, 0, x_389); -return x_390; +x_226 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_226, 0, x_225); +return x_226; } } } @@ -56281,15 +58016,32 @@ lean_dec(x_5); return x_20; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14, size_t x_15, size_t x_16, lean_object* x_17, uint8_t x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23, lean_object* x_24, lean_object* x_25, lean_object* x_26) { +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_28; -x_28 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___redArg(x_1, x_2, x_3, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); -return x_28; +lean_object* x_13; +x_13 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3___boxed(lean_object** _args) { +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_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) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_3); +x_14 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, uint8_t x_9, lean_object* x_10, size_t x_11, size_t x_12, lean_object* x_13, uint8_t x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { +_start: +{ +lean_object* x_24; +x_24 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___redArg(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); +return x_24; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5___boxed(lean_object** _args) { lean_object* x_1 = _args[0]; lean_object* x_2 = _args[1]; lean_object* x_3 = _args[2]; @@ -56313,66 +58065,115 @@ lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; lean_object* x_22 = _args[21]; lean_object* x_23 = _args[22]; -lean_object* x_24 = _args[23]; -lean_object* x_25 = _args[24]; -lean_object* x_26 = _args[25]; -lean_object* x_27 = _args[26]; _start: { -uint8_t x_28; uint8_t x_29; uint8_t x_30; size_t x_31; size_t x_32; uint8_t x_33; lean_object* x_34; -x_28 = lean_unbox(x_3); -x_29 = lean_unbox(x_11); -x_30 = lean_unbox(x_12); -x_31 = lean_unbox_usize(x_15); -lean_dec(x_15); -x_32 = lean_unbox_usize(x_16); +uint8_t x_24; uint8_t x_25; uint8_t x_26; size_t x_27; size_t x_28; uint8_t x_29; lean_object* x_30; +x_24 = lean_unbox(x_3); +x_25 = lean_unbox(x_8); +x_26 = lean_unbox(x_9); +x_27 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_28 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_29 = lean_unbox(x_14); +x_30 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5(x_1, x_2, x_24, x_4, x_5, x_6, x_7, x_25, x_26, x_10, x_27, x_28, x_13, x_29, x_15, x_16, x_17, x_18, x_19, x_20, x_21, x_22); lean_dec(x_16); -x_33 = lean_unbox(x_18); -x_34 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3(x_1, x_2, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_29, x_30, x_13, x_14, x_31, x_32, x_17, x_33, x_19, x_20, x_21, x_22, x_23, x_24, x_25, x_26); -lean_dec(x_20); -lean_dec(x_19); -lean_dec_ref(x_14); -lean_dec_ref(x_8); -lean_dec_ref(x_7); +lean_dec(x_15); +lean_dec_ref(x_10); lean_dec_ref(x_6); lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); -return x_34; +return x_30; } } -LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_15; -x_15 = l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_15 = l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_15; } } -LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; lean_object* x_16; x_15 = lean_unbox(x_5); -x_16 = l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__9(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_16 = l_Functor_mapRev___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__12(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_16; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_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: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +x_12 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_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: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +x_12 = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +lean_dec(x_2); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_14; -x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___redArg(x_1, x_2, x_3); +x_14 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_4); -x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__16(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_15 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7(x_1, x_2, x_3, 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___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___redArg(x_1, x_2, x_3); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; lean_object* x_15; +x_14 = lean_unbox(x_4); +x_15 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_emit___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__22(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -56408,15 +58209,15 @@ lean_dec_ref(x_3); return x_20; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_17; -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_15); return x_17; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { size_t x_17; size_t x_18; uint8_t x_19; lean_object* x_20; @@ -56425,47 +58226,47 @@ lean_dec(x_4); x_18 = lean_unbox_usize(x_5); lean_dec(x_5); x_19 = lean_unbox(x_7); -x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__9(x_1, x_2, x_3, x_17, x_18, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_PersistentArray_forInAux___at___00Lean_PersistentArray_forIn___at___00Lean_Doc_lean_spec__2_spec__2_spec__5_spec__10(x_1, x_2, x_3, x_17, x_18, x_6, x_19, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_9); lean_dec(x_8); lean_dec_ref(x_3); return x_20; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_17; -x_17 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18___redArg(x_1, x_2, x_4, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_17 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___redArg(x_1, x_2, x_4, x_5, x_9, x_10, x_11, x_12, x_13, x_14, x_15); return x_17; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_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, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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; lean_object* x_18; x_17 = lean_unbox(x_7); -x_18 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__15_spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_18 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_typeFromInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__21_spec__26(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_3); return x_18; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_16; -x_16 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___redArg(x_1, x_3, x_4, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_16 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___redArg(x_1, x_3, x_4, x_8, x_9, x_10, x_11, x_12, x_13, x_14); return x_16; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, 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_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; lean_object* x_17; x_16 = lean_unbox(x_6); -x_17 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5_spec__8_spec__17_spec__21(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_17 = l_List_forIn_x27_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_toDocInfo___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax_go___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6_spec__11_spec__23_spec__29(x_1, x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_8); lean_dec(x_7); lean_dec(x_2); @@ -60734,7 +62535,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(993u); +x_2 = lean_unsigned_to_nat(995u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -60746,7 +62547,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(24u); -x_2 = lean_unsigned_to_nat(993u); +x_2 = lean_unsigned_to_nat(995u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -61118,7 +62919,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(1036u); +x_2 = lean_unsigned_to_nat(1038u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -61130,7 +62931,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(18u); -x_2 = lean_unsigned_to_nat(1036u); +x_2 = lean_unsigned_to_nat(1038u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -61900,2044 +63701,6 @@ lean_dec(x_2); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_st_ref_take(x_6); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_8, 7); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_12 = lean_ctor_get(x_10, 2); -lean_dec(x_12); -x_13 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5___closed__2; -lean_ctor_set(x_10, 2, x_13); -x_14 = lean_st_ref_set(x_6, x_8); -x_15 = lean_box(0); -x_16 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_16, 0, x_15); -return x_16; -} -else -{ -uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_17 = lean_ctor_get_uint8(x_10, sizeof(void*)*3); -x_18 = lean_ctor_get(x_10, 0); -x_19 = lean_ctor_get(x_10, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_10); -x_20 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5___closed__2; -x_21 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_21, 0, x_18); -lean_ctor_set(x_21, 1, x_19); -lean_ctor_set(x_21, 2, x_20); -lean_ctor_set_uint8(x_21, sizeof(void*)*3, x_17); -lean_ctor_set(x_8, 7, x_21); -x_22 = lean_st_ref_set(x_6, x_8); -x_23 = lean_box(0); -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_23); -return x_24; -} -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_25 = lean_ctor_get(x_8, 7); -x_26 = lean_ctor_get(x_8, 0); -x_27 = lean_ctor_get(x_8, 1); -x_28 = lean_ctor_get(x_8, 2); -x_29 = lean_ctor_get(x_8, 3); -x_30 = lean_ctor_get(x_8, 4); -x_31 = lean_ctor_get(x_8, 5); -x_32 = lean_ctor_get(x_8, 6); -x_33 = lean_ctor_get(x_8, 8); -lean_inc(x_33); -lean_inc(x_25); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_8); -x_34 = lean_ctor_get_uint8(x_25, sizeof(void*)*3); -x_35 = lean_ctor_get(x_25, 0); -lean_inc_ref(x_35); -x_36 = lean_ctor_get(x_25, 1); -lean_inc_ref(x_36); -if (lean_is_exclusive(x_25)) { - lean_ctor_release(x_25, 0); - lean_ctor_release(x_25, 1); - lean_ctor_release(x_25, 2); - x_37 = x_25; -} else { - lean_dec_ref(x_25); - x_37 = lean_box(0); -} -x_38 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5___closed__2; -if (lean_is_scalar(x_37)) { - x_39 = lean_alloc_ctor(0, 3, 1); -} else { - x_39 = x_37; -} -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_36); -lean_ctor_set(x_39, 2, x_38); -lean_ctor_set_uint8(x_39, sizeof(void*)*3, x_34); -x_40 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_40, 0, x_26); -lean_ctor_set(x_40, 1, x_27); -lean_ctor_set(x_40, 2, x_28); -lean_ctor_set(x_40, 3, x_29); -lean_ctor_set(x_40, 4, x_30); -lean_ctor_set(x_40, 5, x_31); -lean_ctor_set(x_40, 6, x_32); -lean_ctor_set(x_40, 7, x_39); -lean_ctor_set(x_40, 8, x_33); -x_41 = lean_st_ref_set(x_6, x_40); -x_42 = lean_box(0); -x_43 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_43, 0, x_42); -return x_43; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -static lean_object* _init_l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___lam__1___boxed), 7, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5_spec__7___redArg___closed__0; -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc_ref(x_2); -x_10 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec_ref(x_10); -x_12 = lean_ctor_get(x_11, 2); -lean_inc_ref(x_12); -lean_dec(x_11); -x_13 = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___closed__0; -x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -lean_ctor_set(x_14, 0, x_12); -return x_14; -} -else -{ -lean_object* x_17; -lean_dec(x_14); -x_17 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_17, 0, x_12); -return x_17; -} -} -else -{ -uint8_t x_18; -lean_dec_ref(x_12); -x_18 = !lean_is_exclusive(x_14); -if (x_18 == 0) -{ -return x_14; -} -else -{ -lean_object* x_19; lean_object* x_20; -x_19 = lean_ctor_get(x_14, 0); -lean_inc(x_19); -lean_dec(x_14); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -return x_20; -} -} -} -else -{ -uint8_t x_21; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_21 = !lean_is_exclusive(x_10); -if (x_21 == 0) -{ -return x_10; -} -else -{ -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_10, 0); -lean_inc(x_22); -lean_dec(x_10); -x_23 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_23, 0, x_22); -return x_23; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, 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_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_st_ref_take(x_8); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; uint8_t x_13; -x_12 = lean_ctor_get(x_10, 7); -x_13 = !lean_is_exclusive(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; -x_14 = lean_ctor_get(x_12, 2); -lean_dec(x_14); -x_15 = l_Lean_PersistentArray_append___redArg(x_1, x_2); -lean_ctor_set(x_12, 2, x_15); -x_16 = lean_st_ref_set(x_8, x_10); -x_17 = lean_box(0); -x_18 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_18, 0, x_17); -return x_18; -} -else -{ -uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_19 = lean_ctor_get_uint8(x_12, sizeof(void*)*3); -x_20 = lean_ctor_get(x_12, 0); -x_21 = lean_ctor_get(x_12, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_12); -x_22 = l_Lean_PersistentArray_append___redArg(x_1, x_2); -x_23 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_21); -lean_ctor_set(x_23, 2, x_22); -lean_ctor_set_uint8(x_23, sizeof(void*)*3, x_19); -lean_ctor_set(x_10, 7, x_23); -x_24 = lean_st_ref_set(x_8, x_10); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_26, 0, x_25); -return x_26; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_27 = lean_ctor_get(x_10, 7); -x_28 = lean_ctor_get(x_10, 0); -x_29 = lean_ctor_get(x_10, 1); -x_30 = lean_ctor_get(x_10, 2); -x_31 = lean_ctor_get(x_10, 3); -x_32 = lean_ctor_get(x_10, 4); -x_33 = lean_ctor_get(x_10, 5); -x_34 = lean_ctor_get(x_10, 6); -x_35 = lean_ctor_get(x_10, 8); -lean_inc(x_35); -lean_inc(x_27); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_10); -x_36 = lean_ctor_get_uint8(x_27, sizeof(void*)*3); -x_37 = lean_ctor_get(x_27, 0); -lean_inc_ref(x_37); -x_38 = lean_ctor_get(x_27, 1); -lean_inc_ref(x_38); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - lean_ctor_release(x_27, 2); - x_39 = x_27; -} else { - lean_dec_ref(x_27); - x_39 = lean_box(0); -} -x_40 = l_Lean_PersistentArray_append___redArg(x_1, x_2); -if (lean_is_scalar(x_39)) { - x_41 = lean_alloc_ctor(0, 3, 1); -} else { - x_41 = x_39; -} -lean_ctor_set(x_41, 0, x_37); -lean_ctor_set(x_41, 1, x_38); -lean_ctor_set(x_41, 2, x_40); -lean_ctor_set_uint8(x_41, sizeof(void*)*3, x_36); -x_42 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_42, 0, x_28); -lean_ctor_set(x_42, 1, x_29); -lean_ctor_set(x_42, 2, x_30); -lean_ctor_set(x_42, 3, x_31); -lean_ctor_set(x_42, 4, x_32); -lean_ctor_set(x_42, 5, x_33); -lean_ctor_set(x_42, 6, x_34); -lean_ctor_set(x_42, 7, x_41); -lean_ctor_set(x_42, 8, x_35); -x_43 = lean_st_ref_set(x_8, x_42); -x_44 = lean_box(0); -x_45 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_45, 0, x_44); -return x_45; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__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___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_4, x_3); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_17 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_17, 0, x_5); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_1, 0); -x_19 = lean_box(x_6); -lean_inc_ref(x_2); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_20 = lean_apply_10(x_2, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, lean_box(0)); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_31; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -lean_dec_ref(x_20); -x_22 = lean_array_uget(x_5, x_4); -x_23 = lean_unsigned_to_nat(0u); -x_24 = lean_array_uset(x_5, x_4, x_23); -lean_inc_ref(x_18); -x_31 = l_Lean_Elab_InfoTree_substitute(x_22, x_18); -if (lean_obj_tag(x_21) == 0) -{ -x_25 = x_31; -goto block_30; -} -else -{ -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_21, 0); -lean_inc(x_32); -lean_dec_ref(x_21); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_25 = x_33; -goto block_30; -} -block_30: -{ -size_t x_26; size_t x_27; lean_object* x_28; -x_26 = 1; -x_27 = lean_usize_add(x_4, x_26); -x_28 = lean_array_uset(x_24, x_4, x_25); -x_4 = x_27; -x_5 = x_28; -goto _start; -} -} -else -{ -uint8_t x_34; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec_ref(x_5); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_34 = !lean_is_exclusive(x_20); -if (x_34 == 0) -{ -return x_20; -} -else -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_20, 0); -lean_inc(x_35); -lean_dec(x_20); -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_35); -return x_36; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; uint8_t x_18; lean_object* x_19; -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = lean_unbox(x_6); -x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__7(x_1, x_2, x_16, x_17, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_19; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_3); -if (x_14 == 0) -{ -lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_3, 0); -x_16 = lean_array_size(x_15); -x_17 = 0; -x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6_spec__7(x_1, x_2, x_16, x_17, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_18) == 0) -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) -{ -lean_object* x_20; -x_20 = lean_ctor_get(x_18, 0); -lean_ctor_set(x_3, 0, x_20); -lean_ctor_set(x_18, 0, x_3); -return x_18; -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_18, 0); -lean_inc(x_21); -lean_dec(x_18); -lean_ctor_set(x_3, 0, x_21); -x_22 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_22, 0, x_3); -return x_22; -} -} -else -{ -uint8_t x_23; -lean_free_object(x_3); -x_23 = !lean_is_exclusive(x_18); -if (x_23 == 0) -{ -return x_18; -} -else -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_18, 0); -lean_inc(x_24); -lean_dec(x_18); -x_25 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_25, 0, x_24); -return x_25; -} -} -} -else -{ -lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; -x_26 = lean_ctor_get(x_3, 0); -lean_inc(x_26); -lean_dec(x_3); -x_27 = lean_array_size(x_26); -x_28 = 0; -x_29 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6_spec__7(x_1, x_2, x_27, x_28, x_26, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - x_31 = x_29; -} else { - lean_dec_ref(x_29); - x_31 = lean_box(0); -} -x_32 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_32, 0, x_30); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 1, 0); -} else { - x_33 = x_31; -} -lean_ctor_set(x_33, 0, x_32); -return x_33; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_29, 0); -lean_inc(x_34); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - x_35 = x_29; -} else { - lean_dec_ref(x_29); - x_35 = lean_box(0); -} -if (lean_is_scalar(x_35)) { - x_36 = lean_alloc_ctor(1, 1, 0); -} else { - x_36 = x_35; -} -lean_ctor_set(x_36, 0, x_34); -return x_36; -} -} -} -else -{ -uint8_t x_37; -x_37 = !lean_is_exclusive(x_3); -if (x_37 == 0) -{ -lean_object* x_38; size_t x_39; size_t x_40; lean_object* x_41; -x_38 = lean_ctor_get(x_3, 0); -x_39 = lean_array_size(x_38); -x_40 = 0; -x_41 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__7(x_1, x_2, x_39, x_40, x_38, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_41) == 0) -{ -uint8_t x_42; -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) -{ -lean_object* x_43; -x_43 = lean_ctor_get(x_41, 0); -lean_ctor_set(x_3, 0, x_43); -lean_ctor_set(x_41, 0, x_3); -return x_41; -} -else -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_ctor_get(x_41, 0); -lean_inc(x_44); -lean_dec(x_41); -lean_ctor_set(x_3, 0, x_44); -x_45 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_45, 0, x_3); -return x_45; -} -} -else -{ -uint8_t x_46; -lean_free_object(x_3); -x_46 = !lean_is_exclusive(x_41); -if (x_46 == 0) -{ -return x_41; -} -else -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_41, 0); -lean_inc(x_47); -lean_dec(x_41); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -return x_48; -} -} -} -else -{ -lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_3, 0); -lean_inc(x_49); -lean_dec(x_3); -x_50 = lean_array_size(x_49); -x_51 = 0; -x_52 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__7(x_1, x_2, x_50, x_51, x_49, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_52) == 0) -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - x_54 = x_52; -} else { - lean_dec_ref(x_52); - x_54 = lean_box(0); -} -x_55 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_55, 0, x_53); -if (lean_is_scalar(x_54)) { - x_56 = lean_alloc_ctor(0, 1, 0); -} else { - x_56 = x_54; -} -lean_ctor_set(x_56, 0, x_55); -return x_56; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_52, 0); -lean_inc(x_57); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - x_58 = x_52; -} else { - lean_dec_ref(x_52); - x_58 = lean_box(0); -} -if (lean_is_scalar(x_58)) { - x_59 = lean_alloc_ctor(1, 1, 0); -} else { - x_59 = x_58; -} -lean_ctor_set(x_59, 0, x_57); -return x_59; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6_spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_4, x_3); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_17 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_17, 0, x_5); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_array_uget(x_5, x_4); -lean_inc(x_14); -lean_inc_ref(x_13); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc_ref(x_2); -lean_inc_ref(x_1); -x_19 = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6(x_1, x_2, x_18, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; size_t x_24; lean_object* x_25; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec_ref(x_19); -x_21 = lean_unsigned_to_nat(0u); -x_22 = lean_array_uset(x_5, x_4, x_21); -x_23 = 1; -x_24 = lean_usize_add(x_4, x_23); -x_25 = lean_array_uset(x_22, x_4, x_20); -x_4 = x_24; -x_5 = x_25; -goto _start; -} -else -{ -uint8_t x_27; -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec_ref(x_5); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_27 = !lean_is_exclusive(x_19); -if (x_27 == 0) -{ -return x_19; -} -else -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_19, 0); -lean_inc(x_28); -lean_dec(x_19); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_28); -return x_29; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; uint8_t x_18; lean_object* x_19; -x_16 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_17 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_18 = lean_unbox(x_6); -x_19 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6_spec__7(x_1, x_2, x_16, x_17, x_5, x_18, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -return x_19; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_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) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_4); -x_15 = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6(x_1, x_2, x_3, 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_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_14; -x_14 = !lean_is_exclusive(x_3); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_3, 0); -x_16 = lean_ctor_get(x_3, 1); -x_17 = lean_ctor_get(x_3, 2); -x_18 = lean_ctor_get(x_3, 3); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc_ref(x_2); -lean_inc_ref(x_1); -x_19 = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6(x_1, x_2, x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec_ref(x_19); -x_21 = lean_array_size(x_16); -x_22 = 0; -x_23 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__7(x_1, x_2, x_21, x_22, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_23) == 0) -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -lean_ctor_set(x_3, 1, x_25); -lean_ctor_set(x_3, 0, x_20); -lean_ctor_set(x_23, 0, x_3); -return x_23; -} -else -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -lean_dec(x_23); -lean_ctor_set(x_3, 1, x_26); -lean_ctor_set(x_3, 0, x_20); -x_27 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_27, 0, x_3); -return x_27; -} -} -else -{ -uint8_t x_28; -lean_dec(x_20); -lean_free_object(x_3); -lean_dec(x_18); -lean_dec(x_17); -x_28 = !lean_is_exclusive(x_23); -if (x_28 == 0) -{ -return x_23; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_23, 0); -lean_inc(x_29); -lean_dec(x_23); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_29); -return x_30; -} -} -} -else -{ -uint8_t x_31; -lean_free_object(x_3); -lean_dec(x_18); -lean_dec(x_17); -lean_dec_ref(x_16); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_31 = !lean_is_exclusive(x_19); -if (x_31 == 0) -{ -return x_19; -} -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_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -return x_33; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; size_t x_37; lean_object* x_38; lean_object* x_39; -x_34 = lean_ctor_get(x_3, 0); -x_35 = lean_ctor_get(x_3, 1); -x_36 = lean_ctor_get(x_3, 2); -x_37 = lean_ctor_get_usize(x_3, 4); -x_38 = lean_ctor_get(x_3, 3); -lean_inc(x_38); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_3); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc_ref(x_2); -lean_inc_ref(x_1); -x_39 = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__6(x_1, x_2, x_34, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -lean_dec_ref(x_39); -x_41 = lean_array_size(x_35); -x_42 = 0; -x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5_spec__7(x_1, x_2, x_41, x_42, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - x_45 = x_43; -} else { - lean_dec_ref(x_43); - x_45 = lean_box(0); -} -x_46 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(x_46, 0, x_40); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_46, 2, x_36); -lean_ctor_set(x_46, 3, x_38); -lean_ctor_set_usize(x_46, 4, x_37); -if (lean_is_scalar(x_45)) { - x_47 = lean_alloc_ctor(0, 1, 0); -} else { - x_47 = x_45; -} -lean_ctor_set(x_47, 0, x_46); -return x_47; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_dec(x_40); -lean_dec(x_38); -lean_dec(x_36); -x_48 = lean_ctor_get(x_43, 0); -lean_inc(x_48); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - x_49 = x_43; -} else { - lean_dec_ref(x_43); - x_49 = lean_box(0); -} -if (lean_is_scalar(x_49)) { - x_50 = lean_alloc_ctor(1, 1, 0); -} else { - x_50 = x_49; -} -lean_ctor_set(x_50, 0, x_48); -return x_50; -} -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -lean_dec(x_38); -lean_dec(x_36); -lean_dec_ref(x_35); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_51 = lean_ctor_get(x_39, 0); -lean_inc(x_51); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - x_52 = x_39; -} else { - lean_dec_ref(x_39); - x_52 = lean_box(0); -} -if (lean_is_scalar(x_52)) { - x_53 = lean_alloc_ctor(1, 1, 0); -} else { - x_53 = x_52; -} -lean_ctor_set(x_53, 0, x_51); -return x_53; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_4); -x_15 = l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5(x_1, x_2, x_3, 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___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_15; -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -x_15 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -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); -lean_dec_ref(x_15); -x_17 = lean_ctor_get(x_16, 2); -lean_inc_ref(x_17); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_4); -lean_inc_ref(x_3); -lean_inc(x_2); -x_18 = l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__5(x_16, x_9, x_17, x_10, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -lean_dec_ref(x_18); -x_20 = lean_alloc_closure((void*)(l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__1___boxed), 9, 2); -lean_closure_set(x_20, 0, x_12); -lean_closure_set(x_20, 1, x_19); -x_21 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_2); -return x_21; -} -else -{ -uint8_t x_22; -lean_dec_ref(x_12); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -x_22 = !lean_is_exclusive(x_18); -if (x_22 == 0) -{ -return x_18; -} -else -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_18, 0); -lean_inc(x_23); -lean_dec(x_18); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -return x_24; -} -} -} -else -{ -uint8_t x_25; -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -x_25 = !lean_is_exclusive(x_15); -if (x_25 == 0) -{ -return x_15; -} -else -{ -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_15, 0); -lean_inc(x_26); -lean_dec(x_15); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -return x_27; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_10); -x_16 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_11, x_12, x_13); -lean_dec(x_13); -return x_16; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Doc_name_spec__5_spec__7___redArg___closed__0; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec_ref(x_14); -x_16 = lean_ctor_get_uint8(x_15, sizeof(void*)*3); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; -lean_dec_ref(x_2); -x_17 = lean_box(x_3); -x_18 = lean_apply_10(x_1, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); -return x_18; -} -else -{ -lean_object* x_19; -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_19 = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg(x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec_ref(x_19); -x_21 = lean_box(x_3); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_22 = lean_apply_10(x_1, x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); -if (lean_obj_tag(x_22) == 0) -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_22, 0); -lean_inc(x_24); -lean_ctor_set_tag(x_22, 1); -x_25 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__0(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_2, x_3, x_4, x_20, x_22); -lean_dec_ref(x_22); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -lean_ctor_set(x_25, 0, x_24); -return x_25; -} -else -{ -lean_object* x_28; -lean_dec(x_25); -x_28 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_28, 0, x_24); -return x_28; -} -} -else -{ -uint8_t x_29; -lean_dec(x_24); -x_29 = !lean_is_exclusive(x_25); -if (x_29 == 0) -{ -return x_25; -} -else -{ -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_25, 0); -lean_inc(x_30); -lean_dec(x_25); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -return x_31; -} -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_22, 0); -lean_inc(x_32); -lean_dec(x_22); -lean_inc(x_32); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__0(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_2, x_3, x_4, x_20, x_33); -lean_dec_ref(x_33); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; lean_object* x_36; -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - x_35 = x_34; -} else { - lean_dec_ref(x_34); - x_35 = lean_box(0); -} -if (lean_is_scalar(x_35)) { - x_36 = lean_alloc_ctor(0, 1, 0); -} else { - x_36 = x_35; -} -lean_ctor_set(x_36, 0, x_32); -return x_36; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_32); -x_37 = lean_ctor_get(x_34, 0); -lean_inc(x_37); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - x_38 = x_34; -} else { - lean_dec_ref(x_34); - x_38 = lean_box(0); -} -if (lean_is_scalar(x_38)) { - x_39 = lean_alloc_ctor(1, 1, 0); -} else { - x_39 = x_38; -} -lean_ctor_set(x_39, 0, x_37); -return x_39; -} -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_22, 0); -lean_inc(x_40); -lean_dec_ref(x_22); -x_41 = lean_box(0); -x_42 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___lam__0(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_2, x_3, x_4, x_20, x_41); -if (lean_obj_tag(x_42) == 0) -{ -uint8_t x_43; -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) -{ -lean_object* x_44; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -lean_ctor_set_tag(x_42, 1); -lean_ctor_set(x_42, 0, x_40); -return x_42; -} -else -{ -lean_object* x_45; -lean_dec(x_42); -x_45 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_45, 0, x_40); -return x_45; -} -} -else -{ -uint8_t x_46; -lean_dec(x_40); -x_46 = !lean_is_exclusive(x_42); -if (x_46 == 0) -{ -return x_42; -} -else -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_42, 0); -lean_inc(x_47); -lean_dec(x_42); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -return x_48; -} -} -} -} -else -{ -uint8_t x_49; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_49 = !lean_is_exclusive(x_19); -if (x_49 == 0) -{ -return x_19; -} -else -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_19, 0); -lean_inc(x_50); -lean_dec(x_19); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_50); -return x_51; -} -} -} -} -else -{ -uint8_t x_52; -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_52 = !lean_is_exclusive(x_14); -if (x_52 == 0) -{ -return x_14; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_14, 0); -lean_inc(x_53); -lean_dec(x_14); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_53); -return x_54; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); -x_14 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_st_ref_get(x_4); -x_9 = lean_ctor_get(x_8, 0); -lean_inc_ref(x_9); -lean_dec(x_8); -x_10 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_10, 0, x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___lam__1(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_8; -} -} -static lean_object* _init_l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___lam__1___boxed), 7, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = l_Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19___closed__0; -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc_ref(x_2); -x_10 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec_ref(x_10); -x_12 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___closed__0; -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc_ref(x_2); -x_13 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec_ref(x_13); -x_15 = l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___closed__3; -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc_ref(x_2); -x_16 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -lean_dec_ref(x_16); -x_18 = l_Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9___closed__0; -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc_ref(x_2); -x_19 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -lean_dec_ref(x_19); -x_21 = l_Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9___closed__1; -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -lean_inc(x_3); -lean_inc_ref(x_2); -x_22 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_21, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -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, 0); -lean_inc(x_23); -lean_dec_ref(x_22); -x_24 = l_Lean_mkFreshId___at___00Lean_mkFreshFVarId___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_introduceAntiquotes_spec__0_spec__0___redArg___closed__0; -x_25 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_24, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_27 = lean_ctor_get(x_25, 0); -x_28 = lean_box(0); -x_29 = l_Lean_instInhabitedFileMap_default; -x_30 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_30, 0, x_11); -lean_ctor_set(x_30, 1, x_28); -lean_ctor_set(x_30, 2, x_29); -lean_ctor_set(x_30, 3, x_14); -lean_ctor_set(x_30, 4, x_17); -lean_ctor_set(x_30, 5, x_20); -lean_ctor_set(x_30, 6, x_23); -lean_ctor_set(x_30, 7, x_27); -lean_ctor_set(x_25, 0, x_30); -return x_25; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_31 = lean_ctor_get(x_25, 0); -lean_inc(x_31); -lean_dec(x_25); -x_32 = lean_box(0); -x_33 = l_Lean_instInhabitedFileMap_default; -x_34 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_34, 0, x_11); -lean_ctor_set(x_34, 1, x_32); -lean_ctor_set(x_34, 2, x_33); -lean_ctor_set(x_34, 3, x_14); -lean_ctor_set(x_34, 4, x_17); -lean_ctor_set(x_34, 5, x_20); -lean_ctor_set(x_34, 6, x_23); -lean_ctor_set(x_34, 7, x_31); -x_35 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_35, 0, x_34); -return x_35; -} -} -else -{ -uint8_t x_36; -lean_dec(x_23); -lean_dec(x_20); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_11); -x_36 = !lean_is_exclusive(x_25); -if (x_36 == 0) -{ -return x_25; -} -else -{ -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_25, 0); -lean_inc(x_37); -lean_dec(x_25); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_37); -return x_38; -} -} -} -else -{ -uint8_t x_39; -lean_dec(x_20); -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_39 = !lean_is_exclusive(x_22); -if (x_39 == 0) -{ -return x_22; -} -else -{ -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_22, 0); -lean_inc(x_40); -lean_dec(x_22); -x_41 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_41, 0, x_40); -return x_41; -} -} -} -else -{ -uint8_t x_42; -lean_dec(x_17); -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_42 = !lean_is_exclusive(x_19); -if (x_42 == 0) -{ -return x_19; -} -else -{ -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_19, 0); -lean_inc(x_43); -lean_dec(x_19); -x_44 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_44, 0, x_43); -return x_44; -} -} -} -else -{ -uint8_t x_45; -lean_dec(x_14); -lean_dec(x_11); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_45 = !lean_is_exclusive(x_16); -if (x_45 == 0) -{ -return x_16; -} -else -{ -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_16, 0); -lean_inc(x_46); -lean_dec(x_16); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_46); -return x_47; -} -} -} -else -{ -uint8_t x_48; -lean_dec(x_11); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_48 = !lean_is_exclusive(x_13); -if (x_48 == 0) -{ -return x_13; -} -else -{ -lean_object* x_49; lean_object* x_50; -x_49 = lean_ctor_get(x_13, 0); -lean_inc(x_49); -lean_dec(x_13); -x_50 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_50, 0, x_49); -return x_50; -} -} -} -else -{ -uint8_t x_51; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_51 = !lean_is_exclusive(x_10); -if (x_51 == 0) -{ -return x_10; -} -else -{ -lean_object* x_52; lean_object* x_53; -x_52 = lean_ctor_get(x_10, 0); -lean_inc(x_52); -lean_dec(x_10); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_52); -return x_53; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, 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_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_11; -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -lean_inc(x_5); -lean_inc_ref(x_4); -x_11 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec_ref(x_11); -x_13 = l_Lean_logAt___at___00Lean_log___at___00Lean_logWarning___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00Lean_unresolveNameGlobal___at___00Lean_unresolveNameGlobalAvoidingLocals___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_getQualified_spec__0_spec__1_spec__9_spec__19_spec__24_spec__28_spec__30___redArg___closed__1; -x_14 = l_Lean_Doc_instMonadLiftTermElabMDocM___private__1___redArg(x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -uint8_t x_16; -x_16 = !lean_is_exclusive(x_12); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_17 = lean_ctor_get(x_14, 0); -x_18 = lean_ctor_get(x_12, 2); -lean_dec(x_18); -x_19 = lean_ctor_get(x_12, 1); -lean_dec(x_19); -x_20 = lean_box(0); -lean_ctor_set(x_12, 2, x_17); -lean_ctor_set(x_12, 1, x_20); -lean_ctor_set(x_14, 0, x_12); -return x_14; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_21 = lean_ctor_get(x_14, 0); -x_22 = lean_ctor_get(x_12, 0); -x_23 = lean_ctor_get(x_12, 3); -x_24 = lean_ctor_get(x_12, 4); -x_25 = lean_ctor_get(x_12, 5); -x_26 = lean_ctor_get(x_12, 6); -x_27 = lean_ctor_get(x_12, 7); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_12); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_29, 0, x_22); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_29, 2, x_21); -lean_ctor_set(x_29, 3, x_23); -lean_ctor_set(x_29, 4, x_24); -lean_ctor_set(x_29, 5, x_25); -lean_ctor_set(x_29, 6, x_26); -lean_ctor_set(x_29, 7, x_27); -lean_ctor_set(x_14, 0, x_29); -return x_14; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_30 = lean_ctor_get(x_14, 0); -lean_inc(x_30); -lean_dec(x_14); -x_31 = lean_ctor_get(x_12, 0); -lean_inc_ref(x_31); -x_32 = lean_ctor_get(x_12, 3); -lean_inc_ref(x_32); -x_33 = lean_ctor_get(x_12, 4); -lean_inc_ref(x_33); -x_34 = lean_ctor_get(x_12, 5); -lean_inc(x_34); -x_35 = lean_ctor_get(x_12, 6); -lean_inc(x_35); -x_36 = lean_ctor_get(x_12, 7); -lean_inc_ref(x_36); -if (lean_is_exclusive(x_12)) { - lean_ctor_release(x_12, 0); - lean_ctor_release(x_12, 1); - lean_ctor_release(x_12, 2); - lean_ctor_release(x_12, 3); - lean_ctor_release(x_12, 4); - lean_ctor_release(x_12, 5); - lean_ctor_release(x_12, 6); - lean_ctor_release(x_12, 7); - x_37 = x_12; -} else { - lean_dec_ref(x_12); - x_37 = lean_box(0); -} -x_38 = lean_box(0); -if (lean_is_scalar(x_37)) { - x_39 = lean_alloc_ctor(0, 8, 0); -} else { - x_39 = x_37; -} -lean_ctor_set(x_39, 0, x_31); -lean_ctor_set(x_39, 1, x_38); -lean_ctor_set(x_39, 2, x_30); -lean_ctor_set(x_39, 3, x_32); -lean_ctor_set(x_39, 4, x_33); -lean_ctor_set(x_39, 5, x_34); -lean_ctor_set(x_39, 6, x_35); -lean_ctor_set(x_39, 7, x_36); -x_40 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_40, 0, x_39); -return x_40; -} -} -else -{ -uint8_t x_41; -lean_dec(x_12); -x_41 = !lean_is_exclusive(x_14); -if (x_41 == 0) -{ -return x_14; -} -else -{ -lean_object* x_42; lean_object* x_43; -x_42 = lean_ctor_get(x_14, 0); -lean_inc(x_42); -lean_dec(x_14); -x_43 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_43, 0, x_42); -return x_43; -} -} -} -else -{ -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_11; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); -x_12 = l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); -lean_dec(x_2); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_13); -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_11, 0, x_15); -return x_11; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_11, 0); -lean_inc(x_16); -lean_dec(x_11); -x_17 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_17, 0, x_16); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_18); -return x_19; -} -} -else -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_11); -if (x_20 == 0) -{ -return x_11; -} -else -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_11, 0); -lean_inc(x_21); -lean_dec(x_11); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); -return x_22; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); -x_12 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___lam__0(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); -lean_dec(x_2); -return x_12; -} -} -static lean_object* _init_l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___lam__0___boxed), 10, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___closed__0; -x_13 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg(x_1, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_2); -x_13 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} LEAN_EXPORT lean_object* l_Lean_Doc_leanRole(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -63995,7 +63758,7 @@ lean_inc(x_7); lean_inc_ref(x_6); lean_inc(x_5); lean_inc(x_4); -x_26 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_26 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg(x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_26) == 0) { lean_object* x_27; @@ -64006,7 +63769,7 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_27 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_27 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg(x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_27) == 0) { uint8_t x_28; @@ -64042,7 +63805,7 @@ else { lean_object* x_35; lean_free_object(x_27); -x_35 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_29, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_35 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(x_29, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_35) == 0) { uint8_t x_36; @@ -64154,7 +63917,7 @@ return x_67; else { lean_object* x_68; -x_68 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_61, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_68 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(x_61, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_68) == 0) { lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; @@ -64346,78 +64109,6 @@ lean_dec_ref(x_2); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); -x_14 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); -x_12 = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); -lean_dec(x_2); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_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) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_1); -x_12 = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_3); -lean_dec(x_2); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_14; -x_14 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_4); -x_15 = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2(x_1, x_2, x_3, 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_Lean_Doc_leanRole_getArgs(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -64708,7 +64399,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(1066u); +x_2 = lean_unsigned_to_nat(1068u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -64720,7 +64411,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(23u); -x_2 = lean_unsigned_to_nat(1066u); +x_2 = lean_unsigned_to_nat(1068u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -64965,7 +64656,7 @@ lean_inc(x_6); lean_inc_ref(x_5); lean_inc(x_4); lean_inc(x_3); -x_22 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_22 = l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg(x_21, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_22) == 0) { lean_object* x_23; @@ -64976,7 +64667,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_23 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__4___redArg(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_23 = l_Lean_Elab_getInfoTrees___at___00Lean_Doc_lean_spec__3___redArg(x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_23) == 0) { uint8_t x_24; @@ -65011,7 +64702,7 @@ else { lean_object* x_31; lean_free_object(x_23); -x_31 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_25, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_31 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(x_25, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_31) == 0) { uint8_t x_32; @@ -65031,7 +64722,7 @@ lean_ctor_set(x_37, 1, x_36); x_38 = l_Lean_TSyntax_getString(x_1); x_39 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_39, 0, x_38); -x_40 = l_Lean_Doc_lean___closed__15; +x_40 = l_Lean_Doc_lean___closed__2; x_41 = lean_array_push(x_40, x_39); x_42 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_42, 0, x_37); @@ -65056,7 +64747,7 @@ lean_ctor_set(x_47, 1, x_46); x_48 = l_Lean_TSyntax_getString(x_1); x_49 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_49, 0, x_48); -x_50 = l_Lean_Doc_lean___closed__15; +x_50 = l_Lean_Doc_lean___closed__2; x_51 = lean_array_push(x_50, x_49); x_52 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_52, 0, x_47); @@ -65119,7 +64810,7 @@ return x_63; else { lean_object* x_64; -x_64 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__5(x_57, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_64 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_highlightSyntax___at___00Lean_Doc_lean_spec__6(x_57, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(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; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; @@ -65143,7 +64834,7 @@ lean_ctor_set(x_70, 1, x_69); x_71 = l_Lean_TSyntax_getString(x_1); x_72 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_72, 0, x_71); -x_73 = l_Lean_Doc_lean___closed__15; +x_73 = l_Lean_Doc_lean___closed__2; x_74 = lean_array_push(x_73, x_72); x_75 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_75, 0, x_70); @@ -65520,7 +65211,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(1094u); +x_2 = lean_unsigned_to_nat(1096u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -65532,7 +65223,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(24u); -x_2 = lean_unsigned_to_nat(1094u); +x_2 = lean_unsigned_to_nat(1096u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -65733,7 +65424,7 @@ lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); lean_dec_ref(x_35); -x_37 = l_Lean_Parser_ParserState_setPos(x_33, x_34); +x_37 = l_Lean_Parser_ParserState_setPos(x_32, x_34); x_38 = lean_box(0); x_39 = lean_box(0); lean_inc(x_27); @@ -65743,8 +65434,8 @@ lean_ctor_set(x_40, 1, x_36); lean_ctor_set(x_40, 2, x_38); lean_ctor_set(x_40, 3, x_39); x_41 = l_Lean_Parser_getTokenTable(x_27); -lean_inc_ref(x_32); -x_42 = l_Lean_Parser_ParserFn_run(x_1, x_32, x_40, x_41, x_37); +lean_inc_ref(x_33); +x_42 = l_Lean_Parser_ParserFn_run(x_1, x_33, x_40, x_41, x_37); lean_inc_ref(x_42); x_43 = l_Lean_Parser_ParserState_allErrors(x_42); x_44 = l_Array_isEmpty___redArg(x_43); @@ -65753,7 +65444,7 @@ if (x_44 == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_inc_ref(x_42); -x_45 = l_Lean_Parser_ParserState_toErrorMsg(x_32, x_42); +x_45 = l_Lean_Parser_ParserState_toErrorMsg(x_33, x_42); x_46 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_46, 0, x_45); x_47 = l_Lean_MessageData_ofFormat(x_46); @@ -65792,7 +65483,7 @@ else lean_object* x_52; uint8_t x_53; x_52 = lean_ctor_get(x_42, 2); lean_inc(x_52); -x_53 = l_Lean_Parser_InputContext_atEnd(x_32, x_52); +x_53 = l_Lean_Parser_InputContext_atEnd(x_33, x_52); lean_dec(x_52); if (x_53 == 0) { @@ -65800,7 +65491,7 @@ lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean x_54 = l_Lean_Doc_parseStrLit___at___00Lean_Doc_tactic_spec__1___closed__0; lean_inc_ref(x_42); x_55 = l_Lean_Parser_ParserState_mkError(x_42, x_54); -x_56 = l_Lean_Parser_ParserState_toErrorMsg(x_32, x_55); +x_56 = l_Lean_Parser_ParserState_toErrorMsg(x_33, x_55); x_57 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_57, 0, x_56); x_58 = l_Lean_MessageData_ofFormat(x_57); @@ -65837,7 +65528,7 @@ return x_62; else { uint8_t x_63; -lean_dec_ref(x_32); +lean_dec_ref(x_33); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -65910,8 +65601,8 @@ lean_object* x_75; lean_object* x_76; x_75 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_strLitRange___redArg___closed__3; x_76 = l_panic___at___00__private_Lean_Elab_DocString_Builtin_Parsing_0__Lean_Doc_strLitRange___at___00Lean_Doc_parseStrLit___at___00Lean_Doc_tactic_spec__1_spec__3_spec__5(x_75); x_31 = lean_box(0); -x_32 = x_72; -x_33 = x_73; +x_32 = x_73; +x_33 = x_72; x_34 = x_76; goto block_67; } @@ -65922,8 +65613,8 @@ x_77 = lean_ctor_get(x_74, 0); lean_inc(x_77); lean_dec_ref(x_74); x_31 = lean_box(0); -x_32 = x_72; -x_33 = x_73; +x_32 = x_73; +x_33 = x_72; x_34 = x_77; goto block_67; } @@ -66305,13 +65996,13 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean x_19 = l_Lean_MessageData_ofFormat(x_18); x_20 = l_Lean_indentD(x_19); x_21 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_21, 0, x_17); +lean_ctor_set(x_21, 0, x_16); lean_ctor_set(x_21, 1, x_20); x_22 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__1; x_23 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_MessageData_ofExpr(x_16); +x_24 = l_Lean_MessageData_ofExpr(x_17); x_25 = l_Lean_indentD(x_24); x_26 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_26, 0, x_23); @@ -66351,8 +66042,8 @@ x_40 = lean_ctor_get(x_2, 0); x_41 = l_String_quote(x_40); lean_ctor_set_tag(x_2, 3); lean_ctor_set(x_2, 0, x_41); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_2; goto block_36; } @@ -66365,8 +66056,8 @@ lean_dec(x_2); x_43 = l_String_quote(x_42); x_44 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_44, 0, x_43); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_44; goto block_36; } @@ -66380,8 +66071,8 @@ if (x_45 == 0) { lean_object* x_46; x_46 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__8; -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_46; goto block_36; } @@ -66389,8 +66080,8 @@ else { lean_object* x_47; x_47 = l___private_Lean_Elab_SetOption_0__Lean_Elab_validateOptionValue_throwMistypedOptionValue___at___00Lean_Elab_validateOptionValue___at___00Lean_Doc_option_spec__1_spec__1___closed__9; -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_47; goto block_36; } @@ -66411,8 +66102,8 @@ lean_ctor_set(x_2, 0, x_52); x_53 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_53, 0, x_50); lean_ctor_set(x_53, 1, x_2); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_53; goto block_36; } @@ -66430,8 +66121,8 @@ lean_ctor_set(x_58, 0, x_57); x_59 = lean_alloc_ctor(5, 2, 0); lean_ctor_set(x_59, 0, x_55); lean_ctor_set(x_59, 1, x_58); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_59; goto block_36; } @@ -66446,8 +66137,8 @@ lean_object* x_61; lean_object* x_62; x_61 = lean_ctor_get(x_2, 0); x_62 = l_Nat_reprFast(x_61); lean_ctor_set(x_2, 0, x_62); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_2; goto block_36; } @@ -66460,8 +66151,8 @@ lean_dec(x_2); x_64 = l_Nat_reprFast(x_63); x_65 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_65, 0, x_64); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_65; goto block_36; } @@ -66484,8 +66175,8 @@ lean_dec(x_67); x_71 = l_Nat_reprFast(x_70); lean_ctor_set_tag(x_2, 3); lean_ctor_set(x_2, 0, x_71); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_2; goto block_36; } @@ -66505,8 +66196,8 @@ x_78 = lean_string_append(x_75, x_77); lean_dec_ref(x_77); lean_ctor_set_tag(x_2, 3); lean_ctor_set(x_2, 0, x_78); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_2; goto block_36; } @@ -66527,8 +66218,8 @@ lean_dec(x_79); x_83 = l_Nat_reprFast(x_82); x_84 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_84, 0, x_83); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_84; goto block_36; } @@ -66548,8 +66239,8 @@ x_91 = lean_string_append(x_88, x_90); lean_dec_ref(x_90); x_92 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_92, 0, x_91); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_92; goto block_36; } @@ -66564,8 +66255,8 @@ lean_dec_ref(x_2); x_94 = lean_box(0); x_95 = 0; x_96 = l_Lean_Syntax_formatStx(x_93, x_94, x_95); -x_16 = x_37; -x_17 = x_38; +x_16 = x_38; +x_17 = x_37; x_18 = x_96; goto block_36; } @@ -66991,7 +66682,7 @@ lean_dec(x_266); x_312 = l_Lean_Doc_option___closed__7; x_313 = l_Lean_Doc_option___closed__8; x_314 = lean_array_push(x_313, x_265); -x_315 = lean_array_push(x_314, x_310); +x_315 = lean_array_push(x_314, x_309); x_316 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_312, x_315, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); x_317 = !lean_is_exclusive(x_316); if (x_317 == 0) @@ -67024,7 +66715,7 @@ if (lean_is_scalar(x_266)) { } else { x_320 = x_266; } -lean_ctor_set(x_320, 0, x_310); +lean_ctor_set(x_320, 0, x_309); return x_320; } } @@ -67037,15 +66728,15 @@ if (x_324 == 0) uint8_t x_325; lean_inc_ref(x_322); x_325 = l_Lean_Exception_isRuntime(x_322); -x_309 = lean_box(0); -x_310 = x_322; +x_309 = x_322; +x_310 = lean_box(0); x_311 = x_325; goto block_321; } else { -x_309 = lean_box(0); -x_310 = x_322; +x_309 = x_322; +x_310 = lean_box(0); x_311 = x_324; goto block_321; } @@ -67242,13 +66933,13 @@ block_74: if (x_71 == 0) { lean_object* x_72; uint8_t x_73; -lean_dec_ref(x_70); -x_72 = l_Lean_Exception_getRef(x_69); +lean_dec_ref(x_69); +x_72 = l_Lean_Exception_getRef(x_68); x_73 = l_Lean_Syntax_isMissing(x_72); if (x_73 == 0) { lean_dec(x_67); -x_38 = x_69; +x_38 = x_68; x_39 = x_72; x_40 = x_4; x_41 = x_5; @@ -67263,7 +66954,7 @@ goto block_60; else { lean_dec(x_72); -x_38 = x_69; +x_38 = x_68; x_39 = x_67; x_40 = x_4; x_41 = x_5; @@ -67278,7 +66969,7 @@ goto block_60; } else { -lean_dec_ref(x_69); +lean_dec_ref(x_68); lean_dec_ref(x_9); lean_dec(x_67); lean_dec(x_13); @@ -67287,7 +66978,7 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -return x_70; +return x_69; } } block_80: @@ -67299,17 +66990,17 @@ if (x_78 == 0) uint8_t x_79; lean_inc_ref(x_76); x_79 = l_Lean_Exception_isRuntime(x_76); -x_68 = lean_box(0); -x_69 = x_76; -x_70 = x_75; +x_68 = x_76; +x_69 = x_75; +x_70 = lean_box(0); x_71 = x_79; goto block_74; } else { -x_68 = lean_box(0); -x_69 = x_76; -x_70 = x_75; +x_68 = x_76; +x_69 = x_75; +x_70 = lean_box(0); x_71 = x_78; goto block_74; } @@ -68319,7 +68010,7 @@ lean_dec(x_477); x_511 = l_Lean_Doc_option___closed__7; x_512 = l_Lean_Doc_option___closed__8; x_513 = lean_array_push(x_512, x_476); -x_514 = lean_array_push(x_513, x_509); +x_514 = lean_array_push(x_513, x_508); x_515 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_throwOrNest___redArg(x_511, x_514, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_374, x_10); x_516 = lean_ctor_get(x_515, 0); lean_inc(x_516); @@ -68353,7 +68044,7 @@ if (lean_is_scalar(x_477)) { } else { x_519 = x_477; } -lean_ctor_set(x_519, 0, x_509); +lean_ctor_set(x_519, 0, x_508); return x_519; } } @@ -68366,15 +68057,15 @@ if (x_523 == 0) uint8_t x_524; lean_inc_ref(x_521); x_524 = l_Lean_Exception_isRuntime(x_521); -x_508 = lean_box(0); -x_509 = x_521; +x_508 = x_521; +x_509 = lean_box(0); x_510 = x_524; goto block_520; } else { -x_508 = lean_box(0); -x_509 = x_521; +x_508 = x_521; +x_509 = lean_box(0); x_510 = x_523; goto block_520; } @@ -68515,13 +68206,13 @@ block_381: if (x_378 == 0) { lean_object* x_379; uint8_t x_380; -lean_dec_ref(x_377); -x_379 = l_Lean_Exception_getRef(x_376); +lean_dec_ref(x_376); +x_379 = l_Lean_Exception_getRef(x_375); x_380 = l_Lean_Syntax_isMissing(x_379); if (x_380 == 0) { lean_dec(x_373); -x_38 = x_376; +x_38 = x_375; x_39 = x_379; x_40 = x_4; x_41 = x_5; @@ -68536,7 +68227,7 @@ goto block_60; else { lean_dec(x_379); -x_38 = x_376; +x_38 = x_375; x_39 = x_373; x_40 = x_4; x_41 = x_5; @@ -68551,7 +68242,7 @@ goto block_60; } else { -lean_dec_ref(x_376); +lean_dec_ref(x_375); lean_dec_ref(x_374); lean_dec(x_373); lean_dec(x_13); @@ -68560,7 +68251,7 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); -return x_377; +return x_376; } } block_387: @@ -68572,17 +68263,17 @@ if (x_385 == 0) uint8_t x_386; lean_inc_ref(x_383); x_386 = l_Lean_Exception_isRuntime(x_383); -x_375 = lean_box(0); -x_376 = x_383; -x_377 = x_382; +x_375 = x_383; +x_376 = x_382; +x_377 = lean_box(0); x_378 = x_386; goto block_381; } else { -x_375 = lean_box(0); -x_376 = x_383; -x_377 = x_382; +x_375 = x_383; +x_376 = x_382; +x_377 = lean_box(0); x_378 = x_385; goto block_381; } @@ -69427,7 +69118,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(1122u); +x_2 = lean_unsigned_to_nat(1124u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -69439,7 +69130,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(18u); -x_2 = lean_unsigned_to_nat(1122u); +x_2 = lean_unsigned_to_nat(1124u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -71131,7 +70822,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(1200u); +x_2 = lean_unsigned_to_nat(1202u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -71143,7 +70834,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(18u); -x_2 = lean_unsigned_to_nat(1200u); +x_2 = lean_unsigned_to_nat(1202u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -72506,7 +72197,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(1219u); +x_2 = lean_unsigned_to_nat(1221u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -72518,7 +72209,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(18u); -x_2 = lean_unsigned_to_nat(1219u); +x_2 = lean_unsigned_to_nat(1221u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -76904,7 +76595,7 @@ return x_51; block_17: { lean_object* x_15; lean_object* x_16; -x_15 = l_Lean_Doc_lean___closed__14; +x_15 = l_Lean_Doc_lean___closed__1; x_16 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_16, 0, x_15); return x_16; @@ -78171,7 +77862,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(1239u); +x_2 = lean_unsigned_to_nat(1241u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -78183,7 +77874,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(21u); -x_2 = lean_unsigned_to_nat(1239u); +x_2 = lean_unsigned_to_nat(1241u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -78431,7 +78122,7 @@ lean_dec(x_48); x_49 = l_Lean_Options_set___at___00Lean_Doc_set__option_spec__0(x_45, x_31, x_2); lean_ctor_set(x_46, 4, x_49); x_50 = lean_st_ref_set(x_5, x_46); -x_51 = l_Lean_Doc_lean___closed__14; +x_51 = l_Lean_Doc_lean___closed__1; lean_ctor_set(x_43, 0, x_51); return x_43; } @@ -78455,7 +78146,7 @@ lean_ctor_set(x_57, 2, x_54); lean_ctor_set(x_57, 3, x_55); lean_ctor_set(x_57, 4, x_56); x_58 = lean_st_ref_set(x_5, x_57); -x_59 = l_Lean_Doc_lean___closed__14; +x_59 = l_Lean_Doc_lean___closed__1; lean_ctor_set(x_43, 0, x_59); return x_43; } @@ -78498,7 +78189,7 @@ lean_ctor_set(x_68, 2, x_64); lean_ctor_set(x_68, 3, x_65); lean_ctor_set(x_68, 4, x_67); x_69 = lean_st_ref_set(x_5, x_68); -x_70 = l_Lean_Doc_lean___closed__14; +x_70 = l_Lean_Doc_lean___closed__1; x_71 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_71, 0, x_70); return x_71; @@ -79564,7 +79255,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(1262u); +x_2 = lean_unsigned_to_nat(1264u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -79576,7 +79267,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(21u); -x_2 = lean_unsigned_to_nat(1262u); +x_2 = lean_unsigned_to_nat(1264u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -81018,7 +80709,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_unsigned_to_nat(1278u); +x_2 = lean_unsigned_to_nat(1280u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -81030,7 +80721,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(18u); -x_2 = lean_unsigned_to_nat(1278u); +x_2 = lean_unsigned_to_nat(1280u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -82017,7 +81708,7 @@ block_17: if (x_14 == 0) { lean_object* x_15; lean_object* x_16; -lean_dec_ref(x_13); +lean_dec_ref(x_12); x_15 = l_Lean_Doc_suggestName___closed__0; x_16 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_16, 0, x_15); @@ -82025,7 +81716,7 @@ return x_16; } else { -return x_13; +return x_12; } } block_23: @@ -82036,16 +81727,16 @@ if (x_21 == 0) { uint8_t x_22; x_22 = l_Lean_Exception_isRuntime(x_19); -x_12 = lean_box(0); -x_13 = x_18; +x_12 = x_18; +x_13 = lean_box(0); x_14 = x_22; goto block_17; } else { lean_dec_ref(x_19); -x_12 = lean_box(0); -x_13 = x_18; +x_12 = x_18; +x_13 = lean_box(0); x_14 = x_21; goto block_17; } @@ -82921,16 +82612,16 @@ if (x_35 == 0) { uint8_t x_36; x_36 = l_Lean_Exception_isRuntime(x_34); -x_12 = x_27; -x_13 = lean_box(0); +x_12 = lean_box(0); +x_13 = x_27; x_14 = x_36; goto block_17; } else { lean_dec(x_34); -x_12 = x_27; -x_13 = lean_box(0); +x_12 = lean_box(0); +x_13 = x_27; x_14 = x_35; goto block_17; } @@ -82949,16 +82640,16 @@ if (x_39 == 0) { uint8_t x_40; x_40 = l_Lean_Exception_isRuntime(x_37); -x_12 = x_38; -x_13 = lean_box(0); +x_12 = lean_box(0); +x_13 = x_38; x_14 = x_40; goto block_17; } else { lean_dec(x_37); -x_12 = x_38; -x_13 = lean_box(0); +x_12 = lean_box(0); +x_13 = x_38; x_14 = x_39; goto block_17; } @@ -83015,7 +82706,7 @@ block_17: if (x_14 == 0) { lean_object* x_15; lean_object* x_16; -lean_dec_ref(x_12); +lean_dec_ref(x_13); x_15 = l_Lean_Doc_suggestName___closed__0; x_16 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_16, 0, x_15); @@ -83023,7 +82714,7 @@ return x_16; } else { -return x_12; +return x_13; } } } @@ -83216,16 +82907,16 @@ if (x_36 == 0) { uint8_t x_37; x_37 = l_Lean_Exception_isRuntime(x_35); -x_12 = lean_box(0); -x_13 = x_28; +x_12 = x_28; +x_13 = lean_box(0); x_14 = x_37; goto block_17; } else { lean_dec(x_35); -x_12 = lean_box(0); -x_13 = x_28; +x_12 = x_28; +x_13 = lean_box(0); x_14 = x_36; goto block_17; } @@ -83244,16 +82935,16 @@ if (x_40 == 0) { uint8_t x_41; x_41 = l_Lean_Exception_isRuntime(x_38); -x_12 = lean_box(0); -x_13 = x_39; +x_12 = x_39; +x_13 = lean_box(0); x_14 = x_41; goto block_17; } else { lean_dec(x_38); -x_12 = lean_box(0); -x_13 = x_39; +x_12 = x_39; +x_13 = lean_box(0); x_14 = x_40; goto block_17; } @@ -83346,16 +83037,16 @@ if (x_56 == 0) { uint8_t x_57; x_57 = l_Lean_Exception_isRuntime(x_53); -x_12 = lean_box(0); -x_13 = x_55; +x_12 = x_55; +x_13 = lean_box(0); x_14 = x_57; goto block_17; } else { lean_dec(x_53); -x_12 = lean_box(0); -x_13 = x_55; +x_12 = x_55; +x_13 = lean_box(0); x_14 = x_56; goto block_17; } @@ -83379,7 +83070,7 @@ block_17: if (x_14 == 0) { lean_object* x_15; lean_object* x_16; -lean_dec_ref(x_13); +lean_dec_ref(x_12); x_15 = l_Lean_Doc_suggestName___closed__0; x_16 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_16, 0, x_15); @@ -83387,7 +83078,7 @@ return x_16; } else { -return x_13; +return x_12; } } } @@ -84276,7 +83967,7 @@ block_17: if (x_14 == 0) { lean_object* x_15; lean_object* x_16; -lean_dec_ref(x_13); +lean_dec_ref(x_12); x_15 = l_Lean_Doc_suggestName___closed__0; x_16 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_16, 0, x_15); @@ -84284,7 +83975,7 @@ return x_16; } else { -return x_13; +return x_12; } } block_23: @@ -84295,16 +83986,16 @@ if (x_21 == 0) { uint8_t x_22; x_22 = l_Lean_Exception_isRuntime(x_19); -x_12 = lean_box(0); -x_13 = x_18; +x_12 = x_18; +x_13 = lean_box(0); x_14 = x_22; goto block_17; } else { lean_dec_ref(x_19); -x_12 = lean_box(0); -x_13 = x_18; +x_12 = x_18; +x_13 = lean_box(0); x_14 = x_21; goto block_17; } @@ -86315,64 +86006,60 @@ l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___clo lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__4); l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5 = _init_l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5(); lean_mark_persistent(l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_lean_flagHint___redArg___closed__5); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__0); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__1); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__2(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__2); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__3(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__3); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__4(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__4); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__5(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__5); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__6 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__6(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__6); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__7 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__7(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__7); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__8 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__8(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__8); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__9 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__9(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__9); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__10 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__10(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__10); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__11 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__11(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__11); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__12 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__12(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__3_spec__5___closed__12); +l_Lean_Doc_lean___lam__3___closed__0 = _init_l_Lean_Doc_lean___lam__3___closed__0(); +lean_mark_persistent(l_Lean_Doc_lean___lam__3___closed__0); +l_Lean_Doc_lean___lam__3___closed__1 = _init_l_Lean_Doc_lean___lam__3___closed__1(); +lean_mark_persistent(l_Lean_Doc_lean___lam__3___closed__1); +l_Lean_Doc_lean___lam__3___closed__2 = _init_l_Lean_Doc_lean___lam__3___closed__2(); +lean_mark_persistent(l_Lean_Doc_lean___lam__3___closed__2); +l_Lean_Doc_lean___lam__3___closed__3 = _init_l_Lean_Doc_lean___lam__3___closed__3(); +lean_mark_persistent(l_Lean_Doc_lean___lam__3___closed__3); +l_Lean_Doc_lean___lam__3___closed__4 = _init_l_Lean_Doc_lean___lam__3___closed__4(); +lean_mark_persistent(l_Lean_Doc_lean___lam__3___closed__4); +l_Lean_Doc_lean___lam__3___closed__5 = _init_l_Lean_Doc_lean___lam__3___closed__5(); +lean_mark_persistent(l_Lean_Doc_lean___lam__3___closed__5); +l_Lean_Doc_lean___lam__3___closed__6 = _init_l_Lean_Doc_lean___lam__3___closed__6(); +lean_mark_persistent(l_Lean_Doc_lean___lam__3___closed__6); +l_Lean_Doc_lean___lam__3___closed__7 = _init_l_Lean_Doc_lean___lam__3___closed__7(); +lean_mark_persistent(l_Lean_Doc_lean___lam__3___closed__7); +l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___closed__0 = _init_l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__6_spec__10___redArg___closed__0); +l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___closed__0 = _init_l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4_spec__7_spec__12___redArg___closed__0); +l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___closed__0 = _init_l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_lean_spec__4___redArg___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__2(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__2); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__3(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__3); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__4(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__4); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__5(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__5); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__6 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__6(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__6); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__7 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__7(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__7); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__8 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__8(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__8); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__9 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__9(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__9); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__10 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__10(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__10); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__11 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__11(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__11); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__12 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__12(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_lean_spec__5_spec__9___closed__12); l_Lean_Doc_lean___closed__0 = _init_l_Lean_Doc_lean___closed__0(); lean_mark_persistent(l_Lean_Doc_lean___closed__0); l_Lean_Doc_lean___closed__1 = _init_l_Lean_Doc_lean___closed__1(); lean_mark_persistent(l_Lean_Doc_lean___closed__1); l_Lean_Doc_lean___closed__2 = _init_l_Lean_Doc_lean___closed__2(); lean_mark_persistent(l_Lean_Doc_lean___closed__2); -l_Lean_Doc_lean___closed__3 = _init_l_Lean_Doc_lean___closed__3(); -lean_mark_persistent(l_Lean_Doc_lean___closed__3); -l_Lean_Doc_lean___closed__4 = _init_l_Lean_Doc_lean___closed__4(); -lean_mark_persistent(l_Lean_Doc_lean___closed__4); -l_Lean_Doc_lean___closed__5 = _init_l_Lean_Doc_lean___closed__5(); -lean_mark_persistent(l_Lean_Doc_lean___closed__5); -l_Lean_Doc_lean___closed__6 = _init_l_Lean_Doc_lean___closed__6(); -lean_mark_persistent(l_Lean_Doc_lean___closed__6); -l_Lean_Doc_lean___closed__7 = _init_l_Lean_Doc_lean___closed__7(); -lean_mark_persistent(l_Lean_Doc_lean___closed__7); -l_Lean_Doc_lean___closed__8 = _init_l_Lean_Doc_lean___closed__8(); -lean_mark_persistent(l_Lean_Doc_lean___closed__8); -l_Lean_Doc_lean___closed__9 = _init_l_Lean_Doc_lean___closed__9(); -lean_mark_persistent(l_Lean_Doc_lean___closed__9); -l_Lean_Doc_lean___closed__10 = _init_l_Lean_Doc_lean___closed__10(); -lean_mark_persistent(l_Lean_Doc_lean___closed__10); -l_Lean_Doc_lean___closed__11 = _init_l_Lean_Doc_lean___closed__11(); -lean_mark_persistent(l_Lean_Doc_lean___closed__11); -l_Lean_Doc_lean___closed__12 = _init_l_Lean_Doc_lean___closed__12(); -lean_mark_persistent(l_Lean_Doc_lean___closed__12); -l_Lean_Doc_lean___closed__13 = _init_l_Lean_Doc_lean___closed__13(); -lean_mark_persistent(l_Lean_Doc_lean___closed__13); -l_Lean_Doc_lean___closed__14 = _init_l_Lean_Doc_lean___closed__14(); -lean_mark_persistent(l_Lean_Doc_lean___closed__14); -l_Lean_Doc_lean___closed__15 = _init_l_Lean_Doc_lean___closed__15(); -lean_mark_persistent(l_Lean_Doc_lean___closed__15); l_Lean_Doc_lean_getArgs___closed__0 = _init_l_Lean_Doc_lean_getArgs___closed__0(); lean_mark_persistent(l_Lean_Doc_lean_getArgs___closed__0); l_Lean_Doc_lean_getArgs___closed__1 = _init_l_Lean_Doc_lean_getArgs___closed__1(); @@ -86558,12 +86245,6 @@ l_Lean_Doc_leanRole___lam__2___closed__2 = _init_l_Lean_Doc_leanRole___lam__2___ lean_mark_persistent(l_Lean_Doc_leanRole___lam__2___closed__2); l_Lean_Doc_leanRole___lam__2___closed__3 = _init_l_Lean_Doc_leanRole___lam__2___closed__3(); lean_mark_persistent(l_Lean_Doc_leanRole___lam__2___closed__3); -l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___closed__0 = _init_l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___closed__0(); -lean_mark_persistent(l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__2_spec__4___redArg___closed__0); -l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___closed__0 = _init_l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___closed__0(); -lean_mark_persistent(l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1_spec__1_spec__2___redArg___closed__0); -l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___closed__0 = _init_l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___closed__0(); -lean_mark_persistent(l_Lean_Elab_withSaveInfoContext___at___00Lean_Doc_leanRole_spec__1___redArg___closed__0); l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__0 = _init_l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__0(); lean_mark_persistent(l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__0); l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__1 = _init_l_Lean_Doc_leanRole___regBuiltin_Lean_Doc_lean__3___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index 3a6737110d..805bf1a4fd 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -13,589 +13,637 @@ #ifdef __cplusplus extern "C" { #endif -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__6; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_elabLetRec_spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetRec___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_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__1; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__1; +LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___closed__0; +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_Format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Term_elabLetRec_spec__0(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26___redArg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__0; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__9; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__13___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_getParam_x3f___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__24; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__2___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__11; -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_isAbortExceptionId(lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStx(lean_object*, lean_object*, uint8_t); +static lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23___closed__0; +static lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_elabLetRec_spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25(lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__5; size_t lean_usize_shift_right(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__0; -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__19; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_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_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37___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_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__2; -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2; -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__9; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__0; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__6; +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20___redArg___boxed(lean_object*, lean_object*); lean_object* lean_private_to_user_name(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___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_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__6; static lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__0; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27___redArg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__0; extern lean_object* l_Lean_declRangeExt; -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1; -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__4; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___closed__0; +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls(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___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_header(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__4; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5___redArg(lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42___redArg___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isInterrupt(lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withAuxDecl___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__16; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__3; +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); -static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__6; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37___redArg___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_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__23; size_t lean_uint64_to_usize(uint64_t); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29___redArg___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__0; -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__11; -static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__3; -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39___redArg___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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__6; +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__4; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__16; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_findConstVal_x3f(lean_object*, lean_object*, uint8_t); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__13; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__13; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37___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_forallBoundedTelescope___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__3; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__6; -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__23; -LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40_spec__46___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_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__0; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__0; +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues___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___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39___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_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46___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_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg___boxed(lean_object*); -static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__4; +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_unknownIdentifierMessageTag; uint8_t lean_usize_dec_eq(size_t, size_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__10; +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__3; lean_object* l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(lean_object*); LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__4; +LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__13; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__13___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__4; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__10; -LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); -static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__5; uint8_t l_Lean_instBEqMessageSeverity_beq(uint8_t, uint8_t); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__25; +static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__12___redArg___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_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5(lean_object*, lean_object*, size_t, size_t); -static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__3; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__1; -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__12; +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_DeclarationRange_ofStringPositions(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__0; lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetRec___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__1___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__0; -LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__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_WellFounded_opaqueFix_u2083___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__0; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__7; -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__4; +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_note(lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__20; LEAN_EXPORT lean_object* l_Lean_Meta_withAuxDecl___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop_spec__0___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedEffectiveImport_default; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__0; +LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_doc_verso; uint8_t lean_string_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__14; -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__3(lean_object*, lean_object*); +static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec__1___closed__3; lean_object* l_Array_unzip___redArg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec__1(); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__17; +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__0___lam__0(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__2; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__2; -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19; +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Option_get___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__16; static lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec_declRange__3___closed__5; -static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__1; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__2; -static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__7; uint8_t lean_is_reserved_name(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___boxed(lean_object**); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_InternalExceptionId_getName(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__5; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__6; +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__22; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__1___redArg(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22___closed__0; -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0(lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__4; size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_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*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__17; -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_spec__5___redArg(lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__15; +static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__6; +static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__3(lean_object*, lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___closed__1; +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__14; +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_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_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__0; +static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetRec___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6(lean_object*, lean_object*, size_t, size_t); +static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__7; -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withAuxDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_expandMacroImpl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__2; lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withAuxDecl___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__0; uint8_t l_Lean_isMarkedMeta(lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__15; +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46___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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__2___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofSyntax(lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__12; -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__4; -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__19; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__25; +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__2; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__15; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__0; +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__17; +LEAN_EXPORT uint8_t l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0(uint8_t, uint8_t, lean_object*); lean_object* l_Lean_Elab_Term_expandOptType(lean_object*, lean_object*); -static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__5; -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__1; -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__9; -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__0; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__14; +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_toAttributeKind___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, 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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__2; lean_object* l_Lean_Syntax_getKind(lean_object*); -LEAN_EXPORT uint8_t l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0(uint8_t, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofFormat(lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__1; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__0; +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg(lean_object*, size_t, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__10; +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__0; +LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__21; +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__7; +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__17; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__11; +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__18; extern lean_object* l_Lean_indirectModUseExt; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40_spec__46(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); double lean_float_of_nat(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; -static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__2; +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__1; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__10; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__2___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19; +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__0___lam__0___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__3; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatch___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__14; +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__3; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20___redArg(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__3; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__1; -static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__0; -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__1; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__5; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__16; -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0; +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_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_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_privateToUserName(lean_object*); -static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__3; +LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42___redArg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__2; -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__15; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__2; +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0(lean_object*); -static double l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__0; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__12; lean_object* l_Lean_Syntax_getSepArgs(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg(lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__16; +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__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_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__1; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__9; +static lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___closed__0; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__14; extern lean_object* l_Lean_warningAsError; extern lean_object* l_Lean_Elab_pp_macroStack; -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__24; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__11; -LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__34___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_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__9; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_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_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec_declRange__3___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8___redArg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isIdent(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__34(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__5; -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34(lean_object*, lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18___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_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30(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_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_spec__6___redArg(lean_object*, lean_object*); lean_object* l_Lean_instBEqExtraModUse_beq___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__22; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_appendTR___redArg(lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__7; extern lean_object* l___private_Lean_ExtraModUses_0__Lean_extraModUses; -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withAuxDecl___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39(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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__1; static lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec_declRange__3___closed__0; -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__5; +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__12; lean_object* l_Lean_SimplePersistentEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__4; lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__20; +static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls___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_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__7; uint64_t l_Lean_instHashableExtraModUse_hash(lean_object*); -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__18; -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__1; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__8; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec__1___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(lean_object*, uint8_t); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__5; extern lean_object* l_Lean_Elab_TerminationHints_none; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__0; -static lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__0; -static lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__0; -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__0; -LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__11; +static lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2; +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__13; +LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__4; +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__5; +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__1; static lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls___redArg___closed__0; lean_object* l_Lean_Elab_TerminationHints_rememberExtraParams(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___closed__0; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__8; -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__12(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_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__1; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__9; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__15; +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_withAuxDecl___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop_spec__0(lean_object*, lean_object*, 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___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_regularInitAttr; -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___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_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__34(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_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__0; +static lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__2; lean_object* l_Lean_Elab_Term_addLocalVarInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__13; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__2___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__20; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec__1___closed__0; static lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec_declRange__3___closed__6; -static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__2; -static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__19(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_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__0; lean_object* l_Lean_Elab_Term_getDeclName_x3f___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__6; +LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40___boxed(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 size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9(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_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_beq___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshExprMVar(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_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_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26___redArg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__3; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__2; +static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__3; +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__2; +static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__4; +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__17; +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40_spec__46___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerCustomErrorIfMVar___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__9; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__9; lean_object* l_Lean_MapDeclarationExtension_insert___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__0___boxed(lean_object**); -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__4; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__7; lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__12___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___boxed(lean_object*, lean_object*, 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_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__1; uint64_t l_Lean_Name_hash___override(lean_object*); +static lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__12; +static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__0; +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg(); +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___boxed(lean_object*); uint64_t lean_uint64_xor(uint64_t, uint64_t); -static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__2; +static lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__0; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Term_elabLetRec_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_instBEqExtraModUse_beq(lean_object*, lean_object*); lean_object* l_Array_toSubarray___redArg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__16; +LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_reverse___redArg(lean_object*); +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__5; lean_object* l_Lean_Elab_Term_elabBindersEx___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(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_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__8; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__0; +static double l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__0; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__18; lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isPrivateName(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withAuxDecl___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop_spec__0___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__3; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__0; lean_object* l_Lean_PersistentEnvExtension_addEntry___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__1; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30___redArg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__15; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___closed__0; +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__8; lean_object* l_Lean_instHashableExtraModUse_hash___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__1; -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__21; -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___closed__0; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__8; lean_object* l_Lean_Elab_Term_withDeclName___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__7; static lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec_declRange__3___closed__3; -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__17; -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__6; -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__0; +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec_declRange__3___closed__1; size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__0(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_empty(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34(lean_object*, lean_object*, size_t, lean_object*); -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__5; -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___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_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__0; +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__8; lean_object* lean_array_uget(lean_object*, size_t); -static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3; +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__4(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__4; size_t lean_array_size(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__1___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__12; +static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__2; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__3; +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__5; size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__0; lean_object* l_Lean_Meta_getLocalInstances___redArg(lean_object*); -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__8; -LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__26___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___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_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__1; +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__10; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__3; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; lean_object* l_Lean_getAttributeImpl(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__1; +static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__5; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3; +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__13; +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__3; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__2; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__11; +LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___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_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec_declRange__3___closed__2; +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__1; +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__1; extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__18(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*); -static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg___closed__0; -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__20; +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__0; uint8_t l_List_any___redArg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__7; lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39___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_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__8; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__2; +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__3; lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__26(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__2___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__8; lean_object* l_Lean_Elab_Term_mkBodyInfo(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__1; -LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__10; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__2___lam__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* l_Lean_MessageData_ofName(lean_object*); +static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__1; extern lean_object* l_Lean_Options_empty; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_elabLetRecDeclValues_spec__2___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__4; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__6; -LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40_spec__46(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec_declRange__3(); lean_object* l_Lean_Name_hash___override___boxed(lean_object*); +static lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1; lean_object* l_Lean_mkLevelParam(lean_object*); -static lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__14; -lean_object* l_Lean_addDocString_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__18; +static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__2; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__1; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withInfoContext_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); -static lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__1; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__2; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__0; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__6; +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift___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_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_HashMap_instInhabited(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__5; static lean_object* l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec_declRange__3___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg___closed__0() { +LEAN_EXPORT uint8_t l_Lean_Option_get___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = lean_ctor_get(x_1, 0); +x_6 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(x_5, x_3); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = lean_unbox(x_4); +return x_7; +} +else +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec_ref(x_6); +if (lean_obj_tag(x_8) == 1) +{ +uint8_t x_9; +x_9 = lean_ctor_get_uint8(x_8, 0); +lean_dec_ref(x_8); +return x_9; +} +else +{ +uint8_t x_10; +lean_dec(x_8); +x_10 = lean_unbox(x_4); +return x_10; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Option_get___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(x_1, x_2); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg___closed__0() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -607,37 +655,37 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg() { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg() { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg___closed__0; +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg___closed__0; x_3 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_3, 0, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(); +x_2 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg(); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(); +x_9 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg(); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); @@ -647,7 +695,453 @@ lean_dec_ref(x_2); return x_9; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__0() { +static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("while expanding", 15, 15); +return x_1; +} +} +static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__0; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__1; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_dec_ref(x_1); +return x_2; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_ctor_get(x_3, 0); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_ctor_get(x_5, 1); +lean_dec(x_9); +lean_inc_ref(x_1); +lean_ctor_set_tag(x_5, 7); +lean_ctor_set(x_5, 1, x_1); +lean_ctor_set(x_5, 0, x_2); +x_10 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__2; +lean_ctor_set_tag(x_3, 7); +lean_ctor_set(x_3, 1, x_10); +x_11 = l_Lean_MessageData_ofSyntax(x_8); +x_12 = l_Lean_indentD(x_11); +x_13 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_13, 0, x_3); +lean_ctor_set(x_13, 1, x_12); +x_2 = x_13; +x_3 = x_7; +goto _start; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_3, 1); +x_16 = lean_ctor_get(x_5, 0); +lean_inc(x_16); +lean_dec(x_5); +lean_inc_ref(x_1); +x_17 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_1); +x_18 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__2; +lean_ctor_set_tag(x_3, 7); +lean_ctor_set(x_3, 1, x_18); +lean_ctor_set(x_3, 0, x_17); +x_19 = l_Lean_MessageData_ofSyntax(x_16); +x_20 = l_Lean_indentD(x_19); +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_3); +lean_ctor_set(x_21, 1, x_20); +x_2 = x_21; +x_3 = x_15; +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; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_23 = lean_ctor_get(x_3, 0); +x_24 = lean_ctor_get(x_3, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_3); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_26 = x_23; +} else { + lean_dec_ref(x_23); + x_26 = lean_box(0); +} +lean_inc_ref(x_1); +if (lean_is_scalar(x_26)) { + x_27 = lean_alloc_ctor(7, 2, 0); +} else { + x_27 = x_26; + lean_ctor_set_tag(x_27, 7); +} +lean_ctor_set(x_27, 0, x_2); +lean_ctor_set(x_27, 1, x_1); +x_28 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__2; +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_Lean_MessageData_ofSyntax(x_25); +x_31 = l_Lean_indentD(x_30); +x_32 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_31); +x_2 = x_32; +x_3 = x_24; +goto _start; +} +} +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(1); +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("with resulting expansion", 24, 24); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__2; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_3, 2); +x_6 = l_Lean_Elab_pp_macroStack; +x_7 = l_Lean_Option_get___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(x_5, x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_2); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_1); +return x_8; +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_9, 0, x_1); +return x_9; +} +else +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_ctor_get(x_2, 0); +lean_inc(x_10); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_12 = lean_ctor_get(x_10, 1); +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__0; +lean_ctor_set_tag(x_10, 7); +lean_ctor_set(x_10, 1, x_14); +lean_ctor_set(x_10, 0, x_1); +x_15 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__3; +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_MessageData_ofSyntax(x_12); +x_18 = l_Lean_indentD(x_17); +x_19 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27(x_14, x_19, x_2); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_dec(x_10); +x_23 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__0; +x_24 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__3; +x_26 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_Lean_MessageData_ofSyntax(x_22); +x_28 = l_Lean_indentD(x_27); +x_29 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_28); +x_30 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27(x_23, x_29, x_2); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_30); +return x_31; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___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_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg(x_1, x_2, x_3); +lean_dec_ref(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_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; lean_object* x_14; lean_object* x_15; +x_7 = lean_st_ref_get(x_5); +x_8 = lean_ctor_get(x_7, 0); +lean_inc_ref(x_8); +lean_dec(x_7); +x_9 = lean_st_ref_get(x_3); +x_10 = lean_ctor_get(x_9, 0); +lean_inc_ref(x_10); +lean_dec(x_9); +x_11 = lean_ctor_get(x_2, 2); +x_12 = lean_ctor_get(x_4, 2); +lean_inc_ref(x_12); +lean_inc_ref(x_11); +x_13 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_13, 0, x_8); +lean_ctor_set(x_13, 1, x_10); +lean_ctor_set(x_13, 2, x_11); +lean_ctor_set(x_13, 3, x_12); +x_14 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_1); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_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) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__17(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_ctor_get(x_6, 5); +x_10 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__17(x_1, x_4, x_5, x_6, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec_ref(x_10); +x_12 = lean_ctor_get(x_2, 1); +lean_inc(x_12); +lean_dec_ref(x_2); +lean_inc(x_12); +x_13 = l_Lean_Elab_getBetterRef(x_9, x_12); +x_14 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg(x_11, x_12, x_6); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_13); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set_tag(x_14, 1); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_13); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_7); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 5); +x_12 = l_Lean_replaceRef(x_1, x_11); +lean_dec(x_11); +lean_ctor_set(x_7, 5, x_12); +x_13 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_7); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_14 = lean_ctor_get(x_7, 0); +x_15 = lean_ctor_get(x_7, 1); +x_16 = lean_ctor_get(x_7, 2); +x_17 = lean_ctor_get(x_7, 3); +x_18 = lean_ctor_get(x_7, 4); +x_19 = lean_ctor_get(x_7, 5); +x_20 = lean_ctor_get(x_7, 6); +x_21 = lean_ctor_get(x_7, 7); +x_22 = lean_ctor_get(x_7, 8); +x_23 = lean_ctor_get(x_7, 9); +x_24 = lean_ctor_get(x_7, 10); +x_25 = lean_ctor_get(x_7, 11); +x_26 = lean_ctor_get_uint8(x_7, sizeof(void*)*14); +x_27 = lean_ctor_get(x_7, 12); +x_28 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); +x_29 = lean_ctor_get(x_7, 13); +lean_inc(x_29); +lean_inc(x_27); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_7); +x_30 = l_Lean_replaceRef(x_1, x_19); +lean_dec(x_19); +x_31 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_31, 0, x_14); +lean_ctor_set(x_31, 1, x_15); +lean_ctor_set(x_31, 2, x_16); +lean_ctor_set(x_31, 3, x_17); +lean_ctor_set(x_31, 4, x_18); +lean_ctor_set(x_31, 5, x_30); +lean_ctor_set(x_31, 6, x_20); +lean_ctor_set(x_31, 7, x_21); +lean_ctor_set(x_31, 8, x_22); +lean_ctor_set(x_31, 9, x_23); +lean_ctor_set(x_31, 10, x_24); +lean_ctor_set(x_31, 11, x_25); +lean_ctor_set(x_31, 12, x_27); +lean_ctor_set(x_31, 13, x_29); +lean_ctor_set_uint8(x_31, sizeof(void*)*14, x_26); +lean_ctor_set_uint8(x_31, sizeof(void*)*14 + 1, x_28); +x_32 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_2, x_3, x_4, x_5, x_6, x_31, x_8); +lean_dec_ref(x_31); +return x_32; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__0() { _start: { lean_object* x_1; @@ -655,26 +1149,26 @@ x_1 = lean_mk_string_unchecked("failed to infer 'let rec' declaration type", 42, return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__1() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__0; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__0; x_2 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__2() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__1; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__1; x_2 = l_Lean_MessageData_ofFormat(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_12; @@ -691,7 +1185,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); lean_dec_ref(x_12); -x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__2; +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__2; x_15 = l_Lean_Elab_Term_registerCustomErrorIfMVar___redArg(x_13, x_1, x_14, x_6); lean_dec(x_6); if (lean_obj_tag(x_15) == 0) @@ -873,18 +1367,6882 @@ return x_45; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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; uint8_t x_13; lean_object* x_14; x_12 = lean_unbox(x_2); x_13 = lean_unbox(x_3); -x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec_ref(x_4); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_spec__5___redArg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = 0; +x_5 = l_Lean_Syntax_getRange_x3f(x_1, x_4); +if (lean_obj_tag(x_5) == 1) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_7 = lean_ctor_get(x_5, 0); +x_8 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_8); +lean_dec_ref(x_2); +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_7, 1); +lean_inc(x_10); +lean_dec(x_7); +x_11 = l_Lean_DeclarationRange_ofStringPositions(x_8, x_9, x_10); +lean_dec(x_10); +lean_dec(x_9); +lean_ctor_set(x_5, 0, x_11); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_5); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_5, 0); +lean_inc(x_13); +lean_dec(x_5); +x_14 = lean_ctor_get(x_2, 1); +lean_inc_ref(x_14); +lean_dec_ref(x_2); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = l_Lean_DeclarationRange_ofStringPositions(x_14, x_15, x_16); +lean_dec(x_16); +lean_dec(x_15); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_5); +lean_dec_ref(x_2); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5___redArg(x_1, x_2); +lean_dec(x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__0; +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_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__1; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__1; +x_2 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +lean_ctor_set(x_2, 2, x_1); +lean_ctor_set(x_2, 3, x_1); +lean_ctor_set(x_2, 4, x_1); +lean_ctor_set(x_2, 5, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_6; +x_6 = l_Lean_Name_isAnonymous(x_1); +if (x_6 == 0) +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_st_ref_take(x_4); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 5); +lean_dec(x_10); +x_11 = l_Lean_declRangeExt; +x_12 = l_Lean_MapDeclarationExtension_insert___redArg(x_11, x_9, x_1, x_2); +x_13 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2; +lean_ctor_set(x_7, 5, x_13); +lean_ctor_set(x_7, 0, x_12); +x_14 = lean_st_ref_set(x_4, x_7); +x_15 = lean_st_ref_take(x_3); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_17 = lean_ctor_get(x_15, 1); +lean_dec(x_17); +x_18 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +lean_ctor_set(x_15, 1, x_18); +x_19 = lean_st_ref_set(x_3, x_15); +x_20 = lean_box(0); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_22 = lean_ctor_get(x_15, 0); +x_23 = lean_ctor_get(x_15, 2); +x_24 = lean_ctor_get(x_15, 3); +x_25 = lean_ctor_get(x_15, 4); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_15); +x_26 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +x_27 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_23); +lean_ctor_set(x_27, 3, x_24); +lean_ctor_set(x_27, 4, x_25); +x_28 = lean_st_ref_set(x_3, x_27); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_31 = lean_ctor_get(x_7, 0); +x_32 = lean_ctor_get(x_7, 1); +x_33 = lean_ctor_get(x_7, 2); +x_34 = lean_ctor_get(x_7, 3); +x_35 = lean_ctor_get(x_7, 4); +x_36 = lean_ctor_get(x_7, 6); +x_37 = lean_ctor_get(x_7, 7); +x_38 = lean_ctor_get(x_7, 8); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_7); +x_39 = l_Lean_declRangeExt; +x_40 = l_Lean_MapDeclarationExtension_insert___redArg(x_39, x_31, x_1, x_2); +x_41 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2; +x_42 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_32); +lean_ctor_set(x_42, 2, x_33); +lean_ctor_set(x_42, 3, x_34); +lean_ctor_set(x_42, 4, x_35); +lean_ctor_set(x_42, 5, x_41); +lean_ctor_set(x_42, 6, x_36); +lean_ctor_set(x_42, 7, x_37); +lean_ctor_set(x_42, 8, x_38); +x_43 = lean_st_ref_set(x_4, x_42); +x_44 = lean_st_ref_take(x_3); +x_45 = lean_ctor_get(x_44, 0); +lean_inc_ref(x_45); +x_46 = lean_ctor_get(x_44, 2); +lean_inc(x_46); +x_47 = lean_ctor_get(x_44, 3); +lean_inc_ref(x_47); +x_48 = lean_ctor_get(x_44, 4); +lean_inc_ref(x_48); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + lean_ctor_release(x_44, 2); + lean_ctor_release(x_44, 3); + lean_ctor_release(x_44, 4); + x_49 = x_44; +} else { + lean_dec_ref(x_44); + x_49 = lean_box(0); +} +x_50 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 5, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_45); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_51, 2, x_46); +lean_ctor_set(x_51, 3, x_47); +lean_ctor_set(x_51, 4, x_48); +x_52 = lean_st_ref_set(x_3, x_51); +x_53 = lean_box(0); +x_54 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_54, 0, x_53); +return x_54; +} +} +else +{ +lean_object* x_55; lean_object* x_56; +lean_dec_ref(x_2); +lean_dec(x_1); +x_55 = lean_box(0); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_55); +return x_56; +} +} +} +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; uint8_t x_12; +lean_inc_ref(x_8); +x_11 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5___redArg(x_2, x_8); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_11, 0); +if (lean_obj_tag(x_13) == 1) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_free_object(x_11); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec_ref(x_13); +x_15 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5___redArg(x_3, x_8); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec_ref(x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_inc(x_14); +x_17 = x_14; +goto block_20; +} +else +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_16, 0); +lean_inc(x_21); +lean_dec_ref(x_16); +x_17 = x_21; +goto block_20; +} +block_20: +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg(x_1, x_18, x_7, x_9); +return x_19; +} +} +else +{ +lean_object* x_22; +lean_dec(x_13); +lean_dec_ref(x_8); +lean_dec(x_1); +x_22 = lean_box(0); +lean_ctor_set(x_11, 0, x_22); +return x_11; +} +} +else +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_11, 0); +lean_inc(x_23); +lean_dec(x_11); +if (lean_obj_tag(x_23) == 1) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +lean_dec_ref(x_23); +x_25 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5___redArg(x_3, x_8); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +lean_dec_ref(x_25); +if (lean_obj_tag(x_26) == 0) +{ +lean_inc(x_24); +x_27 = x_24; +goto block_30; +} +else +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_26, 0); +lean_inc(x_31); +lean_dec_ref(x_26); +x_27 = x_31; +goto block_30; +} +block_30: +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_24); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg(x_1, x_28, x_7, x_9); +return x_29; +} +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_23); +lean_dec_ref(x_8); +lean_dec(x_1); +x_32 = lean_box(0); +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_32); +return x_33; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_9, 0, x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___lam__0___boxed(lean_object* x_1, lean_object* x_2, 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_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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_11; +x_11 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_2); +return x_11; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Parser", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Termination", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("suffix", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__3; +x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unexpected Termination.suffix syntax: ", 38, 38); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" of kind ", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("decreasingBy", 12, 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__7; +x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unexpected `decreasing_by` syntax", 33, 33); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__9; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("partialFixpoint", 15, 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__11; +x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("coinductiveFixpoint", 19, 19); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__13; +x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("inductiveFixpoint", 17, 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___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_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__15; +x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__18() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unexpected `termination_by` syntax", 34, 34); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__18; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("no extra parameters bounds, please omit the `=>`", 48, 48); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__20; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__22() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("terminationBy", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__22; +x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("terminationBy\?", 14, 14); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__24; +x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_9; uint8_t x_10; +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +x_9 = l_Lean_Elab_TerminationHints_none; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_dec(x_11); +lean_ctor_set(x_9, 0, x_1); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_9); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = lean_ctor_get(x_9, 1); +x_14 = lean_ctor_get(x_9, 2); +x_15 = lean_ctor_get(x_9, 3); +x_16 = lean_ctor_get(x_9, 4); +x_17 = lean_ctor_get(x_9, 5); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_9); +x_18 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_13); +lean_ctor_set(x_18, 2, x_14); +lean_ctor_set(x_18, 3, x_15); +lean_ctor_set(x_18, 4, x_16); +lean_ctor_set(x_18, 5, x_17); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +return x_19; +} +} +else +{ +lean_object* x_20; uint8_t x_21; +x_20 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__4; +lean_inc(x_1); +x_21 = l_Lean_Syntax_isOfKind(x_1, x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_22 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__5; +x_23 = lean_box(0); +lean_inc(x_1); +x_24 = l_Lean_Syntax_formatStx(x_1, x_23, x_21); +x_25 = l_Std_Format_defWidth; +x_26 = lean_unsigned_to_nat(0u); +x_27 = l_Std_Format_pretty(x_24, x_25, x_26, x_26); +x_28 = lean_string_append(x_22, x_27); +lean_dec_ref(x_27); +x_29 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__6; +x_30 = lean_string_append(x_28, x_29); +lean_inc(x_1); +x_31 = l_Lean_Syntax_getKind(x_1); +x_32 = 1; +x_33 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_31, x_32); +x_34 = lean_string_append(x_30, x_33); +lean_dec_ref(x_33); +x_35 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = l_Lean_MessageData_ofFormat(x_35); +x_37 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_1, x_36, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_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_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_212; lean_object* x_213; lean_object* x_214; uint8_t x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; uint8_t x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_401; lean_object* x_440; uint8_t x_441; +x_38 = lean_unsigned_to_nat(0u); +x_440 = l_Lean_Syntax_getArg(x_1, x_38); +x_441 = l_Lean_Syntax_isNone(x_440); +if (x_441 == 0) +{ +lean_object* x_442; uint8_t x_443; +x_442 = lean_unsigned_to_nat(1u); +lean_inc(x_440); +x_443 = l_Lean_Syntax_matchesNull(x_440, x_442); +if (x_443 == 0) +{ +lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; +lean_dec(x_440); +x_444 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__5; +x_445 = lean_box(0); +lean_inc(x_1); +x_446 = l_Lean_Syntax_formatStx(x_1, x_445, x_443); +x_447 = l_Std_Format_defWidth; +x_448 = l_Std_Format_pretty(x_446, x_447, x_38, x_38); +x_449 = lean_string_append(x_444, x_448); +lean_dec_ref(x_448); +x_450 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__6; +x_451 = lean_string_append(x_449, x_450); +lean_inc(x_1); +x_452 = l_Lean_Syntax_getKind(x_1); +x_453 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_452, x_21); +x_454 = lean_string_append(x_451, x_453); +lean_dec_ref(x_453); +x_455 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_455, 0, x_454); +x_456 = l_Lean_MessageData_ofFormat(x_455); +x_457 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_1, x_456, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_457; +} +else +{ +lean_object* x_458; lean_object* x_459; +x_458 = l_Lean_Syntax_getArg(x_440, x_38); +lean_dec(x_440); +x_459 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_459, 0, x_458); +x_401 = x_459; +goto block_439; +} +} +else +{ +lean_object* x_460; +lean_dec(x_440); +x_460 = lean_box(0); +x_401 = x_460; +goto block_439; +} +block_46: +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_44, 0, x_1); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_41); +lean_ctor_set(x_44, 3, x_42); +lean_ctor_set(x_44, 4, x_40); +lean_ctor_set(x_44, 5, x_38); +x_45 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_45, 0, x_44); +return x_45; +} +block_68: +{ +lean_object* x_58; +x_58 = lean_apply_7(x_57, x_48, x_56, x_51, x_53, x_54, x_50, lean_box(0)); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +lean_dec_ref(x_58); +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_59); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_61; +x_61 = lean_box(0); +x_39 = lean_box(0); +x_40 = x_60; +x_41 = x_47; +x_42 = x_55; +x_43 = x_61; +goto block_46; +} +else +{ +uint8_t x_62; +x_62 = !lean_is_exclusive(x_49); +if (x_62 == 0) +{ +x_39 = lean_box(0); +x_40 = x_60; +x_41 = x_47; +x_42 = x_55; +x_43 = x_49; +goto block_46; +} +else +{ +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_49, 0); +lean_inc(x_63); +lean_dec(x_49); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_63); +x_39 = lean_box(0); +x_40 = x_60; +x_41 = x_47; +x_42 = x_55; +x_43 = x_64; +goto block_46; +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_55); +lean_dec(x_49); +lean_dec(x_47); +lean_dec(x_1); +x_65 = !lean_is_exclusive(x_58); +if (x_65 == 0) +{ +return x_58; +} +else +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_58, 0); +lean_inc(x_66); +lean_dec(x_58); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_66); +return x_67; +} +} +} +block_76: +{ +lean_object* x_74; lean_object* x_75; +x_74 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_74, 0, x_1); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_69); +lean_ctor_set(x_74, 3, x_72); +lean_ctor_set(x_74, 4, x_70); +lean_ctor_set(x_74, 5, x_38); +x_75 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_75, 0, x_74); +return x_75; +} +block_101: +{ +if (lean_obj_tag(x_80) == 0) +{ +lean_object* x_89; +lean_dec(x_87); +lean_dec_ref(x_86); +lean_dec(x_85); +lean_dec_ref(x_84); +lean_dec(x_83); +lean_dec_ref(x_82); +x_89 = lean_box(0); +if (lean_obj_tag(x_78) == 0) +{ +x_69 = x_77; +x_70 = x_89; +x_71 = lean_box(0); +x_72 = x_81; +x_73 = x_89; +goto block_76; +} +else +{ +uint8_t x_90; +x_90 = !lean_is_exclusive(x_78); +if (x_90 == 0) +{ +x_69 = x_77; +x_70 = x_89; +x_71 = lean_box(0); +x_72 = x_81; +x_73 = x_78; +goto block_76; +} +else +{ +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_78, 0); +lean_inc(x_91); +lean_dec(x_78); +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_91); +x_69 = x_77; +x_70 = x_89; +x_71 = lean_box(0); +x_72 = x_81; +x_73 = x_92; +goto block_76; +} +} +} +else +{ +lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_93 = lean_ctor_get(x_80, 0); +lean_inc(x_93); +lean_dec_ref(x_80); +x_94 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__8; +lean_inc(x_93); +x_95 = l_Lean_Syntax_isOfKind(x_93, x_94); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; +x_96 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__10; +x_97 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___boxed), 10, 3); +lean_closure_set(x_97, 0, lean_box(0)); +lean_closure_set(x_97, 1, x_93); +lean_closure_set(x_97, 2, x_96); +x_47 = x_77; +x_48 = x_82; +x_49 = x_78; +x_50 = x_87; +x_51 = x_84; +x_52 = lean_box(0); +x_53 = x_85; +x_54 = x_86; +x_55 = x_81; +x_56 = x_83; +x_57 = x_97; +goto block_68; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = l_Lean_Syntax_getArg(x_93, x_79); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_93); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_alloc_closure((void*)(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___lam__0___boxed), 8, 1); +lean_closure_set(x_100, 0, x_99); +x_47 = x_77; +x_48 = x_82; +x_49 = x_78; +x_50 = x_87; +x_51 = x_84; +x_52 = lean_box(0); +x_53 = x_85; +x_54 = x_86; +x_55 = x_81; +x_56 = x_83; +x_57 = x_100; +goto block_68; +} +} +} +block_118: +{ +uint8_t x_115; lean_object* x_116; lean_object* x_117; +x_115 = 2; +x_116 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_116, 0, x_110); +lean_ctor_set(x_116, 1, x_114); +lean_ctor_set_uint8(x_116, sizeof(void*)*2, x_115); +x_117 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_117, 0, x_116); +x_77 = x_103; +x_78 = x_105; +x_79 = x_109; +x_80 = x_111; +x_81 = x_117; +x_82 = x_113; +x_83 = x_102; +x_84 = x_104; +x_85 = x_108; +x_86 = x_106; +x_87 = x_112; +x_88 = lean_box(0); +goto block_101; +} +block_135: +{ +uint8_t x_132; lean_object* x_133; lean_object* x_134; +x_132 = 1; +x_133 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_133, 0, x_127); +lean_ctor_set(x_133, 1, x_131); +lean_ctor_set_uint8(x_133, sizeof(void*)*2, x_132); +x_134 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_134, 0, x_133); +x_77 = x_120; +x_78 = x_122; +x_79 = x_126; +x_80 = x_128; +x_81 = x_134; +x_82 = x_130; +x_83 = x_119; +x_84 = x_121; +x_85 = x_125; +x_86 = x_123; +x_87 = x_129; +x_88 = lean_box(0); +goto block_101; +} +block_152: +{ +uint8_t x_149; lean_object* x_150; lean_object* x_151; +x_149 = 0; +x_150 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_150, 0, x_144); +lean_ctor_set(x_150, 1, x_148); +lean_ctor_set_uint8(x_150, sizeof(void*)*2, x_149); +x_151 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_151, 0, x_150); +x_77 = x_137; +x_78 = x_139; +x_79 = x_143; +x_80 = x_145; +x_81 = x_151; +x_82 = x_147; +x_83 = x_136; +x_84 = x_138; +x_85 = x_142; +x_86 = x_140; +x_87 = x_146; +x_88 = lean_box(0); +goto block_101; +} +block_196: +{ +lean_object* x_165; uint8_t x_166; +x_165 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__12; +lean_inc(x_156); +x_166 = l_Lean_Syntax_isOfKind(x_156, x_165); +if (x_166 == 0) +{ +lean_object* x_167; uint8_t x_168; +x_167 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__14; +lean_inc(x_156); +x_168 = l_Lean_Syntax_isOfKind(x_156, x_167); +if (x_168 == 0) +{ +lean_object* x_169; uint8_t x_170; +x_169 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__16; +lean_inc(x_156); +x_170 = l_Lean_Syntax_isOfKind(x_156, x_169); +if (x_170 == 0) +{ +lean_object* x_171; +lean_dec(x_156); +x_171 = lean_box(0); +x_77 = x_157; +x_78 = x_153; +x_79 = x_154; +x_80 = x_155; +x_81 = x_171; +x_82 = x_158; +x_83 = x_159; +x_84 = x_160; +x_85 = x_161; +x_86 = x_162; +x_87 = x_163; +x_88 = lean_box(0); +goto block_101; +} +else +{ +lean_object* x_172; uint8_t x_173; +x_172 = l_Lean_Syntax_getArg(x_156, x_154); +x_173 = l_Lean_Syntax_isNone(x_172); +if (x_173 == 0) +{ +lean_object* x_174; uint8_t x_175; +x_174 = lean_unsigned_to_nat(2u); +lean_inc(x_172); +x_175 = l_Lean_Syntax_matchesNull(x_172, x_174); +if (x_175 == 0) +{ +lean_object* x_176; +lean_dec(x_172); +lean_dec(x_156); +x_176 = lean_box(0); +x_77 = x_157; +x_78 = x_153; +x_79 = x_154; +x_80 = x_155; +x_81 = x_176; +x_82 = x_158; +x_83 = x_159; +x_84 = x_160; +x_85 = x_161; +x_86 = x_162; +x_87 = x_163; +x_88 = lean_box(0); +goto block_101; +} +else +{ +lean_object* x_177; lean_object* x_178; +x_177 = l_Lean_Syntax_getArg(x_172, x_154); +lean_dec(x_172); +x_178 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_178, 0, x_177); +x_102 = x_159; +x_103 = x_157; +x_104 = x_160; +x_105 = x_153; +x_106 = x_162; +x_107 = lean_box(0); +x_108 = x_161; +x_109 = x_154; +x_110 = x_156; +x_111 = x_155; +x_112 = x_163; +x_113 = x_158; +x_114 = x_178; +goto block_118; +} +} +else +{ +lean_object* x_179; +lean_dec(x_172); +x_179 = lean_box(0); +x_102 = x_159; +x_103 = x_157; +x_104 = x_160; +x_105 = x_153; +x_106 = x_162; +x_107 = lean_box(0); +x_108 = x_161; +x_109 = x_154; +x_110 = x_156; +x_111 = x_155; +x_112 = x_163; +x_113 = x_158; +x_114 = x_179; +goto block_118; +} +} +} +else +{ +lean_object* x_180; uint8_t x_181; +x_180 = l_Lean_Syntax_getArg(x_156, x_154); +x_181 = l_Lean_Syntax_isNone(x_180); +if (x_181 == 0) +{ +lean_object* x_182; uint8_t x_183; +x_182 = lean_unsigned_to_nat(2u); +lean_inc(x_180); +x_183 = l_Lean_Syntax_matchesNull(x_180, x_182); +if (x_183 == 0) +{ +lean_object* x_184; +lean_dec(x_180); +lean_dec(x_156); +x_184 = lean_box(0); +x_77 = x_157; +x_78 = x_153; +x_79 = x_154; +x_80 = x_155; +x_81 = x_184; +x_82 = x_158; +x_83 = x_159; +x_84 = x_160; +x_85 = x_161; +x_86 = x_162; +x_87 = x_163; +x_88 = lean_box(0); +goto block_101; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = l_Lean_Syntax_getArg(x_180, x_154); +lean_dec(x_180); +x_186 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_186, 0, x_185); +x_119 = x_159; +x_120 = x_157; +x_121 = x_160; +x_122 = x_153; +x_123 = x_162; +x_124 = lean_box(0); +x_125 = x_161; +x_126 = x_154; +x_127 = x_156; +x_128 = x_155; +x_129 = x_163; +x_130 = x_158; +x_131 = x_186; +goto block_135; +} +} +else +{ +lean_object* x_187; +lean_dec(x_180); +x_187 = lean_box(0); +x_119 = x_159; +x_120 = x_157; +x_121 = x_160; +x_122 = x_153; +x_123 = x_162; +x_124 = lean_box(0); +x_125 = x_161; +x_126 = x_154; +x_127 = x_156; +x_128 = x_155; +x_129 = x_163; +x_130 = x_158; +x_131 = x_187; +goto block_135; +} +} +} +else +{ +lean_object* x_188; uint8_t x_189; +x_188 = l_Lean_Syntax_getArg(x_156, x_154); +x_189 = l_Lean_Syntax_isNone(x_188); +if (x_189 == 0) +{ +lean_object* x_190; uint8_t x_191; +x_190 = lean_unsigned_to_nat(2u); +lean_inc(x_188); +x_191 = l_Lean_Syntax_matchesNull(x_188, x_190); +if (x_191 == 0) +{ +lean_object* x_192; +lean_dec(x_188); +lean_dec(x_156); +x_192 = lean_box(0); +x_77 = x_157; +x_78 = x_153; +x_79 = x_154; +x_80 = x_155; +x_81 = x_192; +x_82 = x_158; +x_83 = x_159; +x_84 = x_160; +x_85 = x_161; +x_86 = x_162; +x_87 = x_163; +x_88 = lean_box(0); +goto block_101; +} +else +{ +lean_object* x_193; lean_object* x_194; +x_193 = l_Lean_Syntax_getArg(x_188, x_154); +lean_dec(x_188); +x_194 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_194, 0, x_193); +x_136 = x_159; +x_137 = x_157; +x_138 = x_160; +x_139 = x_153; +x_140 = x_162; +x_141 = lean_box(0); +x_142 = x_161; +x_143 = x_154; +x_144 = x_156; +x_145 = x_155; +x_146 = x_163; +x_147 = x_158; +x_148 = x_194; +goto block_152; +} +} +else +{ +lean_object* x_195; +lean_dec(x_188); +x_195 = lean_box(0); +x_136 = x_159; +x_137 = x_157; +x_138 = x_160; +x_139 = x_153; +x_140 = x_162; +x_141 = lean_box(0); +x_142 = x_161; +x_143 = x_154; +x_144 = x_156; +x_145 = x_155; +x_146 = x_163; +x_147 = x_158; +x_148 = x_195; +goto block_152; +} +} +} +block_211: +{ +if (lean_obj_tag(x_200) == 1) +{ +lean_object* x_209; +x_209 = lean_ctor_get(x_200, 0); +lean_inc(x_209); +lean_dec_ref(x_200); +x_153 = x_197; +x_154 = x_198; +x_155 = x_199; +x_156 = x_209; +x_157 = x_201; +x_158 = x_202; +x_159 = x_203; +x_160 = x_204; +x_161 = x_205; +x_162 = x_206; +x_163 = x_207; +x_164 = lean_box(0); +goto block_196; +} +else +{ +lean_object* x_210; +lean_dec(x_200); +x_210 = lean_box(0); +x_77 = x_201; +x_78 = x_197; +x_79 = x_198; +x_80 = x_199; +x_81 = x_210; +x_82 = x_202; +x_83 = x_203; +x_84 = x_204; +x_85 = x_205; +x_86 = x_206; +x_87 = x_207; +x_88 = lean_box(0); +goto block_101; +} +} +block_230: +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; +x_227 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__17; +x_228 = lean_alloc_ctor(0, 3, 2); +lean_ctor_set(x_228, 0, x_222); +lean_ctor_set(x_228, 1, x_227); +lean_ctor_set(x_228, 2, x_225); +lean_ctor_set_uint8(x_228, sizeof(void*)*3, x_226); +lean_ctor_set_uint8(x_228, sizeof(void*)*3 + 1, x_215); +x_229 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_229, 0, x_228); +x_197 = x_220; +x_198 = x_213; +x_199 = x_214; +x_200 = x_223; +x_201 = x_229; +x_202 = x_221; +x_203 = x_212; +x_204 = x_216; +x_205 = x_224; +x_206 = x_217; +x_207 = x_218; +x_208 = lean_box(0); +goto block_211; +} +block_249: +{ +lean_object* x_247; lean_object* x_248; +x_247 = lean_alloc_ctor(0, 3, 2); +lean_ctor_set(x_247, 0, x_241); +lean_ctor_set(x_247, 1, x_243); +lean_ctor_set(x_247, 2, x_245); +lean_ctor_set_uint8(x_247, sizeof(void*)*3, x_246); +lean_ctor_set_uint8(x_247, sizeof(void*)*3 + 1, x_231); +x_248 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_248, 0, x_247); +x_197 = x_239; +x_198 = x_233; +x_199 = x_234; +x_200 = x_242; +x_201 = x_248; +x_202 = x_240; +x_203 = x_232; +x_204 = x_235; +x_205 = x_244; +x_206 = x_236; +x_207 = x_237; +x_208 = lean_box(0); +goto block_211; +} +block_284: +{ +lean_object* x_263; lean_object* x_264; uint8_t x_265; +x_263 = lean_unsigned_to_nat(2u); +x_264 = l_Lean_Syntax_getArg(x_255, x_263); +lean_inc(x_264); +x_265 = l_Lean_Syntax_matchesNull(x_264, x_263); +if (x_265 == 0) +{ +uint8_t x_266; +x_266 = l_Lean_Syntax_matchesNull(x_264, x_38); +if (x_266 == 0) +{ +lean_object* x_267; lean_object* x_268; uint8_t x_269; +lean_dec(x_262); +lean_dec(x_257); +lean_dec(x_254); +lean_dec(x_250); +lean_dec(x_1); +x_267 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19; +x_268 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_255, x_267, x_252, x_251, x_256, x_261, x_259, x_258); +lean_dec(x_258); +lean_dec(x_261); +lean_dec_ref(x_256); +lean_dec(x_251); +lean_dec(x_255); +x_269 = !lean_is_exclusive(x_268); +if (x_269 == 0) +{ +return x_268; +} +else +{ +lean_object* x_270; lean_object* x_271; +x_270 = lean_ctor_get(x_268, 0); +lean_inc(x_270); +lean_dec(x_268); +x_271 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_271, 0, x_270); +return x_271; +} +} +else +{ +lean_object* x_272; lean_object* x_273; +x_272 = lean_unsigned_to_nat(3u); +x_273 = l_Lean_Syntax_getArg(x_255, x_272); +if (lean_obj_tag(x_262) == 0) +{ +x_212 = x_251; +x_213 = x_253; +x_214 = x_254; +x_215 = x_265; +x_216 = x_256; +x_217 = x_259; +x_218 = x_258; +x_219 = lean_box(0); +x_220 = x_250; +x_221 = x_252; +x_222 = x_255; +x_223 = x_257; +x_224 = x_261; +x_225 = x_273; +x_226 = x_265; +goto block_230; +} +else +{ +lean_dec_ref(x_262); +x_212 = x_251; +x_213 = x_253; +x_214 = x_254; +x_215 = x_265; +x_216 = x_256; +x_217 = x_259; +x_218 = x_258; +x_219 = lean_box(0); +x_220 = x_250; +x_221 = x_252; +x_222 = x_255; +x_223 = x_257; +x_224 = x_261; +x_225 = x_273; +x_226 = x_266; +goto block_230; +} +} +} +else +{ +lean_object* x_274; uint8_t x_275; +x_274 = l_Lean_Syntax_getArg(x_264, x_38); +lean_dec(x_264); +lean_inc(x_274); +x_275 = l_Lean_Syntax_matchesNull(x_274, x_38); +if (x_275 == 0) +{ +lean_object* x_276; lean_object* x_277; lean_object* x_278; +x_276 = lean_unsigned_to_nat(3u); +x_277 = l_Lean_Syntax_getArg(x_255, x_276); +x_278 = l_Lean_Syntax_getArgs(x_274); +lean_dec(x_274); +if (lean_obj_tag(x_262) == 0) +{ +x_231 = x_275; +x_232 = x_251; +x_233 = x_253; +x_234 = x_254; +x_235 = x_256; +x_236 = x_259; +x_237 = x_258; +x_238 = lean_box(0); +x_239 = x_250; +x_240 = x_252; +x_241 = x_255; +x_242 = x_257; +x_243 = x_278; +x_244 = x_261; +x_245 = x_277; +x_246 = x_275; +goto block_249; +} +else +{ +lean_dec_ref(x_262); +x_231 = x_275; +x_232 = x_251; +x_233 = x_253; +x_234 = x_254; +x_235 = x_256; +x_236 = x_259; +x_237 = x_258; +x_238 = lean_box(0); +x_239 = x_250; +x_240 = x_252; +x_241 = x_255; +x_242 = x_257; +x_243 = x_278; +x_244 = x_261; +x_245 = x_277; +x_246 = x_265; +goto block_249; +} +} +else +{ +lean_object* x_279; lean_object* x_280; uint8_t x_281; +lean_dec(x_274); +lean_dec(x_262); +lean_dec(x_257); +lean_dec(x_254); +lean_dec(x_250); +lean_dec(x_1); +x_279 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__21; +x_280 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_255, x_279, x_252, x_251, x_256, x_261, x_259, x_258); +lean_dec(x_258); +lean_dec(x_261); +lean_dec_ref(x_256); +lean_dec(x_251); +lean_dec(x_255); +x_281 = !lean_is_exclusive(x_280); +if (x_281 == 0) +{ +return x_280; +} +else +{ +lean_object* x_282; lean_object* x_283; +x_282 = lean_ctor_get(x_280, 0); +lean_inc(x_282); +lean_dec(x_280); +x_283 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_283, 0, x_282); +return x_283; +} +} +} +} +block_297: +{ +lean_object* x_296; +x_296 = lean_box(0); +x_197 = x_285; +x_198 = x_288; +x_199 = x_289; +x_200 = x_291; +x_201 = x_296; +x_202 = x_287; +x_203 = x_286; +x_204 = x_290; +x_205 = x_295; +x_206 = x_293; +x_207 = x_292; +x_208 = lean_box(0); +goto block_211; +} +block_310: +{ +lean_object* x_309; +x_309 = lean_box(0); +x_197 = x_298; +x_198 = x_301; +x_199 = x_302; +x_200 = x_304; +x_201 = x_309; +x_202 = x_300; +x_203 = x_299; +x_204 = x_303; +x_205 = x_308; +x_206 = x_306; +x_207 = x_305; +x_208 = lean_box(0); +goto block_211; +} +block_323: +{ +lean_object* x_322; +x_322 = lean_box(0); +x_197 = x_311; +x_198 = x_314; +x_199 = x_315; +x_200 = x_317; +x_201 = x_322; +x_202 = x_313; +x_203 = x_312; +x_204 = x_316; +x_205 = x_321; +x_206 = x_319; +x_207 = x_318; +x_208 = lean_box(0); +goto block_211; +} +block_390: +{ +lean_object* x_336; uint8_t x_337; +x_336 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__23; +lean_inc(x_327); +x_337 = l_Lean_Syntax_isOfKind(x_327, x_336); +if (x_337 == 0) +{ +lean_object* x_338; uint8_t x_339; +x_338 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__25; +lean_inc(x_327); +x_339 = l_Lean_Syntax_isOfKind(x_327, x_338); +if (x_339 == 0) +{ +lean_object* x_340; uint8_t x_341; +x_340 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__12; +lean_inc(x_327); +x_341 = l_Lean_Syntax_isOfKind(x_327, x_340); +if (x_341 == 0) +{ +lean_object* x_342; uint8_t x_343; +x_342 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__14; +lean_inc(x_327); +x_343 = l_Lean_Syntax_isOfKind(x_327, x_342); +if (x_343 == 0) +{ +lean_object* x_344; uint8_t x_345; +x_344 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__16; +lean_inc(x_327); +x_345 = l_Lean_Syntax_isOfKind(x_327, x_344); +if (x_345 == 0) +{ +lean_object* x_346; lean_object* x_347; uint8_t x_348; +lean_dec(x_328); +lean_dec(x_326); +lean_dec(x_325); +lean_dec(x_1); +x_346 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19; +x_347 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_327, x_346, x_329, x_330, x_331, x_332, x_333, x_334); +lean_dec(x_334); +lean_dec(x_332); +lean_dec_ref(x_331); +lean_dec(x_330); +lean_dec(x_327); +x_348 = !lean_is_exclusive(x_347); +if (x_348 == 0) +{ +return x_347; +} +else +{ +lean_object* x_349; lean_object* x_350; +x_349 = lean_ctor_get(x_347, 0); +lean_inc(x_349); +lean_dec(x_347); +x_350 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_350, 0, x_349); +return x_350; +} +} +else +{ +lean_object* x_351; uint8_t x_352; +x_351 = l_Lean_Syntax_getArg(x_327, x_324); +x_352 = l_Lean_Syntax_isNone(x_351); +if (x_352 == 0) +{ +lean_object* x_353; uint8_t x_354; +x_353 = lean_unsigned_to_nat(2u); +x_354 = l_Lean_Syntax_matchesNull(x_351, x_353); +if (x_354 == 0) +{ +lean_object* x_355; lean_object* x_356; uint8_t x_357; +lean_dec(x_328); +lean_dec(x_326); +lean_dec(x_325); +lean_dec(x_1); +x_355 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19; +x_356 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_327, x_355, x_329, x_330, x_331, x_332, x_333, x_334); +lean_dec(x_334); +lean_dec(x_332); +lean_dec_ref(x_331); +lean_dec(x_330); +lean_dec(x_327); +x_357 = !lean_is_exclusive(x_356); +if (x_357 == 0) +{ +return x_356; +} +else +{ +lean_object* x_358; lean_object* x_359; +x_358 = lean_ctor_get(x_356, 0); +lean_inc(x_358); +lean_dec(x_356); +x_359 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_359, 0, x_358); +return x_359; +} +} +else +{ +lean_dec(x_327); +x_285 = x_328; +x_286 = x_330; +x_287 = x_329; +x_288 = x_324; +x_289 = x_325; +x_290 = x_331; +x_291 = x_326; +x_292 = x_334; +x_293 = x_333; +x_294 = lean_box(0); +x_295 = x_332; +goto block_297; +} +} +else +{ +lean_dec(x_351); +lean_dec(x_327); +x_285 = x_328; +x_286 = x_330; +x_287 = x_329; +x_288 = x_324; +x_289 = x_325; +x_290 = x_331; +x_291 = x_326; +x_292 = x_334; +x_293 = x_333; +x_294 = lean_box(0); +x_295 = x_332; +goto block_297; +} +} +} +else +{ +lean_object* x_360; uint8_t x_361; +x_360 = l_Lean_Syntax_getArg(x_327, x_324); +x_361 = l_Lean_Syntax_isNone(x_360); +if (x_361 == 0) +{ +lean_object* x_362; uint8_t x_363; +x_362 = lean_unsigned_to_nat(2u); +x_363 = l_Lean_Syntax_matchesNull(x_360, x_362); +if (x_363 == 0) +{ +lean_object* x_364; lean_object* x_365; uint8_t x_366; +lean_dec(x_328); +lean_dec(x_326); +lean_dec(x_325); +lean_dec(x_1); +x_364 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19; +x_365 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_327, x_364, x_329, x_330, x_331, x_332, x_333, x_334); +lean_dec(x_334); +lean_dec(x_332); +lean_dec_ref(x_331); +lean_dec(x_330); +lean_dec(x_327); +x_366 = !lean_is_exclusive(x_365); +if (x_366 == 0) +{ +return x_365; +} +else +{ +lean_object* x_367; lean_object* x_368; +x_367 = lean_ctor_get(x_365, 0); +lean_inc(x_367); +lean_dec(x_365); +x_368 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_368, 0, x_367); +return x_368; +} +} +else +{ +lean_dec(x_327); +x_298 = x_328; +x_299 = x_330; +x_300 = x_329; +x_301 = x_324; +x_302 = x_325; +x_303 = x_331; +x_304 = x_326; +x_305 = x_334; +x_306 = x_333; +x_307 = lean_box(0); +x_308 = x_332; +goto block_310; +} +} +else +{ +lean_dec(x_360); +lean_dec(x_327); +x_298 = x_328; +x_299 = x_330; +x_300 = x_329; +x_301 = x_324; +x_302 = x_325; +x_303 = x_331; +x_304 = x_326; +x_305 = x_334; +x_306 = x_333; +x_307 = lean_box(0); +x_308 = x_332; +goto block_310; +} +} +} +else +{ +lean_object* x_369; uint8_t x_370; +x_369 = l_Lean_Syntax_getArg(x_327, x_324); +x_370 = l_Lean_Syntax_isNone(x_369); +if (x_370 == 0) +{ +lean_object* x_371; uint8_t x_372; +x_371 = lean_unsigned_to_nat(2u); +x_372 = l_Lean_Syntax_matchesNull(x_369, x_371); +if (x_372 == 0) +{ +lean_object* x_373; lean_object* x_374; uint8_t x_375; +lean_dec(x_328); +lean_dec(x_326); +lean_dec(x_325); +lean_dec(x_1); +x_373 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19; +x_374 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_327, x_373, x_329, x_330, x_331, x_332, x_333, x_334); +lean_dec(x_334); +lean_dec(x_332); +lean_dec_ref(x_331); +lean_dec(x_330); +lean_dec(x_327); +x_375 = !lean_is_exclusive(x_374); +if (x_375 == 0) +{ +return x_374; +} +else +{ +lean_object* x_376; lean_object* x_377; +x_376 = lean_ctor_get(x_374, 0); +lean_inc(x_376); +lean_dec(x_374); +x_377 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_377, 0, x_376); +return x_377; +} +} +else +{ +lean_dec(x_327); +x_311 = x_328; +x_312 = x_330; +x_313 = x_329; +x_314 = x_324; +x_315 = x_325; +x_316 = x_331; +x_317 = x_326; +x_318 = x_334; +x_319 = x_333; +x_320 = lean_box(0); +x_321 = x_332; +goto block_323; +} +} +else +{ +lean_dec(x_369); +lean_dec(x_327); +x_311 = x_328; +x_312 = x_330; +x_313 = x_329; +x_314 = x_324; +x_315 = x_325; +x_316 = x_331; +x_317 = x_326; +x_318 = x_334; +x_319 = x_333; +x_320 = lean_box(0); +x_321 = x_332; +goto block_323; +} +} +} +else +{ +lean_object* x_378; +lean_dec(x_326); +x_378 = lean_box(0); +x_153 = x_328; +x_154 = x_324; +x_155 = x_325; +x_156 = x_327; +x_157 = x_378; +x_158 = x_329; +x_159 = x_330; +x_160 = x_331; +x_161 = x_332; +x_162 = x_333; +x_163 = x_334; +x_164 = lean_box(0); +goto block_196; +} +} +else +{ +lean_object* x_379; uint8_t x_380; +x_379 = l_Lean_Syntax_getArg(x_327, x_324); +x_380 = l_Lean_Syntax_isNone(x_379); +if (x_380 == 0) +{ +uint8_t x_381; +lean_inc(x_379); +x_381 = l_Lean_Syntax_matchesNull(x_379, x_324); +if (x_381 == 0) +{ +lean_object* x_382; lean_object* x_383; uint8_t x_384; +lean_dec(x_379); +lean_dec(x_328); +lean_dec(x_326); +lean_dec(x_325); +lean_dec(x_1); +x_382 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19; +x_383 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_327, x_382, x_329, x_330, x_331, x_332, x_333, x_334); +lean_dec(x_334); +lean_dec(x_332); +lean_dec_ref(x_331); +lean_dec(x_330); +lean_dec(x_327); +x_384 = !lean_is_exclusive(x_383); +if (x_384 == 0) +{ +return x_383; +} +else +{ +lean_object* x_385; lean_object* x_386; +x_385 = lean_ctor_get(x_383, 0); +lean_inc(x_385); +lean_dec(x_383); +x_386 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_386, 0, x_385); +return x_386; +} +} +else +{ +lean_object* x_387; lean_object* x_388; +x_387 = l_Lean_Syntax_getArg(x_379, x_38); +lean_dec(x_379); +x_388 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_388, 0, x_387); +x_250 = x_328; +x_251 = x_330; +x_252 = x_329; +x_253 = x_324; +x_254 = x_325; +x_255 = x_327; +x_256 = x_331; +x_257 = x_326; +x_258 = x_334; +x_259 = x_333; +x_260 = lean_box(0); +x_261 = x_332; +x_262 = x_388; +goto block_284; +} +} +else +{ +lean_object* x_389; +lean_dec(x_379); +x_389 = lean_box(0); +x_250 = x_328; +x_251 = x_330; +x_252 = x_329; +x_253 = x_324; +x_254 = x_325; +x_255 = x_327; +x_256 = x_331; +x_257 = x_326; +x_258 = x_334; +x_259 = x_333; +x_260 = lean_box(0); +x_261 = x_332; +x_262 = x_389; +goto block_284; +} +} +} +block_400: +{ +if (lean_obj_tag(x_392) == 1) +{ +lean_object* x_394; lean_object* x_395; uint8_t x_396; +x_394 = lean_ctor_get(x_392, 0); +lean_inc(x_394); +x_395 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__25; +lean_inc(x_394); +x_396 = l_Lean_Syntax_isOfKind(x_394, x_395); +if (x_396 == 0) +{ +lean_object* x_397; +x_397 = lean_box(0); +x_324 = x_391; +x_325 = x_393; +x_326 = x_392; +x_327 = x_394; +x_328 = x_397; +x_329 = x_2; +x_330 = x_3; +x_331 = x_4; +x_332 = x_5; +x_333 = x_6; +x_334 = x_7; +x_335 = lean_box(0); +goto block_390; +} +else +{ +lean_inc_ref(x_392); +x_324 = x_391; +x_325 = x_393; +x_326 = x_392; +x_327 = x_394; +x_328 = x_392; +x_329 = x_2; +x_330 = x_3; +x_331 = x_4; +x_332 = x_5; +x_333 = x_6; +x_334 = x_7; +x_335 = lean_box(0); +goto block_390; +} +} +else +{ +lean_object* x_398; +x_398 = lean_box(0); +if (lean_obj_tag(x_392) == 1) +{ +lean_object* x_399; +x_399 = lean_ctor_get(x_392, 0); +lean_inc(x_399); +x_324 = x_391; +x_325 = x_393; +x_326 = x_392; +x_327 = x_399; +x_328 = x_398; +x_329 = x_2; +x_330 = x_3; +x_331 = x_4; +x_332 = x_5; +x_333 = x_6; +x_334 = x_7; +x_335 = lean_box(0); +goto block_390; +} +else +{ +x_197 = x_398; +x_198 = x_391; +x_199 = x_393; +x_200 = x_392; +x_201 = x_398; +x_202 = x_2; +x_203 = x_3; +x_204 = x_4; +x_205 = x_5; +x_206 = x_6; +x_207 = x_7; +x_208 = lean_box(0); +goto block_211; +} +} +} +block_439: +{ +lean_object* x_402; lean_object* x_403; uint8_t x_404; +x_402 = lean_unsigned_to_nat(1u); +x_403 = l_Lean_Syntax_getArg(x_1, x_402); +x_404 = l_Lean_Syntax_isNone(x_403); +if (x_404 == 0) +{ +uint8_t x_405; +lean_inc(x_403); +x_405 = l_Lean_Syntax_matchesNull(x_403, x_402); +if (x_405 == 0) +{ +lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; +lean_dec(x_403); +lean_dec(x_401); +x_406 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__5; +x_407 = lean_box(0); +lean_inc(x_1); +x_408 = l_Lean_Syntax_formatStx(x_1, x_407, x_405); +x_409 = l_Std_Format_defWidth; +x_410 = l_Std_Format_pretty(x_408, x_409, x_38, x_38); +x_411 = lean_string_append(x_406, x_410); +lean_dec_ref(x_410); +x_412 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__6; +x_413 = lean_string_append(x_411, x_412); +lean_inc(x_1); +x_414 = l_Lean_Syntax_getKind(x_1); +x_415 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_414, x_21); +x_416 = lean_string_append(x_413, x_415); +lean_dec_ref(x_415); +x_417 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_417, 0, x_416); +x_418 = l_Lean_MessageData_ofFormat(x_417); +x_419 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_1, x_418, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_419; +} +else +{ +lean_object* x_420; lean_object* x_421; uint8_t x_422; +x_420 = l_Lean_Syntax_getArg(x_403, x_38); +lean_dec(x_403); +x_421 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__8; +lean_inc(x_420); +x_422 = l_Lean_Syntax_isOfKind(x_420, x_421); +if (x_422 == 0) +{ +lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; +lean_dec(x_420); +lean_dec(x_401); +x_423 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__5; +x_424 = lean_box(0); +lean_inc(x_1); +x_425 = l_Lean_Syntax_formatStx(x_1, x_424, x_422); +x_426 = l_Std_Format_defWidth; +x_427 = l_Std_Format_pretty(x_425, x_426, x_38, x_38); +x_428 = lean_string_append(x_423, x_427); +lean_dec_ref(x_427); +x_429 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__6; +x_430 = lean_string_append(x_428, x_429); +lean_inc(x_1); +x_431 = l_Lean_Syntax_getKind(x_1); +x_432 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_431, x_405); +x_433 = lean_string_append(x_430, x_432); +lean_dec_ref(x_432); +x_434 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_434, 0, x_433); +x_435 = l_Lean_MessageData_ofFormat(x_434); +x_436 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_1, x_435, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_436; +} +else +{ +lean_object* x_437; +x_437 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_437, 0, x_420); +x_391 = x_402; +x_392 = x_401; +x_393 = x_437; +goto block_400; +} +} +} +else +{ +lean_object* x_438; +lean_dec(x_403); +x_438 = lean_box(0); +x_391 = x_402; +x_392 = x_401; +x_393 = x_438; +goto block_400; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +static double _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__0() { +_start: +{ +lean_object* x_1; double x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_float_of_nat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("", 0, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_ctor_get(x_5, 5); +x_9 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__17(x_2, x_3, x_4, x_5, x_6); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_st_ref_take(x_6); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_12, 4); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; double x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__0; +x_18 = 0; +x_19 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1; +x_20 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_20, 0, x_1); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set_float(x_20, sizeof(void*)*2, x_17); +lean_ctor_set_float(x_20, sizeof(void*)*2 + 8, x_17); +lean_ctor_set_uint8(x_20, sizeof(void*)*2 + 16, x_18); +x_21 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__2; +x_22 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_11); +lean_ctor_set(x_22, 2, x_21); +lean_inc(x_8); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_8); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_PersistentArray_push___redArg(x_16, x_23); +lean_ctor_set(x_14, 0, x_24); +x_25 = lean_st_ref_set(x_6, x_12); +x_26 = lean_box(0); +lean_ctor_set(x_9, 0, x_26); +return x_9; +} +else +{ +uint64_t x_27; lean_object* x_28; double x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_27 = lean_ctor_get_uint64(x_14, sizeof(void*)*1); +x_28 = lean_ctor_get(x_14, 0); +lean_inc(x_28); +lean_dec(x_14); +x_29 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__0; +x_30 = 0; +x_31 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1; +x_32 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_32, 0, x_1); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set_float(x_32, sizeof(void*)*2, x_29); +lean_ctor_set_float(x_32, sizeof(void*)*2 + 8, x_29); +lean_ctor_set_uint8(x_32, sizeof(void*)*2 + 16, x_30); +x_33 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__2; +x_34 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_11); +lean_ctor_set(x_34, 2, x_33); +lean_inc(x_8); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_8); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_PersistentArray_push___redArg(x_28, x_35); +x_37 = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set_uint64(x_37, sizeof(void*)*1, x_27); +lean_ctor_set(x_12, 4, x_37); +x_38 = lean_st_ref_set(x_6, x_12); +x_39 = lean_box(0); +lean_ctor_set(x_9, 0, x_39); +return x_9; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint64_t x_49; lean_object* x_50; lean_object* x_51; double x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_40 = lean_ctor_get(x_12, 4); +x_41 = lean_ctor_get(x_12, 0); +x_42 = lean_ctor_get(x_12, 1); +x_43 = lean_ctor_get(x_12, 2); +x_44 = lean_ctor_get(x_12, 3); +x_45 = lean_ctor_get(x_12, 5); +x_46 = lean_ctor_get(x_12, 6); +x_47 = lean_ctor_get(x_12, 7); +x_48 = lean_ctor_get(x_12, 8); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_40); +lean_inc(x_44); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_12); +x_49 = lean_ctor_get_uint64(x_40, sizeof(void*)*1); +x_50 = lean_ctor_get(x_40, 0); +lean_inc_ref(x_50); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + x_51 = x_40; +} else { + lean_dec_ref(x_40); + x_51 = lean_box(0); +} +x_52 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__0; +x_53 = 0; +x_54 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1; +x_55 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_55, 0, x_1); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set_float(x_55, sizeof(void*)*2, x_52); +lean_ctor_set_float(x_55, sizeof(void*)*2 + 8, x_52); +lean_ctor_set_uint8(x_55, sizeof(void*)*2 + 16, x_53); +x_56 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__2; +x_57 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_11); +lean_ctor_set(x_57, 2, x_56); +lean_inc(x_8); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_8); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_PersistentArray_push___redArg(x_50, x_58); +if (lean_is_scalar(x_51)) { + x_60 = lean_alloc_ctor(0, 1, 8); +} else { + x_60 = x_51; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set_uint64(x_60, sizeof(void*)*1, x_49); +x_61 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_61, 0, x_41); +lean_ctor_set(x_61, 1, x_42); +lean_ctor_set(x_61, 2, x_43); +lean_ctor_set(x_61, 3, x_44); +lean_ctor_set(x_61, 4, x_60); +lean_ctor_set(x_61, 5, x_45); +lean_ctor_set(x_61, 6, x_46); +lean_ctor_set(x_61, 7, x_47); +lean_ctor_set(x_61, 8, x_48); +x_62 = lean_st_ref_set(x_6, x_61); +x_63 = lean_box(0); +lean_ctor_set(x_9, 0, x_63); +return x_9; +} +} +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; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint64_t x_76; lean_object* x_77; lean_object* x_78; double x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_64 = lean_ctor_get(x_9, 0); +lean_inc(x_64); +lean_dec(x_9); +x_65 = lean_st_ref_take(x_6); +x_66 = lean_ctor_get(x_65, 4); +lean_inc_ref(x_66); +x_67 = lean_ctor_get(x_65, 0); +lean_inc_ref(x_67); +x_68 = lean_ctor_get(x_65, 1); +lean_inc(x_68); +x_69 = lean_ctor_get(x_65, 2); +lean_inc_ref(x_69); +x_70 = lean_ctor_get(x_65, 3); +lean_inc_ref(x_70); +x_71 = lean_ctor_get(x_65, 5); +lean_inc_ref(x_71); +x_72 = lean_ctor_get(x_65, 6); +lean_inc_ref(x_72); +x_73 = lean_ctor_get(x_65, 7); +lean_inc_ref(x_73); +x_74 = lean_ctor_get(x_65, 8); +lean_inc_ref(x_74); +if (lean_is_exclusive(x_65)) { + lean_ctor_release(x_65, 0); + lean_ctor_release(x_65, 1); + lean_ctor_release(x_65, 2); + lean_ctor_release(x_65, 3); + lean_ctor_release(x_65, 4); + lean_ctor_release(x_65, 5); + lean_ctor_release(x_65, 6); + lean_ctor_release(x_65, 7); + lean_ctor_release(x_65, 8); + x_75 = x_65; +} else { + lean_dec_ref(x_65); + x_75 = lean_box(0); +} +x_76 = lean_ctor_get_uint64(x_66, sizeof(void*)*1); +x_77 = lean_ctor_get(x_66, 0); +lean_inc_ref(x_77); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + x_78 = x_66; +} else { + lean_dec_ref(x_66); + x_78 = lean_box(0); +} +x_79 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__0; +x_80 = 0; +x_81 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1; +x_82 = lean_alloc_ctor(0, 2, 17); +lean_ctor_set(x_82, 0, x_1); +lean_ctor_set(x_82, 1, x_81); +lean_ctor_set_float(x_82, sizeof(void*)*2, x_79); +lean_ctor_set_float(x_82, sizeof(void*)*2 + 8, x_79); +lean_ctor_set_uint8(x_82, sizeof(void*)*2 + 16, x_80); +x_83 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__2; +x_84 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_64); +lean_ctor_set(x_84, 2, x_83); +lean_inc(x_8); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_8); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_PersistentArray_push___redArg(x_77, x_85); +if (lean_is_scalar(x_78)) { + x_87 = lean_alloc_ctor(0, 1, 8); +} else { + x_87 = x_78; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set_uint64(x_87, sizeof(void*)*1, x_76); +if (lean_is_scalar(x_75)) { + x_88 = lean_alloc_ctor(0, 9, 0); +} else { + x_88 = x_75; +} +lean_ctor_set(x_88, 0, x_67); +lean_ctor_set(x_88, 1, x_68); +lean_ctor_set(x_88, 2, x_69); +lean_ctor_set(x_88, 3, x_70); +lean_ctor_set(x_88, 4, x_87); +lean_ctor_set(x_88, 5, x_71); +lean_ctor_set(x_88, 6, x_72); +lean_ctor_set(x_88, 7, x_73); +lean_ctor_set(x_88, 8, x_74); +x_89 = lean_st_ref_set(x_6, x_88); +x_90 = lean_box(0); +x_91 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_91, 0, x_90); +return x_91; +} +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_8; +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_1); +x_5 = lean_nat_dec_lt(x_2, x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +return x_5; +} +else +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_fget_borrowed(x_1, x_2); +x_7 = l_Lean_instBEqExtraModUse_beq(x_3, x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_add(x_2, x_8); +lean_dec(x_2); +x_2 = x_9; +goto _start; +} +else +{ +lean_dec(x_2); +return x_7; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; lean_object* x_5; +x_4 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42___redArg(x_1, x_2, x_3); +lean_dec_ref(x_3); +lean_dec_ref(x_1); +x_5 = lean_box(x_4); +return x_5; +} +} +static size_t _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___closed__0() { +_start: +{ +size_t x_1; size_t x_2; size_t x_3; +x_1 = 5; +x_2 = 1; +x_3 = lean_usize_shift_left(x_2, x_1); +return x_3; +} +} +static size_t _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___closed__1() { +_start: +{ +size_t x_1; size_t x_2; size_t x_3; +x_1 = 1; +x_2 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___closed__0; +x_3 = lean_usize_sub(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_4); +lean_dec_ref(x_1); +x_5 = lean_box(2); +x_6 = 5; +x_7 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___closed__1; +x_8 = lean_usize_land(x_2, x_7); +x_9 = lean_usize_to_nat(x_8); +x_10 = lean_array_get(x_5, x_4, x_9); +lean_dec(x_9); +lean_dec_ref(x_4); +switch (lean_obj_tag(x_10)) { +case 0: +{ +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +lean_dec_ref(x_10); +x_12 = l_Lean_instBEqExtraModUse_beq(x_3, x_11); +lean_dec(x_11); +return x_12; +} +case 1: +{ +lean_object* x_13; size_t x_14; +x_13 = lean_ctor_get(x_10, 0); +lean_inc(x_13); +lean_dec_ref(x_10); +x_14 = lean_usize_shift_right(x_2, x_6); +x_1 = x_13; +x_2 = x_14; +goto _start; +} +default: +{ +uint8_t x_16; +x_16 = 0; +return x_16; +} +} +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = lean_ctor_get(x_1, 0); +lean_inc_ref(x_17); +lean_dec_ref(x_1); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42___redArg(x_17, x_18, x_3); +lean_dec_ref(x_17); +return x_19; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg(x_1, x_4, x_3); +lean_dec_ref(x_3); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint64_t x_3; size_t x_4; uint8_t x_5; +x_3 = l_Lean_instHashableExtraModUse_hash(x_2); +x_4 = lean_uint64_to_usize(x_3); +x_5 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg(x_1, x_4, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27___redArg(x_1, x_2); +lean_dec_ref(x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("trace", 5, 5); +return x_1; +} +} +static lean_object* _init_l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__0; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_ctor_get(x_2, 2); +x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_1); +x_6 = lean_box(x_5); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_8 = lean_ctor_get(x_2, 13); +x_9 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__1; +x_10 = l_Lean_Name_append(x_9, x_1); +x_11 = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(x_8, x_4, x_10); +lean_dec(x_10); +x_12 = lean_box(x_11); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg(x_1, x_2); +lean_dec_ref(x_2); +return x_4; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_instBEqExtraModUse_beq___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_instHashableExtraModUse_hash___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__1; +x_2 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__0; +x_3 = l_Lean_PersistentHashMap_empty(lean_box(0), lean_box(0), x_2, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("extraModUses", 12, 12); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__3; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" extra mod use ", 15, 15); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" of ", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("recording ", 10, 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__10; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked(" ", 1, 1); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__12; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("regular", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("meta", 4, 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("private", 7, 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("public", 6, 6); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_74; uint8_t x_75; +x_11 = lean_st_ref_get(x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc_ref(x_12); +lean_dec(x_11); +x_13 = lean_ctor_get_uint8(x_12, sizeof(void*)*8); +lean_dec_ref(x_12); +x_14 = lean_st_ref_get(x_9); +x_15 = lean_ctor_get(x_14, 0); +lean_inc_ref(x_15); +lean_dec(x_14); +x_16 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__2; +lean_inc(x_1); +x_17 = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_13); +lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 1, x_2); +x_18 = l___private_Lean_ExtraModUses_0__Lean_extraModUses; +x_19 = lean_box(1); +x_20 = lean_box(0); +x_74 = l_Lean_SimplePersistentEnvExtension_getState___redArg(x_16, x_18, x_15, x_19, x_20); +x_75 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27___redArg(x_74, x_17); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_84; lean_object* x_85; uint8_t x_98; +x_76 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__4; +x_77 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg(x_76, x_8); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +lean_dec_ref(x_77); +x_98 = lean_unbox(x_78); +lean_dec(x_78); +if (x_98 == 0) +{ +lean_dec(x_3); +lean_dec(x_1); +x_21 = x_7; +x_22 = x_9; +x_23 = lean_box(0); +goto block_73; +} +else +{ +lean_object* x_99; lean_object* x_100; +x_99 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__11; +if (x_13 == 0) +{ +lean_object* x_108; +x_108 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__16; +x_100 = x_108; +goto block_107; +} +else +{ +lean_object* x_109; +x_109 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__17; +x_100 = x_109; +goto block_107; +} +block_107: +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_101 = l_Lean_stringToMessageData(x_100); +x_102 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_102, 0, x_99); +lean_ctor_set(x_102, 1, x_101); +x_103 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__13; +x_104 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +if (x_2 == 0) +{ +lean_object* x_105; +x_105 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__14; +x_84 = x_104; +x_85 = x_105; +goto block_97; +} +else +{ +lean_object* x_106; +x_106 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__15; +x_84 = x_104; +x_85 = x_106; +goto block_97; +} +} +} +block_83: +{ +lean_object* x_81; lean_object* x_82; +x_81 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg(x_76, x_81, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_82) == 0) +{ +lean_dec_ref(x_82); +x_21 = x_7; +x_22 = x_9; +x_23 = lean_box(0); +goto block_73; +} +else +{ +lean_dec_ref(x_17); +return x_82; +} +} +block_97: +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_86 = l_Lean_stringToMessageData(x_85); +x_87 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_86); +x_88 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__6; +x_89 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Lean_MessageData_ofName(x_1); +x_91 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Lean_Name_isAnonymous(x_3); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__8; +x_94 = l_Lean_MessageData_ofName(x_3); +x_95 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +x_79 = x_91; +x_80 = x_95; +goto block_83; +} +else +{ +lean_object* x_96; +lean_dec(x_3); +x_96 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__9; +x_79 = x_91; +x_80 = x_96; +goto block_83; +} +} +} +else +{ +lean_object* x_110; lean_object* x_111; +lean_dec_ref(x_17); +lean_dec(x_3); +lean_dec(x_1); +x_110 = lean_box(0); +x_111 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_111, 0, x_110); +return x_111; +} +block_73: +{ +lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_24 = lean_st_ref_take(x_22); +x_25 = lean_ctor_get(x_18, 0); +lean_inc_ref(x_25); +x_26 = !lean_is_exclusive(x_24); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_27 = lean_ctor_get(x_24, 0); +x_28 = lean_ctor_get(x_24, 5); +lean_dec(x_28); +x_29 = lean_ctor_get(x_25, 2); +lean_inc(x_29); +lean_dec_ref(x_25); +x_30 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_18, x_27, x_17, x_29, x_20); +lean_dec(x_29); +x_31 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2; +lean_ctor_set(x_24, 5, x_31); +lean_ctor_set(x_24, 0, x_30); +x_32 = lean_st_ref_set(x_22, x_24); +x_33 = lean_st_ref_take(x_21); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_33, 1); +lean_dec(x_35); +x_36 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +lean_ctor_set(x_33, 1, x_36); +x_37 = lean_st_ref_set(x_21, x_33); +x_38 = lean_box(0); +x_39 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_39, 0, x_38); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_40 = lean_ctor_get(x_33, 0); +x_41 = lean_ctor_get(x_33, 2); +x_42 = lean_ctor_get(x_33, 3); +x_43 = lean_ctor_get(x_33, 4); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_33); +x_44 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +x_45 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_41); +lean_ctor_set(x_45, 3, x_42); +lean_ctor_set(x_45, 4, x_43); +x_46 = lean_st_ref_set(x_21, x_45); +x_47 = lean_box(0); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_49 = lean_ctor_get(x_24, 0); +x_50 = lean_ctor_get(x_24, 1); +x_51 = lean_ctor_get(x_24, 2); +x_52 = lean_ctor_get(x_24, 3); +x_53 = lean_ctor_get(x_24, 4); +x_54 = lean_ctor_get(x_24, 6); +x_55 = lean_ctor_get(x_24, 7); +x_56 = lean_ctor_get(x_24, 8); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_24); +x_57 = lean_ctor_get(x_25, 2); +lean_inc(x_57); +lean_dec_ref(x_25); +x_58 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_18, x_49, x_17, x_57, x_20); +lean_dec(x_57); +x_59 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2; +x_60 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_50); +lean_ctor_set(x_60, 2, x_51); +lean_ctor_set(x_60, 3, x_52); +lean_ctor_set(x_60, 4, x_53); +lean_ctor_set(x_60, 5, x_59); +lean_ctor_set(x_60, 6, x_54); +lean_ctor_set(x_60, 7, x_55); +lean_ctor_set(x_60, 8, x_56); +x_61 = lean_st_ref_set(x_22, x_60); +x_62 = lean_st_ref_take(x_21); +x_63 = lean_ctor_get(x_62, 0); +lean_inc_ref(x_63); +x_64 = lean_ctor_get(x_62, 2); +lean_inc(x_64); +x_65 = lean_ctor_get(x_62, 3); +lean_inc_ref(x_65); +x_66 = lean_ctor_get(x_62, 4); +lean_inc_ref(x_66); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + lean_ctor_release(x_62, 2); + lean_ctor_release(x_62, 3); + lean_ctor_release(x_62, 4); + x_67 = x_62; +} else { + lean_dec_ref(x_62); + x_67 = lean_box(0); +} +x_68 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +if (lean_is_scalar(x_67)) { + x_69 = lean_alloc_ctor(0, 5, 0); +} else { + x_69 = x_67; +} +lean_ctor_set(x_69, 0, x_63); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_64); +lean_ctor_set(x_69, 3, x_65); +lean_ctor_set(x_69, 4, x_66); +x_70 = lean_st_ref_set(x_21, x_69); +x_71 = lean_box(0); +x_72 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_72, 0, x_71); +return x_72; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_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) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_2); +x_12 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_16; +x_16 = lean_usize_dec_lt(x_7, x_6); +if (x_16 == 0) +{ +lean_object* x_17; +lean_dec(x_3); +lean_dec_ref(x_2); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_8); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_18 = l_Lean_Environment_header(x_1); +x_19 = lean_ctor_get(x_18, 3); +lean_inc_ref(x_19); +lean_dec_ref(x_18); +x_20 = lean_array_uget(x_5, x_7); +lean_inc_ref(x_2); +x_21 = lean_array_get(x_2, x_19, x_20); +lean_dec(x_20); +lean_dec_ref(x_19); +x_22 = lean_ctor_get(x_21, 0); +lean_inc_ref(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +lean_dec_ref(x_22); +x_24 = 0; +lean_inc(x_3); +x_25 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18(x_23, x_24, x_3, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_25) == 0) +{ +size_t x_26; size_t x_27; +lean_dec_ref(x_25); +x_26 = 1; +x_27 = lean_usize_add(x_7, x_26); +{ +size_t _tmp_6 = x_27; +lean_object* _tmp_7 = x_4; +x_7 = _tmp_6; +x_8 = _tmp_7; +} +goto _start; +} +else +{ +lean_dec(x_3); +lean_dec_ref(x_2); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +_start: +{ +size_t x_16; size_t x_17; lean_object* x_18; +x_16 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_17 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__19(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_14); +lean_dec_ref(x_13); +lean_dec(x_12); +lean_dec_ref(x_11); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_name_eq(x_4, x_1); +if (x_7 == 0) +{ +x_2 = x_6; +goto _start; +} +else +{ +lean_object* x_9; +lean_inc(x_5); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_5); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30___redArg(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_array_get_size(x_3); +x_5 = l_Lean_Name_hash___override(x_2); +x_6 = 32; +x_7 = lean_uint64_shift_right(x_5, x_6); +x_8 = lean_uint64_xor(x_5, x_7); +x_9 = 16; +x_10 = lean_uint64_shift_right(x_8, x_9); +x_11 = lean_uint64_xor(x_8, x_10); +x_12 = lean_uint64_to_usize(x_11); +x_13 = lean_usize_of_nat(x_4); +x_14 = 1; +x_15 = lean_usize_sub(x_13, x_14); +x_16 = lean_usize_land(x_12, x_15); +x_17 = lean_array_uget(x_3, x_16); +x_18 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30___redArg(x_2, x_17); +lean_dec(x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20___redArg(x_1, x_2); +lean_dec(x_2); +lean_dec_ref(x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Name_beq___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Name_hash___override___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__1; +x_2 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__0; +x_3 = l_Std_HashMap_instInhabited(lean_box(0), lean_box(0), x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_10; lean_object* x_14; lean_object* x_15; +x_10 = lean_st_ref_get(x_8); +x_14 = lean_ctor_get(x_10, 0); +lean_inc_ref(x_14); +lean_dec(x_10); +x_15 = l_Lean_Environment_getModuleIdxFor_x3f(x_14, x_1); +if (lean_obj_tag(x_15) == 0) +{ +lean_dec_ref(x_14); +lean_dec(x_1); +goto block_13; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +lean_dec_ref(x_15); +x_17 = l_Lean_Environment_header(x_14); +x_18 = lean_ctor_get(x_17, 3); +lean_inc_ref(x_18); +lean_dec_ref(x_17); +x_19 = lean_array_get_size(x_18); +x_20 = lean_nat_dec_lt(x_16, x_19); +if (x_20 == 0) +{ +lean_dec_ref(x_18); +lean_dec(x_16); +lean_dec_ref(x_14); +lean_dec(x_1); +goto block_13; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_35; uint8_t x_36; +x_21 = lean_st_ref_get(x_8); +x_22 = lean_ctor_get(x_21, 0); +lean_inc_ref(x_22); +lean_dec(x_21); +x_23 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__2; +x_24 = l_Lean_instInhabitedEffectiveImport_default; +x_35 = lean_array_fget(x_18, x_16); +lean_dec(x_16); +lean_dec_ref(x_18); +if (x_2 == 0) +{ +lean_dec_ref(x_22); +x_36 = x_2; +goto block_47; +} +else +{ +uint8_t x_48; +lean_inc(x_1); +x_48 = l_Lean_isMarkedMeta(x_22, x_1); +if (x_48 == 0) +{ +x_36 = x_2; +goto block_47; +} +else +{ +uint8_t x_49; +x_49 = 0; +x_36 = x_49; +goto block_47; +} +} +block_34: +{ +lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; +x_27 = lean_box(0); +x_28 = lean_array_size(x_26); +x_29 = 0; +x_30 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__19(x_14, x_24, x_1, x_27, x_26, x_28, x_29, x_27, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_26); +lean_dec_ref(x_14); +if (lean_obj_tag(x_30) == 0) +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +lean_ctor_set(x_30, 0, x_27); +return x_30; +} +else +{ +lean_object* x_33; +lean_dec(x_30); +x_33 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_33, 0, x_27); +return x_33; +} +} +else +{ +return x_30; +} +} +block_47: +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_35, 0); +lean_inc_ref(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +lean_dec_ref(x_37); +lean_inc(x_1); +x_39 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18(x_38, x_36, x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec_ref(x_39); +x_40 = l_Lean_indirectModUseExt; +x_41 = lean_box(1); +x_42 = lean_box(0); +lean_inc_ref(x_14); +x_43 = l_Lean_SimplePersistentEnvExtension_getState___redArg(x_23, x_40, x_14, x_41, x_42); +x_44 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20___redArg(x_43, x_1); +lean_dec(x_43); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; +x_45 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__3; +x_25 = lean_box(0); +x_26 = x_45; +goto block_34; +} +else +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec_ref(x_44); +x_25 = lean_box(0); +x_26 = x_46; +goto block_34; +} +} +else +{ +lean_dec_ref(x_14); +lean_dec(x_1); +return x_39; +} +} +} +} +block_13: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); +x_11 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_11; +} +} +LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg(x_1, x_2); +lean_dec_ref(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__0(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +if (lean_obj_tag(x_6) == 0) +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_5); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = lean_box(0); +lean_ctor_set(x_5, 0, x_9); +return x_5; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); +lean_dec(x_5); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_6); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_6, 0); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; uint8_t x_17; +lean_free_object(x_6); +x_16 = lean_ctor_get(x_5, 1); +lean_inc(x_16); +lean_dec_ref(x_5); +x_17 = !lean_is_exclusive(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg(x_15, x_16); +lean_dec_ref(x_15); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg(x_20, x_16); +lean_dec_ref(x_20); +return x_21; +} +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_5, 1); +lean_inc(x_22); +lean_dec_ref(x_5); +x_23 = !lean_is_exclusive(x_15); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_15, 0); +lean_ctor_set(x_6, 0, x_24); +lean_ctor_set(x_15, 0, x_6); +x_25 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg(x_15, x_22); +lean_dec_ref(x_15); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_15, 0); +lean_inc(x_26); +lean_dec(x_15); +lean_ctor_set(x_6, 0, x_26); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_6); +x_28 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg(x_27, x_22); +lean_dec_ref(x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_6, 0); +lean_inc(x_29); +lean_dec(x_6); +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_5, 1); +lean_inc(x_31); +lean_dec_ref(x_5); +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + x_33 = x_30; +} else { + lean_dec_ref(x_30); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 1, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_32); +x_35 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg(x_34, x_31); +lean_dec_ref(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; +x_36 = lean_ctor_get(x_5, 1); +lean_inc(x_36); +lean_dec_ref(x_5); +x_37 = lean_ctor_get(x_30, 0); +lean_inc(x_37); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + x_38 = x_30; +} else { + lean_dec_ref(x_30); + x_38 = lean_box(0); +} +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_37); +if (lean_is_scalar(x_38)) { + x_40 = lean_alloc_ctor(1, 1, 0); +} else { + x_40 = x_38; +} +lean_ctor_set(x_40, 0, x_39); +x_41 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg(x_40, x_36); +lean_dec_ref(x_40); +return x_41; +} +} +} +} +else +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_5); +if (x_42 == 0) +{ +return x_5; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_5, 0); +x_44 = lean_ctor_get(x_5, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_5); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__0___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_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__0(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__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) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4, x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__3(x_1, x_2, x_3); +lean_dec_ref(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; +x_5 = 0; +x_6 = l_Lean_Environment_setExporting(x_1, x_5); +lean_inc(x_2); +x_7 = l_Lean_mkPrivateName(x_6, x_2); +x_8 = 1; +lean_inc_ref(x_6); +x_9 = l_Lean_Environment_contains(x_6, x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = l_Lean_privateToUserName(x_2); +x_11 = l_Lean_Environment_contains(x_6, x_10, x_8); +x_12 = lean_box(x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_4); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; +lean_dec_ref(x_6); +lean_dec(x_2); +x_14 = lean_box(x_9); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_4); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__1(x_1, x_2, x_3, x_4); +lean_dec_ref(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__13___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_11; +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_3); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_2, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_2, 1); +lean_inc(x_13); +lean_dec_ref(x_2); +x_14 = 1; +x_15 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12(x_12, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) +{ +lean_dec_ref(x_15); +{ +lean_object* _tmp_1 = x_13; +lean_object* _tmp_2 = x_1; +x_2 = _tmp_1; +x_3 = _tmp_2; +} +goto _start; +} +else +{ +lean_dec(x_13); +return x_15; +} +} +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__13___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__13___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = l_Lean_ResolveName_resolveNamespace(x_1, x_2, x_3, x_4); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__2(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec_ref(x_5); +return x_7; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("runtime", 7, 7); +return x_1; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("maxRecDepth", 11, 11); +return x_1; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__1; +x_2 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__0; +x_3 = l_Lean_Name_mkStr2(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_maxRecDepthErrorMessage; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__3; +x_2 = l_Lean_MessageData_ofFormat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__4; +x_2 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__2; +x_3 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg(lean_object* x_1) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__5; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_dec_ref(x_1); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +lean_inc(x_13); +x_15 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg(x_13, x_6); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_15, 0); +x_18 = lean_unbox(x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_free_object(x_15); +lean_dec(x_14); +lean_dec(x_13); +x_1 = x_12; +goto _start; +} +else +{ +lean_object* x_20; lean_object* x_21; +lean_ctor_set_tag(x_15, 3); +lean_ctor_set(x_15, 0, x_14); +x_20 = l_Lean_MessageData_ofFormat(x_15); +x_21 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg(x_13, x_20, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_21) == 0) +{ +lean_dec_ref(x_21); +x_1 = x_12; +goto _start; +} +else +{ +lean_dec(x_12); +return x_21; +} +} +} +else +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_15, 0); +lean_inc(x_23); +lean_dec(x_15); +x_24 = lean_unbox(x_23); +lean_dec(x_23); +if (x_24 == 0) +{ +lean_dec(x_14); +lean_dec(x_13); +x_1 = x_12; +goto _start; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_26, 0, x_14); +x_27 = l_Lean_MessageData_ofFormat(x_26); +x_28 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg(x_13, x_27, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_28) == 0) +{ +lean_dec_ref(x_28); +x_1 = x_12; +goto _start; +} +else +{ +lean_dec(x_12); +return x_28; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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) { +_start: +{ +lean_object* x_9; +x_9 = l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("maximum recursion depth has been reached\nuse `set_option maxRecDepth ` to increase limit\nuse `set_option diagnostics true` to get diagnostic information", 157, 157); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_9 = lean_st_ref_get(x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc_ref(x_10); +lean_dec(x_9); +x_11 = lean_ctor_get(x_6, 2); +x_12 = lean_ctor_get(x_6, 3); +x_13 = lean_ctor_get(x_6, 4); +x_14 = lean_ctor_get(x_6, 5); +x_15 = lean_ctor_get(x_6, 6); +x_16 = lean_ctor_get(x_6, 7); +x_17 = lean_ctor_get(x_6, 10); +x_18 = lean_ctor_get(x_6, 11); +x_19 = lean_st_ref_get(x_7); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +lean_inc_ref(x_10); +x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__0___boxed), 4, 1); +lean_closure_set(x_21, 0, x_10); +lean_inc_ref(x_10); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__1___boxed), 4, 1); +lean_closure_set(x_22, 0, x_10); +lean_inc(x_16); +lean_inc(x_15); +lean_inc_ref(x_10); +x_23 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__2___boxed), 6, 3); +lean_closure_set(x_23, 0, x_10); +lean_closure_set(x_23, 1, x_15); +lean_closure_set(x_23, 2, x_16); +lean_inc(x_15); +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__3___boxed), 3, 1); +lean_closure_set(x_24, 0, x_15); +lean_inc(x_16); +lean_inc(x_15); +lean_inc_ref(x_11); +x_25 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___lam__4___boxed), 7, 4); +lean_closure_set(x_25, 0, x_10); +lean_closure_set(x_25, 1, x_11); +lean_closure_set(x_25, 2, x_15); +lean_closure_set(x_25, 3, x_16); +x_26 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_26, 0, x_21); +lean_ctor_set(x_26, 1, x_24); +lean_ctor_set(x_26, 2, x_22); +lean_ctor_set(x_26, 3, x_23); +lean_ctor_set(x_26, 4, x_25); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_18); +lean_inc(x_17); +x_27 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_17); +lean_ctor_set(x_27, 2, x_18); +lean_ctor_set(x_27, 3, x_12); +lean_ctor_set(x_27, 4, x_13); +lean_ctor_set(x_27, 5, x_14); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_29, 0, x_20); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_28); +x_30 = lean_apply_2(x_1, x_27, x_29); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +lean_dec_ref(x_30); +x_33 = lean_ctor_get(x_31, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +x_35 = lean_ctor_get(x_31, 2); +lean_inc(x_35); +lean_dec(x_31); +x_36 = lean_box(0); +x_37 = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__13___redArg(x_36, x_35, x_36, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; uint8_t x_39; +lean_dec_ref(x_37); +x_38 = lean_st_ref_take(x_7); +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_38, 1); +lean_dec(x_40); +lean_ctor_set(x_38, 1, x_33); +x_41 = lean_st_ref_set(x_7, x_38); +x_42 = l_List_reverse___redArg(x_34); +x_43 = l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__14(x_42, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +if (lean_obj_tag(x_43) == 0) +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +lean_ctor_set(x_43, 0, x_32); +return x_43; +} +else +{ +lean_object* x_46; +lean_dec(x_43); +x_46 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_46, 0, x_32); +return x_46; +} +} +else +{ +uint8_t x_47; +lean_dec(x_32); +x_47 = !lean_is_exclusive(x_43); +if (x_47 == 0) +{ +return x_43; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_43, 0); +lean_inc(x_48); +lean_dec(x_43); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_48); +return x_49; +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_50 = lean_ctor_get(x_38, 0); +x_51 = lean_ctor_get(x_38, 2); +x_52 = lean_ctor_get(x_38, 3); +x_53 = lean_ctor_get(x_38, 4); +x_54 = lean_ctor_get(x_38, 5); +x_55 = lean_ctor_get(x_38, 6); +x_56 = lean_ctor_get(x_38, 7); +x_57 = lean_ctor_get(x_38, 8); +lean_inc(x_57); +lean_inc(x_56); +lean_inc(x_55); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_38); +x_58 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_58, 0, x_50); +lean_ctor_set(x_58, 1, x_33); +lean_ctor_set(x_58, 2, x_51); +lean_ctor_set(x_58, 3, x_52); +lean_ctor_set(x_58, 4, x_53); +lean_ctor_set(x_58, 5, x_54); +lean_ctor_set(x_58, 6, x_55); +lean_ctor_set(x_58, 7, x_56); +lean_ctor_set(x_58, 8, x_57); +x_59 = lean_st_ref_set(x_7, x_58); +x_60 = l_List_reverse___redArg(x_34); +x_61 = l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__14(x_60, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + x_62 = x_61; +} else { + lean_dec_ref(x_61); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(0, 1, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_32); +return x_63; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_dec(x_32); +x_64 = lean_ctor_get(x_61, 0); +lean_inc(x_64); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + x_65 = x_61; +} else { + lean_dec_ref(x_61); + x_65 = lean_box(0); +} +if (lean_is_scalar(x_65)) { + x_66 = lean_alloc_ctor(1, 1, 0); +} else { + x_66 = x_65; +} +lean_ctor_set(x_66, 0, x_64); +return x_66; +} +} +} +else +{ +uint8_t x_67; +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_67 = !lean_is_exclusive(x_37); +if (x_67 == 0) +{ +return x_37; +} +else +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_37, 0); +lean_inc(x_68); +lean_dec(x_37); +x_69 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_69, 0, x_68); +return x_69; +} +} +} +else +{ +lean_object* x_70; +x_70 = lean_ctor_get(x_30, 0); +lean_inc(x_70); +lean_dec_ref(x_30); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc_ref(x_72); +lean_dec_ref(x_70); +x_73 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___closed__0; +x_74 = lean_string_dec_eq(x_72, x_73); +if (x_74 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_75, 0, x_72); +x_76 = l_Lean_MessageData_ofFormat(x_75); +x_77 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_71, x_76, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_71); +return x_77; +} +else +{ +lean_object* x_78; +lean_dec_ref(x_72); +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_78 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg(x_71); +return x_78; +} +} +else +{ +lean_object* x_79; +lean_dec_ref(x_6); +lean_dec_ref(x_2); +x_79 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg(); +return x_79; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unknown attribute `[", 20, 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("]`", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Attr", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("simple", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__5; +x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__4; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unknown attribute", 17, 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; +lean_inc_ref(x_10); +lean_inc_ref(x_6); +x_13 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_1, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +lean_dec_ref(x_13); +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_2, x_15); +x_17 = lean_alloc_closure((void*)(l_Lean_expandMacros), 4, 2); +lean_closure_set(x_17, 0, x_16); +lean_closure_set(x_17, 1, x_3); +lean_inc_ref(x_10); +lean_inc_ref(x_6); +x_18 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_17, x_6, x_7, x_8, x_9, x_10, x_11); +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_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + x_20 = x_18; +} else { + lean_dec_ref(x_18); + x_20 = lean_box(0); +} +lean_inc(x_19); +x_60 = l_Lean_Syntax_getKind(x_19); +x_61 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__6; +x_62 = lean_name_eq(x_60, x_61); +if (x_62 == 0) +{ +if (lean_obj_tag(x_60) == 1) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_60, 1); +lean_inc_ref(x_63); +lean_dec_ref(x_60); +x_64 = lean_box(0); +x_65 = l_Lean_Name_str___override(x_64, x_63); +x_27 = x_65; +x_28 = x_6; +x_29 = x_7; +x_30 = x_8; +x_31 = x_9; +x_32 = x_10; +x_33 = x_11; +x_34 = lean_box(0); +goto block_59; +} +else +{ +lean_object* x_66; lean_object* x_67; uint8_t x_68; +lean_dec(x_60); +lean_dec(x_20); +lean_dec(x_14); +lean_dec(x_4); +x_66 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__8; +x_67 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_19, x_66, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_19); +x_68 = !lean_is_exclusive(x_67); +if (x_68 == 0) +{ +return x_67; +} +else +{ +lean_object* x_69; lean_object* x_70; +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_70, 0, x_69); +return x_70; +} +} +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_60); +x_71 = l_Lean_Syntax_getArg(x_19, x_5); +x_72 = l_Lean_Syntax_getId(x_71); +lean_dec(x_71); +x_73 = lean_erase_macro_scopes(x_72); +x_27 = x_73; +x_28 = x_6; +x_29 = x_7; +x_30 = x_8; +x_31 = x_9; +x_32 = x_10; +x_33 = x_11; +x_34 = lean_box(0); +goto block_59; +} +block_26: +{ +lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_23 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_19); +x_24 = lean_unbox(x_14); +lean_dec(x_14); +lean_ctor_set_uint8(x_23, sizeof(void*)*2, x_24); +if (lean_is_scalar(x_20)) { + x_25 = lean_alloc_ctor(0, 1, 0); +} else { + x_25 = x_20; +} +lean_ctor_set(x_25, 0, x_23); +return x_25; +} +block_59: +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_st_ref_get(x_33); +x_36 = lean_ctor_get(x_35, 0); +lean_inc_ref(x_36); +lean_dec(x_35); +lean_inc(x_27); +x_37 = l_Lean_getAttributeImpl(x_36, x_27); +if (lean_obj_tag(x_37) == 1) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec_ref(x_37); +x_38 = lean_st_ref_get(x_33); +x_39 = lean_ctor_get(x_38, 0); +lean_inc_ref(x_39); +lean_dec(x_38); +lean_inc(x_27); +x_40 = l_Lean_getAttributeImpl(x_39, x_27); +if (lean_obj_tag(x_40) == 1) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +lean_dec_ref(x_40); +x_42 = lean_st_ref_get(x_33); +x_43 = lean_ctor_get(x_41, 0); +lean_inc_ref(x_43); +lean_dec(x_41); +x_44 = lean_ctor_get(x_42, 0); +lean_inc_ref(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 0); +lean_inc(x_45); +lean_dec_ref(x_43); +x_46 = l_Lean_regularInitAttr; +lean_inc(x_45); +x_47 = l_Lean_ParametricAttribute_getParam_x3f___redArg(x_4, x_46, x_44, x_45); +if (lean_obj_tag(x_47) == 0) +{ +lean_dec(x_45); +lean_dec_ref(x_32); +lean_dec_ref(x_28); +x_21 = x_27; +x_22 = lean_box(0); +goto block_26; +} +else +{ +uint8_t x_48; lean_object* x_49; +lean_dec_ref(x_47); +x_48 = 1; +x_49 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12(x_45, x_48, x_28, x_29, x_30, x_31, x_32, x_33); +lean_dec_ref(x_32); +lean_dec_ref(x_28); +if (lean_obj_tag(x_49) == 0) +{ +lean_dec_ref(x_49); +x_21 = x_27; +x_22 = lean_box(0); +goto block_26; +} +else +{ +uint8_t x_50; +lean_dec(x_27); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_14); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +return x_49; +} +else +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_51); +return x_52; +} +} +} +} +else +{ +lean_dec_ref(x_40); +lean_dec_ref(x_32); +lean_dec_ref(x_28); +lean_dec(x_4); +x_21 = x_27; +x_22 = lean_box(0); +goto block_26; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec_ref(x_37); +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_14); +lean_dec(x_4); +x_53 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__1; +x_54 = l_Lean_MessageData_ofName(x_27); +x_55 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__3; +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 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_57, x_28, x_29, x_30, x_31, x_32, x_33); +lean_dec_ref(x_32); +return x_58; +} +} +} +else +{ +uint8_t x_74; +lean_dec(x_14); +lean_dec_ref(x_10); +lean_dec_ref(x_6); +lean_dec(x_4); +x_74 = !lean_is_exclusive(x_18); +if (x_74 == 0) +{ +return x_18; +} +else +{ +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_18, 0); +lean_inc(x_75); +lean_dec(x_18); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +return x_76; +} +} +} +else +{ +uint8_t x_77; +lean_dec_ref(x_10); +lean_dec_ref(x_6); +lean_dec(x_4); +lean_dec_ref(x_3); +x_77 = !lean_is_exclusive(x_13); +if (x_77 == 0) +{ +return x_13; +} +else +{ +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_13, 0); +lean_inc(x_78); +lean_dec(x_13); +x_79 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_79, 0, x_78); +return x_79; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_11); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_2); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_8; uint8_t x_9; +x_8 = lean_st_ref_take(x_1); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_10 = lean_ctor_get(x_8, 0); +x_11 = lean_ctor_get(x_8, 5); +lean_dec(x_11); +x_12 = l_Lean_Environment_setExporting(x_10, x_2); +lean_ctor_set(x_8, 5, x_3); +lean_ctor_set(x_8, 0, x_12); +x_13 = lean_st_ref_set(x_1, x_8); +x_14 = lean_st_ref_take(x_4); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_14, 1); +lean_dec(x_16); +lean_ctor_set(x_14, 1, x_5); +x_17 = lean_st_ref_set(x_4, x_14); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_18); +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; lean_object* x_27; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 2); +x_22 = lean_ctor_get(x_14, 3); +x_23 = lean_ctor_get(x_14, 4); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_24 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_24, 0, x_20); +lean_ctor_set(x_24, 1, x_5); +lean_ctor_set(x_24, 2, x_21); +lean_ctor_set(x_24, 3, x_22); +lean_ctor_set(x_24, 4, x_23); +x_25 = lean_st_ref_set(x_4, x_24); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_27, 0, x_26); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_28 = lean_ctor_get(x_8, 0); +x_29 = lean_ctor_get(x_8, 1); +x_30 = lean_ctor_get(x_8, 2); +x_31 = lean_ctor_get(x_8, 3); +x_32 = lean_ctor_get(x_8, 4); +x_33 = lean_ctor_get(x_8, 6); +x_34 = lean_ctor_get(x_8, 7); +x_35 = lean_ctor_get(x_8, 8); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_8); +x_36 = l_Lean_Environment_setExporting(x_28, x_2); +x_37 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_29); +lean_ctor_set(x_37, 2, x_30); +lean_ctor_set(x_37, 3, x_31); +lean_ctor_set(x_37, 4, x_32); +lean_ctor_set(x_37, 5, x_3); +lean_ctor_set(x_37, 6, x_33); +lean_ctor_set(x_37, 7, x_34); +lean_ctor_set(x_37, 8, x_35); +x_38 = lean_st_ref_set(x_1, x_37); +x_39 = lean_st_ref_take(x_4); +x_40 = lean_ctor_get(x_39, 0); +lean_inc_ref(x_40); +x_41 = lean_ctor_get(x_39, 2); +lean_inc(x_41); +x_42 = lean_ctor_get(x_39, 3); +lean_inc_ref(x_42); +x_43 = lean_ctor_get(x_39, 4); +lean_inc_ref(x_43); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + lean_ctor_release(x_39, 2); + lean_ctor_release(x_39, 3); + lean_ctor_release(x_39, 4); + x_44 = x_39; +} else { + lean_dec_ref(x_39); + x_44 = lean_box(0); +} +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(0, 5, 0); +} else { + x_45 = x_44; +} +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_5); +lean_ctor_set(x_45, 2, x_41); +lean_ctor_set(x_45, 3, x_42); +lean_ctor_set(x_45, 4, x_43); +x_46 = lean_st_ref_set(x_4, x_45); +x_47 = lean_box(0); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +return x_48; +} +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); +x_9 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0(x_1, x_8, x_3, x_4, x_5, x_6); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_st_ref_get(x_8); +x_11 = lean_ctor_get(x_10, 0); +lean_inc_ref(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get_uint8(x_11, sizeof(void*)*8); +lean_dec_ref(x_11); +x_13 = lean_st_ref_take(x_8); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ctor_get(x_13, 5); +lean_dec(x_16); +x_17 = l_Lean_Environment_setExporting(x_15, x_2); +x_18 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2; +lean_ctor_set(x_13, 5, x_18); +lean_ctor_set(x_13, 0, x_17); +x_19 = lean_st_ref_set(x_8, x_13); +x_20 = lean_st_ref_take(x_6); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_20, 1); +lean_dec(x_22); +x_23 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +lean_ctor_set(x_20, 1, x_23); +x_24 = lean_st_ref_set(x_6, x_20); +lean_inc(x_8); +lean_inc(x_6); +x_25 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, lean_box(0)); +if (lean_obj_tag(x_25) == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_25, 0); +lean_inc(x_27); +lean_ctor_set_tag(x_25, 1); +x_28 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_18, x_6, x_23, x_25); +lean_dec_ref(x_25); +lean_dec(x_6); +lean_dec(x_8); +x_29 = !lean_is_exclusive(x_28); +if (x_29 == 0) +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_28, 0); +lean_dec(x_30); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +else +{ +lean_object* x_31; +lean_dec(x_28); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_27); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_25, 0); +lean_inc(x_32); +lean_dec(x_25); +lean_inc(x_32); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_18, x_6, x_23, x_33); +lean_dec_ref(x_33); +lean_dec(x_6); +lean_dec(x_8); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + x_35 = x_34; +} else { + lean_dec_ref(x_34); + x_35 = lean_box(0); +} +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 1, 0); +} else { + x_36 = x_35; +} +lean_ctor_set(x_36, 0, x_32); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_37 = lean_ctor_get(x_25, 0); +lean_inc(x_37); +lean_dec_ref(x_25); +x_38 = lean_box(0); +x_39 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_18, x_6, x_23, x_38); +lean_dec(x_6); +lean_dec(x_8); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +lean_object* x_41; +x_41 = lean_ctor_get(x_39, 0); +lean_dec(x_41); +lean_ctor_set_tag(x_39, 1); +lean_ctor_set(x_39, 0, x_37); +return x_39; +} +else +{ +lean_object* x_42; +lean_dec(x_39); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_37); +return x_42; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_43 = lean_ctor_get(x_20, 0); +x_44 = lean_ctor_get(x_20, 2); +x_45 = lean_ctor_get(x_20, 3); +x_46 = lean_ctor_get(x_20, 4); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_20); +x_47 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +x_48 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_48, 0, x_43); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_44); +lean_ctor_set(x_48, 3, x_45); +lean_ctor_set(x_48, 4, x_46); +x_49 = lean_st_ref_set(x_6, x_48); +lean_inc(x_8); +lean_inc(x_6); +x_50 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, lean_box(0)); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + x_52 = x_50; +} else { + lean_dec_ref(x_50); + x_52 = lean_box(0); +} +lean_inc(x_51); +if (lean_is_scalar(x_52)) { + x_53 = lean_alloc_ctor(1, 1, 0); +} else { + x_53 = x_52; + lean_ctor_set_tag(x_53, 1); +} +lean_ctor_set(x_53, 0, x_51); +x_54 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_18, x_6, x_47, x_53); +lean_dec_ref(x_53); +lean_dec(x_6); +lean_dec(x_8); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + x_55 = x_54; +} else { + lean_dec_ref(x_54); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(0, 1, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_51); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_50, 0); +lean_inc(x_57); +lean_dec_ref(x_50); +x_58 = lean_box(0); +x_59 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_18, x_6, x_47, x_58); +lean_dec(x_6); +lean_dec(x_8); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + x_60 = x_59; +} else { + lean_dec_ref(x_59); + x_60 = lean_box(0); +} +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(1, 1, 0); +} else { + x_61 = x_60; + lean_ctor_set_tag(x_61, 1); +} +lean_ctor_set(x_61, 0, x_57); +return x_61; +} +} +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_62 = lean_ctor_get(x_13, 0); +x_63 = lean_ctor_get(x_13, 1); +x_64 = lean_ctor_get(x_13, 2); +x_65 = lean_ctor_get(x_13, 3); +x_66 = lean_ctor_get(x_13, 4); +x_67 = lean_ctor_get(x_13, 6); +x_68 = lean_ctor_get(x_13, 7); +x_69 = lean_ctor_get(x_13, 8); +lean_inc(x_69); +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_dec(x_13); +x_70 = l_Lean_Environment_setExporting(x_62, x_2); +x_71 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2; +x_72 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_63); +lean_ctor_set(x_72, 2, x_64); +lean_ctor_set(x_72, 3, x_65); +lean_ctor_set(x_72, 4, x_66); +lean_ctor_set(x_72, 5, x_71); +lean_ctor_set(x_72, 6, x_67); +lean_ctor_set(x_72, 7, x_68); +lean_ctor_set(x_72, 8, x_69); +x_73 = lean_st_ref_set(x_8, x_72); +x_74 = lean_st_ref_take(x_6); +x_75 = lean_ctor_get(x_74, 0); +lean_inc_ref(x_75); +x_76 = lean_ctor_get(x_74, 2); +lean_inc(x_76); +x_77 = lean_ctor_get(x_74, 3); +lean_inc_ref(x_77); +x_78 = lean_ctor_get(x_74, 4); +lean_inc_ref(x_78); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + lean_ctor_release(x_74, 2); + lean_ctor_release(x_74, 3); + lean_ctor_release(x_74, 4); + x_79 = x_74; +} else { + lean_dec_ref(x_74); + x_79 = lean_box(0); +} +x_80 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(0, 5, 0); +} else { + x_81 = x_79; +} +lean_ctor_set(x_81, 0, x_75); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_76); +lean_ctor_set(x_81, 3, x_77); +lean_ctor_set(x_81, 4, x_78); +x_82 = lean_st_ref_set(x_6, x_81); +lean_inc(x_8); +lean_inc(x_6); +x_83 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, lean_box(0)); +if (lean_obj_tag(x_83) == 0) +{ +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_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + x_85 = x_83; +} else { + lean_dec_ref(x_83); + x_85 = lean_box(0); +} +lean_inc(x_84); +if (lean_is_scalar(x_85)) { + x_86 = lean_alloc_ctor(1, 1, 0); +} else { + x_86 = x_85; + lean_ctor_set_tag(x_86, 1); +} +lean_ctor_set(x_86, 0, x_84); +x_87 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_71, x_6, x_80, x_86); +lean_dec_ref(x_86); +lean_dec(x_6); +lean_dec(x_8); +if (lean_is_exclusive(x_87)) { + lean_ctor_release(x_87, 0); + x_88 = x_87; +} else { + lean_dec_ref(x_87); + x_88 = lean_box(0); +} +if (lean_is_scalar(x_88)) { + x_89 = lean_alloc_ctor(0, 1, 0); +} else { + x_89 = x_88; +} +lean_ctor_set(x_89, 0, x_84); +return x_89; +} +else +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_90 = lean_ctor_get(x_83, 0); +lean_inc(x_90); +lean_dec_ref(x_83); +x_91 = lean_box(0); +x_92 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_71, x_6, x_80, x_91); +lean_dec(x_6); +lean_dec(x_8); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + x_93 = x_92; +} else { + lean_dec_ref(x_92); + x_93 = lean_box(0); +} +if (lean_is_scalar(x_93)) { + x_94 = lean_alloc_ctor(1, 1, 0); +} else { + x_94 = x_93; + lean_ctor_set_tag(x_94, 1); +} +lean_ctor_set(x_94, 0, x_90); +return x_94; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); +x_11 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +if (x_2 == 0) +{ +lean_object* x_10; +x_10 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, lean_box(0)); +return x_10; +} +else +{ +uint8_t x_11; lean_object* x_12; +x_11 = 0; +x_12 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); +x_11 = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37___redArg(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Term", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("byTactic", 8, 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__1; +x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; +x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); +return x_5; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; +x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__2; +x_3 = lean_name_eq(x_1, x_2); +if (x_3 == 0) +{ +uint8_t x_4; +x_4 = 1; +return x_4; +} +else +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_9 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___closed__0; +x_10 = lean_box(0); +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___boxed), 3, 1); +lean_closure_set(x_13, 0, x_12); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___boxed), 12, 5); +lean_closure_set(x_14, 0, x_13); +lean_closure_set(x_14, 1, x_1); +lean_closure_set(x_14, 2, x_9); +lean_closure_set(x_14, 3, x_10); +lean_closure_set(x_14, 4, x_11); +x_15 = 1; +x_16 = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37___redArg(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_7); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___boxed(lean_object* x_1, lean_object* x_2, 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_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Elab", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Tactic", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("unsolvedGoals", 13, 13); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("synthPlaceholder", 16, 16); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("lean", 4, 4); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("inductionWithNoAlts", 19, 19); +return x_1; +} +} +static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("_namedError", 11, 11); +return x_1; +} +} +LEAN_EXPORT uint8_t l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 1) +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_3, 0); +switch (lean_obj_tag(x_4)) { +case 1: +{ +lean_object* x_5; +x_5 = lean_ctor_get(x_4, 0); +switch (lean_obj_tag(x_5)) { +case 0: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 1); +x_7 = lean_ctor_get(x_4, 1); +x_8 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__0; +x_9 = lean_string_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; uint8_t x_11; +x_10 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__1; +x_11 = lean_string_dec_eq(x_7, x_10); +if (x_11 == 0) +{ +return x_1; +} +else +{ +lean_object* x_12; uint8_t x_13; +x_12 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__2; +x_13 = lean_string_dec_eq(x_6, x_12); +if (x_13 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__3; +x_15 = lean_string_dec_eq(x_6, x_14); +if (x_15 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +case 1: +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_5, 0); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_ctor_get(x_3, 1); +x_18 = lean_ctor_get(x_4, 1); +x_19 = lean_ctor_get(x_5, 1); +x_20 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__4; +x_21 = lean_string_dec_eq(x_19, x_20); +if (x_21 == 0) +{ +return x_1; +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__5; +x_23 = lean_string_dec_eq(x_18, x_22); +if (x_23 == 0) +{ +return x_1; +} +else +{ +lean_object* x_24; uint8_t x_25; +x_24 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__6; +x_25 = lean_string_dec_eq(x_17, x_24); +if (x_25 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +} +} +else +{ +return x_1; +} +} +default: +{ +return x_1; +} +} +} +case 0: +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_3, 1); +x_27 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__0; +x_28 = lean_string_dec_eq(x_26, x_27); +if (x_28 == 0) +{ +return x_1; +} +else +{ +return x_2; +} +} +default: +{ +return x_1; +} +} +} +else +{ +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; +x_4 = lean_unbox(x_1); +x_5 = lean_unbox(x_2); +x_6 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0(x_4, x_5, x_3); +lean_dec(x_3); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; uint8_t x_55; uint8_t x_56; lean_object* x_57; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; uint8_t x_93; uint8_t x_94; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; +x_100 = 2; +x_125 = l_Lean_instBEqMessageSeverity_beq(x_3, x_100); +if (x_125 == 0) +{ +x_109 = x_125; +goto block_124; +} +else +{ +uint8_t x_126; +lean_inc_ref(x_2); +x_126 = l_Lean_MessageData_hasSyntheticSorry(x_2); +x_109 = x_126; +goto block_124; +} +block_49: +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_20 = lean_st_ref_take(x_18); +x_21 = lean_ctor_get(x_17, 6); +lean_inc(x_21); +x_22 = lean_ctor_get(x_17, 7); +lean_inc(x_22); +lean_dec_ref(x_17); +x_23 = !lean_is_exclusive(x_20); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_24 = lean_ctor_get(x_20, 6); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_21); +lean_ctor_set(x_25, 1, x_22); +x_26 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_10); +x_27 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_27, 0, x_12); +lean_ctor_set(x_27, 1, x_13); +lean_ctor_set(x_27, 2, x_14); +lean_ctor_set(x_27, 3, x_15); +lean_ctor_set(x_27, 4, x_26); +lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_16); +lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_11); +lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 2, x_4); +x_28 = l_Lean_MessageLog_add(x_27, x_24); +lean_ctor_set(x_20, 6, x_28); +x_29 = lean_st_ref_set(x_18, x_20); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_31, 0, x_30); +return x_31; +} +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; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_32 = lean_ctor_get(x_20, 0); +x_33 = lean_ctor_get(x_20, 1); +x_34 = lean_ctor_get(x_20, 2); +x_35 = lean_ctor_get(x_20, 3); +x_36 = lean_ctor_get(x_20, 4); +x_37 = lean_ctor_get(x_20, 5); +x_38 = lean_ctor_get(x_20, 6); +x_39 = lean_ctor_get(x_20, 7); +x_40 = lean_ctor_get(x_20, 8); +lean_inc(x_40); +lean_inc(x_39); +lean_inc(x_38); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_20); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_21); +lean_ctor_set(x_41, 1, x_22); +x_42 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_10); +x_43 = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(x_43, 0, x_12); +lean_ctor_set(x_43, 1, x_13); +lean_ctor_set(x_43, 2, x_14); +lean_ctor_set(x_43, 3, x_15); +lean_ctor_set(x_43, 4, x_42); +lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_16); +lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_11); +lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 2, x_4); +x_44 = l_Lean_MessageLog_add(x_43, x_38); +x_45 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_45, 0, x_32); +lean_ctor_set(x_45, 1, x_33); +lean_ctor_set(x_45, 2, x_34); +lean_ctor_set(x_45, 3, x_35); +lean_ctor_set(x_45, 4, x_36); +lean_ctor_set(x_45, 5, x_37); +lean_ctor_set(x_45, 6, x_44); +lean_ctor_set(x_45, 7, x_39); +lean_ctor_set(x_45, 8, x_40); +x_46 = lean_st_ref_set(x_18, x_45); +x_47 = lean_box(0); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +return x_48; +} +} +block_76: +{ +lean_object* x_58; lean_object* x_59; uint8_t x_60; +x_58 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); +x_59 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__17(x_58, x_5, x_6, x_7, x_8); +x_60 = !lean_is_exclusive(x_59); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_61 = lean_ctor_get(x_59, 0); +lean_inc_ref(x_51); +x_62 = l_Lean_FileMap_toPosition(x_51, x_54); +lean_dec(x_54); +x_63 = l_Lean_FileMap_toPosition(x_51, x_57); +lean_dec(x_57); +x_64 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_64, 0, x_63); +x_65 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1; +if (x_55 == 0) +{ +lean_free_object(x_59); +lean_dec_ref(x_50); +x_10 = x_61; +x_11 = x_53; +x_12 = x_52; +x_13 = x_62; +x_14 = x_64; +x_15 = x_65; +x_16 = x_56; +x_17 = x_7; +x_18 = x_8; +x_19 = lean_box(0); +goto block_49; +} +else +{ +uint8_t x_66; +lean_inc(x_61); +x_66 = l_Lean_MessageData_hasTag(x_50, x_61); +if (x_66 == 0) +{ +lean_object* x_67; +lean_dec_ref(x_64); +lean_dec_ref(x_62); +lean_dec(x_61); +lean_dec_ref(x_52); +lean_dec_ref(x_7); +x_67 = lean_box(0); +lean_ctor_set(x_59, 0, x_67); +return x_59; +} +else +{ +lean_free_object(x_59); +x_10 = x_61; +x_11 = x_53; +x_12 = x_52; +x_13 = x_62; +x_14 = x_64; +x_15 = x_65; +x_16 = x_56; +x_17 = x_7; +x_18 = x_8; +x_19 = lean_box(0); +goto block_49; +} +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_68 = lean_ctor_get(x_59, 0); +lean_inc(x_68); +lean_dec(x_59); +lean_inc_ref(x_51); +x_69 = l_Lean_FileMap_toPosition(x_51, x_54); +lean_dec(x_54); +x_70 = l_Lean_FileMap_toPosition(x_51, x_57); +lean_dec(x_57); +x_71 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_72 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1; +if (x_55 == 0) +{ +lean_dec_ref(x_50); +x_10 = x_68; +x_11 = x_53; +x_12 = x_52; +x_13 = x_69; +x_14 = x_71; +x_15 = x_72; +x_16 = x_56; +x_17 = x_7; +x_18 = x_8; +x_19 = lean_box(0); +goto block_49; +} +else +{ +uint8_t x_73; +lean_inc(x_68); +x_73 = l_Lean_MessageData_hasTag(x_50, x_68); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; +lean_dec_ref(x_71); +lean_dec_ref(x_69); +lean_dec(x_68); +lean_dec_ref(x_52); +lean_dec_ref(x_7); +x_74 = lean_box(0); +x_75 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_75, 0, x_74); +return x_75; +} +else +{ +x_10 = x_68; +x_11 = x_53; +x_12 = x_52; +x_13 = x_69; +x_14 = x_71; +x_15 = x_72; +x_16 = x_56; +x_17 = x_7; +x_18 = x_8; +x_19 = lean_box(0); +goto block_49; +} +} +} +} +block_87: +{ +lean_object* x_85; +x_85 = l_Lean_Syntax_getTailPos_x3f(x_79, x_83); +lean_dec(x_79); +if (lean_obj_tag(x_85) == 0) +{ +lean_inc(x_84); +x_50 = x_77; +x_51 = x_78; +x_52 = x_81; +x_53 = x_80; +x_54 = x_84; +x_55 = x_82; +x_56 = x_83; +x_57 = x_84; +goto block_76; +} +else +{ +lean_object* x_86; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +lean_dec_ref(x_85); +x_50 = x_77; +x_51 = x_78; +x_52 = x_81; +x_53 = x_80; +x_54 = x_84; +x_55 = x_82; +x_56 = x_83; +x_57 = x_86; +goto block_76; +} +} +block_99: +{ +lean_object* x_95; lean_object* x_96; +x_95 = l_Lean_replaceRef(x_1, x_91); +lean_dec(x_91); +x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_93); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; +x_97 = lean_unsigned_to_nat(0u); +x_77 = x_88; +x_78 = x_89; +x_79 = x_95; +x_80 = x_94; +x_81 = x_90; +x_82 = x_92; +x_83 = x_93; +x_84 = x_97; +goto block_87; +} +else +{ +lean_object* x_98; +x_98 = lean_ctor_get(x_96, 0); +lean_inc(x_98); +lean_dec_ref(x_96); +x_77 = x_88; +x_78 = x_89; +x_79 = x_95; +x_80 = x_94; +x_81 = x_90; +x_82 = x_92; +x_83 = x_93; +x_84 = x_98; +goto block_87; +} +} +block_108: +{ +if (x_107 == 0) +{ +x_88 = x_104; +x_89 = x_101; +x_90 = x_102; +x_91 = x_103; +x_92 = x_105; +x_93 = x_106; +x_94 = x_3; +goto block_99; +} +else +{ +x_88 = x_104; +x_89 = x_101; +x_90 = x_102; +x_91 = x_103; +x_92 = x_105; +x_93 = x_106; +x_94 = x_100; +goto block_99; +} +} +block_124: +{ +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; uint8_t x_119; +x_110 = lean_ctor_get(x_7, 0); +x_111 = lean_ctor_get(x_7, 1); +x_112 = lean_ctor_get(x_7, 2); +x_113 = lean_ctor_get(x_7, 5); +x_114 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); +x_115 = lean_box(x_109); +x_116 = lean_box(x_114); +x_117 = lean_alloc_closure((void*)(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___boxed), 3, 2); +lean_closure_set(x_117, 0, x_115); +lean_closure_set(x_117, 1, x_116); +x_118 = 1; +x_119 = l_Lean_instBEqMessageSeverity_beq(x_3, x_118); +if (x_119 == 0) +{ +lean_inc(x_113); +lean_inc_ref(x_110); +lean_inc_ref(x_111); +x_101 = x_111; +x_102 = x_110; +x_103 = x_113; +x_104 = x_117; +x_105 = x_114; +x_106 = x_109; +x_107 = x_119; +goto block_108; +} +else +{ +lean_object* x_120; uint8_t x_121; +x_120 = l_Lean_warningAsError; +x_121 = l_Lean_Option_get___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(x_112, x_120); +lean_inc(x_113); +lean_inc_ref(x_110); +lean_inc_ref(x_111); +x_101 = x_111; +x_102 = x_110; +x_103 = x_113; +x_104 = x_117; +x_105 = x_114; +x_106 = x_109; +x_107 = x_121; +goto block_108; +} +} +else +{ +lean_object* x_122; lean_object* x_123; +lean_dec_ref(x_7); +lean_dec_ref(x_2); +x_122 = lean_box(0); +x_123 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_123, 0, x_122); +return x_123; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; uint8_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_3); +x_11 = lean_unbox(x_4); +x_12 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_1); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_10 = 2; +x_11 = 0; +x_12 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40_spec__46(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 5); +lean_inc(x_11); +x_12 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg(x_11, x_1, x_2, x_3, x_6, x_7, x_8, x_9); +lean_dec(x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40_spec__46___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = lean_unbox(x_2); +x_12 = lean_unbox(x_3); +x_13 = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40_spec__46(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = 2; +x_10 = 0; +x_11 = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40_spec__46(x_1, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40___boxed(lean_object* x_1, lean_object* x_2, 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_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("internal exception: ", 20, 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc_ref(x_10); +lean_dec_ref(x_1); +x_11 = l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39(x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_9); +return x_11; +} +else +{ +lean_object* x_12; uint8_t x_13; uint8_t x_37; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +x_37 = l_Lean_Elab_isAbortExceptionId(x_12); +if (x_37 == 0) +{ +uint8_t x_38; +x_38 = l_Lean_Exception_isInterrupt(x_1); +lean_dec_ref(x_1); +x_13 = x_38; +goto block_36; +} +else +{ +lean_dec_ref(x_1); +x_13 = x_37; +goto block_36; +} +block_36: +{ +if (x_13 == 0) +{ +lean_object* x_14; +x_14 = l_Lean_InternalExceptionId_getName(x_12); +lean_dec(x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +lean_dec_ref(x_14); +x_16 = l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__1; +x_17 = l_Lean_MessageData_ofName(x_15); +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_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__40(x_18, x_2, x_3, x_4, x_5, x_6, x_7); +return x_19; +} +else +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_21 = lean_ctor_get(x_14, 0); +x_22 = lean_ctor_get(x_6, 5); +lean_inc(x_22); +lean_dec_ref(x_6); +x_23 = lean_io_error_to_string(x_21); +x_24 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = l_Lean_MessageData_ofFormat(x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_22); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_14, 0, x_26); +return x_14; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_27 = lean_ctor_get(x_14, 0); +lean_inc(x_27); +lean_dec(x_14); +x_28 = lean_ctor_get(x_6, 5); +lean_inc(x_28); +lean_dec_ref(x_6); +x_29 = lean_io_error_to_string(x_27); +x_30 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = l_Lean_MessageData_ofFormat(x_30); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_28); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +return x_33; +} +} +} +else +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_12); +lean_dec_ref(x_6); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_35, 0, x_34); +return x_35; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___boxed(lean_object* x_1, lean_object* x_2, 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_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__34(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: +{ +lean_object* x_12; lean_object* x_13; uint8_t x_18; +x_18 = lean_usize_dec_lt(x_3, x_2); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_4); +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; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_20 = lean_ctor_get(x_9, 0); +x_21 = lean_ctor_get(x_9, 1); +x_22 = lean_ctor_get(x_9, 2); +x_23 = lean_ctor_get(x_9, 3); +x_24 = lean_ctor_get(x_9, 4); +x_25 = lean_ctor_get(x_9, 5); +x_26 = lean_ctor_get(x_9, 6); +x_27 = lean_ctor_get(x_9, 7); +x_28 = lean_ctor_get(x_9, 8); +x_29 = lean_ctor_get(x_9, 9); +x_30 = lean_ctor_get(x_9, 10); +x_31 = lean_ctor_get(x_9, 11); +x_32 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); +x_33 = lean_ctor_get(x_9, 12); +x_34 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); +x_35 = lean_ctor_get(x_9, 13); +x_36 = lean_array_uget(x_1, x_3); +x_37 = l_Lean_replaceRef(x_36, x_25); +lean_inc_ref(x_35); +lean_inc(x_33); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_24); +lean_inc(x_23); +lean_inc_ref(x_22); +lean_inc_ref(x_21); +lean_inc_ref(x_20); +x_38 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_38, 0, x_20); +lean_ctor_set(x_38, 1, x_21); +lean_ctor_set(x_38, 2, x_22); +lean_ctor_set(x_38, 3, x_23); +lean_ctor_set(x_38, 4, x_24); +lean_ctor_set(x_38, 5, x_37); +lean_ctor_set(x_38, 6, x_26); +lean_ctor_set(x_38, 7, x_27); +lean_ctor_set(x_38, 8, x_28); +lean_ctor_set(x_38, 9, x_29); +lean_ctor_set(x_38, 10, x_30); +lean_ctor_set(x_38, 11, x_31); +lean_ctor_set(x_38, 12, x_33); +lean_ctor_set(x_38, 13, x_35); +lean_ctor_set_uint8(x_38, sizeof(void*)*14, x_32); +lean_ctor_set_uint8(x_38, sizeof(void*)*14 + 1, x_34); +lean_inc(x_10); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +x_39 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32(x_36, x_5, x_6, x_7, x_8, x_38, x_10); +if (lean_obj_tag(x_39) == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +lean_dec_ref(x_39); +x_41 = lean_array_push(x_4, x_40); +x_12 = x_41; +x_13 = lean_box(0); +goto block_17; +} +else +{ +lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_51; +x_42 = lean_ctor_get(x_39, 0); +lean_inc(x_42); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + x_43 = x_39; +} else { + lean_dec_ref(x_39); + x_43 = lean_box(0); +} +x_51 = l_Lean_Exception_isInterrupt(x_42); +if (x_51 == 0) +{ +uint8_t x_52; +lean_inc(x_42); +x_52 = l_Lean_Exception_isRuntime(x_42); +x_44 = x_52; +goto block_50; +} +else +{ +x_44 = x_51; +goto block_50; +} +block_50: +{ +if (x_44 == 0) +{ +lean_object* x_45; +lean_dec(x_43); +lean_inc_ref(x_9); +x_45 = l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33(x_42, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_45) == 0) +{ +lean_dec_ref(x_45); +x_12 = x_4; +x_13 = lean_box(0); +goto block_17; +} +else +{ +uint8_t x_46; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +return x_45; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_45, 0); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +return x_48; +} +} +} +else +{ +lean_object* x_49; +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +if (lean_is_scalar(x_43)) { + x_49 = lean_alloc_ctor(1, 1, 0); +} else { + x_49 = x_43; +} +lean_ctor_set(x_49, 0, x_42); +return x_49; +} +} +} +} +block_17: +{ +size_t x_14; size_t x_15; +x_14 = 1; +x_15 = lean_usize_add(x_3, x_14); +x_3 = x_15; +x_4 = x_12; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__34___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__34(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_1); +return x_14; +} +} +static lean_object* _init_l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; +x_9 = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23___closed__0; +x_10 = lean_array_size(x_1); +x_11 = 0; +x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__34(x_1, x_10, x_11, x_9, x_2, x_3, x_4, x_5, x_6, x_7); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23___boxed(lean_object* x_1, lean_object* x_2, 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_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_unsigned_to_nat(1u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = l_Lean_Syntax_getSepArgs(x_10); +lean_dec(x_10); +x_12 = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23(x_11, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_9; +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`", 1, 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` has already been declared", 27, 27); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__2; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("private declaration `", 21, 21); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_12; +lean_inc(x_10); +lean_inc_ref(x_9); +lean_inc(x_8); +lean_inc_ref(x_7); +lean_inc(x_6); +lean_inc_ref(x_5); +lean_inc(x_2); +x_12 = lean_apply_8(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, lean_box(0)); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +lean_dec_ref(x_12); +lean_inc(x_2); +x_13 = lean_private_to_user_name(x_2); +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; +x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1; +x_15 = l_Lean_MessageData_ofConstName(x_2, x_3); +x_16 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3; +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___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_18, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +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; +lean_dec(x_2); +x_20 = lean_ctor_get(x_13, 0); +lean_inc(x_20); +lean_dec_ref(x_13); +x_21 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__5; +x_22 = l_Lean_MessageData_ofConstName(x_20, x_3); +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3; +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_25, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +return x_26; +} +} +else +{ +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_2); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__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: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_3); +x_13 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec_ref(x_4); +return x_13; +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` is a reserved name", 20, 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_12; uint8_t x_13; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_12 = lean_st_ref_get(x_10); +x_23 = lean_ctor_get(x_12, 0); +lean_inc_ref(x_23); +lean_dec(x_12); +lean_inc(x_2); +x_24 = l_Lean_privateToUserName(x_2); +lean_inc_ref(x_4); +x_25 = lean_is_reserved_name(x_4, x_24); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +lean_inc(x_2); +x_26 = l_Lean_mkPrivateName(x_23, x_2); +lean_dec_ref(x_23); +x_27 = lean_is_reserved_name(x_4, x_26); +x_13 = x_27; +goto block_22; +} +else +{ +lean_dec_ref(x_23); +lean_dec_ref(x_4); +x_13 = x_25; +goto block_22; +} +block_22: +{ +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_2); +x_14 = lean_box(0); +x_15 = lean_apply_8(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_10, lean_box(0)); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec_ref(x_1); +x_16 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1; +x_17 = l_Lean_MessageData_ofConstName(x_2, x_3); +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_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__1; +x_20 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_20, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +return x_21; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_3); +x_13 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_spec__6___redArg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -1017,16 +8375,16 @@ return x_46; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_spec__5___redArg(x_1, x_2); +x_4 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_spec__6___redArg(x_1, x_2); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__0() { +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__0() { _start: { lean_object* x_1; lean_object* x_2; @@ -1035,24 +8393,24 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__1() { +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__0; +x_1 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__0; 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_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__2() { +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__2() { _start: { size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 5; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__0; -x_4 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__1; +x_3 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__0; +x_4 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__1; x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -1062,7 +8420,7 @@ lean_ctor_set_usize(x_5, 4, x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -1084,20 +8442,20 @@ return x_13; else { lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__2; +x_14 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__2; x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_1); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_spec__5___redArg(x_15, x_7); +x_16 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_spec__6___redArg(x_15, x_7); return x_16; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); @@ -1107,1166 +8465,7 @@ lean_dec_ref(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__16(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_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; lean_object* x_14; lean_object* x_15; -x_7 = lean_st_ref_get(x_5); -x_8 = lean_ctor_get(x_7, 0); -lean_inc_ref(x_8); -lean_dec(x_7); -x_9 = lean_st_ref_get(x_3); -x_10 = lean_ctor_get(x_9, 0); -lean_inc_ref(x_10); -lean_dec(x_9); -x_11 = lean_ctor_get(x_2, 2); -x_12 = lean_ctor_get(x_4, 2); -lean_inc_ref(x_12); -lean_inc_ref(x_11); -x_13 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_13, 0, x_8); -lean_ctor_set(x_13, 1, x_10); -lean_ctor_set(x_13, 2, x_11); -lean_ctor_set(x_13, 3, x_12); -x_14 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_1); -x_15 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_15, 0, x_14); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__16(x_1, x_2, x_3, x_4, x_5); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_7; -} -} -static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("while expanding", 15, 15); -return x_1; -} -} -static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__0; -x_2 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__1; -x_2 = l_Lean_MessageData_ofFormat(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_3) == 0) -{ -lean_dec_ref(x_1); -return x_2; -} -else -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_ctor_get(x_3, 0); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_7 = lean_ctor_get(x_3, 1); -x_8 = lean_ctor_get(x_5, 0); -x_9 = lean_ctor_get(x_5, 1); -lean_dec(x_9); -lean_inc_ref(x_1); -lean_ctor_set_tag(x_5, 7); -lean_ctor_set(x_5, 1, x_1); -lean_ctor_set(x_5, 0, x_2); -x_10 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__2; -lean_ctor_set_tag(x_3, 7); -lean_ctor_set(x_3, 1, x_10); -x_11 = l_Lean_MessageData_ofSyntax(x_8); -x_12 = l_Lean_indentD(x_11); -x_13 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_13, 0, x_3); -lean_ctor_set(x_13, 1, x_12); -x_2 = x_13; -x_3 = x_7; -goto _start; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_15 = lean_ctor_get(x_3, 1); -x_16 = lean_ctor_get(x_5, 0); -lean_inc(x_16); -lean_dec(x_5); -lean_inc_ref(x_1); -x_17 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_17, 0, x_2); -lean_ctor_set(x_17, 1, x_1); -x_18 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__2; -lean_ctor_set_tag(x_3, 7); -lean_ctor_set(x_3, 1, x_18); -lean_ctor_set(x_3, 0, x_17); -x_19 = l_Lean_MessageData_ofSyntax(x_16); -x_20 = l_Lean_indentD(x_19); -x_21 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_21, 0, x_3); -lean_ctor_set(x_21, 1, x_20); -x_2 = x_21; -x_3 = x_15; -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; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_23 = lean_ctor_get(x_3, 0); -x_24 = lean_ctor_get(x_3, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_3); -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -if (lean_is_exclusive(x_23)) { - lean_ctor_release(x_23, 0); - lean_ctor_release(x_23, 1); - x_26 = x_23; -} else { - lean_dec_ref(x_23); - x_26 = lean_box(0); -} -lean_inc_ref(x_1); -if (lean_is_scalar(x_26)) { - x_27 = lean_alloc_ctor(7, 2, 0); -} else { - x_27 = x_26; - lean_ctor_set_tag(x_27, 7); -} -lean_ctor_set(x_27, 0, x_2); -lean_ctor_set(x_27, 1, x_1); -x_28 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__2; -x_29 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_MessageData_ofSyntax(x_25); -x_31 = l_Lean_indentD(x_30); -x_32 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_31); -x_2 = x_32; -x_3 = x_24; -goto _start; -} -} -} -} -LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__26(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_3 = lean_ctor_get(x_2, 0); -x_4 = lean_ctor_get(x_2, 1); -x_5 = lean_ctor_get(x_1, 0); -x_6 = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(x_5, x_3); -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_7; -x_7 = lean_unbox(x_4); -return x_7; -} -else -{ -lean_object* x_8; -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); -lean_dec_ref(x_6); -if (lean_obj_tag(x_8) == 1) -{ -uint8_t x_9; -x_9 = lean_ctor_get_uint8(x_8, 0); -lean_dec_ref(x_8); -return x_9; -} -else -{ -uint8_t x_10; -lean_dec(x_8); -x_10 = lean_unbox(x_4); -return x_10; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__26___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__26(x_1, x_2); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(1); -x_2 = l_Lean_MessageData_ofFormat(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("with resulting expansion", 24, 24); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__1; -x_2 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__2; -x_2 = l_Lean_MessageData_ofFormat(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_3, 2); -x_6 = l_Lean_Elab_pp_macroStack; -x_7 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__26(x_5, x_6); -if (x_7 == 0) -{ -lean_object* x_8; -lean_dec(x_2); -x_8 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_8, 0, x_1); -return x_8; -} -else -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_9; -x_9 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_9, 0, x_1); -return x_9; -} -else -{ -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_2, 0); -lean_inc(x_10); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_12 = lean_ctor_get(x_10, 1); -x_13 = lean_ctor_get(x_10, 0); -lean_dec(x_13); -x_14 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__0; -lean_ctor_set_tag(x_10, 7); -lean_ctor_set(x_10, 1, x_14); -lean_ctor_set(x_10, 0, x_1); -x_15 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__3; -x_16 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_16, 0, x_10); -lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_MessageData_ofSyntax(x_12); -x_18 = l_Lean_indentD(x_17); -x_19 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_19, 0, x_16); -lean_ctor_set(x_19, 1, x_18); -x_20 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27(x_14, x_19, x_2); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_20); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_22 = lean_ctor_get(x_10, 1); -lean_inc(x_22); -lean_dec(x_10); -x_23 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__0; -x_24 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_24, 0, x_1); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__3; -x_26 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_MessageData_ofSyntax(x_22); -x_28 = l_Lean_indentD(x_27); -x_29 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_29, 0, x_26); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27(x_23, x_29, x_2); -x_31 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_31, 0, x_30); -return x_31; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___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_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg(x_1, x_2, x_3); -lean_dec_ref(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_9 = lean_ctor_get(x_6, 5); -x_10 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__16(x_1, x_4, x_5, x_6, x_7); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec_ref(x_10); -x_12 = lean_ctor_get(x_2, 1); -lean_inc(x_12); -lean_dec_ref(x_2); -lean_inc(x_12); -x_13 = l_Lean_Elab_getBetterRef(x_9, x_12); -x_14 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg(x_11, x_12, x_6); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_13); -lean_ctor_set(x_17, 1, x_16); -lean_ctor_set_tag(x_14, 1); -lean_ctor_set(x_14, 0, x_17); -return x_14; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_14, 0); -lean_inc(x_18); -lean_dec(x_14); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_13); -lean_ctor_set(x_19, 1, x_18); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -return x_20; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_10; -x_10 = !lean_is_exclusive(x_7); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_7, 5); -x_12 = l_Lean_replaceRef(x_1, x_11); -lean_dec(x_11); -lean_ctor_set(x_7, 5, x_12); -x_13 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec_ref(x_7); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -x_16 = lean_ctor_get(x_7, 2); -x_17 = lean_ctor_get(x_7, 3); -x_18 = lean_ctor_get(x_7, 4); -x_19 = lean_ctor_get(x_7, 5); -x_20 = lean_ctor_get(x_7, 6); -x_21 = lean_ctor_get(x_7, 7); -x_22 = lean_ctor_get(x_7, 8); -x_23 = lean_ctor_get(x_7, 9); -x_24 = lean_ctor_get(x_7, 10); -x_25 = lean_ctor_get(x_7, 11); -x_26 = lean_ctor_get_uint8(x_7, sizeof(void*)*14); -x_27 = lean_ctor_get(x_7, 12); -x_28 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); -x_29 = lean_ctor_get(x_7, 13); -lean_inc(x_29); -lean_inc(x_27); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_7); -x_30 = l_Lean_replaceRef(x_1, x_19); -lean_dec(x_19); -x_31 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_31, 0, x_14); -lean_ctor_set(x_31, 1, x_15); -lean_ctor_set(x_31, 2, x_16); -lean_ctor_set(x_31, 3, x_17); -lean_ctor_set(x_31, 4, x_18); -lean_ctor_set(x_31, 5, x_30); -lean_ctor_set(x_31, 6, x_20); -lean_ctor_set(x_31, 7, x_21); -lean_ctor_set(x_31, 8, x_22); -lean_ctor_set(x_31, 9, x_23); -lean_ctor_set(x_31, 10, x_24); -lean_ctor_set(x_31, 11, x_25); -lean_ctor_set(x_31, 12, x_27); -lean_ctor_set(x_31, 13, x_29); -lean_ctor_set_uint8(x_31, sizeof(void*)*14, x_26); -lean_ctor_set_uint8(x_31, sizeof(void*)*14 + 1, x_28); -x_32 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_31, x_8); -lean_dec_ref(x_31); -return x_32; -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_10; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__0; -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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 2, x_2); -lean_ctor_set(x_3, 3, x_1); -lean_ctor_set(x_3, 4, x_1); -lean_ctor_set(x_3, 5, x_1); -lean_ctor_set(x_3, 6, x_1); -lean_ctor_set(x_3, 7, x_1); -lean_ctor_set(x_3, 8, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(32u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__3; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__5() { -_start: -{ -size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = 5; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__3; -x_4 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__4; -x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_3); -lean_ctor_set(x_5, 2, x_2); -lean_ctor_set(x_5, 3, x_2); -lean_ctor_set_usize(x_5, 4, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = lean_box(1); -x_2 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__5; -x_3 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__1; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_1); -return x_4; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("A private declaration `", 23, 23); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` (from the current module) exists but would need to be public to access here.", 78, 78); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__9; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("A public declaration `", 22, 22); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__11; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` exists but is imported privately; consider adding `public import ", 67, 67); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__13; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`.", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__15; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` (from `", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__18() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__17; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`) exists but would need to be public to access here.", 53, 53); -return x_1; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__19; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_st_ref_get(x_3); -x_6 = lean_ctor_get(x_5, 0); -lean_inc_ref(x_6); -lean_dec(x_5); -x_7 = l_Lean_Name_isAnonymous(x_2); -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); -if (x_8 == 0) -{ -lean_object* x_9; -lean_dec_ref(x_6); -lean_dec(x_2); -x_9 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_9, 0, x_1); -return x_9; -} -else -{ -lean_object* x_10; uint8_t x_11; -lean_inc_ref(x_6); -x_10 = l_Lean_Environment_setExporting(x_6, x_7); -lean_inc(x_2); -lean_inc_ref(x_10); -x_11 = l_Lean_Environment_contains(x_10, x_2, x_8); -if (x_11 == 0) -{ -lean_object* x_12; -lean_dec_ref(x_10); -lean_dec_ref(x_6); -lean_dec(x_2); -x_12 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_12, 0, x_1); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__2; -x_14 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__6; -x_15 = l_Lean_Options_empty; -x_16 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_16, 0, x_10); -lean_ctor_set(x_16, 1, x_13); -lean_ctor_set(x_16, 2, x_14); -lean_ctor_set(x_16, 3, x_15); -lean_inc(x_2); -x_17 = l_Lean_MessageData_ofConstName(x_2, x_7); -x_18 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Environment_getModuleIdxFor_x3f(x_6, x_2); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec_ref(x_6); -lean_dec(x_2); -x_20 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__8; -x_21 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_18); -x_22 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__10; -x_23 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_MessageData_note(x_23); -x_25 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_24); -x_26 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_26, 0, x_25); -return x_26; -} -else -{ -uint8_t x_27; -x_27 = !lean_is_exclusive(x_19); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_28 = lean_ctor_get(x_19, 0); -x_29 = lean_box(0); -x_30 = l_Lean_Environment_header(x_6); -lean_dec_ref(x_6); -x_31 = l_Lean_EnvironmentHeader_moduleNames(x_30); -x_32 = lean_array_get(x_29, x_31, x_28); -lean_dec(x_28); -lean_dec_ref(x_31); -x_33 = l_Lean_isPrivateName(x_2); -lean_dec(x_2); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_34 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__12; -x_35 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_18); -x_36 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__14; -x_37 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_MessageData_ofName(x_32); -x_39 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__16; -x_41 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_MessageData_note(x_41); -x_43 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_43, 0, x_1); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set_tag(x_19, 0); -lean_ctor_set(x_19, 0, x_43); -return x_19; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_44 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__8; -x_45 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_18); -x_46 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__18; -x_47 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_MessageData_ofName(x_32); -x_49 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__20; -x_51 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lean_MessageData_note(x_51); -x_53 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_53, 0, x_1); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set_tag(x_19, 0); -lean_ctor_set(x_19, 0, x_53); -return x_19; -} -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_54 = lean_ctor_get(x_19, 0); -lean_inc(x_54); -lean_dec(x_19); -x_55 = lean_box(0); -x_56 = l_Lean_Environment_header(x_6); -lean_dec_ref(x_6); -x_57 = l_Lean_EnvironmentHeader_moduleNames(x_56); -x_58 = lean_array_get(x_55, x_57, x_54); -lean_dec(x_54); -lean_dec_ref(x_57); -x_59 = l_Lean_isPrivateName(x_2); -lean_dec(x_2); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_60 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__12; -x_61 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_18); -x_62 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__14; -x_63 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_MessageData_ofName(x_58); -x_65 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__16; -x_67 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_MessageData_note(x_67); -x_69 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_69, 0, x_1); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_70, 0, x_69); -return x_70; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_71 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__8; -x_72 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_18); -x_73 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__18; -x_74 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_MessageData_ofName(x_58); -x_76 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__20; -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 = l_Lean_MessageData_note(x_78); -x_80 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_80, 0, x_1); -lean_ctor_set(x_80, 1, x_79); -x_81 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_81, 0, x_80); -return x_81; -} -} -} -} -} -} -else -{ -lean_object* x_82; -lean_dec_ref(x_6); -lean_dec(x_2); -x_82 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_82, 0, x_1); -return x_82; -} -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg(x_1, x_2, x_3); -lean_dec(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46(lean_object* x_1, lean_object* x_2, 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_10; uint8_t x_11; -x_10 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg(x_1, x_2, x_8); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_unknownIdentifierMessageTag; -x_14 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -lean_ctor_set(x_10, 0, x_14); -return x_10; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_10, 0); -lean_inc(x_15); -lean_dec(x_10); -x_16 = l_Lean_unknownIdentifierMessageTag; -x_17 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_15); -x_18 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_18, 0, x_17); -return x_18; -} -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_11; lean_object* x_12; lean_object* x_13; -x_11 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -lean_dec_ref(x_11); -x_13 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_1, x_12, x_4, x_5, x_6, x_7, x_8, x_9); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_11; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Unknown constant `", 18, 18); -return x_1; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("`", 1, 1); -return x_1; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg(lean_object* x_1, lean_object* x_2, 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_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_10 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__1; -x_11 = 0; -lean_inc(x_2); -x_12 = l_Lean_MessageData_ofConstName(x_2, x_11); -x_13 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_13, 0, x_10); -lean_ctor_set(x_13, 1, x_12); -x_14 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3; -x_15 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39___redArg(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_ctor_get(x_6, 5); -lean_inc(x_9); -x_10 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_9); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17___redArg___boxed(lean_object* x_1, lean_object* x_2, 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_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; -x_9 = lean_st_ref_get(x_7); -x_10 = lean_ctor_get(x_9, 0); -lean_inc_ref(x_10); -lean_dec(x_9); -x_11 = 0; -lean_inc(x_1); -x_12 = l_Lean_Environment_findConstVal_x3f(x_10, x_1, x_11); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_13; -} -else -{ -uint8_t x_14; -lean_dec_ref(x_6); -lean_dec_ref(x_2); -lean_dec(x_1); -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) -{ -lean_ctor_set_tag(x_12, 0); -return x_12; -} -else -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_12, 0); -lean_inc(x_15); -lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_16, 0, x_15); -return x_16; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -return x_9; -} -} -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__4(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2314,12 +8513,660 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__0; +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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_2); +lean_ctor_set(x_3, 3, x_1); +lean_ctor_set(x_3, 4, x_1); +lean_ctor_set(x_3, 5, x_1); +lean_ctor_set(x_3, 6, x_1); +lean_ctor_set(x_3, 7, x_1); +lean_ctor_set(x_3, 8, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(32u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__3; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__5() { +_start: +{ +size_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = 5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__3; +x_4 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__4; +x_5 = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_3); +lean_ctor_set(x_5, 2, x_2); +lean_ctor_set(x_5, 3, x_2); +lean_ctor_set_usize(x_5, 4, x_1); +return x_5; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(1); +x_2 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__5; +x_3 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__1; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("A private declaration `", 23, 23); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` (from the current module) exists but would need to be public to access here.", 78, 78); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__9; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("A public declaration `", 22, 22); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__11; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` exists but is imported privately; consider adding `public import ", 67, 67); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__13; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`.", 2, 2); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__15; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("` (from `", 9, 9); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__17; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("`) exists but would need to be public to access here.", 53, 53); +return x_1; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__19; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_st_ref_get(x_3); +x_6 = lean_ctor_get(x_5, 0); +lean_inc_ref(x_6); +lean_dec(x_5); +x_7 = l_Lean_Name_isAnonymous(x_2); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = lean_ctor_get_uint8(x_6, sizeof(void*)*8); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec_ref(x_6); +lean_dec(x_2); +x_9 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_9, 0, x_1); +return x_9; +} +else +{ +lean_object* x_10; uint8_t x_11; +lean_inc_ref(x_6); +x_10 = l_Lean_Environment_setExporting(x_6, x_7); +lean_inc(x_2); +lean_inc_ref(x_10); +x_11 = l_Lean_Environment_contains(x_10, x_2, x_8); +if (x_11 == 0) +{ +lean_object* x_12; +lean_dec_ref(x_10); +lean_dec_ref(x_6); +lean_dec(x_2); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_1); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_13 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__2; +x_14 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__6; +x_15 = l_Lean_Options_empty; +x_16 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_13); +lean_ctor_set(x_16, 2, x_14); +lean_ctor_set(x_16, 3, x_15); +lean_inc(x_2); +x_17 = l_Lean_MessageData_ofConstName(x_2, x_7); +x_18 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_Environment_getModuleIdxFor_x3f(x_6, x_2); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_dec_ref(x_6); +lean_dec(x_2); +x_20 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__8; +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_18); +x_22 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__10; +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_MessageData_note(x_23); +x_25 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +else +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_19); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_28 = lean_ctor_get(x_19, 0); +x_29 = lean_box(0); +x_30 = l_Lean_Environment_header(x_6); +lean_dec_ref(x_6); +x_31 = l_Lean_EnvironmentHeader_moduleNames(x_30); +x_32 = lean_array_get(x_29, x_31, x_28); +lean_dec(x_28); +lean_dec_ref(x_31); +x_33 = l_Lean_isPrivateName(x_2); +lean_dec(x_2); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_34 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__12; +x_35 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_18); +x_36 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__14; +x_37 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_Lean_MessageData_ofName(x_32); +x_39 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__16; +x_41 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_MessageData_note(x_41); +x_43 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_43, 0, x_1); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set_tag(x_19, 0); +lean_ctor_set(x_19, 0, x_43); +return x_19; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_44 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__8; +x_45 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_18); +x_46 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__18; +x_47 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_MessageData_ofName(x_32); +x_49 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__20; +x_51 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_MessageData_note(x_51); +x_53 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_53, 0, x_1); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set_tag(x_19, 0); +lean_ctor_set(x_19, 0, x_53); +return x_19; +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_54 = lean_ctor_get(x_19, 0); +lean_inc(x_54); +lean_dec(x_19); +x_55 = lean_box(0); +x_56 = l_Lean_Environment_header(x_6); +lean_dec_ref(x_6); +x_57 = l_Lean_EnvironmentHeader_moduleNames(x_56); +x_58 = lean_array_get(x_55, x_57, x_54); +lean_dec(x_54); +lean_dec_ref(x_57); +x_59 = l_Lean_isPrivateName(x_2); +lean_dec(x_2); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_60 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__12; +x_61 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_18); +x_62 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__14; +x_63 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_MessageData_ofName(x_58); +x_65 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__16; +x_67 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_MessageData_note(x_67); +x_69 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_69, 0, x_1); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_71 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__8; +x_72 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_18); +x_73 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__18; +x_74 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_MessageData_ofName(x_58); +x_76 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +x_77 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__20; +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 = l_Lean_MessageData_note(x_78); +x_80 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_80, 0, x_1); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_81, 0, x_80); +return x_81; +} +} +} +} +} +} +else +{ +lean_object* x_82; +lean_dec_ref(x_6); +lean_dec(x_2); +x_82 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_82, 0, x_1); +return x_82; +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg(x_1, x_2, x_3); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46(lean_object* x_1, lean_object* x_2, 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_10; uint8_t x_11; +x_10 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg(x_1, x_2, x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_10, 0); +x_13 = l_Lean_unknownIdentifierMessageTag; +x_14 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +lean_ctor_set(x_10, 0, x_14); +return x_10; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_10, 0); +lean_inc(x_15); +lean_dec(x_10); +x_16 = l_Lean_unknownIdentifierMessageTag; +x_17 = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec_ref(x_3); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_11; lean_object* x_12; lean_object* x_13; +x_11 = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec_ref(x_11); +x_13 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_1, x_12, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_9); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("Unknown constant `", 18, 18); +return x_1; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__0; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg(lean_object* x_1, lean_object* x_2, 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_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__1; +x_11 = 0; +lean_inc(x_2); +x_12 = l_Lean_MessageData_ofConstName(x_2, x_11); +x_13 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_13, 0, x_10); +lean_ctor_set(x_13, 1, x_12); +x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1; +x_15 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39___redArg(x_1, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_8); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 5); +lean_inc(x_9); +x_10 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg(x_9, x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18___redArg___boxed(lean_object* x_1, lean_object* x_2, 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_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_9 = lean_st_ref_get(x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc_ref(x_10); +lean_dec(x_9); +x_11 = 0; +lean_inc(x_1); +x_12 = l_Lean_Environment_findConstVal_x3f(x_10, x_1, x_11); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +x_13 = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +return x_13; +} +else +{ +uint8_t x_14; +lean_dec_ref(x_6); +lean_dec_ref(x_2); +lean_dec(x_1); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_ctor_set_tag(x_12, 0); +return x_12; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_12, 0); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_7); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_9; lean_inc(x_1); -x_9 = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -2332,7 +9179,7 @@ x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); x_13 = lean_box(0); -x_14 = l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__3(x_12, x_13); +x_14 = l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__4(x_12, x_13); x_15 = l_Lean_mkConst(x_1, x_14); lean_ctor_set(x_9, 0, x_15); return x_9; @@ -2347,7 +9194,7 @@ x_17 = lean_ctor_get(x_16, 1); lean_inc(x_17); lean_dec(x_16); x_18 = lean_box(0); -x_19 = l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__3(x_17, x_18); +x_19 = l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__4(x_17, x_18); x_20 = l_Lean_mkConst(x_1, x_19); x_21 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_21, 0, x_20); @@ -2376,11 +9223,11 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_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_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_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: { lean_object* x_9; -x_9 = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_5); lean_dec_ref(x_4); @@ -2388,7 +9235,7 @@ lean_dec(x_3); return x_9; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__0() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__0() { _start: { lean_object* x_1; @@ -2396,23 +9243,23 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__1() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__0; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__0; 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_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__2() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_box(1); -x_2 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__5; -x_3 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__1; +x_2 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__5; +x_3 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__1; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_3); lean_ctor_set(x_4, 1, x_2); @@ -2420,14 +9267,14 @@ lean_ctor_set(x_4, 2, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_10; lean_object* x_11; x_10 = lean_ctor_get(x_7, 5); lean_inc_ref(x_7); lean_inc_ref(x_3); -x_11 = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1(x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -2439,7 +9286,7 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_10); -x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__2; +x_15 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__2; x_16 = lean_box(0); x_17 = lean_alloc_ctor(0, 4, 2); lean_ctor_set(x_17, 0, x_14); @@ -2450,7 +9297,7 @@ lean_ctor_set_uint8(x_17, sizeof(void*)*4, x_1); lean_ctor_set_uint8(x_17, sizeof(void*)*4 + 1, x_1); x_18 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_18, 0, x_17); -x_19 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1(x_18, x_3, x_4, x_5, x_6, x_7, x_8); +x_19 = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2(x_18, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec_ref(x_7); lean_dec_ref(x_3); return x_19; @@ -2478,12 +9325,12 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_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_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); -x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_11 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec(x_6); lean_dec_ref(x_5); @@ -2491,24 +9338,97 @@ lean_dec(x_4); return x_11; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__0() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__0() { _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("` is a reserved name", 20, 20); +x_1 = lean_mk_string_unchecked("a private declaration `", 23, 23); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__1() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__0; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__0; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; uint8_t x_14; uint8_t x_15; +lean_inc(x_2); +x_13 = l_Lean_mkPrivateName(x_1, x_2); +x_14 = 1; +lean_inc(x_13); +x_15 = l_Lean_Environment_contains(x_1, x_13, x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_13); +lean_dec_ref(x_4); +lean_dec(x_2); +x_16 = lean_box(0); +x_17 = lean_apply_8(x_3, x_16, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); +return x_17; +} +else +{ +lean_object* x_18; +lean_dec_ref(x_3); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +lean_inc(x_7); +lean_inc_ref(x_6); +x_18 = lean_apply_8(x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_dec_ref(x_18); +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__1; +x_20 = l_Lean_MessageData_ofConstName(x_2, x_14); +x_21 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3; +x_23 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_23, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +return x_24; +} +else +{ +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_2); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; +x_13 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_13; lean_object* x_23; uint8_t x_24; @@ -2545,16 +9465,16 @@ 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_dec_ref(x_1); -x_16 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3; +x_16 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1; x_17 = l_Lean_MessageData_ofConstName(x_2, x_3); 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_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__1; +x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__1; x_20 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_20, 0, x_18); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_20, x_6, x_7, x_8, x_9, x_10, x_11); +x_21 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_20, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -2565,565 +9485,17 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__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) { _start: { uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_3); -x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_14 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__4(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec_ref(x_5); return x_14; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("` has already been declared", 27, 27); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("private declaration `", 21, 21); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_12; -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -lean_inc(x_2); -x_12 = lean_apply_8(x_1, x_2, x_5, x_6, x_7, x_8, x_9, x_10, lean_box(0)); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -lean_dec_ref(x_12); -lean_inc(x_2); -x_13 = lean_private_to_user_name(x_2); -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; -x_14 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3; -x_15 = l_Lean_MessageData_ofConstName(x_2, x_3); -x_16 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1; -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___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_18, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -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; -lean_dec(x_2); -x_20 = lean_ctor_get(x_13, 0); -lean_inc(x_20); -lean_dec_ref(x_13); -x_21 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__3; -x_22 = l_Lean_MessageData_ofConstName(x_20, x_3); -x_23 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1; -x_25 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_25, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -return x_26; -} -} -else -{ -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_2); -return x_12; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__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: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_3); -x_13 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec_ref(x_4); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_12; uint8_t x_13; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_12 = lean_st_ref_get(x_10); -x_23 = lean_ctor_get(x_12, 0); -lean_inc_ref(x_23); -lean_dec(x_12); -lean_inc(x_2); -x_24 = l_Lean_privateToUserName(x_2); -lean_inc_ref(x_4); -x_25 = lean_is_reserved_name(x_4, x_24); -if (x_25 == 0) -{ -lean_object* x_26; uint8_t x_27; -lean_inc(x_2); -x_26 = l_Lean_mkPrivateName(x_23, x_2); -lean_dec_ref(x_23); -x_27 = lean_is_reserved_name(x_4, x_26); -x_13 = x_27; -goto block_22; -} -else -{ -lean_dec_ref(x_23); -lean_dec_ref(x_4); -x_13 = x_25; -goto block_22; -} -block_22: -{ -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -lean_dec(x_2); -x_14 = lean_box(0); -x_15 = lean_apply_8(x_1, x_14, x_5, x_6, x_7, x_8, x_9, x_10, lean_box(0)); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -lean_dec_ref(x_1); -x_16 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3; -x_17 = l_Lean_MessageData_ofConstName(x_2, x_3); -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_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__1; -x_20 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_20, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -return x_21; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_3); -x_13 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__3(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_13; -} -} -static lean_object* _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return x_1; -} -} -static lean_object* _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__0; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__1; -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__1; -x_2 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -lean_ctor_set(x_2, 2, x_1); -lean_ctor_set(x_2, 3, x_1); -lean_ctor_set(x_2, 4, x_1); -lean_ctor_set(x_2, 5, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_st_ref_take(x_3); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = lean_ctor_get(x_5, 5); -lean_dec(x_7); -x_8 = lean_ctor_get(x_5, 0); -lean_dec(x_8); -x_9 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2; -lean_ctor_set(x_5, 5, x_9); -lean_ctor_set(x_5, 0, x_1); -x_10 = lean_st_ref_set(x_3, x_5); -x_11 = lean_st_ref_take(x_2); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_13 = lean_ctor_get(x_11, 1); -lean_dec(x_13); -x_14 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -lean_ctor_set(x_11, 1, x_14); -x_15 = lean_st_ref_set(x_2, x_11); -x_16 = lean_box(0); -x_17 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_17, 0, x_16); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_18 = lean_ctor_get(x_11, 0); -x_19 = lean_ctor_get(x_11, 2); -x_20 = lean_ctor_get(x_11, 3); -x_21 = lean_ctor_get(x_11, 4); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_11); -x_22 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -x_23 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_23, 0, x_18); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_23, 2, x_19); -lean_ctor_set(x_23, 3, x_20); -lean_ctor_set(x_23, 4, x_21); -x_24 = lean_st_ref_set(x_2, x_23); -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_26, 0, x_25); -return x_26; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_27 = lean_ctor_get(x_5, 1); -x_28 = lean_ctor_get(x_5, 2); -x_29 = lean_ctor_get(x_5, 3); -x_30 = lean_ctor_get(x_5, 4); -x_31 = lean_ctor_get(x_5, 6); -x_32 = lean_ctor_get(x_5, 7); -x_33 = lean_ctor_get(x_5, 8); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_5); -x_34 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2; -x_35 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_35, 0, x_1); -lean_ctor_set(x_35, 1, x_27); -lean_ctor_set(x_35, 2, x_28); -lean_ctor_set(x_35, 3, x_29); -lean_ctor_set(x_35, 4, x_30); -lean_ctor_set(x_35, 5, x_34); -lean_ctor_set(x_35, 6, x_31); -lean_ctor_set(x_35, 7, x_32); -lean_ctor_set(x_35, 8, x_33); -x_36 = lean_st_ref_set(x_3, x_35); -x_37 = lean_st_ref_take(x_2); -x_38 = lean_ctor_get(x_37, 0); -lean_inc_ref(x_38); -x_39 = lean_ctor_get(x_37, 2); -lean_inc(x_39); -x_40 = lean_ctor_get(x_37, 3); -lean_inc_ref(x_40); -x_41 = lean_ctor_get(x_37, 4); -lean_inc_ref(x_41); -if (lean_is_exclusive(x_37)) { - lean_ctor_release(x_37, 0); - lean_ctor_release(x_37, 1); - lean_ctor_release(x_37, 2); - lean_ctor_release(x_37, 3); - lean_ctor_release(x_37, 4); - x_42 = x_37; -} else { - lean_dec_ref(x_37); - x_42 = lean_box(0); -} -x_43 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -if (lean_is_scalar(x_42)) { - x_44 = lean_alloc_ctor(0, 5, 0); -} else { - x_44 = x_42; -} -lean_ctor_set(x_44, 0, x_38); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set(x_44, 2, x_39); -lean_ctor_set(x_44, 3, x_40); -lean_ctor_set(x_44, 4, x_41); -x_45 = lean_st_ref_set(x_2, x_44); -x_46 = lean_box(0); -x_47 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_47, 0, x_46); -return x_47; -} -} -} -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___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_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2___redArg(lean_object* x_1, lean_object* x_2, 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_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_19; lean_object* x_20; -x_10 = lean_st_ref_get(x_8); -x_11 = lean_ctor_get(x_10, 0); -lean_inc_ref(x_11); -lean_dec(x_10); -x_19 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg(x_1, x_6, x_8); -lean_dec_ref(x_19); -lean_inc(x_8); -lean_inc(x_6); -x_20 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, lean_box(0)); -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_ref(x_20); -x_22 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg(x_11, x_6, x_8); -lean_dec(x_8); -lean_dec(x_6); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -lean_ctor_set(x_22, 0, x_21); -return x_22; -} -else -{ -lean_object* x_25; -lean_dec(x_22); -x_25 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_25, 0, x_21); -return x_25; -} -} -else -{ -lean_object* x_26; -x_26 = lean_ctor_get(x_20, 0); -lean_inc(x_26); -lean_dec_ref(x_20); -x_12 = x_26; -x_13 = lean_box(0); -goto block_18; -} -block_18: -{ -lean_object* x_14; uint8_t x_15; -x_14 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg(x_11, x_6, x_8); -lean_dec(x_8); -lean_dec(x_6); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); -lean_dec(x_16); -lean_ctor_set_tag(x_14, 1); -lean_ctor_set(x_14, 0, x_12); -return x_14; -} -else -{ -lean_object* x_17; -lean_dec(x_14); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, x_12); -return x_17; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_10; -} -} -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("a private declaration `", 23, 23); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_13; uint8_t x_14; uint8_t x_15; -lean_inc(x_2); -x_13 = l_Lean_mkPrivateName(x_1, x_2); -x_14 = 1; -lean_inc(x_13); -x_15 = l_Lean_Environment_contains(x_1, x_13, x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_13); -lean_dec_ref(x_4); -lean_dec(x_2); -x_16 = lean_box(0); -x_17 = lean_apply_8(x_3, x_16, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); -return x_17; -} -else -{ -lean_object* x_18; -lean_dec_ref(x_3); -lean_inc(x_11); -lean_inc_ref(x_10); -lean_inc(x_9); -lean_inc_ref(x_8); -lean_inc(x_7); -lean_inc_ref(x_6); -x_18 = lean_apply_8(x_4, x_13, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -lean_dec_ref(x_18); -x_19 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__1; -x_20 = l_Lean_MessageData_ofConstName(x_2, x_14); -x_21 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_21, 0, x_19); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1; -x_23 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_23, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -return x_24; -} -else -{ -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_2); -return x_18; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; -} -} -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__0() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__0() { _start: { lean_object* x_1; @@ -3131,16 +9503,16 @@ x_1 = lean_mk_string_unchecked("a non-private declaration `", 27, 27); return x_1; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__1() { +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__0; +x_1 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__0; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__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_12; @@ -3204,16 +9576,16 @@ if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_dec_ref(x_20); -x_21 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__1; +x_21 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__1; x_22 = l_Lean_MessageData_ofConstName(x_16, x_17); x_23 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1; +x_24 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3; x_25 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_25, x_5, x_6, x_7, x_8, x_9, x_10); +x_26 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_25, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); @@ -3274,16 +9646,16 @@ if (lean_obj_tag(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_dec_ref(x_32); -x_33 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__1; +x_33 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__1; x_34 = l_Lean_MessageData_ofConstName(x_27, x_28); x_35 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_35, 0, x_33); lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1; +x_36 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3; x_37 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_37, 0, x_35); lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_37, x_5, x_6, x_7, x_8, x_9, x_10); +x_38 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_37, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_10); lean_dec_ref(x_9); lean_dec(x_8); @@ -3307,26 +9679,248 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_12; } } -static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___closed__0() { +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_st_ref_take(x_3); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_7 = lean_ctor_get(x_5, 5); +lean_dec(x_7); +x_8 = lean_ctor_get(x_5, 0); +lean_dec(x_8); +x_9 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2; +lean_ctor_set(x_5, 5, x_9); +lean_ctor_set(x_5, 0, x_1); +x_10 = lean_st_ref_set(x_3, x_5); +x_11 = lean_st_ref_take(x_2); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_11, 1); +lean_dec(x_13); +x_14 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +lean_ctor_set(x_11, 1, x_14); +x_15 = lean_st_ref_set(x_2, x_11); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_18 = lean_ctor_get(x_11, 0); +x_19 = lean_ctor_get(x_11, 2); +x_20 = lean_ctor_get(x_11, 3); +x_21 = lean_ctor_get(x_11, 4); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_11); +x_22 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +x_23 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_23, 0, x_18); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_19); +lean_ctor_set(x_23, 3, x_20); +lean_ctor_set(x_23, 4, x_21); +x_24 = lean_st_ref_set(x_2, x_23); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_27 = lean_ctor_get(x_5, 1); +x_28 = lean_ctor_get(x_5, 2); +x_29 = lean_ctor_get(x_5, 3); +x_30 = lean_ctor_get(x_5, 4); +x_31 = lean_ctor_get(x_5, 6); +x_32 = lean_ctor_get(x_5, 7); +x_33 = lean_ctor_get(x_5, 8); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_5); +x_34 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2; +x_35 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_35, 0, x_1); +lean_ctor_set(x_35, 1, x_27); +lean_ctor_set(x_35, 2, x_28); +lean_ctor_set(x_35, 3, x_29); +lean_ctor_set(x_35, 4, x_30); +lean_ctor_set(x_35, 5, x_34); +lean_ctor_set(x_35, 6, x_31); +lean_ctor_set(x_35, 7, x_32); +lean_ctor_set(x_35, 8, x_33); +x_36 = lean_st_ref_set(x_3, x_35); +x_37 = lean_st_ref_take(x_2); +x_38 = lean_ctor_get(x_37, 0); +lean_inc_ref(x_38); +x_39 = lean_ctor_get(x_37, 2); +lean_inc(x_39); +x_40 = lean_ctor_get(x_37, 3); +lean_inc_ref(x_40); +x_41 = lean_ctor_get(x_37, 4); +lean_inc_ref(x_41); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + lean_ctor_release(x_37, 2); + lean_ctor_release(x_37, 3); + lean_ctor_release(x_37, 4); + x_42 = x_37; +} else { + lean_dec_ref(x_37); + x_42 = lean_box(0); +} +x_43 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3; +if (lean_is_scalar(x_42)) { + x_44 = lean_alloc_ctor(0, 5, 0); +} else { + x_44 = x_42; +} +lean_ctor_set(x_44, 0, x_38); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_39); +lean_ctor_set(x_44, 3, x_40); +lean_ctor_set(x_44, 4, x_41); +x_45 = lean_st_ref_set(x_2, x_44); +x_46 = lean_box(0); +x_47 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_47, 0, x_46); +return x_47; +} +} +} +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8___redArg___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_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8___redArg(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3___redArg(lean_object* x_1, lean_object* x_2, 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_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_19; lean_object* x_20; +x_10 = lean_st_ref_get(x_8); +x_11 = lean_ctor_get(x_10, 0); +lean_inc_ref(x_11); +lean_dec(x_10); +x_19 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8___redArg(x_1, x_6, x_8); +lean_dec_ref(x_19); +lean_inc(x_8); +lean_inc(x_6); +x_20 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, lean_box(0)); +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_ref(x_20); +x_22 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8___redArg(x_11, x_6, x_8); +lean_dec(x_8); +lean_dec(x_6); +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_dec(x_24); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +else +{ +lean_object* x_25; +lean_dec(x_22); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_21); +return x_25; +} +} +else +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_20, 0); +lean_inc(x_26); +lean_dec_ref(x_20); +x_12 = x_26; +x_13 = lean_box(0); +goto block_18; +} +block_18: +{ +lean_object* x_14; uint8_t x_15; +x_14 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8___redArg(x_11, x_6, x_8); +lean_dec(x_8); +lean_dec(x_6); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_14, 0); +lean_dec(x_16); +lean_ctor_set_tag(x_14, 1); +lean_ctor_set(x_14, 0, x_12); +return x_14; +} +else +{ +lean_object* x_17; +lean_dec(x_14); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_12); +return x_17; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +static lean_object* _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___closed__0() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; x_1 = 0; x_2 = lean_box(x_1); -x_3 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___boxed), 9, 1); +x_3 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___boxed), 9, 1); lean_closure_set(x_3, 0, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; @@ -3335,17 +9929,17 @@ x_10 = lean_ctor_get(x_9, 0); lean_inc_ref(x_10); lean_dec(x_9); x_11 = 0; -x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___closed__0; +x_12 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___closed__0; x_13 = l_Lean_Environment_setExporting(x_10, x_11); lean_inc_ref(x_13); lean_inc(x_1); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___boxed), 11, 3); +x_14 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___boxed), 11, 3); lean_closure_set(x_14, 0, x_1); lean_closure_set(x_14, 1, x_13); lean_closure_set(x_14, 2, x_12); lean_inc(x_1); lean_inc_ref(x_13); -x_15 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___boxed), 12, 4); +x_15 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___boxed), 12, 4); lean_closure_set(x_15, 0, x_13); lean_closure_set(x_15, 1, x_1); lean_closure_set(x_15, 2, x_14); @@ -3359,12 +9953,12 @@ if (x_17 == 0) lean_object* x_18; lean_object* x_19; lean_object* x_20; x_18 = lean_box(x_11); lean_inc_ref(x_13); -x_19 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__3___boxed), 11, 4); +x_19 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___boxed), 11, 4); lean_closure_set(x_19, 0, x_15); lean_closure_set(x_19, 1, x_1); lean_closure_set(x_19, 2, x_18); lean_closure_set(x_19, 3, x_13); -x_20 = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2___redArg(x_13, x_19, x_2, x_3, x_4, x_5, x_6, x_7); +x_20 = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3___redArg(x_13, x_19, x_2, x_3, x_4, x_5, x_6, x_7); return x_20; } else @@ -3373,31 +9967,31 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean x_21 = lean_box(x_11); lean_inc_ref(x_13); lean_inc(x_1); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___boxed), 12, 4); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__4___boxed), 12, 4); lean_closure_set(x_22, 0, x_15); lean_closure_set(x_22, 1, x_1); lean_closure_set(x_22, 2, x_21); lean_closure_set(x_22, 3, x_13); x_23 = lean_box(x_16); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___boxed), 11, 4); +x_24 = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___boxed), 11, 4); lean_closure_set(x_24, 0, x_12); lean_closure_set(x_24, 1, x_1); lean_closure_set(x_24, 2, x_23); lean_closure_set(x_24, 3, x_22); -x_25 = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2___redArg(x_13, x_24, x_2, x_3, x_4, x_5, x_6, x_7); +x_25 = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3___redArg(x_13, x_24, x_2, x_3, x_4, x_5, x_6, x_7); return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_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_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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: { lean_object* x_9; -x_9 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { _start: { uint8_t x_5; @@ -3432,7 +10026,7 @@ return x_12; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___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; @@ -3440,6608 +10034,14 @@ 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___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5(x_1, x_2, x_5, x_6); +x_7 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6(x_1, x_2, x_5, x_6); lean_dec_ref(x_2); lean_dec(x_1); x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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: -{ -lean_object* x_11; -x_11 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec(x_2); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; -x_9 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_9, 0, x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___lam__0___boxed(lean_object* x_1, lean_object* x_2, 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_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___lam__0(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_9; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Lean", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Parser", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Termination", 11, 11); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("suffix", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__3; -x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Unexpected Termination.suffix syntax: ", 38, 38); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" of kind ", 9, 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("decreasingBy", 12, 12); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__7; -x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__9() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("unexpected `decreasing_by` syntax", 33, 33); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__9; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("partialFixpoint", 15, 15); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__11; -x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("coinductiveFixpoint", 19, 19); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__13; -x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("inductiveFixpoint", 17, 17); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___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_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__15; -x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("unexpected `termination_by` syntax", 34, 34); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__18; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__20() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("no extra parameters bounds, please omit the `=>`", 48, 48); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__20; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__22() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("terminationBy", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__22; -x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__24() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("terminationBy\?", 14, 14); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__25() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__24; -x_2 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_9; uint8_t x_10; -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -x_9 = l_Lean_Elab_TerminationHints_none; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -lean_dec(x_11); -lean_ctor_set(x_9, 0, x_1); -x_12 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_12, 0, x_9); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_ctor_get(x_9, 1); -x_14 = lean_ctor_get(x_9, 2); -x_15 = lean_ctor_get(x_9, 3); -x_16 = lean_ctor_get(x_9, 4); -x_17 = lean_ctor_get(x_9, 5); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -x_18 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_18, 0, x_1); -lean_ctor_set(x_18, 1, x_13); -lean_ctor_set(x_18, 2, x_14); -lean_ctor_set(x_18, 3, x_15); -lean_ctor_set(x_18, 4, x_16); -lean_ctor_set(x_18, 5, x_17); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_18); -return x_19; -} -} -else -{ -lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__4; -lean_inc(x_1); -x_21 = l_Lean_Syntax_isOfKind(x_1, x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_22 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__5; -x_23 = lean_box(0); -lean_inc(x_1); -x_24 = l_Lean_Syntax_formatStx(x_1, x_23, x_21); -x_25 = l_Std_Format_defWidth; -x_26 = lean_unsigned_to_nat(0u); -x_27 = l_Std_Format_pretty(x_24, x_25, x_26, x_26); -x_28 = lean_string_append(x_22, x_27); -lean_dec_ref(x_27); -x_29 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__6; -x_30 = lean_string_append(x_28, x_29); -lean_inc(x_1); -x_31 = l_Lean_Syntax_getKind(x_1); -x_32 = 1; -x_33 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_31, x_32); -x_34 = lean_string_append(x_30, x_33); -lean_dec_ref(x_33); -x_35 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_35, 0, x_34); -x_36 = l_Lean_MessageData_ofFormat(x_35); -x_37 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_1, x_36, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_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_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; uint8_t x_226; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_401; lean_object* x_440; uint8_t x_441; -x_38 = lean_unsigned_to_nat(0u); -x_440 = l_Lean_Syntax_getArg(x_1, x_38); -x_441 = l_Lean_Syntax_isNone(x_440); -if (x_441 == 0) -{ -lean_object* x_442; uint8_t x_443; -x_442 = lean_unsigned_to_nat(1u); -lean_inc(x_440); -x_443 = l_Lean_Syntax_matchesNull(x_440, x_442); -if (x_443 == 0) -{ -lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; -lean_dec(x_440); -x_444 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__5; -x_445 = lean_box(0); -lean_inc(x_1); -x_446 = l_Lean_Syntax_formatStx(x_1, x_445, x_443); -x_447 = l_Std_Format_defWidth; -x_448 = l_Std_Format_pretty(x_446, x_447, x_38, x_38); -x_449 = lean_string_append(x_444, x_448); -lean_dec_ref(x_448); -x_450 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__6; -x_451 = lean_string_append(x_449, x_450); -lean_inc(x_1); -x_452 = l_Lean_Syntax_getKind(x_1); -x_453 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_452, x_21); -x_454 = lean_string_append(x_451, x_453); -lean_dec_ref(x_453); -x_455 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_455, 0, x_454); -x_456 = l_Lean_MessageData_ofFormat(x_455); -x_457 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_1, x_456, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_457; -} -else -{ -lean_object* x_458; lean_object* x_459; -x_458 = l_Lean_Syntax_getArg(x_440, x_38); -lean_dec(x_440); -x_459 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_459, 0, x_458); -x_401 = x_459; -goto block_439; -} -} -else -{ -lean_object* x_460; -lean_dec(x_440); -x_460 = lean_box(0); -x_401 = x_460; -goto block_439; -} -block_46: -{ -lean_object* x_44; lean_object* x_45; -x_44 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_44, 0, x_1); -lean_ctor_set(x_44, 1, x_43); -lean_ctor_set(x_44, 2, x_42); -lean_ctor_set(x_44, 3, x_41); -lean_ctor_set(x_44, 4, x_39); -lean_ctor_set(x_44, 5, x_38); -x_45 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_45, 0, x_44); -return x_45; -} -block_68: -{ -lean_object* x_58; -x_58 = lean_apply_7(x_57, x_52, x_49, x_51, x_50, x_56, x_48, lean_box(0)); -if (lean_obj_tag(x_58) == 0) -{ -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -lean_dec_ref(x_58); -x_60 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_60, 0, x_59); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_61; -x_61 = lean_box(0); -x_39 = x_60; -x_40 = lean_box(0); -x_41 = x_53; -x_42 = x_54; -x_43 = x_61; -goto block_46; -} -else -{ -uint8_t x_62; -x_62 = !lean_is_exclusive(x_55); -if (x_62 == 0) -{ -x_39 = x_60; -x_40 = lean_box(0); -x_41 = x_53; -x_42 = x_54; -x_43 = x_55; -goto block_46; -} -else -{ -lean_object* x_63; lean_object* x_64; -x_63 = lean_ctor_get(x_55, 0); -lean_inc(x_63); -lean_dec(x_55); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_39 = x_60; -x_40 = lean_box(0); -x_41 = x_53; -x_42 = x_54; -x_43 = x_64; -goto block_46; -} -} -} -else -{ -uint8_t x_65; -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_1); -x_65 = !lean_is_exclusive(x_58); -if (x_65 == 0) -{ -return x_58; -} -else -{ -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_58, 0); -lean_inc(x_66); -lean_dec(x_58); -x_67 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_67, 0, x_66); -return x_67; -} -} -} -block_76: -{ -lean_object* x_74; lean_object* x_75; -x_74 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_73); -lean_ctor_set(x_74, 2, x_72); -lean_ctor_set(x_74, 3, x_71); -lean_ctor_set(x_74, 4, x_70); -lean_ctor_set(x_74, 5, x_38); -x_75 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_75, 0, x_74); -return x_75; -} -block_101: -{ -if (lean_obj_tag(x_77) == 0) -{ -lean_object* x_89; -lean_dec(x_87); -lean_dec_ref(x_86); -lean_dec(x_85); -lean_dec_ref(x_84); -lean_dec(x_83); -lean_dec_ref(x_82); -x_89 = lean_box(0); -if (lean_obj_tag(x_80) == 0) -{ -x_69 = lean_box(0); -x_70 = x_89; -x_71 = x_81; -x_72 = x_79; -x_73 = x_89; -goto block_76; -} -else -{ -uint8_t x_90; -x_90 = !lean_is_exclusive(x_80); -if (x_90 == 0) -{ -x_69 = lean_box(0); -x_70 = x_89; -x_71 = x_81; -x_72 = x_79; -x_73 = x_80; -goto block_76; -} -else -{ -lean_object* x_91; lean_object* x_92; -x_91 = lean_ctor_get(x_80, 0); -lean_inc(x_91); -lean_dec(x_80); -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_69 = lean_box(0); -x_70 = x_89; -x_71 = x_81; -x_72 = x_79; -x_73 = x_92; -goto block_76; -} -} -} -else -{ -lean_object* x_93; lean_object* x_94; uint8_t x_95; -x_93 = lean_ctor_get(x_77, 0); -lean_inc(x_93); -lean_dec_ref(x_77); -x_94 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__8; -lean_inc(x_93); -x_95 = l_Lean_Syntax_isOfKind(x_93, x_94); -if (x_95 == 0) -{ -lean_object* x_96; lean_object* x_97; -x_96 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__10; -x_97 = lean_alloc_closure((void*)(l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___boxed), 10, 3); -lean_closure_set(x_97, 0, lean_box(0)); -lean_closure_set(x_97, 1, x_93); -lean_closure_set(x_97, 2, x_96); -x_47 = lean_box(0); -x_48 = x_87; -x_49 = x_83; -x_50 = x_85; -x_51 = x_84; -x_52 = x_82; -x_53 = x_81; -x_54 = x_79; -x_55 = x_80; -x_56 = x_86; -x_57 = x_97; -goto block_68; -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = l_Lean_Syntax_getArg(x_93, x_78); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_93); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_alloc_closure((void*)(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___lam__0___boxed), 8, 1); -lean_closure_set(x_100, 0, x_99); -x_47 = lean_box(0); -x_48 = x_87; -x_49 = x_83; -x_50 = x_85; -x_51 = x_84; -x_52 = x_82; -x_53 = x_81; -x_54 = x_79; -x_55 = x_80; -x_56 = x_86; -x_57 = x_100; -goto block_68; -} -} -} -block_118: -{ -uint8_t x_115; lean_object* x_116; lean_object* x_117; -x_115 = 2; -x_116 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_116, 0, x_103); -lean_ctor_set(x_116, 1, x_114); -lean_ctor_set_uint8(x_116, sizeof(void*)*2, x_115); -x_117 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_117, 0, x_116); -x_77 = x_107; -x_78 = x_109; -x_79 = x_111; -x_80 = x_112; -x_81 = x_117; -x_82 = x_106; -x_83 = x_108; -x_84 = x_113; -x_85 = x_102; -x_86 = x_105; -x_87 = x_104; -x_88 = lean_box(0); -goto block_101; -} -block_135: -{ -uint8_t x_132; lean_object* x_133; lean_object* x_134; -x_132 = 1; -x_133 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_133, 0, x_120); -lean_ctor_set(x_133, 1, x_131); -lean_ctor_set_uint8(x_133, sizeof(void*)*2, x_132); -x_134 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_134, 0, x_133); -x_77 = x_124; -x_78 = x_126; -x_79 = x_128; -x_80 = x_129; -x_81 = x_134; -x_82 = x_123; -x_83 = x_125; -x_84 = x_130; -x_85 = x_119; -x_86 = x_122; -x_87 = x_121; -x_88 = lean_box(0); -goto block_101; -} -block_152: -{ -uint8_t x_149; lean_object* x_150; lean_object* x_151; -x_149 = 0; -x_150 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_150, 0, x_137); -lean_ctor_set(x_150, 1, x_148); -lean_ctor_set_uint8(x_150, sizeof(void*)*2, x_149); -x_151 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_151, 0, x_150); -x_77 = x_141; -x_78 = x_143; -x_79 = x_145; -x_80 = x_146; -x_81 = x_151; -x_82 = x_140; -x_83 = x_142; -x_84 = x_147; -x_85 = x_136; -x_86 = x_139; -x_87 = x_138; -x_88 = lean_box(0); -goto block_101; -} -block_196: -{ -lean_object* x_165; uint8_t x_166; -x_165 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__12; -lean_inc(x_153); -x_166 = l_Lean_Syntax_isOfKind(x_153, x_165); -if (x_166 == 0) -{ -lean_object* x_167; uint8_t x_168; -x_167 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__14; -lean_inc(x_153); -x_168 = l_Lean_Syntax_isOfKind(x_153, x_167); -if (x_168 == 0) -{ -lean_object* x_169; uint8_t x_170; -x_169 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__16; -lean_inc(x_153); -x_170 = l_Lean_Syntax_isOfKind(x_153, x_169); -if (x_170 == 0) -{ -lean_object* x_171; -lean_dec(x_153); -x_171 = lean_box(0); -x_77 = x_154; -x_78 = x_155; -x_79 = x_157; -x_80 = x_156; -x_81 = x_171; -x_82 = x_158; -x_83 = x_159; -x_84 = x_160; -x_85 = x_161; -x_86 = x_162; -x_87 = x_163; -x_88 = lean_box(0); -goto block_101; -} -else -{ -lean_object* x_172; uint8_t x_173; -x_172 = l_Lean_Syntax_getArg(x_153, x_155); -x_173 = l_Lean_Syntax_isNone(x_172); -if (x_173 == 0) -{ -lean_object* x_174; uint8_t x_175; -x_174 = lean_unsigned_to_nat(2u); -lean_inc(x_172); -x_175 = l_Lean_Syntax_matchesNull(x_172, x_174); -if (x_175 == 0) -{ -lean_object* x_176; -lean_dec(x_172); -lean_dec(x_153); -x_176 = lean_box(0); -x_77 = x_154; -x_78 = x_155; -x_79 = x_157; -x_80 = x_156; -x_81 = x_176; -x_82 = x_158; -x_83 = x_159; -x_84 = x_160; -x_85 = x_161; -x_86 = x_162; -x_87 = x_163; -x_88 = lean_box(0); -goto block_101; -} -else -{ -lean_object* x_177; lean_object* x_178; -x_177 = l_Lean_Syntax_getArg(x_172, x_155); -lean_dec(x_172); -x_178 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_178, 0, x_177); -x_102 = x_161; -x_103 = x_153; -x_104 = x_163; -x_105 = x_162; -x_106 = x_158; -x_107 = x_154; -x_108 = x_159; -x_109 = x_155; -x_110 = lean_box(0); -x_111 = x_157; -x_112 = x_156; -x_113 = x_160; -x_114 = x_178; -goto block_118; -} -} -else -{ -lean_object* x_179; -lean_dec(x_172); -x_179 = lean_box(0); -x_102 = x_161; -x_103 = x_153; -x_104 = x_163; -x_105 = x_162; -x_106 = x_158; -x_107 = x_154; -x_108 = x_159; -x_109 = x_155; -x_110 = lean_box(0); -x_111 = x_157; -x_112 = x_156; -x_113 = x_160; -x_114 = x_179; -goto block_118; -} -} -} -else -{ -lean_object* x_180; uint8_t x_181; -x_180 = l_Lean_Syntax_getArg(x_153, x_155); -x_181 = l_Lean_Syntax_isNone(x_180); -if (x_181 == 0) -{ -lean_object* x_182; uint8_t x_183; -x_182 = lean_unsigned_to_nat(2u); -lean_inc(x_180); -x_183 = l_Lean_Syntax_matchesNull(x_180, x_182); -if (x_183 == 0) -{ -lean_object* x_184; -lean_dec(x_180); -lean_dec(x_153); -x_184 = lean_box(0); -x_77 = x_154; -x_78 = x_155; -x_79 = x_157; -x_80 = x_156; -x_81 = x_184; -x_82 = x_158; -x_83 = x_159; -x_84 = x_160; -x_85 = x_161; -x_86 = x_162; -x_87 = x_163; -x_88 = lean_box(0); -goto block_101; -} -else -{ -lean_object* x_185; lean_object* x_186; -x_185 = l_Lean_Syntax_getArg(x_180, x_155); -lean_dec(x_180); -x_186 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_186, 0, x_185); -x_119 = x_161; -x_120 = x_153; -x_121 = x_163; -x_122 = x_162; -x_123 = x_158; -x_124 = x_154; -x_125 = x_159; -x_126 = x_155; -x_127 = lean_box(0); -x_128 = x_157; -x_129 = x_156; -x_130 = x_160; -x_131 = x_186; -goto block_135; -} -} -else -{ -lean_object* x_187; -lean_dec(x_180); -x_187 = lean_box(0); -x_119 = x_161; -x_120 = x_153; -x_121 = x_163; -x_122 = x_162; -x_123 = x_158; -x_124 = x_154; -x_125 = x_159; -x_126 = x_155; -x_127 = lean_box(0); -x_128 = x_157; -x_129 = x_156; -x_130 = x_160; -x_131 = x_187; -goto block_135; -} -} -} -else -{ -lean_object* x_188; uint8_t x_189; -x_188 = l_Lean_Syntax_getArg(x_153, x_155); -x_189 = l_Lean_Syntax_isNone(x_188); -if (x_189 == 0) -{ -lean_object* x_190; uint8_t x_191; -x_190 = lean_unsigned_to_nat(2u); -lean_inc(x_188); -x_191 = l_Lean_Syntax_matchesNull(x_188, x_190); -if (x_191 == 0) -{ -lean_object* x_192; -lean_dec(x_188); -lean_dec(x_153); -x_192 = lean_box(0); -x_77 = x_154; -x_78 = x_155; -x_79 = x_157; -x_80 = x_156; -x_81 = x_192; -x_82 = x_158; -x_83 = x_159; -x_84 = x_160; -x_85 = x_161; -x_86 = x_162; -x_87 = x_163; -x_88 = lean_box(0); -goto block_101; -} -else -{ -lean_object* x_193; lean_object* x_194; -x_193 = l_Lean_Syntax_getArg(x_188, x_155); -lean_dec(x_188); -x_194 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_194, 0, x_193); -x_136 = x_161; -x_137 = x_153; -x_138 = x_163; -x_139 = x_162; -x_140 = x_158; -x_141 = x_154; -x_142 = x_159; -x_143 = x_155; -x_144 = lean_box(0); -x_145 = x_157; -x_146 = x_156; -x_147 = x_160; -x_148 = x_194; -goto block_152; -} -} -else -{ -lean_object* x_195; -lean_dec(x_188); -x_195 = lean_box(0); -x_136 = x_161; -x_137 = x_153; -x_138 = x_163; -x_139 = x_162; -x_140 = x_158; -x_141 = x_154; -x_142 = x_159; -x_143 = x_155; -x_144 = lean_box(0); -x_145 = x_157; -x_146 = x_156; -x_147 = x_160; -x_148 = x_195; -goto block_152; -} -} -} -block_211: -{ -if (lean_obj_tag(x_197) == 1) -{ -lean_object* x_209; -x_209 = lean_ctor_get(x_197, 0); -lean_inc(x_209); -lean_dec_ref(x_197); -x_153 = x_209; -x_154 = x_198; -x_155 = x_199; -x_156 = x_200; -x_157 = x_201; -x_158 = x_202; -x_159 = x_203; -x_160 = x_204; -x_161 = x_205; -x_162 = x_206; -x_163 = x_207; -x_164 = lean_box(0); -goto block_196; -} -else -{ -lean_object* x_210; -lean_dec(x_197); -x_210 = lean_box(0); -x_77 = x_198; -x_78 = x_199; -x_79 = x_201; -x_80 = x_200; -x_81 = x_210; -x_82 = x_202; -x_83 = x_203; -x_84 = x_204; -x_85 = x_205; -x_86 = x_206; -x_87 = x_207; -x_88 = lean_box(0); -goto block_101; -} -} -block_230: -{ -lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_227 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__17; -x_228 = lean_alloc_ctor(0, 3, 2); -lean_ctor_set(x_228, 0, x_212); -lean_ctor_set(x_228, 1, x_227); -lean_ctor_set(x_228, 2, x_217); -lean_ctor_set_uint8(x_228, sizeof(void*)*3, x_226); -lean_ctor_set_uint8(x_228, sizeof(void*)*3 + 1, x_225); -x_229 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_229, 0, x_228); -x_197 = x_220; -x_198 = x_223; -x_199 = x_224; -x_200 = x_219; -x_201 = x_229; -x_202 = x_218; -x_203 = x_221; -x_204 = x_222; -x_205 = x_213; -x_206 = x_214; -x_207 = x_216; -x_208 = lean_box(0); -goto block_211; -} -block_249: -{ -lean_object* x_247; lean_object* x_248; -x_247 = lean_alloc_ctor(0, 3, 2); -lean_ctor_set(x_247, 0, x_231); -lean_ctor_set(x_247, 1, x_243); -lean_ctor_set(x_247, 2, x_237); -lean_ctor_set_uint8(x_247, sizeof(void*)*3, x_246); -lean_ctor_set_uint8(x_247, sizeof(void*)*3 + 1, x_235); -x_248 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_248, 0, x_247); -x_197 = x_240; -x_198 = x_244; -x_199 = x_245; -x_200 = x_239; -x_201 = x_248; -x_202 = x_238; -x_203 = x_241; -x_204 = x_242; -x_205 = x_232; -x_206 = x_233; -x_207 = x_236; -x_208 = lean_box(0); -goto block_211; -} -block_284: -{ -lean_object* x_263; lean_object* x_264; uint8_t x_265; -x_263 = lean_unsigned_to_nat(2u); -x_264 = l_Lean_Syntax_getArg(x_251, x_263); -lean_inc(x_264); -x_265 = l_Lean_Syntax_matchesNull(x_264, x_263); -if (x_265 == 0) -{ -uint8_t x_266; -x_266 = l_Lean_Syntax_matchesNull(x_264, x_38); -if (x_266 == 0) -{ -lean_object* x_267; lean_object* x_268; uint8_t x_269; -lean_dec(x_262); -lean_dec(x_261); -lean_dec(x_258); -lean_dec(x_254); -lean_dec(x_1); -x_267 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19; -x_268 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_251, x_267, x_260, x_256, x_257, x_250, x_253, x_255); -lean_dec(x_255); -lean_dec(x_250); -lean_dec_ref(x_257); -lean_dec(x_256); -lean_dec(x_251); -x_269 = !lean_is_exclusive(x_268); -if (x_269 == 0) -{ -return x_268; -} -else -{ -lean_object* x_270; lean_object* x_271; -x_270 = lean_ctor_get(x_268, 0); -lean_inc(x_270); -lean_dec(x_268); -x_271 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_271, 0, x_270); -return x_271; -} -} -else -{ -lean_object* x_272; lean_object* x_273; -x_272 = lean_unsigned_to_nat(3u); -x_273 = l_Lean_Syntax_getArg(x_251, x_272); -if (lean_obj_tag(x_262) == 0) -{ -x_212 = x_251; -x_213 = x_250; -x_214 = x_253; -x_215 = lean_box(0); -x_216 = x_255; -x_217 = x_273; -x_218 = x_260; -x_219 = x_261; -x_220 = x_254; -x_221 = x_256; -x_222 = x_257; -x_223 = x_258; -x_224 = x_259; -x_225 = x_265; -x_226 = x_265; -goto block_230; -} -else -{ -lean_dec_ref(x_262); -x_212 = x_251; -x_213 = x_250; -x_214 = x_253; -x_215 = lean_box(0); -x_216 = x_255; -x_217 = x_273; -x_218 = x_260; -x_219 = x_261; -x_220 = x_254; -x_221 = x_256; -x_222 = x_257; -x_223 = x_258; -x_224 = x_259; -x_225 = x_265; -x_226 = x_266; -goto block_230; -} -} -} -else -{ -lean_object* x_274; uint8_t x_275; -x_274 = l_Lean_Syntax_getArg(x_264, x_38); -lean_dec(x_264); -lean_inc(x_274); -x_275 = l_Lean_Syntax_matchesNull(x_274, x_38); -if (x_275 == 0) -{ -lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_276 = lean_unsigned_to_nat(3u); -x_277 = l_Lean_Syntax_getArg(x_251, x_276); -x_278 = l_Lean_Syntax_getArgs(x_274); -lean_dec(x_274); -if (lean_obj_tag(x_262) == 0) -{ -x_231 = x_251; -x_232 = x_250; -x_233 = x_253; -x_234 = lean_box(0); -x_235 = x_275; -x_236 = x_255; -x_237 = x_277; -x_238 = x_260; -x_239 = x_261; -x_240 = x_254; -x_241 = x_256; -x_242 = x_257; -x_243 = x_278; -x_244 = x_258; -x_245 = x_259; -x_246 = x_275; -goto block_249; -} -else -{ -lean_dec_ref(x_262); -x_231 = x_251; -x_232 = x_250; -x_233 = x_253; -x_234 = lean_box(0); -x_235 = x_275; -x_236 = x_255; -x_237 = x_277; -x_238 = x_260; -x_239 = x_261; -x_240 = x_254; -x_241 = x_256; -x_242 = x_257; -x_243 = x_278; -x_244 = x_258; -x_245 = x_259; -x_246 = x_265; -goto block_249; -} -} -else -{ -lean_object* x_279; lean_object* x_280; uint8_t x_281; -lean_dec(x_274); -lean_dec(x_262); -lean_dec(x_261); -lean_dec(x_258); -lean_dec(x_254); -lean_dec(x_1); -x_279 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__21; -x_280 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_251, x_279, x_260, x_256, x_257, x_250, x_253, x_255); -lean_dec(x_255); -lean_dec(x_250); -lean_dec_ref(x_257); -lean_dec(x_256); -lean_dec(x_251); -x_281 = !lean_is_exclusive(x_280); -if (x_281 == 0) -{ -return x_280; -} -else -{ -lean_object* x_282; lean_object* x_283; -x_282 = lean_ctor_get(x_280, 0); -lean_inc(x_282); -lean_dec(x_280); -x_283 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_283, 0, x_282); -return x_283; -} -} -} -} -block_297: -{ -lean_object* x_296; -x_296 = lean_box(0); -x_197 = x_288; -x_198 = x_292; -x_199 = x_293; -x_200 = x_295; -x_201 = x_296; -x_202 = x_294; -x_203 = x_290; -x_204 = x_291; -x_205 = x_285; -x_206 = x_287; -x_207 = x_289; -x_208 = lean_box(0); -goto block_211; -} -block_310: -{ -lean_object* x_309; -x_309 = lean_box(0); -x_197 = x_301; -x_198 = x_305; -x_199 = x_306; -x_200 = x_308; -x_201 = x_309; -x_202 = x_307; -x_203 = x_303; -x_204 = x_304; -x_205 = x_298; -x_206 = x_300; -x_207 = x_302; -x_208 = lean_box(0); -goto block_211; -} -block_323: -{ -lean_object* x_322; -x_322 = lean_box(0); -x_197 = x_314; -x_198 = x_318; -x_199 = x_319; -x_200 = x_321; -x_201 = x_322; -x_202 = x_320; -x_203 = x_316; -x_204 = x_317; -x_205 = x_311; -x_206 = x_313; -x_207 = x_315; -x_208 = lean_box(0); -goto block_211; -} -block_390: -{ -lean_object* x_336; uint8_t x_337; -x_336 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__23; -lean_inc(x_325); -x_337 = l_Lean_Syntax_isOfKind(x_325, x_336); -if (x_337 == 0) -{ -lean_object* x_338; uint8_t x_339; -x_338 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__25; -lean_inc(x_325); -x_339 = l_Lean_Syntax_isOfKind(x_325, x_338); -if (x_339 == 0) -{ -lean_object* x_340; uint8_t x_341; -x_340 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__12; -lean_inc(x_325); -x_341 = l_Lean_Syntax_isOfKind(x_325, x_340); -if (x_341 == 0) -{ -lean_object* x_342; uint8_t x_343; -x_342 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__14; -lean_inc(x_325); -x_343 = l_Lean_Syntax_isOfKind(x_325, x_342); -if (x_343 == 0) -{ -lean_object* x_344; uint8_t x_345; -x_344 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__16; -lean_inc(x_325); -x_345 = l_Lean_Syntax_isOfKind(x_325, x_344); -if (x_345 == 0) -{ -lean_object* x_346; lean_object* x_347; uint8_t x_348; -lean_dec(x_328); -lean_dec(x_326); -lean_dec(x_324); -lean_dec(x_1); -x_346 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19; -x_347 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_325, x_346, x_329, x_330, x_331, x_332, x_333, x_334); -lean_dec(x_334); -lean_dec(x_332); -lean_dec_ref(x_331); -lean_dec(x_330); -lean_dec(x_325); -x_348 = !lean_is_exclusive(x_347); -if (x_348 == 0) -{ -return x_347; -} -else -{ -lean_object* x_349; lean_object* x_350; -x_349 = lean_ctor_get(x_347, 0); -lean_inc(x_349); -lean_dec(x_347); -x_350 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_350, 0, x_349); -return x_350; -} -} -else -{ -lean_object* x_351; uint8_t x_352; -x_351 = l_Lean_Syntax_getArg(x_325, x_327); -x_352 = l_Lean_Syntax_isNone(x_351); -if (x_352 == 0) -{ -lean_object* x_353; uint8_t x_354; -x_353 = lean_unsigned_to_nat(2u); -x_354 = l_Lean_Syntax_matchesNull(x_351, x_353); -if (x_354 == 0) -{ -lean_object* x_355; lean_object* x_356; uint8_t x_357; -lean_dec(x_328); -lean_dec(x_326); -lean_dec(x_324); -lean_dec(x_1); -x_355 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19; -x_356 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_325, x_355, x_329, x_330, x_331, x_332, x_333, x_334); -lean_dec(x_334); -lean_dec(x_332); -lean_dec_ref(x_331); -lean_dec(x_330); -lean_dec(x_325); -x_357 = !lean_is_exclusive(x_356); -if (x_357 == 0) -{ -return x_356; -} -else -{ -lean_object* x_358; lean_object* x_359; -x_358 = lean_ctor_get(x_356, 0); -lean_inc(x_358); -lean_dec(x_356); -x_359 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_359, 0, x_358); -return x_359; -} -} -else -{ -lean_dec(x_325); -x_285 = x_332; -x_286 = lean_box(0); -x_287 = x_333; -x_288 = x_324; -x_289 = x_334; -x_290 = x_330; -x_291 = x_331; -x_292 = x_326; -x_293 = x_327; -x_294 = x_329; -x_295 = x_328; -goto block_297; -} -} -else -{ -lean_dec(x_351); -lean_dec(x_325); -x_285 = x_332; -x_286 = lean_box(0); -x_287 = x_333; -x_288 = x_324; -x_289 = x_334; -x_290 = x_330; -x_291 = x_331; -x_292 = x_326; -x_293 = x_327; -x_294 = x_329; -x_295 = x_328; -goto block_297; -} -} -} -else -{ -lean_object* x_360; uint8_t x_361; -x_360 = l_Lean_Syntax_getArg(x_325, x_327); -x_361 = l_Lean_Syntax_isNone(x_360); -if (x_361 == 0) -{ -lean_object* x_362; uint8_t x_363; -x_362 = lean_unsigned_to_nat(2u); -x_363 = l_Lean_Syntax_matchesNull(x_360, x_362); -if (x_363 == 0) -{ -lean_object* x_364; lean_object* x_365; uint8_t x_366; -lean_dec(x_328); -lean_dec(x_326); -lean_dec(x_324); -lean_dec(x_1); -x_364 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19; -x_365 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_325, x_364, x_329, x_330, x_331, x_332, x_333, x_334); -lean_dec(x_334); -lean_dec(x_332); -lean_dec_ref(x_331); -lean_dec(x_330); -lean_dec(x_325); -x_366 = !lean_is_exclusive(x_365); -if (x_366 == 0) -{ -return x_365; -} -else -{ -lean_object* x_367; lean_object* x_368; -x_367 = lean_ctor_get(x_365, 0); -lean_inc(x_367); -lean_dec(x_365); -x_368 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_368, 0, x_367); -return x_368; -} -} -else -{ -lean_dec(x_325); -x_298 = x_332; -x_299 = lean_box(0); -x_300 = x_333; -x_301 = x_324; -x_302 = x_334; -x_303 = x_330; -x_304 = x_331; -x_305 = x_326; -x_306 = x_327; -x_307 = x_329; -x_308 = x_328; -goto block_310; -} -} -else -{ -lean_dec(x_360); -lean_dec(x_325); -x_298 = x_332; -x_299 = lean_box(0); -x_300 = x_333; -x_301 = x_324; -x_302 = x_334; -x_303 = x_330; -x_304 = x_331; -x_305 = x_326; -x_306 = x_327; -x_307 = x_329; -x_308 = x_328; -goto block_310; -} -} -} -else -{ -lean_object* x_369; uint8_t x_370; -x_369 = l_Lean_Syntax_getArg(x_325, x_327); -x_370 = l_Lean_Syntax_isNone(x_369); -if (x_370 == 0) -{ -lean_object* x_371; uint8_t x_372; -x_371 = lean_unsigned_to_nat(2u); -x_372 = l_Lean_Syntax_matchesNull(x_369, x_371); -if (x_372 == 0) -{ -lean_object* x_373; lean_object* x_374; uint8_t x_375; -lean_dec(x_328); -lean_dec(x_326); -lean_dec(x_324); -lean_dec(x_1); -x_373 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19; -x_374 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_325, x_373, x_329, x_330, x_331, x_332, x_333, x_334); -lean_dec(x_334); -lean_dec(x_332); -lean_dec_ref(x_331); -lean_dec(x_330); -lean_dec(x_325); -x_375 = !lean_is_exclusive(x_374); -if (x_375 == 0) -{ -return x_374; -} -else -{ -lean_object* x_376; lean_object* x_377; -x_376 = lean_ctor_get(x_374, 0); -lean_inc(x_376); -lean_dec(x_374); -x_377 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_377, 0, x_376); -return x_377; -} -} -else -{ -lean_dec(x_325); -x_311 = x_332; -x_312 = lean_box(0); -x_313 = x_333; -x_314 = x_324; -x_315 = x_334; -x_316 = x_330; -x_317 = x_331; -x_318 = x_326; -x_319 = x_327; -x_320 = x_329; -x_321 = x_328; -goto block_323; -} -} -else -{ -lean_dec(x_369); -lean_dec(x_325); -x_311 = x_332; -x_312 = lean_box(0); -x_313 = x_333; -x_314 = x_324; -x_315 = x_334; -x_316 = x_330; -x_317 = x_331; -x_318 = x_326; -x_319 = x_327; -x_320 = x_329; -x_321 = x_328; -goto block_323; -} -} -} -else -{ -lean_object* x_378; -lean_dec(x_324); -x_378 = lean_box(0); -x_153 = x_325; -x_154 = x_326; -x_155 = x_327; -x_156 = x_328; -x_157 = x_378; -x_158 = x_329; -x_159 = x_330; -x_160 = x_331; -x_161 = x_332; -x_162 = x_333; -x_163 = x_334; -x_164 = lean_box(0); -goto block_196; -} -} -else -{ -lean_object* x_379; uint8_t x_380; -x_379 = l_Lean_Syntax_getArg(x_325, x_327); -x_380 = l_Lean_Syntax_isNone(x_379); -if (x_380 == 0) -{ -uint8_t x_381; -lean_inc(x_379); -x_381 = l_Lean_Syntax_matchesNull(x_379, x_327); -if (x_381 == 0) -{ -lean_object* x_382; lean_object* x_383; uint8_t x_384; -lean_dec(x_379); -lean_dec(x_328); -lean_dec(x_326); -lean_dec(x_324); -lean_dec(x_1); -x_382 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19; -x_383 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_325, x_382, x_329, x_330, x_331, x_332, x_333, x_334); -lean_dec(x_334); -lean_dec(x_332); -lean_dec_ref(x_331); -lean_dec(x_330); -lean_dec(x_325); -x_384 = !lean_is_exclusive(x_383); -if (x_384 == 0) -{ -return x_383; -} -else -{ -lean_object* x_385; lean_object* x_386; -x_385 = lean_ctor_get(x_383, 0); -lean_inc(x_385); -lean_dec(x_383); -x_386 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_386, 0, x_385); -return x_386; -} -} -else -{ -lean_object* x_387; lean_object* x_388; -x_387 = l_Lean_Syntax_getArg(x_379, x_38); -lean_dec(x_379); -x_388 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_388, 0, x_387); -x_250 = x_332; -x_251 = x_325; -x_252 = lean_box(0); -x_253 = x_333; -x_254 = x_324; -x_255 = x_334; -x_256 = x_330; -x_257 = x_331; -x_258 = x_326; -x_259 = x_327; -x_260 = x_329; -x_261 = x_328; -x_262 = x_388; -goto block_284; -} -} -else -{ -lean_object* x_389; -lean_dec(x_379); -x_389 = lean_box(0); -x_250 = x_332; -x_251 = x_325; -x_252 = lean_box(0); -x_253 = x_333; -x_254 = x_324; -x_255 = x_334; -x_256 = x_330; -x_257 = x_331; -x_258 = x_326; -x_259 = x_327; -x_260 = x_329; -x_261 = x_328; -x_262 = x_389; -goto block_284; -} -} -} -block_400: -{ -if (lean_obj_tag(x_391) == 1) -{ -lean_object* x_394; lean_object* x_395; uint8_t x_396; -x_394 = lean_ctor_get(x_391, 0); -lean_inc(x_394); -x_395 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__25; -lean_inc(x_394); -x_396 = l_Lean_Syntax_isOfKind(x_394, x_395); -if (x_396 == 0) -{ -lean_object* x_397; -x_397 = lean_box(0); -x_324 = x_391; -x_325 = x_394; -x_326 = x_393; -x_327 = x_392; -x_328 = x_397; -x_329 = x_2; -x_330 = x_3; -x_331 = x_4; -x_332 = x_5; -x_333 = x_6; -x_334 = x_7; -x_335 = lean_box(0); -goto block_390; -} -else -{ -lean_inc_ref(x_391); -x_324 = x_391; -x_325 = x_394; -x_326 = x_393; -x_327 = x_392; -x_328 = x_391; -x_329 = x_2; -x_330 = x_3; -x_331 = x_4; -x_332 = x_5; -x_333 = x_6; -x_334 = x_7; -x_335 = lean_box(0); -goto block_390; -} -} -else -{ -lean_object* x_398; -x_398 = lean_box(0); -if (lean_obj_tag(x_391) == 1) -{ -lean_object* x_399; -x_399 = lean_ctor_get(x_391, 0); -lean_inc(x_399); -x_324 = x_391; -x_325 = x_399; -x_326 = x_393; -x_327 = x_392; -x_328 = x_398; -x_329 = x_2; -x_330 = x_3; -x_331 = x_4; -x_332 = x_5; -x_333 = x_6; -x_334 = x_7; -x_335 = lean_box(0); -goto block_390; -} -else -{ -x_197 = x_391; -x_198 = x_393; -x_199 = x_392; -x_200 = x_398; -x_201 = x_398; -x_202 = x_2; -x_203 = x_3; -x_204 = x_4; -x_205 = x_5; -x_206 = x_6; -x_207 = x_7; -x_208 = lean_box(0); -goto block_211; -} -} -} -block_439: -{ -lean_object* x_402; lean_object* x_403; uint8_t x_404; -x_402 = lean_unsigned_to_nat(1u); -x_403 = l_Lean_Syntax_getArg(x_1, x_402); -x_404 = l_Lean_Syntax_isNone(x_403); -if (x_404 == 0) -{ -uint8_t x_405; -lean_inc(x_403); -x_405 = l_Lean_Syntax_matchesNull(x_403, x_402); -if (x_405 == 0) -{ -lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; -lean_dec(x_403); -lean_dec(x_401); -x_406 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__5; -x_407 = lean_box(0); -lean_inc(x_1); -x_408 = l_Lean_Syntax_formatStx(x_1, x_407, x_405); -x_409 = l_Std_Format_defWidth; -x_410 = l_Std_Format_pretty(x_408, x_409, x_38, x_38); -x_411 = lean_string_append(x_406, x_410); -lean_dec_ref(x_410); -x_412 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__6; -x_413 = lean_string_append(x_411, x_412); -lean_inc(x_1); -x_414 = l_Lean_Syntax_getKind(x_1); -x_415 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_414, x_21); -x_416 = lean_string_append(x_413, x_415); -lean_dec_ref(x_415); -x_417 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_417, 0, x_416); -x_418 = l_Lean_MessageData_ofFormat(x_417); -x_419 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_1, x_418, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_419; -} -else -{ -lean_object* x_420; lean_object* x_421; uint8_t x_422; -x_420 = l_Lean_Syntax_getArg(x_403, x_38); -lean_dec(x_403); -x_421 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__8; -lean_inc(x_420); -x_422 = l_Lean_Syntax_isOfKind(x_420, x_421); -if (x_422 == 0) -{ -lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; -lean_dec(x_420); -lean_dec(x_401); -x_423 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__5; -x_424 = lean_box(0); -lean_inc(x_1); -x_425 = l_Lean_Syntax_formatStx(x_1, x_424, x_422); -x_426 = l_Std_Format_defWidth; -x_427 = l_Std_Format_pretty(x_425, x_426, x_38, x_38); -x_428 = lean_string_append(x_423, x_427); -lean_dec_ref(x_427); -x_429 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__6; -x_430 = lean_string_append(x_428, x_429); -lean_inc(x_1); -x_431 = l_Lean_Syntax_getKind(x_1); -x_432 = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(x_431, x_405); -x_433 = lean_string_append(x_430, x_432); -lean_dec_ref(x_432); -x_434 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_434, 0, x_433); -x_435 = l_Lean_MessageData_ofFormat(x_434); -x_436 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_1, x_435, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_436; -} -else -{ -lean_object* x_437; -x_437 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_437, 0, x_420); -x_391 = x_401; -x_392 = x_402; -x_393 = x_437; -goto block_400; -} -} -} -else -{ -lean_object* x_438; -lean_dec(x_403); -x_438 = lean_box(0); -x_391 = x_401; -x_392 = x_402; -x_393 = x_438; -goto block_400; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Term", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("byTactic", 8, 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__1; -x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -LEAN_EXPORT uint8_t l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0(lean_object* x_1) { -_start: -{ -lean_object* x_2; uint8_t x_3; -x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__2; -x_3 = lean_name_eq(x_1, x_2); -if (x_3 == 0) -{ -uint8_t x_4; -x_4 = 1; -return x_4; -} -else -{ -uint8_t x_5; -x_5 = 0; -return x_5; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_ctor_get(x_2, 1); -x_6 = lean_ctor_get(x_2, 2); -x_7 = lean_name_eq(x_4, x_1); -if (x_7 == 0) -{ -x_2 = x_6; -goto _start; -} -else -{ -lean_object* x_9; -lean_inc(x_5); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_5); -return x_9; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29___redArg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29___redArg(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; uint64_t x_5; uint64_t x_6; uint64_t x_7; uint64_t x_8; uint64_t x_9; uint64_t x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; -x_3 = lean_ctor_get(x_1, 1); -x_4 = lean_array_get_size(x_3); -x_5 = l_Lean_Name_hash___override(x_2); -x_6 = 32; -x_7 = lean_uint64_shift_right(x_5, x_6); -x_8 = lean_uint64_xor(x_5, x_7); -x_9 = 16; -x_10 = lean_uint64_shift_right(x_8, x_9); -x_11 = lean_uint64_xor(x_8, x_10); -x_12 = lean_uint64_to_usize(x_11); -x_13 = lean_usize_of_nat(x_4); -x_14 = 1; -x_15 = lean_usize_sub(x_13, x_14); -x_16 = lean_usize_land(x_12, x_15); -x_17 = lean_array_uget(x_3, x_16); -x_18 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29___redArg(x_2, x_17); -lean_dec(x_17); -return x_18; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19___redArg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19___redArg(x_1, x_2); -lean_dec(x_2); -lean_dec_ref(x_1); -return x_3; -} -} -static double _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__0() { -_start: -{ -lean_object* x_1; double x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_float_of_nat(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("", 0, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_8; lean_object* x_9; uint8_t x_10; -x_8 = lean_ctor_get(x_5, 5); -x_9 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__16(x_2, x_3, x_4, x_5, x_6); -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_ctor_get(x_9, 0); -x_12 = lean_st_ref_take(x_6); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -lean_object* x_14; uint8_t x_15; -x_14 = lean_ctor_get(x_12, 4); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; double x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_16 = lean_ctor_get(x_14, 0); -x_17 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__0; -x_18 = 0; -x_19 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1; -x_20 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_20, 0, x_1); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set_float(x_20, sizeof(void*)*2, x_17); -lean_ctor_set_float(x_20, sizeof(void*)*2 + 8, x_17); -lean_ctor_set_uint8(x_20, sizeof(void*)*2 + 16, x_18); -x_21 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__2; -x_22 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_11); -lean_ctor_set(x_22, 2, x_21); -lean_inc(x_8); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_8); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_PersistentArray_push___redArg(x_16, x_23); -lean_ctor_set(x_14, 0, x_24); -x_25 = lean_st_ref_set(x_6, x_12); -x_26 = lean_box(0); -lean_ctor_set(x_9, 0, x_26); -return x_9; -} -else -{ -uint64_t x_27; lean_object* x_28; double x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_27 = lean_ctor_get_uint64(x_14, sizeof(void*)*1); -x_28 = lean_ctor_get(x_14, 0); -lean_inc(x_28); -lean_dec(x_14); -x_29 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__0; -x_30 = 0; -x_31 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1; -x_32 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_32, 0, x_1); -lean_ctor_set(x_32, 1, x_31); -lean_ctor_set_float(x_32, sizeof(void*)*2, x_29); -lean_ctor_set_float(x_32, sizeof(void*)*2 + 8, x_29); -lean_ctor_set_uint8(x_32, sizeof(void*)*2 + 16, x_30); -x_33 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__2; -x_34 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_11); -lean_ctor_set(x_34, 2, x_33); -lean_inc(x_8); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_8); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_PersistentArray_push___redArg(x_28, x_35); -x_37 = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set_uint64(x_37, sizeof(void*)*1, x_27); -lean_ctor_set(x_12, 4, x_37); -x_38 = lean_st_ref_set(x_6, x_12); -x_39 = lean_box(0); -lean_ctor_set(x_9, 0, x_39); -return x_9; -} -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint64_t x_49; lean_object* x_50; lean_object* x_51; double x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_40 = lean_ctor_get(x_12, 4); -x_41 = lean_ctor_get(x_12, 0); -x_42 = lean_ctor_get(x_12, 1); -x_43 = lean_ctor_get(x_12, 2); -x_44 = lean_ctor_get(x_12, 3); -x_45 = lean_ctor_get(x_12, 5); -x_46 = lean_ctor_get(x_12, 6); -x_47 = lean_ctor_get(x_12, 7); -x_48 = lean_ctor_get(x_12, 8); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_40); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_12); -x_49 = lean_ctor_get_uint64(x_40, sizeof(void*)*1); -x_50 = lean_ctor_get(x_40, 0); -lean_inc_ref(x_50); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - x_51 = x_40; -} else { - lean_dec_ref(x_40); - x_51 = lean_box(0); -} -x_52 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__0; -x_53 = 0; -x_54 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1; -x_55 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_55, 0, x_1); -lean_ctor_set(x_55, 1, x_54); -lean_ctor_set_float(x_55, sizeof(void*)*2, x_52); -lean_ctor_set_float(x_55, sizeof(void*)*2 + 8, x_52); -lean_ctor_set_uint8(x_55, sizeof(void*)*2 + 16, x_53); -x_56 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__2; -x_57 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_11); -lean_ctor_set(x_57, 2, x_56); -lean_inc(x_8); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_8); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_PersistentArray_push___redArg(x_50, x_58); -if (lean_is_scalar(x_51)) { - x_60 = lean_alloc_ctor(0, 1, 8); -} else { - x_60 = x_51; -} -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set_uint64(x_60, sizeof(void*)*1, x_49); -x_61 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_61, 0, x_41); -lean_ctor_set(x_61, 1, x_42); -lean_ctor_set(x_61, 2, x_43); -lean_ctor_set(x_61, 3, x_44); -lean_ctor_set(x_61, 4, x_60); -lean_ctor_set(x_61, 5, x_45); -lean_ctor_set(x_61, 6, x_46); -lean_ctor_set(x_61, 7, x_47); -lean_ctor_set(x_61, 8, x_48); -x_62 = lean_st_ref_set(x_6, x_61); -x_63 = lean_box(0); -lean_ctor_set(x_9, 0, x_63); -return x_9; -} -} -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; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint64_t x_76; lean_object* x_77; lean_object* x_78; double x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_64 = lean_ctor_get(x_9, 0); -lean_inc(x_64); -lean_dec(x_9); -x_65 = lean_st_ref_take(x_6); -x_66 = lean_ctor_get(x_65, 4); -lean_inc_ref(x_66); -x_67 = lean_ctor_get(x_65, 0); -lean_inc_ref(x_67); -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -x_69 = lean_ctor_get(x_65, 2); -lean_inc_ref(x_69); -x_70 = lean_ctor_get(x_65, 3); -lean_inc_ref(x_70); -x_71 = lean_ctor_get(x_65, 5); -lean_inc_ref(x_71); -x_72 = lean_ctor_get(x_65, 6); -lean_inc_ref(x_72); -x_73 = lean_ctor_get(x_65, 7); -lean_inc_ref(x_73); -x_74 = lean_ctor_get(x_65, 8); -lean_inc_ref(x_74); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - lean_ctor_release(x_65, 2); - lean_ctor_release(x_65, 3); - lean_ctor_release(x_65, 4); - lean_ctor_release(x_65, 5); - lean_ctor_release(x_65, 6); - lean_ctor_release(x_65, 7); - lean_ctor_release(x_65, 8); - x_75 = x_65; -} else { - lean_dec_ref(x_65); - x_75 = lean_box(0); -} -x_76 = lean_ctor_get_uint64(x_66, sizeof(void*)*1); -x_77 = lean_ctor_get(x_66, 0); -lean_inc_ref(x_77); -if (lean_is_exclusive(x_66)) { - lean_ctor_release(x_66, 0); - x_78 = x_66; -} else { - lean_dec_ref(x_66); - x_78 = lean_box(0); -} -x_79 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__0; -x_80 = 0; -x_81 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1; -x_82 = lean_alloc_ctor(0, 2, 17); -lean_ctor_set(x_82, 0, x_1); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set_float(x_82, sizeof(void*)*2, x_79); -lean_ctor_set_float(x_82, sizeof(void*)*2 + 8, x_79); -lean_ctor_set_uint8(x_82, sizeof(void*)*2 + 16, x_80); -x_83 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__2; -x_84 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_64); -lean_ctor_set(x_84, 2, x_83); -lean_inc(x_8); -x_85 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_85, 0, x_8); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_PersistentArray_push___redArg(x_77, x_85); -if (lean_is_scalar(x_78)) { - x_87 = lean_alloc_ctor(0, 1, 8); -} else { - x_87 = x_78; -} -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set_uint64(x_87, sizeof(void*)*1, x_76); -if (lean_is_scalar(x_75)) { - x_88 = lean_alloc_ctor(0, 9, 0); -} else { - x_88 = x_75; -} -lean_ctor_set(x_88, 0, x_67); -lean_ctor_set(x_88, 1, x_68); -lean_ctor_set(x_88, 2, x_69); -lean_ctor_set(x_88, 3, x_70); -lean_ctor_set(x_88, 4, x_87); -lean_ctor_set(x_88, 5, x_71); -lean_ctor_set(x_88, 6, x_72); -lean_ctor_set(x_88, 7, x_73); -lean_ctor_set(x_88, 8, x_74); -x_89 = lean_st_ref_set(x_6, x_88); -x_90 = lean_box(0); -x_91 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_91, 0, x_90); -return x_91; -} -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_8; -} -} -static lean_object* _init_l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("trace", 5, 5); -return x_1; -} -} -static lean_object* _init_l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__0; -x_2 = l_Lean_Name_mkStr1(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_ctor_get(x_2, 2); -x_5 = lean_ctor_get_uint8(x_4, sizeof(void*)*1); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_1); -x_6 = lean_box(x_5); -x_7 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_7, 0, x_6); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; -x_8 = lean_ctor_get(x_2, 13); -x_9 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__1; -x_10 = l_Lean_Name_append(x_9, x_1); -x_11 = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(x_8, x_4, x_10); -lean_dec(x_10); -x_12 = lean_box(x_11); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_12); -return x_13; -} -} -} -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg(x_1, x_2); -lean_dec_ref(x_2); -return x_4; -} -} -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_array_get_size(x_1); -x_5 = lean_nat_dec_lt(x_2, x_4); -if (x_5 == 0) -{ -lean_dec(x_2); -return x_5; -} -else -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_array_fget_borrowed(x_1, x_2); -x_7 = l_Lean_instBEqExtraModUse_beq(x_3, x_6); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_add(x_2, x_8); -lean_dec(x_2); -x_2 = x_9; -goto _start; -} -else -{ -lean_dec(x_2); -return x_7; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42___redArg(x_1, x_2, x_3); -lean_dec_ref(x_3); -lean_dec_ref(x_1); -x_5 = lean_box(x_4); -return x_5; -} -} -static size_t _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___closed__0() { -_start: -{ -size_t x_1; size_t x_2; size_t x_3; -x_1 = 5; -x_2 = 1; -x_3 = lean_usize_shift_left(x_2, x_1); -return x_3; -} -} -static size_t _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___closed__1() { -_start: -{ -size_t x_1; size_t x_2; size_t x_3; -x_1 = 1; -x_2 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___closed__0; -x_3 = lean_usize_sub(x_2, x_1); -return x_3; -} -} -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg(lean_object* x_1, size_t x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; size_t x_8; lean_object* x_9; lean_object* x_10; -x_4 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_4); -lean_dec_ref(x_1); -x_5 = lean_box(2); -x_6 = 5; -x_7 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___closed__1; -x_8 = lean_usize_land(x_2, x_7); -x_9 = lean_usize_to_nat(x_8); -x_10 = lean_array_get(x_5, x_4, x_9); -lean_dec(x_9); -lean_dec_ref(x_4); -switch (lean_obj_tag(x_10)) { -case 0: -{ -lean_object* x_11; uint8_t x_12; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -lean_dec_ref(x_10); -x_12 = l_Lean_instBEqExtraModUse_beq(x_3, x_11); -lean_dec(x_11); -return x_12; -} -case 1: -{ -lean_object* x_13; size_t x_14; -x_13 = lean_ctor_get(x_10, 0); -lean_inc(x_13); -lean_dec_ref(x_10); -x_14 = lean_usize_shift_right(x_2, x_6); -x_1 = x_13; -x_2 = x_14; -goto _start; -} -default: -{ -uint8_t x_16; -x_16 = 0; -return x_16; -} -} -} -else -{ -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_ctor_get(x_1, 0); -lean_inc_ref(x_17); -lean_dec_ref(x_1); -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42___redArg(x_17, x_18, x_3); -lean_dec_ref(x_17); -return x_19; -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -size_t x_4; uint8_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_5 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg(x_1, x_4, x_3); -lean_dec_ref(x_3); -x_6 = lean_box(x_5); -return x_6; -} -} -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint64_t x_3; size_t x_4; uint8_t x_5; -x_3 = l_Lean_instHashableExtraModUse_hash(x_2); -x_4 = lean_uint64_to_usize(x_3); -x_5 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg(x_1, x_4, x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26___redArg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26___redArg(x_1, x_2); -lean_dec_ref(x_2); -x_4 = lean_box(x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_instBEqExtraModUse_beq___boxed), 2, 0); -return x_1; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_instHashableExtraModUse_hash___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__1; -x_2 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__0; -x_3 = l_Lean_PersistentHashMap_empty(lean_box(0), lean_box(0), x_2, x_1); -return x_3; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("extraModUses", 12, 12); -return x_1; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__3; -x_2 = l_Lean_Name_mkStr1(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" extra mod use ", 15, 15); -return x_1; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__5; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" of ", 4, 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__10() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("recording ", 10, 10); -return x_1; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__10; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked(" ", 1, 1); -return x_1; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__12; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("regular", 7, 7); -return x_1; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("meta", 4, 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("private", 7, 7); -return x_1; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__17() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("public", 6, 6); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_74; uint8_t x_75; -x_11 = lean_st_ref_get(x_9); -x_12 = lean_ctor_get(x_11, 0); -lean_inc_ref(x_12); -lean_dec(x_11); -x_13 = lean_ctor_get_uint8(x_12, sizeof(void*)*8); -lean_dec_ref(x_12); -x_14 = lean_st_ref_get(x_9); -x_15 = lean_ctor_get(x_14, 0); -lean_inc_ref(x_15); -lean_dec(x_14); -x_16 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__2; -lean_inc(x_1); -x_17 = lean_alloc_ctor(0, 1, 2); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set_uint8(x_17, sizeof(void*)*1, x_13); -lean_ctor_set_uint8(x_17, sizeof(void*)*1 + 1, x_2); -x_18 = l___private_Lean_ExtraModUses_0__Lean_extraModUses; -x_19 = lean_box(1); -x_20 = lean_box(0); -x_74 = l_Lean_SimplePersistentEnvExtension_getState___redArg(x_16, x_18, x_15, x_19, x_20); -x_75 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26___redArg(x_74, x_17); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_84; lean_object* x_85; uint8_t x_98; -x_76 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__4; -x_77 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg(x_76, x_8); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -lean_dec_ref(x_77); -x_98 = lean_unbox(x_78); -lean_dec(x_78); -if (x_98 == 0) -{ -lean_dec(x_3); -lean_dec(x_1); -x_21 = x_7; -x_22 = x_9; -x_23 = lean_box(0); -goto block_73; -} -else -{ -lean_object* x_99; lean_object* x_100; -x_99 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__11; -if (x_13 == 0) -{ -lean_object* x_108; -x_108 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__16; -x_100 = x_108; -goto block_107; -} -else -{ -lean_object* x_109; -x_109 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__17; -x_100 = x_109; -goto block_107; -} -block_107: -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_101 = l_Lean_stringToMessageData(x_100); -x_102 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_102, 0, x_99); -lean_ctor_set(x_102, 1, x_101); -x_103 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__13; -x_104 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -if (x_2 == 0) -{ -lean_object* x_105; -x_105 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__14; -x_84 = x_104; -x_85 = x_105; -goto block_97; -} -else -{ -lean_object* x_106; -x_106 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__15; -x_84 = x_104; -x_85 = x_106; -goto block_97; -} -} -} -block_83: -{ -lean_object* x_81; lean_object* x_82; -x_81 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg(x_76, x_81, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_82) == 0) -{ -lean_dec_ref(x_82); -x_21 = x_7; -x_22 = x_9; -x_23 = lean_box(0); -goto block_73; -} -else -{ -lean_dec_ref(x_17); -return x_82; -} -} -block_97: -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_86 = l_Lean_stringToMessageData(x_85); -x_87 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_86); -x_88 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__6; -x_89 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lean_MessageData_ofName(x_1); -x_91 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_Name_isAnonymous(x_3); -if (x_92 == 0) -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__8; -x_94 = l_Lean_MessageData_ofName(x_3); -x_95 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -x_79 = x_91; -x_80 = x_95; -goto block_83; -} -else -{ -lean_object* x_96; -lean_dec(x_3); -x_96 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__9; -x_79 = x_91; -x_80 = x_96; -goto block_83; -} -} -} -else -{ -lean_object* x_110; lean_object* x_111; -lean_dec_ref(x_17); -lean_dec(x_3); -lean_dec(x_1); -x_110 = lean_box(0); -x_111 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_111, 0, x_110); -return x_111; -} -block_73: -{ -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = lean_st_ref_take(x_22); -x_25 = lean_ctor_get(x_18, 0); -lean_inc_ref(x_25); -x_26 = !lean_is_exclusive(x_24); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_27 = lean_ctor_get(x_24, 0); -x_28 = lean_ctor_get(x_24, 5); -lean_dec(x_28); -x_29 = lean_ctor_get(x_25, 2); -lean_inc(x_29); -lean_dec_ref(x_25); -x_30 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_18, x_27, x_17, x_29, x_20); -lean_dec(x_29); -x_31 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2; -lean_ctor_set(x_24, 5, x_31); -lean_ctor_set(x_24, 0, x_30); -x_32 = lean_st_ref_set(x_22, x_24); -x_33 = lean_st_ref_take(x_21); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_35 = lean_ctor_get(x_33, 1); -lean_dec(x_35); -x_36 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -lean_ctor_set(x_33, 1, x_36); -x_37 = lean_st_ref_set(x_21, x_33); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_39, 0, x_38); -return x_39; -} -else -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_40 = lean_ctor_get(x_33, 0); -x_41 = lean_ctor_get(x_33, 2); -x_42 = lean_ctor_get(x_33, 3); -x_43 = lean_ctor_get(x_33, 4); -lean_inc(x_43); -lean_inc(x_42); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_33); -x_44 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -x_45 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_45, 0, x_40); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_41); -lean_ctor_set(x_45, 3, x_42); -lean_ctor_set(x_45, 4, x_43); -x_46 = lean_st_ref_set(x_21, x_45); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -return x_48; -} -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_49 = lean_ctor_get(x_24, 0); -x_50 = lean_ctor_get(x_24, 1); -x_51 = lean_ctor_get(x_24, 2); -x_52 = lean_ctor_get(x_24, 3); -x_53 = lean_ctor_get(x_24, 4); -x_54 = lean_ctor_get(x_24, 6); -x_55 = lean_ctor_get(x_24, 7); -x_56 = lean_ctor_get(x_24, 8); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_24); -x_57 = lean_ctor_get(x_25, 2); -lean_inc(x_57); -lean_dec_ref(x_25); -x_58 = l_Lean_PersistentEnvExtension_addEntry___redArg(x_18, x_49, x_17, x_57, x_20); -lean_dec(x_57); -x_59 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2; -x_60 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_50); -lean_ctor_set(x_60, 2, x_51); -lean_ctor_set(x_60, 3, x_52); -lean_ctor_set(x_60, 4, x_53); -lean_ctor_set(x_60, 5, x_59); -lean_ctor_set(x_60, 6, x_54); -lean_ctor_set(x_60, 7, x_55); -lean_ctor_set(x_60, 8, x_56); -x_61 = lean_st_ref_set(x_22, x_60); -x_62 = lean_st_ref_take(x_21); -x_63 = lean_ctor_get(x_62, 0); -lean_inc_ref(x_63); -x_64 = lean_ctor_get(x_62, 2); -lean_inc(x_64); -x_65 = lean_ctor_get(x_62, 3); -lean_inc_ref(x_65); -x_66 = lean_ctor_get(x_62, 4); -lean_inc_ref(x_66); -if (lean_is_exclusive(x_62)) { - lean_ctor_release(x_62, 0); - lean_ctor_release(x_62, 1); - lean_ctor_release(x_62, 2); - lean_ctor_release(x_62, 3); - lean_ctor_release(x_62, 4); - x_67 = x_62; -} else { - lean_dec_ref(x_62); - x_67 = lean_box(0); -} -x_68 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -if (lean_is_scalar(x_67)) { - x_69 = lean_alloc_ctor(0, 5, 0); -} else { - x_69 = x_67; -} -lean_ctor_set(x_69, 0, x_63); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_64); -lean_ctor_set(x_69, 3, x_65); -lean_ctor_set(x_69, 4, x_66); -x_70 = lean_st_ref_set(x_21, x_69); -x_71 = lean_box(0); -x_72 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_72, 0, x_71); -return x_72; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_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) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_2); -x_12 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_16; -x_16 = lean_usize_dec_lt(x_7, x_6); -if (x_16 == 0) -{ -lean_object* x_17; -lean_dec(x_3); -lean_dec_ref(x_2); -x_17 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_17, 0, x_8); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_18 = l_Lean_Environment_header(x_1); -x_19 = lean_ctor_get(x_18, 3); -lean_inc_ref(x_19); -lean_dec_ref(x_18); -x_20 = lean_array_uget(x_5, x_7); -lean_inc_ref(x_2); -x_21 = lean_array_get(x_2, x_19, x_20); -lean_dec(x_20); -lean_dec_ref(x_19); -x_22 = lean_ctor_get(x_21, 0); -lean_inc_ref(x_22); -lean_dec(x_21); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -lean_dec_ref(x_22); -x_24 = 0; -lean_inc(x_3); -x_25 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17(x_23, x_24, x_3, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_25) == 0) -{ -size_t x_26; size_t x_27; -lean_dec_ref(x_25); -x_26 = 1; -x_27 = lean_usize_add(x_7, x_26); -{ -size_t _tmp_6 = x_27; -lean_object* _tmp_7 = x_4; -x_7 = _tmp_6; -x_8 = _tmp_7; -} -goto _start; -} -else -{ -lean_dec(x_3); -lean_dec_ref(x_2); -return x_25; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_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, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = lean_unbox_usize(x_6); -lean_dec(x_6); -x_17 = lean_unbox_usize(x_7); -lean_dec(x_7); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__18(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_14); -lean_dec_ref(x_13); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec_ref(x_5); -lean_dec_ref(x_1); -return x_18; -} -} -static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Name_beq___boxed), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Name_hash___override___boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__1; -x_2 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__0; -x_3 = l_Std_HashMap_instInhabited(lean_box(0), lean_box(0), x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_10; lean_object* x_14; lean_object* x_15; -x_10 = lean_st_ref_get(x_8); -x_14 = lean_ctor_get(x_10, 0); -lean_inc_ref(x_14); -lean_dec(x_10); -x_15 = l_Lean_Environment_getModuleIdxFor_x3f(x_14, x_1); -if (lean_obj_tag(x_15) == 0) -{ -lean_dec_ref(x_14); -lean_dec(x_1); -goto block_13; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec_ref(x_15); -x_17 = l_Lean_Environment_header(x_14); -x_18 = lean_ctor_get(x_17, 3); -lean_inc_ref(x_18); -lean_dec_ref(x_17); -x_19 = lean_array_get_size(x_18); -x_20 = lean_nat_dec_lt(x_16, x_19); -if (x_20 == 0) -{ -lean_dec_ref(x_18); -lean_dec(x_16); -lean_dec_ref(x_14); -lean_dec(x_1); -goto block_13; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_35; uint8_t x_36; -x_21 = lean_st_ref_get(x_8); -x_22 = lean_ctor_get(x_21, 0); -lean_inc_ref(x_22); -lean_dec(x_21); -x_23 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__2; -x_24 = l_Lean_instInhabitedEffectiveImport_default; -x_35 = lean_array_fget(x_18, x_16); -lean_dec(x_16); -lean_dec_ref(x_18); -if (x_2 == 0) -{ -lean_dec_ref(x_22); -x_36 = x_2; -goto block_47; -} -else -{ -uint8_t x_48; -lean_inc(x_1); -x_48 = l_Lean_isMarkedMeta(x_22, x_1); -if (x_48 == 0) -{ -x_36 = x_2; -goto block_47; -} -else -{ -uint8_t x_49; -x_49 = 0; -x_36 = x_49; -goto block_47; -} -} -block_34: -{ -lean_object* x_27; size_t x_28; size_t x_29; lean_object* x_30; -x_27 = lean_box(0); -x_28 = lean_array_size(x_26); -x_29 = 0; -x_30 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__18(x_14, x_24, x_1, x_27, x_26, x_28, x_29, x_27, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec_ref(x_26); -lean_dec_ref(x_14); -if (lean_obj_tag(x_30) == 0) -{ -uint8_t x_31; -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) -{ -lean_object* x_32; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -lean_ctor_set(x_30, 0, x_27); -return x_30; -} -else -{ -lean_object* x_33; -lean_dec(x_30); -x_33 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_33, 0, x_27); -return x_33; -} -} -else -{ -return x_30; -} -} -block_47: -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_35, 0); -lean_inc_ref(x_37); -lean_dec(x_35); -x_38 = lean_ctor_get(x_37, 0); -lean_inc(x_38); -lean_dec_ref(x_37); -lean_inc(x_1); -x_39 = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17(x_38, x_36, x_1, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec_ref(x_39); -x_40 = l_Lean_indirectModUseExt; -x_41 = lean_box(1); -x_42 = lean_box(0); -lean_inc_ref(x_14); -x_43 = l_Lean_SimplePersistentEnvExtension_getState___redArg(x_23, x_40, x_14, x_41, x_42); -x_44 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19___redArg(x_43, x_1); -lean_dec(x_43); -if (lean_obj_tag(x_44) == 0) -{ -lean_object* x_45; -x_45 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__3; -x_25 = lean_box(0); -x_26 = x_45; -goto block_34; -} -else -{ -lean_object* x_46; -x_46 = lean_ctor_get(x_44, 0); -lean_inc(x_46); -lean_dec_ref(x_44); -x_25 = lean_box(0); -x_26 = x_46; -goto block_34; -} -} -else -{ -lean_dec_ref(x_14); -lean_dec(x_1); -return x_39; -} -} -} -} -block_13: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_12, 0, x_11); -return x_12; -} -} -} -LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_2); -x_11 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__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) { -_start: -{ -lean_object* x_8; lean_object* x_9; -x_8 = l_Lean_ResolveName_resolveGlobalName(x_1, x_2, x_3, x_4, x_5); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -return x_8; -} -} -LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 0); -lean_inc(x_3); -x_4 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -return x_4; -} -else -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_2); -return x_6; -} -} -} -LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg(x_1, x_2); -lean_dec_ref(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__0(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_expandMacroImpl_x3f(x_1, x_2, x_3, x_4); -if (lean_obj_tag(x_5) == 0) -{ -lean_object* x_6; -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -if (lean_obj_tag(x_6) == 0) -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_5); -if (x_7 == 0) -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_5, 0); -lean_dec(x_8); -x_9 = lean_box(0); -lean_ctor_set(x_5, 0, x_9); -return x_5; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_ctor_get(x_5, 1); -lean_inc(x_10); -lean_dec(x_5); -x_11 = lean_box(0); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; -} -} -else -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_6); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_6, 0); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; uint8_t x_17; -lean_free_object(x_6); -x_16 = lean_ctor_get(x_5, 1); -lean_inc(x_16); -lean_dec_ref(x_5); -x_17 = !lean_is_exclusive(x_15); -if (x_17 == 0) -{ -lean_object* x_18; -x_18 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg(x_15, x_16); -lean_dec_ref(x_15); -return x_18; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_19 = lean_ctor_get(x_15, 0); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg(x_20, x_16); -lean_dec_ref(x_20); -return x_21; -} -} -else -{ -lean_object* x_22; uint8_t x_23; -x_22 = lean_ctor_get(x_5, 1); -lean_inc(x_22); -lean_dec_ref(x_5); -x_23 = !lean_is_exclusive(x_15); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_15, 0); -lean_ctor_set(x_6, 0, x_24); -lean_ctor_set(x_15, 0, x_6); -x_25 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg(x_15, x_22); -lean_dec_ref(x_15); -return x_25; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_15, 0); -lean_inc(x_26); -lean_dec(x_15); -lean_ctor_set(x_6, 0, x_26); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_6); -x_28 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg(x_27, x_22); -lean_dec_ref(x_27); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_6, 0); -lean_inc(x_29); -lean_dec(x_6); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_31 = lean_ctor_get(x_5, 1); -lean_inc(x_31); -lean_dec_ref(x_5); -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - x_33 = x_30; -} else { - lean_dec_ref(x_30); - x_33 = lean_box(0); -} -if (lean_is_scalar(x_33)) { - x_34 = lean_alloc_ctor(0, 1, 0); -} else { - x_34 = x_33; -} -lean_ctor_set(x_34, 0, x_32); -x_35 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg(x_34, x_31); -lean_dec_ref(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; -x_36 = lean_ctor_get(x_5, 1); -lean_inc(x_36); -lean_dec_ref(x_5); -x_37 = lean_ctor_get(x_30, 0); -lean_inc(x_37); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - x_38 = x_30; -} else { - lean_dec_ref(x_30); - x_38 = lean_box(0); -} -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_37); -if (lean_is_scalar(x_38)) { - x_40 = lean_alloc_ctor(1, 1, 0); -} else { - x_40 = x_38; -} -lean_ctor_set(x_40, 0, x_39); -x_41 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg(x_40, x_36); -lean_dec_ref(x_40); -return x_41; -} -} -} -} -else -{ -uint8_t x_42; -x_42 = !lean_is_exclusive(x_5); -if (x_42 == 0) -{ -return x_5; -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_5, 0); -x_44 = lean_ctor_get(x_5, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_5); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__0___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_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__0(x_1, x_2, x_3, x_4); -lean_dec_ref(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_box(0); -x_10 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_10, 0, x_9); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_11 = lean_ctor_get(x_1, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_1, 1); -lean_inc(x_12); -lean_dec_ref(x_1); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); -lean_inc(x_13); -x_15 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg(x_13, x_6); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_ctor_get(x_15, 0); -x_18 = lean_unbox(x_17); -lean_dec(x_17); -if (x_18 == 0) -{ -lean_free_object(x_15); -lean_dec(x_14); -lean_dec(x_13); -x_1 = x_12; -goto _start; -} -else -{ -lean_object* x_20; lean_object* x_21; -lean_ctor_set_tag(x_15, 3); -lean_ctor_set(x_15, 0, x_14); -x_20 = l_Lean_MessageData_ofFormat(x_15); -x_21 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg(x_13, x_20, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_21) == 0) -{ -lean_dec_ref(x_21); -x_1 = x_12; -goto _start; -} -else -{ -lean_dec(x_12); -return x_21; -} -} -} -else -{ -lean_object* x_23; uint8_t x_24; -x_23 = lean_ctor_get(x_15, 0); -lean_inc(x_23); -lean_dec(x_15); -x_24 = lean_unbox(x_23); -lean_dec(x_23); -if (x_24 == 0) -{ -lean_dec(x_14); -lean_dec(x_13); -x_1 = x_12; -goto _start; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_26, 0, x_14); -x_27 = l_Lean_MessageData_ofFormat(x_26); -x_28 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg(x_13, x_27, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_28) == 0) -{ -lean_dec_ref(x_28); -x_1 = x_12; -goto _start; -} -else -{ -lean_dec(x_12); -return x_28; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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) { -_start: -{ -lean_object* x_9; -x_9 = l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__13(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__12___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_11; -x_11 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_11, 0, x_3); -return x_11; -} -else -{ -lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_2, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_2, 1); -lean_inc(x_13); -lean_dec_ref(x_2); -x_14 = 1; -x_15 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11(x_12, x_14, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_15) == 0) -{ -lean_dec_ref(x_15); -{ -lean_object* _tmp_1 = x_13; -lean_object* _tmp_2 = x_1; -x_2 = _tmp_1; -x_3 = _tmp_2; -} -goto _start; -} -else -{ -lean_dec(x_13); -return x_15; -} -} -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__12___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__12___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; -x_5 = 0; -x_6 = l_Lean_Environment_setExporting(x_1, x_5); -lean_inc(x_2); -x_7 = l_Lean_mkPrivateName(x_6, x_2); -x_8 = 1; -lean_inc_ref(x_6); -x_9 = l_Lean_Environment_contains(x_6, x_7, x_8); -if (x_9 == 0) -{ -lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; -x_10 = l_Lean_privateToUserName(x_2); -x_11 = l_Lean_Environment_contains(x_6, x_10, x_8); -x_12 = lean_box(x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_4); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; -lean_dec_ref(x_6); -lean_dec(x_2); -x_14 = lean_box(x_9); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_4); -return x_15; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__1(x_1, x_2, x_3, x_4); -lean_dec_ref(x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; -x_7 = l_Lean_ResolveName_resolveNamespace(x_1, x_2, x_3, x_4); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; -x_7 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__2(x_1, x_2, x_3, x_4, x_5, x_6); -lean_dec_ref(x_5); -return x_7; -} -} -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("runtime", 7, 7); -return x_1; -} -} -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("maxRecDepth", 11, 11); -return x_1; -} -} -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__1; -x_2 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__0; -x_3 = l_Lean_Name_mkStr2(x_2, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_maxRecDepthErrorMessage; -x_2 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__3; -x_2 = l_Lean_MessageData_ofFormat(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__4; -x_2 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__2; -x_3 = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg(lean_object* x_1) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_3 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__5; -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_3); -x_5 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_5, 0, x_4); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__3(x_1, x_2, x_3); -lean_dec_ref(x_2); -return x_4; -} -} -static lean_object* _init_l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("maximum recursion depth has been reached\nuse `set_option maxRecDepth ` to increase limit\nuse `set_option diagnostics true` to get diagnostic information", 157, 157); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_9 = lean_st_ref_get(x_7); -x_10 = lean_ctor_get(x_9, 0); -lean_inc_ref(x_10); -lean_dec(x_9); -x_11 = lean_ctor_get(x_6, 2); -x_12 = lean_ctor_get(x_6, 3); -x_13 = lean_ctor_get(x_6, 4); -x_14 = lean_ctor_get(x_6, 5); -x_15 = lean_ctor_get(x_6, 6); -x_16 = lean_ctor_get(x_6, 7); -x_17 = lean_ctor_get(x_6, 10); -x_18 = lean_ctor_get(x_6, 11); -x_19 = lean_st_ref_get(x_7); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -lean_inc_ref(x_10); -x_21 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__0___boxed), 4, 1); -lean_closure_set(x_21, 0, x_10); -lean_inc_ref(x_10); -x_22 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__1___boxed), 4, 1); -lean_closure_set(x_22, 0, x_10); -lean_inc(x_16); -lean_inc(x_15); -lean_inc_ref(x_10); -x_23 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__2___boxed), 6, 3); -lean_closure_set(x_23, 0, x_10); -lean_closure_set(x_23, 1, x_15); -lean_closure_set(x_23, 2, x_16); -lean_inc(x_15); -x_24 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__3___boxed), 3, 1); -lean_closure_set(x_24, 0, x_15); -lean_inc(x_16); -lean_inc(x_15); -lean_inc_ref(x_11); -x_25 = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___lam__4___boxed), 7, 4); -lean_closure_set(x_25, 0, x_10); -lean_closure_set(x_25, 1, x_11); -lean_closure_set(x_25, 2, x_15); -lean_closure_set(x_25, 3, x_16); -x_26 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_26, 0, x_21); -lean_ctor_set(x_26, 1, x_24); -lean_ctor_set(x_26, 2, x_22); -lean_ctor_set(x_26, 3, x_23); -lean_ctor_set(x_26, 4, x_25); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_18); -lean_inc(x_17); -x_27 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_17); -lean_ctor_set(x_27, 2, x_18); -lean_ctor_set(x_27, 3, x_12); -lean_ctor_set(x_27, 4, x_13); -lean_ctor_set(x_27, 5, x_14); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_29, 0, x_20); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_29, 2, x_28); -x_30 = lean_apply_2(x_1, x_27, x_29); -if (lean_obj_tag(x_30) == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 0); -lean_inc(x_32); -lean_dec_ref(x_30); -x_33 = lean_ctor_get(x_31, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -x_35 = lean_ctor_get(x_31, 2); -lean_inc(x_35); -lean_dec(x_31); -x_36 = lean_box(0); -x_37 = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__12___redArg(x_36, x_35, x_36, x_2, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_37) == 0) -{ -lean_object* x_38; uint8_t x_39; -lean_dec_ref(x_37); -x_38 = lean_st_ref_take(x_7); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_40 = lean_ctor_get(x_38, 1); -lean_dec(x_40); -lean_ctor_set(x_38, 1, x_33); -x_41 = lean_st_ref_set(x_7, x_38); -x_42 = l_List_reverse___redArg(x_34); -x_43 = l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__13(x_42, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -if (lean_obj_tag(x_43) == 0) -{ -uint8_t x_44; -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; -x_45 = lean_ctor_get(x_43, 0); -lean_dec(x_45); -lean_ctor_set(x_43, 0, x_32); -return x_43; -} -else -{ -lean_object* x_46; -lean_dec(x_43); -x_46 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_46, 0, x_32); -return x_46; -} -} -else -{ -uint8_t x_47; -lean_dec(x_32); -x_47 = !lean_is_exclusive(x_43); -if (x_47 == 0) -{ -return x_43; -} -else -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_43, 0); -lean_inc(x_48); -lean_dec(x_43); -x_49 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_49, 0, x_48); -return x_49; -} -} -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_50 = lean_ctor_get(x_38, 0); -x_51 = lean_ctor_get(x_38, 2); -x_52 = lean_ctor_get(x_38, 3); -x_53 = lean_ctor_get(x_38, 4); -x_54 = lean_ctor_get(x_38, 5); -x_55 = lean_ctor_get(x_38, 6); -x_56 = lean_ctor_get(x_38, 7); -x_57 = lean_ctor_get(x_38, 8); -lean_inc(x_57); -lean_inc(x_56); -lean_inc(x_55); -lean_inc(x_54); -lean_inc(x_53); -lean_inc(x_52); -lean_inc(x_51); -lean_inc(x_50); -lean_dec(x_38); -x_58 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_58, 0, x_50); -lean_ctor_set(x_58, 1, x_33); -lean_ctor_set(x_58, 2, x_51); -lean_ctor_set(x_58, 3, x_52); -lean_ctor_set(x_58, 4, x_53); -lean_ctor_set(x_58, 5, x_54); -lean_ctor_set(x_58, 6, x_55); -lean_ctor_set(x_58, 7, x_56); -lean_ctor_set(x_58, 8, x_57); -x_59 = lean_st_ref_set(x_7, x_58); -x_60 = l_List_reverse___redArg(x_34); -x_61 = l_List_forM___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__13(x_60, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -if (lean_obj_tag(x_61) == 0) -{ -lean_object* x_62; lean_object* x_63; -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - x_62 = x_61; -} else { - lean_dec_ref(x_61); - x_62 = lean_box(0); -} -if (lean_is_scalar(x_62)) { - x_63 = lean_alloc_ctor(0, 1, 0); -} else { - x_63 = x_62; -} -lean_ctor_set(x_63, 0, x_32); -return x_63; -} -else -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -lean_dec(x_32); -x_64 = lean_ctor_get(x_61, 0); -lean_inc(x_64); -if (lean_is_exclusive(x_61)) { - lean_ctor_release(x_61, 0); - x_65 = x_61; -} else { - lean_dec_ref(x_61); - x_65 = lean_box(0); -} -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(1, 1, 0); -} else { - x_66 = x_65; -} -lean_ctor_set(x_66, 0, x_64); -return x_66; -} -} -} -else -{ -uint8_t x_67; -lean_dec(x_34); -lean_dec(x_33); -lean_dec(x_32); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -x_67 = !lean_is_exclusive(x_37); -if (x_67 == 0) -{ -return x_37; -} -else -{ -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_37, 0); -lean_inc(x_68); -lean_dec(x_37); -x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_68); -return x_69; -} -} -} -else -{ -lean_object* x_70; -x_70 = lean_ctor_get(x_30, 0); -lean_inc(x_70); -lean_dec_ref(x_30); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); -lean_inc_ref(x_72); -lean_dec_ref(x_70); -x_73 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___closed__0; -x_74 = lean_string_dec_eq(x_72, x_73); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_75, 0, x_72); -x_76 = l_Lean_MessageData_ofFormat(x_75); -x_77 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_71, x_76, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_71); -return x_77; -} -else -{ -lean_object* x_78; -lean_dec_ref(x_72); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -x_78 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg(x_71); -return x_78; -} -} -else -{ -lean_object* x_79; -lean_dec_ref(x_6); -lean_dec_ref(x_2); -x_79 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(); -return x_79; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -return x_9; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Unknown attribute `[", 20, 20); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("]`", 2, 2); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__2; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Attr", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("simple", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__5; -x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__4; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; -x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); -return x_5; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__7() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Unknown attribute", 17, 17); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_13; -lean_inc_ref(x_10); -lean_inc_ref(x_6); -x_13 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg(x_1, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_13) == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec_ref(x_13); -x_15 = lean_unsigned_to_nat(1u); -x_16 = l_Lean_Syntax_getArg(x_2, x_15); -x_17 = lean_alloc_closure((void*)(l_Lean_expandMacros), 4, 2); -lean_closure_set(x_17, 0, x_16); -lean_closure_set(x_17, 1, x_3); -lean_inc_ref(x_10); -lean_inc_ref(x_6); -x_18 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg(x_17, x_6, x_7, x_8, x_9, x_10, x_11); -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_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -if (lean_is_exclusive(x_18)) { - lean_ctor_release(x_18, 0); - x_20 = x_18; -} else { - lean_dec_ref(x_18); - x_20 = lean_box(0); -} -lean_inc(x_19); -x_60 = l_Lean_Syntax_getKind(x_19); -x_61 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__6; -x_62 = lean_name_eq(x_60, x_61); -if (x_62 == 0) -{ -if (lean_obj_tag(x_60) == 1) -{ -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_60, 1); -lean_inc_ref(x_63); -lean_dec_ref(x_60); -x_64 = lean_box(0); -x_65 = l_Lean_Name_str___override(x_64, x_63); -x_27 = x_65; -x_28 = x_6; -x_29 = x_7; -x_30 = x_8; -x_31 = x_9; -x_32 = x_10; -x_33 = x_11; -x_34 = lean_box(0); -goto block_59; -} -else -{ -lean_object* x_66; lean_object* x_67; uint8_t x_68; -lean_dec(x_60); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_4); -x_66 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__8; -x_67 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_19, x_66, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_19); -x_68 = !lean_is_exclusive(x_67); -if (x_68 == 0) -{ -return x_67; -} -else -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_67, 0); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_69); -return x_70; -} -} -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -lean_dec(x_60); -x_71 = l_Lean_Syntax_getArg(x_19, x_5); -x_72 = l_Lean_Syntax_getId(x_71); -lean_dec(x_71); -x_73 = lean_erase_macro_scopes(x_72); -x_27 = x_73; -x_28 = x_6; -x_29 = x_7; -x_30 = x_8; -x_31 = x_9; -x_32 = x_10; -x_33 = x_11; -x_34 = lean_box(0); -goto block_59; -} -block_26: -{ -lean_object* x_23; uint8_t x_24; lean_object* x_25; -x_23 = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_19); -x_24 = lean_unbox(x_14); -lean_dec(x_14); -lean_ctor_set_uint8(x_23, sizeof(void*)*2, x_24); -if (lean_is_scalar(x_20)) { - x_25 = lean_alloc_ctor(0, 1, 0); -} else { - x_25 = x_20; -} -lean_ctor_set(x_25, 0, x_23); -return x_25; -} -block_59: -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_st_ref_get(x_33); -x_36 = lean_ctor_get(x_35, 0); -lean_inc_ref(x_36); -lean_dec(x_35); -lean_inc(x_27); -x_37 = l_Lean_getAttributeImpl(x_36, x_27); -if (lean_obj_tag(x_37) == 1) -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_dec_ref(x_37); -x_38 = lean_st_ref_get(x_33); -x_39 = lean_ctor_get(x_38, 0); -lean_inc_ref(x_39); -lean_dec(x_38); -lean_inc(x_27); -x_40 = l_Lean_getAttributeImpl(x_39, x_27); -if (lean_obj_tag(x_40) == 1) -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -lean_dec_ref(x_40); -x_42 = lean_st_ref_get(x_33); -x_43 = lean_ctor_get(x_41, 0); -lean_inc_ref(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_42, 0); -lean_inc_ref(x_44); -lean_dec(x_42); -x_45 = lean_ctor_get(x_43, 0); -lean_inc(x_45); -lean_dec_ref(x_43); -x_46 = l_Lean_regularInitAttr; -lean_inc(x_45); -x_47 = l_Lean_ParametricAttribute_getParam_x3f___redArg(x_4, x_46, x_44, x_45); -if (lean_obj_tag(x_47) == 0) -{ -lean_dec(x_45); -lean_dec_ref(x_32); -lean_dec_ref(x_28); -x_21 = x_27; -x_22 = lean_box(0); -goto block_26; -} -else -{ -uint8_t x_48; lean_object* x_49; -lean_dec_ref(x_47); -x_48 = 1; -x_49 = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11(x_45, x_48, x_28, x_29, x_30, x_31, x_32, x_33); -lean_dec_ref(x_32); -lean_dec_ref(x_28); -if (lean_obj_tag(x_49) == 0) -{ -lean_dec_ref(x_49); -x_21 = x_27; -x_22 = lean_box(0); -goto block_26; -} -else -{ -uint8_t x_50; -lean_dec(x_27); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_14); -x_50 = !lean_is_exclusive(x_49); -if (x_50 == 0) -{ -return x_49; -} -else -{ -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_49, 0); -lean_inc(x_51); -lean_dec(x_49); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_51); -return x_52; -} -} -} -} -else -{ -lean_dec_ref(x_40); -lean_dec_ref(x_32); -lean_dec_ref(x_28); -lean_dec(x_4); -x_21 = x_27; -x_22 = lean_box(0); -goto block_26; -} -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_dec_ref(x_37); -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_14); -lean_dec(x_4); -x_53 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__1; -x_54 = l_Lean_MessageData_ofName(x_27); -x_55 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__3; -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 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_57, x_28, x_29, x_30, x_31, x_32, x_33); -lean_dec_ref(x_32); -return x_58; -} -} -} -else -{ -uint8_t x_74; -lean_dec(x_14); -lean_dec_ref(x_10); -lean_dec_ref(x_6); -lean_dec(x_4); -x_74 = !lean_is_exclusive(x_18); -if (x_74 == 0) -{ -return x_18; -} -else -{ -lean_object* x_75; lean_object* x_76; -x_75 = lean_ctor_get(x_18, 0); -lean_inc(x_75); -lean_dec(x_18); -x_76 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_76, 0, x_75); -return x_76; -} -} -} -else -{ -uint8_t x_77; -lean_dec_ref(x_10); -lean_dec_ref(x_6); -lean_dec(x_4); -lean_dec_ref(x_3); -x_77 = !lean_is_exclusive(x_13); -if (x_77 == 0) -{ -return x_13; -} -else -{ -lean_object* x_78; lean_object* x_79; -x_78 = lean_ctor_get(x_13, 0); -lean_inc(x_78); -lean_dec(x_13); -x_79 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_79, 0, x_78); -return x_79; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_11); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_2); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_8; uint8_t x_9; -x_8 = lean_st_ref_take(x_1); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_8, 5); -lean_dec(x_11); -x_12 = l_Lean_Environment_setExporting(x_10, x_2); -lean_ctor_set(x_8, 5, x_3); -lean_ctor_set(x_8, 0, x_12); -x_13 = lean_st_ref_set(x_1, x_8); -x_14 = lean_st_ref_take(x_4); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_ctor_get(x_14, 1); -lean_dec(x_16); -lean_ctor_set(x_14, 1, x_5); -x_17 = lean_st_ref_set(x_4, x_14); -x_18 = lean_box(0); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_18); -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; lean_object* x_27; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 2); -x_22 = lean_ctor_get(x_14, 3); -x_23 = lean_ctor_get(x_14, 4); -lean_inc(x_23); -lean_inc(x_22); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_24 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_24, 0, x_20); -lean_ctor_set(x_24, 1, x_5); -lean_ctor_set(x_24, 2, x_21); -lean_ctor_set(x_24, 3, x_22); -lean_ctor_set(x_24, 4, x_23); -x_25 = lean_st_ref_set(x_4, x_24); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_27, 0, x_26); -return x_27; -} -} -else -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_28 = lean_ctor_get(x_8, 0); -x_29 = lean_ctor_get(x_8, 1); -x_30 = lean_ctor_get(x_8, 2); -x_31 = lean_ctor_get(x_8, 3); -x_32 = lean_ctor_get(x_8, 4); -x_33 = lean_ctor_get(x_8, 6); -x_34 = lean_ctor_get(x_8, 7); -x_35 = lean_ctor_get(x_8, 8); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_dec(x_8); -x_36 = l_Lean_Environment_setExporting(x_28, x_2); -x_37 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_29); -lean_ctor_set(x_37, 2, x_30); -lean_ctor_set(x_37, 3, x_31); -lean_ctor_set(x_37, 4, x_32); -lean_ctor_set(x_37, 5, x_3); -lean_ctor_set(x_37, 6, x_33); -lean_ctor_set(x_37, 7, x_34); -lean_ctor_set(x_37, 8, x_35); -x_38 = lean_st_ref_set(x_1, x_37); -x_39 = lean_st_ref_take(x_4); -x_40 = lean_ctor_get(x_39, 0); -lean_inc_ref(x_40); -x_41 = lean_ctor_get(x_39, 2); -lean_inc(x_41); -x_42 = lean_ctor_get(x_39, 3); -lean_inc_ref(x_42); -x_43 = lean_ctor_get(x_39, 4); -lean_inc_ref(x_43); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - lean_ctor_release(x_39, 2); - lean_ctor_release(x_39, 3); - lean_ctor_release(x_39, 4); - x_44 = x_39; -} else { - lean_dec_ref(x_39); - x_44 = lean_box(0); -} -if (lean_is_scalar(x_44)) { - x_45 = lean_alloc_ctor(0, 5, 0); -} else { - x_45 = x_44; -} -lean_ctor_set(x_45, 0, x_40); -lean_ctor_set(x_45, 1, x_5); -lean_ctor_set(x_45, 2, x_41); -lean_ctor_set(x_45, 3, x_42); -lean_ctor_set(x_45, 4, x_43); -x_46 = lean_st_ref_set(x_4, x_45); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -return x_48; -} -} -} -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_2); -x_9 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0(x_1, x_8, x_3, x_4, x_5, x_6); -lean_dec(x_6); -lean_dec(x_4); -lean_dec(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; uint8_t x_14; -x_10 = lean_st_ref_get(x_8); -x_11 = lean_ctor_get(x_10, 0); -lean_inc_ref(x_11); -lean_dec(x_10); -x_12 = lean_ctor_get_uint8(x_11, sizeof(void*)*8); -lean_dec_ref(x_11); -x_13 = lean_st_ref_take(x_8); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 5); -lean_dec(x_16); -x_17 = l_Lean_Environment_setExporting(x_15, x_2); -x_18 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2; -lean_ctor_set(x_13, 5, x_18); -lean_ctor_set(x_13, 0, x_17); -x_19 = lean_st_ref_set(x_8, x_13); -x_20 = lean_st_ref_take(x_6); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_22 = lean_ctor_get(x_20, 1); -lean_dec(x_22); -x_23 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -lean_ctor_set(x_20, 1, x_23); -x_24 = lean_st_ref_set(x_6, x_20); -lean_inc(x_8); -lean_inc(x_6); -x_25 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, lean_box(0)); -if (lean_obj_tag(x_25) == 0) -{ -uint8_t x_26; -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_ctor_get(x_25, 0); -lean_inc(x_27); -lean_ctor_set_tag(x_25, 1); -x_28 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_18, x_6, x_23, x_25); -lean_dec_ref(x_25); -lean_dec(x_6); -lean_dec(x_8); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) -{ -lean_object* x_30; -x_30 = lean_ctor_get(x_28, 0); -lean_dec(x_30); -lean_ctor_set(x_28, 0, x_27); -return x_28; -} -else -{ -lean_object* x_31; -lean_dec(x_28); -x_31 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_31, 0, x_27); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_32 = lean_ctor_get(x_25, 0); -lean_inc(x_32); -lean_dec(x_25); -lean_inc(x_32); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -x_34 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_18, x_6, x_23, x_33); -lean_dec_ref(x_33); -lean_dec(x_6); -lean_dec(x_8); -if (lean_is_exclusive(x_34)) { - lean_ctor_release(x_34, 0); - x_35 = x_34; -} else { - lean_dec_ref(x_34); - x_35 = lean_box(0); -} -if (lean_is_scalar(x_35)) { - x_36 = lean_alloc_ctor(0, 1, 0); -} else { - x_36 = x_35; -} -lean_ctor_set(x_36, 0, x_32); -return x_36; -} -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; -x_37 = lean_ctor_get(x_25, 0); -lean_inc(x_37); -lean_dec_ref(x_25); -x_38 = lean_box(0); -x_39 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_18, x_6, x_23, x_38); -lean_dec(x_6); -lean_dec(x_8); -x_40 = !lean_is_exclusive(x_39); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_39, 0); -lean_dec(x_41); -lean_ctor_set_tag(x_39, 1); -lean_ctor_set(x_39, 0, x_37); -return x_39; -} -else -{ -lean_object* x_42; -lean_dec(x_39); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_37); -return x_42; -} -} -} -else -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_43 = lean_ctor_get(x_20, 0); -x_44 = lean_ctor_get(x_20, 2); -x_45 = lean_ctor_get(x_20, 3); -x_46 = lean_ctor_get(x_20, 4); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_20); -x_47 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -x_48 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_48, 0, x_43); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_48, 2, x_44); -lean_ctor_set(x_48, 3, x_45); -lean_ctor_set(x_48, 4, x_46); -x_49 = lean_st_ref_set(x_6, x_48); -lean_inc(x_8); -lean_inc(x_6); -x_50 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, lean_box(0)); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -if (lean_is_exclusive(x_50)) { - lean_ctor_release(x_50, 0); - x_52 = x_50; -} else { - lean_dec_ref(x_50); - x_52 = lean_box(0); -} -lean_inc(x_51); -if (lean_is_scalar(x_52)) { - x_53 = lean_alloc_ctor(1, 1, 0); -} else { - x_53 = x_52; - lean_ctor_set_tag(x_53, 1); -} -lean_ctor_set(x_53, 0, x_51); -x_54 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_18, x_6, x_47, x_53); -lean_dec_ref(x_53); -lean_dec(x_6); -lean_dec(x_8); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - x_55 = x_54; -} else { - lean_dec_ref(x_54); - x_55 = lean_box(0); -} -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(0, 1, 0); -} else { - x_56 = x_55; -} -lean_ctor_set(x_56, 0, x_51); -return x_56; -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_57 = lean_ctor_get(x_50, 0); -lean_inc(x_57); -lean_dec_ref(x_50); -x_58 = lean_box(0); -x_59 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_18, x_6, x_47, x_58); -lean_dec(x_6); -lean_dec(x_8); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - x_60 = x_59; -} else { - lean_dec_ref(x_59); - x_60 = lean_box(0); -} -if (lean_is_scalar(x_60)) { - x_61 = lean_alloc_ctor(1, 1, 0); -} else { - x_61 = x_60; - lean_ctor_set_tag(x_61, 1); -} -lean_ctor_set(x_61, 0, x_57); -return x_61; -} -} -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_62 = lean_ctor_get(x_13, 0); -x_63 = lean_ctor_get(x_13, 1); -x_64 = lean_ctor_get(x_13, 2); -x_65 = lean_ctor_get(x_13, 3); -x_66 = lean_ctor_get(x_13, 4); -x_67 = lean_ctor_get(x_13, 6); -x_68 = lean_ctor_get(x_13, 7); -x_69 = lean_ctor_get(x_13, 8); -lean_inc(x_69); -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_dec(x_13); -x_70 = l_Lean_Environment_setExporting(x_62, x_2); -x_71 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2; -x_72 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_63); -lean_ctor_set(x_72, 2, x_64); -lean_ctor_set(x_72, 3, x_65); -lean_ctor_set(x_72, 4, x_66); -lean_ctor_set(x_72, 5, x_71); -lean_ctor_set(x_72, 6, x_67); -lean_ctor_set(x_72, 7, x_68); -lean_ctor_set(x_72, 8, x_69); -x_73 = lean_st_ref_set(x_8, x_72); -x_74 = lean_st_ref_take(x_6); -x_75 = lean_ctor_get(x_74, 0); -lean_inc_ref(x_75); -x_76 = lean_ctor_get(x_74, 2); -lean_inc(x_76); -x_77 = lean_ctor_get(x_74, 3); -lean_inc_ref(x_77); -x_78 = lean_ctor_get(x_74, 4); -lean_inc_ref(x_78); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - lean_ctor_release(x_74, 2); - lean_ctor_release(x_74, 3); - lean_ctor_release(x_74, 4); - x_79 = x_74; -} else { - lean_dec_ref(x_74); - x_79 = lean_box(0); -} -x_80 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -if (lean_is_scalar(x_79)) { - x_81 = lean_alloc_ctor(0, 5, 0); -} else { - x_81 = x_79; -} -lean_ctor_set(x_81, 0, x_75); -lean_ctor_set(x_81, 1, x_80); -lean_ctor_set(x_81, 2, x_76); -lean_ctor_set(x_81, 3, x_77); -lean_ctor_set(x_81, 4, x_78); -x_82 = lean_st_ref_set(x_6, x_81); -lean_inc(x_8); -lean_inc(x_6); -x_83 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, lean_box(0)); -if (lean_obj_tag(x_83) == 0) -{ -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_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -if (lean_is_exclusive(x_83)) { - lean_ctor_release(x_83, 0); - x_85 = x_83; -} else { - lean_dec_ref(x_83); - x_85 = lean_box(0); -} -lean_inc(x_84); -if (lean_is_scalar(x_85)) { - x_86 = lean_alloc_ctor(1, 1, 0); -} else { - x_86 = x_85; - lean_ctor_set_tag(x_86, 1); -} -lean_ctor_set(x_86, 0, x_84); -x_87 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_71, x_6, x_80, x_86); -lean_dec_ref(x_86); -lean_dec(x_6); -lean_dec(x_8); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - x_88 = x_87; -} else { - lean_dec_ref(x_87); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 1, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_84); -return x_89; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_90 = lean_ctor_get(x_83, 0); -lean_inc(x_90); -lean_dec_ref(x_83); -x_91 = lean_box(0); -x_92 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___lam__0(x_8, x_12, x_71, x_6, x_80, x_91); -lean_dec(x_6); -lean_dec(x_8); -if (lean_is_exclusive(x_92)) { - lean_ctor_release(x_92, 0); - x_93 = x_92; -} else { - lean_dec_ref(x_92); - x_93 = lean_box(0); -} -if (lean_is_scalar(x_93)) { - x_94 = lean_alloc_ctor(1, 1, 0); -} else { - x_94 = x_93; - lean_ctor_set_tag(x_94, 1); -} -lean_ctor_set(x_94, 0, x_90); -return x_94; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_2); -x_11 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37___redArg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -if (x_2 == 0) -{ -lean_object* x_10; -x_10 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, lean_box(0)); -return x_10; -} -else -{ -uint8_t x_11; lean_object* x_12; -x_11 = 0; -x_12 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8); -return x_12; -} -} -} -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_2); -x_11 = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37___redArg(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8); -return x_11; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___boxed), 1, 0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; -x_9 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___closed__0; -x_10 = lean_box(0); -x_11 = lean_unsigned_to_nat(0u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___boxed), 3, 1); -lean_closure_set(x_13, 0, x_12); -x_14 = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___boxed), 12, 5); -lean_closure_set(x_14, 0, x_13); -lean_closure_set(x_14, 1, x_1); -lean_closure_set(x_14, 2, x_9); -lean_closure_set(x_14, 3, x_10); -lean_closure_set(x_14, 4, x_11); -x_15 = 1; -x_16 = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37___redArg(x_14, x_15, x_2, x_3, x_4, x_5, x_6, x_7); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___boxed(lean_object* x_1, lean_object* x_2, 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_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Elab", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("Tactic", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("unsolvedGoals", 13, 13); -return x_1; -} -} -static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("synthPlaceholder", 16, 16); -return x_1; -} -} -static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("lean", 4, 4); -return x_1; -} -} -static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("inductionWithNoAlts", 19, 19); -return x_1; -} -} -static lean_object* _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("_namedError", 11, 11); -return x_1; -} -} -LEAN_EXPORT uint8_t l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0(uint8_t x_1, uint8_t x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_3) == 1) -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_3, 0); -switch (lean_obj_tag(x_4)) { -case 1: -{ -lean_object* x_5; -x_5 = lean_ctor_get(x_4, 0); -switch (lean_obj_tag(x_5)) { -case 0: -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_6 = lean_ctor_get(x_3, 1); -x_7 = lean_ctor_get(x_4, 1); -x_8 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__0; -x_9 = lean_string_dec_eq(x_7, x_8); -if (x_9 == 0) -{ -lean_object* x_10; uint8_t x_11; -x_10 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__1; -x_11 = lean_string_dec_eq(x_7, x_10); -if (x_11 == 0) -{ -return x_1; -} -else -{ -lean_object* x_12; uint8_t x_13; -x_12 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__2; -x_13 = lean_string_dec_eq(x_6, x_12); -if (x_13 == 0) -{ -return x_1; -} -else -{ -return x_2; -} -} -} -else -{ -lean_object* x_14; uint8_t x_15; -x_14 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__3; -x_15 = lean_string_dec_eq(x_6, x_14); -if (x_15 == 0) -{ -return x_1; -} -else -{ -return x_2; -} -} -} -case 1: -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_5, 0); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_3, 1); -x_18 = lean_ctor_get(x_4, 1); -x_19 = lean_ctor_get(x_5, 1); -x_20 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__4; -x_21 = lean_string_dec_eq(x_19, x_20); -if (x_21 == 0) -{ -return x_1; -} -else -{ -lean_object* x_22; uint8_t x_23; -x_22 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__5; -x_23 = lean_string_dec_eq(x_18, x_22); -if (x_23 == 0) -{ -return x_1; -} -else -{ -lean_object* x_24; uint8_t x_25; -x_24 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__6; -x_25 = lean_string_dec_eq(x_17, x_24); -if (x_25 == 0) -{ -return x_1; -} -else -{ -return x_2; -} -} -} -} -else -{ -return x_1; -} -} -default: -{ -return x_1; -} -} -} -case 0: -{ -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_ctor_get(x_3, 1); -x_27 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__0; -x_28 = lean_string_dec_eq(x_26, x_27); -if (x_28 == 0) -{ -return x_1; -} -else -{ -return x_2; -} -} -default: -{ -return x_1; -} -} -} -else -{ -return x_1; -} -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; uint8_t x_5; uint8_t x_6; lean_object* x_7; -x_4 = lean_unbox(x_1); -x_5 = lean_unbox(x_2); -x_6 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0(x_4, x_5, x_3); -lean_dec(x_3); -x_7 = lean_box(x_6); -return x_7; -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_50; uint8_t x_51; lean_object* x_52; uint8_t x_53; uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_77; uint8_t x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_88; lean_object* x_89; uint8_t x_90; uint8_t x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; uint8_t x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; -x_100 = 2; -x_125 = l_Lean_instBEqMessageSeverity_beq(x_3, x_100); -if (x_125 == 0) -{ -x_109 = x_125; -goto block_124; -} -else -{ -uint8_t x_126; -lean_inc_ref(x_2); -x_126 = l_Lean_MessageData_hasSyntheticSorry(x_2); -x_109 = x_126; -goto block_124; -} -block_49: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_20 = lean_st_ref_take(x_18); -x_21 = lean_ctor_get(x_17, 6); -lean_inc(x_21); -x_22 = lean_ctor_get(x_17, 7); -lean_inc(x_22); -lean_dec_ref(x_17); -x_23 = !lean_is_exclusive(x_20); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_24 = lean_ctor_get(x_20, 6); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_21); -lean_ctor_set(x_25, 1, x_22); -x_26 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_16); -x_27 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_27, 0, x_13); -lean_ctor_set(x_27, 1, x_11); -lean_ctor_set(x_27, 2, x_10); -lean_ctor_set(x_27, 3, x_14); -lean_ctor_set(x_27, 4, x_26); -lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_15); -lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_12); -lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 2, x_4); -x_28 = l_Lean_MessageLog_add(x_27, x_24); -lean_ctor_set(x_20, 6, x_28); -x_29 = lean_st_ref_set(x_18, x_20); -x_30 = lean_box(0); -x_31 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_31, 0, x_30); -return x_31; -} -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; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_32 = lean_ctor_get(x_20, 0); -x_33 = lean_ctor_get(x_20, 1); -x_34 = lean_ctor_get(x_20, 2); -x_35 = lean_ctor_get(x_20, 3); -x_36 = lean_ctor_get(x_20, 4); -x_37 = lean_ctor_get(x_20, 5); -x_38 = lean_ctor_get(x_20, 6); -x_39 = lean_ctor_get(x_20, 7); -x_40 = lean_ctor_get(x_20, 8); -lean_inc(x_40); -lean_inc(x_39); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_20); -x_41 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_41, 0, x_21); -lean_ctor_set(x_41, 1, x_22); -x_42 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_16); -x_43 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_43, 0, x_13); -lean_ctor_set(x_43, 1, x_11); -lean_ctor_set(x_43, 2, x_10); -lean_ctor_set(x_43, 3, x_14); -lean_ctor_set(x_43, 4, x_42); -lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_15); -lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_12); -lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 2, x_4); -x_44 = l_Lean_MessageLog_add(x_43, x_38); -x_45 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_45, 0, x_32); -lean_ctor_set(x_45, 1, x_33); -lean_ctor_set(x_45, 2, x_34); -lean_ctor_set(x_45, 3, x_35); -lean_ctor_set(x_45, 4, x_36); -lean_ctor_set(x_45, 5, x_37); -lean_ctor_set(x_45, 6, x_44); -lean_ctor_set(x_45, 7, x_39); -lean_ctor_set(x_45, 8, x_40); -x_46 = lean_st_ref_set(x_18, x_45); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -return x_48; -} -} -block_76: -{ -lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_58 = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(x_2); -x_59 = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__16(x_58, x_5, x_6, x_7, x_8); -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_61 = lean_ctor_get(x_59, 0); -lean_inc_ref(x_56); -x_62 = l_Lean_FileMap_toPosition(x_56, x_55); -lean_dec(x_55); -x_63 = l_Lean_FileMap_toPosition(x_56, x_57); -lean_dec(x_57); -x_64 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_64, 0, x_63); -x_65 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1; -if (x_53 == 0) -{ -lean_free_object(x_59); -lean_dec_ref(x_50); -x_10 = x_64; -x_11 = x_62; -x_12 = x_51; -x_13 = x_52; -x_14 = x_65; -x_15 = x_54; -x_16 = x_61; -x_17 = x_7; -x_18 = x_8; -x_19 = lean_box(0); -goto block_49; -} -else -{ -uint8_t x_66; -lean_inc(x_61); -x_66 = l_Lean_MessageData_hasTag(x_50, x_61); -if (x_66 == 0) -{ -lean_object* x_67; -lean_dec_ref(x_64); -lean_dec_ref(x_62); -lean_dec(x_61); -lean_dec_ref(x_52); -lean_dec_ref(x_7); -x_67 = lean_box(0); -lean_ctor_set(x_59, 0, x_67); -return x_59; -} -else -{ -lean_free_object(x_59); -x_10 = x_64; -x_11 = x_62; -x_12 = x_51; -x_13 = x_52; -x_14 = x_65; -x_15 = x_54; -x_16 = x_61; -x_17 = x_7; -x_18 = x_8; -x_19 = lean_box(0); -goto block_49; -} -} -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_68 = lean_ctor_get(x_59, 0); -lean_inc(x_68); -lean_dec(x_59); -lean_inc_ref(x_56); -x_69 = l_Lean_FileMap_toPosition(x_56, x_55); -lean_dec(x_55); -x_70 = l_Lean_FileMap_toPosition(x_56, x_57); -lean_dec(x_57); -x_71 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_71, 0, x_70); -x_72 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1; -if (x_53 == 0) -{ -lean_dec_ref(x_50); -x_10 = x_71; -x_11 = x_69; -x_12 = x_51; -x_13 = x_52; -x_14 = x_72; -x_15 = x_54; -x_16 = x_68; -x_17 = x_7; -x_18 = x_8; -x_19 = lean_box(0); -goto block_49; -} -else -{ -uint8_t x_73; -lean_inc(x_68); -x_73 = l_Lean_MessageData_hasTag(x_50, x_68); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; -lean_dec_ref(x_71); -lean_dec_ref(x_69); -lean_dec(x_68); -lean_dec_ref(x_52); -lean_dec_ref(x_7); -x_74 = lean_box(0); -x_75 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_75, 0, x_74); -return x_75; -} -else -{ -x_10 = x_71; -x_11 = x_69; -x_12 = x_51; -x_13 = x_52; -x_14 = x_72; -x_15 = x_54; -x_16 = x_68; -x_17 = x_7; -x_18 = x_8; -x_19 = lean_box(0); -goto block_49; -} -} -} -} -block_87: -{ -lean_object* x_85; -x_85 = l_Lean_Syntax_getTailPos_x3f(x_81, x_82); -lean_dec(x_81); -if (lean_obj_tag(x_85) == 0) -{ -lean_inc(x_84); -x_50 = x_77; -x_51 = x_78; -x_52 = x_79; -x_53 = x_80; -x_54 = x_82; -x_55 = x_84; -x_56 = x_83; -x_57 = x_84; -goto block_76; -} -else -{ -lean_object* x_86; -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -lean_dec_ref(x_85); -x_50 = x_77; -x_51 = x_78; -x_52 = x_79; -x_53 = x_80; -x_54 = x_82; -x_55 = x_84; -x_56 = x_83; -x_57 = x_86; -goto block_76; -} -} -block_99: -{ -lean_object* x_95; lean_object* x_96; -x_95 = l_Lean_replaceRef(x_1, x_93); -lean_dec(x_93); -x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_91); -if (lean_obj_tag(x_96) == 0) -{ -lean_object* x_97; -x_97 = lean_unsigned_to_nat(0u); -x_77 = x_88; -x_78 = x_94; -x_79 = x_89; -x_80 = x_90; -x_81 = x_95; -x_82 = x_91; -x_83 = x_92; -x_84 = x_97; -goto block_87; -} -else -{ -lean_object* x_98; -x_98 = lean_ctor_get(x_96, 0); -lean_inc(x_98); -lean_dec_ref(x_96); -x_77 = x_88; -x_78 = x_94; -x_79 = x_89; -x_80 = x_90; -x_81 = x_95; -x_82 = x_91; -x_83 = x_92; -x_84 = x_98; -goto block_87; -} -} -block_108: -{ -if (x_107 == 0) -{ -x_88 = x_103; -x_89 = x_101; -x_90 = x_102; -x_91 = x_106; -x_92 = x_104; -x_93 = x_105; -x_94 = x_3; -goto block_99; -} -else -{ -x_88 = x_103; -x_89 = x_101; -x_90 = x_102; -x_91 = x_106; -x_92 = x_104; -x_93 = x_105; -x_94 = x_100; -goto block_99; -} -} -block_124: -{ -if (x_109 == 0) -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; uint8_t x_119; -x_110 = lean_ctor_get(x_7, 0); -x_111 = lean_ctor_get(x_7, 1); -x_112 = lean_ctor_get(x_7, 2); -x_113 = lean_ctor_get(x_7, 5); -x_114 = lean_ctor_get_uint8(x_7, sizeof(void*)*14 + 1); -x_115 = lean_box(x_109); -x_116 = lean_box(x_114); -x_117 = lean_alloc_closure((void*)(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___boxed), 3, 2); -lean_closure_set(x_117, 0, x_115); -lean_closure_set(x_117, 1, x_116); -x_118 = 1; -x_119 = l_Lean_instBEqMessageSeverity_beq(x_3, x_118); -if (x_119 == 0) -{ -lean_inc(x_113); -lean_inc_ref(x_111); -lean_inc_ref(x_110); -x_101 = x_110; -x_102 = x_114; -x_103 = x_117; -x_104 = x_111; -x_105 = x_113; -x_106 = x_109; -x_107 = x_119; -goto block_108; -} -else -{ -lean_object* x_120; uint8_t x_121; -x_120 = l_Lean_warningAsError; -x_121 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__26(x_112, x_120); -lean_inc(x_113); -lean_inc_ref(x_111); -lean_inc_ref(x_110); -x_101 = x_110; -x_102 = x_114; -x_103 = x_117; -x_104 = x_111; -x_105 = x_113; -x_106 = x_109; -x_107 = x_121; -goto block_108; -} -} -else -{ -lean_object* x_122; lean_object* x_123; -lean_dec_ref(x_7); -lean_dec_ref(x_2); -x_122 = lean_box(0); -x_123 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_123, 0, x_122); -return x_123; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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; uint8_t x_11; lean_object* x_12; -x_10 = lean_unbox(x_3); -x_11 = lean_unbox(x_4); -x_12 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_1); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_10; uint8_t x_11; lean_object* x_12; -x_10 = 2; -x_11 = 0; -x_12 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg(x_1, x_2, x_10, x_11, x_5, x_6, x_7, x_8); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_8); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec_ref(x_3); -lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40_spec__46(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_8, 5); -lean_inc(x_11); -x_12 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg(x_11, x_1, x_2, x_3, x_6, x_7, x_8, x_9); -lean_dec(x_11); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40_spec__46___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; uint8_t x_12; lean_object* x_13; -x_11 = lean_unbox(x_2); -x_12 = lean_unbox(x_3); -x_13 = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40_spec__46(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_9; uint8_t x_10; lean_object* x_11; -x_9 = 2; -x_10 = 0; -x_11 = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40_spec__46(x_1, x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40___boxed(lean_object* x_1, lean_object* x_2, 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_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_9; -} -} -static lean_object* _init_l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("internal exception: ", 20, 20); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__0; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_1, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_1, 1); -lean_inc_ref(x_10); -lean_dec_ref(x_1); -x_11 = l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39(x_9, x_10, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_9); -return x_11; -} -else -{ -lean_object* x_12; uint8_t x_13; uint8_t x_37; -x_12 = lean_ctor_get(x_1, 0); -lean_inc(x_12); -x_37 = l_Lean_Elab_isAbortExceptionId(x_12); -if (x_37 == 0) -{ -uint8_t x_38; -x_38 = l_Lean_Exception_isInterrupt(x_1); -lean_dec_ref(x_1); -x_13 = x_38; -goto block_36; -} -else -{ -lean_dec_ref(x_1); -x_13 = x_37; -goto block_36; -} -block_36: -{ -if (x_13 == 0) -{ -lean_object* x_14; -x_14 = l_Lean_InternalExceptionId_getName(x_12); -lean_dec(x_12); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec_ref(x_14); -x_16 = l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__1; -x_17 = l_Lean_MessageData_ofName(x_15); -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_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__40(x_18, x_2, x_3, x_4, x_5, x_6, x_7); -return x_19; -} -else -{ -uint8_t x_20; -x_20 = !lean_is_exclusive(x_14); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = lean_ctor_get(x_14, 0); -x_22 = lean_ctor_get(x_6, 5); -lean_inc(x_22); -lean_dec_ref(x_6); -x_23 = lean_io_error_to_string(x_21); -x_24 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = l_Lean_MessageData_ofFormat(x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_22); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_14, 0, x_26); -return x_14; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_27 = lean_ctor_get(x_14, 0); -lean_inc(x_27); -lean_dec(x_14); -x_28 = lean_ctor_get(x_6, 5); -lean_inc(x_28); -lean_dec_ref(x_6); -x_29 = lean_io_error_to_string(x_27); -x_30 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = l_Lean_MessageData_ofFormat(x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_28); -lean_ctor_set(x_32, 1, x_31); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -return x_33; -} -} -} -else -{ -lean_object* x_34; lean_object* x_35; -lean_dec(x_12); -lean_dec_ref(x_6); -x_34 = lean_box(0); -x_35 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_35, 0, x_34); -return x_35; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___boxed(lean_object* x_1, lean_object* x_2, 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_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_7); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__34(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: -{ -lean_object* x_12; lean_object* x_13; uint8_t x_18; -x_18 = lean_usize_dec_lt(x_3, x_2); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_4); -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; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_20 = lean_ctor_get(x_9, 0); -x_21 = lean_ctor_get(x_9, 1); -x_22 = lean_ctor_get(x_9, 2); -x_23 = lean_ctor_get(x_9, 3); -x_24 = lean_ctor_get(x_9, 4); -x_25 = lean_ctor_get(x_9, 5); -x_26 = lean_ctor_get(x_9, 6); -x_27 = lean_ctor_get(x_9, 7); -x_28 = lean_ctor_get(x_9, 8); -x_29 = lean_ctor_get(x_9, 9); -x_30 = lean_ctor_get(x_9, 10); -x_31 = lean_ctor_get(x_9, 11); -x_32 = lean_ctor_get_uint8(x_9, sizeof(void*)*14); -x_33 = lean_ctor_get(x_9, 12); -x_34 = lean_ctor_get_uint8(x_9, sizeof(void*)*14 + 1); -x_35 = lean_ctor_get(x_9, 13); -x_36 = lean_array_uget(x_1, x_3); -x_37 = l_Lean_replaceRef(x_36, x_25); -lean_inc_ref(x_35); -lean_inc(x_33); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_24); -lean_inc(x_23); -lean_inc_ref(x_22); -lean_inc_ref(x_21); -lean_inc_ref(x_20); -x_38 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_38, 0, x_20); -lean_ctor_set(x_38, 1, x_21); -lean_ctor_set(x_38, 2, x_22); -lean_ctor_set(x_38, 3, x_23); -lean_ctor_set(x_38, 4, x_24); -lean_ctor_set(x_38, 5, x_37); -lean_ctor_set(x_38, 6, x_26); -lean_ctor_set(x_38, 7, x_27); -lean_ctor_set(x_38, 8, x_28); -lean_ctor_set(x_38, 9, x_29); -lean_ctor_set(x_38, 10, x_30); -lean_ctor_set(x_38, 11, x_31); -lean_ctor_set(x_38, 12, x_33); -lean_ctor_set(x_38, 13, x_35); -lean_ctor_set_uint8(x_38, sizeof(void*)*14, x_32); -lean_ctor_set_uint8(x_38, sizeof(void*)*14 + 1, x_34); -lean_inc(x_10); -lean_inc(x_8); -lean_inc_ref(x_7); -lean_inc(x_6); -lean_inc_ref(x_5); -x_39 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32(x_36, x_5, x_6, x_7, x_8, x_38, x_10); -if (lean_obj_tag(x_39) == 0) -{ -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_39, 0); -lean_inc(x_40); -lean_dec_ref(x_39); -x_41 = lean_array_push(x_4, x_40); -x_12 = x_41; -x_13 = lean_box(0); -goto block_17; -} -else -{ -lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_51; -x_42 = lean_ctor_get(x_39, 0); -lean_inc(x_42); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - x_43 = x_39; -} else { - lean_dec_ref(x_39); - x_43 = lean_box(0); -} -x_51 = l_Lean_Exception_isInterrupt(x_42); -if (x_51 == 0) -{ -uint8_t x_52; -lean_inc(x_42); -x_52 = l_Lean_Exception_isRuntime(x_42); -x_44 = x_52; -goto block_50; -} -else -{ -x_44 = x_51; -goto block_50; -} -block_50: -{ -if (x_44 == 0) -{ -lean_object* x_45; -lean_dec(x_43); -lean_inc_ref(x_9); -x_45 = l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33(x_42, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_45) == 0) -{ -lean_dec_ref(x_45); -x_12 = x_4; -x_13 = lean_box(0); -goto block_17; -} -else -{ -uint8_t x_46; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_4); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -return x_45; -} -else -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_45, 0); -lean_inc(x_47); -lean_dec(x_45); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -return x_48; -} -} -} -else -{ -lean_object* x_49; -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec_ref(x_4); -if (lean_is_scalar(x_43)) { - x_49 = lean_alloc_ctor(1, 1, 0); -} else { - x_49 = x_43; -} -lean_ctor_set(x_49, 0, x_42); -return x_49; -} -} -} -} -block_17: -{ -size_t x_14; size_t x_15; -x_14 = 1; -x_15 = lean_usize_add(x_3, x_14); -x_3 = x_15; -x_4 = x_12; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__34___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__34(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec_ref(x_1); -return x_14; -} -} -static lean_object* _init_l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; -x_9 = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22___closed__0; -x_10 = lean_array_size(x_1); -x_11 = 0; -x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__34(x_1, x_10, x_11, x_9, x_2, x_3, x_4, x_5, x_6, x_7); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22___boxed(lean_object* x_1, lean_object* x_2, 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_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_unsigned_to_nat(1u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = l_Lean_Syntax_getSepArgs(x_10); -lean_dec(x_10); -x_12 = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22(x_11, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_11); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_6; -x_6 = l_Lean_Name_isAnonymous(x_1); -if (x_6 == 0) -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_st_ref_take(x_4); -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_7, 5); -lean_dec(x_10); -x_11 = l_Lean_declRangeExt; -x_12 = l_Lean_MapDeclarationExtension_insert___redArg(x_11, x_9, x_1, x_2); -x_13 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2; -lean_ctor_set(x_7, 5, x_13); -lean_ctor_set(x_7, 0, x_12); -x_14 = lean_st_ref_set(x_4, x_7); -x_15 = lean_st_ref_take(x_3); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_15, 1); -lean_dec(x_17); -x_18 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -lean_ctor_set(x_15, 1, x_18); -x_19 = lean_st_ref_set(x_3, x_15); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_20); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_22 = lean_ctor_get(x_15, 0); -x_23 = lean_ctor_get(x_15, 2); -x_24 = lean_ctor_get(x_15, 3); -x_25 = lean_ctor_get(x_15, 4); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_inc(x_22); -lean_dec(x_15); -x_26 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -x_27 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_27, 0, x_22); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_27, 2, x_23); -lean_ctor_set(x_27, 3, x_24); -lean_ctor_set(x_27, 4, x_25); -x_28 = lean_st_ref_set(x_3, x_27); -x_29 = lean_box(0); -x_30 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_30, 0, x_29); -return x_30; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_31 = lean_ctor_get(x_7, 0); -x_32 = lean_ctor_get(x_7, 1); -x_33 = lean_ctor_get(x_7, 2); -x_34 = lean_ctor_get(x_7, 3); -x_35 = lean_ctor_get(x_7, 4); -x_36 = lean_ctor_get(x_7, 6); -x_37 = lean_ctor_get(x_7, 7); -x_38 = lean_ctor_get(x_7, 8); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_dec(x_7); -x_39 = l_Lean_declRangeExt; -x_40 = l_Lean_MapDeclarationExtension_insert___redArg(x_39, x_31, x_1, x_2); -x_41 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2; -x_42 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_32); -lean_ctor_set(x_42, 2, x_33); -lean_ctor_set(x_42, 3, x_34); -lean_ctor_set(x_42, 4, x_35); -lean_ctor_set(x_42, 5, x_41); -lean_ctor_set(x_42, 6, x_36); -lean_ctor_set(x_42, 7, x_37); -lean_ctor_set(x_42, 8, x_38); -x_43 = lean_st_ref_set(x_4, x_42); -x_44 = lean_st_ref_take(x_3); -x_45 = lean_ctor_get(x_44, 0); -lean_inc_ref(x_45); -x_46 = lean_ctor_get(x_44, 2); -lean_inc(x_46); -x_47 = lean_ctor_get(x_44, 3); -lean_inc_ref(x_47); -x_48 = lean_ctor_get(x_44, 4); -lean_inc_ref(x_48); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - lean_ctor_release(x_44, 2); - lean_ctor_release(x_44, 3); - lean_ctor_release(x_44, 4); - x_49 = x_44; -} else { - lean_dec_ref(x_44); - x_49 = lean_box(0); -} -x_50 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3; -if (lean_is_scalar(x_49)) { - x_51 = lean_alloc_ctor(0, 5, 0); -} else { - x_51 = x_49; -} -lean_ctor_set(x_51, 0, x_45); -lean_ctor_set(x_51, 1, x_50); -lean_ctor_set(x_51, 2, x_46); -lean_ctor_set(x_51, 3, x_47); -lean_ctor_set(x_51, 4, x_48); -x_52 = lean_st_ref_set(x_3, x_51); -x_53 = lean_box(0); -x_54 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_54, 0, x_53); -return x_54; -} -} -else -{ -lean_object* x_55; lean_object* x_56; -lean_dec_ref(x_2); -lean_dec(x_1); -x_55 = lean_box(0); -x_56 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_56, 0, x_55); -return x_56; -} -} -} -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { -_start: -{ -lean_object* x_6; -x_6 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5___redArg(x_1, x_2, x_3, x_4); -lean_dec(x_4); -lean_dec(x_3); -return x_6; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_4; lean_object* x_5; -x_4 = 0; -x_5 = l_Lean_Syntax_getRange_x3f(x_1, x_4); -if (lean_obj_tag(x_5) == 1) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_7 = lean_ctor_get(x_5, 0); -x_8 = lean_ctor_get(x_2, 1); -lean_inc_ref(x_8); -lean_dec_ref(x_2); -x_9 = lean_ctor_get(x_7, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_7, 1); -lean_inc(x_10); -lean_dec(x_7); -x_11 = l_Lean_DeclarationRange_ofStringPositions(x_8, x_9, x_10); -lean_dec(x_10); -lean_dec(x_9); -lean_ctor_set(x_5, 0, x_11); -x_12 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_12, 0, x_5); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_13 = lean_ctor_get(x_5, 0); -lean_inc(x_13); -lean_dec(x_5); -x_14 = lean_ctor_get(x_2, 1); -lean_inc_ref(x_14); -lean_dec_ref(x_2); -x_15 = lean_ctor_get(x_13, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_13, 1); -lean_inc(x_16); -lean_dec(x_13); -x_17 = l_Lean_DeclarationRange_ofStringPositions(x_14, x_15, x_16); -lean_dec(x_16); -lean_dec(x_15); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_18); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; -lean_dec(x_5); -lean_dec_ref(x_2); -x_20 = lean_box(0); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_20); -return x_21; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4___redArg(x_1, x_2); -lean_dec(x_1); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_11; uint8_t x_12; -lean_inc_ref(x_8); -x_11 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4___redArg(x_2, x_8); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_11, 0); -if (lean_obj_tag(x_13) == 1) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -lean_free_object(x_11); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -lean_dec_ref(x_13); -x_15 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4___redArg(x_3, x_8); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -lean_dec_ref(x_15); -if (lean_obj_tag(x_16) == 0) -{ -lean_inc(x_14); -x_17 = x_14; -goto block_20; -} -else -{ -lean_object* x_21; -x_21 = lean_ctor_get(x_16, 0); -lean_inc(x_21); -lean_dec_ref(x_16); -x_17 = x_21; -goto block_20; -} -block_20: -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_14); -lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5___redArg(x_1, x_18, x_7, x_9); -return x_19; -} -} -else -{ -lean_object* x_22; -lean_dec(x_13); -lean_dec_ref(x_8); -lean_dec(x_1); -x_22 = lean_box(0); -lean_ctor_set(x_11, 0, x_22); -return x_11; -} -} -else -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_11, 0); -lean_inc(x_23); -lean_dec(x_11); -if (lean_obj_tag(x_23) == 1) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -lean_dec_ref(x_23); -x_25 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4___redArg(x_3, x_8); -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -lean_dec_ref(x_25); -if (lean_obj_tag(x_26) == 0) -{ -lean_inc(x_24); -x_27 = x_24; -goto block_30; -} -else -{ -lean_object* x_31; -x_31 = lean_ctor_get(x_26, 0); -lean_inc(x_31); -lean_dec_ref(x_26); -x_27 = x_31; -goto block_30; -} -block_30: -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_28, 0, x_24); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5___redArg(x_1, x_28, x_7, x_9); -return x_29; -} -} -else -{ -lean_object* x_32; lean_object* x_33; -lean_dec(x_23); -lean_dec_ref(x_8); -lean_dec(x_1); -x_32 = lean_box(0); -x_33 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_33, 0, x_32); -return x_33; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_9); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__0() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__0() { _start: { lean_object* x_1; @@ -10049,16 +10049,16 @@ x_1 = lean_mk_string_unchecked("'let rec' expressions must be named", 35, 35); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__1() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__0; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__0; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__2() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__2() { _start: { lean_object* x_1; @@ -10066,19 +10066,19 @@ x_1 = lean_mk_string_unchecked("letPatDecl", 10, 10); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__3() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__2; -x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__2; +x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__4() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__4() { _start: { lean_object* x_1; @@ -10086,19 +10086,19 @@ x_1 = lean_mk_string_unchecked("letIdDecl", 9, 9); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__5() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__4; -x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__4; +x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__6() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__6() { _start: { lean_object* x_1; @@ -10106,19 +10106,19 @@ x_1 = lean_mk_string_unchecked("letEqnsDecl", 11, 11); return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__7() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__6; -x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__6; +x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__8() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__8() { _start: { lean_object* x_1; @@ -10126,2568 +10126,2792 @@ x_1 = lean_mk_string_unchecked("patterns are not allowed in 'let rec' expression return x_1; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__9() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__8; +x_1 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__8; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -lean_object* x_14; lean_object* x_15; uint8_t x_20; -x_20 = lean_usize_dec_lt(x_5, x_4); -if (x_20 == 0) +lean_object* x_15; lean_object* x_16; uint8_t x_21; +x_21 = lean_usize_dec_lt(x_6, x_5); +if (x_21 == 0) { -lean_object* x_21; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_6); -return x_21; +lean_object* x_22; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_7); +return x_22; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 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; uint8_t x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; uint8_t x_168; lean_object* x_169; uint8_t x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; uint8_t x_194; lean_object* x_195; lean_object* x_196; uint8_t x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_219; uint8_t x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_272; lean_object* x_283; lean_object* x_284; -x_22 = lean_array_uget(x_3, x_5); -x_283 = l_Lean_Syntax_getArg(x_22, x_1); -x_284 = l_Lean_Syntax_getOptional_x3f(x_283); -lean_dec(x_283); -if (lean_obj_tag(x_284) == 0) +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t 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; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; uint8_t x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; uint8_t x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_240; uint8_t x_241; lean_object* x_242; lean_object* x_243; uint8_t x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_318; lean_object* x_329; lean_object* x_330; +x_23 = lean_array_uget(x_4, x_6); +x_329 = l_Lean_Syntax_getArg(x_23, x_1); +x_330 = l_Lean_Syntax_getOptional_x3f(x_329); +lean_dec(x_329); +if (lean_obj_tag(x_330) == 0) { -lean_object* x_285; -x_285 = lean_box(0); -x_272 = x_285; -goto block_282; +lean_object* x_331; +x_331 = lean_box(0); +x_318 = x_331; +goto block_328; } else { -uint8_t x_286; -x_286 = !lean_is_exclusive(x_284); -if (x_286 == 0) +uint8_t x_332; +x_332 = !lean_is_exclusive(x_330); +if (x_332 == 0) { -x_272 = x_284; -goto block_282; +lean_object* x_333; lean_object* x_334; lean_object* x_335; +x_333 = lean_ctor_get(x_330, 0); +x_334 = lean_box(x_3); +x_335 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_335, 0, x_333); +lean_ctor_set(x_335, 1, x_334); +lean_ctor_set(x_330, 0, x_335); +x_318 = x_330; +goto block_328; } else { -lean_object* x_287; lean_object* x_288; -x_287 = lean_ctor_get(x_284, 0); -lean_inc(x_287); -lean_dec(x_284); -x_288 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_288, 0, x_287); -x_272 = x_288; -goto block_282; +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_336 = lean_ctor_get(x_330, 0); +lean_inc(x_336); +lean_dec(x_330); +x_337 = lean_box(x_3); +x_338 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_338, 0, x_336); +lean_ctor_set(x_338, 1, x_337); +x_339 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_339, 0, x_338); +x_318 = x_339; +goto block_328; } } -block_49: -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_unsigned_to_nat(3u); -x_41 = l_Lean_Syntax_getArg(x_22, x_40); -lean_dec(x_22); -x_42 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2(x_41, x_33, x_34, x_35, x_36, x_37, x_38); -if (lean_obj_tag(x_42) == 0) +block_52: { lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -lean_dec_ref(x_42); -x_44 = lean_alloc_ctor(0, 10, 0); -lean_ctor_set(x_44, 0, x_23); -lean_ctor_set(x_44, 1, x_26); -lean_ctor_set(x_44, 2, x_28); -lean_ctor_set(x_44, 3, x_25); -lean_ctor_set(x_44, 4, x_24); -lean_ctor_set(x_44, 5, x_27); -lean_ctor_set(x_44, 6, x_30); -lean_ctor_set(x_44, 7, x_29); -lean_ctor_set(x_44, 8, x_32); -lean_ctor_set(x_44, 9, x_43); -x_45 = lean_array_push(x_31, x_44); -x_14 = x_45; -x_15 = lean_box(0); -goto block_19; -} -else -{ -uint8_t x_46; -lean_dec(x_32); -lean_dec_ref(x_31); -lean_dec_ref(x_30); -lean_dec_ref(x_29); -lean_dec(x_28); -lean_dec_ref(x_27); -lean_dec_ref(x_26); -lean_dec(x_25); -lean_dec(x_24); +x_43 = lean_unsigned_to_nat(3u); +x_44 = l_Lean_Syntax_getArg(x_23, x_43); lean_dec(x_23); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_46 = !lean_is_exclusive(x_42); -if (x_46 == 0) +x_45 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3(x_44, x_36, x_37, x_38, x_39, x_40, x_41); +if (lean_obj_tag(x_45) == 0) { -return x_42; +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +lean_dec_ref(x_45); +x_47 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_47, 0, x_26); +lean_ctor_set(x_47, 1, x_33); +lean_ctor_set(x_47, 2, x_28); +lean_ctor_set(x_47, 3, x_25); +lean_ctor_set(x_47, 4, x_24); +lean_ctor_set(x_47, 5, x_32); +lean_ctor_set(x_47, 6, x_29); +lean_ctor_set(x_47, 7, x_30); +lean_ctor_set(x_47, 8, x_27); +lean_ctor_set(x_47, 9, x_35); +lean_ctor_set(x_47, 10, x_46); +lean_ctor_set(x_47, 11, x_31); +x_48 = lean_array_push(x_34, x_47); +x_15 = x_48; +x_16 = lean_box(0); +goto block_20; } else { -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_42, 0); -lean_inc(x_47); -lean_dec(x_42); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -return x_48; -} -} -} -block_119: -{ -lean_object* x_68; -lean_inc(x_66); -lean_inc_ref(x_65); -lean_inc(x_64); -lean_inc_ref(x_63); -lean_inc(x_62); -lean_inc_ref(x_61); -lean_inc(x_55); -x_68 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(x_55, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_68) == 0) -{ -uint8_t x_69; lean_object* x_70; -lean_dec_ref(x_68); -x_69 = 2; -lean_inc(x_66); -lean_inc_ref(x_65); -lean_inc(x_64); -lean_inc_ref(x_63); -lean_inc(x_62); -lean_inc_ref(x_61); -lean_inc_ref(x_57); -lean_inc(x_55); -x_70 = l_Lean_Elab_Term_applyAttributesAt(x_55, x_57, x_69, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; -lean_dec_ref(x_70); -x_71 = l_Lean_Syntax_getArg(x_52, x_2); -lean_inc(x_66); -lean_inc_ref(x_65); -lean_inc(x_64); -lean_inc_ref(x_63); -lean_inc(x_62); -lean_inc_ref(x_61); -lean_inc(x_71); -lean_inc(x_55); -x_72 = l_Lean_addDocString_x27(x_55, x_71, x_59, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; -lean_dec_ref(x_72); -lean_inc_ref(x_65); -lean_inc(x_55); -x_73 = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1(x_55, x_52, x_51, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_73) == 0) -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -lean_dec_ref(x_73); -x_74 = l_Lean_Syntax_getArgs(x_71); -lean_dec(x_71); -x_75 = l_Lean_Syntax_getArg(x_52, x_56); -x_76 = l_Lean_Elab_Term_expandOptType(x_51, x_75); -lean_dec(x_75); -x_77 = lean_box(x_50); -x_78 = lean_box(x_20); -x_79 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___boxed), 11, 3); -lean_closure_set(x_79, 0, x_76); -lean_closure_set(x_79, 1, x_77); -lean_closure_set(x_79, 2, x_78); -lean_inc(x_66); -lean_inc_ref(x_65); -lean_inc(x_64); -lean_inc_ref(x_63); -lean_inc(x_62); -lean_inc_ref(x_61); -x_80 = l_Lean_Elab_Term_elabBindersEx___redArg(x_74, x_79, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -lean_dec_ref(x_80); -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); -lean_inc(x_82); -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_82); -x_85 = 2; -x_86 = lean_box(0); -lean_inc_ref(x_63); -x_87 = l_Lean_Meta_mkFreshExprMVar(x_84, x_85, x_86, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_87) == 0) -{ -if (x_53 == 0) -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -lean_dec_ref(x_87); -x_89 = lean_unsigned_to_nat(3u); -x_90 = l_Lean_Syntax_getArg(x_52, x_89); -x_91 = lean_box(x_20); -x_92 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandMatchAltsIntoMatch___boxed), 5, 3); -lean_closure_set(x_92, 0, x_52); -lean_closure_set(x_92, 1, x_90); -lean_closure_set(x_92, 2, x_91); -lean_inc_ref(x_65); -lean_inc_ref(x_61); -x_93 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg(x_92, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_93) == 0) -{ -lean_object* x_94; -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -lean_dec_ref(x_93); -x_23 = x_51; -x_24 = x_54; -x_25 = x_55; -x_26 = x_57; -x_27 = x_83; -x_28 = x_58; -x_29 = x_88; -x_30 = x_82; -x_31 = x_60; -x_32 = x_94; -x_33 = x_61; -x_34 = x_62; -x_35 = x_63; -x_36 = x_64; -x_37 = x_65; -x_38 = x_66; -x_39 = lean_box(0); -goto block_49; -} -else -{ -uint8_t x_95; -lean_dec(x_88); -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_58); -lean_dec_ref(x_57); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_51); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_95 = !lean_is_exclusive(x_93); -if (x_95 == 0) -{ -return x_93; -} -else -{ -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_93, 0); -lean_inc(x_96); -lean_dec(x_93); -x_97 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_97, 0, x_96); -return x_97; -} -} -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_87, 0); -lean_inc(x_98); -lean_dec_ref(x_87); -x_99 = lean_unsigned_to_nat(4u); -x_100 = l_Lean_Syntax_getArg(x_52, x_99); -lean_dec(x_52); -x_23 = x_51; -x_24 = x_54; -x_25 = x_55; -x_26 = x_57; -x_27 = x_83; -x_28 = x_58; -x_29 = x_98; -x_30 = x_82; -x_31 = x_60; -x_32 = x_100; -x_33 = x_61; -x_34 = x_62; -x_35 = x_63; -x_36 = x_64; -x_37 = x_65; -x_38 = x_66; -x_39 = lean_box(0); -goto block_49; -} -} -else -{ -uint8_t x_101; -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_58); -lean_dec_ref(x_57); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_101 = !lean_is_exclusive(x_87); -if (x_101 == 0) -{ -return x_87; -} -else -{ -lean_object* x_102; lean_object* x_103; -x_102 = lean_ctor_get(x_87, 0); -lean_inc(x_102); -lean_dec(x_87); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_102); -return x_103; -} -} -} -else -{ -uint8_t x_104; -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_58); -lean_dec_ref(x_57); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_104 = !lean_is_exclusive(x_80); -if (x_104 == 0) -{ -return x_80; -} -else -{ -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_80, 0); -lean_inc(x_105); -lean_dec(x_80); -x_106 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_106, 0, x_105); -return x_106; -} -} -} -else -{ -uint8_t x_107; -lean_dec(x_71); -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_58); -lean_dec_ref(x_57); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_107 = !lean_is_exclusive(x_73); -if (x_107 == 0) -{ -return x_73; -} -else -{ -lean_object* x_108; lean_object* x_109; -x_108 = lean_ctor_get(x_73, 0); -lean_inc(x_108); -lean_dec(x_73); -x_109 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_109, 0, x_108); -return x_109; -} -} -} -else -{ -uint8_t x_110; -lean_dec(x_71); -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_58); -lean_dec_ref(x_57); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_110 = !lean_is_exclusive(x_72); -if (x_110 == 0) -{ -return x_72; -} -else -{ -lean_object* x_111; lean_object* x_112; -x_111 = lean_ctor_get(x_72, 0); -lean_inc(x_111); -lean_dec(x_72); -x_112 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_112, 0, x_111); -return x_112; -} -} -} -else -{ -uint8_t x_113; -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_59); -lean_dec(x_58); -lean_dec_ref(x_57); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_113 = !lean_is_exclusive(x_70); -if (x_113 == 0) -{ -return x_70; -} -else -{ -lean_object* x_114; lean_object* x_115; -x_114 = lean_ctor_get(x_70, 0); -lean_inc(x_114); -lean_dec(x_70); -x_115 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_115, 0, x_114); -return x_115; -} -} -} -else -{ -uint8_t x_116; -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_59); -lean_dec(x_58); -lean_dec_ref(x_57); -lean_dec(x_55); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_116 = !lean_is_exclusive(x_68); -if (x_116 == 0) -{ -return x_68; -} -else -{ -lean_object* x_117; lean_object* x_118; -x_117 = lean_ctor_get(x_68, 0); -lean_inc(x_117); -lean_dec(x_68); -x_118 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_118, 0, x_117); -return x_118; -} -} -} -block_167: -{ -if (x_139 == 0) -{ -x_50 = x_120; -x_51 = x_132; -x_52 = x_133; -x_53 = x_122; -x_54 = x_123; -x_55 = x_134; -x_56 = x_135; -x_57 = x_124; -x_58 = x_138; -x_59 = x_131; -x_60 = x_130; -x_61 = x_121; -x_62 = x_127; -x_63 = x_126; -x_64 = x_136; -x_65 = x_128; -x_66 = x_129; -x_67 = lean_box(0); -goto block_119; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; uint8_t x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_140 = lean_ctor_get(x_128, 0); -x_141 = lean_ctor_get(x_128, 1); -x_142 = lean_ctor_get(x_128, 2); -x_143 = lean_ctor_get(x_128, 3); -x_144 = lean_ctor_get(x_128, 4); -x_145 = lean_ctor_get(x_128, 5); -x_146 = lean_ctor_get(x_128, 6); -x_147 = lean_ctor_get(x_128, 7); -x_148 = lean_ctor_get(x_128, 8); -x_149 = lean_ctor_get(x_128, 9); -x_150 = lean_ctor_get(x_128, 10); -x_151 = lean_ctor_get(x_128, 11); -x_152 = lean_ctor_get_uint8(x_128, sizeof(void*)*14); -x_153 = lean_ctor_get(x_128, 12); -x_154 = lean_ctor_get_uint8(x_128, sizeof(void*)*14 + 1); -x_155 = lean_ctor_get(x_128, 13); -x_156 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3; -lean_inc(x_134); -x_157 = l_Lean_MessageData_ofConstName(x_134, x_125); -x_158 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_158, 0, x_156); -lean_ctor_set(x_158, 1, x_157); -x_159 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1; -x_160 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_160, 0, x_158); -lean_ctor_set(x_160, 1, x_159); -x_161 = l_Lean_replaceRef(x_132, x_145); -lean_inc_ref(x_155); -lean_inc(x_153); -lean_inc(x_151); -lean_inc(x_150); -lean_inc(x_149); -lean_inc(x_148); -lean_inc(x_147); -lean_inc(x_146); -lean_inc(x_144); -lean_inc(x_143); -lean_inc_ref(x_142); -lean_inc_ref(x_141); -lean_inc_ref(x_140); -x_162 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_162, 0, x_140); -lean_ctor_set(x_162, 1, x_141); -lean_ctor_set(x_162, 2, x_142); -lean_ctor_set(x_162, 3, x_143); -lean_ctor_set(x_162, 4, x_144); -lean_ctor_set(x_162, 5, x_161); -lean_ctor_set(x_162, 6, x_146); -lean_ctor_set(x_162, 7, x_147); -lean_ctor_set(x_162, 8, x_148); -lean_ctor_set(x_162, 9, x_149); -lean_ctor_set(x_162, 10, x_150); -lean_ctor_set(x_162, 11, x_151); -lean_ctor_set(x_162, 12, x_153); -lean_ctor_set(x_162, 13, x_155); -lean_ctor_set_uint8(x_162, sizeof(void*)*14, x_152); -lean_ctor_set_uint8(x_162, sizeof(void*)*14 + 1, x_154); -lean_inc_ref(x_121); -x_163 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_160, x_121, x_127, x_126, x_136, x_162, x_129); -lean_dec_ref(x_162); -if (lean_obj_tag(x_163) == 0) -{ -lean_dec_ref(x_163); -x_50 = x_120; -x_51 = x_132; -x_52 = x_133; -x_53 = x_122; -x_54 = x_123; -x_55 = x_134; -x_56 = x_135; -x_57 = x_124; -x_58 = x_138; -x_59 = x_131; -x_60 = x_130; -x_61 = x_121; -x_62 = x_127; -x_63 = x_126; -x_64 = x_136; -x_65 = x_128; -x_66 = x_129; -x_67 = lean_box(0); -goto block_119; -} -else -{ -uint8_t x_164; -lean_dec(x_138); -lean_dec(x_136); -lean_dec(x_134); -lean_dec(x_133); -lean_dec(x_132); -lean_dec(x_131); -lean_dec_ref(x_130); -lean_dec(x_129); -lean_dec_ref(x_128); -lean_dec(x_127); -lean_dec_ref(x_126); -lean_dec_ref(x_124); -lean_dec(x_123); -lean_dec_ref(x_121); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_164 = !lean_is_exclusive(x_163); -if (x_164 == 0) -{ -return x_163; -} -else -{ -lean_object* x_165; lean_object* x_166; -x_165 = lean_ctor_get(x_163, 0); -lean_inc(x_165); -lean_dec(x_163); -x_166 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_166, 0, x_165); -return x_166; -} -} -} -} -block_193: -{ -lean_object* x_187; lean_object* x_188; uint8_t x_189; -lean_inc(x_185); -x_187 = l_Lean_Name_append(x_186, x_185); -x_188 = lean_array_get_size(x_178); -x_189 = lean_nat_dec_lt(x_1, x_188); -if (x_189 == 0) -{ -x_120 = x_168; -x_121 = x_169; -x_122 = x_170; -x_123 = x_171; -x_124 = x_172; -x_125 = x_173; -x_126 = x_174; -x_127 = x_176; -x_128 = x_177; -x_129 = x_175; -x_130 = x_178; -x_131 = x_179; -x_132 = x_180; -x_133 = x_181; -x_134 = x_187; -x_135 = x_182; -x_136 = x_183; -x_137 = lean_box(0); -x_138 = x_185; -x_139 = x_173; -goto block_167; -} -else -{ -if (x_189 == 0) -{ -x_120 = x_168; -x_121 = x_169; -x_122 = x_170; -x_123 = x_171; -x_124 = x_172; -x_125 = x_173; -x_126 = x_174; -x_127 = x_176; -x_128 = x_177; -x_129 = x_175; -x_130 = x_178; -x_131 = x_179; -x_132 = x_180; -x_133 = x_181; -x_134 = x_187; -x_135 = x_182; -x_136 = x_183; -x_137 = lean_box(0); -x_138 = x_185; -x_139 = x_173; -goto block_167; -} -else -{ -size_t x_190; size_t x_191; uint8_t x_192; -x_190 = 0; -x_191 = lean_usize_of_nat(x_188); -x_192 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5(x_187, x_178, x_190, x_191); -x_120 = x_168; -x_121 = x_169; -x_122 = x_170; -x_123 = x_171; -x_124 = x_172; -x_125 = x_173; -x_126 = x_174; -x_127 = x_176; -x_128 = x_177; -x_129 = x_175; -x_130 = x_178; -x_131 = x_179; -x_132 = x_180; -x_133 = x_181; -x_134 = x_187; -x_135 = x_182; -x_136 = x_183; -x_137 = lean_box(0); -x_138 = x_185; -x_139 = x_192; -goto block_167; -} -} -} -block_218: -{ -lean_object* x_210; -x_210 = l_Lean_Elab_Term_getDeclName_x3f___redArg(x_203); -if (lean_obj_tag(x_210) == 0) -{ -lean_object* x_211; lean_object* x_212; -x_211 = lean_ctor_get(x_210, 0); -lean_inc(x_211); -lean_dec_ref(x_210); -x_212 = l_Lean_Syntax_getId(x_195); -if (lean_obj_tag(x_211) == 0) -{ -lean_object* x_213; -x_213 = lean_box(0); -x_168 = x_194; -x_169 = x_203; -x_170 = x_197; -x_171 = x_211; -x_172 = x_199; -x_173 = x_200; -x_174 = x_205; -x_175 = x_208; -x_176 = x_204; -x_177 = x_207; -x_178 = x_202; -x_179 = x_201; -x_180 = x_195; -x_181 = x_196; -x_182 = x_198; -x_183 = x_206; -x_184 = lean_box(0); -x_185 = x_212; -x_186 = x_213; -goto block_193; -} -else -{ -lean_object* x_214; -x_214 = lean_ctor_get(x_211, 0); -lean_inc(x_214); -x_168 = x_194; -x_169 = x_203; -x_170 = x_197; -x_171 = x_211; -x_172 = x_199; -x_173 = x_200; -x_174 = x_205; -x_175 = x_208; -x_176 = x_204; -x_177 = x_207; -x_178 = x_202; -x_179 = x_201; -x_180 = x_195; -x_181 = x_196; -x_182 = x_198; -x_183 = x_206; -x_184 = lean_box(0); -x_185 = x_212; -x_186 = x_214; -goto block_193; -} -} -else -{ -uint8_t x_215; -lean_dec(x_208); -lean_dec_ref(x_207); -lean_dec(x_206); -lean_dec_ref(x_205); -lean_dec(x_204); -lean_dec_ref(x_203); -lean_dec_ref(x_202); -lean_dec(x_201); -lean_dec_ref(x_199); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_215 = !lean_is_exclusive(x_210); -if (x_215 == 0) -{ -return x_210; -} -else -{ -lean_object* x_216; lean_object* x_217; -x_216 = lean_ctor_get(x_210, 0); -lean_inc(x_216); -lean_dec(x_210); -x_217 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_217, 0, x_216); -return x_217; -} -} -} -block_242: -{ -lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_234 = l_Lean_Syntax_getArg(x_229, x_1); -x_235 = l_Lean_Syntax_getArg(x_234, x_1); -lean_dec(x_234); -x_236 = l_Lean_Syntax_isIdent(x_235); -if (x_236 == 0) -{ -lean_object* x_237; lean_object* x_238; -x_237 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__1; -lean_inc_ref(x_222); -lean_inc_ref(x_224); -x_238 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_235, x_237, x_224, x_231, x_227, x_221, x_222, x_232); -if (lean_obj_tag(x_238) == 0) -{ -lean_dec_ref(x_238); -x_194 = x_219; -x_195 = x_235; -x_196 = x_229; -x_197 = x_220; -x_198 = x_230; -x_199 = x_223; -x_200 = x_226; -x_201 = x_228; -x_202 = x_233; -x_203 = x_224; -x_204 = x_231; -x_205 = x_227; -x_206 = x_221; -x_207 = x_222; -x_208 = x_232; -x_209 = lean_box(0); -goto block_218; -} -else -{ -uint8_t x_239; -lean_dec(x_235); -lean_dec_ref(x_233); -lean_dec(x_232); -lean_dec(x_231); -lean_dec(x_229); -lean_dec(x_228); -lean_dec_ref(x_227); -lean_dec_ref(x_224); -lean_dec_ref(x_223); -lean_dec_ref(x_222); -lean_dec(x_221); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_239 = !lean_is_exclusive(x_238); -if (x_239 == 0) -{ -return x_238; -} -else -{ -lean_object* x_240; lean_object* x_241; -x_240 = lean_ctor_get(x_238, 0); -lean_inc(x_240); -lean_dec(x_238); -x_241 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_241, 0, x_240); -return x_241; -} -} -} -else -{ -x_194 = x_219; -x_195 = x_235; -x_196 = x_229; -x_197 = x_220; -x_198 = x_230; -x_199 = x_223; -x_200 = x_226; -x_201 = x_228; -x_202 = x_233; -x_203 = x_224; -x_204 = x_231; -x_205 = x_227; -x_206 = x_221; -x_207 = x_222; -x_208 = x_232; -x_209 = lean_box(0); -goto block_218; -} -} -block_271: -{ -lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; -x_253 = lean_unsigned_to_nat(2u); -x_254 = l_Lean_Syntax_getArg(x_22, x_253); -x_255 = l_Lean_Syntax_getArg(x_254, x_1); -lean_dec(x_254); -x_256 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__3; -lean_inc(x_255); -x_257 = l_Lean_Syntax_isOfKind(x_255, x_256); -if (x_257 == 0) -{ -lean_object* x_258; uint8_t x_259; -x_258 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__5; -lean_inc(x_255); -x_259 = l_Lean_Syntax_isOfKind(x_255, x_258); -if (x_259 == 0) -{ -lean_object* x_260; uint8_t x_261; -x_260 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__7; -lean_inc(x_255); -x_261 = l_Lean_Syntax_isOfKind(x_255, x_260); -if (x_261 == 0) -{ -lean_object* x_262; -lean_dec(x_255); -lean_dec(x_251); -lean_dec_ref(x_250); -lean_dec(x_249); -lean_dec_ref(x_248); -lean_dec(x_247); -lean_dec_ref(x_246); -lean_dec_ref(x_245); -lean_dec(x_243); -lean_dec(x_22); -x_262 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(); -if (lean_obj_tag(x_262) == 0) -{ -lean_dec_ref(x_262); -x_14 = x_244; -x_15 = lean_box(0); -goto block_19; -} -else -{ -uint8_t x_263; -lean_dec_ref(x_244); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_263 = !lean_is_exclusive(x_262); -if (x_263 == 0) -{ -return x_262; -} -else -{ -lean_object* x_264; lean_object* x_265; -x_264 = lean_ctor_get(x_262, 0); -lean_inc(x_264); -lean_dec(x_262); -x_265 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_265, 0, x_264); -return x_265; -} -} -} -else -{ -x_219 = x_257; -x_220 = x_259; -x_221 = x_249; -x_222 = x_250; -x_223 = x_245; -x_224 = x_246; -x_225 = lean_box(0); -x_226 = x_257; -x_227 = x_248; -x_228 = x_243; -x_229 = x_255; -x_230 = x_253; -x_231 = x_247; -x_232 = x_251; -x_233 = x_244; -goto block_242; -} -} -else -{ -x_219 = x_257; -x_220 = x_259; -x_221 = x_249; -x_222 = x_250; -x_223 = x_245; -x_224 = x_246; -x_225 = lean_box(0); -x_226 = x_257; -x_227 = x_248; -x_228 = x_243; -x_229 = x_255; -x_230 = x_253; -x_231 = x_247; -x_232 = x_251; -x_233 = x_244; -goto block_242; -} -} -else -{ -lean_object* x_266; lean_object* x_267; -lean_dec_ref(x_245); -lean_dec(x_243); -lean_dec(x_22); -x_266 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__9; -x_267 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_255, x_266, x_246, x_247, x_248, x_249, x_250, x_251); -lean_dec(x_251); -lean_dec(x_249); -lean_dec_ref(x_248); -lean_dec(x_247); -lean_dec(x_255); -if (lean_obj_tag(x_267) == 0) -{ -lean_dec_ref(x_267); -x_14 = x_244; -x_15 = lean_box(0); -goto block_19; -} -else -{ -uint8_t x_268; -lean_dec_ref(x_244); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_268 = !lean_is_exclusive(x_267); -if (x_268 == 0) -{ -return x_267; -} -else -{ -lean_object* x_269; lean_object* x_270; -x_269 = lean_ctor_get(x_267, 0); -lean_inc(x_269); -lean_dec(x_267); -x_270 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_270, 0, x_269); -return x_270; -} -} -} -} -block_282: -{ -lean_object* x_273; uint8_t x_274; -x_273 = l_Lean_Syntax_getArg(x_22, x_2); -x_274 = l_Lean_Syntax_isNone(x_273); -if (x_274 == 0) -{ -lean_object* x_275; lean_object* x_276; -x_275 = l_Lean_Syntax_getArg(x_273, x_1); -lean_dec(x_273); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_276 = l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8(x_275, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_275); -if (lean_obj_tag(x_276) == 0) -{ -lean_object* x_277; -x_277 = lean_ctor_get(x_276, 0); -lean_inc(x_277); -lean_dec_ref(x_276); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_243 = x_272; -x_244 = x_6; -x_245 = x_277; -x_246 = x_7; -x_247 = x_8; -x_248 = x_9; -x_249 = x_10; -x_250 = x_11; -x_251 = x_12; -x_252 = lean_box(0); -goto block_271; -} -else -{ -uint8_t x_278; -lean_dec(x_272); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_6); -x_278 = !lean_is_exclusive(x_276); -if (x_278 == 0) -{ -return x_276; -} -else -{ -lean_object* x_279; lean_object* x_280; -x_279 = lean_ctor_get(x_276, 0); -lean_inc(x_279); -lean_dec(x_276); -x_280 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_280, 0, x_279); -return x_280; -} -} -} -else -{ -lean_object* x_281; -lean_dec(x_273); -x_281 = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22___closed__0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_243 = x_272; -x_244 = x_6; -x_245 = x_281; -x_246 = x_7; -x_247 = x_8; -x_248 = x_9; -x_249 = x_10; -x_250 = x_11; -x_251 = x_12; -x_252 = lean_box(0); -goto block_271; -} -} -} -block_19: -{ -size_t x_16; size_t x_17; -x_16 = 1; -x_17 = lean_usize_add(x_5, x_16); -x_5 = x_17; -x_6 = x_14; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_15 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec_ref(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_16; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_14; lean_object* x_15; uint8_t x_20; -x_20 = lean_usize_dec_lt(x_5, x_4); -if (x_20 == 0) -{ -lean_object* x_21; -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_21 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_21, 0, x_6); -return x_21; -} -else -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 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; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; 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; lean_object* x_67; uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; uint8_t x_137; lean_object* x_138; uint8_t x_139; uint8_t x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; lean_object* x_183; uint8_t x_184; lean_object* x_185; lean_object* x_186; uint8_t x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; uint8_t x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; uint8_t x_232; lean_object* x_233; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_272; lean_object* x_283; lean_object* x_284; -x_22 = lean_array_uget(x_3, x_5); -x_283 = l_Lean_Syntax_getArg(x_22, x_1); -x_284 = l_Lean_Syntax_getOptional_x3f(x_283); -lean_dec(x_283); -if (lean_obj_tag(x_284) == 0) -{ -lean_object* x_285; -x_285 = lean_box(0); -x_272 = x_285; -goto block_282; -} -else -{ -uint8_t x_286; -x_286 = !lean_is_exclusive(x_284); -if (x_286 == 0) -{ -x_272 = x_284; -goto block_282; -} -else -{ -lean_object* x_287; lean_object* x_288; -x_287 = lean_ctor_get(x_284, 0); -lean_inc(x_287); -lean_dec(x_284); -x_288 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_288, 0, x_287); -x_272 = x_288; -goto block_282; -} -} -block_49: -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_unsigned_to_nat(3u); -x_41 = l_Lean_Syntax_getArg(x_22, x_40); -lean_dec(x_22); -x_42 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2(x_41, x_33, x_34, x_35, x_36, x_37, x_38); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -lean_dec_ref(x_42); -x_44 = lean_alloc_ctor(0, 10, 0); -lean_ctor_set(x_44, 0, x_23); -lean_ctor_set(x_44, 1, x_26); -lean_ctor_set(x_44, 2, x_25); -lean_ctor_set(x_44, 3, x_29); -lean_ctor_set(x_44, 4, x_28); -lean_ctor_set(x_44, 5, x_30); -lean_ctor_set(x_44, 6, x_27); -lean_ctor_set(x_44, 7, x_24); -lean_ctor_set(x_44, 8, x_32); -lean_ctor_set(x_44, 9, x_43); -x_45 = lean_array_push(x_31, x_44); -x_14 = x_45; -x_15 = lean_box(0); -goto block_19; -} -else -{ -uint8_t x_46; -lean_dec(x_32); -lean_dec_ref(x_31); +uint8_t x_49; +lean_dec(x_35); +lean_dec_ref(x_34); +lean_dec_ref(x_33); +lean_dec_ref(x_32); +lean_dec(x_31); lean_dec_ref(x_30); lean_dec(x_29); lean_dec(x_28); lean_dec_ref(x_27); -lean_dec_ref(x_26); +lean_dec(x_26); lean_dec(x_25); -lean_dec_ref(x_24); -lean_dec(x_23); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_46 = !lean_is_exclusive(x_42); -if (x_46 == 0) +lean_dec(x_24); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_49 = !lean_is_exclusive(x_45); +if (x_49 == 0) { -return x_42; +return x_45; } else { -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_42, 0); -lean_inc(x_47); -lean_dec(x_42); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -return x_48; +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_45, 0); +lean_inc(x_50); +lean_dec(x_45); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_50); +return x_51; } } } -block_119: +block_118: { -lean_object* x_68; -lean_inc(x_66); -lean_inc_ref(x_65); -lean_inc(x_64); -lean_inc_ref(x_63); -lean_inc(x_62); -lean_inc_ref(x_61); -lean_inc(x_57); -x_68 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(x_57, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_68) == 0) +lean_object* x_71; +lean_inc(x_69); +lean_inc_ref(x_68); +lean_inc(x_67); +lean_inc_ref(x_66); +lean_inc(x_65); +lean_inc_ref(x_64); +lean_inc(x_56); +x_71 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1(x_56, x_64, x_65, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_71) == 0) { -uint8_t x_69; lean_object* x_70; -lean_dec_ref(x_68); -x_69 = 2; -lean_inc(x_66); -lean_inc_ref(x_65); -lean_inc(x_64); -lean_inc_ref(x_63); -lean_inc(x_62); -lean_inc_ref(x_61); -lean_inc_ref(x_55); -lean_inc(x_57); -x_70 = l_Lean_Elab_Term_applyAttributesAt(x_57, x_55, x_69, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; -lean_dec_ref(x_70); -x_71 = l_Lean_Syntax_getArg(x_53, x_2); -lean_inc(x_66); -lean_inc_ref(x_65); -lean_inc(x_64); -lean_inc_ref(x_63); -lean_inc(x_62); -lean_inc_ref(x_61); -lean_inc(x_71); -lean_inc(x_57); -x_72 = l_Lean_addDocString_x27(x_57, x_71, x_51, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; -lean_dec_ref(x_72); -lean_inc_ref(x_65); -lean_inc(x_57); -x_73 = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1(x_57, x_53, x_52, x_61, x_62, x_63, x_64, x_65, x_66); +uint8_t x_72; lean_object* x_73; +lean_dec_ref(x_71); +x_72 = 2; +lean_inc(x_69); +lean_inc_ref(x_68); +lean_inc(x_67); +lean_inc_ref(x_66); +lean_inc(x_65); +lean_inc_ref(x_64); +lean_inc_ref(x_62); +lean_inc(x_56); +x_73 = l_Lean_Elab_Term_applyAttributesAt(x_56, x_62, x_72, x_64, x_65, x_66, x_67, x_68, x_69); if (lean_obj_tag(x_73) == 0) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_object* x_74; lean_dec_ref(x_73); -x_74 = l_Lean_Syntax_getArgs(x_71); -lean_dec(x_71); -x_75 = l_Lean_Syntax_getArg(x_53, x_59); -x_76 = l_Lean_Elab_Term_expandOptType(x_52, x_75); -lean_dec(x_75); -x_77 = lean_box(x_50); -x_78 = lean_box(x_20); -x_79 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___boxed), 11, 3); -lean_closure_set(x_79, 0, x_76); -lean_closure_set(x_79, 1, x_77); -lean_closure_set(x_79, 2, x_78); -lean_inc(x_66); -lean_inc_ref(x_65); -lean_inc(x_64); -lean_inc_ref(x_63); -lean_inc(x_62); -lean_inc_ref(x_61); -x_80 = l_Lean_Elab_Term_elabBindersEx___redArg(x_74, x_79, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_80) == 0) +lean_inc_ref(x_68); +lean_inc(x_56); +x_74 = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2(x_56, x_57, x_55, x_64, x_65, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -lean_dec_ref(x_80); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); +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_dec_ref(x_74); +x_75 = l_Lean_Syntax_getArg(x_57, x_2); +x_76 = l_Lean_Syntax_getArgs(x_75); +x_77 = l_Lean_Syntax_getArg(x_57, x_61); +x_78 = l_Lean_Elab_Term_expandOptType(x_55, x_77); +lean_dec(x_77); +x_79 = lean_box(x_53); +x_80 = lean_box(x_21); +x_81 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___boxed), 11, 3); +lean_closure_set(x_81, 0, x_78); +lean_closure_set(x_81, 1, x_79); +lean_closure_set(x_81, 2, x_80); +lean_inc(x_69); +lean_inc_ref(x_68); +lean_inc(x_67); +lean_inc_ref(x_66); +lean_inc(x_65); +lean_inc_ref(x_64); +x_82 = l_Lean_Elab_Term_elabBindersEx___redArg(x_76, x_81, x_64, x_65, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_82) == 0) +{ +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; +x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); -lean_dec(x_81); -lean_inc(x_82); -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_82); -x_85 = 2; -x_86 = lean_box(0); -lean_inc_ref(x_63); -x_87 = l_Lean_Meta_mkFreshExprMVar(x_84, x_85, x_86, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_87) == 0) +lean_dec_ref(x_82); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +lean_inc(x_84); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_84); +x_87 = 2; +x_88 = lean_box(0); +lean_inc_ref(x_66); +x_89 = l_Lean_Meta_mkFreshExprMVar(x_86, x_87, x_88, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_89) == 0) { if (x_58 == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_88 = lean_ctor_get(x_87, 0); -lean_inc(x_88); -lean_dec_ref(x_87); -x_89 = lean_unsigned_to_nat(3u); -x_90 = l_Lean_Syntax_getArg(x_53, x_89); -x_91 = lean_box(x_20); -x_92 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandMatchAltsIntoMatch___boxed), 5, 3); -lean_closure_set(x_92, 0, x_53); -lean_closure_set(x_92, 1, x_90); -lean_closure_set(x_92, 2, x_91); -lean_inc_ref(x_65); -lean_inc_ref(x_61); -x_93 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg(x_92, x_61, x_62, x_63, x_64, x_65, x_66); -if (lean_obj_tag(x_93) == 0) +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +lean_dec_ref(x_89); +x_91 = lean_unsigned_to_nat(3u); +x_92 = l_Lean_Syntax_getArg(x_57, x_91); +x_93 = lean_box(x_21); +x_94 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandMatchAltsIntoMatch___boxed), 5, 3); +lean_closure_set(x_94, 0, x_57); +lean_closure_set(x_94, 1, x_92); +lean_closure_set(x_94, 2, x_93); +lean_inc_ref(x_68); +lean_inc_ref(x_64); +x_95 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_94, x_64, x_65, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_95) == 0) { -lean_object* x_94; -x_94 = lean_ctor_get(x_93, 0); -lean_inc(x_94); -lean_dec_ref(x_93); -x_23 = x_52; -x_24 = x_88; -x_25 = x_54; -x_26 = x_55; -x_27 = x_82; -x_28 = x_56; -x_29 = x_57; -x_30 = x_83; -x_31 = x_60; -x_32 = x_94; -x_33 = x_61; -x_34 = x_62; -x_35 = x_63; -x_36 = x_64; -x_37 = x_65; -x_38 = x_66; -x_39 = lean_box(0); -goto block_49; -} -else -{ -uint8_t x_95; -lean_dec(x_88); -lean_dec(x_83); -lean_dec(x_82); -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_57); -lean_dec(x_56); -lean_dec_ref(x_55); -lean_dec(x_54); -lean_dec(x_52); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_95 = !lean_is_exclusive(x_93); -if (x_95 == 0) -{ -return x_93; -} -else -{ -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_93, 0); +lean_object* x_96; +x_96 = lean_ctor_get(x_95, 0); lean_inc(x_96); -lean_dec(x_93); -x_97 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_97, 0, x_96); -return x_97; -} -} -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_87, 0); -lean_inc(x_98); -lean_dec_ref(x_87); -x_99 = lean_unsigned_to_nat(4u); -x_100 = l_Lean_Syntax_getArg(x_53, x_99); -lean_dec(x_53); -x_23 = x_52; -x_24 = x_98; -x_25 = x_54; +lean_dec_ref(x_95); +x_24 = x_54; +x_25 = x_56; x_26 = x_55; -x_27 = x_82; -x_28 = x_56; -x_29 = x_57; -x_30 = x_83; +x_27 = x_90; +x_28 = x_59; +x_29 = x_75; +x_30 = x_84; x_31 = x_60; -x_32 = x_100; -x_33 = x_61; -x_34 = x_62; -x_35 = x_63; +x_32 = x_85; +x_33 = x_62; +x_34 = x_63; +x_35 = x_96; x_36 = x_64; x_37 = x_65; x_38 = x_66; -x_39 = lean_box(0); -goto block_49; +x_39 = x_67; +x_40 = x_68; +x_41 = x_69; +x_42 = lean_box(0); +goto block_52; +} +else +{ +uint8_t x_97; +lean_dec(x_90); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_75); +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec_ref(x_62); +lean_dec(x_60); +lean_dec(x_59); +lean_dec(x_56); +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_97 = !lean_is_exclusive(x_95); +if (x_97 == 0) +{ +return x_95; +} +else +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_95, 0); +lean_inc(x_98); +lean_dec(x_95); +x_99 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_99, 0, x_98); +return x_99; +} } } else { -uint8_t x_101; -lean_dec(x_83); +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_89, 0); +lean_inc(x_100); +lean_dec_ref(x_89); +x_101 = lean_unsigned_to_nat(4u); +x_102 = l_Lean_Syntax_getArg(x_57, x_101); +lean_dec(x_57); +x_24 = x_54; +x_25 = x_56; +x_26 = x_55; +x_27 = x_100; +x_28 = x_59; +x_29 = x_75; +x_30 = x_84; +x_31 = x_60; +x_32 = x_85; +x_33 = x_62; +x_34 = x_63; +x_35 = x_102; +x_36 = x_64; +x_37 = x_65; +x_38 = x_66; +x_39 = x_67; +x_40 = x_68; +x_41 = x_69; +x_42 = lean_box(0); +goto block_52; +} +} +else +{ +uint8_t x_103; +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_75); +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec_ref(x_62); +lean_dec(x_60); +lean_dec(x_59); +lean_dec(x_57); +lean_dec(x_56); +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_103 = !lean_is_exclusive(x_89); +if (x_103 == 0) +{ +return x_89; +} +else +{ +lean_object* x_104; lean_object* x_105; +x_104 = lean_ctor_get(x_89, 0); +lean_inc(x_104); +lean_dec(x_89); +x_105 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_105, 0, x_104); +return x_105; +} +} +} +else +{ +uint8_t x_106; +lean_dec(x_75); +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec_ref(x_62); +lean_dec(x_60); +lean_dec(x_59); +lean_dec(x_57); +lean_dec(x_56); +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_106 = !lean_is_exclusive(x_82); +if (x_106 == 0) +{ +return x_82; +} +else +{ +lean_object* x_107; lean_object* x_108; +x_107 = lean_ctor_get(x_82, 0); +lean_inc(x_107); lean_dec(x_82); -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); +x_108 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_108, 0, x_107); +return x_108; +} +} +} +else +{ +uint8_t x_109; +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); +lean_dec_ref(x_62); +lean_dec(x_60); +lean_dec(x_59); lean_dec(x_57); lean_dec(x_56); -lean_dec_ref(x_55); +lean_dec(x_55); lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_101 = !lean_is_exclusive(x_87); -if (x_101 == 0) +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_109 = !lean_is_exclusive(x_74); +if (x_109 == 0) { -return x_87; +return x_74; } else { -lean_object* x_102; lean_object* x_103; -x_102 = lean_ctor_get(x_87, 0); -lean_inc(x_102); -lean_dec(x_87); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_102); -return x_103; +lean_object* x_110; lean_object* x_111; +x_110 = lean_ctor_get(x_74, 0); +lean_inc(x_110); +lean_dec(x_74); +x_111 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_111, 0, x_110); +return x_111; } } } else { -uint8_t x_104; -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); +uint8_t x_112; +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); +lean_dec_ref(x_62); +lean_dec(x_60); +lean_dec(x_59); lean_dec(x_57); lean_dec(x_56); -lean_dec_ref(x_55); +lean_dec(x_55); lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_104 = !lean_is_exclusive(x_80); -if (x_104 == 0) -{ -return x_80; -} -else -{ -lean_object* x_105; lean_object* x_106; -x_105 = lean_ctor_get(x_80, 0); -lean_inc(x_105); -lean_dec(x_80); -x_106 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_106, 0, x_105); -return x_106; -} -} -} -else -{ -uint8_t x_107; -lean_dec(x_71); -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_57); -lean_dec(x_56); -lean_dec_ref(x_55); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_107 = !lean_is_exclusive(x_73); -if (x_107 == 0) +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_112 = !lean_is_exclusive(x_73); +if (x_112 == 0) { return x_73; } else { -lean_object* x_108; lean_object* x_109; -x_108 = lean_ctor_get(x_73, 0); -lean_inc(x_108); +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_73, 0); +lean_inc(x_113); lean_dec(x_73); -x_109 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_109, 0, x_108); -return x_109; +x_114 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_114, 0, x_113); +return x_114; } } } else { -uint8_t x_110; +uint8_t x_115; +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec_ref(x_62); +lean_dec(x_60); +lean_dec(x_59); +lean_dec(x_57); +lean_dec(x_56); +lean_dec(x_55); +lean_dec(x_54); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_115 = !lean_is_exclusive(x_71); +if (x_115 == 0) +{ +return x_71; +} +else +{ +lean_object* x_116; lean_object* x_117; +x_116 = lean_ctor_get(x_71, 0); +lean_inc(x_116); lean_dec(x_71); -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_57); -lean_dec(x_56); -lean_dec_ref(x_55); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_110 = !lean_is_exclusive(x_72); -if (x_110 == 0) +x_117 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_117, 0, x_116); +return x_117; +} +} +} +block_166: { -return x_72; +if (x_138 == 0) +{ +x_53 = x_119; +x_54 = x_128; +x_55 = x_129; +x_56 = x_130; +x_57 = x_133; +x_58 = x_123; +x_59 = x_134; +x_60 = x_125; +x_61 = x_137; +x_62 = x_124; +x_63 = x_135; +x_64 = x_120; +x_65 = x_127; +x_66 = x_131; +x_67 = x_136; +x_68 = x_121; +x_69 = x_132; +x_70 = lean_box(0); +goto block_118; } else { -lean_object* x_111; lean_object* x_112; -x_111 = lean_ctor_get(x_72, 0); -lean_inc(x_111); -lean_dec(x_72); -x_112 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_112, 0, x_111); -return x_112; -} -} -} -else -{ -uint8_t x_113; -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_57); -lean_dec(x_56); -lean_dec_ref(x_55); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_113 = !lean_is_exclusive(x_70); -if (x_113 == 0) -{ -return x_70; -} -else -{ -lean_object* x_114; lean_object* x_115; -x_114 = lean_ctor_get(x_70, 0); -lean_inc(x_114); -lean_dec(x_70); -x_115 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_115, 0, x_114); -return x_115; -} -} -} -else -{ -uint8_t x_116; -lean_dec(x_66); -lean_dec_ref(x_65); -lean_dec(x_64); -lean_dec_ref(x_63); -lean_dec(x_62); -lean_dec_ref(x_61); -lean_dec_ref(x_60); -lean_dec(x_57); -lean_dec(x_56); -lean_dec_ref(x_55); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_51); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_116 = !lean_is_exclusive(x_68); -if (x_116 == 0) -{ -return x_68; -} -else -{ -lean_object* x_117; lean_object* x_118; -x_117 = lean_ctor_get(x_68, 0); -lean_inc(x_117); -lean_dec(x_68); -x_118 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_118, 0, x_117); -return x_118; -} -} -} -block_167: -{ -if (x_139 == 0) -{ -x_50 = x_120; -x_51 = x_121; -x_52 = x_122; -x_53 = x_129; -x_54 = x_124; -x_55 = x_131; -x_56 = x_132; -x_57 = x_127; -x_58 = x_136; -x_59 = x_135; -x_60 = x_130; -x_61 = x_125; -x_62 = x_128; -x_63 = x_133; -x_64 = x_134; -x_65 = x_138; -x_66 = x_126; -x_67 = lean_box(0); -goto block_119; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; uint8_t x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_140 = lean_ctor_get(x_138, 0); -x_141 = lean_ctor_get(x_138, 1); -x_142 = lean_ctor_get(x_138, 2); -x_143 = lean_ctor_get(x_138, 3); -x_144 = lean_ctor_get(x_138, 4); -x_145 = lean_ctor_get(x_138, 5); -x_146 = lean_ctor_get(x_138, 6); -x_147 = lean_ctor_get(x_138, 7); -x_148 = lean_ctor_get(x_138, 8); -x_149 = lean_ctor_get(x_138, 9); -x_150 = lean_ctor_get(x_138, 10); -x_151 = lean_ctor_get(x_138, 11); -x_152 = lean_ctor_get_uint8(x_138, sizeof(void*)*14); -x_153 = lean_ctor_get(x_138, 12); -x_154 = lean_ctor_get_uint8(x_138, sizeof(void*)*14 + 1); -x_155 = lean_ctor_get(x_138, 13); -x_156 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3; -lean_inc(x_127); -x_157 = l_Lean_MessageData_ofConstName(x_127, x_137); -x_158 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_158, 0, x_156); -lean_ctor_set(x_158, 1, x_157); -x_159 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1; -x_160 = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(x_160, 0, x_158); -lean_ctor_set(x_160, 1, x_159); -x_161 = l_Lean_replaceRef(x_122, x_145); -lean_inc_ref(x_155); -lean_inc(x_153); -lean_inc(x_151); +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_139 = lean_ctor_get(x_121, 0); +x_140 = lean_ctor_get(x_121, 1); +x_141 = lean_ctor_get(x_121, 2); +x_142 = lean_ctor_get(x_121, 3); +x_143 = lean_ctor_get(x_121, 4); +x_144 = lean_ctor_get(x_121, 5); +x_145 = lean_ctor_get(x_121, 6); +x_146 = lean_ctor_get(x_121, 7); +x_147 = lean_ctor_get(x_121, 8); +x_148 = lean_ctor_get(x_121, 9); +x_149 = lean_ctor_get(x_121, 10); +x_150 = lean_ctor_get(x_121, 11); +x_151 = lean_ctor_get_uint8(x_121, sizeof(void*)*14); +x_152 = lean_ctor_get(x_121, 12); +x_153 = lean_ctor_get_uint8(x_121, sizeof(void*)*14 + 1); +x_154 = lean_ctor_get(x_121, 13); +x_155 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1; +lean_inc(x_130); +x_156 = l_Lean_MessageData_ofConstName(x_130, x_126); +x_157 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +x_158 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3; +x_159 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +x_160 = l_Lean_replaceRef(x_129, x_144); +lean_inc_ref(x_154); +lean_inc(x_152); lean_inc(x_150); lean_inc(x_149); lean_inc(x_148); lean_inc(x_147); lean_inc(x_146); -lean_inc(x_144); +lean_inc(x_145); lean_inc(x_143); -lean_inc_ref(x_142); +lean_inc(x_142); lean_inc_ref(x_141); lean_inc_ref(x_140); -x_162 = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(x_162, 0, x_140); -lean_ctor_set(x_162, 1, x_141); -lean_ctor_set(x_162, 2, x_142); -lean_ctor_set(x_162, 3, x_143); -lean_ctor_set(x_162, 4, x_144); -lean_ctor_set(x_162, 5, x_161); -lean_ctor_set(x_162, 6, x_146); -lean_ctor_set(x_162, 7, x_147); -lean_ctor_set(x_162, 8, x_148); -lean_ctor_set(x_162, 9, x_149); -lean_ctor_set(x_162, 10, x_150); -lean_ctor_set(x_162, 11, x_151); -lean_ctor_set(x_162, 12, x_153); -lean_ctor_set(x_162, 13, x_155); -lean_ctor_set_uint8(x_162, sizeof(void*)*14, x_152); -lean_ctor_set_uint8(x_162, sizeof(void*)*14 + 1, x_154); -lean_inc_ref(x_125); -x_163 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_160, x_125, x_128, x_133, x_134, x_162, x_126); -lean_dec_ref(x_162); -if (lean_obj_tag(x_163) == 0) +lean_inc_ref(x_139); +x_161 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_161, 0, x_139); +lean_ctor_set(x_161, 1, x_140); +lean_ctor_set(x_161, 2, x_141); +lean_ctor_set(x_161, 3, x_142); +lean_ctor_set(x_161, 4, x_143); +lean_ctor_set(x_161, 5, x_160); +lean_ctor_set(x_161, 6, x_145); +lean_ctor_set(x_161, 7, x_146); +lean_ctor_set(x_161, 8, x_147); +lean_ctor_set(x_161, 9, x_148); +lean_ctor_set(x_161, 10, x_149); +lean_ctor_set(x_161, 11, x_150); +lean_ctor_set(x_161, 12, x_152); +lean_ctor_set(x_161, 13, x_154); +lean_ctor_set_uint8(x_161, sizeof(void*)*14, x_151); +lean_ctor_set_uint8(x_161, sizeof(void*)*14 + 1, x_153); +lean_inc_ref(x_120); +x_162 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_159, x_120, x_127, x_131, x_136, x_161, x_132); +lean_dec_ref(x_161); +if (lean_obj_tag(x_162) == 0) { -lean_dec_ref(x_163); -x_50 = x_120; -x_51 = x_121; -x_52 = x_122; -x_53 = x_129; -x_54 = x_124; -x_55 = x_131; -x_56 = x_132; -x_57 = x_127; -x_58 = x_136; -x_59 = x_135; -x_60 = x_130; -x_61 = x_125; -x_62 = x_128; -x_63 = x_133; -x_64 = x_134; -x_65 = x_138; -x_66 = x_126; -x_67 = lean_box(0); -goto block_119; +lean_dec_ref(x_162); +x_53 = x_119; +x_54 = x_128; +x_55 = x_129; +x_56 = x_130; +x_57 = x_133; +x_58 = x_123; +x_59 = x_134; +x_60 = x_125; +x_61 = x_137; +x_62 = x_124; +x_63 = x_135; +x_64 = x_120; +x_65 = x_127; +x_66 = x_131; +x_67 = x_136; +x_68 = x_121; +x_69 = x_132; +x_70 = lean_box(0); +goto block_118; } else { -uint8_t x_164; -lean_dec_ref(x_138); +uint8_t x_163; +lean_dec(x_136); +lean_dec_ref(x_135); +lean_dec(x_134); +lean_dec(x_133); +lean_dec(x_132); +lean_dec_ref(x_131); +lean_dec(x_130); +lean_dec(x_129); +lean_dec(x_128); +lean_dec(x_127); +lean_dec(x_125); +lean_dec_ref(x_124); +lean_dec_ref(x_121); +lean_dec_ref(x_120); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_163 = !lean_is_exclusive(x_162); +if (x_163 == 0) +{ +return x_162; +} +else +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_162, 0); +lean_inc(x_164); +lean_dec(x_162); +x_165 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_165, 0, x_164); +return x_165; +} +} +} +} +block_191: +{ +lean_object* x_186; uint8_t x_187; +x_186 = lean_array_get_size(x_178); +x_187 = lean_nat_dec_lt(x_1, x_186); +if (x_187 == 0) +{ +x_119 = x_167; +x_120 = x_179; +x_121 = x_183; +x_122 = lean_box(0); +x_123 = x_173; +x_124 = x_174; +x_125 = x_176; +x_126 = x_168; +x_127 = x_180; +x_128 = x_170; +x_129 = x_169; +x_130 = x_177; +x_131 = x_181; +x_132 = x_184; +x_133 = x_171; +x_134 = x_172; +x_135 = x_178; +x_136 = x_182; +x_137 = x_175; +x_138 = x_168; +goto block_166; +} +else +{ +if (x_187 == 0) +{ +x_119 = x_167; +x_120 = x_179; +x_121 = x_183; +x_122 = lean_box(0); +x_123 = x_173; +x_124 = x_174; +x_125 = x_176; +x_126 = x_168; +x_127 = x_180; +x_128 = x_170; +x_129 = x_169; +x_130 = x_177; +x_131 = x_181; +x_132 = x_184; +x_133 = x_171; +x_134 = x_172; +x_135 = x_178; +x_136 = x_182; +x_137 = x_175; +x_138 = x_168; +goto block_166; +} +else +{ +size_t x_188; size_t x_189; uint8_t x_190; +x_188 = 0; +x_189 = lean_usize_of_nat(x_186); +x_190 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6(x_177, x_178, x_188, x_189); +x_119 = x_167; +x_120 = x_179; +x_121 = x_183; +x_122 = lean_box(0); +x_123 = x_173; +x_124 = x_174; +x_125 = x_176; +x_126 = x_168; +x_127 = x_180; +x_128 = x_170; +x_129 = x_169; +x_130 = x_177; +x_131 = x_181; +x_132 = x_184; +x_133 = x_171; +x_134 = x_172; +x_135 = x_178; +x_136 = x_182; +x_137 = x_175; +x_138 = x_190; +goto block_166; +} +} +} +block_213: +{ +lean_object* x_212; +x_212 = l_Lean_mkPrivateName(x_194, x_207); +lean_dec_ref(x_194); +x_167 = x_192; +x_168 = x_201; +x_169 = x_202; +x_170 = x_203; +x_171 = x_205; +x_172 = x_208; +x_173 = x_195; +x_174 = x_199; +x_175 = x_211; +x_176 = x_198; +x_177 = x_212; +x_178 = x_209; +x_179 = x_196; +x_180 = x_193; +x_181 = x_197; +x_182 = x_204; +x_183 = x_210; +x_184 = x_200; +x_185 = lean_box(0); +goto block_191; +} +block_239: +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; lean_object* x_237; +x_233 = lean_st_ref_get(x_222); +x_234 = lean_ctor_get(x_233, 0); +lean_inc_ref(x_234); +lean_dec(x_233); +x_235 = l_Lean_Environment_header(x_234); +x_236 = lean_ctor_get_uint8(x_235, sizeof(void*)*7 + 4); +lean_dec_ref(x_235); +lean_inc(x_230); +x_237 = l_Lean_Name_append(x_232, x_230); +if (x_236 == 0) +{ +lean_dec_ref(x_234); +x_167 = x_214; +x_168 = x_223; +x_169 = x_224; +x_170 = x_225; +x_171 = x_227; +x_172 = x_230; +x_173 = x_217; +x_174 = x_220; +x_175 = x_231; +x_176 = x_221; +x_177 = x_237; +x_178 = x_229; +x_179 = x_218; +x_180 = x_216; +x_181 = x_219; +x_182 = x_226; +x_183 = x_228; +x_184 = x_222; +x_185 = lean_box(0); +goto block_191; +} +else +{ +uint8_t x_238; +x_238 = lean_ctor_get_uint8(x_234, sizeof(void*)*8); +if (x_238 == 0) +{ +x_192 = x_214; +x_193 = x_216; +x_194 = x_234; +x_195 = x_217; +x_196 = x_218; +x_197 = x_219; +x_198 = x_221; +x_199 = x_220; +x_200 = x_222; +x_201 = x_223; +x_202 = x_224; +x_203 = x_225; +x_204 = x_226; +x_205 = x_227; +x_206 = lean_box(0); +x_207 = x_237; +x_208 = x_230; +x_209 = x_229; +x_210 = x_228; +x_211 = x_231; +goto block_213; +} +else +{ +if (x_223 == 0) +{ +lean_dec_ref(x_234); +x_167 = x_214; +x_168 = x_223; +x_169 = x_224; +x_170 = x_225; +x_171 = x_227; +x_172 = x_230; +x_173 = x_217; +x_174 = x_220; +x_175 = x_231; +x_176 = x_221; +x_177 = x_237; +x_178 = x_229; +x_179 = x_218; +x_180 = x_216; +x_181 = x_219; +x_182 = x_226; +x_183 = x_228; +x_184 = x_222; +x_185 = lean_box(0); +goto block_191; +} +else +{ +x_192 = x_214; +x_193 = x_216; +x_194 = x_234; +x_195 = x_217; +x_196 = x_218; +x_197 = x_219; +x_198 = x_221; +x_199 = x_220; +x_200 = x_222; +x_201 = x_223; +x_202 = x_224; +x_203 = x_225; +x_204 = x_226; +x_205 = x_227; +x_206 = lean_box(0); +x_207 = x_237; +x_208 = x_230; +x_209 = x_229; +x_210 = x_228; +x_211 = x_231; +goto block_213; +} +} +} +} +block_264: +{ +lean_object* x_256; +x_256 = l_Lean_Elab_Term_getDeclName_x3f___redArg(x_249); +if (lean_obj_tag(x_256) == 0) +{ +lean_object* x_257; lean_object* x_258; +x_257 = lean_ctor_get(x_256, 0); +lean_inc(x_257); +lean_dec_ref(x_256); +x_258 = l_Lean_Syntax_getId(x_242); +if (lean_obj_tag(x_257) == 0) +{ +lean_object* x_259; +x_259 = lean_box(0); +x_214 = x_240; +x_215 = lean_box(0); +x_216 = x_250; +x_217 = x_244; +x_218 = x_249; +x_219 = x_251; +x_220 = x_247; +x_221 = x_246; +x_222 = x_254; +x_223 = x_241; +x_224 = x_242; +x_225 = x_257; +x_226 = x_252; +x_227 = x_243; +x_228 = x_253; +x_229 = x_248; +x_230 = x_258; +x_231 = x_245; +x_232 = x_259; +goto block_239; +} +else +{ +lean_object* x_260; +x_260 = lean_ctor_get(x_257, 0); +lean_inc(x_260); +x_214 = x_240; +x_215 = lean_box(0); +x_216 = x_250; +x_217 = x_244; +x_218 = x_249; +x_219 = x_251; +x_220 = x_247; +x_221 = x_246; +x_222 = x_254; +x_223 = x_241; +x_224 = x_242; +x_225 = x_257; +x_226 = x_252; +x_227 = x_243; +x_228 = x_253; +x_229 = x_248; +x_230 = x_258; +x_231 = x_245; +x_232 = x_260; +goto block_239; +} +} +else +{ +uint8_t x_261; +lean_dec(x_254); +lean_dec_ref(x_253); +lean_dec(x_252); +lean_dec_ref(x_251); +lean_dec(x_250); +lean_dec_ref(x_249); +lean_dec_ref(x_248); +lean_dec_ref(x_247); +lean_dec(x_246); +lean_dec(x_243); +lean_dec(x_242); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_261 = !lean_is_exclusive(x_256); +if (x_261 == 0) +{ +return x_256; +} +else +{ +lean_object* x_262; lean_object* x_263; +x_262 = lean_ctor_get(x_256, 0); +lean_inc(x_262); +lean_dec(x_256); +x_263 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_263, 0, x_262); +return x_263; +} +} +} +block_288: +{ +lean_object* x_280; lean_object* x_281; uint8_t x_282; +x_280 = l_Lean_Syntax_getArg(x_276, x_1); +x_281 = l_Lean_Syntax_getArg(x_280, x_1); +lean_dec(x_280); +x_282 = l_Lean_Syntax_isIdent(x_281); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; +x_283 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__1; +lean_inc_ref(x_267); +lean_inc_ref(x_266); +x_284 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_281, x_283, x_266, x_269, x_277, x_268, x_267, x_274); +if (lean_obj_tag(x_284) == 0) +{ +lean_dec_ref(x_284); +x_240 = x_265; +x_241 = x_273; +x_242 = x_281; +x_243 = x_276; +x_244 = x_270; +x_245 = x_279; +x_246 = x_271; +x_247 = x_272; +x_248 = x_278; +x_249 = x_266; +x_250 = x_269; +x_251 = x_277; +x_252 = x_268; +x_253 = x_267; +x_254 = x_274; +x_255 = lean_box(0); +goto block_264; +} +else +{ +uint8_t x_285; +lean_dec(x_281); +lean_dec_ref(x_278); +lean_dec_ref(x_277); +lean_dec(x_276); +lean_dec(x_274); +lean_dec_ref(x_272); +lean_dec(x_271); +lean_dec(x_269); +lean_dec(x_268); +lean_dec_ref(x_267); +lean_dec_ref(x_266); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_285 = !lean_is_exclusive(x_284); +if (x_285 == 0) +{ +return x_284; +} +else +{ +lean_object* x_286; lean_object* x_287; +x_286 = lean_ctor_get(x_284, 0); +lean_inc(x_286); +lean_dec(x_284); +x_287 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_287, 0, x_286); +return x_287; +} +} +} +else +{ +x_240 = x_265; +x_241 = x_273; +x_242 = x_281; +x_243 = x_276; +x_244 = x_270; +x_245 = x_279; +x_246 = x_271; +x_247 = x_272; +x_248 = x_278; +x_249 = x_266; +x_250 = x_269; +x_251 = x_277; +x_252 = x_268; +x_253 = x_267; +x_254 = x_274; +x_255 = lean_box(0); +goto block_264; +} +} +block_317: +{ +lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; +x_299 = lean_unsigned_to_nat(2u); +x_300 = l_Lean_Syntax_getArg(x_23, x_299); +x_301 = l_Lean_Syntax_getArg(x_300, x_1); +lean_dec(x_300); +x_302 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__3; +lean_inc(x_301); +x_303 = l_Lean_Syntax_isOfKind(x_301, x_302); +if (x_303 == 0) +{ +lean_object* x_304; uint8_t x_305; +x_304 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__5; +lean_inc(x_301); +x_305 = l_Lean_Syntax_isOfKind(x_301, x_304); +if (x_305 == 0) +{ +lean_object* x_306; uint8_t x_307; +x_306 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__7; +lean_inc(x_301); +x_307 = l_Lean_Syntax_isOfKind(x_301, x_306); +if (x_307 == 0) +{ +lean_object* x_308; +lean_dec(x_301); +lean_dec(x_297); +lean_dec_ref(x_296); +lean_dec(x_295); +lean_dec_ref(x_294); +lean_dec(x_293); +lean_dec_ref(x_292); +lean_dec_ref(x_291); +lean_dec(x_289); +lean_dec(x_23); +x_308 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg(); +if (lean_obj_tag(x_308) == 0) +{ +lean_dec_ref(x_308); +x_15 = x_290; +x_16 = lean_box(0); +goto block_20; +} +else +{ +uint8_t x_309; +lean_dec_ref(x_290); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_309 = !lean_is_exclusive(x_308); +if (x_309 == 0) +{ +return x_308; +} +else +{ +lean_object* x_310; lean_object* x_311; +x_310 = lean_ctor_get(x_308, 0); +lean_inc(x_310); +lean_dec(x_308); +x_311 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_311, 0, x_310); +return x_311; +} +} +} +else +{ +x_265 = x_303; +x_266 = x_292; +x_267 = x_296; +x_268 = x_295; +x_269 = x_293; +x_270 = x_305; +x_271 = x_289; +x_272 = x_291; +x_273 = x_303; +x_274 = x_297; +x_275 = lean_box(0); +x_276 = x_301; +x_277 = x_294; +x_278 = x_290; +x_279 = x_299; +goto block_288; +} +} +else +{ +x_265 = x_303; +x_266 = x_292; +x_267 = x_296; +x_268 = x_295; +x_269 = x_293; +x_270 = x_305; +x_271 = x_289; +x_272 = x_291; +x_273 = x_303; +x_274 = x_297; +x_275 = lean_box(0); +x_276 = x_301; +x_277 = x_294; +x_278 = x_290; +x_279 = x_299; +goto block_288; +} +} +else +{ +lean_object* x_312; lean_object* x_313; +lean_dec_ref(x_291); +lean_dec(x_289); +lean_dec(x_23); +x_312 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__9; +x_313 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_301, x_312, x_292, x_293, x_294, x_295, x_296, x_297); +lean_dec(x_297); +lean_dec(x_295); +lean_dec_ref(x_294); +lean_dec(x_293); +lean_dec(x_301); +if (lean_obj_tag(x_313) == 0) +{ +lean_dec_ref(x_313); +x_15 = x_290; +x_16 = lean_box(0); +goto block_20; +} +else +{ +uint8_t x_314; +lean_dec_ref(x_290); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_314 = !lean_is_exclusive(x_313); +if (x_314 == 0) +{ +return x_313; +} +else +{ +lean_object* x_315; lean_object* x_316; +x_315 = lean_ctor_get(x_313, 0); +lean_inc(x_315); +lean_dec(x_313); +x_316 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_316, 0, x_315); +return x_316; +} +} +} +} +block_328: +{ +lean_object* x_319; uint8_t x_320; +x_319 = l_Lean_Syntax_getArg(x_23, x_2); +x_320 = l_Lean_Syntax_isNone(x_319); +if (x_320 == 0) +{ +lean_object* x_321; lean_object* x_322; +x_321 = l_Lean_Syntax_getArg(x_319, x_1); +lean_dec(x_319); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_322 = l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9(x_321, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_321); +if (lean_obj_tag(x_322) == 0) +{ +lean_object* x_323; +x_323 = lean_ctor_get(x_322, 0); +lean_inc(x_323); +lean_dec_ref(x_322); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_289 = x_318; +x_290 = x_7; +x_291 = x_323; +x_292 = x_8; +x_293 = x_9; +x_294 = x_10; +x_295 = x_11; +x_296 = x_12; +x_297 = x_13; +x_298 = lean_box(0); +goto block_317; +} +else +{ +uint8_t x_324; +lean_dec(x_318); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_7); +x_324 = !lean_is_exclusive(x_322); +if (x_324 == 0) +{ +return x_322; +} +else +{ +lean_object* x_325; lean_object* x_326; +x_325 = lean_ctor_get(x_322, 0); +lean_inc(x_325); +lean_dec(x_322); +x_326 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_326, 0, x_325); +return x_326; +} +} +} +else +{ +lean_object* x_327; +lean_dec(x_319); +x_327 = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23___closed__0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_289 = x_318; +x_290 = x_7; +x_291 = x_327; +x_292 = x_8; +x_293 = x_9; +x_294 = x_10; +x_295 = x_11; +x_296 = x_12; +x_297 = x_13; +x_298 = lean_box(0); +goto block_317; +} +} +} +block_20: +{ +size_t x_17; size_t x_18; +x_17 = 1; +x_18 = lean_usize_add(x_6, x_17); +x_6 = x_18; +x_7 = x_15; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_15 = lean_unbox(x_3); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25(x_1, x_2, x_15, x_4, x_16, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_18; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_15; lean_object* x_16; uint8_t x_21; +x_21 = lean_usize_dec_lt(x_6, x_5); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_22 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_22, 0, x_7); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; 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; uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; uint8_t x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; uint8_t x_240; uint8_t x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; uint8_t x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; uint8_t x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; lean_object* x_279; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_318; lean_object* x_329; lean_object* x_330; +x_23 = lean_array_uget(x_4, x_6); +x_329 = l_Lean_Syntax_getArg(x_23, x_1); +x_330 = l_Lean_Syntax_getOptional_x3f(x_329); +lean_dec(x_329); +if (lean_obj_tag(x_330) == 0) +{ +lean_object* x_331; +x_331 = lean_box(0); +x_318 = x_331; +goto block_328; +} +else +{ +uint8_t x_332; +x_332 = !lean_is_exclusive(x_330); +if (x_332 == 0) +{ +lean_object* x_333; lean_object* x_334; lean_object* x_335; +x_333 = lean_ctor_get(x_330, 0); +x_334 = lean_box(x_3); +x_335 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_335, 0, x_333); +lean_ctor_set(x_335, 1, x_334); +lean_ctor_set(x_330, 0, x_335); +x_318 = x_330; +goto block_328; +} +else +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_336 = lean_ctor_get(x_330, 0); +lean_inc(x_336); +lean_dec(x_330); +x_337 = lean_box(x_3); +x_338 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_338, 0, x_336); +lean_ctor_set(x_338, 1, x_337); +x_339 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_339, 0, x_338); +x_318 = x_339; +goto block_328; +} +} +block_52: +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_unsigned_to_nat(3u); +x_44 = l_Lean_Syntax_getArg(x_23, x_43); +lean_dec(x_23); +x_45 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3(x_44, x_36, x_37, x_38, x_39, x_40, x_41); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +lean_dec_ref(x_45); +x_47 = lean_alloc_ctor(0, 12, 0); +lean_ctor_set(x_47, 0, x_30); +lean_ctor_set(x_47, 1, x_26); +lean_ctor_set(x_47, 2, x_33); +lean_ctor_set(x_47, 3, x_32); +lean_ctor_set(x_47, 4, x_29); +lean_ctor_set(x_47, 5, x_25); +lean_ctor_set(x_47, 6, x_31); +lean_ctor_set(x_47, 7, x_28); +lean_ctor_set(x_47, 8, x_27); +lean_ctor_set(x_47, 9, x_35); +lean_ctor_set(x_47, 10, x_46); +lean_ctor_set(x_47, 11, x_24); +x_48 = lean_array_push(x_34, x_47); +x_15 = x_48; +x_16 = lean_box(0); +goto block_20; +} +else +{ +uint8_t x_49; +lean_dec(x_35); +lean_dec_ref(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_29); +lean_dec_ref(x_28); +lean_dec_ref(x_27); +lean_dec_ref(x_26); +lean_dec_ref(x_25); +lean_dec(x_24); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_49 = !lean_is_exclusive(x_45); +if (x_49 == 0) +{ +return x_45; +} +else +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_45, 0); +lean_inc(x_50); +lean_dec(x_45); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_50); +return x_51; +} +} +} +block_118: +{ +lean_object* x_71; +lean_inc(x_69); +lean_inc_ref(x_68); +lean_inc(x_67); +lean_inc_ref(x_66); +lean_inc(x_65); +lean_inc_ref(x_64); +lean_inc(x_60); +x_71 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1(x_60, x_64, x_65, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_71) == 0) +{ +uint8_t x_72; lean_object* x_73; +lean_dec_ref(x_71); +x_72 = 2; +lean_inc(x_69); +lean_inc_ref(x_68); +lean_inc(x_67); +lean_inc_ref(x_66); +lean_inc(x_65); +lean_inc_ref(x_64); +lean_inc_ref(x_55); +lean_inc(x_60); +x_73 = l_Lean_Elab_Term_applyAttributesAt(x_60, x_55, x_72, x_64, x_65, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; +lean_dec_ref(x_73); +lean_inc_ref(x_68); +lean_inc(x_60); +x_74 = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2(x_60, x_58, x_57, x_64, x_65, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_74) == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; +lean_dec_ref(x_74); +x_75 = l_Lean_Syntax_getArg(x_58, x_2); +x_76 = l_Lean_Syntax_getArgs(x_75); +x_77 = l_Lean_Syntax_getArg(x_58, x_62); +x_78 = l_Lean_Elab_Term_expandOptType(x_57, x_77); +lean_dec(x_77); +x_79 = lean_box(x_53); +x_80 = lean_box(x_21); +x_81 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___boxed), 11, 3); +lean_closure_set(x_81, 0, x_78); +lean_closure_set(x_81, 1, x_79); +lean_closure_set(x_81, 2, x_80); +lean_inc(x_69); +lean_inc_ref(x_68); +lean_inc(x_67); +lean_inc_ref(x_66); +lean_inc(x_65); +lean_inc_ref(x_64); +x_82 = l_Lean_Elab_Term_elabBindersEx___redArg(x_76, x_81, x_64, x_65, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_82) == 0) +{ +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; +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +lean_dec_ref(x_82); +x_84 = lean_ctor_get(x_83, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +lean_inc(x_84); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_84); +x_87 = 2; +x_88 = lean_box(0); +lean_inc_ref(x_66); +x_89 = l_Lean_Meta_mkFreshExprMVar(x_86, x_87, x_88, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_89) == 0) +{ +if (x_59 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_90 = lean_ctor_get(x_89, 0); +lean_inc(x_90); +lean_dec_ref(x_89); +x_91 = lean_unsigned_to_nat(3u); +x_92 = l_Lean_Syntax_getArg(x_58, x_91); +x_93 = lean_box(x_21); +x_94 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandMatchAltsIntoMatch___boxed), 5, 3); +lean_closure_set(x_94, 0, x_58); +lean_closure_set(x_94, 1, x_92); +lean_closure_set(x_94, 2, x_93); +lean_inc_ref(x_68); +lean_inc_ref(x_64); +x_95 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_94, x_64, x_65, x_66, x_67, x_68, x_69); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +lean_dec_ref(x_95); +x_24 = x_54; +x_25 = x_85; +x_26 = x_55; +x_27 = x_90; +x_28 = x_84; +x_29 = x_56; +x_30 = x_57; +x_31 = x_75; +x_32 = x_60; +x_33 = x_61; +x_34 = x_63; +x_35 = x_96; +x_36 = x_64; +x_37 = x_65; +x_38 = x_66; +x_39 = x_67; +x_40 = x_68; +x_41 = x_69; +x_42 = lean_box(0); +goto block_52; +} +else +{ +uint8_t x_97; +lean_dec(x_90); +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_75); +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_57); +lean_dec(x_56); +lean_dec_ref(x_55); +lean_dec(x_54); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_97 = !lean_is_exclusive(x_95); +if (x_97 == 0) +{ +return x_95; +} +else +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_95, 0); +lean_inc(x_98); +lean_dec(x_95); +x_99 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_99, 0, x_98); +return x_99; +} +} +} +else +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_89, 0); +lean_inc(x_100); +lean_dec_ref(x_89); +x_101 = lean_unsigned_to_nat(4u); +x_102 = l_Lean_Syntax_getArg(x_58, x_101); +lean_dec(x_58); +x_24 = x_54; +x_25 = x_85; +x_26 = x_55; +x_27 = x_100; +x_28 = x_84; +x_29 = x_56; +x_30 = x_57; +x_31 = x_75; +x_32 = x_60; +x_33 = x_61; +x_34 = x_63; +x_35 = x_102; +x_36 = x_64; +x_37 = x_65; +x_38 = x_66; +x_39 = x_67; +x_40 = x_68; +x_41 = x_69; +x_42 = lean_box(0); +goto block_52; +} +} +else +{ +uint8_t x_103; +lean_dec(x_85); +lean_dec(x_84); +lean_dec(x_75); +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_58); +lean_dec(x_57); +lean_dec(x_56); +lean_dec_ref(x_55); +lean_dec(x_54); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_103 = !lean_is_exclusive(x_89); +if (x_103 == 0) +{ +return x_89; +} +else +{ +lean_object* x_104; lean_object* x_105; +x_104 = lean_ctor_get(x_89, 0); +lean_inc(x_104); +lean_dec(x_89); +x_105 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_105, 0, x_104); +return x_105; +} +} +} +else +{ +uint8_t x_106; +lean_dec(x_75); +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_58); +lean_dec(x_57); +lean_dec(x_56); +lean_dec_ref(x_55); +lean_dec(x_54); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_106 = !lean_is_exclusive(x_82); +if (x_106 == 0) +{ +return x_82; +} +else +{ +lean_object* x_107; lean_object* x_108; +x_107 = lean_ctor_get(x_82, 0); +lean_inc(x_107); +lean_dec(x_82); +x_108 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_108, 0, x_107); +return x_108; +} +} +} +else +{ +uint8_t x_109; +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_58); +lean_dec(x_57); +lean_dec(x_56); +lean_dec_ref(x_55); +lean_dec(x_54); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_109 = !lean_is_exclusive(x_74); +if (x_109 == 0) +{ +return x_74; +} +else +{ +lean_object* x_110; lean_object* x_111; +x_110 = lean_ctor_get(x_74, 0); +lean_inc(x_110); +lean_dec(x_74); +x_111 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_111, 0, x_110); +return x_111; +} +} +} +else +{ +uint8_t x_112; +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_58); +lean_dec(x_57); +lean_dec(x_56); +lean_dec_ref(x_55); +lean_dec(x_54); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_112 = !lean_is_exclusive(x_73); +if (x_112 == 0) +{ +return x_73; +} +else +{ +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_73, 0); +lean_inc(x_113); +lean_dec(x_73); +x_114 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_114, 0, x_113); +return x_114; +} +} +} +else +{ +uint8_t x_115; +lean_dec(x_69); +lean_dec_ref(x_68); +lean_dec(x_67); +lean_dec_ref(x_66); +lean_dec(x_65); +lean_dec_ref(x_64); +lean_dec_ref(x_63); +lean_dec(x_61); +lean_dec(x_60); +lean_dec(x_58); +lean_dec(x_57); +lean_dec(x_56); +lean_dec_ref(x_55); +lean_dec(x_54); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_115 = !lean_is_exclusive(x_71); +if (x_115 == 0) +{ +return x_71; +} +else +{ +lean_object* x_116; lean_object* x_117; +x_116 = lean_ctor_get(x_71, 0); +lean_inc(x_116); +lean_dec(x_71); +x_117 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_117, 0, x_116); +return x_117; +} +} +} +block_166: +{ +if (x_138 == 0) +{ +x_53 = x_119; +x_54 = x_124; +x_55 = x_125; +x_56 = x_127; +x_57 = x_128; +x_58 = x_132; +x_59 = x_135; +x_60 = x_122; +x_61 = x_137; +x_62 = x_136; +x_63 = x_133; +x_64 = x_129; +x_65 = x_134; +x_66 = x_131; +x_67 = x_120; +x_68 = x_130; +x_69 = x_121; +x_70 = lean_box(0); +goto block_118; +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_139 = lean_ctor_get(x_130, 0); +x_140 = lean_ctor_get(x_130, 1); +x_141 = lean_ctor_get(x_130, 2); +x_142 = lean_ctor_get(x_130, 3); +x_143 = lean_ctor_get(x_130, 4); +x_144 = lean_ctor_get(x_130, 5); +x_145 = lean_ctor_get(x_130, 6); +x_146 = lean_ctor_get(x_130, 7); +x_147 = lean_ctor_get(x_130, 8); +x_148 = lean_ctor_get(x_130, 9); +x_149 = lean_ctor_get(x_130, 10); +x_150 = lean_ctor_get(x_130, 11); +x_151 = lean_ctor_get_uint8(x_130, sizeof(void*)*14); +x_152 = lean_ctor_get(x_130, 12); +x_153 = lean_ctor_get_uint8(x_130, sizeof(void*)*14 + 1); +x_154 = lean_ctor_get(x_130, 13); +x_155 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1; +lean_inc(x_122); +x_156 = l_Lean_MessageData_ofConstName(x_122, x_123); +x_157 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_157, 0, x_155); +lean_ctor_set(x_157, 1, x_156); +x_158 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3; +x_159 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +x_160 = l_Lean_replaceRef(x_128, x_144); +lean_inc_ref(x_154); +lean_inc(x_152); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_inc(x_147); +lean_inc(x_146); +lean_inc(x_145); +lean_inc(x_143); +lean_inc(x_142); +lean_inc_ref(x_141); +lean_inc_ref(x_140); +lean_inc_ref(x_139); +x_161 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_161, 0, x_139); +lean_ctor_set(x_161, 1, x_140); +lean_ctor_set(x_161, 2, x_141); +lean_ctor_set(x_161, 3, x_142); +lean_ctor_set(x_161, 4, x_143); +lean_ctor_set(x_161, 5, x_160); +lean_ctor_set(x_161, 6, x_145); +lean_ctor_set(x_161, 7, x_146); +lean_ctor_set(x_161, 8, x_147); +lean_ctor_set(x_161, 9, x_148); +lean_ctor_set(x_161, 10, x_149); +lean_ctor_set(x_161, 11, x_150); +lean_ctor_set(x_161, 12, x_152); +lean_ctor_set(x_161, 13, x_154); +lean_ctor_set_uint8(x_161, sizeof(void*)*14, x_151); +lean_ctor_set_uint8(x_161, sizeof(void*)*14 + 1, x_153); +lean_inc_ref(x_129); +x_162 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_159, x_129, x_134, x_131, x_120, x_161, x_121); +lean_dec_ref(x_161); +if (lean_obj_tag(x_162) == 0) +{ +lean_dec_ref(x_162); +x_53 = x_119; +x_54 = x_124; +x_55 = x_125; +x_56 = x_127; +x_57 = x_128; +x_58 = x_132; +x_59 = x_135; +x_60 = x_122; +x_61 = x_137; +x_62 = x_136; +x_63 = x_133; +x_64 = x_129; +x_65 = x_134; +x_66 = x_131; +x_67 = x_120; +x_68 = x_130; +x_69 = x_121; +x_70 = lean_box(0); +goto block_118; +} +else +{ +uint8_t x_163; +lean_dec(x_137); lean_dec(x_134); lean_dec_ref(x_133); lean_dec(x_132); lean_dec_ref(x_131); lean_dec_ref(x_130); -lean_dec(x_129); +lean_dec_ref(x_129); lean_dec(x_128); lean_dec(x_127); -lean_dec(x_126); lean_dec_ref(x_125); lean_dec(x_124); lean_dec(x_122); lean_dec(x_121); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_164 = !lean_is_exclusive(x_163); -if (x_164 == 0) +lean_dec(x_120); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_163 = !lean_is_exclusive(x_162); +if (x_163 == 0) { -return x_163; +return x_162; } else { -lean_object* x_165; lean_object* x_166; -x_165 = lean_ctor_get(x_163, 0); -lean_inc(x_165); -lean_dec(x_163); -x_166 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_166, 0, x_165); -return x_166; +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_162, 0); +lean_inc(x_164); +lean_dec(x_162); +x_165 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_165, 0, x_164); +return x_165; } } } } -block_193: +block_191: { -lean_object* x_187; lean_object* x_188; uint8_t x_189; -lean_inc(x_171); -x_187 = l_Lean_Name_append(x_186, x_171); -x_188 = lean_array_get_size(x_178); -x_189 = lean_nat_dec_lt(x_1, x_188); -if (x_189 == 0) +lean_object* x_186; uint8_t x_187; +x_186 = lean_array_get_size(x_178); +x_187 = lean_nat_dec_lt(x_1, x_186); +if (x_187 == 0) { -x_120 = x_168; -x_121 = x_169; -x_122 = x_170; -x_123 = lean_box(0); -x_124 = x_171; -x_125 = x_173; -x_126 = x_174; -x_127 = x_187; -x_128 = x_175; -x_129 = x_176; -x_130 = x_178; -x_131 = x_177; -x_132 = x_179; -x_133 = x_181; +x_119 = x_167; +x_120 = x_182; +x_121 = x_184; +x_122 = x_177; +x_123 = x_168; +x_124 = x_169; +x_125 = x_170; +x_126 = lean_box(0); +x_127 = x_172; +x_128 = x_171; +x_129 = x_179; +x_130 = x_183; +x_131 = x_181; +x_132 = x_173; +x_133 = x_178; x_134 = x_180; -x_135 = x_183; -x_136 = x_182; -x_137 = x_184; -x_138 = x_185; -x_139 = x_184; -goto block_167; +x_135 = x_174; +x_136 = x_175; +x_137 = x_176; +x_138 = x_168; +goto block_166; } else { -if (x_189 == 0) +if (x_187 == 0) { -x_120 = x_168; -x_121 = x_169; -x_122 = x_170; -x_123 = lean_box(0); -x_124 = x_171; -x_125 = x_173; -x_126 = x_174; -x_127 = x_187; -x_128 = x_175; -x_129 = x_176; -x_130 = x_178; -x_131 = x_177; -x_132 = x_179; -x_133 = x_181; +x_119 = x_167; +x_120 = x_182; +x_121 = x_184; +x_122 = x_177; +x_123 = x_168; +x_124 = x_169; +x_125 = x_170; +x_126 = lean_box(0); +x_127 = x_172; +x_128 = x_171; +x_129 = x_179; +x_130 = x_183; +x_131 = x_181; +x_132 = x_173; +x_133 = x_178; x_134 = x_180; -x_135 = x_183; -x_136 = x_182; -x_137 = x_184; -x_138 = x_185; -x_139 = x_184; -goto block_167; +x_135 = x_174; +x_136 = x_175; +x_137 = x_176; +x_138 = x_168; +goto block_166; } else { -size_t x_190; size_t x_191; uint8_t x_192; -x_190 = 0; -x_191 = lean_usize_of_nat(x_188); -x_192 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5(x_187, x_178, x_190, x_191); -x_120 = x_168; -x_121 = x_169; -x_122 = x_170; -x_123 = lean_box(0); -x_124 = x_171; -x_125 = x_173; -x_126 = x_174; -x_127 = x_187; -x_128 = x_175; -x_129 = x_176; -x_130 = x_178; -x_131 = x_177; -x_132 = x_179; -x_133 = x_181; +size_t x_188; size_t x_189; uint8_t x_190; +x_188 = 0; +x_189 = lean_usize_of_nat(x_186); +x_190 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6(x_177, x_178, x_188, x_189); +x_119 = x_167; +x_120 = x_182; +x_121 = x_184; +x_122 = x_177; +x_123 = x_168; +x_124 = x_169; +x_125 = x_170; +x_126 = lean_box(0); +x_127 = x_172; +x_128 = x_171; +x_129 = x_179; +x_130 = x_183; +x_131 = x_181; +x_132 = x_173; +x_133 = x_178; x_134 = x_180; -x_135 = x_183; -x_136 = x_182; -x_137 = x_184; -x_138 = x_185; -x_139 = x_192; -goto block_167; +x_135 = x_174; +x_136 = x_175; +x_137 = x_176; +x_138 = x_190; +goto block_166; } } } -block_218: +block_213: { -lean_object* x_210; -x_210 = l_Lean_Elab_Term_getDeclName_x3f___redArg(x_203); -if (lean_obj_tag(x_210) == 0) -{ -lean_object* x_211; lean_object* x_212; -x_211 = lean_ctor_get(x_210, 0); -lean_inc(x_211); -lean_dec_ref(x_210); -x_212 = l_Lean_Syntax_getId(x_197); -if (lean_obj_tag(x_211) == 0) -{ -lean_object* x_213; -x_213 = lean_box(0); -x_168 = x_194; -x_169 = x_195; -x_170 = x_197; -x_171 = x_212; -x_172 = lean_box(0); -x_173 = x_203; +lean_object* x_212; +x_212 = l_Lean_mkPrivateName(x_193, x_196); +lean_dec_ref(x_193); +x_167 = x_192; +x_168 = x_200; +x_169 = x_201; +x_170 = x_202; +x_171 = x_204; +x_172 = x_203; +x_173 = x_207; x_174 = x_208; -x_175 = x_204; -x_176 = x_196; -x_177 = x_198; -x_178 = x_202; -x_179 = x_211; -x_180 = x_206; -x_181 = x_205; -x_182 = x_200; -x_183 = x_199; -x_184 = x_201; -x_185 = x_207; -x_186 = x_213; -goto block_193; +x_175 = x_210; +x_176 = x_209; +x_177 = x_212; +x_178 = x_198; +x_179 = x_206; +x_180 = x_205; +x_181 = x_199; +x_182 = x_195; +x_183 = x_197; +x_184 = x_194; +x_185 = lean_box(0); +goto block_191; } -else +block_239: { -lean_object* x_214; -x_214 = lean_ctor_get(x_211, 0); -lean_inc(x_214); -x_168 = x_194; -x_169 = x_195; -x_170 = x_197; -x_171 = x_212; -x_172 = lean_box(0); -x_173 = x_203; -x_174 = x_208; -x_175 = x_204; -x_176 = x_196; -x_177 = x_198; -x_178 = x_202; -x_179 = x_211; -x_180 = x_206; -x_181 = x_205; -x_182 = x_200; -x_183 = x_199; -x_184 = x_201; -x_185 = x_207; -x_186 = x_214; -goto block_193; -} -} -else -{ -uint8_t x_215; -lean_dec(x_208); -lean_dec_ref(x_207); -lean_dec(x_206); -lean_dec_ref(x_205); -lean_dec(x_204); -lean_dec_ref(x_203); -lean_dec_ref(x_202); -lean_dec_ref(x_198); -lean_dec(x_197); -lean_dec(x_196); -lean_dec(x_195); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_215 = !lean_is_exclusive(x_210); -if (x_215 == 0) -{ -return x_210; -} -else -{ -lean_object* x_216; lean_object* x_217; -x_216 = lean_ctor_get(x_210, 0); -lean_inc(x_216); -lean_dec(x_210); -x_217 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_217, 0, x_216); -return x_217; -} -} -} -block_242: -{ -lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_234 = l_Lean_Syntax_getArg(x_226, x_1); -x_235 = l_Lean_Syntax_getArg(x_234, x_1); -lean_dec(x_234); -x_236 = l_Lean_Syntax_isIdent(x_235); +lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; lean_object* x_237; +x_233 = lean_st_ref_get(x_215); +x_234 = lean_ctor_get(x_233, 0); +lean_inc_ref(x_234); +lean_dec(x_233); +x_235 = l_Lean_Environment_header(x_234); +x_236 = lean_ctor_get_uint8(x_235, sizeof(void*)*7 + 4); +lean_dec_ref(x_235); +lean_inc(x_231); +x_237 = l_Lean_Name_append(x_232, x_231); if (x_236 == 0) { -lean_object* x_237; lean_object* x_238; -x_237 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__1; -lean_inc_ref(x_221); -lean_inc_ref(x_228); -x_238 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_235, x_237, x_228, x_223, x_225, x_224, x_221, x_233); -if (lean_obj_tag(x_238) == 0) -{ -lean_dec_ref(x_238); -x_194 = x_219; -x_195 = x_220; -x_196 = x_226; -x_197 = x_235; -x_198 = x_227; -x_199 = x_230; -x_200 = x_231; -x_201 = x_232; -x_202 = x_229; -x_203 = x_228; -x_204 = x_223; -x_205 = x_225; -x_206 = x_224; -x_207 = x_221; -x_208 = x_233; -x_209 = lean_box(0); -goto block_218; +lean_dec_ref(x_234); +x_167 = x_214; +x_168 = x_221; +x_169 = x_222; +x_170 = x_223; +x_171 = x_225; +x_172 = x_226; +x_173 = x_228; +x_174 = x_229; +x_175 = x_230; +x_176 = x_231; +x_177 = x_237; +x_178 = x_219; +x_179 = x_227; +x_180 = x_224; +x_181 = x_220; +x_182 = x_216; +x_183 = x_218; +x_184 = x_215; +x_185 = lean_box(0); +goto block_191; } else { -uint8_t x_239; -lean_dec(x_235); -lean_dec(x_233); -lean_dec_ref(x_229); -lean_dec_ref(x_228); -lean_dec_ref(x_227); -lean_dec(x_226); -lean_dec_ref(x_225); -lean_dec(x_224); -lean_dec(x_223); -lean_dec_ref(x_221); -lean_dec(x_220); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_239 = !lean_is_exclusive(x_238); -if (x_239 == 0) +uint8_t x_238; +x_238 = lean_ctor_get_uint8(x_234, sizeof(void*)*8); +if (x_238 == 0) { -return x_238; +x_192 = x_214; +x_193 = x_234; +x_194 = x_215; +x_195 = x_216; +x_196 = x_237; +x_197 = x_218; +x_198 = x_219; +x_199 = x_220; +x_200 = x_221; +x_201 = x_222; +x_202 = x_223; +x_203 = x_226; +x_204 = x_225; +x_205 = x_224; +x_206 = x_227; +x_207 = x_228; +x_208 = x_229; +x_209 = x_231; +x_210 = x_230; +x_211 = lean_box(0); +goto block_213; } else { -lean_object* x_240; lean_object* x_241; -x_240 = lean_ctor_get(x_238, 0); -lean_inc(x_240); -lean_dec(x_238); -x_241 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_241, 0, x_240); -return x_241; +if (x_221 == 0) +{ +lean_dec_ref(x_234); +x_167 = x_214; +x_168 = x_221; +x_169 = x_222; +x_170 = x_223; +x_171 = x_225; +x_172 = x_226; +x_173 = x_228; +x_174 = x_229; +x_175 = x_230; +x_176 = x_231; +x_177 = x_237; +x_178 = x_219; +x_179 = x_227; +x_180 = x_224; +x_181 = x_220; +x_182 = x_216; +x_183 = x_218; +x_184 = x_215; +x_185 = lean_box(0); +goto block_191; } +else +{ +x_192 = x_214; +x_193 = x_234; +x_194 = x_215; +x_195 = x_216; +x_196 = x_237; +x_197 = x_218; +x_198 = x_219; +x_199 = x_220; +x_200 = x_221; +x_201 = x_222; +x_202 = x_223; +x_203 = x_226; +x_204 = x_225; +x_205 = x_224; +x_206 = x_227; +x_207 = x_228; +x_208 = x_229; +x_209 = x_231; +x_210 = x_230; +x_211 = lean_box(0); +goto block_213; +} +} +} +} +block_264: +{ +lean_object* x_256; +x_256 = l_Lean_Elab_Term_getDeclName_x3f___redArg(x_249); +if (lean_obj_tag(x_256) == 0) +{ +lean_object* x_257; lean_object* x_258; +x_257 = lean_ctor_get(x_256, 0); +lean_inc(x_257); +lean_dec_ref(x_256); +x_258 = l_Lean_Syntax_getId(x_244); +if (lean_obj_tag(x_257) == 0) +{ +lean_object* x_259; +x_259 = lean_box(0); +x_214 = x_240; +x_215 = x_254; +x_216 = x_252; +x_217 = lean_box(0); +x_218 = x_253; +x_219 = x_248; +x_220 = x_251; +x_221 = x_241; +x_222 = x_242; +x_223 = x_243; +x_224 = x_250; +x_225 = x_244; +x_226 = x_257; +x_227 = x_249; +x_228 = x_245; +x_229 = x_246; +x_230 = x_247; +x_231 = x_258; +x_232 = x_259; +goto block_239; +} +else +{ +lean_object* x_260; +x_260 = lean_ctor_get(x_257, 0); +lean_inc(x_260); +x_214 = x_240; +x_215 = x_254; +x_216 = x_252; +x_217 = lean_box(0); +x_218 = x_253; +x_219 = x_248; +x_220 = x_251; +x_221 = x_241; +x_222 = x_242; +x_223 = x_243; +x_224 = x_250; +x_225 = x_244; +x_226 = x_257; +x_227 = x_249; +x_228 = x_245; +x_229 = x_246; +x_230 = x_247; +x_231 = x_258; +x_232 = x_260; +goto block_239; } } else { -x_194 = x_219; -x_195 = x_220; -x_196 = x_226; -x_197 = x_235; -x_198 = x_227; -x_199 = x_230; -x_200 = x_231; -x_201 = x_232; -x_202 = x_229; -x_203 = x_228; -x_204 = x_223; -x_205 = x_225; -x_206 = x_224; -x_207 = x_221; -x_208 = x_233; -x_209 = lean_box(0); -goto block_218; -} -} -block_271: -{ -lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; -x_253 = lean_unsigned_to_nat(2u); -x_254 = l_Lean_Syntax_getArg(x_22, x_253); -x_255 = l_Lean_Syntax_getArg(x_254, x_1); +uint8_t x_261; lean_dec(x_254); -x_256 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__3; -lean_inc(x_255); -x_257 = l_Lean_Syntax_isOfKind(x_255, x_256); -if (x_257 == 0) -{ -lean_object* x_258; uint8_t x_259; -x_258 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__5; -lean_inc(x_255); -x_259 = l_Lean_Syntax_isOfKind(x_255, x_258); -if (x_259 == 0) -{ -lean_object* x_260; uint8_t x_261; -x_260 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__7; -lean_inc(x_255); -x_261 = l_Lean_Syntax_isOfKind(x_255, x_260); +lean_dec_ref(x_253); +lean_dec(x_252); +lean_dec_ref(x_251); +lean_dec(x_250); +lean_dec_ref(x_249); +lean_dec_ref(x_248); +lean_dec(x_245); +lean_dec(x_244); +lean_dec_ref(x_243); +lean_dec(x_242); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_261 = !lean_is_exclusive(x_256); if (x_261 == 0) { -lean_object* x_262; -lean_dec(x_255); -lean_dec(x_251); -lean_dec_ref(x_250); -lean_dec(x_249); -lean_dec_ref(x_248); -lean_dec(x_247); -lean_dec_ref(x_246); -lean_dec_ref(x_245); -lean_dec(x_243); -lean_dec(x_22); -x_262 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(); -if (lean_obj_tag(x_262) == 0) -{ -lean_dec_ref(x_262); -x_14 = x_244; -x_15 = lean_box(0); -goto block_19; +return x_256; } else { -uint8_t x_263; -lean_dec_ref(x_244); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_263 = !lean_is_exclusive(x_262); -if (x_263 == 0) +lean_object* x_262; lean_object* x_263; +x_262 = lean_ctor_get(x_256, 0); +lean_inc(x_262); +lean_dec(x_256); +x_263 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_263, 0, x_262); +return x_263; +} +} +} +block_288: { -return x_262; +lean_object* x_280; lean_object* x_281; uint8_t x_282; +x_280 = l_Lean_Syntax_getArg(x_276, x_1); +x_281 = l_Lean_Syntax_getArg(x_280, x_1); +lean_dec(x_280); +x_282 = l_Lean_Syntax_isIdent(x_281); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; +x_283 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__1; +lean_inc_ref(x_268); +lean_inc_ref(x_271); +x_284 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_281, x_283, x_271, x_272, x_270, x_267, x_268, x_277); +if (lean_obj_tag(x_284) == 0) +{ +lean_dec_ref(x_284); +x_240 = x_265; +x_241 = x_273; +x_242 = x_274; +x_243 = x_275; +x_244 = x_281; +x_245 = x_276; +x_246 = x_278; +x_247 = x_279; +x_248 = x_269; +x_249 = x_271; +x_250 = x_272; +x_251 = x_270; +x_252 = x_267; +x_253 = x_268; +x_254 = x_277; +x_255 = lean_box(0); +goto block_264; } else { -lean_object* x_264; lean_object* x_265; -x_264 = lean_ctor_get(x_262, 0); -lean_inc(x_264); -lean_dec(x_262); -x_265 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_265, 0, x_264); -return x_265; -} -} -} -else -{ -x_219 = x_257; -x_220 = x_243; -x_221 = x_250; -x_222 = lean_box(0); -x_223 = x_247; -x_224 = x_249; -x_225 = x_248; -x_226 = x_255; -x_227 = x_245; -x_228 = x_246; -x_229 = x_244; -x_230 = x_253; -x_231 = x_259; -x_232 = x_257; -x_233 = x_251; -goto block_242; -} -} -else -{ -x_219 = x_257; -x_220 = x_243; -x_221 = x_250; -x_222 = lean_box(0); -x_223 = x_247; -x_224 = x_249; -x_225 = x_248; -x_226 = x_255; -x_227 = x_245; -x_228 = x_246; -x_229 = x_244; -x_230 = x_253; -x_231 = x_259; -x_232 = x_257; -x_233 = x_251; -goto block_242; -} -} -else -{ -lean_object* x_266; lean_object* x_267; -lean_dec_ref(x_245); -lean_dec(x_243); -lean_dec(x_22); -x_266 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__9; -x_267 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__6___redArg(x_255, x_266, x_246, x_247, x_248, x_249, x_250, x_251); -lean_dec(x_251); -lean_dec(x_249); -lean_dec_ref(x_248); -lean_dec(x_247); -lean_dec(x_255); -if (lean_obj_tag(x_267) == 0) -{ -lean_dec_ref(x_267); -x_14 = x_244; -x_15 = lean_box(0); -goto block_19; -} -else -{ -uint8_t x_268; -lean_dec_ref(x_244); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -x_268 = !lean_is_exclusive(x_267); -if (x_268 == 0) -{ -return x_267; -} -else -{ -lean_object* x_269; lean_object* x_270; -x_269 = lean_ctor_get(x_267, 0); -lean_inc(x_269); -lean_dec(x_267); -x_270 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_270, 0, x_269); -return x_270; -} -} -} -} -block_282: -{ -lean_object* x_273; uint8_t x_274; -x_273 = l_Lean_Syntax_getArg(x_22, x_2); -x_274 = l_Lean_Syntax_isNone(x_273); -if (x_274 == 0) -{ -lean_object* x_275; lean_object* x_276; -x_275 = l_Lean_Syntax_getArg(x_273, x_1); -lean_dec(x_273); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_276 = l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8(x_275, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_275); -if (lean_obj_tag(x_276) == 0) -{ -lean_object* x_277; -x_277 = lean_ctor_get(x_276, 0); -lean_inc(x_277); -lean_dec_ref(x_276); -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_243 = x_272; -x_244 = x_6; -x_245 = x_277; -x_246 = x_7; -x_247 = x_8; -x_248 = x_9; -x_249 = x_10; -x_250 = x_11; -x_251 = x_12; -x_252 = lean_box(0); -goto block_271; -} -else -{ -uint8_t x_278; -lean_dec(x_272); -lean_dec(x_22); -lean_dec(x_12); -lean_dec_ref(x_11); -lean_dec(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec_ref(x_7); -lean_dec_ref(x_6); -x_278 = !lean_is_exclusive(x_276); -if (x_278 == 0) -{ -return x_276; -} -else -{ -lean_object* x_279; lean_object* x_280; -x_279 = lean_ctor_get(x_276, 0); -lean_inc(x_279); +uint8_t x_285; +lean_dec(x_281); +lean_dec(x_277); lean_dec(x_276); -x_280 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_280, 0, x_279); -return x_280; +lean_dec_ref(x_275); +lean_dec(x_274); +lean_dec(x_272); +lean_dec_ref(x_271); +lean_dec_ref(x_270); +lean_dec_ref(x_269); +lean_dec_ref(x_268); +lean_dec(x_267); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_285 = !lean_is_exclusive(x_284); +if (x_285 == 0) +{ +return x_284; +} +else +{ +lean_object* x_286; lean_object* x_287; +x_286 = lean_ctor_get(x_284, 0); +lean_inc(x_286); +lean_dec(x_284); +x_287 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_287, 0, x_286); +return x_287; } } } else { -lean_object* x_281; -lean_dec(x_273); -x_281 = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22___closed__0; -lean_inc(x_12); -lean_inc_ref(x_11); -lean_inc(x_10); -lean_inc_ref(x_9); -lean_inc(x_8); -lean_inc_ref(x_7); -x_243 = x_272; -x_244 = x_6; -x_245 = x_281; -x_246 = x_7; -x_247 = x_8; -x_248 = x_9; -x_249 = x_10; -x_250 = x_11; -x_251 = x_12; -x_252 = lean_box(0); -goto block_271; +x_240 = x_265; +x_241 = x_273; +x_242 = x_274; +x_243 = x_275; +x_244 = x_281; +x_245 = x_276; +x_246 = x_278; +x_247 = x_279; +x_248 = x_269; +x_249 = x_271; +x_250 = x_272; +x_251 = x_270; +x_252 = x_267; +x_253 = x_268; +x_254 = x_277; +x_255 = lean_box(0); +goto block_264; } } -} -block_19: +block_317: { -size_t x_16; size_t x_17; lean_object* x_18; -x_16 = 1; -x_17 = lean_usize_add(x_5, x_16); -x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24(x_1, x_2, x_3, x_4, x_17, x_14, x_7, x_8, x_9, x_10, x_11, x_12); -return x_18; +lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; +x_299 = lean_unsigned_to_nat(2u); +x_300 = l_Lean_Syntax_getArg(x_23, x_299); +x_301 = l_Lean_Syntax_getArg(x_300, x_1); +lean_dec(x_300); +x_302 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__3; +lean_inc(x_301); +x_303 = l_Lean_Syntax_isOfKind(x_301, x_302); +if (x_303 == 0) +{ +lean_object* x_304; uint8_t x_305; +x_304 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__5; +lean_inc(x_301); +x_305 = l_Lean_Syntax_isOfKind(x_301, x_304); +if (x_305 == 0) +{ +lean_object* x_306; uint8_t x_307; +x_306 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__7; +lean_inc(x_301); +x_307 = l_Lean_Syntax_isOfKind(x_301, x_306); +if (x_307 == 0) +{ +lean_object* x_308; +lean_dec(x_301); +lean_dec(x_297); +lean_dec_ref(x_296); +lean_dec(x_295); +lean_dec_ref(x_294); +lean_dec(x_293); +lean_dec_ref(x_292); +lean_dec_ref(x_291); +lean_dec(x_289); +lean_dec(x_23); +x_308 = l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg(); +if (lean_obj_tag(x_308) == 0) +{ +lean_dec_ref(x_308); +x_15 = x_290; +x_16 = lean_box(0); +goto block_20; +} +else +{ +uint8_t x_309; +lean_dec_ref(x_290); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_309 = !lean_is_exclusive(x_308); +if (x_309 == 0) +{ +return x_308; +} +else +{ +lean_object* x_310; lean_object* x_311; +x_310 = lean_ctor_get(x_308, 0); +lean_inc(x_310); +lean_dec(x_308); +x_311 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_311, 0, x_310); +return x_311; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +else +{ +x_265 = x_303; +x_266 = lean_box(0); +x_267 = x_295; +x_268 = x_296; +x_269 = x_290; +x_270 = x_294; +x_271 = x_292; +x_272 = x_293; +x_273 = x_303; +x_274 = x_289; +x_275 = x_291; +x_276 = x_301; +x_277 = x_297; +x_278 = x_305; +x_279 = x_299; +goto block_288; +} +} +else +{ +x_265 = x_303; +x_266 = lean_box(0); +x_267 = x_295; +x_268 = x_296; +x_269 = x_290; +x_270 = x_294; +x_271 = x_292; +x_272 = x_293; +x_273 = x_303; +x_274 = x_289; +x_275 = x_291; +x_276 = x_301; +x_277 = x_297; +x_278 = x_305; +x_279 = x_299; +goto block_288; +} +} +else +{ +lean_object* x_312; lean_object* x_313; +lean_dec_ref(x_291); +lean_dec(x_289); +lean_dec(x_23); +x_312 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__9; +x_313 = l_Lean_throwErrorAt___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg(x_301, x_312, x_292, x_293, x_294, x_295, x_296, x_297); +lean_dec(x_297); +lean_dec(x_295); +lean_dec_ref(x_294); +lean_dec(x_293); +lean_dec(x_301); +if (lean_obj_tag(x_313) == 0) +{ +lean_dec_ref(x_313); +x_15 = x_290; +x_16 = lean_box(0); +goto block_20; +} +else +{ +uint8_t x_314; +lean_dec_ref(x_290); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +x_314 = !lean_is_exclusive(x_313); +if (x_314 == 0) +{ +return x_313; +} +else +{ +lean_object* x_315; lean_object* x_316; +x_315 = lean_ctor_get(x_313, 0); +lean_inc(x_315); +lean_dec(x_313); +x_316 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_316, 0, x_315); +return x_316; +} +} +} +} +block_328: +{ +lean_object* x_319; uint8_t x_320; +x_319 = l_Lean_Syntax_getArg(x_23, x_2); +x_320 = l_Lean_Syntax_isNone(x_319); +if (x_320 == 0) +{ +lean_object* x_321; lean_object* x_322; +x_321 = l_Lean_Syntax_getArg(x_319, x_1); +lean_dec(x_319); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_322 = l_Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9(x_321, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_321); +if (lean_obj_tag(x_322) == 0) +{ +lean_object* x_323; +x_323 = lean_ctor_get(x_322, 0); +lean_inc(x_323); +lean_dec_ref(x_322); +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_289 = x_318; +x_290 = x_7; +x_291 = x_323; +x_292 = x_8; +x_293 = x_9; +x_294 = x_10; +x_295 = x_11; +x_296 = x_12; +x_297 = x_13; +x_298 = lean_box(0); +goto block_317; +} +else +{ +uint8_t x_324; +lean_dec(x_318); +lean_dec(x_23); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_7); +x_324 = !lean_is_exclusive(x_322); +if (x_324 == 0) +{ +return x_322; +} +else +{ +lean_object* x_325; lean_object* x_326; +x_325 = lean_ctor_get(x_322, 0); +lean_inc(x_325); +lean_dec(x_322); +x_326 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_326, 0, x_325); +return x_326; +} +} +} +else +{ +lean_object* x_327; +lean_dec(x_319); +x_327 = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23___closed__0; +lean_inc(x_13); +lean_inc_ref(x_12); +lean_inc(x_11); +lean_inc_ref(x_10); +lean_inc(x_9); +lean_inc_ref(x_8); +x_289 = x_318; +x_290 = x_7; +x_291 = x_327; +x_292 = x_8; +x_293 = x_9; +x_294 = x_10; +x_295 = x_11; +x_296 = x_12; +x_297 = x_13; +x_298 = lean_box(0); +goto block_317; +} +} +} +block_20: +{ +size_t x_17; size_t x_18; lean_object* x_19; +x_17 = 1; +x_18 = lean_usize_add(x_6, x_17); +x_19 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25(x_1, x_2, x_3, x_4, x_5, x_18, x_15, x_8, x_9, x_10, x_11, x_12, x_13); +return x_19; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_14; size_t x_15; lean_object* x_16; -x_14 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_15 = lean_unbox_usize(x_5); +uint8_t x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_15 = lean_unbox(x_3); +x_16 = lean_unbox_usize(x_5); lean_dec(x_5); -x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec_ref(x_3); +x_17 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_18 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg(x_1, x_2, x_15, x_4, x_16, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_4); lean_dec(x_2); lean_dec(x_1); -return x_16; +return x_18; } } static lean_object* _init_l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__0() { @@ -12702,70 +12926,73 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__0; -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Syntax_getArg(x_12, x_9); -lean_dec(x_12); -x_14 = l_Lean_Syntax_getSepArgs(x_13); -lean_dec(x_13); -x_15 = lean_array_size(x_14); -x_16 = 0; -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg(x_9, x_11, x_14, x_15, x_16, x_10, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_14); -if (lean_obj_tag(x_17) == 0) +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_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_9 = lean_ctor_get(x_6, 2); +x_10 = lean_unsigned_to_nat(0u); +x_11 = l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__0; +x_12 = l_Lean_doc_verso; +x_13 = l_Lean_Option_get___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0(x_9, x_12); +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +x_16 = l_Lean_Syntax_getArg(x_15, x_10); +lean_dec(x_15); +x_17 = l_Lean_Syntax_getSepArgs(x_16); +lean_dec(x_16); +x_18 = lean_array_size(x_17); +x_19 = 0; +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg(x_10, x_14, x_13, x_17, x_18, x_19, x_11, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_17); +if (lean_obj_tag(x_20) == 0) { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_17); -if (x_18 == 0) +uint8_t x_21; +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_19 = lean_ctor_get(x_17, 0); -x_20 = lean_unsigned_to_nat(3u); -x_21 = l_Lean_Syntax_getArg(x_1, x_20); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_19); -lean_ctor_set(x_22, 1, x_21); -lean_ctor_set(x_17, 0, x_22); -return x_17; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_20, 0); +x_23 = lean_unsigned_to_nat(3u); +x_24 = l_Lean_Syntax_getArg(x_1, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_24); +lean_ctor_set(x_20, 0, x_25); +return x_20; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_17, 0); -lean_inc(x_23); -lean_dec(x_17); -x_24 = lean_unsigned_to_nat(3u); -x_25 = l_Lean_Syntax_getArg(x_1, x_24); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_23); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_27, 0, x_26); -return x_27; -} -} -else -{ -uint8_t x_28; -x_28 = !lean_is_exclusive(x_17); -if (x_28 == 0) -{ -return x_17; -} -else -{ -lean_object* x_29; lean_object* x_30; -x_29 = lean_ctor_get(x_17, 0); -lean_inc(x_29); -lean_dec(x_17); -x_30 = lean_alloc_ctor(1, 1, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_26 = lean_ctor_get(x_20, 0); +lean_inc(x_26); +lean_dec(x_20); +x_27 = lean_unsigned_to_nat(3u); +x_28 = l_Lean_Syntax_getArg(x_1, x_27); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_30, 0, x_29); return x_30; } } +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_20); +if (x_31 == 0) +{ +return x_20; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_20, 0); +lean_inc(x_32); +lean_dec(x_20); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +return x_33; +} +} } } LEAN_EXPORT lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -12777,19 +13004,19 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_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_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_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) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4___redArg(x_1, x_6); +x_9 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5___redArg(x_1, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_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_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_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) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec(x_5); lean_dec_ref(x_4); @@ -12799,19 +13026,19 @@ lean_dec(x_1); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_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_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_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) { _start: { lean_object* x_10; -x_10 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5___redArg(x_1, x_2, x_6, x_8); +x_10 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg(x_1, x_2, x_6, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_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_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); @@ -12821,19 +13048,19 @@ lean_dec_ref(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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) { _start: { lean_object* x_9; -x_9 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg(x_1, x_6); +x_9 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg(x_1, x_6); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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) { _start: { lean_object* x_9; -x_9 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); @@ -12843,37 +13070,37 @@ lean_dec_ref(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___redArg(x_2, x_4); +x_5 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___redArg(x_2, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11___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_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__10(x_1, x_2, x_3, x_4); +x_5 = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__11(x_1, x_2, x_3, x_4); lean_dec_ref(x_3); lean_dec_ref(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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) { _start: { lean_object* x_10; -x_10 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg(x_2); +x_10 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg(x_2); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); @@ -12883,19 +13110,19 @@ lean_dec_ref(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec(x_6); lean_dec_ref(x_5); @@ -12903,19 +13130,19 @@ lean_dec(x_4); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); @@ -12924,43 +13151,67 @@ lean_dec(x_4); return x_10; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_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, uint8_t x_8, lean_object* x_9, size_t x_10, size_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { _start: { -lean_object* x_15; -x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_15; +lean_object* x_20; +x_20 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg(x_1, x_6, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +return x_20; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; +lean_object* x_18 = _args[17]; +lean_object* x_19 = _args[18]; _start: { -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_16 = lean_unbox_usize(x_6); +uint8_t x_20; size_t x_21; size_t x_22; lean_object* x_23; +x_20 = lean_unbox(x_8); +x_21 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_22 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_23 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_20, x_9, x_21, x_22, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +lean_dec_ref(x_9); +lean_dec_ref(x_7); lean_dec(x_6); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec_ref(x_3); -lean_dec(x_2); +lean_dec_ref(x_2); lean_dec(x_1); -return x_17; +return x_23; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_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_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_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) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_spec__5___redArg(x_1, x_7); +x_9 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_spec__6___redArg(x_1, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_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_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_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) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1_spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2_spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); @@ -12970,19 +13221,19 @@ lean_dec_ref(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_9; -x_9 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg(x_1, x_5, x_7); +x_9 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8___redArg(x_1, x_5, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_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_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_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_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +x_9 = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3_spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_7); lean_dec_ref(x_6); lean_dec(x_5); @@ -12992,35 +13243,35 @@ lean_dec_ref(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_11; -x_11 = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_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: { lean_object* x_11; -x_11 = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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) { _start: { lean_object* x_10; -x_10 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg(x_1, x_2, x_5, x_6, x_7, x_8); +x_10 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg(x_1, x_2, x_5, x_6, x_7, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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) { _start: { lean_object* x_10; -x_10 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); @@ -13030,19 +13281,19 @@ lean_dec_ref(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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) { _start: { lean_object* x_13; -x_13 = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__12___redArg(x_1, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__13___redArg(x_1, x_3, x_4, x_6, x_7, x_8, x_9, x_10, x_11); return x_13; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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: { lean_object* x_13; -x_13 = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_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_13 = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__13(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_11); lean_dec_ref(x_10); lean_dec(x_9); @@ -13053,19 +13304,19 @@ lean_dec(x_2); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg(x_1, x_2, x_7); +x_10 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg(x_1, x_2, x_7); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_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_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_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) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); @@ -13075,37 +13326,37 @@ lean_dec_ref(x_3); return x_10; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19___redArg(x_2, x_3); +x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20___redArg(x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19(x_1, x_2, x_3); +x_4 = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20(x_1, x_2, x_3); lean_dec(x_3); lean_dec_ref(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_10; -x_10 = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_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_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_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) { _start: { lean_object* x_10; -x_10 = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec(x_6); lean_dec_ref(x_5); @@ -13113,89 +13364,89 @@ lean_dec(x_4); return x_10; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; -x_4 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26___redArg(x_2, x_3); +x_4 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27___redArg(x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; -x_4 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26(x_1, x_2, x_3); +x_4 = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27(x_1, x_2, x_3); lean_dec_ref(x_3); x_5 = lean_box(x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29___redArg(x_2, x_3); +x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30___redArg(x_2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__19_spec__29(x_1, x_2, x_3); +x_4 = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__20_spec__30(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_11; -x_11 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_3); -x_12 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37_spec__41(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37_spec__41(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_11; -x_11 = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_3); -x_12 = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32_spec__37(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32_spec__37(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_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_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_11; -x_11 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_9); lean_dec(x_7); lean_dec_ref(x_6); @@ -13204,41 +13455,41 @@ lean_dec(x_2); return x_11; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4) { _start: { uint8_t x_5; -x_5 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg(x_2, x_3, x_4); +x_5 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg(x_2, x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; uint8_t x_6; lean_object* x_7; x_5 = lean_unbox_usize(x_3); lean_dec(x_3); -x_6 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34(x_1, x_2, x_5, x_4); +x_6 = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34(x_1, x_2, x_5, x_4); lean_dec_ref(x_4); x_7 = lean_box(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_12; -x_12 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10); +x_12 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg(x_1, x_2, x_3, x_4, x_7, x_8, x_9, x_10); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_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_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, 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; uint8_t x_13; lean_object* x_14; x_12 = lean_unbox(x_3); x_13 = lean_unbox(x_4); -x_14 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); +x_14 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_10); lean_dec(x_8); lean_dec_ref(x_7); @@ -13248,19 +13499,19 @@ lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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; -x_12 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39___redArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_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_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; -x_12 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_12 = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_10); lean_dec(x_8); lean_dec_ref(x_7); @@ -13269,19 +13520,19 @@ lean_dec(x_2); return x_12; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; -x_7 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42___redArg(x_2, x_5, x_6); +x_7 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42___redArg(x_2, x_5, x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; -x_7 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34_spec__42(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34_spec__42(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec_ref(x_6); lean_dec_ref(x_3); lean_dec_ref(x_2); @@ -13289,19 +13540,19 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50(lean_object* x_1, lean_object* x_2, lean_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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50(lean_object* x_1, lean_object* x_2, 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_10; -x_10 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg(x_1, x_2, x_8); +x_10 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg(x_1, x_2, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_10 = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); @@ -13416,7 +13667,7 @@ x_16 = lean_ctor_get(x_15, 2); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 3); lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 6); +x_18 = lean_ctor_get(x_15, 7); lean_inc_ref(x_18); x_19 = lean_alloc_closure((void*)(l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls_loop___redArg___lam__0___boxed), 12, 4); lean_closure_set(x_19, 0, x_3); @@ -13865,9 +14116,9 @@ x_15 = lean_ctor_get(x_14, 3); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 5); lean_inc_ref(x_16); -x_17 = lean_ctor_get(x_14, 6); +x_17 = lean_ctor_get(x_14, 7); lean_inc_ref(x_17); -x_18 = lean_ctor_get(x_14, 8); +x_18 = lean_ctor_get(x_14, 9); lean_inc(x_18); lean_dec(x_14); lean_inc(x_18); @@ -14009,129 +14260,96 @@ lean_dec(x_1); return x_18; } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_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_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, 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_12; uint8_t x_13; -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_nat_dec_eq(x_7, x_12); -if (x_13 == 1) +lean_object* x_11; uint8_t x_12; +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_eq(x_7, x_11); +if (x_12 == 1) { -lean_object* x_14; +lean_object* x_13; lean_dec(x_8); lean_dec(x_7); lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec_ref(x_1); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_9); -return x_14; +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_9); +return x_13; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_15 = lean_st_ref_get(x_10); -x_16 = lean_array_fget_borrowed(x_6, x_8); -x_17 = lean_ctor_get(x_15, 0); -lean_inc_ref(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_16, 0); -x_19 = lean_ctor_get(x_16, 1); -x_20 = lean_ctor_get(x_16, 2); -x_21 = lean_ctor_get(x_16, 3); -x_22 = lean_ctor_get(x_16, 4); -x_23 = lean_ctor_get(x_16, 5); -x_24 = lean_ctor_get(x_16, 6); -x_25 = lean_ctor_get(x_16, 7); -x_26 = lean_ctor_get(x_16, 9); -x_27 = lean_ctor_get_uint8(x_17, sizeof(void*)*8); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_14 = lean_array_fget_borrowed(x_6, x_8); +x_15 = lean_ctor_get(x_14, 0); +x_16 = lean_ctor_get(x_14, 1); +x_17 = lean_ctor_get(x_14, 2); +x_18 = lean_ctor_get(x_14, 3); +x_19 = lean_ctor_get(x_14, 4); +x_20 = lean_ctor_get(x_14, 5); +x_21 = lean_ctor_get(x_14, 6); +x_22 = lean_ctor_get(x_14, 7); +x_23 = lean_ctor_get(x_14, 8); +x_24 = lean_ctor_get(x_14, 10); +x_25 = lean_ctor_get(x_14, 11); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_nat_sub(x_7, x_26); +lean_dec(x_7); lean_inc_ref(x_1); x_28 = lean_array_get_borrowed(x_1, x_2, x_8); -x_29 = lean_unsigned_to_nat(1u); -x_30 = lean_nat_sub(x_7, x_29); -lean_dec(x_7); -x_31 = lean_array_get_size(x_23); -lean_inc_ref(x_26); -x_32 = l_Lean_Elab_TerminationHints_rememberExtraParams(x_31, x_26, x_28); -lean_inc_ref(x_1); -x_33 = lean_array_get_borrowed(x_1, x_3, x_8); -x_34 = l_Lean_Expr_fvarId_x21(x_33); -if (x_27 == 0) -{ -lean_object* x_42; uint8_t x_43; -x_42 = l_Lean_Environment_header(x_17); -x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*7 + 4); -lean_dec_ref(x_42); -if (x_43 == 0) -{ -lean_dec_ref(x_17); -lean_inc(x_21); -x_35 = x_21; -goto block_41; -} -else -{ -lean_object* x_44; -lean_inc(x_21); -x_44 = l_Lean_mkPrivateName(x_17, x_21); -lean_dec_ref(x_17); -x_35 = x_44; -goto block_41; -} -} -else -{ -lean_dec_ref(x_17); -lean_inc(x_21); -x_35 = x_21; -goto block_41; -} -block_41: -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_36 = l_Lean_Expr_mvarId_x21(x_25); -lean_inc(x_28); +x_29 = lean_array_get_size(x_20); lean_inc_ref(x_24); +x_30 = l_Lean_Elab_TerminationHints_rememberExtraParams(x_29, x_24, x_28); +lean_inc_ref(x_1); +x_31 = lean_array_get_borrowed(x_1, x_3, x_8); +x_32 = l_Lean_Expr_fvarId_x21(x_31); +x_33 = l_Lean_Expr_mvarId_x21(x_23); +lean_inc(x_25); +lean_inc(x_21); +lean_inc(x_28); +lean_inc_ref(x_22); lean_inc_ref(x_5); lean_inc_ref(x_4); -lean_inc(x_22); -lean_inc(x_20); -lean_inc_ref(x_19); +lean_inc(x_19); lean_inc(x_18); -x_37 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_37, 0, x_18); -lean_ctor_set(x_37, 1, x_34); -lean_ctor_set(x_37, 2, x_19); -lean_ctor_set(x_37, 3, x_20); -lean_ctor_set(x_37, 4, x_35); -lean_ctor_set(x_37, 5, x_22); -lean_ctor_set(x_37, 6, x_4); -lean_ctor_set(x_37, 7, x_5); -lean_ctor_set(x_37, 8, x_24); -lean_ctor_set(x_37, 9, x_28); -lean_ctor_set(x_37, 10, x_36); -lean_ctor_set(x_37, 11, x_32); -x_38 = lean_nat_add(x_8, x_29); +lean_inc(x_17); +lean_inc_ref(x_16); +lean_inc(x_15); +x_34 = lean_alloc_ctor(0, 14, 0); +lean_ctor_set(x_34, 0, x_15); +lean_ctor_set(x_34, 1, x_32); +lean_ctor_set(x_34, 2, x_16); +lean_ctor_set(x_34, 3, x_17); +lean_ctor_set(x_34, 4, x_18); +lean_ctor_set(x_34, 5, x_19); +lean_ctor_set(x_34, 6, x_4); +lean_ctor_set(x_34, 7, x_5); +lean_ctor_set(x_34, 8, x_22); +lean_ctor_set(x_34, 9, x_28); +lean_ctor_set(x_34, 10, x_33); +lean_ctor_set(x_34, 11, x_30); +lean_ctor_set(x_34, 12, x_21); +lean_ctor_set(x_34, 13, x_25); +x_35 = lean_nat_add(x_8, x_26); lean_dec(x_8); -x_39 = lean_array_push(x_9, x_37); -x_7 = x_30; -x_8 = x_38; -x_9 = x_39; +x_36 = lean_array_push(x_9, x_34); +x_7 = x_27; +x_8 = x_35; +x_9 = x_36; goto _start; } } } -} -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_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_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, 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; -x_12 = l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_10); +lean_object* x_11; +x_11 = l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec_ref(x_6); lean_dec_ref(x_3); lean_dec_ref(x_2); -return x_12; +return x_11; } } LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__0___lam__0(lean_object* x_1, lean_object* x_2) { @@ -14209,12 +14427,12 @@ x_39 = lean_ctor_get_uint8(x_11, sizeof(void*)*14); x_40 = lean_ctor_get(x_11, 12); x_41 = lean_ctor_get_uint8(x_11, sizeof(void*)*14 + 1); x_42 = lean_ctor_get(x_11, 13); -x_43 = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3; +x_43 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1; x_44 = l_Lean_MessageData_ofName(x_26); x_45 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_45, 0, x_43); lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1; +x_46 = l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3; x_47 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_47, 0, x_45); lean_ctor_set(x_47, 1, x_46); @@ -14251,7 +14469,7 @@ lean_ctor_set(x_49, 13, x_42); lean_ctor_set_uint8(x_49, sizeof(void*)*14, x_39); lean_ctor_set_uint8(x_49, sizeof(void*)*14 + 1, x_41); lean_inc_ref(x_7); -x_50 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg(x_47, x_7, x_8, x_9, x_10, x_49, x_12); +x_50 = l_Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5___redArg(x_47, x_7, x_8, x_9, x_10, x_49, x_12); lean_dec_ref(x_49); if (lean_obj_tag(x_50) == 0) { @@ -14327,7 +14545,7 @@ x_20 = l_Lean_instInhabitedExpr; x_21 = lean_array_get_size(x_1); x_22 = lean_unsigned_to_nat(0u); x_23 = lean_mk_empty_array_with_capacity(x_21); -x_24 = l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg(x_20, x_3, x_2, x_19, x_18, x_1, x_21, x_22, x_23, x_9); +x_24 = l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg(x_20, x_3, x_2, x_19, x_18, x_1, x_21, x_22, x_23); x_25 = !lean_is_exclusive(x_24); if (x_25 == 0) { @@ -14480,7 +14698,7 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_Let _start: { lean_object* x_18; -x_18 = l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10, x_16); +x_18 = l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_registerLetRecsToLift_spec__1___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_10); return x_18; } } @@ -14531,7 +14749,7 @@ else { lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_ctor_get(x_5, 7); +x_6 = lean_ctor_get(x_5, 8); lean_inc_ref(x_6); lean_dec(x_5); x_7 = lean_unsigned_to_nat(0u); @@ -15038,9 +15256,9 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec__1___closed__0; -x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0; -x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; +x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0; +x_3 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -15058,9 +15276,9 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = l_Lean_Elab_Term_elabLetRec___regBuiltin_Lean_Elab_Term_elabLetRec__1___closed__2; -x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0; -x_3 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__0; -x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0; +x_2 = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0; +x_3 = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__0; +x_4 = l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0; x_5 = l_Lean_Name_mkStr4(x_4, x_3, x_2, x_1); return x_5; } @@ -15204,307 +15422,307 @@ _G_initialized = true; res = initialize_Lean_Elab_MutualDef(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg___closed__0 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg___closed__0(); -lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__7___redArg___closed__0); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__0); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__1); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__2(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9___redArg___lam__0___closed__2); -l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__0 = _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__0(); -lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__0); -l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__1); -l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__1___closed__2); -l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__0 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__0(); -lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__0); -l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__1 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__1(); -lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__1); -l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__2 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__2(); -lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17_spec__27___closed__2); -l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__0 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__0(); -lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__0); -l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__1 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__1(); -lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__1); -l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__2 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__2(); -lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__2); -l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__3 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__3(); -lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__17___redArg___closed__3); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__0 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__0(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__0); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__1 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__1(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__1); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__2 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__2(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__2); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__3 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__3(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__3); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__4 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__4(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__4); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__5 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__5(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__5); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__6 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__6(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__6); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__7 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__7(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__7); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__8 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__8(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__8); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__9 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__9(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__9); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__10 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__10(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__10); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__11 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__11(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__11); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__12 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__12(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__12); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__13 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__13(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__13); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__14 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__14(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__14); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__15 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__15(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__15); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__16 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__16(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__16); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__17 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__17(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__17); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__18 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__18(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__18); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__19 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__19(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__19); -l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__20 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__20(); -lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30_spec__39_spec__46_spec__50___redArg___closed__20); -l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__0 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__0(); -lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__0); -l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__1 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__1(); -lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__1); -l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__2 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__2(); -lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__2); -l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3(); -lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__0_spec__2_spec__17_spec__30___redArg___closed__3); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__0(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__0); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__0___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__0(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__0); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__4___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__0(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__0); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__2(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__2); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__3 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__3(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__5___closed__3); -l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__0 = _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__0(); -lean_mark_persistent(l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__0); -l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__1 = _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__1(); -lean_mark_persistent(l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__1); -l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2 = _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2(); -lean_mark_persistent(l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__2); -l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3 = _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3(); -lean_mark_persistent(l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0_spec__2_spec__7___redArg___closed__3); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__0(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__0); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__2___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__0(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__0); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___lam__1___closed__1); -l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___closed__0(); -lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__0___closed__0); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__0); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__1); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__2); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__3 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__3(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__3); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__4 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__4(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__4); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__5 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__5(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__5); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__6 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__6(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__6); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__7 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__7(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__7); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__8 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__8(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__8); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__9 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__9(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__9); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__10 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__10(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__10); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__11 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__11(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__11); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__12 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__12(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__12); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__13 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__13(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__13); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__14 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__14(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__14); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__15 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__15(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__15); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__16 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__16(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__16); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__17 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__17(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__17); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__18 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__18(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__18); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__19); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__20 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__20(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__20); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__21 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__21(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__21); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__22 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__22(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__22); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__23 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__23(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__23); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__24 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__24(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__24); -l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__25 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__25(); -lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2___closed__25); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__0); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__1 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__1); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__2 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__0___closed__2); -l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__0 = _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__0(); -l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1 = _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__1); -l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__2 = _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__2(); -lean_mark_persistent(l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__9___redArg___closed__2); -l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__0 = _init_l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__0(); -lean_mark_persistent(l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__0); -l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__1 = _init_l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__1(); -lean_mark_persistent(l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__8___redArg___closed__1); -l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___closed__0 = _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___closed__0(); -l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___closed__1 = _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17_spec__26_spec__34___redArg___closed__1(); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__0 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__0(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__0); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__1 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__1(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__1); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__2 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__2(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__2); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__3 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__3(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__3); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__4 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__4(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__4); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__5 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__5(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__5); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__6 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__6(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__6); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__7 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__7(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__7); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__8 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__8(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__8); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__9 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__9(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__9); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__10 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__10(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__10); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__11 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__11(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__11); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__12 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__12(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__12); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__13 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__13(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__13); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__14 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__14(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__14); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__15 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__15(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__15); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__16 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__16(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__16); -l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__17 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__17(); -lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11_spec__17___closed__17); -l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__0 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__0(); -lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__0); -l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__1 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__1(); -lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__1); -l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__2 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__2(); -lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__2); -l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__3 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__3(); -lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__11___closed__3); -l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__0 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__0(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__0); -l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__1(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__1); -l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__2(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__2); -l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__3 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__3(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__3); -l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__4 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__4(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__4); -l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__5 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__5(); -lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3_spec__14___redArg___closed__5); -l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___closed__0 = _init_l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___closed__0(); -lean_mark_persistent(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___redArg___closed__0); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__0 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__0(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__0); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__1 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__1(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__1); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__2 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__2(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__2); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__3 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__3(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__3); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__4 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__4(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__4); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__5 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__5(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__5); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__6 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__6(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__6); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__7 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__7(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__7); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__8 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__8(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___lam__1___closed__8); -l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___closed__0 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___closed__0(); -lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__32___closed__0); -l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__0 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__0(); -lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__0); -l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__1 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__1(); -lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__1); -l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__2 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__2(); -lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__2); -l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__3 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__3(); -lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__3); -l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__4 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__4(); -lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__4); -l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__5 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__5(); -lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__5); -l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__6 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__6(); -lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33_spec__39_spec__44___redArg___lam__0___closed__6); -l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__0 = _init_l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__0(); -lean_mark_persistent(l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__0); -l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__1 = _init_l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__1(); -lean_mark_persistent(l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22_spec__33___closed__1); -l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22___closed__0 = _init_l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22___closed__0(); -lean_mark_persistent(l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8_spec__22___closed__0); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__0); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__1(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__1); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__2(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__2); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__3(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__3); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__4(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__4); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__5(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__5); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__6 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__6(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__6); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__7 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__7(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__7); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__8 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__8(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__8); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__9 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__9(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__24___closed__9); +l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg___closed__0 = _init_l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_throwUnsupportedSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__8___redArg___closed__0); +l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__0 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__0(); +lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__0); +l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__1 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__1(); +lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__1); +l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__2 = _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__2(); +lean_mark_persistent(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18_spec__27___closed__2); +l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__0 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__0); +l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__1 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__1(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__1); +l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__2 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__2(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__2); +l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__3 = _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__3(); +lean_mark_persistent(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__5_spec__18___redArg___closed__3); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__2(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10___redArg___lam__0___closed__2); +l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__0 = _init_l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__0(); +lean_mark_persistent(l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__0); +l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__1 = _init_l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__1(); +lean_mark_persistent(l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__1); +l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2 = _init_l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2(); +lean_mark_persistent(l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__2); +l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3 = _init_l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3(); +lean_mark_persistent(l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__2_spec__6___redArg___closed__3); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__0); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__1); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__2); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__3 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__3(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__3); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__4 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__4(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__4); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__5 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__5(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__5); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__6 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__6(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__6); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__7 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__7(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__7); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__8 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__8(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__8); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__9 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__9(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__9); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__10 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__10(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__10); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__11 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__11(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__11); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__12 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__12(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__12); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__13 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__13(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__13); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__14 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__14(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__14); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__15 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__15(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__15); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__16 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__16(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__16); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__17 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__17(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__17); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__18 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__18(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__18); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__19); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__20 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__20(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__20); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__21 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__21(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__21); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__22 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__22(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__22); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__23 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__23(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__23); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__24 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__24(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__24); +l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__25 = _init_l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__25(); +lean_mark_persistent(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__3___closed__25); +l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__0 = _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__0(); +l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1 = _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__1); +l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__2 = _init_l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__2(); +lean_mark_persistent(l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__10___redArg___closed__2); +l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___closed__0 = _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___closed__0(); +l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___closed__1 = _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18_spec__27_spec__34___redArg___closed__1(); +l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__0 = _init_l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__0(); +lean_mark_persistent(l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__0); +l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__1 = _init_l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__1(); +lean_mark_persistent(l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__9___redArg___closed__1); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__0 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__0(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__0); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__1 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__1(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__1); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__2 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__2(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__2); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__3 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__3(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__3); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__4 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__4(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__4); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__5 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__5(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__5); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__6 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__6(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__6); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__7 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__7(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__7); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__8 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__8(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__8); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__9 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__9(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__9); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__10 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__10(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__10); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__11 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__11(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__11); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__12 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__12(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__12); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__13 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__13(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__13); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__14 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__14(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__14); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__15 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__15(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__15); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__16 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__16(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__16); +l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__17 = _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__17(); +lean_mark_persistent(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12_spec__18___closed__17); +l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__0 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__0(); +lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__0); +l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__1 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__1(); +lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__1); +l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__2 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__2(); +lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__2); +l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__3 = _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__3(); +lean_mark_persistent(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__12___closed__3); +l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__0 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__0(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__0); +l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__1 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__1(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__1); +l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__2 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__2(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__2); +l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__3 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__3(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__3); +l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__4 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__4(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__4); +l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__5 = _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__5(); +lean_mark_persistent(l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4_spec__15___redArg___closed__5); +l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___closed__0 = _init_l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___closed__0(); +lean_mark_persistent(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__4___redArg___closed__0); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__0 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__0(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__0); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__1 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__1); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__2 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__2); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__3 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__3(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__3); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__4 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__4(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__4); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__5 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__5(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__5); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__6 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__6(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__6); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__7 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__7(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__7); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__8 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__8(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__1___closed__8); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__0); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__1 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__1(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__1); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__2 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__2(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___lam__0___closed__2); +l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___closed__0 = _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___closed__0(); +lean_mark_persistent(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__32___closed__0); +l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__0 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__0(); +lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__0); +l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__1 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__1(); +lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__1); +l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__2 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__2(); +lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__2); +l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__3 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__3(); +lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__3); +l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__4 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__4(); +lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__4); +l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__5 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__5(); +lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__5); +l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__6 = _init_l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__6(); +lean_mark_persistent(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33_spec__39_spec__44___redArg___lam__0___closed__6); +l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__0 = _init_l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__0(); +lean_mark_persistent(l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__0); +l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__1 = _init_l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__1(); +lean_mark_persistent(l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23_spec__33___closed__1); +l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23___closed__0 = _init_l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23___closed__0(); +lean_mark_persistent(l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__9_spec__23___closed__0); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__0(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__0); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__2); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__3); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__4 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__4(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__4); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__5 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__5(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__5___closed__5); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__0(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__0); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__3___closed__1); +l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__0 = _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__0(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__0); +l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__1 = _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__1); +l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__2 = _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__2(); +lean_mark_persistent(l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__2___closed__2); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__0 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__0(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__0); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__1 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__1(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__1); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__2 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__2(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__2); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__3 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__3(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__3); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__4 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__4(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__4); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__5 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__5(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__5); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__6 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__6(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__6); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__7 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__7(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__7); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__8 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__8(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__8); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__9 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__9(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__9); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__10 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__10(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__10); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__11 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__11(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__11); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__12 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__12(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__12); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__13 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__13(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__13); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__14 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__14(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__14); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__15 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__15(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__15); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__16 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__16(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__16); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__17 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__17(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__17); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__18 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__18(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__18); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__19 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__19(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__19); +l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__20 = _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__20(); +lean_mark_persistent(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30_spec__39_spec__46_spec__50___redArg___closed__20); +l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__0 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__0(); +lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__0); +l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__1 = _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__1(); +lean_mark_persistent(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1_spec__1_spec__3_spec__18_spec__30___redArg___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__0(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__0); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__2 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__2(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__0___closed__2); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__0(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__0); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__2___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__0(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__0); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__1 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__1(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___lam__1___closed__1); +l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___closed__0 = _init_l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___closed__0(); +lean_mark_persistent(l_Lean_Elab_checkNotAlreadyDeclared___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__1___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__1 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__1(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__1); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__2 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__2(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__2); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__3(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__3); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__4 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__4(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__4); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__5 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__5(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__5); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__6 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__6(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__6); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__7 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__7(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__7); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__8 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__8(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__8); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__9 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__9(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_spec__10_spec__25___closed__9); l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__0 = _init_l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__0(); lean_mark_persistent(l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___closed__0); l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls___redArg___closed__0 = _init_l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_withAuxLocalDecls___redArg___closed__0(); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index fb7f8df5a0..1dff10ea9d 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -1173,7 +1173,6 @@ static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_l uint8_t l_Lean_Elab_DefView_isInstance(lean_object*); static lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2___lam__0___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___redArg___lam__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_List_foldlM___at___00List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1_spec__1___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withReuseContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__3___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_wrapAsyncAsSnapshot___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1580,7 +1579,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___boxed(lean_object*, lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___lam__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit_visitLet___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat_spec__0_spec__0_spec__6_spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkInitialUsedFVarsMap___redArg___lam__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1810,7 +1809,7 @@ static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed lean_object* l_Array_append___redArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__1_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_; LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg___boxed(lean_object*, 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_mkLetRecClosureFor___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx_x27___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -35721,7 +35720,7 @@ uint8_t x_7; x_7 = !lean_is_exclusive(x_1); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_8 = lean_ctor_get(x_1, 0); x_9 = lean_ctor_get(x_1, 1); x_10 = lean_ctor_get(x_1, 2); @@ -35734,49 +35733,53 @@ x_16 = lean_ctor_get(x_1, 8); x_17 = lean_ctor_get(x_1, 9); x_18 = lean_ctor_get(x_1, 10); x_19 = lean_ctor_get(x_1, 11); +x_20 = lean_ctor_get(x_1, 12); +x_21 = lean_ctor_get(x_1, 13); lean_inc(x_5); lean_inc_ref(x_4); lean_inc(x_3); lean_inc_ref(x_2); -x_20 = l_Lean_Meta_instantiateMVarsProfiling(x_16, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -lean_dec_ref(x_20); -x_22 = l_Lean_Meta_instantiateMVarsProfiling(x_17, x_2, x_3, x_4, x_5); +x_22 = l_Lean_Meta_instantiateMVarsProfiling(x_16, x_2, x_3, x_4, x_5); if (lean_obj_tag(x_22) == 0) { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +lean_dec_ref(x_22); +x_24 = l_Lean_Meta_instantiateMVarsProfiling(x_17, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_24) == 0) { -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -lean_ctor_set(x_1, 9, x_24); -lean_ctor_set(x_1, 8, x_21); -lean_ctor_set(x_22, 0, x_1); -return x_22; +uint8_t x_25; +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_24, 0); +lean_ctor_set(x_1, 9, x_26); +lean_ctor_set(x_1, 8, x_23); +lean_ctor_set(x_24, 0, x_1); +return x_24; } else { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 0); -lean_inc(x_25); -lean_dec(x_22); -lean_ctor_set(x_1, 9, x_25); -lean_ctor_set(x_1, 8, x_21); -x_26 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_26, 0, x_1); -return x_26; +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec(x_24); +lean_ctor_set(x_1, 9, x_27); +lean_ctor_set(x_1, 8, x_23); +x_28 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_28, 0, x_1); +return x_28; } } else { -uint8_t x_27; -lean_dec(x_21); +uint8_t x_29; +lean_dec(x_23); lean_free_object(x_1); +lean_dec(x_21); +lean_dec(x_20); lean_dec_ref(x_19); lean_dec(x_18); lean_dec_ref(x_15); @@ -35787,27 +35790,29 @@ lean_dec(x_11); lean_dec_ref(x_10); lean_dec(x_9); lean_dec(x_8); -x_27 = !lean_is_exclusive(x_22); -if (x_27 == 0) +x_29 = !lean_is_exclusive(x_24); +if (x_29 == 0) { -return x_22; +return x_24; } else { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_22, 0); -lean_inc(x_28); -lean_dec(x_22); -x_29 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_29, 0, x_28); -return x_29; +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_24, 0); +lean_inc(x_30); +lean_dec(x_24); +x_31 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_31, 0, x_30); +return x_31; } } } else { -uint8_t x_30; +uint8_t x_32; lean_free_object(x_1); +lean_dec(x_21); +lean_dec(x_20); lean_dec_ref(x_19); lean_dec(x_18); lean_dec_ref(x_17); @@ -35823,38 +35828,44 @@ lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_30 = !lean_is_exclusive(x_20); -if (x_30 == 0) +x_32 = !lean_is_exclusive(x_22); +if (x_32 == 0) { -return x_20; +return x_22; } else { -lean_object* x_31; lean_object* x_32; -x_31 = lean_ctor_get(x_20, 0); -lean_inc(x_31); -lean_dec(x_20); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -return x_32; +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_22, 0); +lean_inc(x_33); +lean_dec(x_22); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +return x_34; } } } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_33 = lean_ctor_get(x_1, 0); -x_34 = lean_ctor_get(x_1, 1); -x_35 = lean_ctor_get(x_1, 2); -x_36 = lean_ctor_get(x_1, 3); -x_37 = lean_ctor_get(x_1, 4); -x_38 = lean_ctor_get(x_1, 5); -x_39 = lean_ctor_get(x_1, 6); -x_40 = lean_ctor_get(x_1, 7); -x_41 = lean_ctor_get(x_1, 8); -x_42 = lean_ctor_get(x_1, 9); -x_43 = lean_ctor_get(x_1, 10); -x_44 = lean_ctor_get(x_1, 11); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_35 = lean_ctor_get(x_1, 0); +x_36 = lean_ctor_get(x_1, 1); +x_37 = lean_ctor_get(x_1, 2); +x_38 = lean_ctor_get(x_1, 3); +x_39 = lean_ctor_get(x_1, 4); +x_40 = lean_ctor_get(x_1, 5); +x_41 = lean_ctor_get(x_1, 6); +x_42 = lean_ctor_get(x_1, 7); +x_43 = lean_ctor_get(x_1, 8); +x_44 = lean_ctor_get(x_1, 9); +x_45 = lean_ctor_get(x_1, 10); +x_46 = lean_ctor_get(x_1, 11); +x_47 = lean_ctor_get(x_1, 12); +x_48 = lean_ctor_get(x_1, 13); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); lean_inc(x_44); lean_inc(x_43); lean_inc(x_42); @@ -35865,120 +35876,124 @@ lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_33); lean_dec(x_1); lean_inc(x_5); lean_inc_ref(x_4); lean_inc(x_3); lean_inc_ref(x_2); -x_45 = l_Lean_Meta_instantiateMVarsProfiling(x_41, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_45) == 0) +x_49 = l_Lean_Meta_instantiateMVarsProfiling(x_43, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_46; lean_object* x_47; -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -lean_dec_ref(x_45); -x_47 = l_Lean_Meta_instantiateMVarsProfiling(x_42, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_47) == 0) +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +lean_dec_ref(x_49); +x_51 = l_Lean_Meta_instantiateMVarsProfiling(x_44, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - x_49 = x_47; -} else { - lean_dec_ref(x_47); - x_49 = lean_box(0); -} -x_50 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_50, 0, x_33); -lean_ctor_set(x_50, 1, x_34); -lean_ctor_set(x_50, 2, x_35); -lean_ctor_set(x_50, 3, x_36); -lean_ctor_set(x_50, 4, x_37); -lean_ctor_set(x_50, 5, x_38); -lean_ctor_set(x_50, 6, x_39); -lean_ctor_set(x_50, 7, x_40); -lean_ctor_set(x_50, 8, x_46); -lean_ctor_set(x_50, 9, x_48); -lean_ctor_set(x_50, 10, x_43); -lean_ctor_set(x_50, 11, x_44); -if (lean_is_scalar(x_49)) { - x_51 = lean_alloc_ctor(0, 1, 0); -} else { - x_51 = x_49; -} -lean_ctor_set(x_51, 0, x_50); -return x_51; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -lean_dec(x_46); -lean_dec_ref(x_44); -lean_dec(x_43); -lean_dec_ref(x_40); -lean_dec_ref(x_39); -lean_dec(x_38); -lean_dec(x_37); -lean_dec(x_36); -lean_dec_ref(x_35); -lean_dec(x_34); -lean_dec(x_33); -x_52 = lean_ctor_get(x_47, 0); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -if (lean_is_exclusive(x_47)) { - lean_ctor_release(x_47, 0); - x_53 = x_47; +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + x_53 = x_51; } else { - lean_dec_ref(x_47); + lean_dec_ref(x_51); x_53 = lean_box(0); } +x_54 = lean_alloc_ctor(0, 14, 0); +lean_ctor_set(x_54, 0, x_35); +lean_ctor_set(x_54, 1, x_36); +lean_ctor_set(x_54, 2, x_37); +lean_ctor_set(x_54, 3, x_38); +lean_ctor_set(x_54, 4, x_39); +lean_ctor_set(x_54, 5, x_40); +lean_ctor_set(x_54, 6, x_41); +lean_ctor_set(x_54, 7, x_42); +lean_ctor_set(x_54, 8, x_50); +lean_ctor_set(x_54, 9, x_52); +lean_ctor_set(x_54, 10, x_45); +lean_ctor_set(x_54, 11, x_46); +lean_ctor_set(x_54, 12, x_47); +lean_ctor_set(x_54, 13, x_48); if (lean_is_scalar(x_53)) { - x_54 = lean_alloc_ctor(1, 1, 0); + x_55 = lean_alloc_ctor(0, 1, 0); } else { - x_54 = x_53; + x_55 = x_53; } -lean_ctor_set(x_54, 0, x_52); -return x_54; +lean_ctor_set(x_55, 0, x_54); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +lean_dec(x_50); +lean_dec(x_48); +lean_dec(x_47); +lean_dec_ref(x_46); +lean_dec(x_45); +lean_dec_ref(x_42); +lean_dec_ref(x_41); +lean_dec(x_40); +lean_dec(x_39); +lean_dec(x_38); +lean_dec_ref(x_37); +lean_dec(x_36); +lean_dec(x_35); +x_56 = lean_ctor_get(x_51, 0); +lean_inc(x_56); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + x_57 = x_51; +} else { + lean_dec_ref(x_51); + x_57 = lean_box(0); +} +if (lean_is_scalar(x_57)) { + x_58 = lean_alloc_ctor(1, 1, 0); +} else { + x_58 = x_57; +} +lean_ctor_set(x_58, 0, x_56); +return x_58; } } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_48); +lean_dec(x_47); +lean_dec_ref(x_46); +lean_dec(x_45); lean_dec_ref(x_44); -lean_dec(x_43); lean_dec_ref(x_42); -lean_dec_ref(x_40); -lean_dec_ref(x_39); +lean_dec_ref(x_41); +lean_dec(x_40); +lean_dec(x_39); lean_dec(x_38); -lean_dec(x_37); +lean_dec_ref(x_37); lean_dec(x_36); -lean_dec_ref(x_35); -lean_dec(x_34); -lean_dec(x_33); +lean_dec(x_35); lean_dec(x_5); lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); -x_55 = lean_ctor_get(x_45, 0); -lean_inc(x_55); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - x_56 = x_45; +x_59 = lean_ctor_get(x_49, 0); +lean_inc(x_59); +if (lean_is_exclusive(x_49)) { + lean_ctor_release(x_49, 0); + x_60 = x_49; } else { - lean_dec_ref(x_45); - x_56 = lean_box(0); + lean_dec_ref(x_49); + x_60 = lean_box(0); } -if (lean_is_scalar(x_56)) { - x_57 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(1, 1, 0); } else { - x_57 = x_56; + x_61 = x_60; } -lean_ctor_set(x_57, 0, x_55); -return x_57; +lean_ctor_set(x_61, 0, x_59); +return x_61; } } } @@ -46471,240 +46486,248 @@ lean_dec_ref(x_1); return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lam__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, lean_object* x_19, lean_object* x_20, lean_object* x_21) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lam__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, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22, lean_object* x_23) { _start: { -lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; -x_23 = lean_array_get_size(x_14); -x_24 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_24, 0, x_23); -x_25 = 0; +lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_25 = lean_array_get_size(x_16); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = 0; +lean_inc(x_23); +lean_inc_ref(x_22); lean_inc(x_21); lean_inc_ref(x_20); lean_inc(x_19); lean_inc_ref(x_18); -lean_inc(x_17); -lean_inc_ref(x_16); lean_inc_ref(x_1); -x_26 = l_Lean_Meta_forallBoundedTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__6___redArg(x_1, x_24, x_2, x_25, x_25, x_16, x_17, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_26) == 0) +x_28 = l_Lean_Meta_forallBoundedTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__6___redArg(x_1, x_26, x_2, x_27, x_27, x_18, x_19, x_20, x_21, x_22, x_23); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -lean_dec_ref(x_26); -x_28 = lean_box(1); -x_29 = lean_unsigned_to_nat(0u); -x_30 = lean_array_get_size(x_27); -x_31 = l_Array_toSubarray___redArg(x_27, x_29, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_28); -x_33 = lean_array_size(x_14); -x_34 = 0; -x_35 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__1___redArg(x_14, x_33, x_34, x_32); -if (lean_obj_tag(x_35) == 0) +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; size_t x_35; size_t x_36; lean_object* x_37; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +lean_dec_ref(x_28); +x_30 = lean_box(1); +x_31 = lean_unsigned_to_nat(0u); +x_32 = lean_array_get_size(x_29); +x_33 = l_Array_toSubarray___redArg(x_29, x_31, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_30); +x_35 = lean_array_size(x_16); +x_36 = 0; +x_37 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__1___redArg(x_16, x_35, x_36, x_34); +if (lean_obj_tag(x_37) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_35, 0); -lean_inc(x_36); -lean_dec_ref(x_35); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +lean_dec_ref(x_37); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +lean_inc(x_23); +lean_inc_ref(x_22); lean_inc(x_21); lean_inc_ref(x_20); -lean_inc(x_19); -lean_inc_ref(x_18); -x_38 = l_Lean_Meta_instantiateForall(x_1, x_14, x_18, x_19, x_20, x_21); -if (lean_obj_tag(x_38) == 0) +x_40 = l_Lean_Meta_instantiateForall(x_1, x_16, x_20, x_21, x_22, x_23); +if (lean_obj_tag(x_40) == 0) { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -lean_dec_ref(x_38); -x_40 = lean_ctor_get(x_18, 2); -lean_inc_ref(x_40); -x_41 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__2(x_40, x_33, x_34, x_14); -lean_inc(x_19); -x_42 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor(x_3, x_41, x_16, x_17, x_18, x_19, x_20, x_21); -lean_dec(x_17); -lean_dec_ref(x_16); -if (lean_obj_tag(x_42) == 0) -{ -lean_object* x_43; uint8_t x_44; -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -lean_dec_ref(x_42); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_45 = lean_ctor_get(x_43, 0); -x_46 = lean_ctor_get(x_43, 1); -x_47 = lean_ctor_get(x_43, 2); -x_48 = lean_ctor_get(x_43, 3); -x_49 = lean_box(0); -lean_inc(x_4); -x_50 = l_Lean_mkConst(x_4, x_49); -x_51 = l_Lean_mkAppN(x_50, x_48); -lean_dec_ref(x_48); -lean_inc_ref(x_51); -lean_inc(x_5); -x_52 = l_Lean_MVarId_assign___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__3___redArg(x_5, x_51, x_19); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +lean_dec_ref(x_40); +x_42 = lean_ctor_get(x_20, 2); +lean_inc_ref(x_42); +x_43 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__2(x_42, x_35, x_36, x_16); +lean_inc(x_21); +x_44 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureFor(x_3, x_43, x_18, x_19, x_20, x_21, x_22, x_23); lean_dec(x_19); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) +lean_dec_ref(x_18); +if (lean_obj_tag(x_44) == 0) { -lean_object* x_54; size_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; -x_54 = lean_ctor_get(x_52, 0); -lean_dec(x_54); -x_55 = lean_array_size(x_46); -lean_inc_ref(x_46); -x_56 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__3(x_37, x_55, x_34, x_46); -lean_dec(x_37); -lean_inc_ref(x_47); -x_57 = l_Lean_Meta_Closure_mkForall(x_47, x_39); +lean_object* x_45; uint8_t x_46; +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +lean_dec_ref(x_44); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_47 = lean_ctor_get(x_45, 0); +x_48 = lean_ctor_get(x_45, 1); +x_49 = lean_ctor_get(x_45, 2); +x_50 = lean_ctor_get(x_45, 3); +x_51 = lean_box(0); +lean_inc(x_4); +x_52 = l_Lean_mkConst(x_4, x_51); +x_53 = l_Lean_mkAppN(x_52, x_50); +lean_dec_ref(x_50); +lean_inc_ref(x_53); +lean_inc(x_5); +x_54 = l_Lean_MVarId_assign___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__3___redArg(x_5, x_53, x_21); +lean_dec(x_21); +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; size_t 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_56 = lean_ctor_get(x_54, 0); +lean_dec(x_56); +x_57 = lean_array_size(x_48); +lean_inc_ref(x_48); +x_58 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__3(x_39, x_57, x_36, x_48); lean_dec(x_39); -x_58 = l_Lean_Meta_Closure_mkForall(x_56, x_57); -lean_dec_ref(x_57); -x_59 = l_Lean_Meta_Closure_mkLambda(x_47, x_15); -x_60 = l_Lean_Meta_Closure_mkLambda(x_46, x_59); +lean_inc_ref(x_49); +x_59 = l_Lean_Meta_Closure_mkForall(x_49, x_41); +lean_dec(x_41); +x_60 = l_Lean_Meta_Closure_mkForall(x_58, x_59); lean_dec_ref(x_59); +x_61 = l_Lean_Meta_Closure_mkLambda(x_49, x_17); +x_62 = l_Lean_Meta_Closure_mkLambda(x_48, x_61); +lean_dec_ref(x_61); lean_inc(x_6); -x_61 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_61, 0, x_6); -lean_ctor_set(x_61, 1, x_7); -lean_ctor_set(x_61, 2, x_8); -lean_ctor_set(x_61, 3, x_9); -lean_ctor_set(x_61, 4, x_4); -lean_ctor_set(x_61, 5, x_10); -lean_ctor_set(x_61, 6, x_11); -lean_ctor_set(x_61, 7, x_12); -lean_ctor_set(x_61, 8, x_58); -lean_ctor_set(x_61, 9, x_60); -lean_ctor_set(x_61, 10, x_5); -lean_ctor_set(x_61, 11, x_13); -lean_ctor_set(x_43, 3, x_61); -lean_ctor_set(x_43, 2, x_51); -lean_ctor_set(x_43, 1, x_45); -lean_ctor_set(x_43, 0, x_6); -lean_ctor_set(x_52, 0, x_43); -return x_52; +x_63 = lean_alloc_ctor(0, 14, 0); +lean_ctor_set(x_63, 0, x_6); +lean_ctor_set(x_63, 1, x_7); +lean_ctor_set(x_63, 2, x_8); +lean_ctor_set(x_63, 3, x_9); +lean_ctor_set(x_63, 4, x_4); +lean_ctor_set(x_63, 5, x_10); +lean_ctor_set(x_63, 6, x_11); +lean_ctor_set(x_63, 7, x_12); +lean_ctor_set(x_63, 8, x_60); +lean_ctor_set(x_63, 9, x_62); +lean_ctor_set(x_63, 10, x_5); +lean_ctor_set(x_63, 11, x_13); +lean_ctor_set(x_63, 12, x_14); +lean_ctor_set(x_63, 13, x_15); +lean_ctor_set(x_45, 3, x_63); +lean_ctor_set(x_45, 2, x_53); +lean_ctor_set(x_45, 1, x_47); +lean_ctor_set(x_45, 0, x_6); +lean_ctor_set(x_54, 0, x_45); +return x_54; } else { -size_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_dec(x_52); -x_62 = lean_array_size(x_46); -lean_inc_ref(x_46); -x_63 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__3(x_37, x_62, x_34, x_46); -lean_dec(x_37); -lean_inc_ref(x_47); -x_64 = l_Lean_Meta_Closure_mkForall(x_47, x_39); +size_t 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_dec(x_54); +x_64 = lean_array_size(x_48); +lean_inc_ref(x_48); +x_65 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__3(x_39, x_64, x_36, x_48); lean_dec(x_39); -x_65 = l_Lean_Meta_Closure_mkForall(x_63, x_64); -lean_dec_ref(x_64); -x_66 = l_Lean_Meta_Closure_mkLambda(x_47, x_15); -x_67 = l_Lean_Meta_Closure_mkLambda(x_46, x_66); +lean_inc_ref(x_49); +x_66 = l_Lean_Meta_Closure_mkForall(x_49, x_41); +lean_dec(x_41); +x_67 = l_Lean_Meta_Closure_mkForall(x_65, x_66); lean_dec_ref(x_66); +x_68 = l_Lean_Meta_Closure_mkLambda(x_49, x_17); +x_69 = l_Lean_Meta_Closure_mkLambda(x_48, x_68); +lean_dec_ref(x_68); lean_inc(x_6); -x_68 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_68, 0, x_6); -lean_ctor_set(x_68, 1, x_7); -lean_ctor_set(x_68, 2, x_8); -lean_ctor_set(x_68, 3, x_9); -lean_ctor_set(x_68, 4, x_4); -lean_ctor_set(x_68, 5, x_10); -lean_ctor_set(x_68, 6, x_11); -lean_ctor_set(x_68, 7, x_12); -lean_ctor_set(x_68, 8, x_65); -lean_ctor_set(x_68, 9, x_67); -lean_ctor_set(x_68, 10, x_5); -lean_ctor_set(x_68, 11, x_13); -lean_ctor_set(x_43, 3, x_68); -lean_ctor_set(x_43, 2, x_51); -lean_ctor_set(x_43, 1, x_45); -lean_ctor_set(x_43, 0, x_6); -x_69 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_69, 0, x_43); -return x_69; +x_70 = lean_alloc_ctor(0, 14, 0); +lean_ctor_set(x_70, 0, x_6); +lean_ctor_set(x_70, 1, x_7); +lean_ctor_set(x_70, 2, x_8); +lean_ctor_set(x_70, 3, x_9); +lean_ctor_set(x_70, 4, x_4); +lean_ctor_set(x_70, 5, x_10); +lean_ctor_set(x_70, 6, x_11); +lean_ctor_set(x_70, 7, x_12); +lean_ctor_set(x_70, 8, x_67); +lean_ctor_set(x_70, 9, x_69); +lean_ctor_set(x_70, 10, x_5); +lean_ctor_set(x_70, 11, x_13); +lean_ctor_set(x_70, 12, x_14); +lean_ctor_set(x_70, 13, x_15); +lean_ctor_set(x_45, 3, x_70); +lean_ctor_set(x_45, 2, x_53); +lean_ctor_set(x_45, 1, x_47); +lean_ctor_set(x_45, 0, x_6); +x_71 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_71, 0, x_45); +return x_71; } } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; size_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_70 = lean_ctor_get(x_43, 0); -x_71 = lean_ctor_get(x_43, 1); -x_72 = lean_ctor_get(x_43, 2); -x_73 = lean_ctor_get(x_43, 3); +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; size_t 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_72 = lean_ctor_get(x_45, 0); +x_73 = lean_ctor_get(x_45, 1); +x_74 = lean_ctor_get(x_45, 2); +x_75 = lean_ctor_get(x_45, 3); +lean_inc(x_75); +lean_inc(x_74); lean_inc(x_73); lean_inc(x_72); -lean_inc(x_71); -lean_inc(x_70); -lean_dec(x_43); -x_74 = lean_box(0); +lean_dec(x_45); +x_76 = lean_box(0); lean_inc(x_4); -x_75 = l_Lean_mkConst(x_4, x_74); -x_76 = l_Lean_mkAppN(x_75, x_73); -lean_dec_ref(x_73); -lean_inc_ref(x_76); +x_77 = l_Lean_mkConst(x_4, x_76); +x_78 = l_Lean_mkAppN(x_77, x_75); +lean_dec_ref(x_75); +lean_inc_ref(x_78); lean_inc(x_5); -x_77 = l_Lean_MVarId_assign___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__3___redArg(x_5, x_76, x_19); -lean_dec(x_19); -if (lean_is_exclusive(x_77)) { - lean_ctor_release(x_77, 0); - x_78 = x_77; +x_79 = l_Lean_MVarId_assign___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__3___redArg(x_5, x_78, x_21); +lean_dec(x_21); +if (lean_is_exclusive(x_79)) { + lean_ctor_release(x_79, 0); + x_80 = x_79; } else { - lean_dec_ref(x_77); - x_78 = lean_box(0); + lean_dec_ref(x_79); + x_80 = lean_box(0); } -x_79 = lean_array_size(x_71); -lean_inc_ref(x_71); -x_80 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__3(x_37, x_79, x_34, x_71); -lean_dec(x_37); -lean_inc_ref(x_72); -x_81 = l_Lean_Meta_Closure_mkForall(x_72, x_39); +x_81 = lean_array_size(x_73); +lean_inc_ref(x_73); +x_82 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__3(x_39, x_81, x_36, x_73); lean_dec(x_39); -x_82 = l_Lean_Meta_Closure_mkForall(x_80, x_81); -lean_dec_ref(x_81); -x_83 = l_Lean_Meta_Closure_mkLambda(x_72, x_15); -x_84 = l_Lean_Meta_Closure_mkLambda(x_71, x_83); +lean_inc_ref(x_74); +x_83 = l_Lean_Meta_Closure_mkForall(x_74, x_41); +lean_dec(x_41); +x_84 = l_Lean_Meta_Closure_mkForall(x_82, x_83); lean_dec_ref(x_83); +x_85 = l_Lean_Meta_Closure_mkLambda(x_74, x_17); +x_86 = l_Lean_Meta_Closure_mkLambda(x_73, x_85); +lean_dec_ref(x_85); lean_inc(x_6); -x_85 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_85, 0, x_6); -lean_ctor_set(x_85, 1, x_7); -lean_ctor_set(x_85, 2, x_8); -lean_ctor_set(x_85, 3, x_9); -lean_ctor_set(x_85, 4, x_4); -lean_ctor_set(x_85, 5, x_10); -lean_ctor_set(x_85, 6, x_11); -lean_ctor_set(x_85, 7, x_12); -lean_ctor_set(x_85, 8, x_82); -lean_ctor_set(x_85, 9, x_84); -lean_ctor_set(x_85, 10, x_5); -lean_ctor_set(x_85, 11, x_13); -x_86 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_86, 0, x_6); -lean_ctor_set(x_86, 1, x_70); -lean_ctor_set(x_86, 2, x_76); -lean_ctor_set(x_86, 3, x_85); -if (lean_is_scalar(x_78)) { - x_87 = lean_alloc_ctor(0, 1, 0); +x_87 = lean_alloc_ctor(0, 14, 0); +lean_ctor_set(x_87, 0, x_6); +lean_ctor_set(x_87, 1, x_7); +lean_ctor_set(x_87, 2, x_8); +lean_ctor_set(x_87, 3, x_9); +lean_ctor_set(x_87, 4, x_4); +lean_ctor_set(x_87, 5, x_10); +lean_ctor_set(x_87, 6, x_11); +lean_ctor_set(x_87, 7, x_12); +lean_ctor_set(x_87, 8, x_84); +lean_ctor_set(x_87, 9, x_86); +lean_ctor_set(x_87, 10, x_5); +lean_ctor_set(x_87, 11, x_13); +lean_ctor_set(x_87, 12, x_14); +lean_ctor_set(x_87, 13, x_15); +x_88 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_88, 0, x_6); +lean_ctor_set(x_88, 1, x_72); +lean_ctor_set(x_88, 2, x_78); +lean_ctor_set(x_88, 3, x_87); +if (lean_is_scalar(x_80)) { + x_89 = lean_alloc_ctor(0, 1, 0); } else { - x_87 = x_78; + x_89 = x_80; } -lean_ctor_set(x_87, 0, x_86); -return x_87; +lean_ctor_set(x_89, 0, x_88); +return x_89; } } else { -uint8_t x_88; +uint8_t x_90; +lean_dec(x_41); lean_dec(x_39); -lean_dec(x_37); -lean_dec(x_19); +lean_dec(x_21); +lean_dec(x_15); +lean_dec(x_14); lean_dec_ref(x_13); lean_dec_ref(x_12); lean_dec_ref(x_11); @@ -46715,34 +46738,36 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_88 = !lean_is_exclusive(x_42); -if (x_88 == 0) +x_90 = !lean_is_exclusive(x_44); +if (x_90 == 0) { -return x_42; +return x_44; } else { -lean_object* x_89; lean_object* x_90; -x_89 = lean_ctor_get(x_42, 0); -lean_inc(x_89); -lean_dec(x_42); -x_90 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_90, 0, x_89); -return x_90; +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_44, 0); +lean_inc(x_91); +lean_dec(x_44); +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_91); +return x_92; } } } else { -uint8_t x_91; -lean_dec(x_37); +uint8_t x_93; +lean_dec(x_39); +lean_dec(x_23); +lean_dec_ref(x_22); lean_dec(x_21); lean_dec_ref(x_20); lean_dec(x_19); lean_dec_ref(x_18); -lean_dec(x_17); lean_dec_ref(x_16); -lean_dec_ref(x_14); +lean_dec(x_15); +lean_dec(x_14); lean_dec_ref(x_13); lean_dec_ref(x_12); lean_dec_ref(x_11); @@ -46754,33 +46779,35 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_3); -x_91 = !lean_is_exclusive(x_38); -if (x_91 == 0) +x_93 = !lean_is_exclusive(x_40); +if (x_93 == 0) { -return x_38; +return x_40; } else { -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_38, 0); -lean_inc(x_92); -lean_dec(x_38); -x_93 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_93, 0, x_92); -return x_93; +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_40, 0); +lean_inc(x_94); +lean_dec(x_40); +x_95 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_95, 0, x_94); +return x_95; } } } else { -uint8_t x_94; +uint8_t x_96; +lean_dec(x_23); +lean_dec_ref(x_22); lean_dec(x_21); lean_dec_ref(x_20); lean_dec(x_19); lean_dec_ref(x_18); -lean_dec(x_17); lean_dec_ref(x_16); -lean_dec_ref(x_14); +lean_dec(x_15); +lean_dec(x_14); lean_dec_ref(x_13); lean_dec_ref(x_12); lean_dec_ref(x_11); @@ -46793,33 +46820,35 @@ lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_3); lean_dec_ref(x_1); -x_94 = !lean_is_exclusive(x_35); -if (x_94 == 0) +x_96 = !lean_is_exclusive(x_37); +if (x_96 == 0) { -return x_35; +return x_37; } else { -lean_object* x_95; lean_object* x_96; -x_95 = lean_ctor_get(x_35, 0); -lean_inc(x_95); -lean_dec(x_35); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_95); -return x_96; +lean_object* x_97; lean_object* x_98; +x_97 = lean_ctor_get(x_37, 0); +lean_inc(x_97); +lean_dec(x_37); +x_98 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_98, 0, x_97); +return x_98; } } } else { -uint8_t x_97; +uint8_t x_99; +lean_dec(x_23); +lean_dec_ref(x_22); lean_dec(x_21); lean_dec_ref(x_20); lean_dec(x_19); lean_dec_ref(x_18); -lean_dec(x_17); lean_dec_ref(x_16); -lean_dec_ref(x_14); +lean_dec(x_15); +lean_dec(x_14); lean_dec_ref(x_13); lean_dec_ref(x_12); lean_dec_ref(x_11); @@ -46832,20 +46861,20 @@ lean_dec(x_5); lean_dec(x_4); lean_dec_ref(x_3); lean_dec_ref(x_1); -x_97 = !lean_is_exclusive(x_26); -if (x_97 == 0) +x_99 = !lean_is_exclusive(x_28); +if (x_99 == 0) { -return x_26; +return x_28; } else { -lean_object* x_98; lean_object* x_99; -x_98 = lean_ctor_get(x_26, 0); -lean_inc(x_98); -lean_dec(x_26); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_98); -return x_99; +lean_object* x_100; lean_object* x_101; +x_100 = lean_ctor_get(x_28, 0); +lean_inc(x_100); +lean_dec(x_28); +x_101 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_101, 0, x_100); +return x_101; } } } @@ -46873,12 +46902,14 @@ lean_object* x_19 = _args[18]; lean_object* x_20 = _args[19]; lean_object* x_21 = _args[20]; lean_object* x_22 = _args[21]; +lean_object* x_23 = _args[22]; +lean_object* x_24 = _args[23]; _start: { -lean_object* x_23; -x_23 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lam__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, x_19, x_20, x_21); -lean_dec_ref(x_15); -return x_23; +lean_object* x_25; +x_25 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lam__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, x_19, x_20, x_21, x_22, x_23); +lean_dec_ref(x_17); +return x_25; } } static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___closed__0() { @@ -46892,7 +46923,7 @@ return x_1; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor(lean_object* x_1, lean_object* x_2, 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_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; x_10 = lean_ctor_get(x_1, 0); lean_inc(x_10); x_11 = lean_ctor_get(x_1, 1); @@ -46917,33 +46948,39 @@ x_20 = lean_ctor_get(x_1, 10); lean_inc(x_20); x_21 = lean_ctor_get(x_1, 11); lean_inc_ref(x_21); +x_22 = lean_ctor_get(x_1, 12); +lean_inc(x_22); +x_23 = lean_ctor_get(x_1, 13); +lean_inc(x_23); lean_dec_ref(x_1); -x_22 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___closed__0; +x_24 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___closed__0; lean_inc_ref(x_17); lean_inc_ref(x_16); -x_23 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lam__1___boxed), 22, 13); -lean_closure_set(x_23, 0, x_18); -lean_closure_set(x_23, 1, x_22); -lean_closure_set(x_23, 2, x_2); -lean_closure_set(x_23, 3, x_14); -lean_closure_set(x_23, 4, x_20); -lean_closure_set(x_23, 5, x_10); -lean_closure_set(x_23, 6, x_11); -lean_closure_set(x_23, 7, x_12); -lean_closure_set(x_23, 8, x_13); -lean_closure_set(x_23, 9, x_15); -lean_closure_set(x_23, 10, x_16); -lean_closure_set(x_23, 11, x_17); -lean_closure_set(x_23, 12, x_21); -x_24 = 0; -x_25 = lean_box(x_24); -x_26 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__4___boxed), 11, 4); -lean_closure_set(x_26, 0, lean_box(0)); -lean_closure_set(x_26, 1, x_19); -lean_closure_set(x_26, 2, x_23); -lean_closure_set(x_26, 3, x_25); -x_27 = l_Lean_Meta_withLCtx___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_spec__1___redArg(x_16, x_17, x_26, x_3, x_4, x_5, x_6, x_7, x_8); -return x_27; +x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___lam__1___boxed), 24, 15); +lean_closure_set(x_25, 0, x_18); +lean_closure_set(x_25, 1, x_24); +lean_closure_set(x_25, 2, x_2); +lean_closure_set(x_25, 3, x_14); +lean_closure_set(x_25, 4, x_20); +lean_closure_set(x_25, 5, x_10); +lean_closure_set(x_25, 6, x_11); +lean_closure_set(x_25, 7, x_12); +lean_closure_set(x_25, 8, x_13); +lean_closure_set(x_25, 9, x_15); +lean_closure_set(x_25, 10, x_16); +lean_closure_set(x_25, 11, x_17); +lean_closure_set(x_25, 12, x_21); +lean_closure_set(x_25, 13, x_22); +lean_closure_set(x_25, 14, x_23); +x_26 = 0; +x_27 = lean_box(x_26); +x_28 = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor_spec__4___boxed), 11, 4); +lean_closure_set(x_28, 0, lean_box(0)); +lean_closure_set(x_28, 1, x_19); +lean_closure_set(x_28, 2, x_25); +lean_closure_set(x_28, 3, x_27); +x_29 = l_Lean_Meta_withLCtx___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_spec__1___redArg(x_16, x_17, x_28, x_3, x_4, x_5, x_6, x_7, x_8); +return x_29; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosureFor___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -48254,7 +48291,7 @@ goto block_55; } 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; 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_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; x_64 = lean_ctor_get(x_58, 0); x_65 = lean_ctor_get(x_58, 1); x_66 = lean_ctor_get(x_58, 2); @@ -48266,6 +48303,10 @@ x_71 = lean_ctor_get(x_58, 7); x_72 = lean_ctor_get(x_58, 8); x_73 = lean_ctor_get(x_58, 10); x_74 = lean_ctor_get(x_58, 11); +x_75 = lean_ctor_get(x_58, 12); +x_76 = lean_ctor_get(x_58, 13); +lean_inc(x_76); +lean_inc(x_75); lean_inc(x_74); lean_inc(x_73); lean_inc(x_72); @@ -48278,23 +48319,25 @@ lean_inc(x_66); lean_inc(x_65); lean_inc(x_64); lean_dec(x_58); -x_75 = lean_box(0); -x_76 = lean_array_fset(x_38, x_6, x_75); -x_77 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_77, 0, x_64); -lean_ctor_set(x_77, 1, x_65); -lean_ctor_set(x_77, 2, x_66); -lean_ctor_set(x_77, 3, x_67); -lean_ctor_set(x_77, 4, x_68); -lean_ctor_set(x_77, 5, x_69); -lean_ctor_set(x_77, 6, x_70); -lean_ctor_set(x_77, 7, x_71); -lean_ctor_set(x_77, 8, x_72); -lean_ctor_set(x_77, 9, x_46); -lean_ctor_set(x_77, 10, x_73); -lean_ctor_set(x_77, 11, x_74); -x_78 = lean_array_fset(x_76, x_6, x_77); -x_47 = x_78; +x_77 = lean_box(0); +x_78 = lean_array_fset(x_38, x_6, x_77); +x_79 = lean_alloc_ctor(0, 14, 0); +lean_ctor_set(x_79, 0, x_64); +lean_ctor_set(x_79, 1, x_65); +lean_ctor_set(x_79, 2, x_66); +lean_ctor_set(x_79, 3, x_67); +lean_ctor_set(x_79, 4, x_68); +lean_ctor_set(x_79, 5, x_69); +lean_ctor_set(x_79, 6, x_70); +lean_ctor_set(x_79, 7, x_71); +lean_ctor_set(x_79, 8, x_72); +lean_ctor_set(x_79, 9, x_46); +lean_ctor_set(x_79, 10, x_73); +lean_ctor_set(x_79, 11, x_74); +lean_ctor_set(x_79, 12, x_75); +lean_ctor_set(x_79, 13, x_76); +x_80 = lean_array_fset(x_78, x_6, x_79); +x_47 = x_80; goto block_55; } } @@ -48354,7 +48397,7 @@ return x_54; } else { -uint8_t x_79; +uint8_t x_81; lean_dec(x_39); lean_dec(x_38); lean_dec(x_13); @@ -48365,20 +48408,20 @@ lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_6); lean_dec_ref(x_1); -x_79 = !lean_is_exclusive(x_45); -if (x_79 == 0) +x_81 = !lean_is_exclusive(x_45); +if (x_81 == 0) { return x_45; } else { -lean_object* x_80; lean_object* x_81; -x_80 = lean_ctor_get(x_45, 0); -lean_inc(x_80); +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_45, 0); +lean_inc(x_82); lean_dec(x_45); -x_81 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_81, 0, x_80); -return x_81; +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_82); +return x_83; } } } @@ -49809,20 +49852,6 @@ x_9 = l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1___ return x_9; } } -static lean_object* _init_l_List_foldlM___at___00List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1_spec__1___closed__0() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereStructInst___closed__14; -x_2 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___redArg___closed__11; -x_3 = lean_box(2); -x_4 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_1); -return x_4; -} -} LEAN_EXPORT lean_object* l_List_foldlM___at___00List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1_spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -49839,7 +49868,7 @@ return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; x_11 = lean_ctor_get(x_4, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_11, 3); @@ -49866,15 +49895,19 @@ x_21 = lean_ctor_get(x_12, 9); lean_inc_ref(x_21); x_22 = lean_ctor_get(x_12, 11); lean_inc_ref(x_22); +x_23 = lean_ctor_get(x_12, 12); +lean_inc(x_23); +x_24 = lean_ctor_get(x_12, 13); +lean_inc(x_24); lean_dec_ref(x_12); -x_23 = lean_box(x_1); +x_25 = lean_box(x_1); lean_inc_ref(x_20); -x_24 = lean_alloc_closure((void*)(l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1___redArg___lam__0___boxed), 7, 2); -lean_closure_set(x_24, 0, x_20); -lean_closure_set(x_24, 1, x_23); +x_26 = lean_alloc_closure((void*)(l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1___redArg___lam__0___boxed), 7, 2); +lean_closure_set(x_26, 0, x_20); +lean_closure_set(x_26, 1, x_25); lean_inc_ref(x_15); -x_25 = l_Lean_Meta_Closure_mkForall(x_15, x_20); -x_26 = l_Lean_Meta_Closure_mkLambda(x_15, x_21); +x_27 = l_Lean_Meta_Closure_mkForall(x_15, x_20); +x_28 = l_Lean_Meta_Closure_mkLambda(x_15, x_21); lean_dec_ref(x_21); switch (x_1) { case 0: @@ -49900,15 +49933,15 @@ goto block_50; default: { uint8_t x_51; -lean_dec_ref(x_24); +lean_dec_ref(x_26); x_51 = l_Lean_Elab_DefKind_isTheorem(x_1); if (x_51 == 0) { lean_dec_ref(x_20); lean_dec_ref(x_19); lean_dec_ref(x_18); -x_27 = x_1; -x_28 = lean_box(0); +x_29 = x_1; +x_30 = lean_box(0); goto block_43; } else @@ -49929,15 +49962,17 @@ lean_inc(x_54); lean_dec_ref(x_53); x_55 = lean_unbox(x_54); lean_dec(x_54); -x_27 = x_55; -x_28 = lean_box(0); +x_29 = x_55; +x_30 = lean_box(0); goto block_43; } else { uint8_t x_56; -lean_dec_ref(x_26); -lean_dec_ref(x_25); +lean_dec_ref(x_28); +lean_dec_ref(x_27); +lean_dec(x_24); +lean_dec(x_23); lean_dec_ref(x_22); lean_dec(x_17); lean_dec_ref(x_16); @@ -49969,39 +50004,36 @@ return x_58; } block_43: { -lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_29 = lean_ctor_get(x_2, 0); -x_30 = lean_ctor_get(x_2, 1); -x_31 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); -x_32 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 1); -x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 2); -x_34 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 3); -x_35 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 4); -x_36 = lean_box(0); -lean_inc(x_30); -lean_inc(x_29); -x_37 = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(x_37, 0, x_29); -lean_ctor_set(x_37, 1, x_30); -lean_ctor_set(x_37, 2, x_16); -lean_ctor_set_uint8(x_37, sizeof(void*)*3, x_31); -lean_ctor_set_uint8(x_37, sizeof(void*)*3 + 1, x_32); -lean_ctor_set_uint8(x_37, sizeof(void*)*3 + 2, x_33); -lean_ctor_set_uint8(x_37, sizeof(void*)*3 + 3, x_34); -lean_ctor_set_uint8(x_37, sizeof(void*)*3 + 4, x_35); -x_38 = lean_unsigned_to_nat(0u); -x_39 = l_List_foldlM___at___00List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1_spec__1___closed__0; +lean_object* x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_31 = lean_ctor_get(x_2, 0); +x_32 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); +x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 1); +x_34 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 2); +x_35 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 3); +x_36 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 4); +x_37 = lean_box(0); +lean_inc(x_31); +x_38 = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(x_38, 0, x_31); +lean_ctor_set(x_38, 1, x_24); +lean_ctor_set(x_38, 2, x_16); +lean_ctor_set_uint8(x_38, sizeof(void*)*3, x_32); +lean_ctor_set_uint8(x_38, sizeof(void*)*3 + 1, x_33); +lean_ctor_set_uint8(x_38, sizeof(void*)*3 + 2, x_34); +lean_ctor_set_uint8(x_38, sizeof(void*)*3 + 3, x_35); +lean_ctor_set_uint8(x_38, sizeof(void*)*3 + 4, x_36); +x_39 = lean_unsigned_to_nat(0u); x_40 = lean_alloc_ctor(0, 9, 1); lean_ctor_set(x_40, 0, x_14); -lean_ctor_set(x_40, 1, x_36); -lean_ctor_set(x_40, 2, x_37); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_38); lean_ctor_set(x_40, 3, x_17); -lean_ctor_set(x_40, 4, x_39); -lean_ctor_set(x_40, 5, x_38); -lean_ctor_set(x_40, 6, x_25); -lean_ctor_set(x_40, 7, x_26); +lean_ctor_set(x_40, 4, x_23); +lean_ctor_set(x_40, 5, x_39); +lean_ctor_set(x_40, 6, x_27); +lean_ctor_set(x_40, 7, x_28); lean_ctor_set(x_40, 8, x_22); -lean_ctor_set_uint8(x_40, sizeof(void*)*9, x_27); +lean_ctor_set_uint8(x_40, sizeof(void*)*9, x_29); x_41 = lean_array_push(x_3, x_40); x_3 = x_41; x_4 = x_13; @@ -50014,7 +50046,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_44 = l_Lean_Meta_withLCtx___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__0___redArg(x_18, x_19, x_24, x_5, x_6, x_7, x_8); +x_44 = l_Lean_Meta_withLCtx___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__0___redArg(x_18, x_19, x_26, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; uint8_t x_46; @@ -50023,15 +50055,17 @@ lean_inc(x_45); lean_dec_ref(x_44); x_46 = lean_unbox(x_45); lean_dec(x_45); -x_27 = x_46; -x_28 = lean_box(0); +x_29 = x_46; +x_30 = lean_box(0); goto block_43; } else { uint8_t x_47; -lean_dec_ref(x_26); -lean_dec_ref(x_25); +lean_dec_ref(x_28); +lean_dec_ref(x_27); +lean_dec(x_24); +lean_dec(x_23); lean_dec_ref(x_22); lean_dec(x_17); lean_dec_ref(x_16); @@ -50088,7 +50122,7 @@ return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; x_11 = lean_ctor_get(x_4, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_11, 3); @@ -50115,15 +50149,19 @@ x_21 = lean_ctor_get(x_12, 9); lean_inc_ref(x_21); x_22 = lean_ctor_get(x_12, 11); lean_inc_ref(x_22); +x_23 = lean_ctor_get(x_12, 12); +lean_inc(x_23); +x_24 = lean_ctor_get(x_12, 13); +lean_inc(x_24); lean_dec_ref(x_12); -x_23 = lean_box(x_1); +x_25 = lean_box(x_1); lean_inc_ref(x_20); -x_24 = lean_alloc_closure((void*)(l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1___redArg___lam__0___boxed), 7, 2); -lean_closure_set(x_24, 0, x_20); -lean_closure_set(x_24, 1, x_23); +x_26 = lean_alloc_closure((void*)(l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1___redArg___lam__0___boxed), 7, 2); +lean_closure_set(x_26, 0, x_20); +lean_closure_set(x_26, 1, x_25); lean_inc_ref(x_15); -x_25 = l_Lean_Meta_Closure_mkForall(x_15, x_20); -x_26 = l_Lean_Meta_Closure_mkLambda(x_15, x_21); +x_27 = l_Lean_Meta_Closure_mkForall(x_15, x_20); +x_28 = l_Lean_Meta_Closure_mkLambda(x_15, x_21); lean_dec_ref(x_21); switch (x_1) { case 0: @@ -50149,15 +50187,15 @@ goto block_50; default: { uint8_t x_51; -lean_dec_ref(x_24); +lean_dec_ref(x_26); x_51 = l_Lean_Elab_DefKind_isTheorem(x_1); if (x_51 == 0) { lean_dec_ref(x_20); lean_dec_ref(x_19); lean_dec_ref(x_18); -x_27 = x_1; -x_28 = lean_box(0); +x_29 = x_1; +x_30 = lean_box(0); goto block_43; } else @@ -50178,15 +50216,17 @@ lean_inc(x_54); lean_dec_ref(x_53); x_55 = lean_unbox(x_54); lean_dec(x_54); -x_27 = x_55; -x_28 = lean_box(0); +x_29 = x_55; +x_30 = lean_box(0); goto block_43; } else { uint8_t x_56; -lean_dec_ref(x_26); -lean_dec_ref(x_25); +lean_dec_ref(x_28); +lean_dec_ref(x_27); +lean_dec(x_24); +lean_dec(x_23); lean_dec_ref(x_22); lean_dec(x_17); lean_dec_ref(x_16); @@ -50218,39 +50258,36 @@ return x_58; } block_43: { -lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_29 = lean_ctor_get(x_2, 0); -x_30 = lean_ctor_get(x_2, 1); -x_31 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); -x_32 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 1); -x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 2); -x_34 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 3); -x_35 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 4); -x_36 = lean_box(0); -lean_inc(x_30); -lean_inc(x_29); -x_37 = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(x_37, 0, x_29); -lean_ctor_set(x_37, 1, x_30); -lean_ctor_set(x_37, 2, x_16); -lean_ctor_set_uint8(x_37, sizeof(void*)*3, x_31); -lean_ctor_set_uint8(x_37, sizeof(void*)*3 + 1, x_32); -lean_ctor_set_uint8(x_37, sizeof(void*)*3 + 2, x_33); -lean_ctor_set_uint8(x_37, sizeof(void*)*3 + 3, x_34); -lean_ctor_set_uint8(x_37, sizeof(void*)*3 + 4, x_35); -x_38 = lean_unsigned_to_nat(0u); -x_39 = l_List_foldlM___at___00List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1_spec__1___closed__0; +lean_object* x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_31 = lean_ctor_get(x_2, 0); +x_32 = lean_ctor_get_uint8(x_2, sizeof(void*)*3); +x_33 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 1); +x_34 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 2); +x_35 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 3); +x_36 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 4); +x_37 = lean_box(0); +lean_inc(x_31); +x_38 = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(x_38, 0, x_31); +lean_ctor_set(x_38, 1, x_24); +lean_ctor_set(x_38, 2, x_16); +lean_ctor_set_uint8(x_38, sizeof(void*)*3, x_32); +lean_ctor_set_uint8(x_38, sizeof(void*)*3 + 1, x_33); +lean_ctor_set_uint8(x_38, sizeof(void*)*3 + 2, x_34); +lean_ctor_set_uint8(x_38, sizeof(void*)*3 + 3, x_35); +lean_ctor_set_uint8(x_38, sizeof(void*)*3 + 4, x_36); +x_39 = lean_unsigned_to_nat(0u); x_40 = lean_alloc_ctor(0, 9, 1); lean_ctor_set(x_40, 0, x_14); -lean_ctor_set(x_40, 1, x_36); -lean_ctor_set(x_40, 2, x_37); +lean_ctor_set(x_40, 1, x_37); +lean_ctor_set(x_40, 2, x_38); lean_ctor_set(x_40, 3, x_17); -lean_ctor_set(x_40, 4, x_39); -lean_ctor_set(x_40, 5, x_38); -lean_ctor_set(x_40, 6, x_25); -lean_ctor_set(x_40, 7, x_26); +lean_ctor_set(x_40, 4, x_23); +lean_ctor_set(x_40, 5, x_39); +lean_ctor_set(x_40, 6, x_27); +lean_ctor_set(x_40, 7, x_28); lean_ctor_set(x_40, 8, x_22); -lean_ctor_set_uint8(x_40, sizeof(void*)*9, x_27); +lean_ctor_set_uint8(x_40, sizeof(void*)*9, x_29); x_41 = lean_array_push(x_3, x_40); x_42 = l_List_foldlM___at___00List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1_spec__1(x_1, x_2, x_41, x_13, x_5, x_6, x_7, x_8); return x_42; @@ -50262,7 +50299,7 @@ lean_inc(x_8); lean_inc_ref(x_7); lean_inc(x_6); lean_inc_ref(x_5); -x_44 = l_Lean_Meta_withLCtx___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__0___redArg(x_18, x_19, x_24, x_5, x_6, x_7, x_8); +x_44 = l_Lean_Meta_withLCtx___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__0___redArg(x_18, x_19, x_26, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; uint8_t x_46; @@ -50271,15 +50308,17 @@ lean_inc(x_45); lean_dec_ref(x_44); x_46 = lean_unbox(x_45); lean_dec(x_45); -x_27 = x_46; -x_28 = lean_box(0); +x_29 = x_46; +x_30 = lean_box(0); goto block_43; } else { uint8_t x_47; -lean_dec_ref(x_26); -lean_dec_ref(x_25); +lean_dec_ref(x_28); +lean_dec_ref(x_27); +lean_dec(x_24); +lean_dec(x_23); lean_dec_ref(x_22); lean_dec(x_17); lean_dec_ref(x_16); @@ -50727,8 +50766,8 @@ lean_ctor_set(x_11, 1, x_3); lean_ctor_set(x_11, 2, x_10); lean_ctor_set_uint8(x_11, sizeof(void*)*3, x_4); lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 1, x_5); -lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 2, x_7); -lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 3, x_8); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 2, x_8); +lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 3, x_7); lean_ctor_set_uint8(x_11, sizeof(void*)*3 + 4, x_9); return x_11; } @@ -50738,8 +50777,8 @@ uint8_t x_16; x_16 = lean_nat_dec_lt(x_6, x_13); if (x_16 == 0) { -x_7 = x_14; -x_8 = x_15; +x_7 = x_15; +x_8 = x_14; x_9 = x_5; goto block_12; } @@ -50747,8 +50786,8 @@ else { if (x_16 == 0) { -x_7 = x_14; -x_8 = x_15; +x_7 = x_15; +x_8 = x_14; x_9 = x_5; goto block_12; } @@ -50758,8 +50797,8 @@ size_t x_17; size_t x_18; uint8_t x_19; x_17 = 0; x_18 = lean_usize_of_nat(x_13); x_19 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__0(x_1, x_17, x_18); -x_7 = x_14; -x_8 = x_15; +x_7 = x_15; +x_8 = x_14; x_9 = x_19; goto block_12; } @@ -51429,7 +51468,7 @@ goto _start; } 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; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; x_18 = lean_ctor_get(x_6, 0); x_19 = lean_ctor_get(x_6, 1); x_20 = lean_ctor_get(x_6, 2); @@ -51442,6 +51481,10 @@ x_26 = lean_ctor_get(x_6, 8); x_27 = lean_ctor_get(x_6, 9); x_28 = lean_ctor_get(x_6, 10); x_29 = lean_ctor_get(x_6, 11); +x_30 = lean_ctor_get(x_6, 12); +x_31 = lean_ctor_get(x_6, 13); +lean_inc(x_31); +lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); @@ -51456,25 +51499,27 @@ lean_inc(x_19); lean_inc(x_18); lean_dec(x_6); lean_inc(x_1); -x_30 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_26); +x_32 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_26); lean_dec_ref(x_26); lean_inc(x_1); -x_31 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_27); +x_33 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_27); lean_dec_ref(x_27); -x_32 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_32, 0, x_18); -lean_ctor_set(x_32, 1, x_19); -lean_ctor_set(x_32, 2, x_20); -lean_ctor_set(x_32, 3, x_21); -lean_ctor_set(x_32, 4, x_22); -lean_ctor_set(x_32, 5, x_23); -lean_ctor_set(x_32, 6, x_24); -lean_ctor_set(x_32, 7, x_25); -lean_ctor_set(x_32, 8, x_30); -lean_ctor_set(x_32, 9, x_31); -lean_ctor_set(x_32, 10, x_28); -lean_ctor_set(x_32, 11, x_29); -lean_ctor_set(x_5, 3, x_32); +x_34 = lean_alloc_ctor(0, 14, 0); +lean_ctor_set(x_34, 0, x_18); +lean_ctor_set(x_34, 1, x_19); +lean_ctor_set(x_34, 2, x_20); +lean_ctor_set(x_34, 3, x_21); +lean_ctor_set(x_34, 4, x_22); +lean_ctor_set(x_34, 5, x_23); +lean_ctor_set(x_34, 6, x_24); +lean_ctor_set(x_34, 7, x_25); +lean_ctor_set(x_34, 8, x_32); +lean_ctor_set(x_34, 9, x_33); +lean_ctor_set(x_34, 10, x_28); +lean_ctor_set(x_34, 11, x_29); +lean_ctor_set(x_34, 12, x_30); +lean_ctor_set(x_34, 13, x_31); +lean_ctor_set(x_5, 3, x_34); lean_ctor_set(x_2, 1, x_3); { lean_object* _tmp_1 = x_8; @@ -51487,38 +51532,42 @@ goto _start; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_34 = lean_ctor_get(x_5, 0); -x_35 = lean_ctor_get(x_5, 1); -x_36 = lean_ctor_get(x_5, 2); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_5); -x_37 = lean_ctor_get(x_6, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_6, 1); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_36 = lean_ctor_get(x_5, 0); +x_37 = lean_ctor_get(x_5, 1); +x_38 = lean_ctor_get(x_5, 2); lean_inc(x_38); -x_39 = lean_ctor_get(x_6, 2); -lean_inc_ref(x_39); -x_40 = lean_ctor_get(x_6, 3); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_5); +x_39 = lean_ctor_get(x_6, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_6, 1); lean_inc(x_40); -x_41 = lean_ctor_get(x_6, 4); -lean_inc(x_41); -x_42 = lean_ctor_get(x_6, 5); +x_41 = lean_ctor_get(x_6, 2); +lean_inc_ref(x_41); +x_42 = lean_ctor_get(x_6, 3); lean_inc(x_42); -x_43 = lean_ctor_get(x_6, 6); -lean_inc_ref(x_43); -x_44 = lean_ctor_get(x_6, 7); -lean_inc_ref(x_44); -x_45 = lean_ctor_get(x_6, 8); +x_43 = lean_ctor_get(x_6, 4); +lean_inc(x_43); +x_44 = lean_ctor_get(x_6, 5); +lean_inc(x_44); +x_45 = lean_ctor_get(x_6, 6); lean_inc_ref(x_45); -x_46 = lean_ctor_get(x_6, 9); +x_46 = lean_ctor_get(x_6, 7); lean_inc_ref(x_46); -x_47 = lean_ctor_get(x_6, 10); -lean_inc(x_47); -x_48 = lean_ctor_get(x_6, 11); +x_47 = lean_ctor_get(x_6, 8); +lean_inc_ref(x_47); +x_48 = lean_ctor_get(x_6, 9); lean_inc_ref(x_48); +x_49 = lean_ctor_get(x_6, 10); +lean_inc(x_49); +x_50 = lean_ctor_get(x_6, 11); +lean_inc_ref(x_50); +x_51 = lean_ctor_get(x_6, 12); +lean_inc(x_51); +x_52 = lean_ctor_get(x_6, 13); +lean_inc(x_52); if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 0); lean_ctor_release(x_6, 1); @@ -51532,41 +51581,45 @@ if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 9); lean_ctor_release(x_6, 10); lean_ctor_release(x_6, 11); - x_49 = x_6; + lean_ctor_release(x_6, 12); + lean_ctor_release(x_6, 13); + x_53 = x_6; } else { lean_dec_ref(x_6); - x_49 = lean_box(0); + x_53 = lean_box(0); } lean_inc(x_1); -x_50 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_45); -lean_dec_ref(x_45); +x_54 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_47); +lean_dec_ref(x_47); lean_inc(x_1); -x_51 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_46); -lean_dec_ref(x_46); -if (lean_is_scalar(x_49)) { - x_52 = lean_alloc_ctor(0, 12, 0); +x_55 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_48); +lean_dec_ref(x_48); +if (lean_is_scalar(x_53)) { + x_56 = lean_alloc_ctor(0, 14, 0); } else { - x_52 = x_49; + x_56 = x_53; } -lean_ctor_set(x_52, 0, x_37); -lean_ctor_set(x_52, 1, x_38); -lean_ctor_set(x_52, 2, x_39); -lean_ctor_set(x_52, 3, x_40); -lean_ctor_set(x_52, 4, x_41); -lean_ctor_set(x_52, 5, x_42); -lean_ctor_set(x_52, 6, x_43); -lean_ctor_set(x_52, 7, x_44); -lean_ctor_set(x_52, 8, x_50); -lean_ctor_set(x_52, 9, x_51); -lean_ctor_set(x_52, 10, x_47); -lean_ctor_set(x_52, 11, x_48); -x_53 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_53, 0, x_34); -lean_ctor_set(x_53, 1, x_35); -lean_ctor_set(x_53, 2, x_36); -lean_ctor_set(x_53, 3, x_52); +lean_ctor_set(x_56, 0, x_39); +lean_ctor_set(x_56, 1, x_40); +lean_ctor_set(x_56, 2, x_41); +lean_ctor_set(x_56, 3, x_42); +lean_ctor_set(x_56, 4, x_43); +lean_ctor_set(x_56, 5, x_44); +lean_ctor_set(x_56, 6, x_45); +lean_ctor_set(x_56, 7, x_46); +lean_ctor_set(x_56, 8, x_54); +lean_ctor_set(x_56, 9, x_55); +lean_ctor_set(x_56, 10, x_49); +lean_ctor_set(x_56, 11, x_50); +lean_ctor_set(x_56, 12, x_51); +lean_ctor_set(x_56, 13, x_52); +x_57 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_57, 0, x_36); +lean_ctor_set(x_57, 1, x_37); +lean_ctor_set(x_57, 2, x_38); +lean_ctor_set(x_57, 3, x_56); lean_ctor_set(x_2, 1, x_3); -lean_ctor_set(x_2, 0, x_53); +lean_ctor_set(x_2, 0, x_57); { lean_object* _tmp_1 = x_8; lean_object* _tmp_2 = x_2; @@ -51578,50 +51631,54 @@ goto _start; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_55 = lean_ctor_get(x_2, 1); -lean_inc(x_55); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_59 = lean_ctor_get(x_2, 1); +lean_inc(x_59); lean_dec(x_2); -x_56 = lean_ctor_get(x_5, 0); -lean_inc(x_56); -x_57 = lean_ctor_get(x_5, 1); -lean_inc_ref(x_57); -x_58 = lean_ctor_get(x_5, 2); -lean_inc_ref(x_58); +x_60 = lean_ctor_get(x_5, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_5, 1); +lean_inc_ref(x_61); +x_62 = lean_ctor_get(x_5, 2); +lean_inc_ref(x_62); if (lean_is_exclusive(x_5)) { lean_ctor_release(x_5, 0); lean_ctor_release(x_5, 1); lean_ctor_release(x_5, 2); lean_ctor_release(x_5, 3); - x_59 = x_5; + x_63 = x_5; } else { lean_dec_ref(x_5); - x_59 = lean_box(0); + x_63 = lean_box(0); } -x_60 = lean_ctor_get(x_6, 0); -lean_inc(x_60); -x_61 = lean_ctor_get(x_6, 1); -lean_inc(x_61); -x_62 = lean_ctor_get(x_6, 2); -lean_inc_ref(x_62); -x_63 = lean_ctor_get(x_6, 3); -lean_inc(x_63); -x_64 = lean_ctor_get(x_6, 4); +x_64 = lean_ctor_get(x_6, 0); lean_inc(x_64); -x_65 = lean_ctor_get(x_6, 5); +x_65 = lean_ctor_get(x_6, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_6, 6); +x_66 = lean_ctor_get(x_6, 2); lean_inc_ref(x_66); -x_67 = lean_ctor_get(x_6, 7); -lean_inc_ref(x_67); -x_68 = lean_ctor_get(x_6, 8); -lean_inc_ref(x_68); -x_69 = lean_ctor_get(x_6, 9); -lean_inc_ref(x_69); -x_70 = lean_ctor_get(x_6, 10); -lean_inc(x_70); -x_71 = lean_ctor_get(x_6, 11); +x_67 = lean_ctor_get(x_6, 3); +lean_inc(x_67); +x_68 = lean_ctor_get(x_6, 4); +lean_inc(x_68); +x_69 = lean_ctor_get(x_6, 5); +lean_inc(x_69); +x_70 = lean_ctor_get(x_6, 6); +lean_inc_ref(x_70); +x_71 = lean_ctor_get(x_6, 7); lean_inc_ref(x_71); +x_72 = lean_ctor_get(x_6, 8); +lean_inc_ref(x_72); +x_73 = lean_ctor_get(x_6, 9); +lean_inc_ref(x_73); +x_74 = lean_ctor_get(x_6, 10); +lean_inc(x_74); +x_75 = lean_ctor_get(x_6, 11); +lean_inc_ref(x_75); +x_76 = lean_ctor_get(x_6, 12); +lean_inc(x_76); +x_77 = lean_ctor_get(x_6, 13); +lean_inc(x_77); if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 0); lean_ctor_release(x_6, 1); @@ -51635,48 +51692,52 @@ if (lean_is_exclusive(x_6)) { lean_ctor_release(x_6, 9); lean_ctor_release(x_6, 10); lean_ctor_release(x_6, 11); - x_72 = x_6; + lean_ctor_release(x_6, 12); + lean_ctor_release(x_6, 13); + x_78 = x_6; } else { lean_dec_ref(x_6); - x_72 = lean_box(0); + x_78 = lean_box(0); } lean_inc(x_1); -x_73 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_68); -lean_dec_ref(x_68); +x_79 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_72); +lean_dec_ref(x_72); lean_inc(x_1); -x_74 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_69); -lean_dec_ref(x_69); -if (lean_is_scalar(x_72)) { - x_75 = lean_alloc_ctor(0, 12, 0); +x_80 = l_Lean_Elab_Term_MutualClosure_Replacement_apply(x_1, x_73); +lean_dec_ref(x_73); +if (lean_is_scalar(x_78)) { + x_81 = lean_alloc_ctor(0, 14, 0); } else { - x_75 = x_72; + x_81 = x_78; } -lean_ctor_set(x_75, 0, x_60); -lean_ctor_set(x_75, 1, x_61); -lean_ctor_set(x_75, 2, x_62); -lean_ctor_set(x_75, 3, x_63); -lean_ctor_set(x_75, 4, x_64); -lean_ctor_set(x_75, 5, x_65); -lean_ctor_set(x_75, 6, x_66); -lean_ctor_set(x_75, 7, x_67); -lean_ctor_set(x_75, 8, x_73); -lean_ctor_set(x_75, 9, x_74); -lean_ctor_set(x_75, 10, x_70); -lean_ctor_set(x_75, 11, x_71); -if (lean_is_scalar(x_59)) { - x_76 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_81, 0, x_64); +lean_ctor_set(x_81, 1, x_65); +lean_ctor_set(x_81, 2, x_66); +lean_ctor_set(x_81, 3, x_67); +lean_ctor_set(x_81, 4, x_68); +lean_ctor_set(x_81, 5, x_69); +lean_ctor_set(x_81, 6, x_70); +lean_ctor_set(x_81, 7, x_71); +lean_ctor_set(x_81, 8, x_79); +lean_ctor_set(x_81, 9, x_80); +lean_ctor_set(x_81, 10, x_74); +lean_ctor_set(x_81, 11, x_75); +lean_ctor_set(x_81, 12, x_76); +lean_ctor_set(x_81, 13, x_77); +if (lean_is_scalar(x_63)) { + x_82 = lean_alloc_ctor(0, 4, 0); } else { - x_76 = x_59; + x_82 = x_63; } -lean_ctor_set(x_76, 0, x_56); -lean_ctor_set(x_76, 1, x_57); -lean_ctor_set(x_76, 2, x_58); -lean_ctor_set(x_76, 3, x_75); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_3); -x_2 = x_55; -x_3 = x_77; +lean_ctor_set(x_82, 0, x_60); +lean_ctor_set(x_82, 1, x_61); +lean_ctor_set(x_82, 2, x_62); +lean_ctor_set(x_82, 3, x_81); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_3); +x_2 = x_59; +x_3 = x_83; goto _start; } } @@ -51918,73 +51979,51 @@ x_6 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_El return x_6; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20) { _start: { -lean_object* x_20; -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc_ref(x_1); -x_20 = l_Lean_Meta_check(x_1, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; -lean_dec_ref(x_20); -lean_inc(x_18); -lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -lean_inc_ref(x_2); -x_21 = l_Lean_Meta_check(x_2, x_15, x_16, x_17, x_18); -if (lean_obj_tag(x_21) == 0) -{ lean_object* x_22; -lean_dec_ref(x_21); +lean_inc(x_20); +lean_inc_ref(x_19); lean_inc(x_18); lean_inc_ref(x_17); -lean_inc(x_16); -lean_inc_ref(x_15); -x_22 = l_Lean_Meta_instantiateMVarsProfiling(x_2, x_15, x_16, x_17, x_18); +lean_inc_ref(x_1); +x_22 = l_Lean_Meta_check(x_1, x_17, x_18, x_19, x_20); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); +lean_object* x_23; lean_dec_ref(x_22); -x_24 = l_Lean_Meta_instantiateMVarsProfiling(x_1, x_15, x_16, x_17, x_18); +lean_inc(x_20); +lean_inc_ref(x_19); +lean_inc(x_18); +lean_inc_ref(x_17); +lean_inc_ref(x_2); +x_23 = l_Lean_Meta_check(x_2, x_17, x_18, x_19, x_20); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +lean_dec_ref(x_23); +lean_inc(x_20); +lean_inc_ref(x_19); +lean_inc(x_18); +lean_inc_ref(x_17); +x_24 = l_Lean_Meta_instantiateMVarsProfiling(x_2, x_17, x_18, x_19, x_20); if (lean_obj_tag(x_24) == 0) { -uint8_t x_25; -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec_ref(x_24); +x_26 = l_Lean_Meta_instantiateMVarsProfiling(x_1, x_17, x_18, x_19, x_20); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_alloc_ctor(0, 12, 0); -lean_ctor_set(x_27, 0, x_3); -lean_ctor_set(x_27, 1, x_4); -lean_ctor_set(x_27, 2, x_5); -lean_ctor_set(x_27, 3, x_6); -lean_ctor_set(x_27, 4, x_7); -lean_ctor_set(x_27, 5, x_8); -lean_ctor_set(x_27, 6, x_9); -lean_ctor_set(x_27, 7, x_10); -lean_ctor_set(x_27, 8, x_26); -lean_ctor_set(x_27, 9, x_23); -lean_ctor_set(x_27, 10, x_11); -lean_ctor_set(x_27, 11, x_12); -lean_ctor_set(x_24, 0, x_27); -return x_24; -} -else +uint8_t x_27; +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_24, 0); -lean_inc(x_28); -lean_dec(x_24); -x_29 = lean_alloc_ctor(0, 12, 0); +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_alloc_ctor(0, 14, 0); lean_ctor_set(x_29, 0, x_3); lean_ctor_set(x_29, 1, x_4); lean_ctor_set(x_29, 2, x_5); @@ -51994,18 +52033,46 @@ lean_ctor_set(x_29, 5, x_8); lean_ctor_set(x_29, 6, x_9); lean_ctor_set(x_29, 7, x_10); lean_ctor_set(x_29, 8, x_28); -lean_ctor_set(x_29, 9, x_23); +lean_ctor_set(x_29, 9, x_25); lean_ctor_set(x_29, 10, x_11); lean_ctor_set(x_29, 11, x_12); -x_30 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_30, 0, x_29); -return x_30; +lean_ctor_set(x_29, 12, x_13); +lean_ctor_set(x_29, 13, x_14); +lean_ctor_set(x_26, 0, x_29); +return x_26; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_26, 0); +lean_inc(x_30); +lean_dec(x_26); +x_31 = lean_alloc_ctor(0, 14, 0); +lean_ctor_set(x_31, 0, x_3); +lean_ctor_set(x_31, 1, x_4); +lean_ctor_set(x_31, 2, x_5); +lean_ctor_set(x_31, 3, x_6); +lean_ctor_set(x_31, 4, x_7); +lean_ctor_set(x_31, 5, x_8); +lean_ctor_set(x_31, 6, x_9); +lean_ctor_set(x_31, 7, x_10); +lean_ctor_set(x_31, 8, x_30); +lean_ctor_set(x_31, 9, x_25); +lean_ctor_set(x_31, 10, x_11); +lean_ctor_set(x_31, 11, x_12); +lean_ctor_set(x_31, 12, x_13); +lean_ctor_set(x_31, 13, x_14); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_31); +return x_32; } } else { -uint8_t x_31; -lean_dec(x_23); +uint8_t x_33; +lean_dec(x_25); +lean_dec(x_14); +lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); lean_dec_ref(x_10); @@ -52016,30 +52083,69 @@ lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); lean_dec(x_3); -x_31 = !lean_is_exclusive(x_24); -if (x_31 == 0) +x_33 = !lean_is_exclusive(x_26); +if (x_33 == 0) +{ +return x_26; +} +else +{ +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_26, 0); +lean_inc(x_34); +lean_dec(x_26); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_34); +return x_35; +} +} +} +else +{ +uint8_t x_36; +lean_dec(x_20); +lean_dec_ref(x_19); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_1); +x_36 = !lean_is_exclusive(x_24); +if (x_36 == 0) { return x_24; } else { -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_24, 0); -lean_inc(x_32); +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_24, 0); +lean_inc(x_37); lean_dec(x_24); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -return x_33; +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +return x_38; } } } else { -uint8_t x_34; +uint8_t x_39; +lean_dec(x_20); +lean_dec_ref(x_19); lean_dec(x_18); lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); +lean_dec(x_14); +lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); lean_dec_ref(x_10); @@ -52050,93 +52156,60 @@ lean_dec(x_6); lean_dec_ref(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec_ref(x_2); lean_dec_ref(x_1); -x_34 = !lean_is_exclusive(x_22); -if (x_34 == 0) +x_39 = !lean_is_exclusive(x_23); +if (x_39 == 0) +{ +return x_23; +} +else +{ +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_23, 0); +lean_inc(x_40); +lean_dec(x_23); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +return x_41; +} +} +} +else +{ +uint8_t x_42; +lean_dec(x_20); +lean_dec_ref(x_19); +lean_dec(x_18); +lean_dec_ref(x_17); +lean_dec(x_14); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_42 = !lean_is_exclusive(x_22); +if (x_42 == 0) { return x_22; } else { -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_22, 0); -lean_inc(x_35); +lean_object* x_43; lean_object* x_44; +x_43 = lean_ctor_get(x_22, 0); +lean_inc(x_43); lean_dec(x_22); -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_35); -return x_36; -} -} -} -else -{ -uint8_t x_37; -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_37 = !lean_is_exclusive(x_21); -if (x_37 == 0) -{ -return x_21; -} -else -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_21, 0); -lean_inc(x_38); -lean_dec(x_21); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_38); -return x_39; -} -} -} -else -{ -uint8_t x_40; -lean_dec(x_18); -lean_dec_ref(x_17); -lean_dec(x_16); -lean_dec_ref(x_15); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec_ref(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec_ref(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_40 = !lean_is_exclusive(x_20); -if (x_40 == 0) -{ -return x_20; -} -else -{ -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_20, 0); -lean_inc(x_41); -lean_dec(x_20); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -return x_42; +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +return x_44; } } } @@ -52161,13 +52234,15 @@ lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; +lean_object* x_20 = _args[19]; +lean_object* x_21 = _args[20]; _start: { -lean_object* x_20; -x_20 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0(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_14); -lean_dec_ref(x_13); -return x_20; +lean_object* x_22; +x_22 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0(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, x_19, x_20); +lean_dec(x_16); +lean_dec_ref(x_15); +return x_22; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0(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) { @@ -52190,7 +52265,7 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; 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_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; x_13 = lean_array_uget(x_3, x_2); x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); @@ -52216,47 +52291,53 @@ x_24 = lean_ctor_get(x_13, 10); lean_inc(x_24); x_25 = lean_ctor_get(x_13, 11); lean_inc_ref(x_25); +x_26 = lean_ctor_get(x_13, 12); +lean_inc(x_26); +x_27 = lean_ctor_get(x_13, 13); +lean_inc(x_27); lean_dec(x_13); lean_inc_ref(x_21); lean_inc_ref(x_20); -x_26 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0___boxed), 19, 12); -lean_closure_set(x_26, 0, x_22); -lean_closure_set(x_26, 1, x_23); -lean_closure_set(x_26, 2, x_14); -lean_closure_set(x_26, 3, x_15); -lean_closure_set(x_26, 4, x_16); -lean_closure_set(x_26, 5, x_17); -lean_closure_set(x_26, 6, x_18); -lean_closure_set(x_26, 7, x_19); -lean_closure_set(x_26, 8, x_20); -lean_closure_set(x_26, 9, x_21); -lean_closure_set(x_26, 10, x_24); -lean_closure_set(x_26, 11, x_25); +x_28 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0___boxed), 21, 14); +lean_closure_set(x_28, 0, x_22); +lean_closure_set(x_28, 1, x_23); +lean_closure_set(x_28, 2, x_14); +lean_closure_set(x_28, 3, x_15); +lean_closure_set(x_28, 4, x_16); +lean_closure_set(x_28, 5, x_17); +lean_closure_set(x_28, 6, x_18); +lean_closure_set(x_28, 7, x_19); +lean_closure_set(x_28, 8, x_20); +lean_closure_set(x_28, 9, x_21); +lean_closure_set(x_28, 10, x_24); +lean_closure_set(x_28, 11, x_25); +lean_closure_set(x_28, 12, x_26); +lean_closure_set(x_28, 13, x_27); lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); lean_inc(x_5); lean_inc_ref(x_4); -x_27 = l_Lean_Meta_withLCtx___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_spec__1___redArg(x_20, x_21, x_26, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_27) == 0) +x_29 = l_Lean_Meta_withLCtx___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_spec__1___redArg(x_20, x_21, x_28, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; size_t x_32; lean_object* x_33; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -lean_dec_ref(x_27); -x_29 = lean_unsigned_to_nat(0u); -x_30 = lean_array_uset(x_3, x_2, x_29); -x_31 = 1; -x_32 = lean_usize_add(x_2, x_31); -x_33 = lean_array_uset(x_30, x_2, x_28); -x_2 = x_32; -x_3 = x_33; +lean_object* x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +lean_dec_ref(x_29); +x_31 = lean_unsigned_to_nat(0u); +x_32 = lean_array_uset(x_3, x_2, x_31); +x_33 = 1; +x_34 = lean_usize_add(x_2, x_33); +x_35 = lean_array_uset(x_32, x_2, x_30); +x_2 = x_34; +x_3 = x_35; goto _start; } else { -uint8_t x_35; +uint8_t x_37; lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); @@ -52264,20 +52345,20 @@ lean_dec_ref(x_6); lean_dec(x_5); lean_dec_ref(x_4); lean_dec_ref(x_3); -x_35 = !lean_is_exclusive(x_27); -if (x_35 == 0) +x_37 = !lean_is_exclusive(x_29); +if (x_37 == 0) { -return x_27; +return x_29; } else { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_27, 0); -lean_inc(x_36); -lean_dec(x_27); -x_37 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_37, 0, x_36); -return x_37; +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_29, 0); +lean_inc(x_38); +lean_dec(x_29); +x_39 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_39, 0, x_38); +return x_39; } } } @@ -59502,9 +59583,9 @@ lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_34 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___redArg(x_5, x_30, x_29, x_33, x_32, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec_ref(x_29); +x_34 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___redArg(x_5, x_29, x_30, x_31, x_32, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec_ref(x_30); +lean_dec_ref(x_29); lean_dec_ref(x_5); x_15 = x_34; goto block_28; @@ -59513,21 +59594,21 @@ block_45: { lean_object* x_42; uint8_t x_43; x_42 = l_Lean_Elab_Term_deprecated_oldSectionVars; -x_43 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(x_39, x_42); -lean_dec_ref(x_39); +x_43 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(x_40, x_42); +lean_dec_ref(x_40); if (x_43 == 0) { lean_object* x_44; -lean_dec(x_41); -lean_dec_ref(x_36); +lean_dec(x_38); +lean_dec_ref(x_37); lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_44 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg(x_5, x_6, x_37, x_40, x_43, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec_ref(x_37); +x_44 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg(x_5, x_6, x_36, x_39, x_43, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec_ref(x_36); lean_dec_ref(x_6); lean_dec_ref(x_5); x_15 = x_44; @@ -59538,9 +59619,9 @@ else lean_dec_ref(x_6); x_29 = x_36; x_30 = x_37; -x_31 = lean_box(0); -x_32 = x_40; -x_33 = x_41; +x_31 = x_38; +x_32 = x_39; +x_33 = lean_box(0); goto block_35; } } @@ -59650,12 +59731,12 @@ x_78 = lean_nat_dec_lt(x_2, x_57); if (x_78 == 0) { lean_inc_ref(x_74); -x_36 = x_46; -x_37 = x_50; -x_38 = lean_box(0); -x_39 = x_74; -x_40 = x_77; -x_41 = x_55; +x_36 = x_50; +x_37 = x_46; +x_38 = x_55; +x_39 = x_77; +x_40 = x_74; +x_41 = lean_box(0); goto block_45; } else @@ -59663,12 +59744,12 @@ else if (x_78 == 0) { lean_inc_ref(x_74); -x_36 = x_46; -x_37 = x_50; -x_38 = lean_box(0); -x_39 = x_74; -x_40 = x_77; -x_41 = x_55; +x_36 = x_50; +x_37 = x_46; +x_38 = x_55; +x_39 = x_77; +x_40 = x_74; +x_41 = lean_box(0); goto block_45; } else @@ -59679,22 +59760,22 @@ x_80 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__priv if (x_80 == 0) { lean_inc_ref(x_74); -x_36 = x_46; -x_37 = x_50; -x_38 = lean_box(0); -x_39 = x_74; -x_40 = x_77; -x_41 = x_55; +x_36 = x_50; +x_37 = x_46; +x_38 = x_55; +x_39 = x_77; +x_40 = x_74; +x_41 = lean_box(0); goto block_45; } else { lean_dec_ref(x_6); -x_29 = x_46; -x_30 = x_50; -x_31 = lean_box(0); +x_29 = x_50; +x_30 = x_46; +x_31 = x_55; x_32 = x_77; -x_33 = x_55; +x_33 = lean_box(0); goto block_35; } } @@ -59885,7 +59966,7 @@ if (x_99 == 0) { lean_object* x_100; lean_inc_ref(x_12); -x_100 = l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2_spec__3(x_97, x_8, x_9, x_10, x_11, x_12, x_13); +x_100 = l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2_spec__3(x_98, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_100) == 0) { size_t x_101; lean_object* x_102; @@ -59968,7 +60049,7 @@ lean_dec_ref(x_5); lean_dec(x_2); lean_dec_ref(x_1); x_107 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_107, 0, x_97); +lean_ctor_set(x_107, 0, x_98); return x_107; } } @@ -59981,15 +60062,15 @@ if (x_111 == 0) uint8_t x_112; lean_inc_ref(x_109); x_112 = l_Lean_Exception_isRuntime(x_109); -x_97 = x_109; -x_98 = lean_box(0); +x_97 = lean_box(0); +x_98 = x_109; x_99 = x_112; goto block_108; } else { -x_97 = x_109; -x_98 = lean_box(0); +x_97 = lean_box(0); +x_98 = x_109; x_99 = x_111; goto block_108; } @@ -62344,7 +62425,7 @@ 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; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; uint8_t x_26; lean_object* x_27; lean_object* x_31; uint8_t x_35; lean_object* x_36; uint8_t x_37; uint8_t x_69; lean_object* x_85; lean_object* x_86; uint8_t x_87; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; uint8_t x_26; lean_object* x_27; lean_object* x_31; lean_object* x_35; uint8_t x_36; uint8_t x_37; uint8_t x_69; lean_object* x_85; lean_object* x_86; uint8_t x_87; x_13 = lean_array_uget(x_2, x_3); x_14 = lean_ctor_get(x_13, 0); lean_inc_ref(x_14); @@ -62472,7 +62553,7 @@ goto block_34; } else { -x_26 = x_35; +x_26 = x_36; x_27 = lean_box(0); goto block_30; } @@ -62524,15 +62605,15 @@ x_53 = lean_unbox(x_52); lean_dec(x_52); if (x_53 == 0) { -x_35 = x_45; -x_36 = lean_box(0); +x_35 = lean_box(0); +x_36 = x_45; x_37 = x_47; goto block_40; } else { -x_35 = x_45; -x_36 = lean_box(0); +x_35 = lean_box(0); +x_36 = x_45; x_37 = x_45; goto block_40; } @@ -63109,13 +63190,13 @@ size_t x_26; size_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_3 x_26 = lean_array_size(x_1); x_27 = 0; lean_inc_ref(x_1); -x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__4(x_17, x_2, x_26, x_27, x_1); -lean_dec(x_17); +x_28 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__4(x_23, x_2, x_26, x_27, x_1); +lean_dec(x_23); x_29 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__4___boxed__const__1; -lean_inc(x_15); +lean_inc(x_16); x_30 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__2___boxed), 14, 7); lean_closure_set(x_30, 0, x_7); -lean_closure_set(x_30, 1, x_15); +lean_closure_set(x_30, 1, x_16); lean_closure_set(x_30, 2, x_3); lean_closure_set(x_30, 3, x_29); lean_closure_set(x_30, 4, x_4); @@ -63124,11 +63205,11 @@ lean_closure_set(x_30, 6, x_28); x_31 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__4___boxed__const__1; x_32 = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__3___boxed), 12, 5); lean_closure_set(x_32, 0, x_30); -lean_closure_set(x_32, 1, x_15); -lean_closure_set(x_32, 2, x_16); +lean_closure_set(x_32, 1, x_16); +lean_closure_set(x_32, 2, x_15); lean_closure_set(x_32, 3, x_1); lean_closure_set(x_32, 4, x_31); -x_33 = l_Lean_withoutExporting___at___00Lean_Meta_abstractProof___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__4_spec__5___redArg(x_32, x_24, x_19, x_23, x_20, x_18, x_21, x_22); +x_33 = l_Lean_withoutExporting___at___00Lean_Meta_abstractProof___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__4_spec__5___redArg(x_32, x_24, x_20, x_21, x_17, x_22, x_19, x_18); return x_33; } block_49: @@ -63141,16 +63222,16 @@ lean_inc(x_44); lean_dec_ref(x_43); x_45 = lean_unbox(x_44); lean_dec(x_44); -lean_inc(x_38); -x_15 = x_38; -x_16 = x_39; -x_17 = x_38; -x_18 = x_35; -x_19 = x_42; -x_20 = x_36; -x_21 = x_40; -x_22 = x_37; -x_23 = x_41; +lean_inc(x_37); +x_15 = x_36; +x_16 = x_37; +x_17 = x_40; +x_18 = x_41; +x_19 = x_38; +x_20 = x_35; +x_21 = x_39; +x_22 = x_42; +x_23 = x_37; x_24 = x_45; x_25 = lean_box(0); goto block_34; @@ -63158,14 +63239,14 @@ goto block_34; else { uint8_t x_46; -lean_dec_ref(x_42); +lean_dec(x_42); lean_dec(x_41); lean_dec_ref(x_40); lean_dec(x_39); -lean_dec(x_38); +lean_dec_ref(x_38); lean_dec(x_37); -lean_dec_ref(x_36); -lean_dec(x_35); +lean_dec(x_36); +lean_dec_ref(x_35); lean_dec_ref(x_7); lean_dec_ref(x_5); lean_dec_ref(x_4); @@ -63206,14 +63287,14 @@ lean_inc_ref(x_52); lean_inc(x_51); lean_inc_ref(x_50); x_61 = lean_apply_8(x_6, x_60, x_50, x_51, x_52, x_53, x_54, x_55, lean_box(0)); -x_35 = x_53; -x_36 = x_52; -x_37 = x_55; -x_38 = x_57; -x_39 = x_58; -x_40 = x_54; -x_41 = x_51; -x_42 = x_50; +x_35 = x_50; +x_36 = x_58; +x_37 = x_57; +x_38 = x_54; +x_39 = x_51; +x_40 = x_52; +x_41 = x_55; +x_42 = x_53; x_43 = x_61; goto block_49; } @@ -63222,15 +63303,15 @@ else if (x_59 == 0) { lean_dec_ref(x_6); -x_15 = x_57; -x_16 = x_58; -x_17 = x_57; -x_18 = x_53; -x_19 = x_50; -x_20 = x_52; -x_21 = x_54; -x_22 = x_55; -x_23 = x_51; +x_15 = x_58; +x_16 = x_57; +x_17 = x_52; +x_18 = x_55; +x_19 = x_54; +x_20 = x_50; +x_21 = x_51; +x_22 = x_53; +x_23 = x_57; x_24 = x_59; x_25 = lean_box(0); goto block_34; @@ -63259,28 +63340,28 @@ lean_inc_ref(x_52); lean_inc(x_51); lean_inc_ref(x_50); x_66 = lean_apply_8(x_6, x_65, x_50, x_51, x_52, x_53, x_54, x_55, lean_box(0)); -x_35 = x_53; -x_36 = x_52; -x_37 = x_55; -x_38 = x_57; -x_39 = x_58; -x_40 = x_54; -x_41 = x_51; -x_42 = x_50; +x_35 = x_50; +x_36 = x_58; +x_37 = x_57; +x_38 = x_54; +x_39 = x_51; +x_40 = x_52; +x_41 = x_55; +x_42 = x_53; x_43 = x_66; goto block_49; } else { lean_dec_ref(x_6); -x_35 = x_53; -x_36 = x_52; -x_37 = x_55; -x_38 = x_57; -x_39 = x_58; -x_40 = x_54; -x_41 = x_51; -x_42 = x_50; +x_35 = x_50; +x_36 = x_58; +x_37 = x_57; +x_38 = x_54; +x_39 = x_51; +x_40 = x_52; +x_41 = x_55; +x_42 = x_53; x_43 = x_64; goto block_49; } @@ -73444,7 +73525,7 @@ return x_2; LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__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, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, uint8_t x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21, lean_object* x_22) { _start: { -lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; 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_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_81; uint8_t x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; +lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_81; uint8_t x_82; lean_object* x_83; uint8_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; x_158 = lean_st_ref_get(x_22); x_159 = lean_ctor_get(x_158, 0); lean_inc_ref(x_159); @@ -73755,8 +73836,8 @@ if (x_42 == 0) lean_dec(x_37); x_24 = x_52; x_25 = x_42; -x_26 = x_38; -x_27 = x_40; +x_26 = x_40; +x_27 = x_38; x_28 = lean_box(0); goto block_36; } @@ -73768,8 +73849,8 @@ uint8_t x_53; x_53 = 0; x_24 = x_52; x_25 = x_53; -x_26 = x_38; -x_27 = x_40; +x_26 = x_40; +x_27 = x_38; x_28 = lean_box(0); goto block_36; } @@ -73778,8 +73859,8 @@ else lean_dec_ref(x_37); x_24 = x_52; x_25 = x_42; -x_26 = x_38; -x_27 = x_40; +x_26 = x_40; +x_27 = x_38; x_28 = lean_box(0); goto block_36; } @@ -73796,26 +73877,26 @@ lean_ctor_set(x_73, 1, x_5); x_74 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_74, 0, x_73); x_75 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_75, 0, x_57); -lean_ctor_set(x_75, 1, x_63); -lean_ctor_set(x_75, 2, x_58); -lean_ctor_set(x_75, 3, x_62); -lean_ctor_set(x_75, 4, x_68); -lean_ctor_set(x_75, 5, x_67); -lean_ctor_set(x_75, 6, x_69); -lean_ctor_set(x_75, 7, x_56); +lean_ctor_set(x_75, 0, x_56); +lean_ctor_set(x_75, 1, x_68); +lean_ctor_set(x_75, 2, x_57); +lean_ctor_set(x_75, 3, x_65); +lean_ctor_set(x_75, 4, x_64); +lean_ctor_set(x_75, 5, x_66); +lean_ctor_set(x_75, 6, x_60); +lean_ctor_set(x_75, 7, x_61); lean_ctor_set(x_75, 8, x_74); -lean_ctor_set(x_75, 9, x_60); -lean_ctor_set_uint8(x_75, sizeof(void*)*10, x_61); +lean_ctor_set(x_75, 9, x_69); +lean_ctor_set_uint8(x_75, sizeof(void*)*10, x_62); if (lean_obj_tag(x_59) == 0) { x_37 = x_72; -x_38 = x_75; -x_39 = x_70; -x_40 = x_71; +x_38 = x_67; +x_39 = x_63; +x_40 = x_75; x_41 = x_55; -x_42 = x_66; -x_43 = x_65; +x_42 = x_70; +x_43 = x_71; x_44 = lean_box(0); goto block_54; } @@ -73833,12 +73914,12 @@ lean_dec(x_76); x_78 = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1___closed__0; x_79 = l_Lean_Language_SnapshotTask_cancelRec___redArg(x_78, x_77); x_37 = x_72; -x_38 = x_75; -x_39 = x_70; -x_40 = x_71; +x_38 = x_67; +x_39 = x_63; +x_40 = x_75; x_41 = x_55; -x_42 = x_66; -x_43 = x_65; +x_42 = x_70; +x_43 = x_71; x_44 = lean_box(0); goto block_54; } @@ -73846,12 +73927,12 @@ else { lean_dec_ref(x_59); x_37 = x_72; -x_38 = x_75; -x_39 = x_70; -x_40 = x_71; +x_38 = x_67; +x_39 = x_63; +x_40 = x_75; x_41 = x_55; -x_42 = x_66; -x_43 = x_65; +x_42 = x_70; +x_43 = x_71; x_44 = lean_box(0); goto block_54; } @@ -73884,22 +73965,22 @@ lean_inc(x_104); lean_dec(x_97); x_105 = lean_box(0); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_104; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_105; goto block_80; } @@ -73914,22 +73995,22 @@ if (lean_obj_tag(x_106) == 0) lean_object* x_107; x_107 = lean_box(0); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_107; goto block_80; } @@ -73954,22 +74035,22 @@ lean_object* x_114; lean_free_object(x_108); x_114 = lean_box(0); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_114; goto block_80; } @@ -73994,22 +74075,22 @@ lean_free_object(x_113); lean_free_object(x_108); x_120 = lean_box(0); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_120; goto block_80; } @@ -74033,22 +74114,22 @@ lean_free_object(x_113); lean_free_object(x_108); x_125 = lean_box(0); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_125; goto block_80; } @@ -74060,22 +74141,22 @@ lean_ctor_set(x_108, 1, x_123); lean_ctor_set(x_108, 0, x_126); lean_ctor_set(x_113, 0, x_108); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_113; goto block_80; } @@ -74099,22 +74180,22 @@ lean_dec_ref(x_128); lean_free_object(x_108); x_131 = lean_box(0); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_131; goto block_80; } @@ -74137,22 +74218,22 @@ lean_dec_ref(x_134); lean_free_object(x_108); x_136 = lean_box(0); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_136; goto block_80; } @@ -74165,22 +74246,22 @@ lean_ctor_set(x_108, 0, x_137); x_138 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_138, 0, x_108); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_138; goto block_80; } @@ -74202,22 +74283,22 @@ if (lean_obj_tag(x_141) == 0) lean_object* x_142; x_142 = lean_box(0); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_142; goto block_80; } @@ -74245,22 +74326,22 @@ lean_dec_ref(x_145); lean_dec(x_144); x_148 = lean_box(0); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_148; goto block_80; } @@ -74283,22 +74364,22 @@ lean_dec_ref(x_151); lean_dec(x_144); x_153 = lean_box(0); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_153; goto block_80; } @@ -74316,22 +74397,22 @@ if (lean_is_scalar(x_144)) { } lean_ctor_set(x_156, 0, x_155); x_55 = x_81; -x_56 = x_92; -x_57 = x_85; -x_58 = x_87; +x_56 = x_85; +x_57 = x_87; +x_58 = lean_box(0); x_59 = x_106; -x_60 = x_93; -x_61 = x_84; -x_62 = x_88; -x_63 = x_86; -x_64 = lean_box(0); -x_65 = x_95; -x_66 = x_82; -x_67 = x_90; -x_68 = x_89; -x_69 = x_91; -x_70 = x_103; -x_71 = x_94; +x_60 = x_91; +x_61 = x_92; +x_62 = x_84; +x_63 = x_103; +x_64 = x_89; +x_65 = x_88; +x_66 = x_90; +x_67 = x_94; +x_68 = x_86; +x_69 = x_93; +x_70 = x_82; +x_71 = x_95; x_72 = x_156; goto block_80; } @@ -74454,7 +74535,7 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_82; lean_object* x_83; uint8_t x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; uint8_t x_116; lean_object* x_117; uint8_t x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121; uint8_t x_125; uint8_t x_126; lean_object* x_127; uint8_t x_128; uint8_t x_139; uint8_t x_140; uint8_t x_141; lean_object* x_142; uint8_t x_143; uint8_t x_145; uint8_t x_158; +lean_object* x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_82; lean_object* x_83; uint8_t x_84; uint8_t x_85; lean_object* x_86; lean_object* x_87; uint8_t x_116; lean_object* x_117; uint8_t x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121; uint8_t x_125; uint8_t x_126; lean_object* x_127; uint8_t x_128; uint8_t x_139; uint8_t x_140; lean_object* x_141; uint8_t x_142; uint8_t x_143; uint8_t x_145; uint8_t x_158; x_139 = 2; x_158 = l_Lean_instBEqMessageSeverity_beq(x_3, x_139); if (x_158 == 0) @@ -74506,14 +74587,14 @@ lean_ctor_set(x_27, 0, x_23); lean_ctor_set(x_27, 1, x_24); x_28 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_28, 0, x_27); -lean_ctor_set(x_28, 1, x_10); +lean_ctor_set(x_28, 1, x_8); x_29 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_29, 0, x_13); -lean_ctor_set(x_29, 1, x_8); -lean_ctor_set(x_29, 2, x_14); -lean_ctor_set(x_29, 3, x_9); +lean_ctor_set(x_29, 0, x_9); +lean_ctor_set(x_29, 1, x_13); +lean_ctor_set(x_29, 2, x_12); +lean_ctor_set(x_29, 3, x_14); lean_ctor_set(x_29, 4, x_28); -lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_12); +lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_10); lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_29, sizeof(void*)*5 + 2, x_4); x_30 = l_Lean_MessageLog_add(x_29, x_26); @@ -74554,14 +74635,14 @@ lean_ctor_set(x_44, 0, x_23); lean_ctor_set(x_44, 1, x_24); x_45 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_10); +lean_ctor_set(x_45, 1, x_8); x_46 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_46, 0, x_13); -lean_ctor_set(x_46, 1, x_8); -lean_ctor_set(x_46, 2, x_14); -lean_ctor_set(x_46, 3, x_9); +lean_ctor_set(x_46, 0, x_9); +lean_ctor_set(x_46, 1, x_13); +lean_ctor_set(x_46, 2, x_12); +lean_ctor_set(x_46, 3, x_14); lean_ctor_set(x_46, 4, x_45); -lean_ctor_set_uint8(x_46, sizeof(void*)*5, x_12); +lean_ctor_set_uint8(x_46, sizeof(void*)*5, x_10); lean_ctor_set_uint8(x_46, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_46, sizeof(void*)*5 + 2, x_4); x_47 = l_Lean_MessageLog_add(x_46, x_34); @@ -74640,14 +74721,14 @@ lean_ctor_set(x_67, 0, x_53); lean_ctor_set(x_67, 1, x_54); x_68 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_10); +lean_ctor_set(x_68, 1, x_8); x_69 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_69, 0, x_13); -lean_ctor_set(x_69, 1, x_8); -lean_ctor_set(x_69, 2, x_14); -lean_ctor_set(x_69, 3, x_9); +lean_ctor_set(x_69, 0, x_9); +lean_ctor_set(x_69, 1, x_13); +lean_ctor_set(x_69, 2, x_12); +lean_ctor_set(x_69, 3, x_14); lean_ctor_set(x_69, 4, x_68); -lean_ctor_set_uint8(x_69, sizeof(void*)*5, x_12); +lean_ctor_set_uint8(x_69, sizeof(void*)*5, x_10); lean_ctor_set_uint8(x_69, sizeof(void*)*5 + 1, x_11); lean_ctor_set_uint8(x_69, sizeof(void*)*5 + 2, x_4); x_70 = l_Lean_MessageLog_add(x_69, x_56); @@ -74678,9 +74759,9 @@ else { uint8_t x_75; lean_dec(x_18); -lean_dec(x_14); +lean_dec_ref(x_14); lean_dec_ref(x_13); -lean_dec_ref(x_10); +lean_dec(x_12); lean_dec_ref(x_9); lean_dec_ref(x_8); x_75 = !lean_is_exclusive(x_19); @@ -74703,9 +74784,9 @@ return x_77; else { uint8_t x_78; -lean_dec(x_14); +lean_dec_ref(x_14); lean_dec_ref(x_13); -lean_dec_ref(x_10); +lean_dec(x_12); lean_dec_ref(x_9); lean_dec_ref(x_8); x_78 = !lean_is_exclusive(x_17); @@ -74742,8 +74823,8 @@ if (x_93 == 0) lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; x_94 = lean_ctor_get(x_92, 0); lean_inc_ref(x_89); -x_95 = l_Lean_FileMap_toPosition(x_89, x_83); -lean_dec(x_83); +x_95 = l_Lean_FileMap_toPosition(x_89, x_86); +lean_dec(x_86); x_96 = l_Lean_FileMap_toPosition(x_89, x_87); lean_dec(x_87); x_97 = lean_alloc_ctor(1, 1, 0); @@ -74752,13 +74833,13 @@ x_98 = l___private_Lean_Elab_ErrorUtils_0__List_toOxford___at___00__private_Lean if (x_90 == 0) { lean_free_object(x_92); -x_8 = x_95; -x_9 = x_98; -x_10 = x_94; +x_8 = x_94; +x_9 = x_88; +x_10 = x_84; x_11 = x_85; -x_12 = x_84; -x_13 = x_88; -x_14 = x_97; +x_12 = x_97; +x_13 = x_95; +x_14 = x_98; x_15 = x_6; x_16 = lean_box(0); goto block_81; @@ -74787,13 +74868,13 @@ return x_92; else { lean_free_object(x_92); -x_8 = x_95; -x_9 = x_98; -x_10 = x_94; +x_8 = x_94; +x_9 = x_88; +x_10 = x_84; x_11 = x_85; -x_12 = x_84; -x_13 = x_88; -x_14 = x_97; +x_12 = x_97; +x_13 = x_95; +x_14 = x_98; x_15 = x_6; x_16 = lean_box(0); goto block_81; @@ -74807,8 +74888,8 @@ x_104 = lean_ctor_get(x_92, 0); lean_inc(x_104); lean_dec(x_92); lean_inc_ref(x_89); -x_105 = l_Lean_FileMap_toPosition(x_89, x_83); -lean_dec(x_83); +x_105 = l_Lean_FileMap_toPosition(x_89, x_86); +lean_dec(x_86); x_106 = l_Lean_FileMap_toPosition(x_89, x_87); lean_dec(x_87); x_107 = lean_alloc_ctor(1, 1, 0); @@ -74816,13 +74897,13 @@ lean_ctor_set(x_107, 0, x_106); x_108 = l___private_Lean_Elab_ErrorUtils_0__List_toOxford___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters_spec__1___closed__0; if (x_90 == 0) { -x_8 = x_105; -x_9 = x_108; -x_10 = x_104; +x_8 = x_104; +x_9 = x_88; +x_10 = x_84; x_11 = x_85; -x_12 = x_84; -x_13 = x_88; -x_14 = x_107; +x_12 = x_107; +x_13 = x_105; +x_14 = x_108; x_15 = x_6; x_16 = lean_box(0); goto block_81; @@ -74851,13 +74932,13 @@ return x_114; } else { -x_8 = x_105; -x_9 = x_108; -x_10 = x_104; +x_8 = x_104; +x_9 = x_88; +x_10 = x_84; x_11 = x_85; -x_12 = x_84; -x_13 = x_88; -x_14 = x_107; +x_12 = x_107; +x_13 = x_105; +x_14 = x_108; x_15 = x_6; x_16 = lean_box(0); goto block_81; @@ -74868,16 +74949,16 @@ goto block_81; block_124: { lean_object* x_122; -x_122 = l_Lean_Syntax_getTailPos_x3f(x_117, x_119); -lean_dec(x_117); +x_122 = l_Lean_Syntax_getTailPos_x3f(x_120, x_118); +lean_dec(x_120); if (lean_obj_tag(x_122) == 0) { lean_inc(x_121); x_82 = x_116; -x_83 = x_121; -x_84 = x_119; -x_85 = x_118; -x_86 = lean_box(0); +x_83 = lean_box(0); +x_84 = x_118; +x_85 = x_119; +x_86 = x_121; x_87 = x_121; goto block_115; } @@ -74888,10 +74969,10 @@ x_123 = lean_ctor_get(x_122, 0); lean_inc(x_123); lean_dec_ref(x_122); x_82 = x_116; -x_83 = x_121; -x_84 = x_119; -x_85 = x_118; -x_86 = lean_box(0); +x_83 = lean_box(0); +x_84 = x_118; +x_85 = x_119; +x_86 = x_121; x_87 = x_123; goto block_115; } @@ -74914,10 +74995,10 @@ if (lean_obj_tag(x_132) == 0) lean_object* x_133; x_133 = lean_unsigned_to_nat(0u); x_116 = x_125; -x_117 = x_131; -x_118 = x_128; -x_119 = x_126; -x_120 = lean_box(0); +x_117 = lean_box(0); +x_118 = x_126; +x_119 = x_128; +x_120 = x_131; x_121 = x_133; goto block_124; } @@ -74928,10 +75009,10 @@ x_134 = lean_ctor_get(x_132, 0); lean_inc(x_134); lean_dec_ref(x_132); x_116 = x_125; -x_117 = x_131; -x_118 = x_128; -x_119 = x_126; -x_120 = lean_box(0); +x_117 = lean_box(0); +x_118 = x_126; +x_119 = x_128; +x_120 = x_131; x_121 = x_134; goto block_124; } @@ -74963,7 +75044,7 @@ block_144: if (x_143 == 0) { x_125 = x_140; -x_126 = x_141; +x_126 = x_142; x_127 = lean_box(0); x_128 = x_3; goto block_138; @@ -74971,7 +75052,7 @@ goto block_138; else { x_125 = x_140; -x_126 = x_141; +x_126 = x_142; x_127 = lean_box(0); x_128 = x_139; goto block_138; @@ -74998,8 +75079,8 @@ if (x_152 == 0) { lean_dec_ref(x_150); x_140 = x_145; -x_141 = x_145; -x_142 = lean_box(0); +x_141 = lean_box(0); +x_142 = x_145; x_143 = x_152; goto block_144; } @@ -75010,8 +75091,8 @@ x_153 = l_Lean_warningAsError; x_154 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(x_150, x_153); lean_dec_ref(x_150); x_140 = x_145; -x_141 = x_145; -x_142 = lean_box(0); +x_141 = lean_box(0); +x_142 = x_145; x_143 = x_154; goto block_144; } @@ -77730,7 +77811,7 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_16; lean_object* x_17; uint8_t x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; uint8_t x_86; lean_object* x_87; uint8_t x_88; uint8_t x_109; lean_object* x_123; lean_object* x_124; uint8_t x_125; +uint8_t x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; uint8_t 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; uint8_t x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_86; lean_object* x_87; uint8_t x_88; uint8_t x_109; lean_object* x_123; lean_object* x_124; uint8_t x_125; x_28 = lean_unsigned_to_nat(0u); x_29 = l_Lean_Syntax_getArg(x_1, x_28); x_30 = lean_unsigned_to_nat(1u); @@ -77779,12 +77860,12 @@ block_15: lean_object* x_13; lean_object* x_14; x_13 = lean_alloc_ctor(0, 3, 5); lean_ctor_set(x_13, 0, x_1); -lean_ctor_set(x_13, 1, x_9); -lean_ctor_set(x_13, 2, x_7); -lean_ctor_set_uint8(x_13, sizeof(void*)*3, x_10); -lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 1, x_11); -lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 2, x_8); -lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 3, x_5); +lean_ctor_set(x_13, 1, x_10); +lean_ctor_set(x_13, 2, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*3, x_6); +lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 1, x_8); +lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 2, x_5); +lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 3, x_7); lean_ctor_set_uint8(x_13, sizeof(void*)*3 + 4, x_12); x_14 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_14, 0, x_13); @@ -77800,12 +77881,12 @@ if (x_24 == 0) uint8_t x_25; x_25 = 1; x_5 = x_16; -x_6 = lean_box(0); -x_7 = x_22; -x_8 = x_18; -x_9 = x_17; -x_10 = x_20; -x_11 = x_21; +x_6 = x_17; +x_7 = x_18; +x_8 = x_20; +x_9 = lean_box(0); +x_10 = x_21; +x_11 = x_22; x_12 = x_25; goto block_15; } @@ -77814,12 +77895,12 @@ else uint8_t x_26; x_26 = 0; x_5 = x_16; -x_6 = lean_box(0); -x_7 = x_22; -x_8 = x_18; -x_9 = x_17; -x_10 = x_20; -x_11 = x_21; +x_6 = x_17; +x_7 = x_18; +x_8 = x_20; +x_9 = lean_box(0); +x_10 = x_21; +x_11 = x_22; x_12 = x_26; goto block_15; } @@ -77832,15 +77913,15 @@ lean_dec(x_31); if (lean_obj_tag(x_41) == 0) { lean_object* x_42; -lean_dec_ref(x_36); -lean_dec(x_35); +lean_dec_ref(x_39); +lean_dec(x_38); x_42 = l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0; x_16 = x_32; -x_17 = x_34; -x_18 = x_33; -x_19 = x_38; -x_20 = x_39; -x_21 = x_40; +x_17 = x_33; +x_18 = x_34; +x_19 = x_35; +x_20 = x_40; +x_21 = x_36; x_22 = x_42; x_23 = lean_box(0); goto block_27; @@ -77851,7 +77932,7 @@ lean_object* x_43; lean_object* x_44; x_43 = lean_ctor_get(x_41, 0); lean_inc(x_43); lean_dec_ref(x_41); -x_44 = l_Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5(x_43, x_36, x_35); +x_44 = l_Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5(x_43, x_39, x_38); lean_dec(x_43); if (lean_obj_tag(x_44) == 0) { @@ -77860,11 +77941,11 @@ x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); lean_dec_ref(x_44); x_16 = x_32; -x_17 = x_34; -x_18 = x_33; -x_19 = x_38; -x_20 = x_39; -x_21 = x_40; +x_17 = x_33; +x_18 = x_34; +x_19 = x_35; +x_20 = x_40; +x_21 = x_36; x_22 = x_45; x_23 = lean_box(0); goto block_27; @@ -77872,8 +77953,8 @@ goto block_27; else { uint8_t x_46; -lean_dec(x_38); -lean_dec(x_34); +lean_dec(x_36); +lean_dec(x_35); lean_dec(x_1); x_46 = !lean_is_exclusive(x_44); if (x_46 == 0) @@ -77903,13 +77984,13 @@ if (x_62 == 0) uint8_t x_63; x_63 = 1; x_32 = x_54; -x_33 = x_56; +x_33 = x_58; x_34 = x_55; -x_35 = x_60; -x_36 = x_59; +x_35 = x_56; +x_36 = x_57; x_37 = lean_box(0); -x_38 = x_57; -x_39 = x_58; +x_38 = x_60; +x_39 = x_59; x_40 = x_63; goto block_49; } @@ -77918,13 +77999,13 @@ else uint8_t x_64; x_64 = 0; x_32 = x_54; -x_33 = x_56; +x_33 = x_58; x_34 = x_55; -x_35 = x_60; -x_36 = x_59; +x_35 = x_56; +x_36 = x_57; x_37 = lean_box(0); -x_38 = x_57; -x_39 = x_58; +x_38 = x_60; +x_39 = x_59; x_40 = x_64; goto block_49; } @@ -77939,9 +78020,9 @@ if (lean_obj_tag(x_71) == 0) uint8_t x_72; x_72 = 0; x_54 = x_66; -x_55 = x_70; +x_55 = x_67; x_56 = x_68; -x_57 = x_69; +x_57 = x_70; x_58 = x_72; x_59 = x_2; x_60 = x_3; @@ -77967,7 +78048,7 @@ if (x_77 == 0) { lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_dec(x_70); -lean_dec(x_69); +lean_dec(x_68); lean_dec(x_53); lean_dec(x_31); lean_dec(x_1); @@ -77997,9 +78078,9 @@ uint8_t x_83; lean_dec(x_73); x_83 = 2; x_54 = x_66; -x_55 = x_70; +x_55 = x_67; x_56 = x_68; -x_57 = x_69; +x_57 = x_70; x_58 = x_83; x_59 = x_2; x_60 = x_3; @@ -78013,9 +78094,9 @@ uint8_t x_84; lean_dec(x_73); x_84 = 1; x_54 = x_66; -x_55 = x_70; +x_55 = x_67; x_56 = x_68; -x_57 = x_69; +x_57 = x_70; x_58 = x_84; x_59 = x_2; x_60 = x_3; @@ -78044,10 +78125,10 @@ if (lean_obj_tag(x_94) == 0) lean_object* x_95; lean_dec_ref(x_93); x_95 = lean_box(0); -x_66 = x_88; -x_67 = lean_box(0); -x_68 = x_86; -x_69 = x_87; +x_66 = x_86; +x_67 = x_88; +x_68 = x_87; +x_69 = lean_box(0); x_70 = x_95; goto block_85; } @@ -78067,10 +78148,10 @@ x_101 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_101, 0, x_97); lean_ctor_set(x_101, 1, x_100); lean_ctor_set(x_94, 0, x_101); -x_66 = x_88; -x_67 = lean_box(0); -x_68 = x_86; -x_69 = x_87; +x_66 = x_86; +x_67 = x_88; +x_68 = x_87; +x_69 = lean_box(0); x_70 = x_94; goto block_85; } @@ -78089,10 +78170,10 @@ lean_ctor_set(x_106, 0, x_102); lean_ctor_set(x_106, 1, x_105); x_107 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_107, 0, x_106); -x_66 = x_88; -x_67 = lean_box(0); -x_68 = x_86; -x_69 = x_87; +x_66 = x_86; +x_67 = x_88; +x_68 = x_87; +x_69 = lean_box(0); x_70 = x_107; goto block_85; } @@ -79519,10 +79600,10 @@ x_52 = lean_nat_dec_lt(x_28, x_51); if (x_52 == 0) { lean_dec_ref(x_49); -x_5 = lean_box(0); -x_6 = x_42; -x_7 = x_47; -x_8 = x_43; +x_5 = x_42; +x_6 = x_43; +x_7 = lean_box(0); +x_8 = x_47; x_9 = x_50; goto block_14; } @@ -79535,10 +79616,10 @@ if (x_53 == 0) if (x_52 == 0) { lean_dec_ref(x_49); -x_5 = lean_box(0); -x_6 = x_42; -x_7 = x_47; -x_8 = x_43; +x_5 = x_42; +x_6 = x_43; +x_7 = lean_box(0); +x_8 = x_47; x_9 = x_50; goto block_14; } @@ -79548,10 +79629,10 @@ size_t x_54; uint64_t x_55; x_54 = lean_usize_of_nat(x_51); x_55 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(x_49, x_17, x_54, x_50); lean_dec_ref(x_49); -x_5 = lean_box(0); -x_6 = x_42; -x_7 = x_47; -x_8 = x_43; +x_5 = x_42; +x_6 = x_43; +x_7 = lean_box(0); +x_8 = x_47; x_9 = x_55; goto block_14; } @@ -79562,10 +79643,10 @@ size_t x_56; uint64_t x_57; x_56 = lean_usize_of_nat(x_51); x_57 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(x_49, x_17, x_56, x_50); lean_dec_ref(x_49); -x_5 = lean_box(0); -x_6 = x_42; -x_7 = x_47; -x_8 = x_43; +x_5 = x_42; +x_6 = x_43; +x_7 = lean_box(0); +x_8 = x_47; x_9 = x_57; goto block_14; } @@ -79649,10 +79730,10 @@ x_79 = lean_nat_dec_lt(x_28, x_78); if (x_79 == 0) { lean_dec_ref(x_76); -x_5 = lean_box(0); -x_6 = x_69; -x_7 = x_74; -x_8 = x_70; +x_5 = x_69; +x_6 = x_70; +x_7 = lean_box(0); +x_8 = x_74; x_9 = x_77; goto block_14; } @@ -79665,10 +79746,10 @@ if (x_80 == 0) if (x_79 == 0) { lean_dec_ref(x_76); -x_5 = lean_box(0); -x_6 = x_69; -x_7 = x_74; -x_8 = x_70; +x_5 = x_69; +x_6 = x_70; +x_7 = lean_box(0); +x_8 = x_74; x_9 = x_77; goto block_14; } @@ -79678,10 +79759,10 @@ size_t x_81; uint64_t x_82; x_81 = lean_usize_of_nat(x_78); x_82 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(x_76, x_17, x_81, x_77); lean_dec_ref(x_76); -x_5 = lean_box(0); -x_6 = x_69; -x_7 = x_74; -x_8 = x_70; +x_5 = x_69; +x_6 = x_70; +x_7 = lean_box(0); +x_8 = x_74; x_9 = x_82; goto block_14; } @@ -79692,10 +79773,10 @@ size_t x_83; uint64_t x_84; x_83 = lean_usize_of_nat(x_78); x_84 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(x_76, x_17, x_83, x_77); lean_dec_ref(x_76); -x_5 = lean_box(0); -x_6 = x_69; -x_7 = x_74; -x_8 = x_70; +x_5 = x_69; +x_6 = x_70; +x_7 = lean_box(0); +x_8 = x_74; x_9 = x_84; goto block_14; } @@ -79781,8 +79862,8 @@ x_11 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_11, 0, x_10); x_12 = lean_alloc_closure((void*)(l_Lean_Elab_Command_runTermElabM___boxed), 5, 2); lean_closure_set(x_12, 0, lean_box(0)); -lean_closure_set(x_12, 1, x_7); -x_13 = l_Lean_Elab_Command_withInitQuotContext(x_11, x_12, x_6, x_8); +lean_closure_set(x_12, 1, x_8); +x_13 = l_Lean_Elab_Command_withInitQuotContext(x_11, x_12, x_5, x_6); return x_13; } } @@ -81038,8 +81119,6 @@ l___private_Init_Data_Nat_Control_0__Nat_foldM_loop___at___00Lean_Elab_Term_Mutu lean_mark_persistent(l___private_Init_Data_Nat_Control_0__Nat_foldM_loop___at___00Lean_Elab_Term_MutualClosure_pushMain_spec__0___redArg___closed__2); l___private_Init_Data_Nat_Control_0__Nat_foldM_loop___at___00Lean_Elab_Term_MutualClosure_pushMain_spec__0___redArg___closed__3 = _init_l___private_Init_Data_Nat_Control_0__Nat_foldM_loop___at___00Lean_Elab_Term_MutualClosure_pushMain_spec__0___redArg___closed__3(); lean_mark_persistent(l___private_Init_Data_Nat_Control_0__Nat_foldM_loop___at___00Lean_Elab_Term_MutualClosure_pushMain_spec__0___redArg___closed__3); -l_List_foldlM___at___00List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1_spec__1___closed__0 = _init_l_List_foldlM___at___00List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1_spec__1___closed__0(); -lean_mark_persistent(l_List_foldlM___at___00List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1_spec__1___closed__0); l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0 = _init_l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0(); lean_mark_persistent(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0); l_Lean_Elab_Term_MutualClosure_main___closed__0 = _init_l_Lean_Elab_Term_MutualClosure_main___closed__0(); diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c b/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c index 64fd9b0f01..4f0a6343c2 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Mutual.c @@ -14,7 +14,8 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDef(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1___closed__0; extern lean_object* l_Lean_allowUnsafeReducibility; lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -24,22 +25,22 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefAttributes(lean_object*, le LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___redArg(lean_object*); static lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_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* l_Lean_Elab_addNonRec(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___lam__0___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4_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_Mutual_addPreDefsFromUnary___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_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___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__1___closed__0; uint8_t lean_usize_dec_eq(size_t, size_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_instInhabitedPreDefinition_default; static lean_object* l_Lean_setReducibilityStatus___at___00Lean_setIrreducibleAttribute___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__0_spec__0___redArg___closed__0; static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___lam__0___closed__0; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_PreDefinition_filterAttrs(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_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_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1(lean_object*, lean_object*, uint8_t); extern lean_object* l_Lean_maxRecDepth; uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); @@ -47,15 +48,16 @@ lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setIrreducibleAttribute___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__0_spec__0___redArg(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__3___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_Elab_applyAttributesOf(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_spec__4___closed__0; static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__3; lean_object* lean_st_ref_take(lean_object*); +uint8_t l_Lean_Elab_DefKind_isTheorem(uint8_t); lean_object* l_Lean_Elab_addNonRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setIrreducibleAttribute___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4___redArg(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_st_ref_get(lean_object*); LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__1(lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -74,11 +76,11 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary(lean_object*, le uint8_t lean_name_eq(lean_object*, lean_object*); extern lean_object* l_Lean_diagnostics; lean_object* l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__0(lean_object*, lean_object*); -lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__1___closed__3; -static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_spec__5___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4___redArg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_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_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setIrreducibleAttribute___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4_spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -87,7 +89,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__3(lean_object*, lean_object*); lean_object* l_Lean_Elab_eraseRecAppSyntax(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setIrreducibleAttribute___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__2; @@ -96,24 +97,24 @@ lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_obj size_t lean_usize_add(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr1(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3(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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3(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_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setIrreducibleAttribute___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__0_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__2___boxed(lean_object*, lean_object*); static lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__1___closed__1; static lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__0; +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4_spec__5___redArg(uint8_t, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Mutual_addPreDefsFromUnary___lam__0(lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__2(lean_object* x_1, lean_object* x_2) { @@ -513,6 +514,81 @@ goto _start; } } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_13; +x_13 = lean_usize_dec_eq(x_2, x_3); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_array_uget(x_1, x_2); +x_15 = lean_ctor_get_uint8(x_14, sizeof(void*)*9); +x_16 = lean_ctor_get(x_14, 3); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_DefKind_isTheorem(x_15); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = l_Lean_Meta_markAsRecursive___redArg(x_16, x_5); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +lean_dec_ref(x_18); +x_7 = x_19; +x_8 = lean_box(0); +goto block_12; +} +else +{ +return x_18; +} +} +else +{ +lean_object* x_20; +lean_dec(x_16); +x_20 = lean_box(0); +x_7 = x_20; +x_8 = lean_box(0); +goto block_12; +} +} +else +{ +lean_object* x_21; +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_4); +return x_21; +} +block_12: +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_2 = x_10; +x_4 = x_7; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(x_1, x_7, x_8, x_4, x_5); +lean_dec(x_5); +lean_dec_ref(x_1); +return x_9; +} +} static lean_object* _init_l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1_spec__1___closed__0() { _start: { @@ -739,361 +815,345 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefsFromUnary(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; 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; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_100; uint8_t x_121; -x_13 = lean_ctor_get(x_4, 3); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; uint8_t x_101; lean_object* x_122; lean_object* x_150; lean_object* x_152; uint8_t x_153; +x_13 = l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__0; x_14 = l_Lean_Elab_instInhabitedPreDefinition_default; -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_array_get_borrowed(x_14, x_2, x_15); -x_17 = lean_ctor_get(x_16, 3); -x_18 = lean_st_ref_get(x_11); -x_19 = lean_ctor_get(x_10, 0); -lean_inc_ref(x_19); -x_20 = lean_ctor_get(x_10, 1); -lean_inc_ref(x_20); -x_21 = lean_ctor_get(x_10, 2); -lean_inc_ref(x_21); -x_22 = lean_ctor_get(x_10, 3); -lean_inc(x_22); -x_23 = lean_ctor_get(x_10, 5); -lean_inc(x_23); -x_24 = lean_ctor_get(x_10, 6); -lean_inc(x_24); -x_25 = lean_ctor_get(x_10, 7); -lean_inc(x_25); -x_26 = lean_ctor_get(x_10, 8); -lean_inc(x_26); -x_27 = lean_ctor_get(x_10, 9); -lean_inc(x_27); -x_28 = lean_ctor_get(x_10, 10); -lean_inc(x_28); -x_29 = lean_ctor_get(x_10, 11); -lean_inc(x_29); -x_30 = lean_ctor_get(x_10, 12); -lean_inc(x_30); -x_31 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); -x_32 = lean_ctor_get(x_10, 13); -lean_inc_ref(x_32); -if (lean_is_exclusive(x_10)) { - lean_ctor_release(x_10, 0); - lean_ctor_release(x_10, 1); - lean_ctor_release(x_10, 2); - lean_ctor_release(x_10, 3); - lean_ctor_release(x_10, 4); - lean_ctor_release(x_10, 5); - lean_ctor_release(x_10, 6); - lean_ctor_release(x_10, 7); - lean_ctor_release(x_10, 8); - lean_ctor_release(x_10, 9); - lean_ctor_release(x_10, 10); - lean_ctor_release(x_10, 11); - lean_ctor_release(x_10, 12); - lean_ctor_release(x_10, 13); - x_33 = x_10; -} else { - lean_dec_ref(x_10); - x_33 = lean_box(0); -} -x_34 = lean_ctor_get(x_18, 0); -lean_inc_ref(x_34); -lean_dec(x_18); -x_35 = l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__0; -x_36 = lean_name_eq(x_13, x_17); -x_37 = l_Lean_Elab_PreDefinition_filterAttrs(x_4, x_35); -x_38 = lean_array_to_list(x_2); -x_39 = lean_box(0); -x_40 = l_List_mapTR_loop___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__0(x_38, x_39); -x_41 = l_Lean_allowUnsafeReducibility; -x_42 = 1; -x_43 = l_Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1(x_21, x_41, x_42); -x_44 = l_Lean_diagnostics; -x_45 = l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__2(x_43, x_44); -x_121 = l_Lean_Kernel_isDiagnosticsEnabled(x_34); -lean_dec_ref(x_34); -if (x_121 == 0) +lean_inc_ref(x_4); +x_15 = l_Lean_Elab_PreDefinition_filterAttrs(x_4, x_13); +lean_inc_ref(x_2); +x_16 = lean_array_to_list(x_2); +x_17 = lean_box(0); +x_18 = l_List_mapTR_loop___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__0(x_16, x_17); +x_19 = lean_unsigned_to_nat(0u); +x_152 = lean_array_get_size(x_2); +x_153 = lean_nat_dec_lt(x_19, x_152); +if (x_153 == 0) { -if (x_45 == 0) -{ -x_46 = x_19; -x_47 = x_20; -x_48 = x_22; -x_49 = x_23; -x_50 = x_24; -x_51 = x_25; -x_52 = x_26; -x_53 = x_27; -x_54 = x_28; -x_55 = x_29; -x_56 = x_30; -x_57 = x_31; -x_58 = x_32; -x_59 = x_11; -x_60 = lean_box(0); -goto block_99; +x_122 = lean_box(0); +goto block_149; } else { -x_100 = x_121; -goto block_120; +lean_object* x_154; uint8_t x_155; +x_154 = lean_box(0); +x_155 = lean_nat_dec_le(x_152, x_152); +if (x_155 == 0) +{ +if (x_153 == 0) +{ +x_122 = lean_box(0); +goto block_149; +} +else +{ +size_t x_156; size_t x_157; lean_object* x_158; +x_156 = 0; +x_157 = lean_usize_of_nat(x_152); +x_158 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(x_2, x_156, x_157, x_154, x_11); +x_150 = x_158; +goto block_151; } } else { -x_100 = x_45; -goto block_120; +size_t x_159; size_t x_160; lean_object* x_161; +x_159 = 0; +x_160 = lean_usize_of_nat(x_152); +x_161 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(x_2, x_159, x_160, x_154, x_11); +x_150 = x_161; +goto block_151; } -block_99: -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_61 = l_Lean_maxRecDepth; -x_62 = l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__3(x_43, x_61); -if (lean_is_scalar(x_33)) { - x_63 = lean_alloc_ctor(0, 14, 2); -} else { - x_63 = x_33; } -lean_ctor_set(x_63, 0, x_46); -lean_ctor_set(x_63, 1, x_47); -lean_ctor_set(x_63, 2, x_43); -lean_ctor_set(x_63, 3, x_48); -lean_ctor_set(x_63, 4, x_62); -lean_ctor_set(x_63, 5, x_49); -lean_ctor_set(x_63, 6, x_50); -lean_ctor_set(x_63, 7, x_51); -lean_ctor_set(x_63, 8, x_52); -lean_ctor_set(x_63, 9, x_53); -lean_ctor_set(x_63, 10, x_54); -lean_ctor_set(x_63, 11, x_55); -lean_ctor_set(x_63, 12, x_56); -lean_ctor_set(x_63, 13, x_58); -lean_ctor_set_uint8(x_63, sizeof(void*)*14, x_45); -lean_ctor_set_uint8(x_63, sizeof(void*)*14 + 1, x_57); -if (x_36 == 0) +block_76: { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_64 = lean_ctor_get(x_37, 3); -lean_inc(x_64); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_39); -x_66 = lean_box(x_36); -x_67 = lean_box(x_5); -x_68 = lean_box(x_36); +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = l_Lean_maxRecDepth; +x_39 = l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__3(x_21, x_38); +x_40 = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(x_40, 0, x_23); +lean_ctor_set(x_40, 1, x_24); +lean_ctor_set(x_40, 2, x_21); +lean_ctor_set(x_40, 3, x_25); +lean_ctor_set(x_40, 4, x_39); +lean_ctor_set(x_40, 5, x_26); +lean_ctor_set(x_40, 6, x_27); +lean_ctor_set(x_40, 7, x_28); +lean_ctor_set(x_40, 8, x_29); +lean_ctor_set(x_40, 9, x_30); +lean_ctor_set(x_40, 10, x_31); +lean_ctor_set(x_40, 11, x_32); +lean_ctor_set(x_40, 12, x_33); +lean_ctor_set(x_40, 13, x_35); +lean_ctor_set_uint8(x_40, sizeof(void*)*14, x_20); +lean_ctor_set_uint8(x_40, sizeof(void*)*14 + 1, x_34); +if (x_22 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_41 = lean_ctor_get(x_15, 3); +lean_inc(x_41); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_17); +x_43 = lean_box(x_22); +x_44 = lean_box(x_5); +x_45 = lean_box(x_22); lean_inc_ref(x_1); -x_69 = lean_alloc_closure((void*)(l_Lean_Elab_addNonRec___boxed), 13, 6); -lean_closure_set(x_69, 0, x_1); -lean_closure_set(x_69, 1, x_37); -lean_closure_set(x_69, 2, x_66); -lean_closure_set(x_69, 3, x_65); -lean_closure_set(x_69, 4, x_67); -lean_closure_set(x_69, 5, x_68); -lean_inc(x_59); -lean_inc_ref(x_63); +x_46 = lean_alloc_closure((void*)(l_Lean_Elab_addNonRec___boxed), 13, 6); +lean_closure_set(x_46, 0, x_1); +lean_closure_set(x_46, 1, x_15); +lean_closure_set(x_46, 2, x_43); +lean_closure_set(x_46, 3, x_42); +lean_closure_set(x_46, 4, x_44); +lean_closure_set(x_46, 5, x_45); +lean_inc(x_36); +lean_inc_ref(x_40); lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -x_70 = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4___redArg(x_36, x_69, x_6, x_7, x_8, x_9, x_63, x_59); -if (lean_obj_tag(x_70) == 0) +x_47 = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__4___redArg(x_22, x_46, x_6, x_7, x_8, x_9, x_40, x_36); +if (lean_obj_tag(x_47) == 0) { -uint8_t x_71; -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) +uint8_t x_48; +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_72 = lean_ctor_get(x_70, 0); -lean_dec(x_72); -x_73 = lean_array_get_size(x_3); -x_74 = lean_box(0); -x_75 = lean_nat_dec_lt(x_15, x_73); -if (x_75 == 0) +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = lean_ctor_get(x_47, 0); +lean_dec(x_49); +x_50 = lean_array_get_size(x_3); +x_51 = lean_box(0); +x_52 = lean_nat_dec_lt(x_19, x_50); +if (x_52 == 0) { -lean_dec_ref(x_63); -lean_dec(x_59); -lean_dec(x_40); +lean_dec_ref(x_40); +lean_dec(x_36); +lean_dec(x_18); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -lean_ctor_set(x_70, 0, x_74); -return x_70; +lean_ctor_set(x_47, 0, x_51); +return x_47; } else { -uint8_t x_76; -x_76 = lean_nat_dec_le(x_73, x_73); -if (x_76 == 0) +uint8_t x_53; +x_53 = lean_nat_dec_le(x_50, x_50); +if (x_53 == 0) { -if (x_75 == 0) +if (x_52 == 0) { -lean_dec_ref(x_63); -lean_dec(x_59); -lean_dec(x_40); +lean_dec_ref(x_40); +lean_dec(x_36); +lean_dec(x_18); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -lean_ctor_set(x_70, 0, x_74); -return x_70; +lean_ctor_set(x_47, 0, x_51); +return x_47; } else { -size_t x_77; size_t x_78; lean_object* x_79; -lean_free_object(x_70); -x_77 = 0; -x_78 = lean_usize_of_nat(x_73); -x_79 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_36, x_40, x_5, x_3, x_77, x_78, x_74, x_6, x_7, x_8, x_9, x_63, x_59); -return x_79; +size_t x_54; size_t x_55; lean_object* x_56; +lean_free_object(x_47); +x_54 = 0; +x_55 = lean_usize_of_nat(x_50); +x_56 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_22, x_18, x_5, x_3, x_54, x_55, x_51, x_6, x_7, x_8, x_9, x_40, x_36); +return x_56; } } else { -size_t x_80; size_t x_81; lean_object* x_82; -lean_free_object(x_70); -x_80 = 0; -x_81 = lean_usize_of_nat(x_73); -x_82 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_36, x_40, x_5, x_3, x_80, x_81, x_74, x_6, x_7, x_8, x_9, x_63, x_59); -return x_82; +size_t x_57; size_t x_58; lean_object* x_59; +lean_free_object(x_47); +x_57 = 0; +x_58 = lean_usize_of_nat(x_50); +x_59 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_22, x_18, x_5, x_3, x_57, x_58, x_51, x_6, x_7, x_8, x_9, x_40, x_36); +return x_59; } } } else { -lean_object* x_83; lean_object* x_84; uint8_t x_85; -lean_dec(x_70); -x_83 = lean_array_get_size(x_3); -x_84 = lean_box(0); -x_85 = lean_nat_dec_lt(x_15, x_83); -if (x_85 == 0) +lean_object* x_60; lean_object* x_61; uint8_t x_62; +lean_dec(x_47); +x_60 = lean_array_get_size(x_3); +x_61 = lean_box(0); +x_62 = lean_nat_dec_lt(x_19, x_60); +if (x_62 == 0) { -lean_object* x_86; -lean_dec_ref(x_63); -lean_dec(x_59); -lean_dec(x_40); +lean_object* x_63; +lean_dec_ref(x_40); +lean_dec(x_36); +lean_dec(x_18); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -x_86 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_86, 0, x_84); -return x_86; +x_63 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_63, 0, x_61); +return x_63; } else { -uint8_t x_87; -x_87 = lean_nat_dec_le(x_83, x_83); -if (x_87 == 0) +uint8_t x_64; +x_64 = lean_nat_dec_le(x_60, x_60); +if (x_64 == 0) { -if (x_85 == 0) +if (x_62 == 0) { -lean_object* x_88; -lean_dec_ref(x_63); -lean_dec(x_59); -lean_dec(x_40); +lean_object* x_65; +lean_dec_ref(x_40); +lean_dec(x_36); +lean_dec(x_18); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -x_88 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_88, 0, x_84); -return x_88; +x_65 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_65, 0, x_61); +return x_65; } else { -size_t x_89; size_t x_90; lean_object* x_91; -x_89 = 0; -x_90 = lean_usize_of_nat(x_83); -x_91 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_36, x_40, x_5, x_3, x_89, x_90, x_84, x_6, x_7, x_8, x_9, x_63, x_59); -return x_91; +size_t x_66; size_t x_67; lean_object* x_68; +x_66 = 0; +x_67 = lean_usize_of_nat(x_60); +x_68 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_22, x_18, x_5, x_3, x_66, x_67, x_61, x_6, x_7, x_8, x_9, x_40, x_36); +return x_68; } } else { -size_t x_92; size_t x_93; lean_object* x_94; -x_92 = 0; -x_93 = lean_usize_of_nat(x_83); -x_94 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_36, x_40, x_5, x_3, x_92, x_93, x_84, x_6, x_7, x_8, x_9, x_63, x_59); -return x_94; +size_t x_69; size_t x_70; lean_object* x_71; +x_69 = 0; +x_70 = lean_usize_of_nat(x_60); +x_71 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__5(x_1, x_22, x_18, x_5, x_3, x_69, x_70, x_61, x_6, x_7, x_8, x_9, x_40, x_36); +return x_71; } } } } else { -lean_dec_ref(x_63); -lean_dec(x_59); -lean_dec(x_40); +lean_dec_ref(x_40); +lean_dec(x_36); +lean_dec(x_18); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); lean_dec_ref(x_6); lean_dec_ref(x_1); -return x_70; +return x_47; } } else { -lean_object* x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_40); -x_95 = lean_ctor_get(x_37, 3); -lean_inc(x_95); -x_96 = 0; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_39); -x_98 = l_Lean_Elab_addNonRec(x_1, x_37, x_96, x_97, x_5, x_96, x_6, x_7, x_8, x_9, x_63, x_59); -return x_98; +lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_18); +x_72 = lean_ctor_get(x_15, 3); +lean_inc(x_72); +x_73 = 0; +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_17); +x_75 = l_Lean_Elab_addNonRec(x_1, x_15, x_73, x_74, x_5, x_73, x_6, x_7, x_8, x_9, x_40, x_36); +return x_75; } } -block_120: +block_96: { -if (x_100 == 0) +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; uint8_t x_94; lean_object* x_95; +x_83 = lean_ctor_get(x_80, 0); +lean_inc_ref(x_83); +x_84 = lean_ctor_get(x_80, 1); +lean_inc_ref(x_84); +x_85 = lean_ctor_get(x_80, 3); +lean_inc(x_85); +x_86 = lean_ctor_get(x_80, 5); +lean_inc(x_86); +x_87 = lean_ctor_get(x_80, 6); +lean_inc(x_87); +x_88 = lean_ctor_get(x_80, 7); +lean_inc(x_88); +x_89 = lean_ctor_get(x_80, 8); +lean_inc(x_89); +x_90 = lean_ctor_get(x_80, 9); +lean_inc(x_90); +x_91 = lean_ctor_get(x_80, 10); +lean_inc(x_91); +x_92 = lean_ctor_get(x_80, 11); +lean_inc(x_92); +x_93 = lean_ctor_get(x_80, 12); +lean_inc(x_93); +x_94 = lean_ctor_get_uint8(x_80, sizeof(void*)*14 + 1); +x_95 = lean_ctor_get(x_80, 13); +lean_inc_ref(x_95); +lean_dec_ref(x_80); +x_20 = x_77; +x_21 = x_78; +x_22 = x_79; +x_23 = x_83; +x_24 = x_84; +x_25 = x_85; +x_26 = x_86; +x_27 = x_87; +x_28 = x_88; +x_29 = x_89; +x_30 = x_90; +x_31 = x_91; +x_32 = x_92; +x_33 = x_93; +x_34 = x_94; +x_35 = x_95; +x_36 = x_81; +x_37 = lean_box(0); +goto block_76; +} +block_121: { -lean_object* x_101; uint8_t x_102; -x_101 = lean_st_ref_take(x_11); -x_102 = !lean_is_exclusive(x_101); -if (x_102 == 0) +if (x_101 == 0) { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_103 = lean_ctor_get(x_101, 0); -x_104 = lean_ctor_get(x_101, 5); -lean_dec(x_104); -x_105 = l_Lean_Kernel_enableDiag(x_103, x_45); -x_106 = l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__3; -lean_ctor_set(x_101, 5, x_106); -lean_ctor_set(x_101, 0, x_105); -x_107 = lean_st_ref_set(x_11, x_101); -x_46 = x_19; -x_47 = x_20; -x_48 = x_22; -x_49 = x_23; -x_50 = x_24; -x_51 = x_25; -x_52 = x_26; -x_53 = x_27; -x_54 = x_28; -x_55 = x_29; -x_56 = x_30; -x_57 = x_31; -x_58 = x_32; -x_59 = x_11; -x_60 = lean_box(0); -goto block_99; +lean_object* x_102; uint8_t x_103; +x_102 = lean_st_ref_take(x_11); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_104 = lean_ctor_get(x_102, 0); +x_105 = lean_ctor_get(x_102, 5); +lean_dec(x_105); +x_106 = l_Lean_Kernel_enableDiag(x_104, x_97); +x_107 = l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__3; +lean_ctor_set(x_102, 5, x_107); +lean_ctor_set(x_102, 0, x_106); +x_108 = lean_st_ref_set(x_11, x_102); +x_77 = x_97; +x_78 = x_99; +x_79 = x_100; +x_80 = x_10; +x_81 = x_11; +x_82 = lean_box(0); +goto block_96; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_108 = lean_ctor_get(x_101, 0); -x_109 = lean_ctor_get(x_101, 1); -x_110 = lean_ctor_get(x_101, 2); -x_111 = lean_ctor_get(x_101, 3); -x_112 = lean_ctor_get(x_101, 4); -x_113 = lean_ctor_get(x_101, 6); -x_114 = lean_ctor_get(x_101, 7); -x_115 = lean_ctor_get(x_101, 8); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_109 = lean_ctor_get(x_102, 0); +x_110 = lean_ctor_get(x_102, 1); +x_111 = lean_ctor_get(x_102, 2); +x_112 = lean_ctor_get(x_102, 3); +x_113 = lean_ctor_get(x_102, 4); +x_114 = lean_ctor_get(x_102, 6); +x_115 = lean_ctor_get(x_102, 7); +x_116 = lean_ctor_get(x_102, 8); +lean_inc(x_116); lean_inc(x_115); lean_inc(x_114); lean_inc(x_113); @@ -1101,57 +1161,159 @@ lean_inc(x_112); lean_inc(x_111); lean_inc(x_110); lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_101); -x_116 = l_Lean_Kernel_enableDiag(x_108, x_45); -x_117 = l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__3; -x_118 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_109); -lean_ctor_set(x_118, 2, x_110); -lean_ctor_set(x_118, 3, x_111); -lean_ctor_set(x_118, 4, x_112); -lean_ctor_set(x_118, 5, x_117); -lean_ctor_set(x_118, 6, x_113); -lean_ctor_set(x_118, 7, x_114); -lean_ctor_set(x_118, 8, x_115); -x_119 = lean_st_ref_set(x_11, x_118); -x_46 = x_19; -x_47 = x_20; -x_48 = x_22; -x_49 = x_23; -x_50 = x_24; -x_51 = x_25; -x_52 = x_26; -x_53 = x_27; -x_54 = x_28; -x_55 = x_29; -x_56 = x_30; -x_57 = x_31; -x_58 = x_32; -x_59 = x_11; -x_60 = lean_box(0); -goto block_99; +lean_dec(x_102); +x_117 = l_Lean_Kernel_enableDiag(x_109, x_97); +x_118 = l_Lean_Elab_Mutual_addPreDefsFromUnary___closed__3; +x_119 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_110); +lean_ctor_set(x_119, 2, x_111); +lean_ctor_set(x_119, 3, x_112); +lean_ctor_set(x_119, 4, x_113); +lean_ctor_set(x_119, 5, x_118); +lean_ctor_set(x_119, 6, x_114); +lean_ctor_set(x_119, 7, x_115); +lean_ctor_set(x_119, 8, x_116); +x_120 = lean_st_ref_set(x_11, x_119); +x_77 = x_97; +x_78 = x_99; +x_79 = x_100; +x_80 = x_10; +x_81 = x_11; +x_82 = lean_box(0); +goto block_96; } } else { -x_46 = x_19; -x_47 = x_20; -x_48 = x_22; -x_49 = x_23; -x_50 = x_24; -x_51 = x_25; -x_52 = x_26; -x_53 = x_27; -x_54 = x_28; -x_55 = x_29; -x_56 = x_30; -x_57 = x_31; -x_58 = x_32; -x_59 = x_11; -x_60 = lean_box(0); -goto block_99; +x_77 = x_97; +x_78 = x_99; +x_79 = x_100; +x_80 = x_10; +x_81 = x_11; +x_82 = lean_box(0); +goto block_96; +} +} +block_149: +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; uint8_t x_148; +x_123 = lean_ctor_get(x_4, 3); +lean_inc(x_123); +lean_dec_ref(x_4); +x_124 = lean_array_get(x_14, x_2, x_19); +lean_dec_ref(x_2); +x_125 = lean_ctor_get(x_124, 3); +lean_inc(x_125); +lean_dec(x_124); +x_126 = lean_st_ref_get(x_11); +x_127 = lean_ctor_get(x_10, 0); +x_128 = lean_ctor_get(x_10, 1); +x_129 = lean_ctor_get(x_10, 2); +x_130 = lean_ctor_get(x_10, 3); +x_131 = lean_ctor_get(x_10, 5); +x_132 = lean_ctor_get(x_10, 6); +x_133 = lean_ctor_get(x_10, 7); +x_134 = lean_ctor_get(x_10, 8); +x_135 = lean_ctor_get(x_10, 9); +x_136 = lean_ctor_get(x_10, 10); +x_137 = lean_ctor_get(x_10, 11); +x_138 = lean_ctor_get(x_10, 12); +x_139 = lean_ctor_get_uint8(x_10, sizeof(void*)*14 + 1); +x_140 = lean_ctor_get(x_10, 13); +x_141 = lean_ctor_get(x_126, 0); +lean_inc_ref(x_141); +lean_dec(x_126); +x_142 = lean_name_eq(x_123, x_125); +lean_dec(x_125); +lean_dec(x_123); +x_143 = l_Lean_allowUnsafeReducibility; +x_144 = 1; +lean_inc_ref(x_129); +x_145 = l_Lean_Option_set___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__1(x_129, x_143, x_144); +x_146 = l_Lean_diagnostics; +x_147 = l_Lean_Option_get___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__2(x_145, x_146); +x_148 = l_Lean_Kernel_isDiagnosticsEnabled(x_141); +lean_dec_ref(x_141); +if (x_148 == 0) +{ +if (x_147 == 0) +{ +lean_inc_ref(x_140); +lean_inc(x_138); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_inc(x_134); +lean_inc(x_133); +lean_inc(x_132); +lean_inc(x_131); +lean_inc(x_130); +lean_inc_ref(x_128); +lean_inc_ref(x_127); +lean_dec_ref(x_10); +x_20 = x_147; +x_21 = x_145; +x_22 = x_142; +x_23 = x_127; +x_24 = x_128; +x_25 = x_130; +x_26 = x_131; +x_27 = x_132; +x_28 = x_133; +x_29 = x_134; +x_30 = x_135; +x_31 = x_136; +x_32 = x_137; +x_33 = x_138; +x_34 = x_139; +x_35 = x_140; +x_36 = x_11; +x_37 = lean_box(0); +goto block_76; +} +else +{ +x_97 = x_147; +x_98 = lean_box(0); +x_99 = x_145; +x_100 = x_142; +x_101 = x_148; +goto block_121; +} +} +else +{ +x_97 = x_147; +x_98 = lean_box(0); +x_99 = x_145; +x_100 = x_142; +x_101 = x_147; +goto block_121; +} +} +block_151: +{ +if (lean_obj_tag(x_150) == 0) +{ +lean_dec_ref(x_150); +x_122 = lean_box(0); +goto block_149; +} +else +{ +lean_dec(x_18); +lean_dec_ref(x_15); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec_ref(x_4); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +return x_150; } } } @@ -1206,6 +1368,33 @@ x_12 = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_Mutual_addPreDefsFromUn return x_12; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___redArg(x_1, x_2, x_3, x_4, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +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___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Mutual_addPreDefsFromUnary_spec__6(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_10); +lean_dec_ref(x_9); +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_1); +return x_14; +} +} LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_cleanPreDef(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -1526,7 +1715,7 @@ x_7 = lean_box(x_6); return x_7; } } -static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_spec__5___closed__0() { +static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_spec__4___closed__0() { _start: { lean_object* x_1; lean_object* x_2; @@ -1535,7 +1724,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_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: { lean_object* x_13; lean_object* x_14; uint8_t x_19; @@ -1571,7 +1760,7 @@ if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_dec_ref(x_24); -x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_spec__5___closed__0; +x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_spec__4___closed__0; x_26 = lean_array_push(x_25, x_21); x_27 = 1; lean_inc(x_11); @@ -1685,7 +1874,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_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) { _start: { size_t x_13; size_t x_14; lean_object* x_15; @@ -1693,12 +1882,12 @@ 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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_spec__5(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_spec__4(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec_ref(x_2); return x_15; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4___redArg(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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg(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: { lean_object* x_13; lean_object* x_14; uint8_t x_19; @@ -1734,7 +1923,7 @@ if (lean_obj_tag(x_24) == 0) { lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_dec_ref(x_24); -x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_spec__5___closed__0; +x_25 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_spec__4___closed__0; x_26 = lean_array_push(x_25, x_21); x_27 = 1; lean_inc(x_11); @@ -1842,12 +2031,12 @@ block_18: size_t x_15; size_t x_16; lean_object* x_17; x_15 = 1; x_16 = lean_usize_add(x_4, x_15); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_spec__5(x_1, x_2, x_3, x_16, x_13, x_6, x_7, x_8, x_9, x_10, x_11); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_spec__4(x_1, x_2, x_3, x_16, x_13, x_6, x_7, x_8, x_9, x_10, x_11); return x_17; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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; @@ -1855,12 +2044,12 @@ 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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec_ref(x_2); return x_15; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg(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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { uint8_t x_9; @@ -1904,7 +2093,7 @@ return x_13; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, 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; @@ -1912,126 +2101,54 @@ 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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg(x_1, x_2, x_9, x_10, x_5, x_6, x_7); +x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg(x_1, x_2, x_9, x_10, x_5, x_6, x_7); lean_dec(x_7); lean_dec_ref(x_2); return x_11; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_8; -x_8 = lean_usize_dec_lt(x_4, x_3); -if (x_8 == 0) -{ -lean_object* x_9; -x_9 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_9, 0, x_5); -return x_9; -} -else -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_10 = lean_array_uget(x_2, x_4); -x_11 = lean_ctor_get(x_10, 3); -lean_inc(x_11); -lean_dec(x_10); -x_12 = l_Lean_Meta_markAsRecursive___redArg(x_11, x_6); -if (lean_obj_tag(x_12) == 0) -{ -size_t x_13; size_t x_14; -lean_dec_ref(x_12); -x_13 = 1; -x_14 = lean_usize_add(x_4, x_13); -{ -size_t _tmp_3 = x_14; -lean_object* _tmp_4 = x_1; -x_4 = _tmp_3; -x_5 = _tmp_4; -} -goto _start; -} -else -{ -return x_12; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -size_t x_8; size_t x_9; lean_object* x_10; -x_8 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_9 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_10 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg(x_1, x_2, x_8, x_9, x_5, x_6); -lean_dec(x_6); -lean_dec_ref(x_2); -return x_10; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Mutual_addPreDefAttributes(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; -x_9 = lean_box(0); -x_10 = lean_array_size(x_1); -x_11 = 0; -x_12 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg(x_9, x_1, x_10, x_11, x_9, x_7); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; size_t x_14; lean_object* x_15; -lean_dec_ref(x_12); +lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_inc_ref(x_1); -x_13 = l_Array_reverse___redArg(x_1); -x_14 = lean_array_size(x_13); +x_9 = l_Array_reverse___redArg(x_1); +x_10 = lean_box(0); +x_11 = lean_array_size(x_9); +x_12 = 0; lean_inc_ref(x_6); -x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg(x_9, x_13, x_14, x_11, x_9, x_6, x_7); +x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg(x_10, x_9, x_11, x_12, x_10, x_6, x_7); +lean_dec_ref(x_9); +if (lean_obj_tag(x_13) == 0) +{ +size_t x_14; lean_object* x_15; lean_dec_ref(x_13); +x_14 = lean_array_size(x_1); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg(x_10, x_1, x_14, x_12, x_10, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec_ref(x_1); if (lean_obj_tag(x_15) == 0) { -lean_object* x_16; -lean_dec_ref(x_15); -x_16 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4___redArg(x_9, x_1, x_10, x_11, x_9, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec_ref(x_1); -if (lean_obj_tag(x_16) == 0) +uint8_t x_16; +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) { -uint8_t x_17; -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_dec(x_17); +lean_ctor_set(x_15, 0, x_10); +return x_15; +} +else { lean_object* x_18; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -lean_ctor_set(x_16, 0, x_9); -return x_16; -} -else -{ -lean_object* x_19; -lean_dec(x_16); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_9); -return x_19; +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_10); +return x_18; } } else { -return x_16; -} -} -else -{ -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec(x_5); -lean_dec_ref(x_4); -lean_dec(x_3); -lean_dec_ref(x_2); -lean_dec_ref(x_1); return x_15; } } @@ -2044,7 +2161,7 @@ lean_dec_ref(x_4); lean_dec(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -return x_12; +return x_13; } } } @@ -2083,7 +2200,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns _start: { lean_object* x_13; -x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_11); +x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_10, x_11); return x_13; } } @@ -2097,7 +2214,6 @@ x_14 = lean_unbox_usize(x_4); lean_dec(x_4); x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__2(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_11); -lean_dec_ref(x_10); lean_dec(x_9); lean_dec_ref(x_8); lean_dec(x_7); @@ -2106,41 +2222,15 @@ lean_dec_ref(x_2); return x_15; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3(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: -{ -lean_object* x_13; -x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg(x_1, x_2, x_3, x_4, x_5, x_10, x_11); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_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) { -_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___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_11); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec(x_7); -lean_dec_ref(x_6); -lean_dec_ref(x_2); -return x_15; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_15; -x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_15 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___redArg(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); return x_15; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { size_t x_15; size_t x_16; lean_object* x_17; @@ -2148,7 +2238,7 @@ x_15 = lean_unbox_usize(x_5); lean_dec(x_5); x_16 = lean_unbox_usize(x_6); lean_dec(x_6); -x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_17 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec_ref(x_4); lean_dec_ref(x_2); lean_dec_ref(x_1); @@ -2190,8 +2280,8 @@ l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mut lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__1___closed__2); l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__1___closed__3 = _init_l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__1___closed__3(); lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__1___closed__3); -l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_spec__5___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_spec__5___closed__0(); -lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__4_spec__5___closed__0); +l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_spec__4___closed__0 = _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_spec__4___closed__0(); +lean_mark_persistent(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_Mutual_addPreDefAttributes_spec__3_spec__4___closed__0); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c index 6ee9d5e1e9..2bb5f2aee6 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Structural/Main.c @@ -25,6 +25,7 @@ static lean_object* l_Lean_Elab_Structural_Positions_groupAndSort___at___00__pri LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lam__0(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Structural_Positions_groupAndSort___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion_spec__5_spec__8(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_exprDependsOn___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__6___redArg___closed__0; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instMonadCoreM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_contains___at___00Lean_Meta_withErasedFVars___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__5_spec__5(lean_object*, lean_object*); @@ -242,11 +243,12 @@ lean_object* l_Array_range(lean_object*); static lean_object* l_Array_Array_repr___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__10___closed__5; static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion_spec__7___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_Structural_reportTermMeasure___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Structural_Positions_mapMwith___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion_spec__7___redArg___closed__3; LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00Lean_Elab_Structural_Positions_groupAndSort___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion_spec__5_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_withErasedFVars___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__5_spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__3; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion_spec__8___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_Structural_reportTermMeasure_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_Positions_groupAndSort___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion_spec__5_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -387,7 +389,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___00Lean_Meta_withErasedFVars LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__3(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_Positions_groupAndSort___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion_spec__5_spec__11(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_addAsAxiom___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___closed__10; lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -473,12 +475,12 @@ LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_Pre lean_object* l_Lean_isInductiveCore_x3f(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__8_spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__10_spec__16(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__8_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion___lam__2___closed__9; LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos___lam__2(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_elimMutualRecursion_spec__1___redArg___lam__0(lean_object* x_1, lean_object* x_2, 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: @@ -9899,7 +9901,73 @@ lean_dec_ref(x_2); return x_13; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__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, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_11; +x_11 = l_Lean_Meta_markAsRecursive___redArg(x_2, x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec_ref(x_11); +x_13 = lean_apply_8(x_3, x_12, x_4, x_5, x_6, x_7, x_8, x_9, lean_box(0)); +return x_13; +} +else +{ +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec(x_7); +lean_dec_ref(x_6); +lean_dec(x_5); +lean_dec_ref(x_4); +lean_dec_ref(x_3); +return x_11; +} +} +else +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_2); +x_14 = lean_box(0); +x_15 = lean_apply_8(x_3, x_14, x_4, x_5, x_6, x_7, x_8, x_9, lean_box(0)); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_1); +x_12 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_13 = lean_array_to_list(x_1); +x_14 = 1; +x_15 = l_Lean_Elab_addNonRec(x_2, x_3, x_4, x_13, x_14, x_4, x_6, x_7, x_8, x_9, x_10, x_11); +return x_15; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_4); +x_14 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0(x_1, x_2, x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_14; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -9910,24 +9978,6 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_13; -x_13 = l_Lean_Elab_addNonRec(x_1, x_2, x_3, x_4, x_5, x_3, x_6, x_7, x_8, x_9, x_10, x_11); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; uint8_t x_14; lean_object* x_15; -x_13 = lean_unbox(x_3); -x_14 = lean_unbox(x_5); -x_15 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1(x_1, x_2, x_13, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11); -return x_15; -} -} static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__0() { _start: { @@ -9950,7 +10000,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__1; -x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0), 2, 1); +x_2 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -9969,44 +10019,49 @@ lean_inc_ref(x_11); x_16 = l_Lean_Elab_eraseRecAppSyntax(x_15, x_11, x_12); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); lean_dec_ref(x_16); -x_18 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__2; +x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*9); +x_19 = lean_ctor_get(x_17, 3); +lean_inc(x_19); +x_20 = lean_box(x_14); +lean_inc_ref(x_2); lean_inc_ref(x_1); -x_19 = lean_array_to_list(x_1); -x_20 = 1; -x_21 = lean_box(x_14); -x_22 = lean_box(x_20); +x_21 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__0___boxed), 12, 4); +lean_closure_set(x_21, 0, x_1); +lean_closure_set(x_21, 1, x_2); +lean_closure_set(x_21, 2, x_17); +lean_closure_set(x_21, 3, x_20); +x_22 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___closed__2; +x_23 = l_Lean_Elab_DefKind_isTheorem(x_18); +x_24 = lean_box(x_23); lean_inc(x_8); lean_inc_ref(x_7); -lean_inc_ref(x_2); -x_23 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__1___boxed), 12, 7); -lean_closure_set(x_23, 0, x_2); -lean_closure_set(x_23, 1, x_17); -lean_closure_set(x_23, 2, x_21); -lean_closure_set(x_23, 3, x_19); -lean_closure_set(x_23, 4, x_22); -lean_closure_set(x_23, 5, x_7); -lean_closure_set(x_23, 6, x_8); +x_25 = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Structural_structuralRecursion_spec__4___lam__2___boxed), 10, 5); +lean_closure_set(x_25, 0, x_24); +lean_closure_set(x_25, 1, x_19); +lean_closure_set(x_25, 2, x_21); +lean_closure_set(x_25, 3, x_7); +lean_closure_set(x_25, 4, x_8); lean_inc(x_12); lean_inc_ref(x_11); lean_inc(x_10); lean_inc_ref(x_9); -x_24 = l_Lean_Meta_mapErrorImp___redArg(x_23, x_18, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_24) == 0) +x_26 = l_Lean_Meta_mapErrorImp___redArg(x_25, x_22, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_26) == 0) { -if (lean_obj_tag(x_24) == 0) +if (lean_obj_tag(x_26) == 0) { -lean_object* x_25; size_t x_26; size_t x_27; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -lean_dec_ref(x_24); -x_26 = 1; -x_27 = lean_usize_add(x_4, x_26); -x_4 = x_27; -x_6 = x_25; +lean_object* x_27; size_t x_28; size_t x_29; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +lean_dec_ref(x_26); +x_28 = 1; +x_29 = lean_usize_add(x_4, x_28); +x_4 = x_29; +x_6 = x_27; goto _start; } else @@ -10019,12 +10074,12 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); lean_dec_ref(x_1); -return x_24; +return x_26; } } else { -uint8_t x_29; +uint8_t x_31; lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -10033,26 +10088,26 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_29 = !lean_is_exclusive(x_24); -if (x_29 == 0) +x_31 = !lean_is_exclusive(x_26); +if (x_31 == 0) { -return x_24; +return x_26; } else { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_24, 0); -lean_inc(x_30); -lean_dec(x_24); -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_30); -return x_31; +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_26, 0); +lean_inc(x_32); +lean_dec(x_26); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +return x_33; } } } else { -uint8_t x_32; +uint8_t x_34; lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -10061,26 +10116,26 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_32 = !lean_is_exclusive(x_16); -if (x_32 == 0) +x_34 = !lean_is_exclusive(x_16); +if (x_34 == 0) { return x_16; } else { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_16, 0); -lean_inc(x_33); +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_16, 0); +lean_inc(x_35); lean_dec(x_16); -x_34 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_34, 0, x_33); -return x_34; +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +return x_36; } } } else { -lean_object* x_35; +lean_object* x_37; lean_dec(x_12); lean_dec_ref(x_11); lean_dec(x_10); @@ -10089,9 +10144,9 @@ lean_dec(x_8); lean_dec_ref(x_7); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_35 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_35, 0, x_6); -return x_35; +x_37 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_37, 0, x_6); +return x_37; } } } @@ -10161,7 +10216,7 @@ lean_inc_ref(x_17); x_22 = !lean_is_exclusive(x_7); if (x_22 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_53; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_48; x_23 = lean_ctor_get(x_7, 2); lean_dec(x_23); x_24 = lean_ctor_get(x_7, 1); @@ -10177,55 +10232,55 @@ x_30 = lean_unsigned_to_nat(1u); x_31 = lean_nat_add(x_18, x_30); lean_dec(x_18); lean_ctor_set(x_7, 1, x_31); -x_53 = l_Lean_Elab_DefKind_isTheorem(x_27); -if (x_53 == 0) +x_48 = l_Lean_Elab_DefKind_isTheorem(x_27); +if (x_48 == 0) { -lean_object* x_54; +lean_object* x_49; lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); -x_54 = l_Lean_Meta_isProp(x_28, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_54) == 0) +x_49 = l_Lean_Meta_isProp(x_28, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_55; uint8_t x_56; -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -lean_dec_ref(x_54); -x_56 = lean_unbox(x_55); -lean_dec(x_55); -if (x_56 == 0) +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_49, 0); +lean_inc(x_50); +lean_dec_ref(x_49); +x_51 = lean_unbox(x_50); +lean_dec(x_50); +if (x_51 == 0) { -lean_object* x_57; +lean_object* x_52; lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); -x_57 = l_Lean_Elab_abstractNestedProofs(x_26, x_20, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_57) == 0) +x_52 = l_Lean_Elab_abstractNestedProofs(x_26, x_20, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_58; size_t x_59; size_t x_60; lean_object* x_61; lean_object* x_62; -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -lean_dec_ref(x_57); -x_59 = lean_array_size(x_2); -x_60 = 0; +lean_object* x_53; size_t x_54; size_t x_55; lean_object* x_56; lean_object* x_57; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +lean_dec_ref(x_52); +x_54 = lean_array_size(x_2); +x_55 = 0; lean_inc_ref(x_2); -x_61 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__0(x_59, x_60, x_2); +x_56 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__0(x_54, x_55, x_2); lean_inc_ref(x_3); lean_inc(x_29); -lean_inc(x_58); -x_62 = l_Lean_Elab_Structural_registerEqnsInfo(x_58, x_61, x_29, x_3, x_12, x_13); -if (lean_obj_tag(x_62) == 0) +lean_inc(x_53); +x_57 = l_Lean_Elab_Structural_registerEqnsInfo(x_53, x_56, x_29, x_3, x_12, x_13); +if (lean_obj_tag(x_57) == 0) { -lean_dec_ref(x_62); +lean_dec_ref(x_57); lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_32 = x_58; +x_32 = x_53; x_33 = x_8; x_34 = x_9; x_35 = x_10; @@ -10233,12 +10288,12 @@ x_36 = x_11; x_37 = x_12; x_38 = x_13; x_39 = lean_box(0); -goto block_52; +goto block_47; } else { -uint8_t x_63; -lean_dec(x_58); +uint8_t x_58; +lean_dec(x_53); lean_dec_ref(x_7); lean_dec(x_29); lean_dec(x_13); @@ -10250,51 +10305,51 @@ lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) -{ -return x_62; -} -else -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_ctor_get(x_62, 0); -lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_65, 0, x_64); -return x_65; -} -} -} -else -{ -uint8_t x_66; -lean_dec_ref(x_7); -lean_dec(x_29); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_66 = !lean_is_exclusive(x_57); -if (x_66 == 0) +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) { return x_57; } else { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_57, 0); -lean_inc(x_67); +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_57, 0); +lean_inc(x_59); lean_dec(x_57); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_67); -return x_68; +x_60 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_60, 0, x_59); +return x_60; +} +} +} +else +{ +uint8_t x_61; +lean_dec_ref(x_7); +lean_dec(x_29); +lean_dec(x_13); +lean_dec_ref(x_12); +lean_dec(x_11); +lean_dec_ref(x_10); +lean_dec(x_9); +lean_dec_ref(x_8); +lean_dec_ref(x_3); +lean_dec_ref(x_2); +lean_dec_ref(x_1); +x_61 = !lean_is_exclusive(x_52); +if (x_61 == 0) +{ +return x_52; +} +else +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_52, 0); +lean_inc(x_62); +lean_dec(x_52); +x_63 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_63, 0, x_62); +return x_63; } } } @@ -10314,12 +10369,12 @@ x_36 = x_11; x_37 = x_12; x_38 = x_13; x_39 = lean_box(0); -goto block_52; +goto block_47; } } else { -uint8_t x_69; +uint8_t x_64; lean_dec_ref(x_7); lean_dec(x_29); lean_dec(x_26); @@ -10332,20 +10387,20 @@ lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_69 = !lean_is_exclusive(x_54); -if (x_69 == 0) +x_64 = !lean_is_exclusive(x_49); +if (x_64 == 0) { -return x_54; +return x_49; } else { -lean_object* x_70; lean_object* x_71; -x_70 = lean_ctor_get(x_54, 0); -lean_inc(x_70); -lean_dec(x_54); -x_71 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_71, 0, x_70); -return x_71; +lean_object* x_65; lean_object* x_66; +x_65 = lean_ctor_get(x_49, 0); +lean_inc(x_65); +lean_dec(x_49); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_65); +return x_66; } } } @@ -10366,36 +10421,25 @@ x_36 = x_11; x_37 = x_12; x_38 = x_13; x_39 = lean_box(0); -goto block_52; +goto block_47; } -block_52: +block_47: { lean_object* x_40; -lean_inc(x_38); -lean_inc_ref(x_32); lean_inc_ref(x_1); x_40 = l_Lean_Elab_Structural_addSmartUnfoldingDef(x_1, x_32, x_29, x_33, x_34, x_35, x_36, x_37, x_38); if (lean_obj_tag(x_40) == 0) { -lean_object* x_41; lean_object* x_42; +size_t x_41; size_t x_42; lean_dec_ref(x_40); -x_41 = lean_ctor_get(x_32, 3); -lean_inc(x_41); -lean_dec_ref(x_32); -x_42 = l_Lean_Meta_markAsRecursive___redArg(x_41, x_38); -lean_dec(x_38); -if (lean_obj_tag(x_42) == 0) -{ -size_t x_43; size_t x_44; -lean_dec_ref(x_42); -x_43 = 1; -x_44 = lean_usize_add(x_6, x_43); -x_6 = x_44; +x_41 = 1; +x_42 = lean_usize_add(x_6, x_41); +x_6 = x_42; goto _start; } else { -uint8_t x_46; +uint8_t x_44; lean_dec_ref(x_7); lean_dec(x_13); lean_dec_ref(x_12); @@ -10406,136 +10450,104 @@ lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_46 = !lean_is_exclusive(x_42); -if (x_46 == 0) -{ -return x_42; -} -else -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_42, 0); -lean_inc(x_47); -lean_dec(x_42); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -return x_48; -} -} -} -else -{ -uint8_t x_49; -lean_dec(x_38); -lean_dec_ref(x_32); -lean_dec_ref(x_7); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_49 = !lean_is_exclusive(x_40); -if (x_49 == 0) +x_44 = !lean_is_exclusive(x_40); +if (x_44 == 0) { return x_40; } else { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_40, 0); -lean_inc(x_50); +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_40, 0); +lean_inc(x_45); lean_dec(x_40); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_50); -return x_51; +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +return x_46; } } } } else { -lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_100; +lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_90; lean_dec(x_7); -x_72 = lean_array_uget(x_4, x_6); -x_73 = lean_ctor_get_uint8(x_72, sizeof(void*)*9); -x_74 = lean_ctor_get(x_72, 6); -lean_inc_ref(x_74); -x_75 = lean_array_fget(x_17, x_18); -x_76 = lean_unsigned_to_nat(1u); -x_77 = lean_nat_add(x_18, x_76); +x_67 = lean_array_uget(x_4, x_6); +x_68 = lean_ctor_get_uint8(x_67, sizeof(void*)*9); +x_69 = lean_ctor_get(x_67, 6); +lean_inc_ref(x_69); +x_70 = lean_array_fget(x_17, x_18); +x_71 = lean_unsigned_to_nat(1u); +x_72 = lean_nat_add(x_18, x_71); lean_dec(x_18); -x_78 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_78, 0, x_17); -lean_ctor_set(x_78, 1, x_77); -lean_ctor_set(x_78, 2, x_19); -x_100 = l_Lean_Elab_DefKind_isTheorem(x_73); -if (x_100 == 0) +x_73 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_73, 0, x_17); +lean_ctor_set(x_73, 1, x_72); +lean_ctor_set(x_73, 2, x_19); +x_90 = l_Lean_Elab_DefKind_isTheorem(x_68); +if (x_90 == 0) { -lean_object* x_101; +lean_object* x_91; lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); -x_101 = l_Lean_Meta_isProp(x_74, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_101) == 0) +x_91 = l_Lean_Meta_isProp(x_69, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_102; uint8_t x_103; -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -lean_dec_ref(x_101); -x_103 = lean_unbox(x_102); -lean_dec(x_102); -if (x_103 == 0) +lean_object* x_92; uint8_t x_93; +x_92 = lean_ctor_get(x_91, 0); +lean_inc(x_92); +lean_dec_ref(x_91); +x_93 = lean_unbox(x_92); +lean_dec(x_92); +if (x_93 == 0) { -lean_object* x_104; +lean_object* x_94; lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); -x_104 = l_Lean_Elab_abstractNestedProofs(x_72, x_20, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_104) == 0) +x_94 = l_Lean_Elab_abstractNestedProofs(x_67, x_20, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_94) == 0) { -lean_object* x_105; size_t x_106; size_t x_107; lean_object* x_108; lean_object* x_109; -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -lean_dec_ref(x_104); -x_106 = lean_array_size(x_2); -x_107 = 0; +lean_object* x_95; size_t x_96; size_t x_97; lean_object* x_98; lean_object* x_99; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +lean_dec_ref(x_94); +x_96 = lean_array_size(x_2); +x_97 = 0; lean_inc_ref(x_2); -x_108 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__0(x_106, x_107, x_2); +x_98 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_PreDefinition_Structural_Main_0__Lean_Elab_Structural_inferRecArgPos_spec__0(x_96, x_97, x_2); lean_inc_ref(x_3); -lean_inc(x_75); -lean_inc(x_105); -x_109 = l_Lean_Elab_Structural_registerEqnsInfo(x_105, x_108, x_75, x_3, x_12, x_13); -if (lean_obj_tag(x_109) == 0) +lean_inc(x_70); +lean_inc(x_95); +x_99 = l_Lean_Elab_Structural_registerEqnsInfo(x_95, x_98, x_70, x_3, x_12, x_13); +if (lean_obj_tag(x_99) == 0) { -lean_dec_ref(x_109); +lean_dec_ref(x_99); lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_79 = x_105; -x_80 = x_8; -x_81 = x_9; -x_82 = x_10; -x_83 = x_11; -x_84 = x_12; -x_85 = x_13; -x_86 = lean_box(0); -goto block_99; +x_74 = x_95; +x_75 = x_8; +x_76 = x_9; +x_77 = x_10; +x_78 = x_11; +x_79 = x_12; +x_80 = x_13; +x_81 = lean_box(0); +goto block_89; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_105); -lean_dec_ref(x_78); -lean_dec(x_75); +lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_95); +lean_dec_ref(x_73); +lean_dec(x_70); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -10545,29 +10557,29 @@ lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - x_111 = x_109; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + x_101 = x_99; } else { - lean_dec_ref(x_109); - x_111 = lean_box(0); + lean_dec_ref(x_99); + x_101 = lean_box(0); } -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_101)) { + x_102 = lean_alloc_ctor(1, 1, 0); } else { - x_112 = x_111; + x_102 = x_101; } -lean_ctor_set(x_112, 0, x_110); -return x_112; +lean_ctor_set(x_102, 0, x_100); +return x_102; } } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; -lean_dec_ref(x_78); -lean_dec(x_75); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_dec_ref(x_73); +lean_dec(x_70); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -10577,22 +10589,22 @@ lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_113 = lean_ctor_get(x_104, 0); -lean_inc(x_113); -if (lean_is_exclusive(x_104)) { - lean_ctor_release(x_104, 0); - x_114 = x_104; +x_103 = lean_ctor_get(x_94, 0); +lean_inc(x_103); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + x_104 = x_94; } else { - lean_dec_ref(x_104); - x_114 = lean_box(0); + lean_dec_ref(x_94); + x_104 = lean_box(0); } -if (lean_is_scalar(x_114)) { - x_115 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_104)) { + x_105 = lean_alloc_ctor(1, 1, 0); } else { - x_115 = x_114; + x_105 = x_104; } -lean_ctor_set(x_115, 0, x_113); -return x_115; +lean_ctor_set(x_105, 0, x_103); +return x_105; } } else @@ -10603,23 +10615,23 @@ lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_79 = x_72; -x_80 = x_8; -x_81 = x_9; -x_82 = x_10; -x_83 = x_11; -x_84 = x_12; -x_85 = x_13; -x_86 = lean_box(0); -goto block_99; +x_74 = x_67; +x_75 = x_8; +x_76 = x_9; +x_77 = x_10; +x_78 = x_11; +x_79 = x_12; +x_80 = x_13; +x_81 = lean_box(0); +goto block_89; } } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -lean_dec_ref(x_78); -lean_dec(x_75); -lean_dec(x_72); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_dec_ref(x_73); +lean_dec(x_70); +lean_dec(x_67); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -10629,73 +10641,62 @@ lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_116 = lean_ctor_get(x_101, 0); -lean_inc(x_116); -if (lean_is_exclusive(x_101)) { - lean_ctor_release(x_101, 0); - x_117 = x_101; +x_106 = lean_ctor_get(x_91, 0); +lean_inc(x_106); +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + x_107 = x_91; } else { - lean_dec_ref(x_101); - x_117 = lean_box(0); + lean_dec_ref(x_91); + x_107 = lean_box(0); } -if (lean_is_scalar(x_117)) { - x_118 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(1, 1, 0); } else { - x_118 = x_117; + x_108 = x_107; } -lean_ctor_set(x_118, 0, x_116); -return x_118; +lean_ctor_set(x_108, 0, x_106); +return x_108; } } else { -lean_dec_ref(x_74); +lean_dec_ref(x_69); lean_inc(x_13); lean_inc_ref(x_12); lean_inc(x_11); lean_inc_ref(x_10); lean_inc(x_9); lean_inc_ref(x_8); -x_79 = x_72; -x_80 = x_8; -x_81 = x_9; -x_82 = x_10; -x_83 = x_11; -x_84 = x_12; -x_85 = x_13; -x_86 = lean_box(0); -goto block_99; +x_74 = x_67; +x_75 = x_8; +x_76 = x_9; +x_77 = x_10; +x_78 = x_11; +x_79 = x_12; +x_80 = x_13; +x_81 = lean_box(0); +goto block_89; } -block_99: +block_89: { -lean_object* x_87; -lean_inc(x_85); -lean_inc_ref(x_79); +lean_object* x_82; lean_inc_ref(x_1); -x_87 = l_Lean_Elab_Structural_addSmartUnfoldingDef(x_1, x_79, x_75, x_80, x_81, x_82, x_83, x_84, x_85); -if (lean_obj_tag(x_87) == 0) +x_82 = l_Lean_Elab_Structural_addSmartUnfoldingDef(x_1, x_74, x_70, x_75, x_76, x_77, x_78, x_79, x_80); +if (lean_obj_tag(x_82) == 0) { -lean_object* x_88; lean_object* x_89; -lean_dec_ref(x_87); -x_88 = lean_ctor_get(x_79, 3); -lean_inc(x_88); -lean_dec_ref(x_79); -x_89 = l_Lean_Meta_markAsRecursive___redArg(x_88, x_85); -lean_dec(x_85); -if (lean_obj_tag(x_89) == 0) -{ -size_t x_90; size_t x_91; -lean_dec_ref(x_89); -x_90 = 1; -x_91 = lean_usize_add(x_6, x_90); -x_6 = x_91; -x_7 = x_78; +size_t x_83; size_t x_84; +lean_dec_ref(x_82); +x_83 = 1; +x_84 = lean_usize_add(x_6, x_83); +x_6 = x_84; +x_7 = x_73; goto _start; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; -lean_dec_ref(x_78); +lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_dec_ref(x_73); lean_dec(x_13); lean_dec_ref(x_12); lean_dec(x_11); @@ -10705,55 +10706,22 @@ lean_dec_ref(x_8); lean_dec_ref(x_3); lean_dec_ref(x_2); lean_dec_ref(x_1); -x_93 = lean_ctor_get(x_89, 0); -lean_inc(x_93); -if (lean_is_exclusive(x_89)) { - lean_ctor_release(x_89, 0); - x_94 = x_89; +x_86 = lean_ctor_get(x_82, 0); +lean_inc(x_86); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + x_87 = x_82; } else { - lean_dec_ref(x_89); - x_94 = lean_box(0); + lean_dec_ref(x_82); + x_87 = lean_box(0); } -if (lean_is_scalar(x_94)) { - x_95 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_87)) { + x_88 = lean_alloc_ctor(1, 1, 0); } else { - x_95 = x_94; + x_88 = x_87; } -lean_ctor_set(x_95, 0, x_93); -return x_95; -} -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -lean_dec(x_85); -lean_dec_ref(x_79); -lean_dec_ref(x_78); -lean_dec(x_13); -lean_dec_ref(x_12); -lean_dec(x_11); -lean_dec_ref(x_10); -lean_dec(x_9); -lean_dec_ref(x_8); -lean_dec_ref(x_3); -lean_dec_ref(x_2); -lean_dec_ref(x_1); -x_96 = lean_ctor_get(x_87, 0); -lean_inc(x_96); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - x_97 = x_87; -} else { - lean_dec_ref(x_87); - x_97 = lean_box(0); -} -if (lean_is_scalar(x_97)) { - x_98 = lean_alloc_ctor(1, 1, 0); -} else { - x_98 = x_97; -} -lean_ctor_set(x_98, 0, x_96); -return x_98; +lean_ctor_set(x_88, 0, x_86); +return x_88; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c b/stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c index a753275058..f6bd8c405e 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c @@ -67566,7 +67566,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Do_elabMVCGen___lam__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -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_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_203; uint8_t x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_287; uint8_t x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_353; uint8_t x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_408; lean_object* x_409; uint8_t x_410; +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_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_287; uint8_t x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_353; uint8_t x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_408; lean_object* x_409; uint8_t x_410; x_408 = lean_ctor_get(x_9, 2); x_409 = l_Lean_Elab_Tactic_Do_mvcgen_warning; x_410 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Tactic_Do_VCGen_0__Lean_Elab_Tactic_Do_VCGen_genVCs_onWPApp_spec__13_spec__27(x_408, x_409); @@ -67640,7 +67640,7 @@ lean_inc_ref(x_33); lean_inc(x_32); lean_inc_ref(x_31); lean_inc(x_28); -x_38 = l_Lean_Elab_Tactic_Do_elabVCs(x_37, x_26, x_27, x_28, x_29, x_30, x_31, x_32, x_33, x_34); +x_38 = l_Lean_Elab_Tactic_Do_elabVCs(x_37, x_25, x_27, x_28, x_29, x_30, x_31, x_32, x_33, x_34); lean_dec(x_37); if (lean_obj_tag(x_38) == 0) { @@ -67648,8 +67648,8 @@ lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); lean_dec_ref(x_38); -lean_inc(x_24); -x_40 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__1___redArg(x_24, x_33); +lean_inc(x_26); +x_40 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__1___redArg(x_26, x_33); x_41 = lean_ctor_get(x_40, 0); lean_inc(x_41); lean_dec_ref(x_40); @@ -67657,8 +67657,8 @@ x_42 = lean_unbox(x_41); lean_dec(x_41); if (x_42 == 0) { -lean_dec(x_24); -x_12 = x_25; +lean_dec(x_26); +x_12 = x_24; x_13 = x_39; x_14 = x_28; x_15 = x_31; @@ -67672,8 +67672,8 @@ else { lean_object* x_43; size_t x_44; size_t x_45; lean_object* x_46; lean_inc(x_39); -lean_inc_ref(x_25); -x_43 = l_List_foldl___at___00Array_appendList_spec__0___redArg(x_25, x_39); +lean_inc_ref(x_24); +x_43 = l_List_foldl___at___00Array_appendList_spec__0___redArg(x_24, x_39); x_44 = lean_array_size(x_43); x_45 = 0; x_46 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__2___redArg(x_44, x_45, x_43, x_31, x_32, x_33, x_34); @@ -67691,11 +67691,11 @@ x_52 = l_Lean_MessageData_ofList(x_51); x_53 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_53, 0, x_48); lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__4___redArg(x_24, x_53, x_31, x_32, x_33, x_34); +x_54 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__4___redArg(x_26, x_53, x_31, x_32, x_33, x_34); if (lean_obj_tag(x_54) == 0) { lean_dec_ref(x_54); -x_12 = x_25; +x_12 = x_24; x_13 = x_39; x_14 = x_28; x_15 = x_31; @@ -67713,7 +67713,7 @@ lean_dec_ref(x_33); lean_dec(x_32); lean_dec_ref(x_31); lean_dec(x_28); -lean_dec_ref(x_25); +lean_dec_ref(x_24); return x_54; } } @@ -67726,8 +67726,8 @@ lean_dec_ref(x_33); lean_dec(x_32); lean_dec_ref(x_31); lean_dec(x_28); -lean_dec_ref(x_25); -lean_dec(x_24); +lean_dec(x_26); +lean_dec_ref(x_24); x_55 = !lean_is_exclusive(x_46); if (x_55 == 0) { @@ -67754,8 +67754,8 @@ lean_dec_ref(x_33); lean_dec(x_32); lean_dec_ref(x_31); lean_dec(x_28); -lean_dec_ref(x_25); -lean_dec(x_24); +lean_dec(x_26); +lean_dec_ref(x_24); x_58 = !lean_is_exclusive(x_38); if (x_58 == 0) { @@ -67780,7 +67780,7 @@ lean_inc(x_74); lean_inc_ref(x_73); lean_inc(x_72); lean_inc_ref(x_71); -x_76 = l_Lean_Elab_Term_TermElabM_run___redArg(x_62, x_66, x_63, x_71, x_72, x_73, x_74); +x_76 = l_Lean_Elab_Term_TermElabM_run___redArg(x_62, x_66, x_65, x_71, x_72, x_73, x_74); if (lean_obj_tag(x_76) == 0) { lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; @@ -67800,9 +67800,9 @@ lean_object* x_81; x_81 = lean_ctor_get(x_77, 0); lean_inc(x_81); lean_dec(x_77); -x_24 = x_64; -x_25 = x_65; -x_26 = x_81; +x_24 = x_63; +x_25 = x_81; +x_26 = x_64; x_27 = x_67; x_28 = x_68; x_29 = x_69; @@ -67824,8 +67824,8 @@ lean_object* x_83; lean_object* x_84; lean_object* x_85; size_t x_86; size_t x_8 x_83 = lean_ctor_get(x_77, 0); x_84 = lean_ctor_get(x_77, 1); lean_dec(x_84); -lean_inc_ref(x_65); -x_85 = l_Array_append___redArg(x_65, x_83); +lean_inc_ref(x_63); +x_85 = l_Array_append___redArg(x_63, x_83); x_86 = lean_array_size(x_85); x_87 = 0; x_88 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__2___redArg(x_86, x_87, x_85, x_71, x_72, x_73, x_74); @@ -67848,9 +67848,9 @@ x_95 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__4___redArg( if (lean_obj_tag(x_95) == 0) { lean_dec_ref(x_95); -x_24 = x_64; -x_25 = x_65; -x_26 = x_83; +x_24 = x_63; +x_25 = x_83; +x_26 = x_64; x_27 = x_67; x_28 = x_68; x_29 = x_69; @@ -67873,8 +67873,8 @@ lean_dec(x_70); lean_dec_ref(x_69); lean_dec(x_68); lean_dec_ref(x_67); -lean_dec_ref(x_65); lean_dec(x_64); +lean_dec_ref(x_63); return x_95; } } @@ -67891,8 +67891,8 @@ lean_dec(x_70); lean_dec_ref(x_69); lean_dec(x_68); lean_dec_ref(x_67); -lean_dec_ref(x_65); lean_dec(x_64); +lean_dec_ref(x_63); x_96 = !lean_is_exclusive(x_88); if (x_96 == 0) { @@ -67916,8 +67916,8 @@ lean_object* x_99; lean_object* x_100; size_t x_101; size_t x_102; lean_object* x_99 = lean_ctor_get(x_77, 0); lean_inc(x_99); lean_dec(x_77); -lean_inc_ref(x_65); -x_100 = l_Array_append___redArg(x_65, x_99); +lean_inc_ref(x_63); +x_100 = l_Array_append___redArg(x_63, x_99); x_101 = lean_array_size(x_100); x_102 = 0; x_103 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__2___redArg(x_101, x_102, x_100, x_71, x_72, x_73, x_74); @@ -67940,9 +67940,9 @@ x_111 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__4___redArg if (lean_obj_tag(x_111) == 0) { lean_dec_ref(x_111); -x_24 = x_64; -x_25 = x_65; -x_26 = x_99; +x_24 = x_63; +x_25 = x_99; +x_26 = x_64; x_27 = x_67; x_28 = x_68; x_29 = x_69; @@ -67965,8 +67965,8 @@ lean_dec(x_70); lean_dec_ref(x_69); lean_dec(x_68); lean_dec_ref(x_67); -lean_dec_ref(x_65); lean_dec(x_64); +lean_dec_ref(x_63); return x_111; } } @@ -67982,8 +67982,8 @@ lean_dec(x_70); lean_dec_ref(x_69); lean_dec(x_68); lean_dec_ref(x_67); -lean_dec_ref(x_65); lean_dec(x_64); +lean_dec_ref(x_63); x_112 = lean_ctor_get(x_103, 0); lean_inc(x_112); if (lean_is_exclusive(x_103)) { @@ -68015,8 +68015,8 @@ lean_dec(x_70); lean_dec_ref(x_69); lean_dec(x_68); lean_dec_ref(x_67); -lean_dec_ref(x_65); lean_dec(x_64); +lean_dec_ref(x_63); x_115 = !lean_is_exclusive(x_76); if (x_115 == 0) { @@ -68037,8 +68037,8 @@ return x_117; block_152: { lean_object* x_134; lean_object* x_135; uint8_t x_136; -lean_inc(x_126); -x_134 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__1___redArg(x_126, x_122); +lean_inc(x_125); +x_134 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__1___redArg(x_125, x_123); x_135 = lean_ctor_get(x_134, 0); lean_inc(x_135); lean_dec_ref(x_134); @@ -68048,18 +68048,18 @@ if (x_136 == 0) { lean_dec_ref(x_128); x_62 = x_119; -x_63 = x_120; -x_64 = x_126; -x_65 = x_132; -x_66 = x_130; -x_67 = x_127; -x_68 = x_123; -x_69 = x_125; -x_70 = x_129; -x_71 = x_121; -x_72 = x_131; -x_73 = x_122; -x_74 = x_124; +x_63 = x_132; +x_64 = x_125; +x_65 = x_127; +x_66 = x_129; +x_67 = x_121; +x_68 = x_122; +x_69 = x_131; +x_70 = x_126; +x_71 = x_120; +x_72 = x_124; +x_73 = x_123; +x_74 = x_130; x_75 = lean_box(0); goto block_118; } @@ -68071,7 +68071,7 @@ x_137 = l_Array_append___redArg(x_132, x_128); lean_dec_ref(x_128); x_138 = lean_array_size(x_137); x_139 = 0; -x_140 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__2___redArg(x_138, x_139, x_137, x_121, x_131, x_122, x_124); +x_140 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__2___redArg(x_138, x_139, x_137, x_120, x_124, x_123, x_130); if (lean_obj_tag(x_140) == 0) { lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; @@ -68086,39 +68086,39 @@ x_146 = l_Lean_MessageData_ofList(x_145); x_147 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_147, 0, x_142); lean_ctor_set(x_147, 1, x_146); -lean_inc(x_126); -x_148 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__4___redArg(x_126, x_147, x_121, x_131, x_122, x_124); +lean_inc(x_125); +x_148 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__4___redArg(x_125, x_147, x_120, x_124, x_123, x_130); if (lean_obj_tag(x_148) == 0) { lean_dec_ref(x_148); x_62 = x_119; -x_63 = x_120; -x_64 = x_126; -x_65 = x_132; -x_66 = x_130; -x_67 = x_127; -x_68 = x_123; -x_69 = x_125; -x_70 = x_129; -x_71 = x_121; -x_72 = x_131; -x_73 = x_122; -x_74 = x_124; +x_63 = x_132; +x_64 = x_125; +x_65 = x_127; +x_66 = x_129; +x_67 = x_121; +x_68 = x_122; +x_69 = x_131; +x_70 = x_126; +x_71 = x_120; +x_72 = x_124; +x_73 = x_123; +x_74 = x_130; x_75 = lean_box(0); goto block_118; } else { lean_dec_ref(x_132); -lean_dec(x_131); -lean_dec_ref(x_130); -lean_dec(x_129); +lean_dec_ref(x_131); +lean_dec(x_130); +lean_dec_ref(x_129); lean_dec_ref(x_127); lean_dec(x_126); -lean_dec_ref(x_125); +lean_dec(x_125); lean_dec(x_124); -lean_dec(x_123); -lean_dec_ref(x_122); +lean_dec_ref(x_123); +lean_dec(x_122); lean_dec_ref(x_121); lean_dec_ref(x_120); lean_dec_ref(x_119); @@ -68129,15 +68129,15 @@ else { uint8_t x_149; lean_dec_ref(x_132); -lean_dec(x_131); -lean_dec_ref(x_130); -lean_dec(x_129); +lean_dec_ref(x_131); +lean_dec(x_130); +lean_dec_ref(x_129); lean_dec_ref(x_127); lean_dec(x_126); -lean_dec_ref(x_125); +lean_dec(x_125); lean_dec(x_124); -lean_dec(x_123); -lean_dec_ref(x_122); +lean_dec_ref(x_123); +lean_dec(x_122); lean_dec_ref(x_121); lean_dec_ref(x_120); lean_dec_ref(x_119); @@ -68170,16 +68170,16 @@ lean_dec_ref(x_166); x_119 = x_153; x_120 = x_154; x_121 = x_155; -x_122 = x_157; -x_123 = x_156; -x_124 = x_158; -x_125 = x_160; -x_126 = x_159; -x_127 = x_161; +x_122 = x_156; +x_123 = x_158; +x_124 = x_157; +x_125 = x_159; +x_126 = x_161; +x_127 = x_160; x_128 = x_163; x_129 = x_162; -x_130 = x_164; -x_131 = x_165; +x_130 = x_165; +x_131 = x_164; x_132 = x_167; x_133 = lean_box(0); goto block_152; @@ -68190,12 +68190,12 @@ uint8_t x_168; lean_dec(x_165); lean_dec_ref(x_164); lean_dec_ref(x_163); -lean_dec(x_162); -lean_dec_ref(x_161); +lean_dec_ref(x_162); +lean_dec(x_161); lean_dec_ref(x_160); lean_dec(x_159); -lean_dec(x_158); -lean_dec_ref(x_157); +lean_dec_ref(x_158); +lean_dec(x_157); lean_dec(x_156); lean_dec_ref(x_155); lean_dec_ref(x_154); @@ -68222,9 +68222,9 @@ block_202: lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; x_188 = lean_unsigned_to_nat(3u); x_189 = l_Lean_Syntax_getArg(x_1, x_188); -lean_inc_ref(x_177); +lean_inc_ref(x_178); x_190 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Do_suggestInvariant___boxed), 11, 1); -lean_closure_set(x_190, 0, x_177); +lean_closure_set(x_190, 0, x_178); lean_inc(x_186); lean_inc_ref(x_185); lean_inc(x_184); @@ -68233,31 +68233,31 @@ lean_inc(x_182); lean_inc_ref(x_181); lean_inc(x_180); lean_inc_ref(x_179); -x_191 = l_Lean_Elab_Tactic_Do_elabInvariants(x_189, x_172, x_190, x_179, x_180, x_181, x_182, x_183, x_184, x_185, x_186); +x_191 = l_Lean_Elab_Tactic_Do_elabInvariants(x_189, x_173, x_190, x_179, x_180, x_181, x_182, x_183, x_184, x_185, x_186); lean_dec(x_189); if (lean_obj_tag(x_191) == 0) { lean_object* x_192; lean_object* x_193; uint8_t x_194; lean_dec_ref(x_191); -x_192 = lean_array_get_size(x_172); +x_192 = lean_array_get_size(x_173); x_193 = lean_mk_empty_array_with_capacity(x_174); x_194 = lean_nat_dec_lt(x_174, x_192); if (x_194 == 0) { -lean_dec(x_172); -x_119 = x_173; -x_120 = x_175; -x_121 = x_183; -x_122 = x_185; -x_123 = x_180; -x_124 = x_186; -x_125 = x_181; -x_126 = x_176; -x_127 = x_179; -x_128 = x_177; -x_129 = x_182; -x_130 = x_178; -x_131 = x_184; +lean_dec(x_173); +x_119 = x_172; +x_120 = x_183; +x_121 = x_179; +x_122 = x_180; +x_123 = x_185; +x_124 = x_184; +x_125 = x_175; +x_126 = x_182; +x_127 = x_176; +x_128 = x_178; +x_129 = x_177; +x_130 = x_186; +x_131 = x_181; x_132 = x_193; x_133 = lean_box(0); goto block_152; @@ -68270,20 +68270,20 @@ if (x_195 == 0) { if (x_194 == 0) { -lean_dec(x_172); -x_119 = x_173; -x_120 = x_175; -x_121 = x_183; -x_122 = x_185; -x_123 = x_180; -x_124 = x_186; -x_125 = x_181; -x_126 = x_176; -x_127 = x_179; -x_128 = x_177; -x_129 = x_182; -x_130 = x_178; -x_131 = x_184; +lean_dec(x_173); +x_119 = x_172; +x_120 = x_183; +x_121 = x_179; +x_122 = x_180; +x_123 = x_185; +x_124 = x_184; +x_125 = x_175; +x_126 = x_182; +x_127 = x_176; +x_128 = x_178; +x_129 = x_177; +x_130 = x_186; +x_131 = x_181; x_132 = x_193; x_133 = lean_box(0); goto block_152; @@ -68293,21 +68293,21 @@ else size_t x_196; size_t x_197; lean_object* x_198; x_196 = 0; x_197 = lean_usize_of_nat(x_192); -x_198 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_Do_elabInvariants_spec__10_spec__15(x_172, x_196, x_197, x_193, x_179, x_180, x_181, x_182, x_183, x_184, x_185, x_186); -lean_dec(x_172); -x_153 = x_173; -x_154 = x_175; -x_155 = x_183; +x_198 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_Do_elabInvariants_spec__10_spec__15(x_173, x_196, x_197, x_193, x_179, x_180, x_181, x_182, x_183, x_184, x_185, x_186); +lean_dec(x_173); +x_153 = x_172; +x_154 = x_183; +x_155 = x_179; x_156 = x_180; -x_157 = x_185; -x_158 = x_186; -x_159 = x_176; -x_160 = x_181; -x_161 = x_179; -x_162 = x_182; -x_163 = x_177; -x_164 = x_178; -x_165 = x_184; +x_157 = x_184; +x_158 = x_185; +x_159 = x_175; +x_160 = x_176; +x_161 = x_182; +x_162 = x_177; +x_163 = x_178; +x_164 = x_181; +x_165 = x_186; x_166 = x_198; goto block_171; } @@ -68317,21 +68317,21 @@ else size_t x_199; size_t x_200; lean_object* x_201; x_199 = 0; x_200 = lean_usize_of_nat(x_192); -x_201 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_Do_elabInvariants_spec__10_spec__15(x_172, x_199, x_200, x_193, x_179, x_180, x_181, x_182, x_183, x_184, x_185, x_186); -lean_dec(x_172); -x_153 = x_173; -x_154 = x_175; -x_155 = x_183; +x_201 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Tactic_Do_elabInvariants_spec__10_spec__15(x_173, x_199, x_200, x_193, x_179, x_180, x_181, x_182, x_183, x_184, x_185, x_186); +lean_dec(x_173); +x_153 = x_172; +x_154 = x_183; +x_155 = x_179; x_156 = x_180; -x_157 = x_185; -x_158 = x_186; -x_159 = x_176; -x_160 = x_181; -x_161 = x_179; -x_162 = x_182; -x_163 = x_177; -x_164 = x_178; -x_165 = x_184; +x_157 = x_184; +x_158 = x_185; +x_159 = x_175; +x_160 = x_176; +x_161 = x_182; +x_162 = x_177; +x_163 = x_178; +x_164 = x_181; +x_165 = x_186; x_166 = x_201; goto block_171; } @@ -68349,28 +68349,28 @@ lean_dec(x_180); lean_dec_ref(x_179); lean_dec_ref(x_178); lean_dec_ref(x_177); -lean_dec(x_176); -lean_dec_ref(x_175); -lean_dec_ref(x_173); -lean_dec(x_172); +lean_dec_ref(x_176); +lean_dec(x_175); +lean_dec(x_173); +lean_dec_ref(x_172); return x_191; } } block_286: { uint8_t x_221; uint8_t x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_221 = lean_ctor_get_uint8(x_208, sizeof(void*)*1); -x_222 = lean_ctor_get_uint8(x_208, sizeof(void*)*1 + 1); -lean_dec_ref(x_208); +x_221 = lean_ctor_get_uint8(x_211, sizeof(void*)*1); +x_222 = lean_ctor_get_uint8(x_211, sizeof(void*)*1 + 1); +lean_dec_ref(x_211); x_223 = lean_box(x_222); -x_224 = lean_box(x_204); +x_224 = lean_box(x_203); lean_inc_ref(x_2); -lean_inc_ref(x_206); +lean_inc_ref(x_204); x_225 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Do_elabMVCGen___lam__1___boxed), 12, 5); lean_closure_set(x_225, 0, x_223); lean_closure_set(x_225, 1, x_205); lean_closure_set(x_225, 2, x_224); -lean_closure_set(x_225, 3, x_206); +lean_closure_set(x_225, 3, x_204); lean_closure_set(x_225, 4, x_2); x_226 = 1; x_227 = lean_box(0); @@ -68382,7 +68382,7 @@ x_232 = lean_alloc_ctor(0, 8, 10); lean_ctor_set(x_232, 0, x_227); lean_ctor_set(x_232, 1, x_228); lean_ctor_set(x_232, 2, x_227); -lean_ctor_set(x_232, 3, x_211); +lean_ctor_set(x_232, 3, x_210); lean_ctor_set(x_232, 4, x_229); lean_ctor_set(x_232, 5, x_229); lean_ctor_set(x_232, 6, x_227); @@ -68410,8 +68410,8 @@ lean_object* x_235; lean_object* x_236; lean_object* x_237; uint8_t x_238; x_235 = lean_ctor_get(x_234, 0); lean_inc(x_235); lean_dec_ref(x_234); -lean_inc(x_209); -x_236 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__1___redArg(x_209, x_218); +lean_inc(x_208); +x_236 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__1___redArg(x_208, x_218); x_237 = lean_ctor_get(x_236, 0); lean_inc(x_237); lean_dec_ref(x_236); @@ -68423,35 +68423,35 @@ x_239 = lean_ctor_get(x_235, 0); x_240 = lean_ctor_get(x_235, 1); lean_dec(x_240); x_241 = lean_box(x_222); -x_242 = lean_box(x_204); +x_242 = lean_box(x_203); lean_inc_ref(x_2); -lean_inc_ref(x_206); +lean_inc_ref(x_204); x_243 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Do_elabMVCGen___lam__2___boxed), 12, 4); lean_closure_set(x_243, 0, x_241); lean_closure_set(x_243, 1, x_242); -lean_closure_set(x_243, 2, x_206); +lean_closure_set(x_243, 2, x_204); lean_closure_set(x_243, 3, x_2); x_244 = lean_box(x_221); -x_245 = lean_box(x_204); +x_245 = lean_box(x_203); x_246 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Do_elabMVCGen___lam__3___boxed), 13, 6); lean_closure_set(x_246, 0, x_244); lean_closure_set(x_246, 1, x_243); -lean_closure_set(x_246, 2, x_203); +lean_closure_set(x_246, 2, x_206); lean_closure_set(x_246, 3, x_245); -lean_closure_set(x_246, 4, x_206); +lean_closure_set(x_246, 4, x_204); lean_closure_set(x_246, 5, x_2); x_247 = lean_unbox(x_237); lean_dec(x_237); if (x_247 == 0) { lean_free_object(x_235); -x_172 = x_239; -x_173 = x_246; +x_172 = x_246; +x_173 = x_239; x_174 = x_230; -x_175 = x_233; -x_176 = x_209; -x_177 = x_210; -x_178 = x_232; +x_175 = x_208; +x_176 = x_233; +x_177 = x_232; +x_178 = x_209; x_179 = x_212; x_180 = x_213; x_181 = x_214; @@ -68467,7 +68467,7 @@ else { lean_object* x_248; size_t x_249; size_t x_250; lean_object* x_251; lean_inc(x_239); -x_248 = l_Array_append___redArg(x_239, x_210); +x_248 = l_Array_append___redArg(x_239, x_209); x_249 = lean_array_size(x_248); x_250 = 0; x_251 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__2___redArg(x_249, x_250, x_248, x_216, x_217, x_218, x_219); @@ -68484,18 +68484,18 @@ x_256 = l_Lean_MessageData_ofList(x_255); lean_ctor_set_tag(x_235, 7); lean_ctor_set(x_235, 1, x_256); lean_ctor_set(x_235, 0, x_253); -lean_inc(x_209); -x_257 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__4___redArg(x_209, x_235, x_216, x_217, x_218, x_219); +lean_inc(x_208); +x_257 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__4___redArg(x_208, x_235, x_216, x_217, x_218, x_219); if (lean_obj_tag(x_257) == 0) { lean_dec_ref(x_257); -x_172 = x_239; -x_173 = x_246; +x_172 = x_246; +x_173 = x_239; x_174 = x_230; -x_175 = x_233; -x_176 = x_209; -x_177 = x_210; -x_178 = x_232; +x_175 = x_208; +x_176 = x_233; +x_177 = x_232; +x_178 = x_209; x_179 = x_212; x_180 = x_213; x_181 = x_214; @@ -68520,8 +68520,8 @@ lean_dec(x_215); lean_dec_ref(x_214); lean_dec(x_213); lean_dec_ref(x_212); -lean_dec_ref(x_210); -lean_dec(x_209); +lean_dec_ref(x_209); +lean_dec(x_208); return x_257; } } @@ -68540,8 +68540,8 @@ lean_dec(x_215); lean_dec_ref(x_214); lean_dec(x_213); lean_dec_ref(x_212); -lean_dec_ref(x_210); -lean_dec(x_209); +lean_dec_ref(x_209); +lean_dec(x_208); x_258 = !lean_is_exclusive(x_251); if (x_258 == 0) { @@ -68567,34 +68567,34 @@ x_261 = lean_ctor_get(x_235, 0); lean_inc(x_261); lean_dec(x_235); x_262 = lean_box(x_222); -x_263 = lean_box(x_204); +x_263 = lean_box(x_203); lean_inc_ref(x_2); -lean_inc_ref(x_206); +lean_inc_ref(x_204); x_264 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Do_elabMVCGen___lam__2___boxed), 12, 4); lean_closure_set(x_264, 0, x_262); lean_closure_set(x_264, 1, x_263); -lean_closure_set(x_264, 2, x_206); +lean_closure_set(x_264, 2, x_204); lean_closure_set(x_264, 3, x_2); x_265 = lean_box(x_221); -x_266 = lean_box(x_204); +x_266 = lean_box(x_203); x_267 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Do_elabMVCGen___lam__3___boxed), 13, 6); lean_closure_set(x_267, 0, x_265); lean_closure_set(x_267, 1, x_264); -lean_closure_set(x_267, 2, x_203); +lean_closure_set(x_267, 2, x_206); lean_closure_set(x_267, 3, x_266); -lean_closure_set(x_267, 4, x_206); +lean_closure_set(x_267, 4, x_204); lean_closure_set(x_267, 5, x_2); x_268 = lean_unbox(x_237); lean_dec(x_237); if (x_268 == 0) { -x_172 = x_261; -x_173 = x_267; +x_172 = x_267; +x_173 = x_261; x_174 = x_230; -x_175 = x_233; -x_176 = x_209; -x_177 = x_210; -x_178 = x_232; +x_175 = x_208; +x_176 = x_233; +x_177 = x_232; +x_178 = x_209; x_179 = x_212; x_180 = x_213; x_181 = x_214; @@ -68610,7 +68610,7 @@ else { lean_object* x_269; size_t x_270; size_t x_271; lean_object* x_272; lean_inc(x_261); -x_269 = l_Array_append___redArg(x_261, x_210); +x_269 = l_Array_append___redArg(x_261, x_209); x_270 = lean_array_size(x_269); x_271 = 0; x_272 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__2___redArg(x_270, x_271, x_269, x_216, x_217, x_218, x_219); @@ -68627,18 +68627,18 @@ x_277 = l_Lean_MessageData_ofList(x_276); x_278 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_278, 0, x_274); lean_ctor_set(x_278, 1, x_277); -lean_inc(x_209); -x_279 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__4___redArg(x_209, x_278, x_216, x_217, x_218, x_219); +lean_inc(x_208); +x_279 = l_Lean_addTrace___at___00Lean_Elab_Tactic_Do_elabMVCGen_spec__4___redArg(x_208, x_278, x_216, x_217, x_218, x_219); if (lean_obj_tag(x_279) == 0) { lean_dec_ref(x_279); -x_172 = x_261; -x_173 = x_267; +x_172 = x_267; +x_173 = x_261; x_174 = x_230; -x_175 = x_233; -x_176 = x_209; -x_177 = x_210; -x_178 = x_232; +x_175 = x_208; +x_176 = x_233; +x_177 = x_232; +x_178 = x_209; x_179 = x_212; x_180 = x_213; x_181 = x_214; @@ -68663,8 +68663,8 @@ lean_dec(x_215); lean_dec_ref(x_214); lean_dec(x_213); lean_dec_ref(x_212); -lean_dec_ref(x_210); -lean_dec(x_209); +lean_dec_ref(x_209); +lean_dec(x_208); return x_279; } } @@ -68682,8 +68682,8 @@ lean_dec(x_215); lean_dec_ref(x_214); lean_dec(x_213); lean_dec_ref(x_212); -lean_dec_ref(x_210); -lean_dec(x_209); +lean_dec_ref(x_209); +lean_dec(x_208); x_280 = lean_ctor_get(x_272, 0); lean_inc(x_280); if (lean_is_exclusive(x_272)) { @@ -68716,10 +68716,10 @@ lean_dec(x_215); lean_dec_ref(x_214); lean_dec(x_213); lean_dec_ref(x_212); -lean_dec_ref(x_210); -lean_dec(x_209); +lean_dec_ref(x_209); +lean_dec(x_208); lean_dec_ref(x_206); -lean_dec_ref(x_203); +lean_dec_ref(x_204); lean_dec_ref(x_2); x_283 = !lean_is_exclusive(x_234); if (x_283 == 0) @@ -68745,7 +68745,7 @@ lean_inc(x_301); lean_inc_ref(x_300); lean_inc(x_299); lean_inc_ref(x_298); -x_303 = l_Lean_Elab_Tactic_Do_VCGen_genVCs(x_293, x_290, x_292, x_298, x_299, x_300, x_301); +x_303 = l_Lean_Elab_Tactic_Do_VCGen_genVCs(x_293, x_289, x_292, x_298, x_299, x_300, x_301); if (lean_obj_tag(x_303) == 0) { lean_object* x_304; uint8_t x_305; @@ -68770,15 +68770,15 @@ if (x_312 == 0) { lean_free_object(x_304); lean_inc_ref(x_307); -x_203 = x_307; -x_204 = x_287; +x_203 = x_287; +x_204 = x_308; x_205 = x_306; -x_206 = x_308; +x_206 = x_307; x_207 = x_288; -x_208 = x_289; -x_209 = x_309; -x_210 = x_307; -x_211 = x_291; +x_208 = x_309; +x_209 = x_307; +x_210 = x_291; +x_211 = x_290; x_212 = x_294; x_213 = x_295; x_214 = x_296; @@ -68817,15 +68817,15 @@ if (lean_obj_tag(x_323) == 0) { lean_dec_ref(x_323); lean_inc_ref(x_307); -x_203 = x_307; -x_204 = x_287; +x_203 = x_287; +x_204 = x_308; x_205 = x_306; -x_206 = x_308; +x_206 = x_307; x_207 = x_288; -x_208 = x_289; -x_209 = x_309; -x_210 = x_307; -x_211 = x_291; +x_208 = x_309; +x_209 = x_307; +x_210 = x_291; +x_211 = x_290; x_212 = x_294; x_213 = x_295; x_214 = x_296; @@ -68850,7 +68850,7 @@ lean_dec_ref(x_296); lean_dec(x_295); lean_dec_ref(x_294); lean_dec_ref(x_291); -lean_dec_ref(x_289); +lean_dec_ref(x_290); lean_dec_ref(x_2); return x_323; } @@ -68870,7 +68870,7 @@ lean_dec_ref(x_296); lean_dec(x_295); lean_dec_ref(x_294); lean_dec_ref(x_291); -lean_dec_ref(x_289); +lean_dec_ref(x_290); lean_dec_ref(x_2); x_324 = !lean_is_exclusive(x_316); if (x_324 == 0) @@ -68909,15 +68909,15 @@ lean_dec(x_332); if (x_333 == 0) { lean_inc_ref(x_328); -x_203 = x_328; -x_204 = x_287; +x_203 = x_287; +x_204 = x_329; x_205 = x_327; -x_206 = x_329; +x_206 = x_328; x_207 = x_288; -x_208 = x_289; -x_209 = x_330; -x_210 = x_328; -x_211 = x_291; +x_208 = x_330; +x_209 = x_328; +x_210 = x_291; +x_211 = x_290; x_212 = x_294; x_213 = x_295; x_214 = x_296; @@ -68956,15 +68956,15 @@ if (lean_obj_tag(x_345) == 0) { lean_dec_ref(x_345); lean_inc_ref(x_328); -x_203 = x_328; -x_204 = x_287; +x_203 = x_287; +x_204 = x_329; x_205 = x_327; -x_206 = x_329; +x_206 = x_328; x_207 = x_288; -x_208 = x_289; -x_209 = x_330; -x_210 = x_328; -x_211 = x_291; +x_208 = x_330; +x_209 = x_328; +x_210 = x_291; +x_211 = x_290; x_212 = x_294; x_213 = x_295; x_214 = x_296; @@ -68989,7 +68989,7 @@ lean_dec_ref(x_296); lean_dec(x_295); lean_dec_ref(x_294); lean_dec_ref(x_291); -lean_dec_ref(x_289); +lean_dec_ref(x_290); lean_dec_ref(x_2); return x_345; } @@ -69008,7 +69008,7 @@ lean_dec_ref(x_296); lean_dec(x_295); lean_dec_ref(x_294); lean_dec_ref(x_291); -lean_dec_ref(x_289); +lean_dec_ref(x_290); lean_dec_ref(x_2); x_346 = lean_ctor_get(x_337, 0); lean_inc(x_346); @@ -69042,7 +69042,7 @@ lean_dec_ref(x_296); lean_dec(x_295); lean_dec_ref(x_294); lean_dec_ref(x_291); -lean_dec_ref(x_289); +lean_dec_ref(x_290); lean_dec_ref(x_2); x_349 = !lean_is_exclusive(x_303); if (x_349 == 0) @@ -69064,11 +69064,11 @@ return x_351; block_380: { lean_object* x_368; -x_368 = l_Lean_Elab_Tactic_getMainGoal___redArg(x_363, x_360, x_366, x_358, x_362); +x_368 = l_Lean_Elab_Tactic_getMainGoal___redArg(x_363, x_361, x_366, x_358, x_362); if (lean_obj_tag(x_368) == 0) { uint8_t x_369; -x_369 = lean_ctor_get_uint8(x_361, sizeof(void*)*1 + 2); +x_369 = lean_ctor_get_uint8(x_360, sizeof(void*)*1 + 2); if (x_369 == 0) { lean_object* x_370; @@ -69077,8 +69077,8 @@ lean_inc(x_370); lean_dec_ref(x_368); x_287 = x_353; x_288 = x_354; -x_289 = x_361; -x_290 = x_357; +x_289 = x_357; +x_290 = x_360; x_291 = x_365; x_292 = x_367; x_293 = x_370; @@ -69086,7 +69086,7 @@ x_294 = x_356; x_295 = x_363; x_296 = x_364; x_297 = x_355; -x_298 = x_360; +x_298 = x_361; x_299 = x_366; x_300 = x_358; x_301 = x_362; @@ -69102,8 +69102,8 @@ lean_dec_ref(x_368); lean_inc(x_362); lean_inc_ref(x_358); lean_inc(x_366); -lean_inc_ref(x_360); -x_372 = l_Lean_Elab_Tactic_Do_elimLets(x_371, x_369, x_360, x_366, x_358, x_362); +lean_inc_ref(x_361); +x_372 = l_Lean_Elab_Tactic_Do_elimLets(x_371, x_369, x_361, x_366, x_358, x_362); if (lean_obj_tag(x_372) == 0) { lean_object* x_373; @@ -69112,8 +69112,8 @@ lean_inc(x_373); lean_dec_ref(x_372); x_287 = x_353; x_288 = x_354; -x_289 = x_361; -x_290 = x_357; +x_289 = x_357; +x_290 = x_360; x_291 = x_365; x_292 = x_367; x_293 = x_373; @@ -69121,7 +69121,7 @@ x_294 = x_356; x_295 = x_363; x_296 = x_364; x_297 = x_355; -x_298 = x_360; +x_298 = x_361; x_299 = x_366; x_300 = x_358; x_301 = x_362; @@ -69235,8 +69235,8 @@ x_356 = x_381; x_357 = x_396; x_358 = x_387; x_359 = lean_box(0); -x_360 = x_385; -x_361 = x_397; +x_360 = x_397; +x_361 = x_385; x_362 = x_388; x_363 = x_382; x_364 = x_383; @@ -69259,8 +69259,8 @@ x_356 = x_381; x_357 = x_396; x_358 = x_387; x_359 = lean_box(0); -x_360 = x_385; -x_361 = x_397; +x_360 = x_397; +x_361 = x_385; x_362 = x_388; x_363 = x_382; x_364 = x_383; @@ -69284,8 +69284,8 @@ x_356 = x_381; x_357 = x_396; x_358 = x_387; x_359 = lean_box(0); -x_360 = x_385; -x_361 = x_397; +x_360 = x_397; +x_361 = x_385; x_362 = x_388; x_363 = x_382; x_364 = x_383; diff --git a/stage0/stdlib/Lean/Elab/Term/TermElabM.c b/stage0/stdlib/Lean/Elab/Term/TermElabM.c index ba40d81d1c..93aebb2db1 100644 --- a/stage0/stdlib/Lean/Elab/Term/TermElabM.c +++ b/stage0/stdlib/Lean/Elab/Term/TermElabM.c @@ -3069,7 +3069,7 @@ x_6 = lean_box(0); x_7 = l_Lean_Elab_Term_instInhabitedLetRecToLift_default___closed__0; x_8 = l_Lean_instInhabitedFVarId_default; x_9 = lean_box(0); -x_10 = lean_alloc_ctor(0, 12, 0); +x_10 = lean_alloc_ctor(0, 14, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); lean_ctor_set(x_10, 2, x_7); @@ -3082,6 +3082,8 @@ lean_ctor_set(x_10, 8, x_3); lean_ctor_set(x_10, 9, x_3); lean_ctor_set(x_10, 10, x_2); lean_ctor_set(x_10, 11, x_1); +lean_ctor_set(x_10, 12, x_9); +lean_ctor_set(x_10, 13, x_5); return x_10; } } @@ -6859,12 +6861,12 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; x_20 = lean_ctor_get(x_11, 6); lean_dec(x_20); lean_ctor_set(x_11, 6, x_2); -lean_inc(x_15); +lean_inc(x_14); x_21 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withRestoreOrSaveFull___redArg___lam__0___boxed), 8, 3); lean_closure_set(x_21, 0, x_3); lean_closure_set(x_21, 1, x_11); -lean_closure_set(x_21, 2, x_15); -x_22 = l_Lean_Meta_withRestoreOrSaveFull___redArg(x_18, x_21, x_13, x_14, x_17, x_16); +lean_closure_set(x_21, 2, x_14); +x_22 = l_Lean_Meta_withRestoreOrSaveFull___redArg(x_18, x_21, x_12, x_17, x_16, x_15); if (lean_obj_tag(x_22) == 0) { uint8_t x_23; @@ -6878,8 +6880,8 @@ if (x_25 == 0) { lean_object* x_26; lean_object* x_27; lean_object* x_28; x_26 = lean_ctor_get(x_24, 1); -x_27 = lean_st_ref_get(x_15); -lean_dec(x_15); +x_27 = lean_st_ref_get(x_14); +lean_dec(x_14); x_28 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -6894,8 +6896,8 @@ x_30 = lean_ctor_get(x_24, 1); lean_inc(x_30); lean_inc(x_29); lean_dec(x_24); -x_31 = lean_st_ref_get(x_15); -lean_dec(x_15); +x_31 = lean_st_ref_get(x_14); +lean_dec(x_14); x_32 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -6924,8 +6926,8 @@ if (lean_is_exclusive(x_34)) { lean_dec_ref(x_34); x_37 = lean_box(0); } -x_38 = lean_st_ref_get(x_15); -lean_dec(x_15); +x_38 = lean_st_ref_get(x_14); +lean_dec(x_14); x_39 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_39, 0, x_36); lean_ctor_set(x_39, 1, x_38); @@ -6944,7 +6946,7 @@ return x_41; else { uint8_t x_42; -lean_dec(x_15); +lean_dec(x_14); x_42 = !lean_is_exclusive(x_22); if (x_42 == 0) { @@ -7009,12 +7011,12 @@ lean_ctor_set_uint8(x_62, sizeof(void*)*8 + 6, x_57); lean_ctor_set_uint8(x_62, sizeof(void*)*8 + 7, x_58); lean_ctor_set_uint8(x_62, sizeof(void*)*8 + 8, x_59); lean_ctor_set_uint8(x_62, sizeof(void*)*8 + 9, x_60); -lean_inc(x_15); +lean_inc(x_14); x_63 = lean_alloc_closure((void*)(l_Lean_Elab_Term_withRestoreOrSaveFull___redArg___lam__0___boxed), 8, 3); lean_closure_set(x_63, 0, x_3); lean_closure_set(x_63, 1, x_62); -lean_closure_set(x_63, 2, x_15); -x_64 = l_Lean_Meta_withRestoreOrSaveFull___redArg(x_18, x_63, x_13, x_14, x_17, x_16); +lean_closure_set(x_63, 2, x_14); +x_64 = l_Lean_Meta_withRestoreOrSaveFull___redArg(x_18, x_63, x_12, x_17, x_16, x_15); if (lean_obj_tag(x_64) == 0) { lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; @@ -7039,8 +7041,8 @@ if (lean_is_exclusive(x_65)) { lean_dec_ref(x_65); x_69 = lean_box(0); } -x_70 = lean_st_ref_get(x_15); -lean_dec(x_15); +x_70 = lean_st_ref_get(x_14); +lean_dec(x_14); x_71 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_71, 0, x_68); lean_ctor_set(x_71, 1, x_70); @@ -7062,7 +7064,7 @@ return x_73; else { lean_object* x_74; lean_object* x_75; lean_object* x_76; -lean_dec(x_15); +lean_dec(x_14); x_74 = lean_ctor_get(x_64, 0); lean_inc(x_74); if (lean_is_exclusive(x_64)) { @@ -7089,12 +7091,12 @@ if (lean_obj_tag(x_1) == 0) lean_object* x_85; x_85 = lean_box(0); x_11 = x_78; -x_12 = lean_box(0); -x_13 = x_80; -x_14 = x_81; -x_15 = x_79; -x_16 = x_83; -x_17 = x_82; +x_12 = x_80; +x_13 = lean_box(0); +x_14 = x_79; +x_15 = x_83; +x_16 = x_82; +x_17 = x_81; x_18 = x_85; goto block_77; } @@ -7116,12 +7118,12 @@ lean_inc_ref(x_90); lean_dec(x_89); lean_ctor_set(x_87, 1, x_90); x_11 = x_78; -x_12 = lean_box(0); -x_13 = x_80; -x_14 = x_81; -x_15 = x_79; -x_16 = x_83; -x_17 = x_82; +x_12 = x_80; +x_13 = lean_box(0); +x_14 = x_79; +x_15 = x_83; +x_16 = x_82; +x_17 = x_81; x_18 = x_1; goto block_77; } @@ -7141,12 +7143,12 @@ lean_ctor_set(x_94, 0, x_92); lean_ctor_set(x_94, 1, x_93); lean_ctor_set(x_1, 0, x_94); x_11 = x_78; -x_12 = lean_box(0); -x_13 = x_80; -x_14 = x_81; -x_15 = x_79; -x_16 = x_83; -x_17 = x_82; +x_12 = x_80; +x_13 = lean_box(0); +x_14 = x_79; +x_15 = x_83; +x_16 = x_82; +x_17 = x_81; x_18 = x_1; goto block_77; } @@ -7182,12 +7184,12 @@ lean_ctor_set(x_100, 1, x_99); x_101 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_101, 0, x_100); x_11 = x_78; -x_12 = lean_box(0); -x_13 = x_80; -x_14 = x_81; -x_15 = x_79; -x_16 = x_83; -x_17 = x_82; +x_12 = x_80; +x_13 = lean_box(0); +x_14 = x_79; +x_15 = x_83; +x_16 = x_82; +x_17 = x_81; x_18 = x_101; goto block_77; } @@ -9874,7 +9876,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_Term_getFVarLocalDecl_x21___closed__2; x_2 = lean_unsigned_to_nat(14u); -x_3 = lean_unsigned_to_nat(581u); +x_3 = lean_unsigned_to_nat(586u); x_4 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; x_5 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -11969,7 +11971,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_unsigned_to_nat(603u); +x_2 = lean_unsigned_to_nat(608u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -11981,7 +11983,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(100u); -x_2 = lean_unsigned_to_nat(614u); +x_2 = lean_unsigned_to_nat(619u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -12009,7 +12011,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(19u); -x_2 = lean_unsigned_to_nat(614u); +x_2 = lean_unsigned_to_nat(619u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -12021,7 +12023,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_unsigned_to_nat(36u); -x_2 = lean_unsigned_to_nat(614u); +x_2 = lean_unsigned_to_nat(619u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -15879,7 +15881,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_Term_getInfoTreeWithContext_x3f___redArg___closed__4; x_2 = lean_unsigned_to_nat(11u); -x_3 = lean_unsigned_to_nat(743u); +x_3 = lean_unsigned_to_nat(748u); x_4 = l_Lean_Elab_Term_getInfoTreeWithContext_x3f___redArg___closed__3; x_5 = l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -20493,7 +20495,7 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_Term_MVarErrorInfo_logError_spec__1_spec__1___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_50; uint8_t x_51; lean_object* x_52; uint8_t x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_77; uint8_t x_78; uint8_t x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_88; uint8_t x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; uint8_t x_94; uint8_t x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; +uint8_t 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_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_50; lean_object* x_51; uint8_t x_52; uint8_t x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_77; lean_object* x_78; uint8_t x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_88; uint8_t x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; uint8_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; uint8_t x_106; uint8_t x_107; uint8_t x_109; uint8_t x_125; x_100 = 2; x_125 = l_Lean_instBEqMessageSeverity_beq(x_3, x_100); if (x_125 == 0) @@ -20528,15 +20530,15 @@ lean_ctor_set(x_25, 0, x_21); lean_ctor_set(x_25, 1, x_22); x_26 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_10); +lean_ctor_set(x_26, 1, x_16); x_27 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_27, 0, x_16); -lean_ctor_set(x_27, 1, x_13); -lean_ctor_set(x_27, 2, x_14); -lean_ctor_set(x_27, 3, x_11); +lean_ctor_set(x_27, 0, x_14); +lean_ctor_set(x_27, 1, x_15); +lean_ctor_set(x_27, 2, x_11); +lean_ctor_set(x_27, 3, x_12); lean_ctor_set(x_27, 4, x_26); -lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_15); -lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_12); +lean_ctor_set_uint8(x_27, sizeof(void*)*5, x_13); +lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 1, x_10); lean_ctor_set_uint8(x_27, sizeof(void*)*5 + 2, x_4); x_28 = l_Lean_MessageLog_add(x_27, x_24); lean_ctor_set(x_20, 6, x_28); @@ -20573,15 +20575,15 @@ lean_ctor_set(x_41, 0, x_21); lean_ctor_set(x_41, 1, x_22); x_42 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_10); +lean_ctor_set(x_42, 1, x_16); x_43 = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(x_43, 0, x_16); -lean_ctor_set(x_43, 1, x_13); -lean_ctor_set(x_43, 2, x_14); -lean_ctor_set(x_43, 3, x_11); +lean_ctor_set(x_43, 0, x_14); +lean_ctor_set(x_43, 1, x_15); +lean_ctor_set(x_43, 2, x_11); +lean_ctor_set(x_43, 3, x_12); lean_ctor_set(x_43, 4, x_42); -lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_15); -lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_12); +lean_ctor_set_uint8(x_43, sizeof(void*)*5, x_13); +lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 1, x_10); lean_ctor_set_uint8(x_43, sizeof(void*)*5 + 2, x_4); x_44 = l_Lean_MessageLog_add(x_43, x_38); x_45 = lean_alloc_ctor(0, 9, 0); @@ -20611,25 +20613,25 @@ if (x_60 == 0) { lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; x_61 = lean_ctor_get(x_59, 0); -lean_inc_ref(x_54); -x_62 = l_Lean_FileMap_toPosition(x_54, x_52); -lean_dec(x_52); -x_63 = l_Lean_FileMap_toPosition(x_54, x_57); +lean_inc_ref(x_56); +x_62 = l_Lean_FileMap_toPosition(x_56, x_51); +lean_dec(x_51); +x_63 = l_Lean_FileMap_toPosition(x_56, x_57); lean_dec(x_57); x_64 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_64, 0, x_63); x_65 = l_Lean_addTrace___at___00Lean_Elab_Term_traceAtCmdPos_spec__1___redArg___closed__1; -if (x_53 == 0) +if (x_55 == 0) { lean_free_object(x_59); lean_dec_ref(x_50); -x_10 = x_61; -x_11 = x_65; -x_12 = x_51; -x_13 = x_62; -x_14 = x_64; -x_15 = x_56; -x_16 = x_55; +x_10 = x_52; +x_11 = x_64; +x_12 = x_65; +x_13 = x_53; +x_14 = x_54; +x_15 = x_62; +x_16 = x_61; x_17 = x_7; x_18 = x_8; x_19 = lean_box(0); @@ -20646,7 +20648,7 @@ lean_object* x_67; lean_dec_ref(x_64); lean_dec_ref(x_62); lean_dec(x_61); -lean_dec_ref(x_55); +lean_dec_ref(x_54); lean_dec_ref(x_7); x_67 = lean_box(0); lean_ctor_set(x_59, 0, x_67); @@ -20655,13 +20657,13 @@ return x_59; else { lean_free_object(x_59); -x_10 = x_61; -x_11 = x_65; -x_12 = x_51; -x_13 = x_62; -x_14 = x_64; -x_15 = x_56; -x_16 = x_55; +x_10 = x_52; +x_11 = x_64; +x_12 = x_65; +x_13 = x_53; +x_14 = x_54; +x_15 = x_62; +x_16 = x_61; x_17 = x_7; x_18 = x_8; x_19 = lean_box(0); @@ -20675,24 +20677,24 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean x_68 = lean_ctor_get(x_59, 0); lean_inc(x_68); lean_dec(x_59); -lean_inc_ref(x_54); -x_69 = l_Lean_FileMap_toPosition(x_54, x_52); -lean_dec(x_52); -x_70 = l_Lean_FileMap_toPosition(x_54, x_57); +lean_inc_ref(x_56); +x_69 = l_Lean_FileMap_toPosition(x_56, x_51); +lean_dec(x_51); +x_70 = l_Lean_FileMap_toPosition(x_56, x_57); lean_dec(x_57); x_71 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_71, 0, x_70); x_72 = l_Lean_addTrace___at___00Lean_Elab_Term_traceAtCmdPos_spec__1___redArg___closed__1; -if (x_53 == 0) +if (x_55 == 0) { lean_dec_ref(x_50); -x_10 = x_68; -x_11 = x_72; -x_12 = x_51; -x_13 = x_69; -x_14 = x_71; -x_15 = x_56; -x_16 = x_55; +x_10 = x_52; +x_11 = x_71; +x_12 = x_72; +x_13 = x_53; +x_14 = x_54; +x_15 = x_69; +x_16 = x_68; x_17 = x_7; x_18 = x_8; x_19 = lean_box(0); @@ -20709,7 +20711,7 @@ lean_object* x_74; lean_object* x_75; lean_dec_ref(x_71); lean_dec_ref(x_69); lean_dec(x_68); -lean_dec_ref(x_55); +lean_dec_ref(x_54); lean_dec_ref(x_7); x_74 = lean_box(0); x_75 = lean_alloc_ctor(0, 1, 0); @@ -20718,13 +20720,13 @@ return x_75; } else { -x_10 = x_68; -x_11 = x_72; -x_12 = x_51; -x_13 = x_69; -x_14 = x_71; -x_15 = x_56; -x_16 = x_55; +x_10 = x_52; +x_11 = x_71; +x_12 = x_72; +x_13 = x_53; +x_14 = x_54; +x_15 = x_69; +x_16 = x_68; x_17 = x_7; x_18 = x_8; x_19 = lean_box(0); @@ -20736,18 +20738,18 @@ goto block_49; block_87: { lean_object* x_85; -x_85 = l_Lean_Syntax_getTailPos_x3f(x_83, x_81); -lean_dec(x_83); +x_85 = l_Lean_Syntax_getTailPos_x3f(x_78, x_80); +lean_dec(x_78); if (lean_obj_tag(x_85) == 0) { lean_inc(x_84); x_50 = x_77; -x_51 = x_78; -x_52 = x_84; -x_53 = x_79; -x_54 = x_80; -x_55 = x_82; -x_56 = x_81; +x_51 = x_84; +x_52 = x_79; +x_53 = x_80; +x_54 = x_81; +x_55 = x_83; +x_56 = x_82; x_57 = x_84; goto block_76; } @@ -20758,12 +20760,12 @@ x_86 = lean_ctor_get(x_85, 0); lean_inc(x_86); lean_dec_ref(x_85); x_50 = x_77; -x_51 = x_78; -x_52 = x_84; -x_53 = x_79; -x_54 = x_80; -x_55 = x_82; -x_56 = x_81; +x_51 = x_84; +x_52 = x_79; +x_53 = x_80; +x_54 = x_81; +x_55 = x_83; +x_56 = x_82; x_57 = x_86; goto block_76; } @@ -20773,18 +20775,18 @@ block_99: lean_object* x_95; lean_object* x_96; x_95 = l_Lean_replaceRef(x_1, x_93); lean_dec(x_93); -x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_92); +x_96 = l_Lean_Syntax_getPos_x3f(x_95, x_89); if (lean_obj_tag(x_96) == 0) { lean_object* x_97; x_97 = lean_unsigned_to_nat(0u); x_77 = x_88; -x_78 = x_94; -x_79 = x_89; -x_80 = x_90; -x_81 = x_92; -x_82 = x_91; -x_83 = x_95; +x_78 = x_95; +x_79 = x_94; +x_80 = x_89; +x_81 = x_90; +x_82 = x_92; +x_83 = x_91; x_84 = x_97; goto block_87; } @@ -20795,12 +20797,12 @@ x_98 = lean_ctor_get(x_96, 0); lean_inc(x_98); lean_dec_ref(x_96); x_77 = x_88; -x_78 = x_94; -x_79 = x_89; -x_80 = x_90; -x_81 = x_92; -x_82 = x_91; -x_83 = x_95; +x_78 = x_95; +x_79 = x_94; +x_80 = x_89; +x_81 = x_90; +x_82 = x_92; +x_83 = x_91; x_84 = x_98; goto block_87; } @@ -20810,10 +20812,10 @@ block_108: if (x_107 == 0) { x_88 = x_101; -x_89 = x_102; -x_90 = x_103; +x_89 = x_106; +x_90 = x_102; x_91 = x_104; -x_92 = x_106; +x_92 = x_103; x_93 = x_105; x_94 = x_3; goto block_99; @@ -20821,10 +20823,10 @@ goto block_99; else { x_88 = x_101; -x_89 = x_102; -x_90 = x_103; +x_89 = x_106; +x_90 = x_102; x_91 = x_104; -x_92 = x_106; +x_92 = x_103; x_93 = x_105; x_94 = x_100; goto block_99; @@ -20850,12 +20852,12 @@ x_119 = l_Lean_instBEqMessageSeverity_beq(x_3, x_118); if (x_119 == 0) { lean_inc(x_113); -lean_inc_ref(x_110); lean_inc_ref(x_111); +lean_inc_ref(x_110); x_101 = x_117; -x_102 = x_114; +x_102 = x_110; x_103 = x_111; -x_104 = x_110; +x_104 = x_114; x_105 = x_113; x_106 = x_109; x_107 = x_119; @@ -20867,12 +20869,12 @@ lean_object* x_120; uint8_t x_121; x_120 = l_Lean_warningAsError; x_121 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Term_throwErrorIfErrors_spec__0_spec__1_spec__2(x_112, x_120); lean_inc(x_113); -lean_inc_ref(x_110); lean_inc_ref(x_111); +lean_inc_ref(x_110); x_101 = x_117; -x_102 = x_114; +x_102 = x_110; x_103 = x_111; -x_104 = x_110; +x_104 = x_114; x_105 = x_113; x_106 = x_109; x_107 = x_121; @@ -23373,7 +23375,7 @@ return x_18; LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; uint8_t x_48; lean_object* x_56; +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; uint8_t x_18; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_56; lean_inc_ref(x_1); lean_inc(x_8); lean_inc_ref(x_7); @@ -23515,11 +23517,11 @@ x_70 = lean_usize_dec_eq(x_68, x_69); if (x_70 == 0) { x_42 = lean_box(0); -x_43 = x_67; +x_43 = x_60; x_44 = x_59; -x_45 = x_65; -x_46 = x_63; -x_47 = x_60; +x_45 = x_63; +x_46 = x_67; +x_47 = x_65; x_48 = x_70; goto block_55; } @@ -23530,11 +23532,11 @@ x_71 = lean_ptr_addr(x_62); x_72 = lean_ptr_addr(x_67); x_73 = lean_usize_dec_eq(x_71, x_72); x_42 = lean_box(0); -x_43 = x_67; +x_43 = x_60; x_44 = x_59; -x_45 = x_65; -x_46 = x_63; -x_47 = x_60; +x_45 = x_63; +x_46 = x_67; +x_47 = x_65; x_48 = x_73; goto block_55; } @@ -23611,12 +23613,12 @@ x_83 = lean_ptr_addr(x_79); x_84 = lean_usize_dec_eq(x_82, x_83); if (x_84 == 0) { -x_28 = x_79; -x_29 = x_59; -x_30 = x_77; -x_31 = x_81; -x_32 = lean_box(0); -x_33 = x_74; +x_28 = lean_box(0); +x_29 = x_81; +x_30 = x_59; +x_31 = x_77; +x_32 = x_74; +x_33 = x_79; x_34 = x_84; goto block_41; } @@ -23626,12 +23628,12 @@ size_t x_85; size_t x_86; uint8_t x_87; x_85 = lean_ptr_addr(x_76); x_86 = lean_ptr_addr(x_81); x_87 = lean_usize_dec_eq(x_85, x_86); -x_28 = x_79; -x_29 = x_59; -x_30 = x_77; -x_31 = x_81; -x_32 = lean_box(0); -x_33 = x_74; +x_28 = lean_box(0); +x_29 = x_81; +x_30 = x_59; +x_31 = x_77; +x_32 = x_74; +x_33 = x_79; x_34 = x_87; goto block_41; } @@ -23725,14 +23727,14 @@ x_100 = lean_ptr_addr(x_94); x_101 = lean_usize_dec_eq(x_99, x_100); if (x_101 == 0) { -x_10 = x_92; +x_10 = lean_box(0); x_11 = x_94; -x_12 = x_91; +x_12 = x_88; x_13 = x_98; -x_14 = x_96; -x_15 = x_59; -x_16 = x_88; -x_17 = lean_box(0); +x_14 = x_59; +x_15 = x_91; +x_16 = x_92; +x_17 = x_96; x_18 = x_101; goto block_27; } @@ -23742,14 +23744,14 @@ size_t x_102; size_t x_103; uint8_t x_104; x_102 = lean_ptr_addr(x_90); x_103 = lean_ptr_addr(x_96); x_104 = lean_usize_dec_eq(x_102, x_103); -x_10 = x_92; +x_10 = lean_box(0); x_11 = x_94; -x_12 = x_91; +x_12 = x_88; x_13 = x_98; -x_14 = x_96; -x_15 = x_59; -x_16 = x_88; -x_17 = lean_box(0); +x_14 = x_59; +x_15 = x_91; +x_16 = x_92; +x_17 = x_96; x_18 = x_104; goto block_27; } @@ -24063,11 +24065,11 @@ x_153 = lean_usize_dec_eq(x_151, x_152); if (x_153 == 0) { x_42 = lean_box(0); -x_43 = x_150; +x_43 = x_143; x_44 = x_142; -x_45 = x_148; -x_46 = x_146; -x_47 = x_143; +x_45 = x_146; +x_46 = x_150; +x_47 = x_148; x_48 = x_153; goto block_55; } @@ -24078,11 +24080,11 @@ x_154 = lean_ptr_addr(x_145); x_155 = lean_ptr_addr(x_150); x_156 = lean_usize_dec_eq(x_154, x_155); x_42 = lean_box(0); -x_43 = x_150; +x_43 = x_143; x_44 = x_142; -x_45 = x_148; -x_46 = x_146; -x_47 = x_143; +x_45 = x_146; +x_46 = x_150; +x_47 = x_148; x_48 = x_156; goto block_55; } @@ -24159,12 +24161,12 @@ x_166 = lean_ptr_addr(x_162); x_167 = lean_usize_dec_eq(x_165, x_166); if (x_167 == 0) { -x_28 = x_162; -x_29 = x_142; -x_30 = x_160; -x_31 = x_164; -x_32 = lean_box(0); -x_33 = x_157; +x_28 = lean_box(0); +x_29 = x_164; +x_30 = x_142; +x_31 = x_160; +x_32 = x_157; +x_33 = x_162; x_34 = x_167; goto block_41; } @@ -24174,12 +24176,12 @@ size_t x_168; size_t x_169; uint8_t x_170; x_168 = lean_ptr_addr(x_159); x_169 = lean_ptr_addr(x_164); x_170 = lean_usize_dec_eq(x_168, x_169); -x_28 = x_162; -x_29 = x_142; -x_30 = x_160; -x_31 = x_164; -x_32 = lean_box(0); -x_33 = x_157; +x_28 = lean_box(0); +x_29 = x_164; +x_30 = x_142; +x_31 = x_160; +x_32 = x_157; +x_33 = x_162; x_34 = x_170; goto block_41; } @@ -24273,14 +24275,14 @@ x_183 = lean_ptr_addr(x_177); x_184 = lean_usize_dec_eq(x_182, x_183); if (x_184 == 0) { -x_10 = x_175; +x_10 = lean_box(0); x_11 = x_177; -x_12 = x_174; +x_12 = x_171; x_13 = x_181; -x_14 = x_179; -x_15 = x_142; -x_16 = x_171; -x_17 = lean_box(0); +x_14 = x_142; +x_15 = x_174; +x_16 = x_175; +x_17 = x_179; x_18 = x_184; goto block_27; } @@ -24290,14 +24292,14 @@ size_t x_185; size_t x_186; uint8_t x_187; x_185 = lean_ptr_addr(x_173); x_186 = lean_ptr_addr(x_179); x_187 = lean_usize_dec_eq(x_185, x_186); -x_10 = x_175; +x_10 = lean_box(0); x_11 = x_177; -x_12 = x_174; +x_12 = x_171; x_13 = x_181; -x_14 = x_179; -x_15 = x_142; -x_16 = x_171; -x_17 = lean_box(0); +x_14 = x_142; +x_15 = x_174; +x_16 = x_175; +x_17 = x_179; x_18 = x_187; goto block_27; } @@ -24514,34 +24516,34 @@ if (x_18 == 0) { lean_object* x_19; lean_object* x_20; lean_dec_ref(x_15); -lean_dec_ref(x_12); -x_19 = l_Lean_Expr_letE___override(x_16, x_11, x_14, x_13, x_10); +lean_dec_ref(x_14); +x_19 = l_Lean_Expr_letE___override(x_12, x_11, x_17, x_13, x_16); x_20 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_19, x_4, x_5, x_6, x_7, x_8); return x_20; } else { size_t x_21; size_t x_22; uint8_t x_23; -x_21 = lean_ptr_addr(x_12); -lean_dec_ref(x_12); +x_21 = lean_ptr_addr(x_15); +lean_dec_ref(x_15); x_22 = lean_ptr_addr(x_13); x_23 = lean_usize_dec_eq(x_21, x_22); if (x_23 == 0) { lean_object* x_24; lean_object* x_25; -lean_dec_ref(x_15); -x_24 = l_Lean_Expr_letE___override(x_16, x_11, x_14, x_13, x_10); +lean_dec_ref(x_14); +x_24 = l_Lean_Expr_letE___override(x_12, x_11, x_17, x_13, x_16); x_25 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_24, x_4, x_5, x_6, x_7, x_8); return x_25; } else { lean_object* x_26; -lean_dec(x_16); -lean_dec_ref(x_14); +lean_dec_ref(x_17); lean_dec_ref(x_13); +lean_dec(x_12); lean_dec_ref(x_11); -x_26 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_15, x_4, x_5, x_6, x_7, x_8); +x_26 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_14, x_4, x_5, x_6, x_7, x_8); return x_26; } } @@ -24551,30 +24553,30 @@ block_41: if (x_34 == 0) { lean_object* x_35; lean_object* x_36; -lean_dec_ref(x_29); -x_35 = l_Lean_Expr_lam___override(x_33, x_28, x_31, x_30); +lean_dec_ref(x_30); +x_35 = l_Lean_Expr_lam___override(x_32, x_33, x_29, x_31); x_36 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_35, x_4, x_5, x_6, x_7, x_8); return x_36; } else { uint8_t x_37; -x_37 = l_Lean_instBEqBinderInfo_beq(x_30, x_30); +x_37 = l_Lean_instBEqBinderInfo_beq(x_31, x_31); if (x_37 == 0) { lean_object* x_38; lean_object* x_39; -lean_dec_ref(x_29); -x_38 = l_Lean_Expr_lam___override(x_33, x_28, x_31, x_30); +lean_dec_ref(x_30); +x_38 = l_Lean_Expr_lam___override(x_32, x_33, x_29, x_31); x_39 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_38, x_4, x_5, x_6, x_7, x_8); return x_39; } else { lean_object* x_40; -lean_dec(x_33); -lean_dec_ref(x_31); -lean_dec_ref(x_28); -x_40 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_29, x_4, x_5, x_6, x_7, x_8); +lean_dec_ref(x_33); +lean_dec(x_32); +lean_dec_ref(x_29); +x_40 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_30, x_4, x_5, x_6, x_7, x_8); return x_40; } } @@ -24585,28 +24587,28 @@ if (x_48 == 0) { lean_object* x_49; lean_object* x_50; lean_dec_ref(x_44); -x_49 = l_Lean_Expr_forallE___override(x_47, x_45, x_43, x_46); +x_49 = l_Lean_Expr_forallE___override(x_43, x_47, x_46, x_45); x_50 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_49, x_4, x_5, x_6, x_7, x_8); return x_50; } else { uint8_t x_51; -x_51 = l_Lean_instBEqBinderInfo_beq(x_46, x_46); +x_51 = l_Lean_instBEqBinderInfo_beq(x_45, x_45); if (x_51 == 0) { lean_object* x_52; lean_object* x_53; lean_dec_ref(x_44); -x_52 = l_Lean_Expr_forallE___override(x_47, x_45, x_43, x_46); +x_52 = l_Lean_Expr_forallE___override(x_43, x_47, x_46, x_45); x_53 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_52, x_4, x_5, x_6, x_7, x_8); return x_53; } else { lean_object* x_54; -lean_dec(x_47); -lean_dec_ref(x_45); -lean_dec_ref(x_43); +lean_dec_ref(x_47); +lean_dec_ref(x_46); +lean_dec(x_43); x_54 = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_Term_exposeLevelMVars_spec__1_spec__1_spec__3(x_1, x_3, x_44, x_4, x_5, x_6, x_7, x_8); return x_54; } @@ -28343,7 +28345,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; double x_32; double x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_43; double x_44; double x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_70; double x_71; double x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_81; double x_82; double x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_91; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; double x_32; lean_object* x_33; uint8_t x_34; double x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; double x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; double x_48; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; double x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; double x_74; lean_object* x_75; lean_object* x_76; double x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; double x_86; uint8_t x_91; x_13 = lean_ctor_get(x_10, 2); x_14 = lean_ctor_get(x_10, 5); x_91 = lean_ctor_get_uint8(x_13, sizeof(void*)*1); @@ -28358,7 +28360,7 @@ return x_92; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; double x_96; double x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; uint8_t x_101; lean_object* x_135; double x_136; double x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; double x_141; uint8_t x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_167; double x_168; double x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; uint8_t x_173; uint8_t x_207; double x_208; double x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; double x_213; uint8_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_257; +lean_object* x_93; lean_object* x_94; double x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; double x_99; lean_object* x_100; uint8_t x_101; double x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; lean_object* x_139; double x_140; double x_141; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; double x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; double x_172; uint8_t x_173; double x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; double x_212; double x_213; lean_object* x_217; uint8_t x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_257; lean_inc(x_1); x_93 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Term_traceAtCmdPos_spec__0___redArg(x_1, x_10); x_94 = lean_ctor_get(x_93, 0); @@ -28421,12 +28423,12 @@ if (x_106 == 0) { lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; x_107 = lean_ctor_get(x_105, 0); -x_108 = l_Lean_PersistentArray_append___redArg(x_99, x_107); +x_108 = l_Lean_PersistentArray_append___redArg(x_96, x_107); lean_dec_ref(x_107); lean_ctor_set(x_105, 0, x_108); x_109 = lean_st_ref_set(x_11, x_103); lean_dec(x_11); -x_110 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_98); +x_110 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_100); return x_110; } else @@ -28436,7 +28438,7 @@ x_111 = lean_ctor_get_uint64(x_105, sizeof(void*)*1); x_112 = lean_ctor_get(x_105, 0); lean_inc(x_112); lean_dec(x_105); -x_113 = l_Lean_PersistentArray_append___redArg(x_99, x_112); +x_113 = l_Lean_PersistentArray_append___redArg(x_96, x_112); lean_dec_ref(x_112); x_114 = lean_alloc_ctor(0, 1, 8); lean_ctor_set(x_114, 0, x_113); @@ -28444,7 +28446,7 @@ lean_ctor_set_uint64(x_114, sizeof(void*)*1, x_111); lean_ctor_set(x_103, 4, x_114); x_115 = lean_st_ref_set(x_11, x_103); lean_dec(x_11); -x_116 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_98); +x_116 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_100); return x_116; } } @@ -28480,7 +28482,7 @@ if (lean_is_exclusive(x_117)) { lean_dec_ref(x_117); x_128 = lean_box(0); } -x_129 = l_Lean_PersistentArray_append___redArg(x_99, x_127); +x_129 = l_Lean_PersistentArray_append___redArg(x_96, x_127); lean_dec_ref(x_127); if (lean_is_scalar(x_128)) { x_130 = lean_alloc_ctor(0, 1, 8); @@ -28501,43 +28503,43 @@ lean_ctor_set(x_131, 7, x_124); lean_ctor_set(x_131, 8, x_125); x_132 = lean_st_ref_set(x_11, x_131); lean_dec(x_11); -x_133 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_98); +x_133 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_100); return x_133; } } else { -x_43 = lean_box(0); +x_43 = x_95; x_44 = x_96; -x_45 = x_97; +x_45 = lean_box(0); x_46 = x_98; -x_47 = x_99; -x_48 = x_100; +x_47 = x_100; +x_48 = x_99; goto block_52; } } else { -x_43 = lean_box(0); +x_43 = x_95; x_44 = x_96; -x_45 = x_97; +x_45 = lean_box(0); x_46 = x_98; -x_47 = x_99; -x_48 = x_100; +x_47 = x_100; +x_48 = x_99; goto block_52; } } block_144: { double x_142; uint8_t x_143; -x_142 = lean_float_sub(x_137, x_136); +x_142 = lean_float_sub(x_135, x_140); x_143 = lean_float_decLt(x_141, x_142); -x_95 = lean_box(0); +x_95 = x_135; x_96 = x_136; -x_97 = x_137; -x_98 = x_139; -x_99 = x_138; -x_100 = x_140; +x_97 = lean_box(0); +x_98 = x_138; +x_99 = x_140; +x_100 = x_139; x_101 = x_143; goto block_134; } @@ -28545,7 +28547,7 @@ block_166: { lean_object* x_150; double x_151; double x_152; double x_153; double x_154; double x_155; lean_object* x_156; uint8_t x_157; x_150 = lean_io_mono_nanos_now(); -x_151 = lean_float_of_nat(x_146); +x_151 = lean_float_of_nat(x_145); x_152 = l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3___redArg___closed__2; x_153 = lean_float_div(x_151, x_152); x_154 = lean_float_of_nat(x_150); @@ -28554,18 +28556,18 @@ x_156 = l_Lean_trace_profiler; x_157 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Term_throwErrorIfErrors_spec__0_spec__1_spec__2(x_13, x_156); if (x_157 == 0) { -x_95 = lean_box(0); -x_96 = x_153; -x_97 = x_155; -x_98 = x_148; -x_99 = x_147; -x_100 = x_157; +x_95 = x_155; +x_96 = x_146; +x_97 = lean_box(0); +x_98 = x_157; +x_99 = x_153; +x_100 = x_148; x_101 = x_157; goto block_134; } else { -if (x_145 == 0) +if (x_147 == 0) { lean_object* x_158; lean_object* x_159; double x_160; double x_161; double x_162; x_158 = l_Lean_trace_profiler_threshold; @@ -28573,12 +28575,12 @@ x_159 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00__private_Lean_El x_160 = lean_float_of_nat(x_159); x_161 = l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3___redArg___closed__3; x_162 = lean_float_div(x_160, x_161); -x_135 = lean_box(0); -x_136 = x_153; -x_137 = x_155; -x_138 = x_147; +x_135 = x_155; +x_136 = x_146; +x_137 = lean_box(0); +x_138 = x_157; x_139 = x_148; -x_140 = x_157; +x_140 = x_153; x_141 = x_162; goto block_144; } @@ -28588,12 +28590,12 @@ lean_object* x_163; lean_object* x_164; double x_165; x_163 = l_Lean_trace_profiler_threshold; x_164 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__8(x_13, x_163); x_165 = lean_float_of_nat(x_164); -x_135 = lean_box(0); -x_136 = x_153; -x_137 = x_155; -x_138 = x_147; +x_135 = x_155; +x_136 = x_146; +x_137 = lean_box(0); +x_138 = x_157; x_139 = x_148; -x_140 = x_157; +x_140 = x_153; x_141 = x_165; goto block_144; } @@ -28634,7 +28636,7 @@ lean_dec_ref(x_179); lean_ctor_set(x_177, 0, x_180); x_181 = lean_st_ref_set(x_11, x_175); lean_dec(x_11); -x_182 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_171); +x_182 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_169); return x_182; } else @@ -28652,7 +28654,7 @@ lean_ctor_set_uint64(x_186, sizeof(void*)*1, x_183); lean_ctor_set(x_175, 4, x_186); x_187 = lean_st_ref_set(x_11, x_175); lean_dec(x_11); -x_188 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_171); +x_188 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_169); return x_188; } } @@ -28709,43 +28711,43 @@ lean_ctor_set(x_203, 7, x_196); lean_ctor_set(x_203, 8, x_197); x_204 = lean_st_ref_set(x_11, x_203); lean_dec(x_11); -x_205 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_171); +x_205 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_169); return x_205; } } else { x_81 = x_167; -x_82 = x_168; +x_82 = lean_box(0); x_83 = x_169; x_84 = x_170; -x_85 = lean_box(0); -x_86 = x_171; +x_85 = x_171; +x_86 = x_172; goto block_90; } } else { x_81 = x_167; -x_82 = x_168; +x_82 = lean_box(0); x_83 = x_169; x_84 = x_170; -x_85 = lean_box(0); -x_86 = x_171; +x_85 = x_171; +x_86 = x_172; goto block_90; } } block_216: { double x_214; uint8_t x_215; -x_214 = lean_float_sub(x_209, x_208); +x_214 = lean_float_sub(x_207, x_212); x_215 = lean_float_decLt(x_213, x_214); x_167 = x_207; -x_168 = x_208; -x_169 = x_209; -x_170 = x_210; -x_171 = x_212; -x_172 = lean_box(0); +x_168 = lean_box(0); +x_169 = x_210; +x_170 = x_209; +x_171 = x_211; +x_172 = x_212; x_173 = x_215; goto block_206; } @@ -28753,24 +28755,24 @@ block_235: { lean_object* x_222; double x_223; double x_224; lean_object* x_225; uint8_t x_226; x_222 = lean_io_get_num_heartbeats(); -x_223 = lean_float_of_nat(x_218); +x_223 = lean_float_of_nat(x_219); x_224 = lean_float_of_nat(x_222); x_225 = l_Lean_trace_profiler; x_226 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Term_throwErrorIfErrors_spec__0_spec__1_spec__2(x_13, x_225); if (x_226 == 0) { -x_167 = x_226; -x_168 = x_223; -x_169 = x_224; -x_170 = x_219; -x_171 = x_220; -x_172 = lean_box(0); +x_167 = x_224; +x_168 = lean_box(0); +x_169 = x_220; +x_170 = x_217; +x_171 = x_226; +x_172 = x_223; x_173 = x_226; goto block_206; } else { -if (x_217 == 0) +if (x_218 == 0) { lean_object* x_227; lean_object* x_228; double x_229; double x_230; double x_231; x_227 = l_Lean_trace_profiler_threshold; @@ -28778,12 +28780,12 @@ x_228 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00__private_Lean_El x_229 = lean_float_of_nat(x_228); x_230 = l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3___redArg___closed__3; x_231 = lean_float_div(x_229, x_230); -x_207 = x_226; -x_208 = x_223; -x_209 = x_224; -x_210 = x_219; -x_211 = lean_box(0); -x_212 = x_220; +x_207 = x_224; +x_208 = lean_box(0); +x_209 = x_217; +x_210 = x_220; +x_211 = x_226; +x_212 = x_223; x_213 = x_231; goto block_216; } @@ -28793,12 +28795,12 @@ lean_object* x_232; lean_object* x_233; double x_234; x_232 = l_Lean_trace_profiler_threshold; x_233 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__8(x_13, x_232); x_234 = lean_float_of_nat(x_233); -x_207 = x_226; -x_208 = x_223; -x_209 = x_224; -x_210 = x_219; -x_211 = lean_box(0); -x_212 = x_220; +x_207 = x_224; +x_208 = lean_box(0); +x_209 = x_217; +x_210 = x_220; +x_211 = x_226; +x_212 = x_223; x_213 = x_234; goto block_216; } @@ -28831,9 +28833,9 @@ x_242 = !lean_is_exclusive(x_241); if (x_242 == 0) { lean_ctor_set_tag(x_241, 1); -x_145 = x_239; -x_146 = x_240; -x_147 = x_237; +x_145 = x_240; +x_146 = x_237; +x_147 = x_239; x_148 = x_241; x_149 = lean_box(0); goto block_166; @@ -28846,9 +28848,9 @@ lean_inc(x_243); lean_dec(x_241); x_244 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_244, 0, x_243); -x_145 = x_239; -x_146 = x_240; -x_147 = x_237; +x_145 = x_240; +x_146 = x_237; +x_147 = x_239; x_148 = x_244; x_149 = lean_box(0); goto block_166; @@ -28861,9 +28863,9 @@ x_245 = !lean_is_exclusive(x_241); if (x_245 == 0) { lean_ctor_set_tag(x_241, 0); -x_145 = x_239; -x_146 = x_240; -x_147 = x_237; +x_145 = x_240; +x_146 = x_237; +x_147 = x_239; x_148 = x_241; x_149 = lean_box(0); goto block_166; @@ -28876,9 +28878,9 @@ lean_inc(x_246); lean_dec(x_241); x_247 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_247, 0, x_246); -x_145 = x_239; -x_146 = x_240; -x_147 = x_237; +x_145 = x_240; +x_146 = x_237; +x_147 = x_239; x_148 = x_247; x_149 = lean_box(0); goto block_166; @@ -28903,9 +28905,9 @@ x_250 = !lean_is_exclusive(x_249); if (x_250 == 0) { lean_ctor_set_tag(x_249, 1); -x_217 = x_239; -x_218 = x_248; -x_219 = x_237; +x_217 = x_237; +x_218 = x_239; +x_219 = x_248; x_220 = x_249; x_221 = lean_box(0); goto block_235; @@ -28918,9 +28920,9 @@ lean_inc(x_251); lean_dec(x_249); x_252 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_252, 0, x_251); -x_217 = x_239; -x_218 = x_248; -x_219 = x_237; +x_217 = x_237; +x_218 = x_239; +x_219 = x_248; x_220 = x_252; x_221 = lean_box(0); goto block_235; @@ -28933,9 +28935,9 @@ x_253 = !lean_is_exclusive(x_249); if (x_253 == 0) { lean_ctor_set_tag(x_249, 0); -x_217 = x_239; -x_218 = x_248; -x_219 = x_237; +x_217 = x_237; +x_218 = x_239; +x_219 = x_248; x_220 = x_249; x_221 = lean_box(0); goto block_235; @@ -28948,9 +28950,9 @@ lean_inc(x_254); lean_dec(x_249); x_255 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_255, 0, x_254); -x_217 = x_239; -x_218 = x_248; -x_219 = x_237; +x_217 = x_237; +x_218 = x_239; +x_219 = x_248; x_220 = x_255; x_221 = lean_box(0); goto block_235; @@ -28964,7 +28966,7 @@ block_31: lean_object* x_26; lean_dec(x_20); lean_dec_ref(x_19); -x_26 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__6___redArg(x_16, x_18, x_14, x_17, x_21, x_22, x_23, x_24); +x_26 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__6___redArg(x_15, x_18, x_14, x_16, x_21, x_22, x_23, x_24); lean_dec(x_24); lean_dec(x_22); lean_dec_ref(x_21); @@ -28972,13 +28974,13 @@ if (lean_obj_tag(x_26) == 0) { lean_object* x_27; lean_dec_ref(x_26); -x_27 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_15); +x_27 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_17); return x_27; } else { uint8_t x_28; -lean_dec_ref(x_15); +lean_dec_ref(x_17); x_28 = !lean_is_exclusive(x_26); if (x_28 == 0) { @@ -29008,13 +29010,13 @@ lean_ctor_set(x_40, 1, x_5); lean_ctor_set_float(x_40, sizeof(void*)*2, x_39); lean_ctor_set_float(x_40, sizeof(void*)*2 + 8, x_39); lean_ctor_set_uint8(x_40, sizeof(void*)*2 + 16, x_4); -if (x_36 == 0) +if (x_34 == 0) { lean_dec_ref(x_5); lean_dec(x_1); -x_15 = x_35; -x_16 = x_34; -x_17 = x_37; +x_15 = x_33; +x_16 = x_37; +x_17 = x_36; x_18 = x_40; x_19 = x_6; x_20 = x_7; @@ -29032,12 +29034,12 @@ lean_dec_ref(x_40); x_41 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_41, 0, x_1); lean_ctor_set(x_41, 1, x_5); -lean_ctor_set_float(x_41, sizeof(void*)*2, x_32); -lean_ctor_set_float(x_41, sizeof(void*)*2 + 8, x_33); +lean_ctor_set_float(x_41, sizeof(void*)*2, x_35); +lean_ctor_set_float(x_41, sizeof(void*)*2 + 8, x_32); lean_ctor_set_uint8(x_41, sizeof(void*)*2 + 16, x_4); -x_15 = x_35; -x_16 = x_34; -x_17 = x_37; +x_15 = x_33; +x_16 = x_37; +x_17 = x_36; x_18 = x_41; x_19 = x_6; x_20 = x_7; @@ -29058,19 +29060,19 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -lean_inc_ref(x_46); -x_49 = lean_apply_8(x_2, x_46, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); +lean_inc_ref(x_47); +x_49 = lean_apply_8(x_2, x_47, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; x_50 = lean_ctor_get(x_49, 0); lean_inc(x_50); lean_dec_ref(x_49); -x_32 = x_44; -x_33 = x_45; -x_34 = x_47; -x_35 = x_46; -x_36 = x_48; +x_32 = x_43; +x_33 = x_44; +x_34 = x_46; +x_35 = x_48; +x_36 = x_47; x_37 = x_50; x_38 = lean_box(0); goto block_42; @@ -29080,11 +29082,11 @@ else lean_object* x_51; lean_dec_ref(x_49); x_51 = l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3___redArg___closed__1; -x_32 = x_44; -x_33 = x_45; -x_34 = x_47; -x_35 = x_46; -x_36 = x_48; +x_32 = x_43; +x_33 = x_44; +x_34 = x_46; +x_35 = x_48; +x_36 = x_47; x_37 = x_51; x_38 = lean_box(0); goto block_42; @@ -29095,7 +29097,7 @@ block_69: lean_object* x_64; lean_dec(x_58); lean_dec_ref(x_57); -x_64 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__6___redArg(x_54, x_56, x_14, x_53, x_59, x_60, x_61, x_62); +x_64 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__6___redArg(x_54, x_56, x_14, x_55, x_59, x_60, x_61, x_62); lean_dec(x_62); lean_dec(x_60); lean_dec_ref(x_59); @@ -29103,13 +29105,13 @@ if (lean_obj_tag(x_64) == 0) { lean_object* x_65; lean_dec_ref(x_64); -x_65 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_55); +x_65 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_53); return x_65; } else { uint8_t x_66; -lean_dec_ref(x_55); +lean_dec_ref(x_53); x_66 = !lean_is_exclusive(x_64); if (x_66 == 0) { @@ -29139,13 +29141,13 @@ lean_ctor_set(x_78, 1, x_5); lean_ctor_set_float(x_78, sizeof(void*)*2, x_77); lean_ctor_set_float(x_78, sizeof(void*)*2 + 8, x_77); lean_ctor_set_uint8(x_78, sizeof(void*)*2 + 16, x_4); -if (x_70 == 0) +if (x_73 == 0) { lean_dec_ref(x_5); lean_dec(x_1); -x_53 = x_75; -x_54 = x_73; -x_55 = x_74; +x_53 = x_72; +x_54 = x_71; +x_55 = x_75; x_56 = x_78; x_57 = x_6; x_58 = x_7; @@ -29163,12 +29165,12 @@ lean_dec_ref(x_78); x_79 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_79, 0, x_1); lean_ctor_set(x_79, 1, x_5); -lean_ctor_set_float(x_79, sizeof(void*)*2, x_71); -lean_ctor_set_float(x_79, sizeof(void*)*2 + 8, x_72); +lean_ctor_set_float(x_79, sizeof(void*)*2, x_74); +lean_ctor_set_float(x_79, sizeof(void*)*2 + 8, x_70); lean_ctor_set_uint8(x_79, sizeof(void*)*2 + 16, x_4); -x_53 = x_75; -x_54 = x_73; -x_55 = x_74; +x_53 = x_72; +x_54 = x_71; +x_55 = x_75; x_56 = x_79; x_57 = x_6; x_58 = x_7; @@ -29189,8 +29191,8 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -lean_inc_ref(x_86); -x_87 = lean_apply_8(x_2, x_86, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); +lean_inc_ref(x_83); +x_87 = lean_apply_8(x_2, x_83, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); if (lean_obj_tag(x_87) == 0) { lean_object* x_88; @@ -29198,9 +29200,9 @@ x_88 = lean_ctor_get(x_87, 0); lean_inc(x_88); lean_dec_ref(x_87); x_70 = x_81; -x_71 = x_82; +x_71 = x_84; x_72 = x_83; -x_73 = x_84; +x_73 = x_85; x_74 = x_86; x_75 = x_88; x_76 = lean_box(0); @@ -29212,9 +29214,9 @@ lean_object* x_89; lean_dec_ref(x_87); x_89 = l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3___redArg___closed__1; x_70 = x_81; -x_71 = x_82; +x_71 = x_84; x_72 = x_83; -x_73 = x_84; +x_73 = x_85; x_74 = x_86; x_75 = x_89; x_76 = lean_box(0); @@ -45340,7 +45342,7 @@ block_23: if (x_14 == 0) { lean_object* x_15; -x_15 = l___private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars(x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = l___private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars(x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_6); lean_dec_ref(x_5); if (lean_obj_tag(x_15) == 0) @@ -45393,7 +45395,7 @@ lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_12); +lean_ctor_set(x_22, 0, x_13); return x_22; } } @@ -45406,15 +45408,15 @@ if (x_26 == 0) uint8_t x_27; lean_inc_ref(x_24); x_27 = l_Lean_Exception_isRuntime(x_24); -x_12 = x_24; -x_13 = lean_box(0); +x_12 = lean_box(0); +x_13 = x_24; x_14 = x_27; goto block_23; } else { -x_12 = x_24; -x_13 = lean_box(0); +x_12 = lean_box(0); +x_13 = x_24; x_14 = x_26; goto block_23; } @@ -46287,7 +46289,7 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_elabTermAux_spec__3___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; double x_32; lean_object* x_33; uint8_t x_34; double x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; double x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; double x_47; lean_object* x_48; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; double x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; double x_74; lean_object* x_75; lean_object* x_76; double x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; double x_86; uint8_t x_91; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_32; uint8_t x_33; double x_34; lean_object* x_35; double x_36; lean_object* x_37; lean_object* x_38; lean_object* x_43; uint8_t x_44; lean_object* x_45; double x_46; lean_object* x_47; double x_48; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; double x_70; lean_object* x_71; double x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; double x_81; lean_object* x_82; double x_83; lean_object* x_84; uint8_t x_85; lean_object* x_86; uint8_t x_91; x_13 = lean_ctor_get(x_10, 2); x_14 = lean_ctor_get(x_10, 5); x_91 = lean_ctor_get_uint8(x_13, sizeof(void*)*1); @@ -46302,7 +46304,7 @@ return x_92; } else { -lean_object* x_93; lean_object* x_94; double x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; double x_99; lean_object* x_100; uint8_t x_101; double x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; double x_139; lean_object* x_140; double x_141; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; double x_167; uint8_t x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; double x_172; uint8_t x_173; double x_207; uint8_t x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; double x_212; double x_213; lean_object* x_217; uint8_t x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_257; +lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; double x_97; lean_object* x_98; lean_object* x_99; double x_100; uint8_t x_101; lean_object* x_135; uint8_t x_136; lean_object* x_137; double x_138; lean_object* x_139; double x_140; double x_141; lean_object* x_145; uint8_t x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; double x_167; lean_object* x_168; double x_169; lean_object* x_170; uint8_t x_171; lean_object* x_172; uint8_t x_173; double x_207; lean_object* x_208; double x_209; lean_object* x_210; uint8_t x_211; lean_object* x_212; double x_213; lean_object* x_217; uint8_t x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_257; lean_inc(x_1); x_93 = l_Lean_isTracingEnabledFor___at___00Lean_Elab_Term_traceAtCmdPos_spec__0___redArg(x_1, x_10); x_94 = lean_ctor_get(x_93, 0); @@ -46365,12 +46367,12 @@ if (x_106 == 0) { lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; x_107 = lean_ctor_get(x_105, 0); -x_108 = l_Lean_PersistentArray_append___redArg(x_100, x_107); +x_108 = l_Lean_PersistentArray_append___redArg(x_95, x_107); lean_dec_ref(x_107); lean_ctor_set(x_105, 0, x_108); x_109 = lean_st_ref_set(x_11, x_103); lean_dec(x_11); -x_110 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_96); +x_110 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_98); return x_110; } else @@ -46380,7 +46382,7 @@ x_111 = lean_ctor_get_uint64(x_105, sizeof(void*)*1); x_112 = lean_ctor_get(x_105, 0); lean_inc(x_112); lean_dec(x_105); -x_113 = l_Lean_PersistentArray_append___redArg(x_100, x_112); +x_113 = l_Lean_PersistentArray_append___redArg(x_95, x_112); lean_dec_ref(x_112); x_114 = lean_alloc_ctor(0, 1, 8); lean_ctor_set(x_114, 0, x_113); @@ -46388,7 +46390,7 @@ lean_ctor_set_uint64(x_114, sizeof(void*)*1, x_111); lean_ctor_set(x_103, 4, x_114); x_115 = lean_st_ref_set(x_11, x_103); lean_dec(x_11); -x_116 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_96); +x_116 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_98); return x_116; } } @@ -46424,7 +46426,7 @@ if (lean_is_exclusive(x_117)) { lean_dec_ref(x_117); x_128 = lean_box(0); } -x_129 = l_Lean_PersistentArray_append___redArg(x_100, x_127); +x_129 = l_Lean_PersistentArray_append___redArg(x_95, x_127); lean_dec_ref(x_127); if (lean_is_scalar(x_128)) { x_130 = lean_alloc_ctor(0, 1, 8); @@ -46445,7 +46447,7 @@ lean_ctor_set(x_131, 7, x_124); lean_ctor_set(x_131, 8, x_125); x_132 = lean_st_ref_set(x_11, x_131); lean_dec(x_11); -x_133 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_96); +x_133 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_98); return x_133; } } @@ -46453,9 +46455,9 @@ else { x_43 = x_95; x_44 = x_96; -x_45 = lean_box(0); -x_46 = x_98; -x_47 = x_99; +x_45 = x_98; +x_46 = x_97; +x_47 = lean_box(0); x_48 = x_100; goto block_52; } @@ -46464,9 +46466,9 @@ else { x_43 = x_95; x_44 = x_96; -x_45 = lean_box(0); -x_46 = x_98; -x_47 = x_99; +x_45 = x_98; +x_46 = x_97; +x_47 = lean_box(0); x_48 = x_100; goto block_52; } @@ -46474,13 +46476,13 @@ goto block_52; block_144: { double x_142; uint8_t x_143; -x_142 = lean_float_sub(x_139, x_135); +x_142 = lean_float_sub(x_138, x_140); x_143 = lean_float_decLt(x_141, x_142); x_95 = x_135; x_96 = x_136; -x_97 = lean_box(0); -x_98 = x_138; -x_99 = x_139; +x_97 = x_138; +x_98 = x_137; +x_99 = lean_box(0); x_100 = x_140; x_101 = x_143; goto block_134; @@ -46489,7 +46491,7 @@ block_166: { lean_object* x_150; double x_151; double x_152; double x_153; double x_154; double x_155; lean_object* x_156; uint8_t x_157; x_150 = lean_io_mono_nanos_now(); -x_151 = lean_float_of_nat(x_145); +x_151 = lean_float_of_nat(x_147); x_152 = l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3___redArg___closed__2; x_153 = lean_float_div(x_151, x_152); x_154 = lean_float_of_nat(x_150); @@ -46498,18 +46500,18 @@ x_156 = l_Lean_trace_profiler; x_157 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Term_throwErrorIfErrors_spec__0_spec__1_spec__2(x_13, x_156); if (x_157 == 0) { -x_95 = x_153; -x_96 = x_148; -x_97 = lean_box(0); -x_98 = x_157; -x_99 = x_155; -x_100 = x_146; +x_95 = x_145; +x_96 = x_157; +x_97 = x_155; +x_98 = x_148; +x_99 = lean_box(0); +x_100 = x_153; x_101 = x_157; goto block_134; } else { -if (x_147 == 0) +if (x_146 == 0) { lean_object* x_158; lean_object* x_159; double x_160; double x_161; double x_162; x_158 = l_Lean_trace_profiler_threshold; @@ -46517,12 +46519,12 @@ x_159 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00__private_Lean_El x_160 = lean_float_of_nat(x_159); x_161 = l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3___redArg___closed__3; x_162 = lean_float_div(x_160, x_161); -x_135 = x_153; -x_136 = x_148; -x_137 = lean_box(0); -x_138 = x_157; -x_139 = x_155; -x_140 = x_146; +x_135 = x_145; +x_136 = x_157; +x_137 = x_148; +x_138 = x_155; +x_139 = lean_box(0); +x_140 = x_153; x_141 = x_162; goto block_144; } @@ -46532,12 +46534,12 @@ lean_object* x_163; lean_object* x_164; double x_165; x_163 = l_Lean_trace_profiler_threshold; x_164 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__8(x_13, x_163); x_165 = lean_float_of_nat(x_164); -x_135 = x_153; -x_136 = x_148; -x_137 = lean_box(0); -x_138 = x_157; -x_139 = x_155; -x_140 = x_146; +x_135 = x_145; +x_136 = x_157; +x_137 = x_148; +x_138 = x_155; +x_139 = lean_box(0); +x_140 = x_153; x_141 = x_165; goto block_144; } @@ -46573,12 +46575,12 @@ if (x_178 == 0) { lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; x_179 = lean_ctor_get(x_177, 0); -x_180 = l_Lean_PersistentArray_append___redArg(x_171, x_179); +x_180 = l_Lean_PersistentArray_append___redArg(x_168, x_179); lean_dec_ref(x_179); lean_ctor_set(x_177, 0, x_180); x_181 = lean_st_ref_set(x_11, x_175); lean_dec(x_11); -x_182 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_170); +x_182 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_172); return x_182; } else @@ -46588,7 +46590,7 @@ x_183 = lean_ctor_get_uint64(x_177, sizeof(void*)*1); x_184 = lean_ctor_get(x_177, 0); lean_inc(x_184); lean_dec(x_177); -x_185 = l_Lean_PersistentArray_append___redArg(x_171, x_184); +x_185 = l_Lean_PersistentArray_append___redArg(x_168, x_184); lean_dec_ref(x_184); x_186 = lean_alloc_ctor(0, 1, 8); lean_ctor_set(x_186, 0, x_185); @@ -46596,7 +46598,7 @@ lean_ctor_set_uint64(x_186, sizeof(void*)*1, x_183); lean_ctor_set(x_175, 4, x_186); x_187 = lean_st_ref_set(x_11, x_175); lean_dec(x_11); -x_188 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_170); +x_188 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_172); return x_188; } } @@ -46632,7 +46634,7 @@ if (lean_is_exclusive(x_189)) { lean_dec_ref(x_189); x_200 = lean_box(0); } -x_201 = l_Lean_PersistentArray_append___redArg(x_171, x_199); +x_201 = l_Lean_PersistentArray_append___redArg(x_168, x_199); lean_dec_ref(x_199); if (lean_is_scalar(x_200)) { x_202 = lean_alloc_ctor(0, 1, 8); @@ -46653,7 +46655,7 @@ lean_ctor_set(x_203, 7, x_196); lean_ctor_set(x_203, 8, x_197); x_204 = lean_st_ref_set(x_11, x_203); lean_dec(x_11); -x_205 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_170); +x_205 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_172); return x_205; } } @@ -46661,8 +46663,8 @@ else { x_81 = x_167; x_82 = x_168; -x_83 = lean_box(0); -x_84 = x_170; +x_83 = x_169; +x_84 = lean_box(0); x_85 = x_171; x_86 = x_172; goto block_90; @@ -46672,8 +46674,8 @@ else { x_81 = x_167; x_82 = x_168; -x_83 = lean_box(0); -x_84 = x_170; +x_83 = x_169; +x_84 = lean_box(0); x_85 = x_171; x_86 = x_172; goto block_90; @@ -46682,12 +46684,12 @@ goto block_90; block_216: { double x_214; uint8_t x_215; -x_214 = lean_float_sub(x_207, x_212); +x_214 = lean_float_sub(x_209, x_207); x_215 = lean_float_decLt(x_213, x_214); x_167 = x_207; x_168 = x_208; -x_169 = lean_box(0); -x_170 = x_210; +x_169 = x_209; +x_170 = lean_box(0); x_171 = x_211; x_172 = x_212; x_173 = x_215; @@ -46703,12 +46705,12 @@ x_225 = l_Lean_trace_profiler; x_226 = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_Term_throwErrorIfErrors_spec__0_spec__1_spec__2(x_13, x_225); if (x_226 == 0) { -x_167 = x_224; -x_168 = x_226; -x_169 = lean_box(0); -x_170 = x_220; -x_171 = x_217; -x_172 = x_223; +x_167 = x_223; +x_168 = x_217; +x_169 = x_224; +x_170 = lean_box(0); +x_171 = x_226; +x_172 = x_220; x_173 = x_226; goto block_206; } @@ -46722,12 +46724,12 @@ x_228 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00__private_Lean_El x_229 = lean_float_of_nat(x_228); x_230 = l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3___redArg___closed__3; x_231 = lean_float_div(x_229, x_230); -x_207 = x_224; -x_208 = x_226; -x_209 = lean_box(0); -x_210 = x_220; -x_211 = x_217; -x_212 = x_223; +x_207 = x_223; +x_208 = x_217; +x_209 = x_224; +x_210 = lean_box(0); +x_211 = x_226; +x_212 = x_220; x_213 = x_231; goto block_216; } @@ -46737,12 +46739,12 @@ lean_object* x_232; lean_object* x_233; double x_234; x_232 = l_Lean_trace_profiler_threshold; x_233 = l_Lean_Option_get___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__8(x_13, x_232); x_234 = lean_float_of_nat(x_233); -x_207 = x_224; -x_208 = x_226; -x_209 = lean_box(0); -x_210 = x_220; -x_211 = x_217; -x_212 = x_223; +x_207 = x_223; +x_208 = x_217; +x_209 = x_224; +x_210 = lean_box(0); +x_211 = x_226; +x_212 = x_220; x_213 = x_234; goto block_216; } @@ -46775,9 +46777,9 @@ x_242 = !lean_is_exclusive(x_241); if (x_242 == 0) { lean_ctor_set_tag(x_241, 1); -x_145 = x_240; -x_146 = x_237; -x_147 = x_239; +x_145 = x_237; +x_146 = x_239; +x_147 = x_240; x_148 = x_241; x_149 = lean_box(0); goto block_166; @@ -46790,9 +46792,9 @@ lean_inc(x_243); lean_dec(x_241); x_244 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_244, 0, x_243); -x_145 = x_240; -x_146 = x_237; -x_147 = x_239; +x_145 = x_237; +x_146 = x_239; +x_147 = x_240; x_148 = x_244; x_149 = lean_box(0); goto block_166; @@ -46805,9 +46807,9 @@ x_245 = !lean_is_exclusive(x_241); if (x_245 == 0) { lean_ctor_set_tag(x_241, 0); -x_145 = x_240; -x_146 = x_237; -x_147 = x_239; +x_145 = x_237; +x_146 = x_239; +x_147 = x_240; x_148 = x_241; x_149 = lean_box(0); goto block_166; @@ -46820,9 +46822,9 @@ lean_inc(x_246); lean_dec(x_241); x_247 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_247, 0, x_246); -x_145 = x_240; -x_146 = x_237; -x_147 = x_239; +x_145 = x_237; +x_146 = x_239; +x_147 = x_240; x_148 = x_247; x_149 = lean_box(0); goto block_166; @@ -46908,7 +46910,7 @@ block_31: lean_object* x_26; lean_dec(x_20); lean_dec_ref(x_19); -x_26 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_elabTermAux_spec__3_spec__8___redArg(x_17, x_18, x_14, x_16, x_21, x_22, x_23, x_24); +x_26 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_elabTermAux_spec__3_spec__8___redArg(x_15, x_18, x_14, x_17, x_21, x_22, x_23, x_24); lean_dec(x_24); lean_dec(x_22); lean_dec_ref(x_21); @@ -46916,13 +46918,13 @@ if (lean_obj_tag(x_26) == 0) { lean_object* x_27; lean_dec_ref(x_26); -x_27 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_15); +x_27 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_16); return x_27; } else { uint8_t x_28; -lean_dec_ref(x_15); +lean_dec_ref(x_16); x_28 = !lean_is_exclusive(x_26); if (x_28 == 0) { @@ -46952,13 +46954,13 @@ lean_ctor_set(x_40, 1, x_5); lean_ctor_set_float(x_40, sizeof(void*)*2, x_39); lean_ctor_set_float(x_40, sizeof(void*)*2 + 8, x_39); lean_ctor_set_uint8(x_40, sizeof(void*)*2 + 16, x_4); -if (x_34 == 0) +if (x_33 == 0) { lean_dec_ref(x_5); lean_dec(x_1); -x_15 = x_33; -x_16 = x_37; -x_17 = x_36; +x_15 = x_32; +x_16 = x_35; +x_17 = x_37; x_18 = x_40; x_19 = x_6; x_20 = x_7; @@ -46976,12 +46978,12 @@ lean_dec_ref(x_40); x_41 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_41, 0, x_1); lean_ctor_set(x_41, 1, x_5); -lean_ctor_set_float(x_41, sizeof(void*)*2, x_32); -lean_ctor_set_float(x_41, sizeof(void*)*2 + 8, x_35); +lean_ctor_set_float(x_41, sizeof(void*)*2, x_36); +lean_ctor_set_float(x_41, sizeof(void*)*2 + 8, x_34); lean_ctor_set_uint8(x_41, sizeof(void*)*2 + 16, x_4); -x_15 = x_33; -x_16 = x_37; -x_17 = x_36; +x_15 = x_32; +x_16 = x_35; +x_17 = x_37; x_18 = x_41; x_19 = x_6; x_20 = x_7; @@ -47002,8 +47004,8 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -lean_inc_ref(x_44); -x_49 = lean_apply_8(x_2, x_44, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); +lean_inc_ref(x_45); +x_49 = lean_apply_8(x_2, x_45, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); if (lean_obj_tag(x_49) == 0) { lean_object* x_50; @@ -47013,7 +47015,7 @@ lean_dec_ref(x_49); x_32 = x_43; x_33 = x_44; x_34 = x_46; -x_35 = x_47; +x_35 = x_45; x_36 = x_48; x_37 = x_50; x_38 = lean_box(0); @@ -47027,7 +47029,7 @@ x_51 = l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_ x_32 = x_43; x_33 = x_44; x_34 = x_46; -x_35 = x_47; +x_35 = x_45; x_36 = x_48; x_37 = x_51; x_38 = lean_box(0); @@ -47039,7 +47041,7 @@ block_69: lean_object* x_64; lean_dec(x_58); lean_dec_ref(x_57); -x_64 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_elabTermAux_spec__3_spec__8___redArg(x_55, x_56, x_14, x_53, x_59, x_60, x_61, x_62); +x_64 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_elabTermAux_spec__3_spec__8___redArg(x_54, x_56, x_14, x_53, x_59, x_60, x_61, x_62); lean_dec(x_62); lean_dec(x_60); lean_dec_ref(x_59); @@ -47047,13 +47049,13 @@ if (lean_obj_tag(x_64) == 0) { lean_object* x_65; lean_dec_ref(x_64); -x_65 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_54); +x_65 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3_spec__7___redArg(x_55); return x_65; } else { uint8_t x_66; -lean_dec_ref(x_54); +lean_dec_ref(x_55); x_66 = !lean_is_exclusive(x_64); if (x_66 == 0) { @@ -47083,13 +47085,13 @@ lean_ctor_set(x_78, 1, x_5); lean_ctor_set_float(x_78, sizeof(void*)*2, x_77); lean_ctor_set_float(x_78, sizeof(void*)*2 + 8, x_77); lean_ctor_set_uint8(x_78, sizeof(void*)*2 + 16, x_4); -if (x_71 == 0) +if (x_73 == 0) { lean_dec_ref(x_5); lean_dec(x_1); x_53 = x_75; -x_54 = x_72; -x_55 = x_73; +x_54 = x_71; +x_55 = x_74; x_56 = x_78; x_57 = x_6; x_58 = x_7; @@ -47107,12 +47109,12 @@ lean_dec_ref(x_78); x_79 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_79, 0, x_1); lean_ctor_set(x_79, 1, x_5); -lean_ctor_set_float(x_79, sizeof(void*)*2, x_74); -lean_ctor_set_float(x_79, sizeof(void*)*2 + 8, x_70); +lean_ctor_set_float(x_79, sizeof(void*)*2, x_70); +lean_ctor_set_float(x_79, sizeof(void*)*2 + 8, x_72); lean_ctor_set_uint8(x_79, sizeof(void*)*2 + 16, x_4); x_53 = x_75; -x_54 = x_72; -x_55 = x_73; +x_54 = x_71; +x_55 = x_74; x_56 = x_79; x_57 = x_6; x_58 = x_7; @@ -47133,8 +47135,8 @@ lean_inc(x_9); lean_inc_ref(x_8); lean_inc(x_7); lean_inc_ref(x_6); -lean_inc_ref(x_84); -x_87 = lean_apply_8(x_2, x_84, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); +lean_inc_ref(x_86); +x_87 = lean_apply_8(x_2, x_86, x_6, x_7, x_8, x_9, x_10, x_11, lean_box(0)); if (lean_obj_tag(x_87) == 0) { lean_object* x_88; @@ -47143,7 +47145,7 @@ lean_inc(x_88); lean_dec_ref(x_87); x_70 = x_81; x_71 = x_82; -x_72 = x_84; +x_72 = x_83; x_73 = x_85; x_74 = x_86; x_75 = x_88; @@ -47157,7 +47159,7 @@ lean_dec_ref(x_87); x_89 = l_Lean_withTraceNode___at___00__private_Lean_Elab_Term_TermElabM_0__Lean_Elab_Term_applyAttributesCore_spec__3___redArg___closed__1; x_70 = x_81; x_71 = x_82; -x_72 = x_84; +x_72 = x_83; x_73 = x_85; x_74 = x_86; x_75 = x_89; diff --git a/stage0/stdlib/Lean/Meta/Eqns.c b/stage0/stdlib/Lean/Meta/Eqns.c index b812dfad23..ceafa1ab13 100644 --- a/stage0/stdlib/Lean/Meta/Eqns.c +++ b/stage0/stdlib/Lean/Meta/Eqns.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Meta.Eqns -// Imports: public import Lean.Meta.Match.MatcherInfo public import Lean.DefEqAttrib public import Lean.Meta.LetToHave import Lean.Meta.AppBuilder +// Imports: public import Lean.Meta.Match.MatcherInfo public import Lean.DefEqAttrib public import Lean.Meta.RecExt public import Lean.Meta.LetToHave import Lean.Meta.AppBuilder #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -16,7 +16,6 @@ extern "C" { static lean_object* l_Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0___redArg___closed__0; LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_isEqnReservedNameSuffix_spec__0___redArg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_getEqnsFor_x3f___lam__0___closed__0; -static lean_object* l_Lean_Meta_markAsRecursive___redArg___closed__2; uint8_t lean_is_matcher(lean_object*, lean_object*); lean_object* l_Lean_registerReservedNameAction(lean_object*); LEAN_EXPORT lean_object* l_Lean_Option_register___at___00Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_2238725263____hygCtx___hyg_4__spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -33,7 +32,6 @@ static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_initFn___closed__13_ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___redArg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_string_utf8_next_fast(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_generateEagerEqns(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00Lean_Meta_generateEagerEqns_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -56,13 +54,11 @@ static lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Me LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms_spec__0___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_getUnfoldEqnFor_x3f___lam__1___closed__3; size_t lean_uint64_to_usize(uint64_t); -LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms_spec__0_spec__0___redArg___closed__0; extern lean_object* l_Lean_Meta_instInhabitedConfigWithKey___private__1; LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_mkSimpleEqThm_doRealize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_2238725263____hygCtx___hyg_4____boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_eqnThmSuffixBasePrefix___closed__0; size_t lean_usize_mul(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_isEqnThm_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); @@ -85,7 +81,6 @@ static lean_object* l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Eqns_22387 static lean_object* l_Lean_Meta_instInhabitedEqnsExtState_default___closed__1; static lean_object* l_Lean_Meta_initFn___closed__6_00___x40_Lean_Meta_Eqns_2238725263____hygCtx___hyg_4_; static lean_object* l_Lean_Meta_initFn___closed__8_00___x40_Lean_Meta_Eqns_2238725263____hygCtx___hyg_4_; -static lean_object* l_Lean_Meta_markAsRecursive___redArg___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_instInhabitedEqnsExtState_default; static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwReservedNameNotAvailable___at___00Lean_ensureReservedNameAvailable___at___00Lean_Meta_ensureEqnReservedNamesAvailable_spec__0_spec__0_spec__1_spec__2___closed__4; LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Meta_getEqnsFor_x3f_spec__0_spec__0(lean_object*, lean_object*, uint8_t); @@ -115,7 +110,6 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_Persiste static lean_object* l_Lean_Meta_generateEagerEqns___closed__2; extern lean_object* l_Lean_maxRecDepth; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_getUnfoldEqnFor_x3f_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_; uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_generateEagerEqns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_initFn___closed__18_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2_; @@ -145,10 +139,9 @@ lean_object* l_Nat_reprFast(lean_object*); static lean_object* l_Lean_withExporting___at___00Lean_withoutExporting___at___00Lean_Meta_getUnfoldEqnFor_x3f_spec__1_spec__1___redArg___closed__0; lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_initFn___closed__9_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2_; +static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Option_set___at___00Lean_Meta_getEqnsFor_x3f_spec__0___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Eqns_2608443134____hygCtx___hyg_4_; static lean_object* l_Lean_Meta_getUnfoldEqnFor_x3f___lam__1___closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwReservedNameNotAvailable___at___00Lean_ensureReservedNameAvailable___at___00Lean_Meta_ensureEqnReservedNamesAvailable_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -171,7 +164,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Met static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_getEqnsFor_x3fCore___closed__0; lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_alreadyGenerated_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_getEqnsFor_x3fCore_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_uint32_dec_le(uint32_t, uint32_t); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Meta_declFromEqLikeName_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -191,7 +183,6 @@ LEAN_EXPORT lean_object* l_Lean_ensureReservedNameAvailable___at___00Lean_Meta_e LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Meta_getEqnsFor_x3f_spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_alreadyGenerated_x3f_loop___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ensureReservedNameAvailable___at___00Lean_Meta_ensureEqnReservedNamesAvailable_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2____boxed(lean_object*); static lean_object* l_Lean_Meta_getUnfoldEqnFor_x3f___lam__1___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_shouldGenerateEqnThms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -201,7 +192,6 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_m LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_alreadyGenerated_x3f_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_eqnAffectingOptions___closed__2; -static lean_object* l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_; static lean_object* l_Lean_throwReservedNameNotAvailable___at___00Lean_ensureReservedNameAvailable___at___00Lean_Meta_ensureEqnReservedNamesAvailable_spec__0_spec__0___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_isEqnThm_x3f_spec__0_spec__0(lean_object*, lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Eqns_758090479____hygCtx___hyg_2_; @@ -216,7 +206,6 @@ LEAN_EXPORT lean_object* l_Lean_throwReservedNameNotAvailable___at___00Lean_ensu lean_object* lean_st_ref_get(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_alreadyGenerated_x3f___redArg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_initFn___closed__7_00___x40_Lean_Meta_Eqns_2238725263____hygCtx___hyg_4_; -LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___redArg(lean_object*, lean_object*); static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwReservedNameNotAvailable___at___00Lean_ensureReservedNameAvailable___at___00Lean_Meta_ensureEqnReservedNamesAvailable_spec__0_spec__0_spec__1_spec__2___closed__6; lean_object* lean_st_mk_ref(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_getEqnsFor_x3fCore_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -316,13 +305,11 @@ LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Met LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_getEqnsFor_x3fCore___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isEqnReservedNameSuffix___boxed(lean_object*); static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_initFn___closed__10_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2_; -static lean_object* l_Lean_Meta_markAsRecursive___redArg___closed__0; static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwReservedNameNotAvailable___at___00Lean_ensureReservedNameAvailable___at___00Lean_Meta_ensureEqnReservedNamesAvailable_spec__0_spec__0_spec__1_spec__2___closed__2; LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_isEqnThm_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_getUnfoldEqnFor_x3f___lam__1___closed__1; LEAN_EXPORT uint8_t l_Lean_Meta_isEqnReservedNameSuffix(lean_object*); static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_initFn___lam__1___closed__1_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2_; -LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_initFn___lam__1___closed__3_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2_; @@ -348,7 +335,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_getEqnsFor_x3fC LEAN_EXPORT uint8_t l___private_Lean_Meta_Eqns_0__Lean_Meta_initFn___lam__0_00___x40_Lean_Meta_Eqns_758090479____hygCtx___hyg_2_(lean_object*, lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_recExt; lean_object* l_Lean_PersistentArray_toArray___redArg(lean_object*); lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_initFn___lam__0___closed__1_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2_; @@ -363,7 +349,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getUnfoldEqnFor_x3f___lam__1___boxed(lean_o LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_addTrace___at___00Lean_Meta_generateEagerEqns_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_isEqnThm_x3f_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__0(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_isSafeDefinition(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_getEqnsFor_x3fCore___closed__1; lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -438,6 +423,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_isEqnThm_spec__0_spec__0___redArg(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_ensureEqnReservedNamesAvailable___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___lam__0(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__1; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_getEqnsFor_x3fCore_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_3570318411____hygCtx___hyg_2_(); LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*); @@ -459,12 +445,9 @@ static lean_object* l_Lean_Meta_initFn___closed__4_00___x40_Lean_Meta_Eqns_26084 uint8_t lean_usize_dec_lt(size_t, size_t); lean_object* l_String_Slice_positions(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_2238725263____hygCtx___hyg_4_(); -static lean_object* l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_mkTagDeclarationExtension(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_(); LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Meta_getUnfoldEqnFor_x3f_spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -486,10 +469,11 @@ lean_object* l_Lean_MessageData_ofName(lean_object*); static uint8_t l_Lean_Meta_generateEagerEqns___closed__0; static lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwReservedNameNotAvailable___at___00Lean_ensureReservedNameAvailable___at___00Lean_Meta_ensureEqnReservedNamesAvailable_spec__0_spec__0_spec__1_spec__2___closed__5; lean_object* l_Lean_mkLevelParam(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___redArg(lean_object*, lean_object*); +lean_object* l_Lean_Meta_isRecursiveDefinition___redArg(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getUnfoldEqnFor_x3f___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_getUnfoldEqnFor_x3f___lam__1___closed__0; +static lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__0; lean_object* l_Lean_addDecl(lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isEqnThm(lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); @@ -852,220 +836,6 @@ x_1 = l_Lean_Meta_eqnAffectingOptions___closed__2; return x_1; } } -static lean_object* _init_l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("recExt", 6, 6); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_; -x_2 = l_Lean_Name_mkStr1(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_() { -_start: -{ -uint8_t x_1; lean_object* x_2; -x_1 = 1; -x_2 = lean_alloc_ctor(3, 0, 1); -lean_ctor_set_uint8(x_2, 0, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_() { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_; -x_3 = l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_; -x_4 = l_Lean_mkTagDeclarationExtension(x_2, x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2____boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_(); -return x_2; -} -} -static lean_object* _init_l_Lean_Meta_markAsRecursive___redArg___closed__0() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return x_1; -} -} -static lean_object* _init_l_Lean_Meta_markAsRecursive___redArg___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_markAsRecursive___redArg___closed__0; -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_Meta_markAsRecursive___redArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_markAsRecursive___redArg___closed__1; -x_2 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2, 0, x_1); -lean_ctor_set(x_2, 1, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_st_ref_take(x_2); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_6 = lean_ctor_get(x_4, 0); -x_7 = lean_ctor_get(x_4, 5); -lean_dec(x_7); -x_8 = l_Lean_Meta_recExt; -x_9 = l_Lean_TagDeclarationExtension_tag(x_8, x_6, x_1); -x_10 = l_Lean_Meta_markAsRecursive___redArg___closed__2; -lean_ctor_set(x_4, 5, x_10); -lean_ctor_set(x_4, 0, x_9); -x_11 = lean_st_ref_set(x_2, x_4); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_13, 0, x_12); -return x_13; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_14 = lean_ctor_get(x_4, 0); -x_15 = lean_ctor_get(x_4, 1); -x_16 = lean_ctor_get(x_4, 2); -x_17 = lean_ctor_get(x_4, 3); -x_18 = lean_ctor_get(x_4, 4); -x_19 = lean_ctor_get(x_4, 6); -x_20 = lean_ctor_get(x_4, 7); -x_21 = lean_ctor_get(x_4, 8); -lean_inc(x_21); -lean_inc(x_20); -lean_inc(x_19); -lean_inc(x_18); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_4); -x_22 = l_Lean_Meta_recExt; -x_23 = l_Lean_TagDeclarationExtension_tag(x_22, x_14, x_1); -x_24 = l_Lean_Meta_markAsRecursive___redArg___closed__2; -x_25 = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_15); -lean_ctor_set(x_25, 2, x_16); -lean_ctor_set(x_25, 3, x_17); -lean_ctor_set(x_25, 4, x_18); -lean_ctor_set(x_25, 5, x_24); -lean_ctor_set(x_25, 6, x_19); -lean_ctor_set(x_25, 7, x_20); -lean_ctor_set(x_25, 8, x_21); -x_26 = lean_st_ref_set(x_2, x_25); -x_27 = lean_box(0); -x_28 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_28, 0, x_27); -return x_28; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Meta_markAsRecursive___redArg(x_1, x_2); -lean_dec(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Meta_markAsRecursive___redArg(x_1, x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___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_Meta_markAsRecursive(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___redArg(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; -x_4 = lean_st_ref_get(x_2); -x_5 = lean_ctor_get(x_4, 0); -lean_inc_ref(x_5); -lean_dec(x_4); -x_6 = l_Lean_Meta_recExt; -x_7 = lean_ctor_get(x_6, 0); -lean_inc_ref(x_7); -x_8 = lean_ctor_get(x_7, 2); -lean_inc(x_8); -lean_dec_ref(x_7); -x_9 = l_Lean_TagDeclarationExtension_isTagged(x_6, x_5, x_1, x_8); -lean_dec(x_8); -x_10 = lean_box(x_9); -x_11 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_11, 0, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_Meta_isRecursiveDefinition___redArg(x_1, x_2); -lean_dec(x_2); -return x_4; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_5; -x_5 = l_Lean_Meta_isRecursiveDefinition___redArg(x_1, x_3); -return x_5; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___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_Meta_isRecursiveDefinition(x_1, x_2, x_3); -lean_dec(x_3); -lean_dec_ref(x_2); -return x_5; -} -} static lean_object* _init_l_Lean_Meta_eqnThmSuffixBase___closed__0() { _start: { @@ -4796,6 +4566,35 @@ lean_dec_ref(x_1); return x_4; } } +static lean_object* _init_l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__0; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__1; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -4817,7 +4616,7 @@ lean_closure_set(x_11, 1, x_1); x_12 = lean_box(0); x_13 = l_Lean_EnvExtension_modifyState___redArg(x_9, x_7, x_11, x_10, x_12); lean_dec(x_10); -x_14 = l_Lean_Meta_markAsRecursive___redArg___closed__2; +x_14 = l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2; lean_ctor_set(x_5, 5, x_14); lean_ctor_set(x_5, 0, x_13); x_15 = lean_st_ref_set(x_3, x_5); @@ -4855,7 +4654,7 @@ lean_closure_set(x_28, 1, x_1); x_29 = lean_box(0); x_30 = l_Lean_EnvExtension_modifyState___redArg(x_26, x_18, x_28, x_27, x_29); lean_dec(x_27); -x_31 = l_Lean_Meta_markAsRecursive___redArg___closed__2; +x_31 = l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2; x_32 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_19); @@ -6233,7 +6032,7 @@ x_50 = lean_ctor_get(x_48, 0); x_51 = lean_ctor_get(x_48, 5); lean_dec(x_51); x_52 = l_Lean_Kernel_enableDiag(x_50, x_46); -x_53 = l_Lean_Meta_markAsRecursive___redArg___closed__2; +x_53 = l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2; lean_ctor_set(x_48, 5, x_53); lean_ctor_set(x_48, 0, x_52); x_54 = lean_st_ref_set(x_6, x_48); @@ -6277,7 +6076,7 @@ lean_inc(x_56); lean_inc(x_55); lean_dec(x_48); x_63 = l_Lean_Kernel_enableDiag(x_55, x_46); -x_64 = l_Lean_Meta_markAsRecursive___redArg___closed__2; +x_64 = l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2; x_65 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_56); @@ -7521,9 +7320,12 @@ goto block_13; } else { -lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_object* x_21; lean_inc(x_2); x_21 = l_Lean_Meta_isRecursiveDefinition___redArg(x_2, x_8); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; uint8_t x_23; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); lean_dec_ref(x_21); @@ -7638,7 +7440,6 @@ return x_43; } } } -} else { uint8_t x_44; @@ -7648,37 +7449,64 @@ lean_dec(x_6); lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec(x_2); -x_44 = !lean_is_exclusive(x_18); +x_44 = !lean_is_exclusive(x_21); if (x_44 == 0) { -return x_18; +return x_21; } else { lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_18, 0); +x_45 = lean_ctor_get(x_21, 0); lean_inc(x_45); -lean_dec(x_18); +lean_dec(x_21); x_46 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_46, 0, x_45); return x_46; } } } +} else { -lean_object* x_47; lean_object* x_48; +uint8_t x_47; lean_dec(x_8); lean_dec_ref(x_7); lean_dec(x_6); lean_dec_ref(x_5); lean_dec_ref(x_4); lean_dec(x_2); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_1); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -return x_48; +x_47 = !lean_is_exclusive(x_18); +if (x_47 == 0) +{ +return x_18; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_18, 0); +lean_inc(x_48); +lean_dec(x_18); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_48); +return x_49; +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_8); +lean_dec_ref(x_7); +lean_dec(x_6); +lean_dec_ref(x_5); +lean_dec_ref(x_4); +lean_dec(x_2); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_1); +x_51 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_51, 0, x_50); +return x_51; } block_13: { @@ -7887,7 +7715,7 @@ static lean_object* _init_l_Lean_withExporting___at___00Lean_withoutExporting___ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Meta_markAsRecursive___redArg___closed__1; +x_1 = l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__1; x_2 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); @@ -7917,7 +7745,7 @@ x_13 = lean_ctor_get(x_11, 0); x_14 = lean_ctor_get(x_11, 5); lean_dec(x_14); x_15 = l_Lean_Environment_setExporting(x_13, x_2); -x_16 = l_Lean_Meta_markAsRecursive___redArg___closed__2; +x_16 = l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2; lean_ctor_set(x_11, 5, x_16); lean_ctor_set(x_11, 0, x_15); x_17 = lean_st_ref_set(x_6, x_11); @@ -8136,7 +7964,7 @@ lean_inc(x_61); lean_inc(x_60); lean_dec(x_11); x_68 = l_Lean_Environment_setExporting(x_60, x_2); -x_69 = l_Lean_Meta_markAsRecursive___redArg___closed__2; +x_69 = l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2; x_70 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_70, 0, x_68); lean_ctor_set(x_70, 1, x_61); @@ -9706,7 +9534,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; double x_24; double x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_35; double x_36; double x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; 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; double x_58; uint8_t x_59; lean_object* x_60; lean_object* x_61; double x_62; lean_object* x_63; lean_object* x_64; double x_69; uint8_t x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; double x_74; uint8_t x_79; +lean_object* x_9; 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_24; double x_25; double x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_35; double x_36; double x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; 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; double x_58; uint8_t x_59; double x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; double x_69; uint8_t x_70; double x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_79; x_9 = lean_ctor_get(x_6, 2); x_10 = lean_ctor_get(x_6, 5); x_79 = lean_ctor_get_uint8(x_9, sizeof(void*)*1); @@ -9721,7 +9549,7 @@ return x_80; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; double x_84; double x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; uint8_t x_89; lean_object* x_123; double x_124; double x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; double x_129; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; double x_155; uint8_t x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; double x_160; uint8_t x_161; double x_195; uint8_t x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; double x_200; double x_201; uint8_t x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_245; +lean_object* x_81; lean_object* x_82; lean_object* x_83; double x_84; double x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; uint8_t x_89; lean_object* x_123; double x_124; double x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; double x_129; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; double x_155; uint8_t x_156; double x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; uint8_t x_161; double x_195; uint8_t x_196; double x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; double x_201; uint8_t x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; uint8_t x_245; lean_inc(x_1); x_81 = l_Lean_isTracingEnabledFor___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__0___redArg(x_1, x_6); x_82 = lean_ctor_get(x_81, 0); @@ -9780,12 +9608,12 @@ if (x_94 == 0) { lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; x_95 = lean_ctor_get(x_93, 0); -x_96 = l_Lean_PersistentArray_append___redArg(x_86, x_95); +x_96 = l_Lean_PersistentArray_append___redArg(x_87, x_95); lean_dec_ref(x_95); lean_ctor_set(x_93, 0, x_96); x_97 = lean_st_ref_set(x_7, x_91); lean_dec(x_7); -x_98 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_88); +x_98 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_83); return x_98; } else @@ -9795,7 +9623,7 @@ x_99 = lean_ctor_get_uint64(x_93, sizeof(void*)*1); x_100 = lean_ctor_get(x_93, 0); lean_inc(x_100); lean_dec(x_93); -x_101 = l_Lean_PersistentArray_append___redArg(x_86, x_100); +x_101 = l_Lean_PersistentArray_append___redArg(x_87, x_100); lean_dec_ref(x_100); x_102 = lean_alloc_ctor(0, 1, 8); lean_ctor_set(x_102, 0, x_101); @@ -9803,7 +9631,7 @@ lean_ctor_set_uint64(x_102, sizeof(void*)*1, x_99); lean_ctor_set(x_91, 4, x_102); x_103 = lean_st_ref_set(x_7, x_91); lean_dec(x_7); -x_104 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_88); +x_104 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_83); return x_104; } } @@ -9839,7 +9667,7 @@ if (lean_is_exclusive(x_105)) { lean_dec_ref(x_105); x_116 = lean_box(0); } -x_117 = l_Lean_PersistentArray_append___redArg(x_86, x_115); +x_117 = l_Lean_PersistentArray_append___redArg(x_87, x_115); lean_dec_ref(x_115); if (lean_is_scalar(x_116)) { x_118 = lean_alloc_ctor(0, 1, 8); @@ -9860,29 +9688,29 @@ lean_ctor_set(x_119, 7, x_112); lean_ctor_set(x_119, 8, x_113); x_120 = lean_st_ref_set(x_7, x_119); lean_dec(x_7); -x_121 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_88); +x_121 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_83); return x_121; } } else { -x_35 = lean_box(0); -x_36 = x_84; -x_37 = x_85; -x_38 = x_86; -x_39 = x_88; -x_40 = x_87; +x_35 = x_83; +x_36 = x_85; +x_37 = x_84; +x_38 = lean_box(0); +x_39 = x_87; +x_40 = x_88; goto block_44; } } else { -x_35 = lean_box(0); -x_36 = x_84; -x_37 = x_85; -x_38 = x_86; -x_39 = x_88; -x_40 = x_87; +x_35 = x_83; +x_36 = x_85; +x_37 = x_84; +x_38 = lean_box(0); +x_39 = x_87; +x_40 = x_88; goto block_44; } } @@ -9891,12 +9719,12 @@ block_132: double x_130; uint8_t x_131; x_130 = lean_float_sub(x_125, x_124); x_131 = lean_float_decLt(x_129, x_130); -x_83 = lean_box(0); -x_84 = x_124; -x_85 = x_125; -x_86 = x_126; -x_87 = x_128; -x_88 = x_127; +x_83 = x_123; +x_84 = x_125; +x_85 = x_124; +x_86 = lean_box(0); +x_87 = x_127; +x_88 = x_128; x_89 = x_131; goto block_122; } @@ -9913,12 +9741,12 @@ x_144 = l_Lean_trace_profiler; x_145 = l_Lean_Option_get___at___00Lean_Meta_getEqnsFor_x3f_spec__1(x_9, x_144); if (x_145 == 0) { -x_83 = lean_box(0); -x_84 = x_141; -x_85 = x_143; -x_86 = x_135; -x_87 = x_145; -x_88 = x_136; +x_83 = x_136; +x_84 = x_143; +x_85 = x_141; +x_86 = lean_box(0); +x_87 = x_135; +x_88 = x_145; x_89 = x_145; goto block_122; } @@ -9932,11 +9760,11 @@ x_147 = l_Lean_Option_get___at___00Lean_Meta_getEqnsFor_x3f_spec__2(x_9, x_146); x_148 = lean_float_of_nat(x_147); x_149 = l_Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0___redArg___closed__3; x_150 = lean_float_div(x_148, x_149); -x_123 = lean_box(0); +x_123 = x_136; x_124 = x_141; x_125 = x_143; -x_126 = x_135; -x_127 = x_136; +x_126 = lean_box(0); +x_127 = x_135; x_128 = x_145; x_129 = x_150; goto block_132; @@ -9947,11 +9775,11 @@ lean_object* x_151; lean_object* x_152; double x_153; x_151 = l_Lean_trace_profiler_threshold; x_152 = l_Lean_Option_get___at___00Lean_Meta_getEqnsFor_x3f_spec__2(x_9, x_151); x_153 = lean_float_of_nat(x_152); -x_123 = lean_box(0); +x_123 = x_136; x_124 = x_141; x_125 = x_143; -x_126 = x_135; -x_127 = x_136; +x_126 = lean_box(0); +x_127 = x_135; x_128 = x_145; x_129 = x_153; goto block_132; @@ -9984,12 +9812,12 @@ if (x_166 == 0) { lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; x_167 = lean_ctor_get(x_165, 0); -x_168 = l_Lean_PersistentArray_append___redArg(x_158, x_167); +x_168 = l_Lean_PersistentArray_append___redArg(x_160, x_167); lean_dec_ref(x_167); lean_ctor_set(x_165, 0, x_168); x_169 = lean_st_ref_set(x_7, x_163); lean_dec(x_7); -x_170 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_159); +x_170 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_158); return x_170; } else @@ -9999,7 +9827,7 @@ x_171 = lean_ctor_get_uint64(x_165, sizeof(void*)*1); x_172 = lean_ctor_get(x_165, 0); lean_inc(x_172); lean_dec(x_165); -x_173 = l_Lean_PersistentArray_append___redArg(x_158, x_172); +x_173 = l_Lean_PersistentArray_append___redArg(x_160, x_172); lean_dec_ref(x_172); x_174 = lean_alloc_ctor(0, 1, 8); lean_ctor_set(x_174, 0, x_173); @@ -10007,7 +9835,7 @@ lean_ctor_set_uint64(x_174, sizeof(void*)*1, x_171); lean_ctor_set(x_163, 4, x_174); x_175 = lean_st_ref_set(x_7, x_163); lean_dec(x_7); -x_176 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_159); +x_176 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_158); return x_176; } } @@ -10043,7 +9871,7 @@ if (lean_is_exclusive(x_177)) { lean_dec_ref(x_177); x_188 = lean_box(0); } -x_189 = l_Lean_PersistentArray_append___redArg(x_158, x_187); +x_189 = l_Lean_PersistentArray_append___redArg(x_160, x_187); lean_dec_ref(x_187); if (lean_is_scalar(x_188)) { x_190 = lean_alloc_ctor(0, 1, 8); @@ -10064,7 +9892,7 @@ lean_ctor_set(x_191, 7, x_184); lean_ctor_set(x_191, 8, x_185); x_192 = lean_st_ref_set(x_7, x_191); lean_dec(x_7); -x_193 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_159); +x_193 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_158); return x_193; } } @@ -10072,9 +9900,9 @@ else { x_69 = x_155; x_70 = x_156; -x_71 = lean_box(0); +x_71 = x_157; x_72 = x_158; -x_73 = x_159; +x_73 = lean_box(0); x_74 = x_160; goto block_78; } @@ -10083,9 +9911,9 @@ else { x_69 = x_155; x_70 = x_156; -x_71 = lean_box(0); +x_71 = x_157; x_72 = x_158; -x_73 = x_159; +x_73 = lean_box(0); x_74 = x_160; goto block_78; } @@ -10093,13 +9921,13 @@ goto block_78; block_204: { double x_202; uint8_t x_203; -x_202 = lean_float_sub(x_195, x_200); +x_202 = lean_float_sub(x_197, x_195); x_203 = lean_float_decLt(x_201, x_202); x_155 = x_195; x_156 = x_196; -x_157 = lean_box(0); +x_157 = x_197; x_158 = x_198; -x_159 = x_199; +x_159 = lean_box(0); x_160 = x_200; x_161 = x_203; goto block_194; @@ -10114,12 +9942,12 @@ x_213 = l_Lean_trace_profiler; x_214 = l_Lean_Option_get___at___00Lean_Meta_getEqnsFor_x3f_spec__1(x_9, x_213); if (x_214 == 0) { -x_155 = x_212; +x_155 = x_211; x_156 = x_214; -x_157 = lean_box(0); -x_158 = x_206; -x_159 = x_208; -x_160 = x_211; +x_157 = x_212; +x_158 = x_208; +x_159 = lean_box(0); +x_160 = x_206; x_161 = x_214; goto block_194; } @@ -10133,12 +9961,12 @@ x_216 = l_Lean_Option_get___at___00Lean_Meta_getEqnsFor_x3f_spec__2(x_9, x_215); x_217 = lean_float_of_nat(x_216); x_218 = l_Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0___redArg___closed__3; x_219 = lean_float_div(x_217, x_218); -x_195 = x_212; +x_195 = x_211; x_196 = x_214; -x_197 = lean_box(0); -x_198 = x_206; -x_199 = x_208; -x_200 = x_211; +x_197 = x_212; +x_198 = x_208; +x_199 = lean_box(0); +x_200 = x_206; x_201 = x_219; goto block_204; } @@ -10148,12 +9976,12 @@ lean_object* x_220; lean_object* x_221; double x_222; x_220 = l_Lean_trace_profiler_threshold; x_221 = l_Lean_Option_get___at___00Lean_Meta_getEqnsFor_x3f_spec__2(x_9, x_220); x_222 = lean_float_of_nat(x_221); -x_195 = x_212; +x_195 = x_211; x_196 = x_214; -x_197 = lean_box(0); -x_198 = x_206; -x_199 = x_208; -x_200 = x_211; +x_197 = x_212; +x_198 = x_208; +x_199 = lean_box(0); +x_200 = x_206; x_201 = x_222; goto block_204; } @@ -10309,19 +10137,19 @@ goto block_223; block_23: { lean_object* x_18; -x_18 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__2(x_12, x_14, x_10, x_11, x_15, x_16); +x_18 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__2(x_13, x_14, x_10, x_12, x_15, x_16); lean_dec(x_16); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; lean_dec_ref(x_18); -x_19 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_13); +x_19 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_11); return x_19; } else { uint8_t x_20; -lean_dec_ref(x_13); +lean_dec_ref(x_11); x_20 = !lean_is_exclusive(x_18); if (x_20 == 0) { @@ -10351,13 +10179,13 @@ lean_ctor_set(x_32, 1, x_5); lean_ctor_set_float(x_32, sizeof(void*)*2, x_31); lean_ctor_set_float(x_32, sizeof(void*)*2 + 8, x_31); lean_ctor_set_uint8(x_32, sizeof(void*)*2 + 16, x_4); -if (x_27 == 0) +if (x_28 == 0) { lean_dec_ref(x_5); lean_dec(x_1); -x_11 = x_29; -x_12 = x_26; -x_13 = x_28; +x_11 = x_24; +x_12 = x_29; +x_13 = x_27; x_14 = x_32; x_15 = x_6; x_16 = x_7; @@ -10371,12 +10199,12 @@ lean_dec_ref(x_32); x_33 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_33, 0, x_1); lean_ctor_set(x_33, 1, x_5); -lean_ctor_set_float(x_33, sizeof(void*)*2, x_24); +lean_ctor_set_float(x_33, sizeof(void*)*2, x_26); lean_ctor_set_float(x_33, sizeof(void*)*2 + 8, x_25); lean_ctor_set_uint8(x_33, sizeof(void*)*2 + 16, x_4); -x_11 = x_29; -x_12 = x_26; -x_13 = x_28; +x_11 = x_24; +x_12 = x_29; +x_13 = x_27; x_14 = x_33; x_15 = x_6; x_16 = x_7; @@ -10389,19 +10217,19 @@ block_44: lean_object* x_41; lean_inc(x_7); lean_inc_ref(x_6); -lean_inc_ref(x_39); -x_41 = lean_apply_4(x_2, x_39, x_6, x_7, lean_box(0)); +lean_inc_ref(x_35); +x_41 = lean_apply_4(x_2, x_35, x_6, x_7, lean_box(0)); if (lean_obj_tag(x_41) == 0) { lean_object* x_42; x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); lean_dec_ref(x_41); -x_24 = x_36; +x_24 = x_35; x_25 = x_37; -x_26 = x_38; -x_27 = x_40; -x_28 = x_39; +x_26 = x_36; +x_27 = x_39; +x_28 = x_40; x_29 = x_42; x_30 = lean_box(0); goto block_34; @@ -10411,11 +10239,11 @@ else lean_object* x_43; lean_dec_ref(x_41); x_43 = l_Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0___redArg___closed__1; -x_24 = x_36; +x_24 = x_35; x_25 = x_37; -x_26 = x_38; -x_27 = x_40; -x_28 = x_39; +x_26 = x_36; +x_27 = x_39; +x_28 = x_40; x_29 = x_43; x_30 = lean_box(0); goto block_34; @@ -10424,19 +10252,19 @@ goto block_34; block_57: { lean_object* x_52; -x_52 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__2(x_46, x_48, x_10, x_45, x_49, x_50); +x_52 = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__2(x_47, x_48, x_10, x_46, x_49, x_50); lean_dec(x_50); if (lean_obj_tag(x_52) == 0) { lean_object* x_53; lean_dec_ref(x_52); -x_53 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_47); +x_53 = l_MonadExcept_ofExcept___at___00Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0_spec__3___redArg(x_45); return x_53; } else { uint8_t x_54; -lean_dec_ref(x_47); +lean_dec_ref(x_45); x_54 = !lean_is_exclusive(x_52); if (x_54 == 0) { @@ -10470,9 +10298,9 @@ if (x_59 == 0) { lean_dec_ref(x_5); lean_dec(x_1); -x_45 = x_63; -x_46 = x_60; -x_47 = x_61; +x_45 = x_61; +x_46 = x_63; +x_47 = x_62; x_48 = x_66; x_49 = x_6; x_50 = x_7; @@ -10486,12 +10314,12 @@ lean_dec_ref(x_66); x_67 = lean_alloc_ctor(0, 2, 17); lean_ctor_set(x_67, 0, x_1); lean_ctor_set(x_67, 1, x_5); -lean_ctor_set_float(x_67, sizeof(void*)*2, x_62); -lean_ctor_set_float(x_67, sizeof(void*)*2 + 8, x_58); +lean_ctor_set_float(x_67, sizeof(void*)*2, x_58); +lean_ctor_set_float(x_67, sizeof(void*)*2 + 8, x_60); lean_ctor_set_uint8(x_67, sizeof(void*)*2 + 16, x_4); -x_45 = x_63; -x_46 = x_60; -x_47 = x_61; +x_45 = x_61; +x_46 = x_63; +x_47 = x_62; x_48 = x_67; x_49 = x_6; x_50 = x_7; @@ -10504,8 +10332,8 @@ block_78: lean_object* x_75; lean_inc(x_7); lean_inc_ref(x_6); -lean_inc_ref(x_73); -x_75 = lean_apply_4(x_2, x_73, x_6, x_7, lean_box(0)); +lean_inc_ref(x_72); +x_75 = lean_apply_4(x_2, x_72, x_6, x_7, lean_box(0)); if (lean_obj_tag(x_75) == 0) { lean_object* x_76; @@ -10514,8 +10342,8 @@ lean_inc(x_76); lean_dec_ref(x_75); x_58 = x_69; x_59 = x_70; -x_60 = x_72; -x_61 = x_73; +x_60 = x_71; +x_61 = x_72; x_62 = x_74; x_63 = x_76; x_64 = lean_box(0); @@ -10528,8 +10356,8 @@ lean_dec_ref(x_75); x_77 = l_Lean_withTraceNode___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_1721189386____hygCtx___hyg_2__spec__0___redArg___closed__1; x_58 = x_69; x_59 = x_70; -x_60 = x_72; -x_61 = x_73; +x_60 = x_71; +x_61 = x_72; x_62 = x_74; x_63 = x_77; x_64 = lean_box(0); @@ -10907,6 +10735,7 @@ return x_11; } lean_object* initialize_Lean_Meta_Match_MatcherInfo(uint8_t builtin); lean_object* initialize_Lean_DefEqAttrib(uint8_t builtin); +lean_object* initialize_Lean_Meta_RecExt(uint8_t builtin); lean_object* initialize_Lean_Meta_LetToHave(uint8_t builtin); lean_object* initialize_Lean_Meta_AppBuilder(uint8_t builtin); static bool _G_initialized = false; @@ -10920,6 +10749,9 @@ lean_dec_ref(res); res = initialize_Lean_DefEqAttrib(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Meta_RecExt(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Meta_LetToHave(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -10972,23 +10804,6 @@ l_Lean_Meta_eqnAffectingOptions___closed__2 = _init_l_Lean_Meta_eqnAffectingOpti lean_mark_persistent(l_Lean_Meta_eqnAffectingOptions___closed__2); l_Lean_Meta_eqnAffectingOptions = _init_l_Lean_Meta_eqnAffectingOptions(); lean_mark_persistent(l_Lean_Meta_eqnAffectingOptions); -l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_); -l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_); -l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_(); -lean_mark_persistent(l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_); -if (builtin) {res = l_Lean_Meta_initFn_00___x40_Lean_Meta_Eqns_2067193597____hygCtx___hyg_2_(); -if (lean_io_result_is_error(res)) return res; -l_Lean_Meta_recExt = lean_io_result_get_value(res); -lean_mark_persistent(l_Lean_Meta_recExt); -lean_dec_ref(res); -}l_Lean_Meta_markAsRecursive___redArg___closed__0 = _init_l_Lean_Meta_markAsRecursive___redArg___closed__0(); -lean_mark_persistent(l_Lean_Meta_markAsRecursive___redArg___closed__0); -l_Lean_Meta_markAsRecursive___redArg___closed__1 = _init_l_Lean_Meta_markAsRecursive___redArg___closed__1(); -lean_mark_persistent(l_Lean_Meta_markAsRecursive___redArg___closed__1); -l_Lean_Meta_markAsRecursive___redArg___closed__2 = _init_l_Lean_Meta_markAsRecursive___redArg___closed__2(); -lean_mark_persistent(l_Lean_Meta_markAsRecursive___redArg___closed__2); l_Lean_Meta_eqnThmSuffixBase___closed__0 = _init_l_Lean_Meta_eqnThmSuffixBase___closed__0(); lean_mark_persistent(l_Lean_Meta_eqnThmSuffixBase___closed__0); l_Lean_Meta_eqnThmSuffixBase = _init_l_Lean_Meta_eqnThmSuffixBase(); @@ -11072,6 +10887,12 @@ lean_dec_ref(res); l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_isEqnThm_x3f_spec__0_spec__0___redArg___closed__1 = _init_l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_isEqnThm_x3f_spec__0_spec__0___redArg___closed__1(); l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms_spec__0_spec__0___redArg___closed__0 = _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms_spec__0_spec__0___redArg___closed__0(); lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms_spec__0_spec__0___redArg___closed__0); +l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__0 = _init_l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__0(); +lean_mark_persistent(l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__0); +l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__1 = _init_l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__1); +l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2 = _init_l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_Eqns_0__Lean_Meta_registerEqnThms___redArg___closed__2); l___private_Lean_Meta_Eqns_0__Lean_Meta_alreadyGenerated_x3f___redArg___closed__0 = _init_l___private_Lean_Meta_Eqns_0__Lean_Meta_alreadyGenerated_x3f___redArg___closed__0(); lean_mark_persistent(l___private_Lean_Meta_Eqns_0__Lean_Meta_alreadyGenerated_x3f___redArg___closed__0); l___private_Lean_Meta_Eqns_0__Lean_Meta_getEqnsFor_x3fCore___lam__0___closed__0 = _init_l___private_Lean_Meta_Eqns_0__Lean_Meta_getEqnsFor_x3fCore___lam__0___closed__0(); diff --git a/stage0/stdlib/Lean/Meta/RecExt.c b/stage0/stdlib/Lean/Meta/RecExt.c new file mode 100644 index 0000000000..1adeff1e6a --- /dev/null +++ b/stage0/stdlib/Lean/Meta/RecExt.c @@ -0,0 +1,285 @@ +// Lean compiler output +// Module: Lean.Meta.RecExt +// Imports: public import Lean.Attributes +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +static lean_object* l_Lean_Meta_markAsRecursive___redArg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_(); +static lean_object* l_Lean_Meta_markAsRecursive___redArg___closed__1; +uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_take(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___redArg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_get(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Meta_markAsRecursive___redArg___closed__0; +LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_; +static lean_object* l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_; +LEAN_EXPORT lean_object* l_Lean_Meta_recExt; +LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2____boxed(lean_object*); +lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr1(lean_object*); +lean_object* l_Lean_mkTagDeclarationExtension(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___redArg(lean_object*, lean_object*); +static lean_object* _init_l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("recExt", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_; +x_2 = l_Lean_Name_mkStr1(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_() { +_start: +{ +uint8_t x_1; lean_object* x_2; +x_1 = 1; +x_2 = lean_alloc_ctor(3, 0, 1); +lean_ctor_set_uint8(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_() { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_; +x_3 = l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_; +x_4 = l_Lean_mkTagDeclarationExtension(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_initFn_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Meta_initFn_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_(); +return x_2; +} +} +static lean_object* _init_l_Lean_Meta_markAsRecursive___redArg___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Meta_markAsRecursive___redArg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_markAsRecursive___redArg___closed__0; +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_Meta_markAsRecursive___redArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Meta_markAsRecursive___redArg___closed__1; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_st_ref_take(x_2); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_6 = lean_ctor_get(x_4, 0); +x_7 = lean_ctor_get(x_4, 5); +lean_dec(x_7); +x_8 = l_Lean_Meta_recExt; +x_9 = l_Lean_TagDeclarationExtension_tag(x_8, x_6, x_1); +x_10 = l_Lean_Meta_markAsRecursive___redArg___closed__2; +lean_ctor_set(x_4, 5, x_10); +lean_ctor_set(x_4, 0, x_9); +x_11 = lean_st_ref_set(x_2, x_4); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_14 = lean_ctor_get(x_4, 0); +x_15 = lean_ctor_get(x_4, 1); +x_16 = lean_ctor_get(x_4, 2); +x_17 = lean_ctor_get(x_4, 3); +x_18 = lean_ctor_get(x_4, 4); +x_19 = lean_ctor_get(x_4, 6); +x_20 = lean_ctor_get(x_4, 7); +x_21 = lean_ctor_get(x_4, 8); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_4); +x_22 = l_Lean_Meta_recExt; +x_23 = l_Lean_TagDeclarationExtension_tag(x_22, x_14, x_1); +x_24 = l_Lean_Meta_markAsRecursive___redArg___closed__2; +x_25 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_15); +lean_ctor_set(x_25, 2, x_16); +lean_ctor_set(x_25, 3, x_17); +lean_ctor_set(x_25, 4, x_18); +lean_ctor_set(x_25, 5, x_24); +lean_ctor_set(x_25, 6, x_19); +lean_ctor_set(x_25, 7, x_20); +lean_ctor_set(x_25, 8, x_21); +x_26 = lean_st_ref_set(x_2, x_25); +x_27 = lean_box(0); +x_28 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_28, 0, x_27); +return x_28; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Meta_markAsRecursive___redArg(x_1, x_2); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_markAsRecursive___redArg(x_1, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_markAsRecursive___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_Meta_markAsRecursive(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___redArg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; +x_4 = lean_st_ref_get(x_2); +x_5 = lean_ctor_get(x_4, 0); +lean_inc_ref(x_5); +lean_dec(x_4); +x_6 = l_Lean_Meta_recExt; +x_7 = lean_ctor_get(x_6, 0); +lean_inc_ref(x_7); +x_8 = lean_ctor_get(x_7, 2); +lean_inc(x_8); +lean_dec_ref(x_7); +x_9 = l_Lean_TagDeclarationExtension_isTagged(x_6, x_5, x_1, x_8); +lean_dec(x_8); +x_10 = lean_box(x_9); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Meta_isRecursiveDefinition___redArg(x_1, x_2); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Meta_isRecursiveDefinition___redArg(x_1, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_isRecursiveDefinition___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_Meta_isRecursiveDefinition(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec_ref(x_2); +return x_5; +} +} +lean_object* initialize_Lean_Attributes(uint8_t builtin); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Meta_RecExt(uint8_t builtin) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Attributes(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Meta_initFn___closed__0_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_); +l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Meta_initFn___closed__1_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_); +l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_ = _init_l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_(); +lean_mark_persistent(l_Lean_Meta_initFn___closed__2_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_); +if (builtin) {res = l_Lean_Meta_initFn_00___x40_Lean_Meta_RecExt_2067193597____hygCtx___hyg_2_(); +if (lean_io_result_is_error(res)) return res; +l_Lean_Meta_recExt = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Meta_recExt); +lean_dec_ref(res); +}l_Lean_Meta_markAsRecursive___redArg___closed__0 = _init_l_Lean_Meta_markAsRecursive___redArg___closed__0(); +lean_mark_persistent(l_Lean_Meta_markAsRecursive___redArg___closed__0); +l_Lean_Meta_markAsRecursive___redArg___closed__1 = _init_l_Lean_Meta_markAsRecursive___redArg___closed__1(); +lean_mark_persistent(l_Lean_Meta_markAsRecursive___redArg___closed__1); +l_Lean_Meta_markAsRecursive___redArg___closed__2 = _init_l_Lean_Meta_markAsRecursive___redArg___closed__2(); +lean_mark_persistent(l_Lean_Meta_markAsRecursive___redArg___closed__2); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif