diff --git a/stage0/stdlib/Init/Grind/Ring/Poly.c b/stage0/stdlib/Init/Grind/Ring/Poly.c index 6dc4c17008..bb1e8b033e 100644 --- a/stage0/stdlib/Init/Grind/Ring/Poly.c +++ b/stage0/stdlib/Init/Grind/Ring/Poly.c @@ -59,13 +59,16 @@ LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__5____x40_Init_Grind_Ring_Poly___hyg_1255_; LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Stepwise_d__step1__certC(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Mon_denote_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_normEq0(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_NullCert_eq__unsat__certC(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Grind_CommRing_instReprPoly___closed__0; LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Expr_denote_match__1_splitter(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_Grind_Ring_Poly_0__Lean_Grind_CommRing_Poly_combine_go_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_denote___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_reprMon____x40_Init_Grind_Ring_Poly___hyg_1704____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_eq__gcd__cert___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Poly_insert_go_match__1_splitter(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_eq__gcd__cert_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Grind_CommRing_reprPower___redArg___closed__3____x40_Init_Grind_Ring_Poly___hyg_1255_; lean_object* lean_int_emod(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_ofVar(lean_object*); @@ -137,6 +140,7 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_revlexWF___boxed(lean_object* LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_NullCert_eq__certC___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Stepwise_imp__keq__certC(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulMon(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_eq__normEq0__cert___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_reprExpr____x40_Init_Grind_Ring_Poly___hyg_593____boxed(lean_object*, lean_object*); LEAN_EXPORT uint64_t l_Lean_Grind_CommRing_hashPower____x40_Init_Grind_Ring_Poly___hyg_1324_(lean_object*); @@ -144,6 +148,7 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Stepwise_unsat__eq__certC___boxed LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Stepwise_simp__certC___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__1____x40_Init_Grind_Ring_Poly___hyg_593_; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Stepwise_imp__keq__cert___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_reprPoly_match__1_splitter____x40_Init_Grind_Ring_Poly___hyg_4621_(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__7____x40_Init_Grind_Ring_Poly___hyg_593_; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_mulConstC_go(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Ordering_then_match__1_splitter___redArg___boxed(lean_object*, lean_object*, lean_object*); @@ -207,6 +212,7 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_hashExpr____x40_Init_Grind_Ring_P LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Power_denote___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Power_denote_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Var_denote___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_eq__gcd__cert(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Expr_toPolyC(lean_object*, lean_object*); static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__5____x40_Init_Grind_Ring_Poly___hyg_593_; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_addConst___boxed(lean_object*, lean_object*); @@ -222,6 +228,7 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Expr_denote___boxed(lean_object*, LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_beqPower____x40_Init_Grind_Ring_Poly___hyg_1181_(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_Stepwise_core__certC(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_insert_go(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_reprPoly_match__1_splitter___redArg____x40_Init_Grind_Ring_Poly___hyg_4621_(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_instHashablePoly; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_length___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_reprPower____x40_Init_Grind_Ring_Poly___hyg_1255_(lean_object*, lean_object*); @@ -246,6 +253,7 @@ LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Mon_revlex___boxed(lean_object*, LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_insertC_go(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_addConst_go___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Ordering_then_match__1_splitter___redArg(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_eq__gcd__cert_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denote(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Grind_CommRing_reprExpr___closed__2____x40_Init_Grind_Ring_Poly___hyg_593_; LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Power_varLt___boxed(lean_object*, lean_object*); @@ -267,6 +275,7 @@ LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denoteAsIntModule___redArg___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_Mon_mul_go_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_eq__normEq0__cert(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_denote___redArg(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_combineC_go(lean_object*, lean_object*, lean_object*, lean_object*); @@ -5294,6 +5303,104 @@ return x_50; } } } +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_normEq0(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_nat_to_int(x_2); +x_5 = lean_int_emod(x_3, x_4); +lean_dec(x_4); +lean_dec(x_3); +x_6 = l_Lean_Grind_CommRing_instInhabitedExpr___closed__0; +x_7 = lean_int_dec_eq(x_5, x_6); +lean_dec(x_5); +if (x_7 == 0) +{ +return x_1; +} +else +{ +lean_object* x_8; +lean_dec(x_1); +x_8 = l_Lean_Grind_CommRing_instInhabitedPoly___closed__0; +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); +x_12 = lean_ctor_get(x_1, 2); +lean_inc(x_2); +x_13 = lean_nat_to_int(x_2); +x_14 = lean_int_emod(x_10, x_13); +lean_dec(x_13); +x_15 = l_Lean_Grind_CommRing_instInhabitedExpr___closed__0; +x_16 = lean_int_dec_eq(x_14, x_15); +lean_dec(x_14); +if (x_16 == 0) +{ +lean_object* x_17; +x_17 = l_Lean_Grind_CommRing_Poly_normEq0(x_12, x_2); +lean_ctor_set(x_1, 2, x_17); +return x_1; +} +else +{ +lean_free_object(x_1); +lean_dec(x_11); +lean_dec(x_10); +x_1 = x_12; +goto _start; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_19 = lean_ctor_get(x_1, 0); +x_20 = lean_ctor_get(x_1, 1); +x_21 = lean_ctor_get(x_1, 2); +lean_inc(x_21); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_1); +lean_inc(x_2); +x_22 = lean_nat_to_int(x_2); +x_23 = lean_int_emod(x_19, x_22); +lean_dec(x_22); +x_24 = l_Lean_Grind_CommRing_instInhabitedExpr___closed__0; +x_25 = lean_int_dec_eq(x_23, x_24); +lean_dec(x_23); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = l_Lean_Grind_CommRing_Poly_normEq0(x_21, x_2); +x_27 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_27, 0, x_19); +lean_ctor_set(x_27, 1, x_20); +lean_ctor_set(x_27, 2, x_26); +return x_27; +} +else +{ +lean_dec(x_20); +lean_dec(x_19); +x_1 = x_21; +goto _start; +} +} +} +} +} LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_Poly_addConstC(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -8554,6 +8661,178 @@ x_3 = lean_box(x_2); return x_3; } } +LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_reprPoly_match__1_splitter___redArg____x40_Init_Grind_Ring_Poly___hyg_4621_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_apply_3(x_3, x_6, x_7, x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_reprPoly_match__1_splitter____x40_Init_Grind_Ring_Poly___hyg_4621_(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_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_reprPoly_match__1_splitter___redArg____x40_Init_Grind_Ring_Poly___hyg_4621_(x_2, x_3, x_4); +return x_5; +} +} +LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_eq__normEq0__cert(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +lean_inc(x_1); +x_5 = lean_nat_to_int(x_1); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +x_7 = l_Lean_Grind_CommRing_beqPoly____x40_Init_Grind_Ring_Poly___hyg_4508_(x_2, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_dec(x_3); +lean_dec(x_1); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_Grind_CommRing_Poly_normEq0(x_3, x_1); +x_9 = l_Lean_Grind_CommRing_beqPoly____x40_Init_Grind_Ring_Poly___hyg_4508_(x_4, x_8); +lean_dec(x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_eq__normEq0__cert___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = l_Lean_Grind_CommRing_eq__normEq0__cert(x_1, x_2, x_3, x_4); +lean_dec(x_4); +lean_dec(x_2); +x_6 = lean_box(x_5); +return x_6; +} +} +LEAN_EXPORT uint8_t l_Lean_Grind_CommRing_eq__gcd__cert(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +if (lean_obj_tag(x_4) == 0) +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_4, 0); +x_8 = lean_ctor_get(x_5, 0); +x_9 = lean_int_mul(x_1, x_6); +x_10 = lean_int_mul(x_2, x_7); +x_11 = lean_int_add(x_9, x_10); +lean_dec(x_10); +lean_dec(x_9); +x_12 = lean_int_dec_eq(x_8, x_11); +lean_dec(x_11); +return x_12; +} +else +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_box(0); +x_14 = lean_unbox(x_13); +return x_14; +} +} +else +{ +lean_object* x_15; uint8_t x_16; +x_15 = lean_box(0); +x_16 = lean_unbox(x_15); +return x_16; +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_box(0); +x_18 = lean_unbox(x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Grind_CommRing_eq__gcd__cert___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 = l_Lean_Grind_CommRing_eq__gcd__cert(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_7 = lean_box(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_eq__gcd__cert_match__1_splitter___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_1, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +lean_dec(x_1); +x_9 = lean_apply_3(x_2, x_6, x_7, x_8); +return x_9; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_eq__gcd__cert_match__1_splitter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Init_Grind_Ring_Poly_0__Lean_Grind_CommRing_eq__gcd__cert_match__1_splitter___redArg(x_2, x_3, x_4); +return x_5; +} +} lean_object* initialize_Init_Data_Nat_Lemmas(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Hashable(uint8_t builtin, lean_object*); lean_object* initialize_Init_Data_Ord(uint8_t builtin, lean_object*); diff --git a/stage0/stdlib/Lake/CLI/Main.c b/stage0/stdlib/Lake/CLI/Main.c index 33bb0af7b2..67cd4c0bde 100644 --- a/stage0/stdlib/Lake/CLI/Main.c +++ b/stage0/stdlib/Lake/CLI/Main.c @@ -107,6 +107,7 @@ LEAN_EXPORT lean_object* l_Lake_lake_script_doc(lean_object*, lean_object*, lean lean_object* l_System_FilePath_withExtension(lean_object*, lean_object*); static lean_object* l_Lake_lakeCli___closed__0; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lake_lake_queryKind_spec__1___boxed__const__1; +lean_object* l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1(lean_object*); lean_object* l_String_split___at___Lean_stringToMessageData_spec__0(lean_object*); static lean_object* l_Lake_lakeCli___closed__10; LEAN_EXPORT lean_object* l___private_Lake_CLI_Main_0__Lake_lake_evalLeanFile___elam__0(lean_object*, lean_object*, lean_object*, lean_object*); @@ -219,7 +220,6 @@ LEAN_EXPORT lean_object* l_Lake_lake_pack(lean_object*, lean_object*, lean_objec static lean_object* l_Lake_parseTemplateLangSpec___closed__1; LEAN_EXPORT lean_object* l_Lake_lake_serve___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lake_Workspace_findScript_x3f(lean_object*, lean_object*); -lean_object* l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lake_parseTemplateSpec(lean_object*); static lean_object* l_Lake_lake_script_list___closed__1; lean_object* l_Lake_stringToLegalOrSimpleName(lean_object*); @@ -33676,7 +33676,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = lean_array_mk(x_1); -x_3 = l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1(x_2); +x_3 = l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1(x_2); return x_3; } } @@ -33871,7 +33871,7 @@ x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_17); x_32 = l___private_Lake_CLI_Main_0__Lake_lake_toJsonReservoirConfig___closed__4____x40_Lake_CLI_Main___hyg_7208_; -x_33 = l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1(x_6); +x_33 = l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1(x_6); x_34 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_34, 0, x_32); lean_ctor_set(x_34, 1, x_33); diff --git a/stage0/stdlib/Lean/Elab/Import.c b/stage0/stdlib/Lean/Elab/Import.c index 2e694c4f77..e35b9f434c 100644 --- a/stage0/stdlib/Lean/Elab/Import.c +++ b/stage0/stdlib/Lean/Elab/Import.c @@ -16,7 +16,7 @@ extern "C" { static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_imports___boxed(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_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_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_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*); static lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_headerToImports___boxed(lean_object*, lean_object*); @@ -27,25 +27,27 @@ lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_Lean_Elab_processHeaderCore___closed__0; lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_printImports(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__3; -static lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__5; static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_headerToImports(lean_object*, uint8_t); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_processHeader(lean_object*, lean_object*, lean_object*, lean_object*, uint32_t, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__7; static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__3; lean_object* lean_string_push(lean_object*, uint32_t); static lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__2; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_printImportSrcs_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_parseImports___closed__0; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_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_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_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_object* l_Array_empty(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_startPos(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_imports___lam__0___boxed(lean_object*); static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__4; lean_object* l_Lean_MessageData_ofFormat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_printImportSrcs(lean_object*, lean_object*, lean_object*); @@ -65,7 +67,8 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_IO_println___at___Lean_Elab_printImports_spec__0(lean_object*, lean_object*); uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_HeaderSyntax_isModule(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedImport; static lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_imports(lean_object*, uint8_t); @@ -73,14 +76,13 @@ static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__6; static lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; lean_object* l_IO_print___at___IO_println___at___Lean_Environment_displayStats_spec__2_spec__2(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__0; -static lean_object* l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0___closed__0; static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__5; uint8_t l_Lean_Option_get___at_____private_Lean_Util_Profile_0__Lean_get__profiler_spec__0(lean_object*, lean_object*); static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__11; static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__12; static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__8; static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__9; -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0(lean_object*, lean_object*, uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_findOLean(lean_object*, lean_object*); static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__13; LEAN_EXPORT lean_object* l_Lean_Elab_parseImports(lean_object*, lean_object*, lean_object*); @@ -100,6 +102,7 @@ lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); lean_object* l_Lean_findLean(lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_imports___lam__0(lean_object*); lean_object* l_Lean_Name_mkStr1(lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_inServer; @@ -108,13 +111,13 @@ uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_printImports_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_environment(uint32_t, lean_object*); lean_object* l_Lean_importModules(lean_object*, lean_object*, uint32_t, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_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_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(lean_object*); lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_HeaderSyntax_imports___closed__1; +static lean_object* l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1___closed__0; LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_startPos(lean_object* x_1) { _start: { @@ -181,7 +184,16 @@ x_3 = lean_box(x_2); return x_3; } } -static lean_object* _init_l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0___closed__0() { +LEAN_EXPORT lean_object* l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_instInhabitedImport; +x_3 = lean_panic_fn(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1___closed__0() { _start: { lean_object* x_1; @@ -189,24 +201,102 @@ x_1 = l_Array_empty(lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0___closed__0; -x_3 = lean_panic_fn(x_2, x_1); -return x_3; -} -} LEAN_EXPORT lean_object* l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_instInhabitedImport; +x_2 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1___closed__0; x_3 = lean_panic_fn(x_2, x_1); return x_3; } } +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(uint8_t 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) { +_start: +{ +lean_object* x_8; uint8_t x_9; uint8_t x_10; uint8_t x_16; uint8_t x_17; uint8_t x_19; +x_8 = l_Lean_Syntax_getId(x_7); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_box(0); +x_24 = lean_unbox(x_23); +x_19 = x_24; +goto block_22; +} +else +{ +x_19 = x_1; +goto block_22; +} +block_15: +{ +if (lean_obj_tag(x_5) == 0) +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_12, 0, x_8); +lean_ctor_set_uint8(x_12, sizeof(void*)*1, x_9); +lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 1, x_10); +x_13 = lean_unbox(x_11); +lean_ctor_set_uint8(x_12, sizeof(void*)*1 + 2, x_13); +return x_12; +} +else +{ +lean_object* x_14; +x_14 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_14, 0, x_8); +lean_ctor_set_uint8(x_14, sizeof(void*)*1, x_9); +lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 1, x_10); +lean_ctor_set_uint8(x_14, sizeof(void*)*1 + 2, x_1); +return x_14; +} +} +block_18: +{ +if (lean_obj_tag(x_2) == 0) +{ +x_9 = x_16; +x_10 = x_1; +goto block_15; +} +else +{ +x_9 = x_16; +x_10 = x_17; +goto block_15; +} +} +block_22: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_box(0); +x_21 = lean_unbox(x_20); +x_16 = x_19; +x_17 = x_21; +goto block_18; +} +else +{ +if (x_1 == 0) +{ +x_16 = x_19; +x_17 = x_1; +goto block_18; +} +else +{ +x_9 = x_19; +x_10 = x_3; +goto block_15; +} +} +} +} +} static lean_object* _init_l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__0() { _start: { @@ -237,7 +327,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_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__2; x_2 = lean_unsigned_to_nat(13u); -x_3 = lean_unsigned_to_nat(28u); +x_3 = lean_unsigned_to_nat(33u); x_4 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__1; x_5 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -264,715 +354,3722 @@ static lean_object* _init_l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___a _start: { lean_object* x_1; +x_1 = lean_mk_string_unchecked("public", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__7() { +_start: +{ +lean_object* x_1; x_1 = lean_mk_string_unchecked("private", 7, 7); return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_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, size_t x_7, size_t x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_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, size_t x_10, size_t x_11, lean_object* x_12) { _start: { -uint8_t x_10; -x_10 = lean_usize_dec_lt(x_8, x_7); -if (x_10 == 0) +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_11, x_10); +if (x_13 == 0) { -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_9; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_12; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; uint8_t x_24; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_52; lean_object* x_53; lean_object* x_70; uint8_t x_86; -x_11 = lean_array_uget(x_9, x_8); -x_12 = lean_box(0); -x_13 = lean_array_uset(x_9, x_8, x_12); -lean_inc(x_11); -x_86 = l_Lean_Syntax_isOfKind(x_11, x_6); -if (x_86 == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_23; uint8_t x_24; uint8_t x_25; lean_object* x_26; uint8_t x_27; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; uint8_t x_41; +x_14 = lean_array_uget(x_12, x_11); +x_15 = lean_box(0); +x_16 = lean_array_uset(x_12, x_11, x_15); +lean_inc(x_14); +x_41 = l_Lean_Syntax_isOfKind(x_14, x_1); +if (x_41 == 0) { -lean_object* x_87; lean_object* x_88; -lean_dec(x_11); -x_87 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_88 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_87); -x_14 = x_88; -goto block_19; +lean_object* x_42; lean_object* x_43; +lean_dec(x_14); +x_42 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; +x_43 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(x_42); +x_17 = x_43; +goto block_22; } else { -lean_object* x_89; uint8_t x_90; -x_89 = l_Lean_Syntax_getArg(x_11, x_1); -x_90 = l_Lean_Syntax_isNone(x_89); -if (x_90 == 0) +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_147; uint8_t x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; lean_object* x_163; uint8_t x_164; uint8_t 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_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_195; uint8_t x_196; uint8_t x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_214; lean_object* x_215; uint8_t x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_360; uint8_t x_410; +x_283 = l_Lean_Syntax_getArg(x_14, x_4); +x_410 = l_Lean_Syntax_isNone(x_283); +if (x_410 == 0) { -uint8_t x_91; -lean_inc(x_89); -x_91 = l_Lean_Syntax_matchesNull(x_89, x_2); -if (x_91 == 0) +uint8_t x_411; +lean_inc(x_283); +x_411 = l_Lean_Syntax_matchesNull(x_283, x_5); +if (x_411 == 0) { -lean_object* x_92; lean_object* x_93; -lean_dec(x_89); -lean_dec(x_11); -x_92 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_93 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_92); -x_14 = x_93; -goto block_19; +lean_object* x_412; lean_object* x_413; +lean_dec(x_283); +lean_dec(x_14); +x_412 = lean_box(0); +lean_inc(x_6); +x_413 = lean_apply_1(x_6, x_412); +x_17 = x_413; +goto block_22; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; uint8_t x_97; -x_94 = l_Lean_Syntax_getArg(x_89, x_1); -lean_dec(x_89); -x_95 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_96 = l_Lean_Name_mkStr4(x_3, x_4, x_5, x_95); -lean_inc(x_94); -x_97 = l_Lean_Syntax_isOfKind(x_94, x_96); -lean_dec(x_96); -if (x_97 == 0) +lean_object* x_414; lean_object* x_415; lean_object* x_416; uint8_t x_417; +x_414 = l_Lean_Syntax_getArg(x_283, x_4); +x_415 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__7; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_416 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_415); +lean_inc(x_414); +x_417 = l_Lean_Syntax_isOfKind(x_414, x_416); +lean_dec(x_416); +if (x_417 == 0) { -lean_object* x_98; lean_object* x_99; -lean_dec(x_94); -lean_dec(x_11); -x_98 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_99 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_98); -x_14 = x_99; -goto block_19; +lean_object* x_418; lean_object* x_419; uint8_t x_420; +lean_dec(x_283); +x_418 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_419 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_418); +lean_inc(x_414); +x_420 = l_Lean_Syntax_isOfKind(x_414, x_419); +lean_dec(x_419); +if (x_420 == 0) +{ +lean_object* x_421; lean_object* x_422; +lean_dec(x_414); +lean_dec(x_14); +x_421 = lean_box(0); +lean_inc(x_6); +x_422 = lean_apply_1(x_6, x_421); +x_17 = x_422; +goto block_22; } else { -lean_object* x_100; lean_object* x_101; -x_100 = l_Lean_Syntax_getArg(x_94, x_1); -lean_dec(x_94); -x_101 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_101, 0, x_100); -x_70 = x_101; -goto block_85; +lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_436; lean_object* x_453; uint8_t x_454; +x_423 = l_Lean_Syntax_getArg(x_414, x_4); +lean_dec(x_414); +x_424 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_424, 0, x_423); +x_453 = l_Lean_Syntax_getArg(x_14, x_5); +x_454 = l_Lean_Syntax_isNone(x_453); +if (x_454 == 0) +{ +uint8_t x_455; +lean_inc(x_453); +x_455 = l_Lean_Syntax_matchesNull(x_453, x_5); +if (x_455 == 0) +{ +lean_object* x_456; lean_object* x_457; +lean_dec(x_453); +lean_dec(x_424); +lean_dec(x_14); +x_456 = lean_box(0); +lean_inc(x_6); +x_457 = lean_apply_1(x_6, x_456); +x_17 = x_457; +goto block_22; +} +else +{ +lean_object* x_458; lean_object* x_459; lean_object* x_460; uint8_t x_461; +x_458 = l_Lean_Syntax_getArg(x_453, x_4); +lean_dec(x_453); +x_459 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_460 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_459); +lean_inc(x_458); +x_461 = l_Lean_Syntax_isOfKind(x_458, x_460); +lean_dec(x_460); +if (x_461 == 0) +{ +lean_object* x_462; lean_object* x_463; +lean_dec(x_458); +lean_dec(x_424); +lean_dec(x_14); +x_462 = lean_box(0); +lean_inc(x_6); +x_463 = lean_apply_1(x_6, x_462); +x_17 = x_463; +goto block_22; +} +else +{ +lean_object* x_464; lean_object* x_465; +x_464 = l_Lean_Syntax_getArg(x_458, x_4); +lean_dec(x_458); +x_465 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_465, 0, x_464); +x_436 = x_465; +goto block_452; } } } else { -lean_object* x_102; -lean_dec(x_89); -x_102 = lean_box(0); -x_70 = x_102; -goto block_85; +lean_object* x_466; +lean_dec(x_453); +x_466 = lean_box(0); +x_436 = x_466; +goto block_452; } -} -block_19: +block_435: { -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = 1; -x_16 = lean_usize_add(x_8, x_15); -x_17 = lean_array_uset(x_13, x_8, x_14); -x_8 = x_16; -x_9 = x_17; -goto _start; -} -block_29: +lean_object* x_427; lean_object* x_428; uint8_t x_429; +x_427 = lean_unsigned_to_nat(5u); +x_428 = l_Lean_Syntax_getArg(x_14, x_427); +x_429 = l_Lean_Syntax_matchesNull(x_428, x_4); +if (x_429 == 0) { -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_25 = lean_box(0); -x_26 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_26, 0, x_23); -lean_ctor_set_uint8(x_26, sizeof(void*)*1, x_22); -lean_ctor_set_uint8(x_26, sizeof(void*)*1 + 1, x_24); -x_27 = lean_unbox(x_25); -lean_ctor_set_uint8(x_26, sizeof(void*)*1 + 2, x_27); -x_14 = x_26; -goto block_19; +lean_object* x_430; lean_object* x_431; +lean_dec(x_426); +lean_dec(x_425); +lean_dec(x_424); +lean_dec(x_14); +x_430 = lean_box(0); +lean_inc(x_6); +x_431 = lean_apply_1(x_6, x_430); +x_17 = x_431; +goto block_22; } else { -lean_object* x_28; -lean_dec(x_21); -x_28 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set_uint8(x_28, sizeof(void*)*1, x_22); -lean_ctor_set_uint8(x_28, sizeof(void*)*1 + 1, x_24); -lean_ctor_set_uint8(x_28, sizeof(void*)*1 + 2, x_20); -x_14 = x_28; -goto block_19; +lean_object* x_432; lean_object* x_433; lean_object* x_434; +x_432 = lean_unsigned_to_nat(4u); +x_433 = l_Lean_Syntax_getArg(x_14, x_432); +lean_dec(x_14); +x_434 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_41, x_2, x_3, x_424, x_425, x_426, x_433); +lean_dec(x_433); +lean_dec(x_426); +lean_dec(x_425); +lean_dec(x_424); +x_17 = x_434; +goto block_22; } } -block_37: +block_452: { -if (lean_obj_tag(x_32) == 0) +lean_object* x_437; lean_object* x_438; uint8_t x_439; +x_437 = lean_unsigned_to_nat(3u); +x_438 = l_Lean_Syntax_getArg(x_14, x_437); +x_439 = l_Lean_Syntax_isNone(x_438); +if (x_439 == 0) { -x_20 = x_30; -x_21 = x_31; -x_22 = x_34; -x_23 = x_33; -x_24 = x_30; -goto block_29; +uint8_t x_440; +lean_inc(x_438); +x_440 = l_Lean_Syntax_matchesNull(x_438, x_5); +if (x_440 == 0) +{ +lean_object* x_441; lean_object* x_442; +lean_dec(x_438); +lean_dec(x_436); +lean_dec(x_424); +lean_dec(x_14); +x_441 = lean_box(0); +lean_inc(x_6); +x_442 = lean_apply_1(x_6, x_441); +x_17 = x_442; +goto block_22; } else { -lean_object* x_35; uint8_t x_36; -lean_dec(x_32); -x_35 = lean_box(0); -x_36 = lean_unbox(x_35); -x_20 = x_30; -x_21 = x_31; -x_22 = x_34; -x_23 = x_33; -x_24 = x_36; -goto block_29; -} -} -block_51: +lean_object* x_443; lean_object* x_444; lean_object* x_445; uint8_t x_446; +x_443 = l_Lean_Syntax_getArg(x_438, x_4); +lean_dec(x_438); +x_444 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_445 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_444); +lean_inc(x_443); +x_446 = l_Lean_Syntax_isOfKind(x_443, x_445); +lean_dec(x_445); +if (x_446 == 0) { -lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_41 = lean_unsigned_to_nat(5u); -x_42 = l_Lean_Syntax_getArg(x_11, x_41); -x_43 = l_Lean_Syntax_matchesNull(x_42, x_1); -if (x_43 == 0) -{ -lean_object* x_44; lean_object* x_45; -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_11); -x_44 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_45 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_44); -x_14 = x_45; -goto block_19; +lean_object* x_447; lean_object* x_448; +lean_dec(x_443); +lean_dec(x_436); +lean_dec(x_424); +lean_dec(x_14); +x_447 = lean_box(0); +lean_inc(x_6); +x_448 = lean_apply_1(x_6, x_447); +x_17 = x_448; +goto block_22; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_unsigned_to_nat(4u); -x_47 = l_Lean_Syntax_getArg(x_11, x_46); -lean_dec(x_11); -x_48 = l_Lean_Syntax_getId(x_47); +lean_object* x_449; lean_object* x_450; +x_449 = l_Lean_Syntax_getArg(x_443, x_4); +lean_dec(x_443); +x_450 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_450, 0, x_449); +x_425 = x_436; +x_426 = x_450; +goto block_435; +} +} +} +else +{ +lean_object* x_451; +lean_dec(x_438); +x_451 = lean_box(0); +x_425 = x_436; +x_426 = x_451; +goto block_435; +} +} +} +} +else +{ +lean_object* x_467; lean_object* x_468; +x_467 = l_Lean_Syntax_getArg(x_414, x_4); +lean_dec(x_414); +x_468 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_468, 0, x_467); +x_360 = x_468; +goto block_409; +} +} +} +else +{ +lean_object* x_469; +x_469 = lean_box(0); +x_360 = x_469; +goto block_409; +} +block_53: +{ +uint8_t x_49; +x_49 = l_Lean_Syntax_matchesNull(x_46, x_4); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_48); lean_dec(x_47); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_49; uint8_t x_50; -x_49 = lean_box(0); -x_50 = lean_unbox(x_49); -x_30 = x_43; -x_31 = x_38; -x_32 = x_39; -x_33 = x_48; -x_34 = x_50; -goto block_37; +lean_dec(x_45); +lean_dec(x_44); +x_50 = lean_box(0); +lean_inc(x_6); +x_51 = lean_apply_1(x_6, x_50); +x_17 = x_51; +goto block_22; } else { -lean_dec(x_40); -x_30 = x_43; -x_31 = x_38; -x_32 = x_39; -x_33 = x_48; -x_34 = x_43; -goto block_37; +lean_object* x_52; +x_52 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_41, x_2, x_3, x_45, x_44, x_48, x_47); +lean_dec(x_47); +lean_dec(x_48); +lean_dec(x_44); +lean_dec(x_45); +x_17 = x_52; +goto block_22; } } -} -block_69: +block_72: { -lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_54 = lean_unsigned_to_nat(3u); -x_55 = l_Lean_Syntax_getArg(x_11, x_54); -x_56 = l_Lean_Syntax_isNone(x_55); -if (x_56 == 0) +uint8_t x_59; +x_59 = l_Lean_Syntax_isNone(x_54); +if (x_59 == 0) { -uint8_t x_57; -lean_inc(x_55); -x_57 = l_Lean_Syntax_matchesNull(x_55, x_2); -if (x_57 == 0) +uint8_t x_60; +lean_inc(x_54); +x_60 = l_Lean_Syntax_matchesNull(x_54, x_5); +if (x_60 == 0) { -lean_object* x_58; lean_object* x_59; +lean_object* x_61; lean_object* x_62; +lean_dec(x_58); +lean_dec(x_57); +lean_dec(x_56); lean_dec(x_55); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_11); -x_58 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_59 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_58); -x_14 = x_59; -goto block_19; +lean_dec(x_54); +x_61 = lean_box(0); +lean_inc(x_6); +x_62 = lean_apply_1(x_6, x_61); +x_17 = x_62; +goto block_22; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_60 = l_Lean_Syntax_getArg(x_55, x_1); +lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; +x_63 = l_Lean_Syntax_getArg(x_54, x_4); +lean_dec(x_54); +x_64 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_65 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_64); +lean_inc(x_63); +x_66 = l_Lean_Syntax_isOfKind(x_63, x_65); +lean_dec(x_65); +if (x_66 == 0) +{ +lean_object* x_67; lean_object* x_68; +lean_dec(x_63); +lean_dec(x_58); +lean_dec(x_57); +lean_dec(x_56); lean_dec(x_55); -x_61 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_62 = l_Lean_Name_mkStr4(x_3, x_4, x_5, x_61); -lean_inc(x_60); -x_63 = l_Lean_Syntax_isOfKind(x_60, x_62); -lean_dec(x_62); -if (x_63 == 0) -{ -lean_object* x_64; lean_object* x_65; -lean_dec(x_60); -lean_dec(x_53); -lean_dec(x_52); -lean_dec(x_11); -x_64 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_65 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_64); -x_14 = x_65; -goto block_19; +x_67 = lean_box(0); +lean_inc(x_6); +x_68 = lean_apply_1(x_6, x_67); +x_17 = x_68; +goto block_22; } else { -lean_object* x_66; lean_object* x_67; -x_66 = l_Lean_Syntax_getArg(x_60, x_1); -lean_dec(x_60); -x_67 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_67, 0, x_66); -x_38 = x_53; -x_39 = x_52; -x_40 = x_67; -goto block_51; +lean_object* x_69; lean_object* x_70; +x_69 = l_Lean_Syntax_getArg(x_63, x_4); +lean_dec(x_63); +x_70 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_44 = x_58; +x_45 = x_55; +x_46 = x_56; +x_47 = x_57; +x_48 = x_70; +goto block_53; } } } else { -lean_object* x_68; -lean_dec(x_55); -x_68 = lean_box(0); -x_38 = x_53; -x_39 = x_52; -x_40 = x_68; -goto block_51; +lean_object* x_71; +lean_dec(x_54); +x_71 = lean_box(0); +x_44 = x_58; +x_45 = x_55; +x_46 = x_56; +x_47 = x_57; +x_48 = x_71; +goto block_53; } } -block_85: +block_88: { -lean_object* x_71; uint8_t x_72; -x_71 = l_Lean_Syntax_getArg(x_11, x_2); -x_72 = l_Lean_Syntax_isNone(x_71); -if (x_72 == 0) -{ -uint8_t x_73; -lean_inc(x_71); -x_73 = l_Lean_Syntax_matchesNull(x_71, x_2); if (x_73 == 0) { -lean_object* x_74; lean_object* x_75; -lean_dec(x_71); -lean_dec(x_70); -lean_dec(x_11); -x_74 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_75 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_74); -x_14 = x_75; -goto block_19; -} -else +if (x_78 == 0) { -lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_76 = l_Lean_Syntax_getArg(x_71, x_1); -lean_dec(x_71); -x_77 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_78 = l_Lean_Name_mkStr4(x_3, x_4, x_5, x_77); -lean_inc(x_76); -x_79 = l_Lean_Syntax_isOfKind(x_76, x_78); -lean_dec(x_78); -if (x_79 == 0) -{ -lean_object* x_80; lean_object* x_81; -lean_dec(x_76); -lean_dec(x_70); -lean_dec(x_11); -x_80 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_81 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_80); -x_14 = x_81; -goto block_19; -} -else -{ -lean_object* x_82; lean_object* x_83; -x_82 = l_Lean_Syntax_getArg(x_76, x_1); -lean_dec(x_76); -x_83 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_83, 0, x_82); -x_52 = x_70; -x_53 = x_83; -goto block_69; -} -} -} -else -{ -lean_object* x_84; -lean_dec(x_71); -x_84 = lean_box(0); -x_52 = x_70; -x_53 = x_84; -goto block_69; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_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, size_t x_8, size_t x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_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, size_t x_8, size_t x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; -x_11 = lean_usize_dec_lt(x_9, x_8); -if (x_11 == 0) -{ -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_10; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_21; uint8_t x_22; lean_object* x_23; uint8_t x_24; uint8_t x_25; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; uint8_t x_35; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_53; lean_object* x_54; lean_object* x_71; uint8_t x_87; -x_12 = lean_array_uget(x_10, x_9); -x_13 = lean_box(0); -x_14 = lean_array_uset(x_10, x_9, x_13); -lean_inc(x_12); -x_87 = l_Lean_Syntax_isOfKind(x_12, x_7); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; -lean_dec(x_12); -x_88 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_89 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_88); -x_15 = x_89; -goto block_20; -} -else -{ -lean_object* x_90; uint8_t x_91; -x_90 = l_Lean_Syntax_getArg(x_12, x_1); -x_91 = l_Lean_Syntax_isNone(x_90); -if (x_91 == 0) -{ -uint8_t x_92; -lean_inc(x_90); -x_92 = l_Lean_Syntax_matchesNull(x_90, x_3); -if (x_92 == 0) -{ -lean_object* x_93; lean_object* x_94; -lean_dec(x_90); -lean_dec(x_12); -x_93 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_94 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_93); -x_15 = x_94; -goto block_20; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; -x_95 = l_Lean_Syntax_getArg(x_90, x_1); -lean_dec(x_90); -x_96 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_object* x_81; lean_object* x_82; +lean_dec(x_80); +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_75); +lean_dec(x_74); +x_81 = lean_box(0); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_97 = l_Lean_Name_mkStr4(x_4, x_5, x_6, x_96); -lean_inc(x_95); -x_98 = l_Lean_Syntax_isOfKind(x_95, x_97); -lean_dec(x_97); -if (x_98 == 0) -{ -lean_object* x_99; lean_object* x_100; -lean_dec(x_95); -lean_dec(x_12); -x_99 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_100 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_99); -x_15 = x_100; -goto block_20; +x_82 = lean_apply_1(x_6, x_81); +x_17 = x_82; +goto block_22; } else { -lean_object* x_101; lean_object* x_102; -x_101 = l_Lean_Syntax_getArg(x_95, x_1); -lean_dec(x_95); -x_102 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_102, 0, x_101); -x_71 = x_102; -goto block_86; +if (x_76 == 0) +{ +lean_object* x_83; lean_object* x_84; +lean_dec(x_80); +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_75); +lean_dec(x_74); +x_83 = lean_box(0); +lean_inc(x_6); +x_84 = lean_apply_1(x_6, x_83); +x_17 = x_84; +goto block_22; +} +else +{ +lean_object* x_85; lean_object* x_86; +x_85 = l_Lean_Syntax_getArg(x_75, x_4); +lean_dec(x_75); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_85); +x_54 = x_74; +x_55 = x_80; +x_56 = x_77; +x_57 = x_79; +x_58 = x_86; +goto block_72; } } } else { -lean_object* x_103; +lean_object* x_87; +lean_dec(x_75); +x_87 = lean_box(0); +x_54 = x_74; +x_55 = x_80; +x_56 = x_77; +x_57 = x_79; +x_58 = x_87; +goto block_72; +} +} +block_98: +{ +uint8_t x_94; +x_94 = l_Lean_Syntax_matchesNull(x_89, x_4); +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; +lean_dec(x_93); +lean_dec(x_92); +lean_dec(x_91); lean_dec(x_90); -x_103 = lean_box(0); -x_71 = x_103; -goto block_86; +x_95 = lean_box(0); +lean_inc(x_6); +x_96 = lean_apply_1(x_6, x_95); +x_17 = x_96; +goto block_22; } -} -block_20: +else { -size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; -x_16 = 1; -x_17 = lean_usize_add(x_9, x_16); -x_18 = lean_array_uset(x_14, x_9, x_15); -x_19 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_17, x_18); -return x_19; +lean_object* x_97; +x_97 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_41, x_2, x_3, x_91, x_92, x_93, x_90); +lean_dec(x_90); +lean_dec(x_93); +lean_dec(x_92); +lean_dec(x_91); +x_17 = x_97; +goto block_22; } -block_30: +} +block_117: +{ +uint8_t x_104; +x_104 = l_Lean_Syntax_isNone(x_102); +if (x_104 == 0) +{ +uint8_t x_105; +lean_inc(x_102); +x_105 = l_Lean_Syntax_matchesNull(x_102, x_5); +if (x_105 == 0) +{ +lean_object* x_106; lean_object* x_107; +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); +x_106 = lean_box(0); +lean_inc(x_6); +x_107 = lean_apply_1(x_6, x_106); +x_17 = x_107; +goto block_22; +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_108 = l_Lean_Syntax_getArg(x_102, x_4); +lean_dec(x_102); +x_109 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_110 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_109); +lean_inc(x_108); +x_111 = l_Lean_Syntax_isOfKind(x_108, x_110); +lean_dec(x_110); +if (x_111 == 0) +{ +lean_object* x_112; lean_object* x_113; +lean_dec(x_108); +lean_dec(x_103); +lean_dec(x_101); +lean_dec(x_100); +lean_dec(x_99); +x_112 = lean_box(0); +lean_inc(x_6); +x_113 = lean_apply_1(x_6, x_112); +x_17 = x_113; +goto block_22; +} +else +{ +lean_object* x_114; lean_object* x_115; +x_114 = l_Lean_Syntax_getArg(x_108, x_4); +lean_dec(x_108); +x_115 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_115, 0, x_114); +x_89 = x_99; +x_90 = x_100; +x_91 = x_101; +x_92 = x_103; +x_93 = x_115; +goto block_98; +} +} +} +else +{ +lean_object* x_116; +lean_dec(x_102); +x_116 = lean_box(0); +x_89 = x_99; +x_90 = x_100; +x_91 = x_101; +x_92 = x_103; +x_93 = x_116; +goto block_98; +} +} +block_136: +{ +if (x_120 == 0) +{ +if (x_122 == 0) +{ +lean_object* x_125; lean_object* x_126; +lean_dec(x_124); +lean_dec(x_123); +lean_dec(x_121); +lean_dec(x_119); +lean_dec(x_118); +x_125 = lean_box(0); +lean_inc(x_6); +x_126 = lean_apply_1(x_6, x_125); +x_17 = x_126; +goto block_22; +} +else +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; +x_127 = l_Lean_Syntax_getArg(x_118, x_4); +lean_dec(x_118); +x_128 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_129 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_128); +lean_inc(x_127); +x_130 = l_Lean_Syntax_isOfKind(x_127, x_129); +lean_dec(x_129); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_127); +lean_dec(x_124); +lean_dec(x_123); +lean_dec(x_121); +lean_dec(x_119); +x_131 = lean_box(0); +lean_inc(x_6); +x_132 = lean_apply_1(x_6, x_131); +x_17 = x_132; +goto block_22; +} +else +{ +lean_object* x_133; lean_object* x_134; +x_133 = l_Lean_Syntax_getArg(x_127, x_4); +lean_dec(x_127); +x_134 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_134, 0, x_133); +x_99 = x_119; +x_100 = x_121; +x_101 = x_124; +x_102 = x_123; +x_103 = x_134; +goto block_117; +} +} +} +else +{ +lean_object* x_135; +lean_dec(x_118); +x_135 = lean_box(0); +x_99 = x_119; +x_100 = x_121; +x_101 = x_124; +x_102 = x_123; +x_103 = x_135; +goto block_117; +} +} +block_146: +{ +uint8_t x_142; +x_142 = l_Lean_Syntax_matchesNull(x_140, x_4); +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; +lean_dec(x_141); +lean_dec(x_139); +lean_dec(x_138); +lean_dec(x_137); +x_143 = lean_box(0); +lean_inc(x_6); +x_144 = lean_apply_1(x_6, x_143); +x_17 = x_144; +goto block_22; +} +else +{ +lean_object* x_145; +x_145 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_41, x_2, x_3, x_138, x_137, x_141, x_139); +lean_dec(x_139); +lean_dec(x_141); +lean_dec(x_137); +lean_dec(x_138); +x_17 = x_145; +goto block_22; +} +} +block_162: +{ +if (x_148 == 0) +{ +if (x_147 == 0) +{ +lean_object* x_155; lean_object* x_156; +lean_dec(x_154); +lean_dec(x_152); +lean_dec(x_151); +lean_dec(x_150); +lean_dec(x_149); +x_155 = lean_box(0); +lean_inc(x_6); +x_156 = lean_apply_1(x_6, x_155); +x_17 = x_156; +goto block_22; +} +else +{ +if (x_153 == 0) +{ +lean_object* x_157; lean_object* x_158; +lean_dec(x_154); +lean_dec(x_152); +lean_dec(x_151); +lean_dec(x_150); +lean_dec(x_149); +x_157 = lean_box(0); +lean_inc(x_6); +x_158 = lean_apply_1(x_6, x_157); +x_17 = x_158; +goto block_22; +} +else +{ +lean_object* x_159; lean_object* x_160; +x_159 = l_Lean_Syntax_getArg(x_152, x_4); +lean_dec(x_152); +x_160 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_160, 0, x_159); +x_137 = x_154; +x_138 = x_149; +x_139 = x_151; +x_140 = x_150; +x_141 = x_160; +goto block_146; +} +} +} +else +{ +lean_object* x_161; +lean_dec(x_152); +x_161 = lean_box(0); +x_137 = x_154; +x_138 = x_149; +x_139 = x_151; +x_140 = x_150; +x_141 = x_161; +goto block_146; +} +} +block_184: +{ +uint8_t x_171; +x_171 = l_Lean_Syntax_isNone(x_163); +if (x_171 == 0) +{ +uint8_t x_172; +lean_inc(x_163); +x_172 = l_Lean_Syntax_matchesNull(x_163, x_5); +if (x_172 == 0) +{ +lean_object* x_173; lean_object* x_174; +lean_dec(x_170); +lean_dec(x_168); +lean_dec(x_167); +lean_dec(x_166); +lean_dec(x_163); +x_173 = lean_box(0); +lean_inc(x_6); +x_174 = lean_apply_1(x_6, x_173); +x_17 = x_174; +goto block_22; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_175 = l_Lean_Syntax_getArg(x_163, x_4); +lean_dec(x_163); +x_176 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_177 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_176); +lean_inc(x_175); +x_178 = l_Lean_Syntax_isOfKind(x_175, x_177); +lean_dec(x_177); +if (x_178 == 0) +{ +lean_object* x_179; lean_object* x_180; +lean_dec(x_175); +lean_dec(x_170); +lean_dec(x_168); +lean_dec(x_167); +lean_dec(x_166); +x_179 = lean_box(0); +lean_inc(x_6); +x_180 = lean_apply_1(x_6, x_179); +x_17 = x_180; +goto block_22; +} +else +{ +lean_object* x_181; lean_object* x_182; +x_181 = l_Lean_Syntax_getArg(x_175, x_4); +lean_dec(x_175); +x_182 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_182, 0, x_181); +x_147 = x_164; +x_148 = x_165; +x_149 = x_170; +x_150 = x_167; +x_151 = x_166; +x_152 = x_168; +x_153 = x_169; +x_154 = x_182; +goto block_162; +} +} +} +else +{ +lean_object* x_183; +lean_dec(x_163); +x_183 = lean_box(0); +x_147 = x_164; +x_148 = x_165; +x_149 = x_170; +x_150 = x_167; +x_151 = x_166; +x_152 = x_168; +x_153 = x_169; +x_154 = x_183; +goto block_162; +} +} +block_194: +{ +uint8_t x_190; +x_190 = l_Lean_Syntax_matchesNull(x_185, x_4); +if (x_190 == 0) +{ +lean_object* x_191; lean_object* x_192; +lean_dec(x_189); +lean_dec(x_188); +lean_dec(x_187); +lean_dec(x_186); +x_191 = lean_box(0); +lean_inc(x_6); +x_192 = lean_apply_1(x_6, x_191); +x_17 = x_192; +goto block_22; +} +else +{ +lean_object* x_193; +x_193 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_41, x_2, x_3, x_188, x_187, x_189, x_186); +lean_dec(x_186); +lean_dec(x_189); +lean_dec(x_187); +lean_dec(x_188); +x_17 = x_193; +goto block_22; +} +} +block_213: +{ +if (x_197 == 0) +{ +if (x_196 == 0) +{ +lean_object* x_202; lean_object* x_203; +lean_dec(x_201); +lean_dec(x_200); +lean_dec(x_199); +lean_dec(x_198); +lean_dec(x_195); +x_202 = lean_box(0); +lean_inc(x_6); +x_203 = lean_apply_1(x_6, x_202); +x_17 = x_203; +goto block_22; +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_204 = l_Lean_Syntax_getArg(x_195, x_4); +lean_dec(x_195); +x_205 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_206 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_205); +lean_inc(x_204); +x_207 = l_Lean_Syntax_isOfKind(x_204, x_206); +lean_dec(x_206); +if (x_207 == 0) +{ +lean_object* x_208; lean_object* x_209; +lean_dec(x_204); +lean_dec(x_201); +lean_dec(x_200); +lean_dec(x_199); +lean_dec(x_198); +x_208 = lean_box(0); +lean_inc(x_6); +x_209 = lean_apply_1(x_6, x_208); +x_17 = x_209; +goto block_22; +} +else +{ +lean_object* x_210; lean_object* x_211; +x_210 = l_Lean_Syntax_getArg(x_204, x_4); +lean_dec(x_204); +x_211 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_211, 0, x_210); +x_185 = x_198; +x_186 = x_199; +x_187 = x_201; +x_188 = x_200; +x_189 = x_211; +goto block_194; +} +} +} +else +{ +lean_object* x_212; +lean_dec(x_195); +x_212 = lean_box(0); +x_185 = x_198; +x_186 = x_199; +x_187 = x_201; +x_188 = x_200; +x_189 = x_212; +goto block_194; +} +} +block_234: +{ +uint8_t x_221; +x_221 = l_Lean_Syntax_isNone(x_215); +if (x_221 == 0) +{ +uint8_t x_222; +lean_inc(x_215); +x_222 = l_Lean_Syntax_matchesNull(x_215, x_5); +if (x_222 == 0) +{ +lean_object* x_223; lean_object* x_224; +lean_dec(x_220); +lean_dec(x_219); +lean_dec(x_218); +lean_dec(x_215); +lean_dec(x_214); +x_223 = lean_box(0); +lean_inc(x_6); +x_224 = lean_apply_1(x_6, x_223); +x_17 = x_224; +goto block_22; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; uint8_t x_228; +x_225 = l_Lean_Syntax_getArg(x_215, x_4); +lean_dec(x_215); +x_226 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_227 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_226); +lean_inc(x_225); +x_228 = l_Lean_Syntax_isOfKind(x_225, x_227); +lean_dec(x_227); +if (x_228 == 0) +{ +lean_object* x_229; lean_object* x_230; +lean_dec(x_225); +lean_dec(x_220); +lean_dec(x_219); +lean_dec(x_218); +lean_dec(x_214); +x_229 = lean_box(0); +lean_inc(x_6); +x_230 = lean_apply_1(x_6, x_229); +x_17 = x_230; +goto block_22; +} +else +{ +lean_object* x_231; lean_object* x_232; +x_231 = l_Lean_Syntax_getArg(x_225, x_4); +lean_dec(x_225); +x_232 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_232, 0, x_231); +x_195 = x_214; +x_196 = x_216; +x_197 = x_217; +x_198 = x_218; +x_199 = x_219; +x_200 = x_220; +x_201 = x_232; +goto block_213; +} +} +} +else +{ +lean_object* x_233; +lean_dec(x_215); +x_233 = lean_box(0); +x_195 = x_214; +x_196 = x_216; +x_197 = x_217; +x_198 = x_218; +x_199 = x_219; +x_200 = x_220; +x_201 = x_233; +goto block_213; +} +} +block_244: +{ +uint8_t x_240; +x_240 = l_Lean_Syntax_matchesNull(x_238, x_4); +if (x_240 == 0) +{ +lean_object* x_241; lean_object* x_242; +lean_dec(x_239); +lean_dec(x_237); +lean_dec(x_236); +lean_dec(x_235); +x_241 = lean_box(0); +lean_inc(x_6); +x_242 = lean_apply_1(x_6, x_241); +x_17 = x_242; +goto block_22; +} +else +{ +lean_object* x_243; +x_243 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_41, x_2, x_3, x_235, x_237, x_239, x_236); +lean_dec(x_236); +lean_dec(x_239); +lean_dec(x_237); +lean_dec(x_235); +x_17 = x_243; +goto block_22; +} +} +block_263: +{ +uint8_t x_250; +x_250 = l_Lean_Syntax_isNone(x_245); +if (x_250 == 0) +{ +uint8_t x_251; +lean_inc(x_245); +x_251 = l_Lean_Syntax_matchesNull(x_245, x_5); +if (x_251 == 0) +{ +lean_object* x_252; lean_object* x_253; +lean_dec(x_249); +lean_dec(x_248); +lean_dec(x_247); +lean_dec(x_246); +lean_dec(x_245); +x_252 = lean_box(0); +lean_inc(x_6); +x_253 = lean_apply_1(x_6, x_252); +x_17 = x_253; +goto block_22; +} +else +{ +lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; +x_254 = l_Lean_Syntax_getArg(x_245, x_4); +lean_dec(x_245); +x_255 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_256 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_255); +lean_inc(x_254); +x_257 = l_Lean_Syntax_isOfKind(x_254, x_256); +lean_dec(x_256); +if (x_257 == 0) +{ +lean_object* x_258; lean_object* x_259; +lean_dec(x_254); +lean_dec(x_249); +lean_dec(x_248); +lean_dec(x_247); +lean_dec(x_246); +x_258 = lean_box(0); +lean_inc(x_6); +x_259 = lean_apply_1(x_6, x_258); +x_17 = x_259; +goto block_22; +} +else +{ +lean_object* x_260; lean_object* x_261; +x_260 = l_Lean_Syntax_getArg(x_254, x_4); +lean_dec(x_254); +x_261 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_261, 0, x_260); +x_235 = x_246; +x_236 = x_248; +x_237 = x_249; +x_238 = x_247; +x_239 = x_261; +goto block_244; +} +} +} +else +{ +lean_object* x_262; +lean_dec(x_245); +x_262 = lean_box(0); +x_235 = x_246; +x_236 = x_248; +x_237 = x_249; +x_238 = x_247; +x_239 = x_262; +goto block_244; +} +} +block_282: +{ +uint8_t x_269; +x_269 = l_Lean_Syntax_isNone(x_265); +if (x_269 == 0) +{ +uint8_t x_270; +lean_inc(x_265); +x_270 = l_Lean_Syntax_matchesNull(x_265, x_5); +if (x_270 == 0) +{ +lean_object* x_271; lean_object* x_272; +lean_dec(x_268); +lean_dec(x_267); +lean_dec(x_266); +lean_dec(x_265); +lean_dec(x_264); +x_271 = lean_box(0); +lean_inc(x_6); +x_272 = lean_apply_1(x_6, x_271); +x_17 = x_272; +goto block_22; +} +else +{ +lean_object* x_273; lean_object* x_274; lean_object* x_275; uint8_t x_276; +x_273 = l_Lean_Syntax_getArg(x_265, x_4); +lean_dec(x_265); +x_274 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_275 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_274); +lean_inc(x_273); +x_276 = l_Lean_Syntax_isOfKind(x_273, x_275); +lean_dec(x_275); +if (x_276 == 0) +{ +lean_object* x_277; lean_object* x_278; +lean_dec(x_273); +lean_dec(x_268); +lean_dec(x_267); +lean_dec(x_266); +lean_dec(x_264); +x_277 = lean_box(0); +lean_inc(x_6); +x_278 = lean_apply_1(x_6, x_277); +x_17 = x_278; +goto block_22; +} +else +{ +lean_object* x_279; lean_object* x_280; +x_279 = l_Lean_Syntax_getArg(x_273, x_4); +lean_dec(x_273); +x_280 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_280, 0, x_279); +x_245 = x_264; +x_246 = x_268; +x_247 = x_267; +x_248 = x_266; +x_249 = x_280; +goto block_263; +} +} +} +else +{ +lean_object* x_281; +lean_dec(x_265); +x_281 = lean_box(0); +x_245 = x_264; +x_246 = x_268; +x_247 = x_267; +x_248 = x_266; +x_249 = x_281; +goto block_263; +} +} +block_310: +{ +lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; uint8_t x_293; +x_289 = lean_unsigned_to_nat(4u); +x_290 = l_Lean_Syntax_getArg(x_14, x_289); +x_291 = lean_unsigned_to_nat(5u); +x_292 = l_Lean_Syntax_getArg(x_14, x_291); +lean_dec(x_14); +lean_inc(x_292); +x_293 = l_Lean_Syntax_matchesNull(x_292, x_4); +if (x_293 == 0) +{ +uint8_t x_294; +lean_dec(x_288); +lean_dec(x_287); +lean_dec(x_284); +x_294 = l_Lean_Syntax_isNone(x_283); +if (x_294 == 0) +{ +uint8_t x_295; +lean_inc(x_283); +x_295 = l_Lean_Syntax_matchesNull(x_283, x_5); +if (x_295 == 0) +{ +lean_object* x_296; lean_object* x_297; +lean_dec(x_292); +lean_dec(x_290); +lean_dec(x_286); +lean_dec(x_285); +lean_dec(x_283); +x_296 = lean_box(0); +lean_inc(x_6); +x_297 = lean_apply_1(x_6, x_296); +x_17 = x_297; +goto block_22; +} +else +{ +lean_object* x_298; lean_object* x_299; lean_object* x_300; uint8_t x_301; +x_298 = l_Lean_Syntax_getArg(x_283, x_4); +lean_dec(x_283); +x_299 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_300 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_299); +lean_inc(x_298); +x_301 = l_Lean_Syntax_isOfKind(x_298, x_300); +lean_dec(x_300); +if (x_301 == 0) +{ +lean_object* x_302; lean_object* x_303; +lean_dec(x_298); +lean_dec(x_292); +lean_dec(x_290); +lean_dec(x_286); +lean_dec(x_285); +x_302 = lean_box(0); +lean_inc(x_6); +x_303 = lean_apply_1(x_6, x_302); +x_17 = x_303; +goto block_22; +} +else +{ +lean_object* x_304; lean_object* x_305; +x_304 = l_Lean_Syntax_getArg(x_298, x_4); +lean_dec(x_298); +x_305 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_305, 0, x_304); +x_264 = x_285; +x_265 = x_286; +x_266 = x_290; +x_267 = x_292; +x_268 = x_305; +goto block_282; +} +} +} +else +{ +lean_object* x_306; +lean_dec(x_283); +x_306 = lean_box(0); +x_264 = x_285; +x_265 = x_286; +x_266 = x_290; +x_267 = x_292; +x_268 = x_306; +goto block_282; +} +} +else +{ +lean_object* x_307; +lean_dec(x_292); +lean_dec(x_286); +lean_dec(x_285); +lean_dec(x_283); +x_307 = l_Lean_Syntax_getId(x_290); +lean_dec(x_290); +if (lean_obj_tag(x_288) == 0) +{ +lean_object* x_308; uint8_t x_309; +x_308 = lean_box(0); +x_309 = lean_unbox(x_308); +x_33 = x_284; +x_34 = x_293; +x_35 = x_287; +x_36 = x_307; +x_37 = x_309; +goto block_40; +} +else +{ +lean_dec(x_288); +x_33 = x_284; +x_34 = x_293; +x_35 = x_287; +x_36 = x_307; +x_37 = x_293; +goto block_40; +} +} +} +block_359: +{ +lean_object* x_314; lean_object* x_315; uint8_t x_316; +x_314 = lean_unsigned_to_nat(3u); +x_315 = l_Lean_Syntax_getArg(x_14, x_314); +x_316 = l_Lean_Syntax_isNone(x_315); +if (x_316 == 0) +{ +uint8_t x_317; +lean_inc(x_315); +x_317 = l_Lean_Syntax_matchesNull(x_315, x_5); +if (x_317 == 0) +{ +lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; uint8_t x_322; +lean_dec(x_313); +lean_dec(x_312); +x_318 = lean_unsigned_to_nat(4u); +x_319 = l_Lean_Syntax_getArg(x_14, x_318); +x_320 = lean_unsigned_to_nat(5u); +x_321 = l_Lean_Syntax_getArg(x_14, x_320); +lean_dec(x_14); +x_322 = l_Lean_Syntax_isNone(x_283); +if (x_322 == 0) +{ +uint8_t x_323; +lean_inc(x_283); +x_323 = l_Lean_Syntax_matchesNull(x_283, x_5); +if (x_323 == 0) +{ +lean_object* x_324; lean_object* x_325; +lean_dec(x_321); +lean_dec(x_319); +lean_dec(x_315); +lean_dec(x_311); +lean_dec(x_283); +x_324 = lean_box(0); +lean_inc(x_6); +x_325 = lean_apply_1(x_6, x_324); +x_17 = x_325; +goto block_22; +} +else +{ +lean_object* x_326; lean_object* x_327; lean_object* x_328; uint8_t x_329; +x_326 = l_Lean_Syntax_getArg(x_283, x_4); +lean_dec(x_283); +x_327 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_328 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_327); +lean_inc(x_326); +x_329 = l_Lean_Syntax_isOfKind(x_326, x_328); +lean_dec(x_328); +if (x_329 == 0) +{ +lean_object* x_330; lean_object* x_331; +lean_dec(x_326); +lean_dec(x_321); +lean_dec(x_319); +lean_dec(x_315); +lean_dec(x_311); +x_330 = lean_box(0); +lean_inc(x_6); +x_331 = lean_apply_1(x_6, x_330); +x_17 = x_331; +goto block_22; +} +else +{ +lean_object* x_332; lean_object* x_333; +x_332 = l_Lean_Syntax_getArg(x_326, x_4); +lean_dec(x_326); +x_333 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_333, 0, x_332); +x_214 = x_315; +x_215 = x_311; +x_216 = x_317; +x_217 = x_316; +x_218 = x_321; +x_219 = x_319; +x_220 = x_333; +goto block_234; +} +} +} +else +{ +lean_object* x_334; +lean_dec(x_283); +x_334 = lean_box(0); +x_214 = x_315; +x_215 = x_311; +x_216 = x_317; +x_217 = x_316; +x_218 = x_321; +x_219 = x_319; +x_220 = x_334; +goto block_234; +} +} +else +{ +lean_object* x_335; lean_object* x_336; lean_object* x_337; uint8_t x_338; +x_335 = l_Lean_Syntax_getArg(x_315, x_4); +x_336 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_337 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_336); +lean_inc(x_335); +x_338 = l_Lean_Syntax_isOfKind(x_335, x_337); +lean_dec(x_337); +if (x_338 == 0) +{ +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; +lean_dec(x_315); +lean_dec(x_313); +lean_dec(x_312); +x_339 = lean_unsigned_to_nat(4u); +x_340 = l_Lean_Syntax_getArg(x_14, x_339); +x_341 = lean_unsigned_to_nat(5u); +x_342 = l_Lean_Syntax_getArg(x_14, x_341); +lean_dec(x_14); +x_343 = l_Lean_Syntax_isNone(x_283); +if (x_343 == 0) +{ +uint8_t x_344; +lean_inc(x_283); +x_344 = l_Lean_Syntax_matchesNull(x_283, x_5); +if (x_344 == 0) +{ +lean_object* x_345; lean_object* x_346; +lean_dec(x_342); +lean_dec(x_340); +lean_dec(x_335); +lean_dec(x_311); +lean_dec(x_283); +x_345 = lean_box(0); +lean_inc(x_6); +x_346 = lean_apply_1(x_6, x_345); +x_17 = x_346; +goto block_22; +} +else +{ +lean_object* x_347; lean_object* x_348; lean_object* x_349; uint8_t x_350; +x_347 = l_Lean_Syntax_getArg(x_283, x_4); +lean_dec(x_283); +x_348 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_349 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_348); +lean_inc(x_347); +x_350 = l_Lean_Syntax_isOfKind(x_347, x_349); +lean_dec(x_349); +if (x_350 == 0) +{ +lean_object* x_351; lean_object* x_352; +lean_dec(x_347); +lean_dec(x_342); +lean_dec(x_340); +lean_dec(x_335); +lean_dec(x_311); +x_351 = lean_box(0); +lean_inc(x_6); +x_352 = lean_apply_1(x_6, x_351); +x_17 = x_352; +goto block_22; +} +else +{ +lean_object* x_353; lean_object* x_354; +x_353 = l_Lean_Syntax_getArg(x_347, x_4); +lean_dec(x_347); +x_354 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_354, 0, x_353); +x_163 = x_311; +x_164 = x_317; +x_165 = x_316; +x_166 = x_340; +x_167 = x_342; +x_168 = x_335; +x_169 = x_338; +x_170 = x_354; +goto block_184; +} +} +} +else +{ +lean_object* x_355; +lean_dec(x_283); +x_355 = lean_box(0); +x_163 = x_311; +x_164 = x_317; +x_165 = x_316; +x_166 = x_340; +x_167 = x_342; +x_168 = x_335; +x_169 = x_338; +x_170 = x_355; +goto block_184; +} +} +else +{ +lean_object* x_356; lean_object* x_357; +x_356 = l_Lean_Syntax_getArg(x_335, x_4); +lean_dec(x_335); +x_357 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_357, 0, x_356); +x_284 = x_313; +x_285 = x_315; +x_286 = x_311; +x_287 = x_312; +x_288 = x_357; +goto block_310; +} +} +} +else +{ +lean_object* x_358; +x_358 = lean_box(0); +x_284 = x_313; +x_285 = x_315; +x_286 = x_311; +x_287 = x_312; +x_288 = x_358; +goto block_310; +} +} +block_409: +{ +lean_object* x_361; uint8_t x_362; +x_361 = l_Lean_Syntax_getArg(x_14, x_5); +x_362 = l_Lean_Syntax_isNone(x_361); +if (x_362 == 0) +{ +uint8_t x_363; +lean_inc(x_361); +x_363 = l_Lean_Syntax_matchesNull(x_361, x_5); +if (x_363 == 0) +{ +lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; uint8_t x_370; +lean_dec(x_360); +x_364 = lean_unsigned_to_nat(3u); +x_365 = l_Lean_Syntax_getArg(x_14, x_364); +x_366 = lean_unsigned_to_nat(4u); +x_367 = l_Lean_Syntax_getArg(x_14, x_366); +x_368 = lean_unsigned_to_nat(5u); +x_369 = l_Lean_Syntax_getArg(x_14, x_368); +lean_dec(x_14); +x_370 = l_Lean_Syntax_isNone(x_283); +if (x_370 == 0) +{ +uint8_t x_371; +lean_inc(x_283); +x_371 = l_Lean_Syntax_matchesNull(x_283, x_5); +if (x_371 == 0) +{ +lean_object* x_372; lean_object* x_373; +lean_dec(x_369); +lean_dec(x_367); +lean_dec(x_365); +lean_dec(x_361); +lean_dec(x_283); +x_372 = lean_box(0); +lean_inc(x_6); +x_373 = lean_apply_1(x_6, x_372); +x_17 = x_373; +goto block_22; +} +else +{ +lean_object* x_374; lean_object* x_375; lean_object* x_376; uint8_t x_377; +x_374 = l_Lean_Syntax_getArg(x_283, x_4); +lean_dec(x_283); +x_375 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_376 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_375); +lean_inc(x_374); +x_377 = l_Lean_Syntax_isOfKind(x_374, x_376); +lean_dec(x_376); +if (x_377 == 0) +{ +lean_object* x_378; lean_object* x_379; +lean_dec(x_374); +lean_dec(x_369); +lean_dec(x_367); +lean_dec(x_365); +lean_dec(x_361); +x_378 = lean_box(0); +lean_inc(x_6); +x_379 = lean_apply_1(x_6, x_378); +x_17 = x_379; +goto block_22; +} +else +{ +lean_object* x_380; lean_object* x_381; +x_380 = l_Lean_Syntax_getArg(x_374, x_4); +lean_dec(x_374); +x_381 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_381, 0, x_380); +x_118 = x_361; +x_119 = x_369; +x_120 = x_362; +x_121 = x_367; +x_122 = x_363; +x_123 = x_365; +x_124 = x_381; +goto block_136; +} +} +} +else +{ +lean_object* x_382; +lean_dec(x_283); +x_382 = lean_box(0); +x_118 = x_361; +x_119 = x_369; +x_120 = x_362; +x_121 = x_367; +x_122 = x_363; +x_123 = x_365; +x_124 = x_382; +goto block_136; +} +} +else +{ +lean_object* x_383; lean_object* x_384; lean_object* x_385; uint8_t x_386; +x_383 = l_Lean_Syntax_getArg(x_361, x_4); +x_384 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_385 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_384); +lean_inc(x_383); +x_386 = l_Lean_Syntax_isOfKind(x_383, x_385); +lean_dec(x_385); +if (x_386 == 0) +{ +lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; uint8_t x_393; +lean_dec(x_361); +lean_dec(x_360); +x_387 = lean_unsigned_to_nat(3u); +x_388 = l_Lean_Syntax_getArg(x_14, x_387); +x_389 = lean_unsigned_to_nat(4u); +x_390 = l_Lean_Syntax_getArg(x_14, x_389); +x_391 = lean_unsigned_to_nat(5u); +x_392 = l_Lean_Syntax_getArg(x_14, x_391); +lean_dec(x_14); +x_393 = l_Lean_Syntax_isNone(x_283); +if (x_393 == 0) +{ +uint8_t x_394; +lean_inc(x_283); +x_394 = l_Lean_Syntax_matchesNull(x_283, x_5); +if (x_394 == 0) +{ +lean_object* x_395; lean_object* x_396; +lean_dec(x_392); +lean_dec(x_390); +lean_dec(x_388); +lean_dec(x_383); +lean_dec(x_283); +x_395 = lean_box(0); +lean_inc(x_6); +x_396 = lean_apply_1(x_6, x_395); +x_17 = x_396; +goto block_22; +} +else +{ +lean_object* x_397; lean_object* x_398; lean_object* x_399; uint8_t x_400; +x_397 = l_Lean_Syntax_getArg(x_283, x_4); +lean_dec(x_283); +x_398 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_399 = l_Lean_Name_mkStr4(x_7, x_8, x_9, x_398); +lean_inc(x_397); +x_400 = l_Lean_Syntax_isOfKind(x_397, x_399); +lean_dec(x_399); +if (x_400 == 0) +{ +lean_object* x_401; lean_object* x_402; +lean_dec(x_397); +lean_dec(x_392); +lean_dec(x_390); +lean_dec(x_388); +lean_dec(x_383); +x_401 = lean_box(0); +lean_inc(x_6); +x_402 = lean_apply_1(x_6, x_401); +x_17 = x_402; +goto block_22; +} +else +{ +lean_object* x_403; lean_object* x_404; +x_403 = l_Lean_Syntax_getArg(x_397, x_4); +lean_dec(x_397); +x_404 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_404, 0, x_403); +x_73 = x_362; +x_74 = x_388; +x_75 = x_383; +x_76 = x_386; +x_77 = x_392; +x_78 = x_363; +x_79 = x_390; +x_80 = x_404; +goto block_88; +} +} +} +else +{ +lean_object* x_405; +lean_dec(x_283); +x_405 = lean_box(0); +x_73 = x_362; +x_74 = x_388; +x_75 = x_383; +x_76 = x_386; +x_77 = x_392; +x_78 = x_363; +x_79 = x_390; +x_80 = x_405; +goto block_88; +} +} +else +{ +lean_object* x_406; lean_object* x_407; +x_406 = l_Lean_Syntax_getArg(x_383, x_4); +lean_dec(x_383); +x_407 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_407, 0, x_406); +x_311 = x_361; +x_312 = x_360; +x_313 = x_407; +goto block_359; +} +} +} +else +{ +lean_object* x_408; +x_408 = lean_box(0); +x_311 = x_361; +x_312 = x_360; +x_313 = x_408; +goto block_359; +} +} +} +block_22: +{ +size_t x_18; size_t x_19; lean_object* x_20; +x_18 = 1; +x_19 = lean_usize_add(x_11, x_18); +x_20 = lean_array_uset(x_16, x_11, x_17); +x_11 = x_19; +x_12 = x_20; +goto _start; +} +block_32: { if (lean_obj_tag(x_23) == 0) { -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_27, 0, x_21); -lean_ctor_set_uint8(x_27, sizeof(void*)*1, x_22); -lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 1, x_25); -x_28 = lean_unbox(x_26); -lean_ctor_set_uint8(x_27, sizeof(void*)*1 + 2, x_28); -x_15 = x_27; -goto block_20; -} -else -{ -lean_object* x_29; -lean_dec(x_23); +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_box(0); x_29 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_29, 0, x_21); -lean_ctor_set_uint8(x_29, sizeof(void*)*1, x_22); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 1, x_25); -lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 2, x_24); -x_15 = x_29; -goto block_20; -} -} -block_38: -{ -if (lean_obj_tag(x_33) == 0) -{ -x_21 = x_31; -x_22 = x_35; -x_23 = x_32; -x_24 = x_34; -x_25 = x_34; -goto block_30; +lean_ctor_set(x_29, 0, x_26); +lean_ctor_set_uint8(x_29, sizeof(void*)*1, x_25); +lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 1, x_27); +x_30 = lean_unbox(x_28); +lean_ctor_set_uint8(x_29, sizeof(void*)*1 + 2, x_30); +x_17 = x_29; +goto block_22; } else { -lean_object* x_36; uint8_t x_37; -lean_dec(x_33); -x_36 = lean_box(0); -x_37 = lean_unbox(x_36); -x_21 = x_31; -x_22 = x_35; -x_23 = x_32; +lean_object* x_31; +lean_dec(x_23); +x_31 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_31, 0, x_26); +lean_ctor_set_uint8(x_31, sizeof(void*)*1, x_25); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 1, x_27); +lean_ctor_set_uint8(x_31, sizeof(void*)*1 + 2, x_24); +x_17 = x_31; +goto block_22; +} +} +block_40: +{ +if (lean_obj_tag(x_35) == 0) +{ +x_23 = x_33; x_24 = x_34; x_25 = x_37; -goto block_30; -} -} -block_52: -{ -lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_42 = lean_unsigned_to_nat(5u); -x_43 = l_Lean_Syntax_getArg(x_12, x_42); -x_44 = l_Lean_Syntax_matchesNull(x_43, x_1); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; -lean_dec(x_41); -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_12); -x_45 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_46 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_45); -x_15 = x_46; -goto block_20; +x_26 = x_36; +x_27 = x_34; +goto block_32; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_unsigned_to_nat(4u); -x_48 = l_Lean_Syntax_getArg(x_12, x_47); -lean_dec(x_12); -x_49 = l_Lean_Syntax_getId(x_48); +lean_object* x_38; uint8_t x_39; +lean_dec(x_35); +x_38 = lean_box(0); +x_39 = lean_unbox(x_38); +x_23 = x_33; +x_24 = x_34; +x_25 = x_37; +x_26 = x_36; +x_27 = x_39; +goto block_32; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, size_t x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_10, x_11, x_12, x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, size_t x_11, size_t x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_12, x_11); +if (x_14 == 0) +{ +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; uint8_t x_28; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_42; +x_15 = lean_array_uget(x_13, x_12); +x_16 = lean_box(0); +x_17 = lean_array_uset(x_13, x_12, x_16); +lean_inc(x_15); +x_42 = l_Lean_Syntax_isOfKind(x_15, x_1); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_15); +x_43 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; +x_44 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(x_43); +x_18 = x_44; +goto block_23; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; uint8_t x_80; lean_object* x_81; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_148; uint8_t x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; uint8_t x_154; lean_object* x_155; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; uint8_t x_169; uint8_t x_170; lean_object* x_171; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_196; lean_object* x_197; lean_object* x_198; uint8_t x_199; lean_object* x_200; uint8_t x_201; lean_object* x_202; lean_object* x_215; lean_object* x_216; lean_object* x_217; uint8_t x_218; lean_object* x_219; uint8_t x_220; lean_object* x_221; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_361; uint8_t x_411; +x_284 = l_Lean_Syntax_getArg(x_15, x_4); +x_411 = l_Lean_Syntax_isNone(x_284); +if (x_411 == 0) +{ +uint8_t x_412; +lean_inc(x_284); +x_412 = l_Lean_Syntax_matchesNull(x_284, x_5); +if (x_412 == 0) +{ +lean_object* x_413; lean_object* x_414; +lean_dec(x_284); +lean_dec(x_15); +x_413 = lean_box(0); +lean_inc(x_6); +x_414 = lean_apply_1(x_6, x_413); +x_18 = x_414; +goto block_23; +} +else +{ +lean_object* x_415; lean_object* x_416; lean_object* x_417; uint8_t x_418; +x_415 = l_Lean_Syntax_getArg(x_284, x_4); +x_416 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__7; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_417 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_416); +lean_inc(x_415); +x_418 = l_Lean_Syntax_isOfKind(x_415, x_417); +lean_dec(x_417); +if (x_418 == 0) +{ +lean_object* x_419; lean_object* x_420; uint8_t x_421; +lean_dec(x_284); +x_419 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_420 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_419); +lean_inc(x_415); +x_421 = l_Lean_Syntax_isOfKind(x_415, x_420); +lean_dec(x_420); +if (x_421 == 0) +{ +lean_object* x_422; lean_object* x_423; +lean_dec(x_415); +lean_dec(x_15); +x_422 = lean_box(0); +lean_inc(x_6); +x_423 = lean_apply_1(x_6, x_422); +x_18 = x_423; +goto block_23; +} +else +{ +lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_437; lean_object* x_454; uint8_t x_455; +x_424 = l_Lean_Syntax_getArg(x_415, x_4); +lean_dec(x_415); +x_425 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_425, 0, x_424); +x_454 = l_Lean_Syntax_getArg(x_15, x_5); +x_455 = l_Lean_Syntax_isNone(x_454); +if (x_455 == 0) +{ +uint8_t x_456; +lean_inc(x_454); +x_456 = l_Lean_Syntax_matchesNull(x_454, x_5); +if (x_456 == 0) +{ +lean_object* x_457; lean_object* x_458; +lean_dec(x_454); +lean_dec(x_425); +lean_dec(x_15); +x_457 = lean_box(0); +lean_inc(x_6); +x_458 = lean_apply_1(x_6, x_457); +x_18 = x_458; +goto block_23; +} +else +{ +lean_object* x_459; lean_object* x_460; lean_object* x_461; uint8_t x_462; +x_459 = l_Lean_Syntax_getArg(x_454, x_4); +lean_dec(x_454); +x_460 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_461 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_460); +lean_inc(x_459); +x_462 = l_Lean_Syntax_isOfKind(x_459, x_461); +lean_dec(x_461); +if (x_462 == 0) +{ +lean_object* x_463; lean_object* x_464; +lean_dec(x_459); +lean_dec(x_425); +lean_dec(x_15); +x_463 = lean_box(0); +lean_inc(x_6); +x_464 = lean_apply_1(x_6, x_463); +x_18 = x_464; +goto block_23; +} +else +{ +lean_object* x_465; lean_object* x_466; +x_465 = l_Lean_Syntax_getArg(x_459, x_4); +lean_dec(x_459); +x_466 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_466, 0, x_465); +x_437 = x_466; +goto block_453; +} +} +} +else +{ +lean_object* x_467; +lean_dec(x_454); +x_467 = lean_box(0); +x_437 = x_467; +goto block_453; +} +block_436: +{ +lean_object* x_428; lean_object* x_429; uint8_t x_430; +x_428 = lean_unsigned_to_nat(5u); +x_429 = l_Lean_Syntax_getArg(x_15, x_428); +x_430 = l_Lean_Syntax_matchesNull(x_429, x_4); +if (x_430 == 0) +{ +lean_object* x_431; lean_object* x_432; +lean_dec(x_427); +lean_dec(x_426); +lean_dec(x_425); +lean_dec(x_15); +x_431 = lean_box(0); +lean_inc(x_6); +x_432 = lean_apply_1(x_6, x_431); +x_18 = x_432; +goto block_23; +} +else +{ +lean_object* x_433; lean_object* x_434; lean_object* x_435; +x_433 = lean_unsigned_to_nat(4u); +x_434 = l_Lean_Syntax_getArg(x_15, x_433); +lean_dec(x_15); +x_435 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_42, x_2, x_3, x_425, x_426, x_427, x_434); +lean_dec(x_434); +lean_dec(x_427); +lean_dec(x_426); +lean_dec(x_425); +x_18 = x_435; +goto block_23; +} +} +block_453: +{ +lean_object* x_438; lean_object* x_439; uint8_t x_440; +x_438 = lean_unsigned_to_nat(3u); +x_439 = l_Lean_Syntax_getArg(x_15, x_438); +x_440 = l_Lean_Syntax_isNone(x_439); +if (x_440 == 0) +{ +uint8_t x_441; +lean_inc(x_439); +x_441 = l_Lean_Syntax_matchesNull(x_439, x_5); +if (x_441 == 0) +{ +lean_object* x_442; lean_object* x_443; +lean_dec(x_439); +lean_dec(x_437); +lean_dec(x_425); +lean_dec(x_15); +x_442 = lean_box(0); +lean_inc(x_6); +x_443 = lean_apply_1(x_6, x_442); +x_18 = x_443; +goto block_23; +} +else +{ +lean_object* x_444; lean_object* x_445; lean_object* x_446; uint8_t x_447; +x_444 = l_Lean_Syntax_getArg(x_439, x_4); +lean_dec(x_439); +x_445 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_446 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_445); +lean_inc(x_444); +x_447 = l_Lean_Syntax_isOfKind(x_444, x_446); +lean_dec(x_446); +if (x_447 == 0) +{ +lean_object* x_448; lean_object* x_449; +lean_dec(x_444); +lean_dec(x_437); +lean_dec(x_425); +lean_dec(x_15); +x_448 = lean_box(0); +lean_inc(x_6); +x_449 = lean_apply_1(x_6, x_448); +x_18 = x_449; +goto block_23; +} +else +{ +lean_object* x_450; lean_object* x_451; +x_450 = l_Lean_Syntax_getArg(x_444, x_4); +lean_dec(x_444); +x_451 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_451, 0, x_450); +x_426 = x_437; +x_427 = x_451; +goto block_436; +} +} +} +else +{ +lean_object* x_452; +lean_dec(x_439); +x_452 = lean_box(0); +x_426 = x_437; +x_427 = x_452; +goto block_436; +} +} +} +} +else +{ +lean_object* x_468; lean_object* x_469; +x_468 = l_Lean_Syntax_getArg(x_415, x_4); +lean_dec(x_415); +x_469 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_469, 0, x_468); +x_361 = x_469; +goto block_410; +} +} +} +else +{ +lean_object* x_470; +x_470 = lean_box(0); +x_361 = x_470; +goto block_410; +} +block_54: +{ +uint8_t x_50; +x_50 = l_Lean_Syntax_matchesNull(x_47, x_4); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +lean_dec(x_49); lean_dec(x_48); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_50; uint8_t x_51; -x_50 = lean_box(0); -x_51 = lean_unbox(x_50); -x_31 = x_49; -x_32 = x_39; -x_33 = x_40; -x_34 = x_44; -x_35 = x_51; -goto block_38; -} -else -{ -lean_dec(x_41); -x_31 = x_49; -x_32 = x_39; -x_33 = x_40; -x_34 = x_44; -x_35 = x_44; -goto block_38; -} -} -} -block_70: -{ -lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_55 = lean_unsigned_to_nat(3u); -x_56 = l_Lean_Syntax_getArg(x_12, x_55); -x_57 = l_Lean_Syntax_isNone(x_56); -if (x_57 == 0) -{ -uint8_t x_58; -lean_inc(x_56); -x_58 = l_Lean_Syntax_matchesNull(x_56, x_3); -if (x_58 == 0) -{ -lean_object* x_59; lean_object* x_60; -lean_dec(x_56); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_12); -x_59 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_60 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_59); -x_15 = x_60; -goto block_20; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_61 = l_Lean_Syntax_getArg(x_56, x_1); -lean_dec(x_56); -x_62 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_dec(x_46); +lean_dec(x_45); +x_51 = lean_box(0); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_63 = l_Lean_Name_mkStr4(x_4, x_5, x_6, x_62); -lean_inc(x_61); -x_64 = l_Lean_Syntax_isOfKind(x_61, x_63); -lean_dec(x_63); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; -lean_dec(x_61); -lean_dec(x_54); -lean_dec(x_53); -lean_dec(x_12); -x_65 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_66 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_65); -x_15 = x_66; -goto block_20; +x_52 = lean_apply_1(x_6, x_51); +x_18 = x_52; +goto block_23; } else { -lean_object* x_67; lean_object* x_68; -x_67 = l_Lean_Syntax_getArg(x_61, x_1); -lean_dec(x_61); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_67); -x_39 = x_54; -x_40 = x_53; -x_41 = x_68; -goto block_52; +lean_object* x_53; +x_53 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_42, x_2, x_3, x_45, x_48, x_49, x_46); +lean_dec(x_46); +lean_dec(x_49); +lean_dec(x_48); +lean_dec(x_45); +x_18 = x_53; +goto block_23; } } -} -else +block_73: { -lean_object* x_69; +uint8_t x_60; +x_60 = l_Lean_Syntax_isNone(x_57); +if (x_60 == 0) +{ +uint8_t x_61; +lean_inc(x_57); +x_61 = l_Lean_Syntax_matchesNull(x_57, x_5); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; +lean_dec(x_59); +lean_dec(x_58); +lean_dec(x_57); lean_dec(x_56); -x_69 = lean_box(0); -x_39 = x_54; -x_40 = x_53; -x_41 = x_69; -goto block_52; -} -} -block_86: -{ -lean_object* x_72; uint8_t x_73; -x_72 = l_Lean_Syntax_getArg(x_12, x_3); -x_73 = l_Lean_Syntax_isNone(x_72); -if (x_73 == 0) -{ -uint8_t x_74; -lean_inc(x_72); -x_74 = l_Lean_Syntax_matchesNull(x_72, x_3); -if (x_74 == 0) -{ -lean_object* x_75; lean_object* x_76; -lean_dec(x_72); -lean_dec(x_71); -lean_dec(x_12); -x_75 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_76 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_75); -x_15 = x_76; -goto block_20; +lean_dec(x_55); +x_62 = lean_box(0); +lean_inc(x_6); +x_63 = lean_apply_1(x_6, x_62); +x_18 = x_63; +goto block_23; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_77 = l_Lean_Syntax_getArg(x_72, x_1); -lean_dec(x_72); -x_78 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_64 = l_Lean_Syntax_getArg(x_57, x_4); +lean_dec(x_57); +x_65 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_66 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_65); +lean_inc(x_64); +x_67 = l_Lean_Syntax_isOfKind(x_64, x_66); +lean_dec(x_66); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; +lean_dec(x_64); +lean_dec(x_59); +lean_dec(x_58); +lean_dec(x_56); +lean_dec(x_55); +x_68 = lean_box(0); lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_79 = l_Lean_Name_mkStr4(x_4, x_5, x_6, x_78); -lean_inc(x_77); -x_80 = l_Lean_Syntax_isOfKind(x_77, x_79); -lean_dec(x_79); +x_69 = lean_apply_1(x_6, x_68); +x_18 = x_69; +goto block_23; +} +else +{ +lean_object* x_70; lean_object* x_71; +x_70 = l_Lean_Syntax_getArg(x_64, x_4); +lean_dec(x_64); +x_71 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_71, 0, x_70); +x_45 = x_55; +x_46 = x_56; +x_47 = x_58; +x_48 = x_59; +x_49 = x_71; +goto block_54; +} +} +} +else +{ +lean_object* x_72; +lean_dec(x_57); +x_72 = lean_box(0); +x_45 = x_55; +x_46 = x_56; +x_47 = x_58; +x_48 = x_59; +x_49 = x_72; +goto block_54; +} +} +block_89: +{ if (x_80 == 0) { -lean_object* x_81; lean_object* x_82; +if (x_74 == 0) +{ +lean_object* x_82; lean_object* x_83; +lean_dec(x_81); +lean_dec(x_78); lean_dec(x_77); -lean_dec(x_71); -lean_dec(x_12); -x_81 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; -x_82 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_81); -x_15 = x_82; -goto block_20; +lean_dec(x_76); +lean_dec(x_75); +x_82 = lean_box(0); +lean_inc(x_6); +x_83 = lean_apply_1(x_6, x_82); +x_18 = x_83; +goto block_23; } else { -lean_object* x_83; lean_object* x_84; -x_83 = l_Lean_Syntax_getArg(x_77, x_1); +if (x_79 == 0) +{ +lean_object* x_84; lean_object* x_85; +lean_dec(x_81); +lean_dec(x_78); lean_dec(x_77); -x_84 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_84, 0, x_83); -x_53 = x_71; -x_54 = x_84; -goto block_70; +lean_dec(x_76); +lean_dec(x_75); +x_84 = lean_box(0); +lean_inc(x_6); +x_85 = lean_apply_1(x_6, x_84); +x_18 = x_85; +goto block_23; +} +else +{ +lean_object* x_86; lean_object* x_87; +x_86 = l_Lean_Syntax_getArg(x_76, x_4); +lean_dec(x_76); +x_87 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_87, 0, x_86); +x_55 = x_81; +x_56 = x_75; +x_57 = x_78; +x_58 = x_77; +x_59 = x_87; +goto block_73; } } } else { -lean_object* x_85; -lean_dec(x_72); -x_85 = lean_box(0); -x_53 = x_71; -x_54 = x_85; -goto block_70; +lean_object* x_88; +lean_dec(x_76); +x_88 = lean_box(0); +x_55 = x_81; +x_56 = x_75; +x_57 = x_78; +x_58 = x_77; +x_59 = x_88; +goto block_73; +} +} +block_99: +{ +uint8_t x_95; +x_95 = l_Lean_Syntax_matchesNull(x_92, x_4); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; +lean_dec(x_94); +lean_dec(x_93); +lean_dec(x_91); +lean_dec(x_90); +x_96 = lean_box(0); +lean_inc(x_6); +x_97 = lean_apply_1(x_6, x_96); +x_18 = x_97; +goto block_23; +} +else +{ +lean_object* x_98; +x_98 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_42, x_2, x_3, x_91, x_93, x_94, x_90); +lean_dec(x_90); +lean_dec(x_94); +lean_dec(x_93); +lean_dec(x_91); +x_18 = x_98; +goto block_23; +} +} +block_118: +{ +uint8_t x_105; +x_105 = l_Lean_Syntax_isNone(x_100); +if (x_105 == 0) +{ +uint8_t x_106; +lean_inc(x_100); +x_106 = l_Lean_Syntax_matchesNull(x_100, x_5); +if (x_106 == 0) +{ +lean_object* x_107; lean_object* x_108; +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +lean_dec(x_100); +x_107 = lean_box(0); +lean_inc(x_6); +x_108 = lean_apply_1(x_6, x_107); +x_18 = x_108; +goto block_23; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; +x_109 = l_Lean_Syntax_getArg(x_100, x_4); +lean_dec(x_100); +x_110 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_111 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_110); +lean_inc(x_109); +x_112 = l_Lean_Syntax_isOfKind(x_109, x_111); +lean_dec(x_111); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; +lean_dec(x_109); +lean_dec(x_104); +lean_dec(x_103); +lean_dec(x_102); +lean_dec(x_101); +x_113 = lean_box(0); +lean_inc(x_6); +x_114 = lean_apply_1(x_6, x_113); +x_18 = x_114; +goto block_23; +} +else +{ +lean_object* x_115; lean_object* x_116; +x_115 = l_Lean_Syntax_getArg(x_109, x_4); +lean_dec(x_109); +x_116 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_116, 0, x_115); +x_90 = x_101; +x_91 = x_102; +x_92 = x_103; +x_93 = x_104; +x_94 = x_116; +goto block_99; } } } +else +{ +lean_object* x_117; +lean_dec(x_100); +x_117 = lean_box(0); +x_90 = x_101; +x_91 = x_102; +x_92 = x_103; +x_93 = x_104; +x_94 = x_117; +goto block_99; +} +} +block_137: +{ +if (x_124 == 0) +{ +if (x_119 == 0) +{ +lean_object* x_126; lean_object* x_127; +lean_dec(x_125); +lean_dec(x_123); +lean_dec(x_122); +lean_dec(x_121); +lean_dec(x_120); +x_126 = lean_box(0); +lean_inc(x_6); +x_127 = lean_apply_1(x_6, x_126); +x_18 = x_127; +goto block_23; +} +else +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; +x_128 = l_Lean_Syntax_getArg(x_121, x_4); +lean_dec(x_121); +x_129 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_130 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_129); +lean_inc(x_128); +x_131 = l_Lean_Syntax_isOfKind(x_128, x_130); +lean_dec(x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; +lean_dec(x_128); +lean_dec(x_125); +lean_dec(x_123); +lean_dec(x_122); +lean_dec(x_120); +x_132 = lean_box(0); +lean_inc(x_6); +x_133 = lean_apply_1(x_6, x_132); +x_18 = x_133; +goto block_23; +} +else +{ +lean_object* x_134; lean_object* x_135; +x_134 = l_Lean_Syntax_getArg(x_128, x_4); +lean_dec(x_128); +x_135 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_135, 0, x_134); +x_100 = x_120; +x_101 = x_122; +x_102 = x_125; +x_103 = x_123; +x_104 = x_135; +goto block_118; +} +} +} +else +{ +lean_object* x_136; +lean_dec(x_121); +x_136 = lean_box(0); +x_100 = x_120; +x_101 = x_122; +x_102 = x_125; +x_103 = x_123; +x_104 = x_136; +goto block_118; +} +} +block_147: +{ +uint8_t x_143; +x_143 = l_Lean_Syntax_matchesNull(x_141, x_4); +if (x_143 == 0) +{ +lean_object* x_144; lean_object* x_145; +lean_dec(x_142); +lean_dec(x_140); +lean_dec(x_139); +lean_dec(x_138); +x_144 = lean_box(0); +lean_inc(x_6); +x_145 = lean_apply_1(x_6, x_144); +x_18 = x_145; +goto block_23; +} +else +{ +lean_object* x_146; +x_146 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_42, x_2, x_3, x_139, x_138, x_142, x_140); +lean_dec(x_140); +lean_dec(x_142); +lean_dec(x_138); +lean_dec(x_139); +x_18 = x_146; +goto block_23; +} +} +block_163: +{ +if (x_153 == 0) +{ +if (x_154 == 0) +{ +lean_object* x_156; lean_object* x_157; +lean_dec(x_155); +lean_dec(x_152); +lean_dec(x_151); +lean_dec(x_150); +lean_dec(x_148); +x_156 = lean_box(0); +lean_inc(x_6); +x_157 = lean_apply_1(x_6, x_156); +x_18 = x_157; +goto block_23; +} +else +{ +if (x_149 == 0) +{ +lean_object* x_158; lean_object* x_159; +lean_dec(x_155); +lean_dec(x_152); +lean_dec(x_151); +lean_dec(x_150); +lean_dec(x_148); +x_158 = lean_box(0); +lean_inc(x_6); +x_159 = lean_apply_1(x_6, x_158); +x_18 = x_159; +goto block_23; +} +else +{ +lean_object* x_160; lean_object* x_161; +x_160 = l_Lean_Syntax_getArg(x_148, x_4); +lean_dec(x_148); +x_161 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_161, 0, x_160); +x_138 = x_155; +x_139 = x_150; +x_140 = x_152; +x_141 = x_151; +x_142 = x_161; +goto block_147; +} +} +} +else +{ +lean_object* x_162; +lean_dec(x_148); +x_162 = lean_box(0); +x_138 = x_155; +x_139 = x_150; +x_140 = x_152; +x_141 = x_151; +x_142 = x_162; +goto block_147; +} +} +block_185: +{ +uint8_t x_172; +x_172 = l_Lean_Syntax_isNone(x_166); +if (x_172 == 0) +{ +uint8_t x_173; +lean_inc(x_166); +x_173 = l_Lean_Syntax_matchesNull(x_166, x_5); +if (x_173 == 0) +{ +lean_object* x_174; lean_object* x_175; +lean_dec(x_171); +lean_dec(x_168); +lean_dec(x_167); +lean_dec(x_166); +lean_dec(x_165); +x_174 = lean_box(0); +lean_inc(x_6); +x_175 = lean_apply_1(x_6, x_174); +x_18 = x_175; +goto block_23; +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +x_176 = l_Lean_Syntax_getArg(x_166, x_4); +lean_dec(x_166); +x_177 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_178 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_177); +lean_inc(x_176); +x_179 = l_Lean_Syntax_isOfKind(x_176, x_178); +lean_dec(x_178); +if (x_179 == 0) +{ +lean_object* x_180; lean_object* x_181; +lean_dec(x_176); +lean_dec(x_171); +lean_dec(x_168); +lean_dec(x_167); +lean_dec(x_165); +x_180 = lean_box(0); +lean_inc(x_6); +x_181 = lean_apply_1(x_6, x_180); +x_18 = x_181; +goto block_23; +} +else +{ +lean_object* x_182; lean_object* x_183; +x_182 = l_Lean_Syntax_getArg(x_176, x_4); +lean_dec(x_176); +x_183 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_183, 0, x_182); +x_148 = x_165; +x_149 = x_164; +x_150 = x_171; +x_151 = x_168; +x_152 = x_167; +x_153 = x_169; +x_154 = x_170; +x_155 = x_183; +goto block_163; +} +} +} +else +{ +lean_object* x_184; +lean_dec(x_166); +x_184 = lean_box(0); +x_148 = x_165; +x_149 = x_164; +x_150 = x_171; +x_151 = x_168; +x_152 = x_167; +x_153 = x_169; +x_154 = x_170; +x_155 = x_184; +goto block_163; +} +} +block_195: +{ +uint8_t x_191; +x_191 = l_Lean_Syntax_matchesNull(x_186, x_4); +if (x_191 == 0) +{ +lean_object* x_192; lean_object* x_193; +lean_dec(x_190); +lean_dec(x_189); +lean_dec(x_188); +lean_dec(x_187); +x_192 = lean_box(0); +lean_inc(x_6); +x_193 = lean_apply_1(x_6, x_192); +x_18 = x_193; +goto block_23; +} +else +{ +lean_object* x_194; +x_194 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_42, x_2, x_3, x_187, x_189, x_190, x_188); +lean_dec(x_188); +lean_dec(x_190); +lean_dec(x_189); +lean_dec(x_187); +x_18 = x_194; +goto block_23; +} +} +block_214: +{ +if (x_199 == 0) +{ +if (x_201 == 0) +{ +lean_object* x_203; lean_object* x_204; +lean_dec(x_202); +lean_dec(x_200); +lean_dec(x_198); +lean_dec(x_197); +lean_dec(x_196); +x_203 = lean_box(0); +lean_inc(x_6); +x_204 = lean_apply_1(x_6, x_203); +x_18 = x_204; +goto block_23; +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; uint8_t x_208; +x_205 = l_Lean_Syntax_getArg(x_198, x_4); +lean_dec(x_198); +x_206 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_207 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_206); +lean_inc(x_205); +x_208 = l_Lean_Syntax_isOfKind(x_205, x_207); +lean_dec(x_207); +if (x_208 == 0) +{ +lean_object* x_209; lean_object* x_210; +lean_dec(x_205); +lean_dec(x_202); +lean_dec(x_200); +lean_dec(x_197); +lean_dec(x_196); +x_209 = lean_box(0); +lean_inc(x_6); +x_210 = lean_apply_1(x_6, x_209); +x_18 = x_210; +goto block_23; +} +else +{ +lean_object* x_211; lean_object* x_212; +x_211 = l_Lean_Syntax_getArg(x_205, x_4); +lean_dec(x_205); +x_212 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_212, 0, x_211); +x_186 = x_196; +x_187 = x_197; +x_188 = x_200; +x_189 = x_202; +x_190 = x_212; +goto block_195; +} +} +} +else +{ +lean_object* x_213; +lean_dec(x_198); +x_213 = lean_box(0); +x_186 = x_196; +x_187 = x_197; +x_188 = x_200; +x_189 = x_202; +x_190 = x_213; +goto block_195; +} +} +block_235: +{ +uint8_t x_222; +x_222 = l_Lean_Syntax_isNone(x_215); +if (x_222 == 0) +{ +uint8_t x_223; +lean_inc(x_215); +x_223 = l_Lean_Syntax_matchesNull(x_215, x_5); +if (x_223 == 0) +{ +lean_object* x_224; lean_object* x_225; +lean_dec(x_221); +lean_dec(x_219); +lean_dec(x_217); +lean_dec(x_216); +lean_dec(x_215); +x_224 = lean_box(0); +lean_inc(x_6); +x_225 = lean_apply_1(x_6, x_224); +x_18 = x_225; +goto block_23; +} +else +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; +x_226 = l_Lean_Syntax_getArg(x_215, x_4); +lean_dec(x_215); +x_227 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_228 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_227); +lean_inc(x_226); +x_229 = l_Lean_Syntax_isOfKind(x_226, x_228); +lean_dec(x_228); +if (x_229 == 0) +{ +lean_object* x_230; lean_object* x_231; +lean_dec(x_226); +lean_dec(x_221); +lean_dec(x_219); +lean_dec(x_217); +lean_dec(x_216); +x_230 = lean_box(0); +lean_inc(x_6); +x_231 = lean_apply_1(x_6, x_230); +x_18 = x_231; +goto block_23; +} +else +{ +lean_object* x_232; lean_object* x_233; +x_232 = l_Lean_Syntax_getArg(x_226, x_4); +lean_dec(x_226); +x_233 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_233, 0, x_232); +x_196 = x_216; +x_197 = x_221; +x_198 = x_217; +x_199 = x_218; +x_200 = x_219; +x_201 = x_220; +x_202 = x_233; +goto block_214; +} +} +} +else +{ +lean_object* x_234; +lean_dec(x_215); +x_234 = lean_box(0); +x_196 = x_216; +x_197 = x_221; +x_198 = x_217; +x_199 = x_218; +x_200 = x_219; +x_201 = x_220; +x_202 = x_234; +goto block_214; +} +} +block_245: +{ +uint8_t x_241; +x_241 = l_Lean_Syntax_matchesNull(x_238, x_4); +if (x_241 == 0) +{ +lean_object* x_242; lean_object* x_243; +lean_dec(x_240); +lean_dec(x_239); +lean_dec(x_237); +lean_dec(x_236); +x_242 = lean_box(0); +lean_inc(x_6); +x_243 = lean_apply_1(x_6, x_242); +x_18 = x_243; +goto block_23; +} +else +{ +lean_object* x_244; +x_244 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_42, x_2, x_3, x_239, x_237, x_240, x_236); +lean_dec(x_236); +lean_dec(x_240); +lean_dec(x_237); +lean_dec(x_239); +x_18 = x_244; +goto block_23; +} +} +block_264: +{ +uint8_t x_251; +x_251 = l_Lean_Syntax_isNone(x_248); +if (x_251 == 0) +{ +uint8_t x_252; +lean_inc(x_248); +x_252 = l_Lean_Syntax_matchesNull(x_248, x_5); +if (x_252 == 0) +{ +lean_object* x_253; lean_object* x_254; +lean_dec(x_250); +lean_dec(x_249); +lean_dec(x_248); +lean_dec(x_247); +lean_dec(x_246); +x_253 = lean_box(0); +lean_inc(x_6); +x_254 = lean_apply_1(x_6, x_253); +x_18 = x_254; +goto block_23; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; +x_255 = l_Lean_Syntax_getArg(x_248, x_4); +lean_dec(x_248); +x_256 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_257 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_256); +lean_inc(x_255); +x_258 = l_Lean_Syntax_isOfKind(x_255, x_257); +lean_dec(x_257); +if (x_258 == 0) +{ +lean_object* x_259; lean_object* x_260; +lean_dec(x_255); +lean_dec(x_250); +lean_dec(x_249); +lean_dec(x_247); +lean_dec(x_246); +x_259 = lean_box(0); +lean_inc(x_6); +x_260 = lean_apply_1(x_6, x_259); +x_18 = x_260; +goto block_23; +} +else +{ +lean_object* x_261; lean_object* x_262; +x_261 = l_Lean_Syntax_getArg(x_255, x_4); +lean_dec(x_255); +x_262 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_262, 0, x_261); +x_236 = x_246; +x_237 = x_250; +x_238 = x_247; +x_239 = x_249; +x_240 = x_262; +goto block_245; +} +} +} +else +{ +lean_object* x_263; +lean_dec(x_248); +x_263 = lean_box(0); +x_236 = x_246; +x_237 = x_250; +x_238 = x_247; +x_239 = x_249; +x_240 = x_263; +goto block_245; +} +} +block_283: +{ +uint8_t x_270; +x_270 = l_Lean_Syntax_isNone(x_265); +if (x_270 == 0) +{ +uint8_t x_271; +lean_inc(x_265); +x_271 = l_Lean_Syntax_matchesNull(x_265, x_5); +if (x_271 == 0) +{ +lean_object* x_272; lean_object* x_273; +lean_dec(x_269); +lean_dec(x_268); +lean_dec(x_267); +lean_dec(x_266); +lean_dec(x_265); +x_272 = lean_box(0); +lean_inc(x_6); +x_273 = lean_apply_1(x_6, x_272); +x_18 = x_273; +goto block_23; +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; uint8_t x_277; +x_274 = l_Lean_Syntax_getArg(x_265, x_4); +lean_dec(x_265); +x_275 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_276 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_275); +lean_inc(x_274); +x_277 = l_Lean_Syntax_isOfKind(x_274, x_276); +lean_dec(x_276); +if (x_277 == 0) +{ +lean_object* x_278; lean_object* x_279; +lean_dec(x_274); +lean_dec(x_269); +lean_dec(x_268); +lean_dec(x_267); +lean_dec(x_266); +x_278 = lean_box(0); +lean_inc(x_6); +x_279 = lean_apply_1(x_6, x_278); +x_18 = x_279; +goto block_23; +} +else +{ +lean_object* x_280; lean_object* x_281; +x_280 = l_Lean_Syntax_getArg(x_274, x_4); +lean_dec(x_274); +x_281 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_281, 0, x_280); +x_246 = x_266; +x_247 = x_267; +x_248 = x_268; +x_249 = x_269; +x_250 = x_281; +goto block_264; +} +} +} +else +{ +lean_object* x_282; +lean_dec(x_265); +x_282 = lean_box(0); +x_246 = x_266; +x_247 = x_267; +x_248 = x_268; +x_249 = x_269; +x_250 = x_282; +goto block_264; +} +} +block_311: +{ +lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; uint8_t x_294; +x_290 = lean_unsigned_to_nat(4u); +x_291 = l_Lean_Syntax_getArg(x_15, x_290); +x_292 = lean_unsigned_to_nat(5u); +x_293 = l_Lean_Syntax_getArg(x_15, x_292); +lean_dec(x_15); +lean_inc(x_293); +x_294 = l_Lean_Syntax_matchesNull(x_293, x_4); +if (x_294 == 0) +{ +uint8_t x_295; +lean_dec(x_289); +lean_dec(x_287); +lean_dec(x_286); +x_295 = l_Lean_Syntax_isNone(x_284); +if (x_295 == 0) +{ +uint8_t x_296; +lean_inc(x_284); +x_296 = l_Lean_Syntax_matchesNull(x_284, x_5); +if (x_296 == 0) +{ +lean_object* x_297; lean_object* x_298; +lean_dec(x_293); +lean_dec(x_291); +lean_dec(x_288); +lean_dec(x_285); +lean_dec(x_284); +x_297 = lean_box(0); +lean_inc(x_6); +x_298 = lean_apply_1(x_6, x_297); +x_18 = x_298; +goto block_23; +} +else +{ +lean_object* x_299; lean_object* x_300; lean_object* x_301; uint8_t x_302; +x_299 = l_Lean_Syntax_getArg(x_284, x_4); +lean_dec(x_284); +x_300 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_301 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_300); +lean_inc(x_299); +x_302 = l_Lean_Syntax_isOfKind(x_299, x_301); +lean_dec(x_301); +if (x_302 == 0) +{ +lean_object* x_303; lean_object* x_304; +lean_dec(x_299); +lean_dec(x_293); +lean_dec(x_291); +lean_dec(x_288); +lean_dec(x_285); +x_303 = lean_box(0); +lean_inc(x_6); +x_304 = lean_apply_1(x_6, x_303); +x_18 = x_304; +goto block_23; +} +else +{ +lean_object* x_305; lean_object* x_306; +x_305 = l_Lean_Syntax_getArg(x_299, x_4); +lean_dec(x_299); +x_306 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_306, 0, x_305); +x_265 = x_285; +x_266 = x_291; +x_267 = x_293; +x_268 = x_288; +x_269 = x_306; +goto block_283; +} +} +} +else +{ +lean_object* x_307; +lean_dec(x_284); +x_307 = lean_box(0); +x_265 = x_285; +x_266 = x_291; +x_267 = x_293; +x_268 = x_288; +x_269 = x_307; +goto block_283; +} +} +else +{ +lean_object* x_308; +lean_dec(x_293); +lean_dec(x_288); +lean_dec(x_285); +lean_dec(x_284); +x_308 = l_Lean_Syntax_getId(x_291); +lean_dec(x_291); +if (lean_obj_tag(x_289) == 0) +{ +lean_object* x_309; uint8_t x_310; +x_309 = lean_box(0); +x_310 = lean_unbox(x_309); +x_34 = x_308; +x_35 = x_294; +x_36 = x_286; +x_37 = x_287; +x_38 = x_310; +goto block_41; +} +else +{ +lean_dec(x_289); +x_34 = x_308; +x_35 = x_294; +x_36 = x_286; +x_37 = x_287; +x_38 = x_294; +goto block_41; +} +} +} +block_360: +{ +lean_object* x_315; lean_object* x_316; uint8_t x_317; +x_315 = lean_unsigned_to_nat(3u); +x_316 = l_Lean_Syntax_getArg(x_15, x_315); +x_317 = l_Lean_Syntax_isNone(x_316); +if (x_317 == 0) +{ +uint8_t x_318; +lean_inc(x_316); +x_318 = l_Lean_Syntax_matchesNull(x_316, x_5); +if (x_318 == 0) +{ +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; +lean_dec(x_314); +lean_dec(x_313); +x_319 = lean_unsigned_to_nat(4u); +x_320 = l_Lean_Syntax_getArg(x_15, x_319); +x_321 = lean_unsigned_to_nat(5u); +x_322 = l_Lean_Syntax_getArg(x_15, x_321); +lean_dec(x_15); +x_323 = l_Lean_Syntax_isNone(x_284); +if (x_323 == 0) +{ +uint8_t x_324; +lean_inc(x_284); +x_324 = l_Lean_Syntax_matchesNull(x_284, x_5); +if (x_324 == 0) +{ +lean_object* x_325; lean_object* x_326; +lean_dec(x_322); +lean_dec(x_320); +lean_dec(x_316); +lean_dec(x_312); +lean_dec(x_284); +x_325 = lean_box(0); +lean_inc(x_6); +x_326 = lean_apply_1(x_6, x_325); +x_18 = x_326; +goto block_23; +} +else +{ +lean_object* x_327; lean_object* x_328; lean_object* x_329; uint8_t x_330; +x_327 = l_Lean_Syntax_getArg(x_284, x_4); +lean_dec(x_284); +x_328 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_329 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_328); +lean_inc(x_327); +x_330 = l_Lean_Syntax_isOfKind(x_327, x_329); +lean_dec(x_329); +if (x_330 == 0) +{ +lean_object* x_331; lean_object* x_332; +lean_dec(x_327); +lean_dec(x_322); +lean_dec(x_320); +lean_dec(x_316); +lean_dec(x_312); +x_331 = lean_box(0); +lean_inc(x_6); +x_332 = lean_apply_1(x_6, x_331); +x_18 = x_332; +goto block_23; +} +else +{ +lean_object* x_333; lean_object* x_334; +x_333 = l_Lean_Syntax_getArg(x_327, x_4); +lean_dec(x_327); +x_334 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_334, 0, x_333); +x_215 = x_312; +x_216 = x_322; +x_217 = x_316; +x_218 = x_317; +x_219 = x_320; +x_220 = x_318; +x_221 = x_334; +goto block_235; +} +} +} +else +{ +lean_object* x_335; +lean_dec(x_284); +x_335 = lean_box(0); +x_215 = x_312; +x_216 = x_322; +x_217 = x_316; +x_218 = x_317; +x_219 = x_320; +x_220 = x_318; +x_221 = x_335; +goto block_235; +} +} +else +{ +lean_object* x_336; lean_object* x_337; lean_object* x_338; uint8_t x_339; +x_336 = l_Lean_Syntax_getArg(x_316, x_4); +x_337 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__4; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_338 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_337); +lean_inc(x_336); +x_339 = l_Lean_Syntax_isOfKind(x_336, x_338); +lean_dec(x_338); +if (x_339 == 0) +{ +lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; uint8_t x_344; +lean_dec(x_316); +lean_dec(x_314); +lean_dec(x_313); +x_340 = lean_unsigned_to_nat(4u); +x_341 = l_Lean_Syntax_getArg(x_15, x_340); +x_342 = lean_unsigned_to_nat(5u); +x_343 = l_Lean_Syntax_getArg(x_15, x_342); +lean_dec(x_15); +x_344 = l_Lean_Syntax_isNone(x_284); +if (x_344 == 0) +{ +uint8_t x_345; +lean_inc(x_284); +x_345 = l_Lean_Syntax_matchesNull(x_284, x_5); +if (x_345 == 0) +{ +lean_object* x_346; lean_object* x_347; +lean_dec(x_343); +lean_dec(x_341); +lean_dec(x_336); +lean_dec(x_312); +lean_dec(x_284); +x_346 = lean_box(0); +lean_inc(x_6); +x_347 = lean_apply_1(x_6, x_346); +x_18 = x_347; +goto block_23; +} +else +{ +lean_object* x_348; lean_object* x_349; lean_object* x_350; uint8_t x_351; +x_348 = l_Lean_Syntax_getArg(x_284, x_4); +lean_dec(x_284); +x_349 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_350 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_349); +lean_inc(x_348); +x_351 = l_Lean_Syntax_isOfKind(x_348, x_350); +lean_dec(x_350); +if (x_351 == 0) +{ +lean_object* x_352; lean_object* x_353; +lean_dec(x_348); +lean_dec(x_343); +lean_dec(x_341); +lean_dec(x_336); +lean_dec(x_312); +x_352 = lean_box(0); +lean_inc(x_6); +x_353 = lean_apply_1(x_6, x_352); +x_18 = x_353; +goto block_23; +} +else +{ +lean_object* x_354; lean_object* x_355; +x_354 = l_Lean_Syntax_getArg(x_348, x_4); +lean_dec(x_348); +x_355 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_355, 0, x_354); +x_164 = x_339; +x_165 = x_336; +x_166 = x_312; +x_167 = x_341; +x_168 = x_343; +x_169 = x_317; +x_170 = x_318; +x_171 = x_355; +goto block_185; +} +} +} +else +{ +lean_object* x_356; +lean_dec(x_284); +x_356 = lean_box(0); +x_164 = x_339; +x_165 = x_336; +x_166 = x_312; +x_167 = x_341; +x_168 = x_343; +x_169 = x_317; +x_170 = x_318; +x_171 = x_356; +goto block_185; +} +} +else +{ +lean_object* x_357; lean_object* x_358; +x_357 = l_Lean_Syntax_getArg(x_336, x_4); +lean_dec(x_336); +x_358 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_358, 0, x_357); +x_285 = x_312; +x_286 = x_313; +x_287 = x_314; +x_288 = x_316; +x_289 = x_358; +goto block_311; +} +} +} +else +{ +lean_object* x_359; +x_359 = lean_box(0); +x_285 = x_312; +x_286 = x_313; +x_287 = x_314; +x_288 = x_316; +x_289 = x_359; +goto block_311; +} +} +block_410: +{ +lean_object* x_362; uint8_t x_363; +x_362 = l_Lean_Syntax_getArg(x_15, x_5); +x_363 = l_Lean_Syntax_isNone(x_362); +if (x_363 == 0) +{ +uint8_t x_364; +lean_inc(x_362); +x_364 = l_Lean_Syntax_matchesNull(x_362, x_5); +if (x_364 == 0) +{ +lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; uint8_t x_371; +lean_dec(x_361); +x_365 = lean_unsigned_to_nat(3u); +x_366 = l_Lean_Syntax_getArg(x_15, x_365); +x_367 = lean_unsigned_to_nat(4u); +x_368 = l_Lean_Syntax_getArg(x_15, x_367); +x_369 = lean_unsigned_to_nat(5u); +x_370 = l_Lean_Syntax_getArg(x_15, x_369); +lean_dec(x_15); +x_371 = l_Lean_Syntax_isNone(x_284); +if (x_371 == 0) +{ +uint8_t x_372; +lean_inc(x_284); +x_372 = l_Lean_Syntax_matchesNull(x_284, x_5); +if (x_372 == 0) +{ +lean_object* x_373; lean_object* x_374; +lean_dec(x_370); +lean_dec(x_368); +lean_dec(x_366); +lean_dec(x_362); +lean_dec(x_284); +x_373 = lean_box(0); +lean_inc(x_6); +x_374 = lean_apply_1(x_6, x_373); +x_18 = x_374; +goto block_23; +} +else +{ +lean_object* x_375; lean_object* x_376; lean_object* x_377; uint8_t x_378; +x_375 = l_Lean_Syntax_getArg(x_284, x_4); +lean_dec(x_284); +x_376 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_377 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_376); +lean_inc(x_375); +x_378 = l_Lean_Syntax_isOfKind(x_375, x_377); +lean_dec(x_377); +if (x_378 == 0) +{ +lean_object* x_379; lean_object* x_380; +lean_dec(x_375); +lean_dec(x_370); +lean_dec(x_368); +lean_dec(x_366); +lean_dec(x_362); +x_379 = lean_box(0); +lean_inc(x_6); +x_380 = lean_apply_1(x_6, x_379); +x_18 = x_380; +goto block_23; +} +else +{ +lean_object* x_381; lean_object* x_382; +x_381 = l_Lean_Syntax_getArg(x_375, x_4); +lean_dec(x_375); +x_382 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_382, 0, x_381); +x_119 = x_364; +x_120 = x_366; +x_121 = x_362; +x_122 = x_368; +x_123 = x_370; +x_124 = x_363; +x_125 = x_382; +goto block_137; +} +} +} +else +{ +lean_object* x_383; +lean_dec(x_284); +x_383 = lean_box(0); +x_119 = x_364; +x_120 = x_366; +x_121 = x_362; +x_122 = x_368; +x_123 = x_370; +x_124 = x_363; +x_125 = x_383; +goto block_137; +} +} +else +{ +lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; +x_384 = l_Lean_Syntax_getArg(x_362, x_4); +x_385 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_386 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_385); +lean_inc(x_384); +x_387 = l_Lean_Syntax_isOfKind(x_384, x_386); +lean_dec(x_386); +if (x_387 == 0) +{ +lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; uint8_t x_394; +lean_dec(x_362); +lean_dec(x_361); +x_388 = lean_unsigned_to_nat(3u); +x_389 = l_Lean_Syntax_getArg(x_15, x_388); +x_390 = lean_unsigned_to_nat(4u); +x_391 = l_Lean_Syntax_getArg(x_15, x_390); +x_392 = lean_unsigned_to_nat(5u); +x_393 = l_Lean_Syntax_getArg(x_15, x_392); +lean_dec(x_15); +x_394 = l_Lean_Syntax_isNone(x_284); +if (x_394 == 0) +{ +uint8_t x_395; +lean_inc(x_284); +x_395 = l_Lean_Syntax_matchesNull(x_284, x_5); +if (x_395 == 0) +{ +lean_object* x_396; lean_object* x_397; +lean_dec(x_393); +lean_dec(x_391); +lean_dec(x_389); +lean_dec(x_384); +lean_dec(x_284); +x_396 = lean_box(0); +lean_inc(x_6); +x_397 = lean_apply_1(x_6, x_396); +x_18 = x_397; +goto block_23; +} +else +{ +lean_object* x_398; lean_object* x_399; lean_object* x_400; uint8_t x_401; +x_398 = l_Lean_Syntax_getArg(x_284, x_4); +lean_dec(x_284); +x_399 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +x_400 = l_Lean_Name_mkStr4(x_8, x_9, x_10, x_399); +lean_inc(x_398); +x_401 = l_Lean_Syntax_isOfKind(x_398, x_400); +lean_dec(x_400); +if (x_401 == 0) +{ +lean_object* x_402; lean_object* x_403; +lean_dec(x_398); +lean_dec(x_393); +lean_dec(x_391); +lean_dec(x_389); +lean_dec(x_384); +x_402 = lean_box(0); +lean_inc(x_6); +x_403 = lean_apply_1(x_6, x_402); +x_18 = x_403; +goto block_23; +} +else +{ +lean_object* x_404; lean_object* x_405; +x_404 = l_Lean_Syntax_getArg(x_398, x_4); +lean_dec(x_398); +x_405 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_405, 0, x_404); +x_74 = x_364; +x_75 = x_391; +x_76 = x_384; +x_77 = x_393; +x_78 = x_389; +x_79 = x_387; +x_80 = x_363; +x_81 = x_405; +goto block_89; +} +} +} +else +{ +lean_object* x_406; +lean_dec(x_284); +x_406 = lean_box(0); +x_74 = x_364; +x_75 = x_391; +x_76 = x_384; +x_77 = x_393; +x_78 = x_389; +x_79 = x_387; +x_80 = x_363; +x_81 = x_406; +goto block_89; +} +} +else +{ +lean_object* x_407; lean_object* x_408; +x_407 = l_Lean_Syntax_getArg(x_384, x_4); +lean_dec(x_384); +x_408 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_408, 0, x_407); +x_312 = x_362; +x_313 = x_361; +x_314 = x_408; +goto block_360; +} +} +} +else +{ +lean_object* x_409; +x_409 = lean_box(0); +x_312 = x_362; +x_313 = x_361; +x_314 = x_409; +goto block_360; +} +} +} +block_23: +{ +size_t x_19; size_t x_20; lean_object* x_21; lean_object* x_22; +x_19 = 1; +x_20 = lean_usize_add(x_12, x_19); +x_21 = lean_array_uset(x_17, x_12, x_18); +x_22 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_8, x_9, x_10, x_11, x_20, x_21); +return x_22; +} +block_33: +{ +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_30, 0, x_24); +lean_ctor_set_uint8(x_30, sizeof(void*)*1, x_25); +lean_ctor_set_uint8(x_30, sizeof(void*)*1 + 1, x_28); +x_31 = lean_unbox(x_29); +lean_ctor_set_uint8(x_30, sizeof(void*)*1 + 2, x_31); +x_18 = x_30; +goto block_23; +} +else +{ +lean_object* x_32; +lean_dec(x_27); +x_32 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_25); +lean_ctor_set_uint8(x_32, sizeof(void*)*1 + 1, x_28); +lean_ctor_set_uint8(x_32, sizeof(void*)*1 + 2, x_26); +x_18 = x_32; +goto block_23; +} +} +block_41: +{ +if (lean_obj_tag(x_36) == 0) +{ +x_24 = x_34; +x_25 = x_38; +x_26 = x_35; +x_27 = x_37; +x_28 = x_35; +goto block_33; +} +else +{ +lean_object* x_39; uint8_t x_40; +lean_dec(x_36); +x_39 = lean_box(0); +x_40 = lean_unbox(x_39); +x_24 = x_34; +x_25 = x_38; +x_26 = x_35; +x_27 = x_37; +x_28 = x_40; +goto block_33; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_imports___lam__0(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__3; +x_3 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_HeaderSyntax_imports___closed__0() { @@ -1025,7 +4122,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_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__2; x_2 = lean_unsigned_to_nat(9u); -x_3 = lean_unsigned_to_nat(29u); +x_3 = lean_unsigned_to_nat(34u); x_4 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__1; x_5 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -1133,260 +4230,322 @@ if (x_7 == 0) lean_object* x_8; lean_object* x_9; lean_dec(x_1); x_8 = l_Lean_Elab_HeaderSyntax_imports___closed__5; -x_9 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(x_8); +x_9 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_8); return x_9; } 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_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_40; lean_object* x_41; lean_object* x_63; uint8_t x_64; -x_10 = lean_unsigned_to_nat(0u); -x_63 = l_Lean_Syntax_getArg(x_1, x_10); -x_64 = l_Lean_Syntax_isNone(x_63); -if (x_64 == 0) +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_53; lean_object* x_69; uint8_t x_70; +x_10 = lean_alloc_closure((void*)(l_Lean_Elab_HeaderSyntax_imports___lam__0___boxed), 1, 0); +x_11 = lean_unsigned_to_nat(0u); +x_69 = l_Lean_Syntax_getArg(x_1, x_11); +x_70 = l_Lean_Syntax_isNone(x_69); +if (x_70 == 0) { -lean_object* x_65; uint8_t x_66; -x_65 = lean_unsigned_to_nat(1u); -lean_inc(x_63); -x_66 = l_Lean_Syntax_matchesNull(x_63, x_65); -if (x_66 == 0) +lean_object* x_71; uint8_t x_72; +x_71 = lean_unsigned_to_nat(1u); +lean_inc(x_69); +x_72 = l_Lean_Syntax_matchesNull(x_69, x_71); +if (x_72 == 0) { -lean_object* x_67; lean_object* x_68; -lean_dec(x_63); +lean_object* x_73; lean_object* x_74; +lean_dec(x_69); +lean_dec(x_10); lean_dec(x_1); -x_67 = l_Lean_Elab_HeaderSyntax_imports___closed__5; -x_68 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(x_67); -return x_68; +x_73 = l_Lean_Elab_HeaderSyntax_imports___closed__5; +x_74 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_73); +return x_74; } else { -lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_69 = l_Lean_Syntax_getArg(x_63, x_10); -lean_dec(x_63); -x_70 = l_Lean_Elab_HeaderSyntax_imports___closed__14; -x_71 = l_Lean_Syntax_isOfKind(x_69, x_70); -if (x_71 == 0) +lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_75 = l_Lean_Syntax_getArg(x_69, x_11); +lean_dec(x_69); +x_76 = l_Lean_Elab_HeaderSyntax_imports___closed__14; +lean_inc(x_75); +x_77 = l_Lean_Syntax_isOfKind(x_75, x_76); +if (x_77 == 0) { -lean_object* x_72; lean_object* x_73; +lean_object* x_78; lean_object* x_79; +lean_dec(x_75); +lean_dec(x_10); lean_dec(x_1); -x_72 = l_Lean_Elab_HeaderSyntax_imports___closed__5; -x_73 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(x_72); -return x_73; +x_78 = l_Lean_Elab_HeaderSyntax_imports___closed__5; +x_79 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_78); +return x_79; } else { -goto block_62; +lean_object* x_80; lean_object* x_81; +x_80 = l_Lean_Syntax_getArg(x_75, x_11); +lean_dec(x_75); +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_53 = x_81; +goto block_68; } } } else { -lean_dec(x_63); -goto block_62; +lean_object* x_82; +lean_dec(x_69); +x_82 = lean_box(0); +x_53 = x_82; +goto block_68; } -block_20: +block_22: { -size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; -x_16 = lean_array_size(x_14); -x_17 = 0; -x_18 = l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2(x_10, x_12, x_13, x_3, x_4, x_5, x_11, x_16, x_17, x_14); -lean_dec(x_11); +size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_array_size(x_13); +x_19 = 0; +x_20 = l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2(x_12, x_16, x_7, x_11, x_14, x_10, x_15, x_3, x_4, x_5, x_18, x_19, x_13); +lean_dec(x_15); +lean_dec(x_16); lean_dec(x_12); -x_19 = l_Array_append___redArg(x_15, x_18); -lean_dec(x_18); -return x_19; +x_21 = l_Array_append___redArg(x_17, x_20); +lean_dec(x_20); +return x_21; } -block_26: +block_29: { -lean_object* x_25; -x_25 = l_Lean_Elab_HeaderSyntax_imports___closed__6; -x_11 = x_21; -x_12 = x_22; +lean_object* x_28; +x_28 = l_Lean_Elab_HeaderSyntax_imports___closed__6; +x_12 = x_23; x_13 = x_24; -x_14 = x_23; -x_15 = x_25; -goto block_20; +x_14 = x_25; +x_15 = x_27; +x_16 = x_26; +x_17 = x_28; +goto block_22; } -block_39: +block_43: { -if (x_31 == 0) +if (x_35 == 0) { -x_21 = x_27; -x_22 = x_28; x_23 = x_30; -x_24 = x_29; -goto block_26; +x_24 = x_31; +x_25 = x_32; +x_26 = x_34; +x_27 = x_33; +goto block_29; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; -x_32 = l_Lean_Elab_HeaderSyntax_imports___closed__8; -x_33 = lean_box(0); -x_34 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_34, 0, x_32); -x_35 = lean_unbox(x_33); -lean_ctor_set_uint8(x_34, sizeof(void*)*1, x_35); -lean_ctor_set_uint8(x_34, sizeof(void*)*1 + 1, x_7); -x_36 = lean_unbox(x_33); -lean_ctor_set_uint8(x_34, sizeof(void*)*1 + 2, x_36); -x_37 = lean_mk_empty_array_with_capacity(x_29); -x_38 = lean_array_push(x_37, x_34); -x_11 = x_27; -x_12 = x_28; -x_13 = x_29; -x_14 = x_30; -x_15 = x_38; -goto block_20; +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; +x_36 = l_Lean_Elab_HeaderSyntax_imports___closed__8; +x_37 = lean_box(0); +x_38 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_38, 0, x_36); +x_39 = lean_unbox(x_37); +lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_39); +lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 1, x_7); +x_40 = lean_unbox(x_37); +lean_ctor_set_uint8(x_38, sizeof(void*)*1 + 2, x_40); +x_41 = lean_mk_empty_array_with_capacity(x_32); +x_42 = lean_array_push(x_41, x_38); +x_12 = x_30; +x_13 = x_31; +x_14 = x_32; +x_15 = x_33; +x_16 = x_34; +x_17 = x_42; +goto block_22; } } -block_47: +block_52: { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_42 = lean_unsigned_to_nat(2u); -x_43 = l_Lean_Syntax_getArg(x_1, x_42); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_47 = lean_unsigned_to_nat(2u); +x_48 = l_Lean_Syntax_getArg(x_1, x_47); lean_dec(x_1); -x_44 = l_Lean_Elab_HeaderSyntax_imports___closed__10; -x_45 = lean_box(0); -x_46 = l_Lean_Syntax_getArgs(x_43); -lean_dec(x_43); -if (lean_obj_tag(x_41) == 0) +x_49 = l_Lean_Elab_HeaderSyntax_imports___closed__10; +x_50 = lean_box(0); +x_51 = l_Lean_Syntax_getArgs(x_48); +lean_dec(x_48); +if (lean_obj_tag(x_46) == 0) { if (x_7 == 0) { -x_27 = x_44; -x_28 = x_45; -x_29 = x_40; -x_30 = x_46; -x_31 = x_7; -goto block_39; +x_30 = x_49; +x_31 = x_51; +x_32 = x_44; +x_33 = x_50; +x_34 = x_45; +x_35 = x_7; +goto block_43; } else { -x_27 = x_44; -x_28 = x_45; -x_29 = x_40; -x_30 = x_46; -x_31 = x_2; -goto block_39; +x_30 = x_49; +x_31 = x_51; +x_32 = x_44; +x_33 = x_50; +x_34 = x_45; +x_35 = x_2; +goto block_43; } } else { -lean_dec(x_41); -x_21 = x_44; -x_22 = x_45; -x_23 = x_46; -x_24 = x_40; -goto block_26; +lean_dec(x_46); +x_23 = x_49; +x_24 = x_51; +x_25 = x_44; +x_26 = x_45; +x_27 = x_50; +goto block_29; } } -block_62: -{ -lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_48 = lean_unsigned_to_nat(1u); -x_49 = l_Lean_Syntax_getArg(x_1, x_48); -x_50 = l_Lean_Syntax_isNone(x_49); -if (x_50 == 0) -{ -uint8_t x_51; -lean_inc(x_49); -x_51 = l_Lean_Syntax_matchesNull(x_49, x_48); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; -lean_dec(x_49); -lean_dec(x_1); -x_52 = l_Lean_Elab_HeaderSyntax_imports___closed__5; -x_53 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(x_52); -return x_53; -} -else +block_68: { lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_54 = l_Lean_Syntax_getArg(x_49, x_10); -lean_dec(x_49); -x_55 = l_Lean_Elab_HeaderSyntax_imports___closed__12; -lean_inc(x_54); -x_56 = l_Lean_Syntax_isOfKind(x_54, x_55); +x_54 = lean_unsigned_to_nat(1u); +x_55 = l_Lean_Syntax_getArg(x_1, x_54); +x_56 = l_Lean_Syntax_isNone(x_55); if (x_56 == 0) { -lean_object* x_57; lean_object* x_58; -lean_dec(x_54); +uint8_t x_57; +lean_inc(x_55); +x_57 = l_Lean_Syntax_matchesNull(x_55, x_54); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; +lean_dec(x_55); +lean_dec(x_53); +lean_dec(x_10); lean_dec(x_1); -x_57 = l_Lean_Elab_HeaderSyntax_imports___closed__5; -x_58 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0(x_57); -return x_58; +x_58 = l_Lean_Elab_HeaderSyntax_imports___closed__5; +x_59 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_58); +return x_59; } else { -lean_object* x_59; lean_object* x_60; -x_59 = l_Lean_Syntax_getArg(x_54, x_10); -lean_dec(x_54); -x_60 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_60, 0, x_59); -x_40 = x_48; -x_41 = x_60; -goto block_47; +lean_object* x_60; lean_object* x_61; uint8_t x_62; +x_60 = l_Lean_Syntax_getArg(x_55, x_11); +lean_dec(x_55); +x_61 = l_Lean_Elab_HeaderSyntax_imports___closed__12; +lean_inc(x_60); +x_62 = l_Lean_Syntax_isOfKind(x_60, x_61); +if (x_62 == 0) +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_60); +lean_dec(x_53); +lean_dec(x_10); +lean_dec(x_1); +x_63 = l_Lean_Elab_HeaderSyntax_imports___closed__5; +x_64 = l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1(x_63); +return x_64; +} +else +{ +lean_object* x_65; lean_object* x_66; +x_65 = l_Lean_Syntax_getArg(x_60, x_11); +lean_dec(x_60); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_44 = x_54; +x_45 = x_53; +x_46 = x_66; +goto block_52; } } } else { -lean_object* x_61; -lean_dec(x_49); -x_61 = lean_box(0); -x_40 = x_48; -x_41 = x_61; -goto block_47; +lean_object* x_67; +lean_dec(x_55); +x_67 = lean_box(0); +x_44 = x_54; +x_45 = x_53; +x_46 = x_67; +goto block_52; } } } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_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_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_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) { _start: { -size_t x_10; size_t x_11; lean_object* x_12; -x_10 = lean_unbox_usize(x_7); +uint8_t x_8; uint8_t x_9; lean_object* x_10; +x_8 = lean_unbox(x_1); +lean_dec(x_1); +x_9 = lean_unbox(x_3); +lean_dec(x_3); +x_10 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___lam__0(x_8, x_2, x_9, x_4, x_5, x_6, x_7); lean_dec(x_7); -x_11 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_12 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg(x_1, x_2, x_3, x_4, x_5, x_6, x_10, x_11, x_9); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); -lean_dec(x_1); -return x_12; +return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_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: { -size_t x_11; size_t x_12; lean_object* x_13; -x_11 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_12 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_13 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_10); -lean_dec(x_7); +uint8_t x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_unbox(x_3); lean_dec(x_3); +x_14 = lean_unbox_usize(x_10); +lean_dec(x_10); +x_15 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_16 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_14, x_15, x_12); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -return x_13; +return x_16; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_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: { -size_t x_11; size_t x_12; lean_object* x_13; -x_11 = lean_unbox_usize(x_8); -lean_dec(x_8); -x_12 = lean_unbox_usize(x_9); -lean_dec(x_9); -x_13 = l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_11, x_12, x_10); -lean_dec(x_7); +uint8_t x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_unbox(x_3); lean_dec(x_3); +x_15 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_16 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_17 = l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15, x_16, x_13); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -return x_13; +return x_17; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_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; size_t x_15; size_t x_16; lean_object* x_17; +x_14 = lean_unbox(x_3); +lean_dec(x_3); +x_15 = lean_unbox_usize(x_11); +lean_dec(x_11); +x_16 = lean_unbox_usize(x_12); +lean_dec(x_12); +x_17 = l_Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2(x_1, x_2, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15, x_16, x_13); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_imports___lam__0___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Elab_HeaderSyntax_imports___lam__0(x_1); +lean_dec(x_1); +return x_2; } } LEAN_EXPORT lean_object* l_Lean_Elab_HeaderSyntax_imports___boxed(lean_object* x_1, lean_object* x_2) { @@ -1437,7 +4596,7 @@ static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processH _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("cannot use `private import` without `module`", 44, 44); +x_1 = lean_mk_string_unchecked("cannot use `import all` across module path roots", 48, 48); return x_1; } } @@ -1455,7 +4614,7 @@ static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processH _start: { lean_object* x_1; -x_1 = lean_mk_string_unchecked("cannot use `import all` across module path roots", 48, 48); +x_1 = lean_mk_string_unchecked("cannot use `import all` without `module`", 40, 40); return x_1; } } @@ -1469,25 +4628,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_unchecked("cannot use `import all` without `module`", 40, 40); -return x_1; -} -} -static lean_object* _init_l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__4; -x_2 = lean_alloc_ctor(18, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0(lean_object* x_1, uint8_t 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_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0(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) { _start: { lean_object* x_9; lean_object* x_10; uint8_t x_15; @@ -1503,119 +4644,74 @@ return x_16; } else { -lean_object* x_17; uint8_t x_22; uint8_t x_24; +lean_object* x_17; lean_dec(x_7); x_17 = lean_array_uget(x_4, x_6); -if (x_2 == 0) +if (x_3 == 0) { -uint8_t x_33; -x_33 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -if (x_33 == 0) +uint8_t x_26; +x_26 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +if (x_26 == 0) { -x_24 = x_33; -goto block_32; +goto block_25; } else { -lean_object* x_34; lean_object* x_35; +lean_object* x_27; lean_object* x_28; lean_dec(x_17); lean_dec(x_1); -x_34 = l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__5; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_8); -return x_35; +x_27 = l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__3; +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_8); +return x_28; } } else { -lean_object* x_36; uint8_t x_37; -x_36 = lean_box(0); -x_37 = lean_unbox(x_36); -x_24 = x_37; -goto block_32; +goto block_25; } -block_21: +block_25: { uint8_t x_18; -x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*1 + 1); -lean_dec(x_17); +x_18 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; -lean_dec(x_1); -x_19 = l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__1; -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_8); -return x_20; -} -else -{ +lean_dec(x_17); lean_inc(x_1); x_9 = x_1; x_10 = x_8; goto block_14; } -} -block_23: -{ -if (x_2 == 0) -{ -goto block_21; -} else { +lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Name_getRoot(x_2); +x_21 = l_Lean_Name_getRoot(x_19); +lean_dec(x_19); +x_22 = lean_name_eq(x_20, x_21); +lean_dec(x_21); +lean_dec(x_20); if (x_22 == 0) { -lean_dec(x_17); +lean_object* x_23; lean_object* x_24; +lean_dec(x_1); +x_23 = l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__1; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_8); +return x_24; +} +else +{ lean_inc(x_1); x_9 = x_1; x_10 = x_8; goto block_14; } -else -{ -goto block_21; -} -} -} -block_32: -{ -uint8_t x_25; -x_25 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -if (x_25 == 0) -{ -x_22 = x_25; -goto block_23; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_26 = lean_ctor_get(x_17, 0); -lean_inc(x_26); -x_27 = l_Lean_Name_getRoot(x_3); -x_28 = l_Lean_Name_getRoot(x_26); -lean_dec(x_26); -x_29 = lean_name_eq(x_27, x_28); -lean_dec(x_28); -lean_dec(x_27); -if (x_29 == 0) -{ -lean_object* x_30; lean_object* x_31; -lean_dec(x_17); -lean_dec(x_1); -x_30 = l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__3; -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_8); -return x_31; -} -else -{ -x_22 = x_24; -goto block_23; -} } } } @@ -1772,7 +4868,7 @@ lean_object* x_48; size_t x_49; size_t x_50; lean_object* x_51; x_48 = lean_box(0); x_49 = lean_array_size(x_2); x_50 = 0; -x_51 = l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0(x_48, x_3, x_10, x_2, x_49, x_50, x_48, x_12); +x_51 = l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0(x_48, x_10, x_3, x_2, x_49, x_50, x_48, x_12); if (lean_obj_tag(x_51) == 0) { lean_object* x_52; uint8_t x_53; lean_object* x_54; @@ -1831,15 +4927,15 @@ LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHe _start: { uint8_t x_9; size_t x_10; size_t x_11; lean_object* x_12; -x_9 = lean_unbox(x_2); -lean_dec(x_2); +x_9 = lean_unbox(x_3); +lean_dec(x_3); x_10 = lean_unbox_usize(x_5); lean_dec(x_5); x_11 = lean_unbox_usize(x_6); lean_dec(x_6); -x_12 = l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0(x_1, x_9, x_3, x_4, x_10, x_11, x_7, x_8); +x_12 = l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0(x_1, x_2, x_9, x_4, x_10, x_11, x_7, x_8); lean_dec(x_4); -lean_dec(x_3); +lean_dec(x_2); return x_12; } } @@ -2515,8 +5611,8 @@ lean_dec_ref(res); res = initialize_Lean_CoreM(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0___closed__0 = _init_l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0___closed__0(); -lean_mark_persistent(l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__0___closed__0); +l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1___closed__0 = _init_l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1___closed__0(); +lean_mark_persistent(l_panic___at___Lean_Elab_HeaderSyntax_imports_spec__1___closed__0); l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__0 = _init_l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__0(); lean_mark_persistent(l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__0); l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__1 = _init_l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__1(); @@ -2531,6 +5627,8 @@ l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax lean_mark_persistent(l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__5); l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6 = _init_l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6(); lean_mark_persistent(l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__6); +l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__7 = _init_l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at___Array_mapMUnsafe_map___at___Lean_Elab_HeaderSyntax_imports_spec__2_spec__2___redArg___closed__7); l_Lean_Elab_HeaderSyntax_imports___closed__0 = _init_l_Lean_Elab_HeaderSyntax_imports___closed__0(); lean_mark_persistent(l_Lean_Elab_HeaderSyntax_imports___closed__0); l_Lean_Elab_HeaderSyntax_imports___closed__1 = _init_l_Lean_Elab_HeaderSyntax_imports___closed__1(); @@ -2569,10 +5667,6 @@ l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__2); l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__3 = _init_l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__3(); lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__3); -l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__4 = _init_l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__4(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__4); -l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__5 = _init_l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__5(); -lean_mark_persistent(l_Array_forIn_x27Unsafe_loop___at___Lean_Elab_processHeaderCore_spec__0___closed__5); l_Lean_Elab_processHeaderCore___closed__0 = _init_l_Lean_Elab_processHeaderCore___closed__0(); lean_mark_persistent(l_Lean_Elab_processHeaderCore___closed__0); l_Lean_Elab_processHeaderCore___closed__1 = _init_l_Lean_Elab_processHeaderCore___closed__1(); diff --git a/stage0/stdlib/Lean/Elab/ParseImportsFast.c b/stage0/stdlib/Lean/Elab/ParseImportsFast.c index d457445492..9afcd45a9d 100644 --- a/stage0/stdlib/Lean/Elab/ParseImportsFast.c +++ b/stage0/stdlib/Lean/Elab/ParseImportsFast.c @@ -14,7 +14,6 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_printImportsJson_spec__0(size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1_spec__1(size_t, size_t, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsMeta___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -22,29 +21,30 @@ LEAN_EXPORT lean_object* l_Lean_ParseImports_isIdCont___boxed(lean_object*, lean lean_object* l_Lean_Json_compress(lean_object*); uint32_t lean_string_utf8_get(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1540_; -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeWhile___lam__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeWhile___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__0; LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__1___lam__0___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); +static lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__2; LEAN_EXPORT lean_object* l_Lean_ParseImports_andthen(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__0; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__0(lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_main___closed__0; +static lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__1; lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_setImportAll___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1_spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keyword___lam__0___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552_(lean_object*); static lean_object* l_Lean_ParseImports_instInhabitedState___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent_parse(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent___lam__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_isIdRestFast___boxed(lean_object*); -static lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__1; -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611__spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsExported___redArg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599__spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_ParseImports_State_pushImport(lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_keyword___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -52,10 +52,9 @@ static lean_object* l_Lean_parseImports_x27___closed__1; static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsExported(uint8_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599__spec__0(lean_object*); lean_object* lean_string_utf8_next(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599_(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_setImportAll___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at___Lean_ParseImports_moduleIdent_parse_spec__1___boxed(lean_object*, lean_object*); lean_object* l_List_flatMapTR_go___at_____private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187__spec__0(lean_object*, lean_object*); @@ -63,17 +62,14 @@ static lean_object* l_Lean_ParseImports_whitespace___closed__0; uint8_t lean_uint32_dec_le(uint32_t, uint32_t); lean_object* l_Array_empty(lean_object*); LEAN_EXPORT uint8_t l_Lean_ParseImports_takeWhile___lam__0(lean_object*, uint32_t); -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540_(lean_object*); lean_object* l_Array_shrink___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_whitespace(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_instAndThenParser___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_setImportAll(uint8_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1(lean_object*); -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1540_; -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__3; +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___boxed(lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_instInhabitedState___closed__0; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__0(lean_object*, lean_object*); -static lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__0; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611__spec__0_spec__0(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_keyword___lam__0___closed__1; uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); @@ -82,7 +78,6 @@ lean_object* l___private_Lean_Setup_0__Lean_toJsonModuleHeader____x40_Lean_Setup LEAN_EXPORT uint8_t l_Lean_ParseImports_isIdCont(lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_main___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___boxed(lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_finishCommentBlock_eoi___closed__0; static lean_object* l_Lean_instToJsonPrintImportsResult___closed__0; LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsExported___redArg(uint8_t, lean_object*); @@ -90,6 +85,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Lean_printImportsJson_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint32_t lean_string_utf8_get_fast(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_finishCommentBlock___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__1___lam__0___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsMeta___redArg(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at___Lean_ParseImports_moduleIdent_parse_spec__0(uint8_t, uint8_t, lean_object*, lean_object*); @@ -102,7 +98,9 @@ lean_object* l_IO_println___at___Lean_Environment_displayStats_spec__2(lean_obje LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_instToJsonPrintImportResult___closed__0; LEAN_EXPORT lean_object* l_Lean_ParseImports_State_mkEOIError(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611_(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsExported___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1552_; lean_object* l_IO_FS_readFile(lean_object*, lean_object*); uint8_t l_Lean_isLetterLike(uint32_t); LEAN_EXPORT lean_object* l_Lean_ParseImports_State_next_x27___redArg___boxed(lean_object*, lean_object*, lean_object*); @@ -113,8 +111,10 @@ LEAN_EXPORT lean_object* l_Lean_ParseImports_State_next_x27___boxed(lean_object* LEAN_EXPORT lean_object* l_Lean_ParseImports_isIdRestCold___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_State_mkEOIError___closed__1; +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1611_; LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsMeta___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_parseImports_x27___closed__2; +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at___Lean_ParseImports_moduleIdent_parse_spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_State_mkError(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -129,8 +129,9 @@ LEAN_EXPORT lean_object* l_Lean_parseImports_x27(lean_object*, lean_object*, lea LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keyword___lam__0(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611__spec__0(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at___Lean_ParseImports_whitespace_spec__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -138,22 +139,26 @@ static lean_object* l_Lean_ParseImports_main___closed__2; static lean_object* l_Lean_ParseImports_whitespace___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_finishCommentBlock(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_main(lean_object*, lean_object*); -static lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__1; LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent(lean_object*, lean_object*); lean_object* lean_string_utf8_next_fast(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instToJsonPrintImportsResult; -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +static lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__1; lean_object* lean_array_uget(lean_object*, size_t); size_t lean_array_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_error_to_string(lean_object*); lean_object* l_Lean_Name_mkStr1(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_ParseImports_isIdRestCold(uint32_t); +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_setIsMeta(uint8_t, lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_finishCommentBlock_eoi___closed__1; static lean_object* l_Lean_parseImports_x27___closed__0; +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_State_mkEOIError___closed__0; LEAN_EXPORT lean_object* l_Lean_ParseImports_takeUntil___at___Lean_ParseImports_moduleIdent_parse_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -162,27 +167,25 @@ LEAN_EXPORT lean_object* l_Lean_ParseImports_State_next(lean_object*, lean_objec LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedParser___lam__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedParser___lam__0(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1599_; LEAN_EXPORT lean_object* l_Lean_ParseImports_setImportAll___redArg(uint8_t, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_ParseImports_instInhabitedState; LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_moduleIdent___lam__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__1___lam__0(uint8_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_State_setPos(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_takeWhile(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1552_; +static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1552_; LEAN_EXPORT lean_object* l_Lean_printImportsJson(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_ParseImports_moduleIdent_parse___closed__2; LEAN_EXPORT lean_object* l_Lean_ParseImports_whitespace___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599__spec__0_spec__0(size_t, size_t, lean_object*); LEAN_EXPORT uint8_t l_Lean_ParseImports_isIdRestFast(uint32_t); +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7___redArg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_ParseImports_State_next_x27___redArg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_ParseImports_keyword___closed__0; -static lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1540_; LEAN_EXPORT lean_object* l_Lean_instToJsonPrintImportResult; static lean_object* _init_l_Lean_ParseImports_instInhabitedState___closed__0() { _start: @@ -4101,6 +4104,109 @@ return x_37; LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { +lean_object* x_6; uint8_t x_7; +x_6 = lean_box(1); +x_7 = lean_string_utf8_at_end(x_1, x_4); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = lean_string_utf8_at_end(x_2, x_5); +if (x_8 == 0) +{ +uint32_t x_9; uint32_t x_10; uint8_t x_11; +x_9 = lean_string_utf8_get_fast(x_1, x_4); +x_10 = lean_string_utf8_get_fast(x_2, x_5); +x_11 = lean_uint32_dec_eq(x_9, x_10); +if (x_11 == 0) +{ +uint8_t x_12; lean_object* x_13; +lean_dec(x_5); +lean_dec(x_4); +x_12 = lean_unbox(x_6); +x_13 = l_Lean_ParseImports_setIsExported___redArg(x_12, x_3); +return x_13; +} +else +{ +if (x_8 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_string_utf8_next_fast(x_1, x_4); +lean_dec(x_4); +x_15 = lean_string_utf8_next_fast(x_2, x_5); +lean_dec(x_5); +x_4 = x_14; +x_5 = x_15; +goto _start; +} +else +{ +uint8_t x_17; lean_object* x_18; +lean_dec(x_5); +lean_dec(x_4); +x_17 = lean_unbox(x_6); +x_18 = l_Lean_ParseImports_setIsExported___redArg(x_17, x_3); +return x_18; +} +} +} +else +{ +uint8_t x_19; lean_object* x_20; +lean_dec(x_5); +lean_dec(x_4); +x_19 = lean_unbox(x_6); +x_20 = l_Lean_ParseImports_setIsExported___redArg(x_19, x_3); +return x_20; +} +} +else +{ +uint8_t x_21; +lean_dec(x_4); +x_21 = !lean_is_exclusive(x_3); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_3, 1); +lean_dec(x_22); +lean_ctor_set(x_3, 1, x_5); +x_23 = l_Lean_ParseImports_whitespace(x_2, x_3); +x_24 = lean_unbox(x_6); +x_25 = l_Lean_ParseImports_setIsExported___redArg(x_24, x_23); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; +x_26 = lean_ctor_get(x_3, 0); +x_27 = lean_ctor_get(x_3, 2); +x_28 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); +x_29 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 1); +x_30 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 2); +x_31 = lean_ctor_get_uint8(x_3, sizeof(void*)*3 + 3); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_3); +x_32 = lean_alloc_ctor(0, 3, 4); +lean_ctor_set(x_32, 0, x_26); +lean_ctor_set(x_32, 1, x_5); +lean_ctor_set(x_32, 2, x_27); +lean_ctor_set_uint8(x_32, sizeof(void*)*3, x_28); +lean_ctor_set_uint8(x_32, sizeof(void*)*3 + 1, x_29); +lean_ctor_set_uint8(x_32, sizeof(void*)*3 + 2, x_30); +lean_ctor_set_uint8(x_32, sizeof(void*)*3 + 3, x_31); +x_33 = l_Lean_ParseImports_whitespace(x_2, x_32); +x_34 = lean_unbox(x_6); +x_35 = l_Lean_ParseImports_setIsExported___redArg(x_34, x_33); +return x_35; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ uint8_t x_6; x_6 = lean_string_utf8_at_end(x_1, x_4); if (x_6 == 0) @@ -4195,7 +4301,7 @@ return x_29; } } } -static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__0() { +static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__0() { _start: { lean_object* x_1; @@ -4203,17 +4309,17 @@ x_1 = lean_mk_string_unchecked("`import` expected", 17, 17); return x_1; } } -static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__1() { +static lean_object* _init_l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__0; +x_1 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__0; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; @@ -4223,7 +4329,7 @@ if (x_3 == 0) lean_object* x_4; lean_object* x_5; x_4 = lean_ctor_get(x_2, 2); lean_dec(x_4); -x_5 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__1; +x_5 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__1; lean_ctor_set(x_2, 2, x_5); return x_2; } @@ -4239,7 +4345,7 @@ x_11 = lean_ctor_get_uint8(x_2, sizeof(void*)*3 + 3); lean_inc(x_7); lean_inc(x_6); lean_dec(x_2); -x_12 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__1; +x_12 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__1; x_13 = lean_alloc_ctor(0, 3, 4); lean_ctor_set(x_13, 0, x_6); lean_ctor_set(x_13, 1, x_7); @@ -4252,7 +4358,7 @@ return x_13; } } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5(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; @@ -4272,7 +4378,7 @@ if (x_10 == 0) lean_object* x_11; lean_dec(x_5); lean_dec(x_4); -x_11 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0(x_2, x_3); +x_11 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0(x_2, x_3); return x_11; } else @@ -4293,7 +4399,7 @@ else lean_object* x_15; lean_dec(x_5); lean_dec(x_4); -x_15 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0(x_2, x_3); +x_15 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0(x_2, x_3); return x_15; } } @@ -4303,7 +4409,7 @@ else lean_object* x_16; lean_dec(x_5); lean_dec(x_4); -x_16 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0(x_2, x_3); +x_16 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0(x_2, x_3); return x_16; } } @@ -4347,7 +4453,7 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__6(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; @@ -4444,7 +4550,15 @@ return x_29; } } } -static lean_object* _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__0() { +static lean_object* _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("public", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__1() { _start: { lean_object* x_1; @@ -4452,7 +4566,7 @@ x_1 = lean_mk_string_unchecked("meta", 4, 4); return x_1; } } -static lean_object* _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__1() { +static lean_object* _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__2() { _start: { lean_object* x_1; @@ -4460,7 +4574,7 @@ x_1 = lean_mk_string_unchecked("import", 6, 6); return x_1; } } -static lean_object* _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__2() { +static lean_object* _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__3() { _start: { lean_object* x_1; @@ -4468,7 +4582,7 @@ x_1 = lean_mk_string_unchecked("all", 3, 3); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7(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_26; lean_object* x_27; lean_object* x_28; @@ -4486,7 +4600,7 @@ if (lean_obj_tag(x_28) == 0) lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); -x_30 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__0; +x_30 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__0; x_31 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__3(x_30, x_2, x_27, x_26, x_29); x_32 = lean_ctor_get(x_31, 2); lean_inc(x_32); @@ -4495,7 +4609,7 @@ if (lean_obj_tag(x_32) == 0) lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); -x_34 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__1; +x_34 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__1; x_35 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4(x_34, x_2, x_31, x_26, x_33); x_36 = lean_ctor_get(x_35, 2); lean_inc(x_36); @@ -4504,20 +4618,36 @@ if (lean_obj_tag(x_36) == 0) lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); -x_38 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__2; +x_38 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__2; x_39 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5(x_38, x_2, x_35, x_26, x_37); x_40 = lean_ctor_get(x_39, 2); lean_inc(x_40); if (lean_obj_tag(x_40) == 0) { -lean_object* x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +x_42 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__3; +x_43 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__6(x_42, x_2, x_39, x_26, x_41); +x_44 = lean_ctor_get(x_43, 2); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_inc(x_2); -x_41 = l_Lean_ParseImports_moduleIdent(x_2, x_39); -x_6 = x_41; +x_45 = l_Lean_ParseImports_moduleIdent(x_2, x_43); +x_6 = x_45; goto block_25; } else { +lean_dec(x_44); +x_6 = x_43; +goto block_25; +} +} +else +{ lean_dec(x_40); x_6 = x_39; goto block_25; @@ -4608,7 +4738,7 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7___redArg(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_26; lean_object* x_27; lean_object* x_28; @@ -4626,7 +4756,7 @@ if (lean_obj_tag(x_28) == 0) lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); -x_30 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__0; +x_30 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__0; x_31 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__3(x_30, x_2, x_27, x_26, x_29); x_32 = lean_ctor_get(x_31, 2); lean_inc(x_32); @@ -4635,7 +4765,7 @@ if (lean_obj_tag(x_32) == 0) lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_33 = lean_ctor_get(x_31, 1); lean_inc(x_33); -x_34 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__1; +x_34 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__1; x_35 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4(x_34, x_2, x_31, x_26, x_33); x_36 = lean_ctor_get(x_35, 2); lean_inc(x_36); @@ -4644,20 +4774,36 @@ if (lean_obj_tag(x_36) == 0) lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); -x_38 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__2; +x_38 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__2; x_39 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5(x_38, x_2, x_35, x_26, x_37); x_40 = lean_ctor_get(x_39, 2); lean_inc(x_40); if (lean_obj_tag(x_40) == 0) { -lean_object* x_41; +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +x_42 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__3; +x_43 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__6(x_42, x_2, x_39, x_26, x_41); +x_44 = lean_ctor_get(x_43, 2); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; lean_inc(x_2); -x_41 = l_Lean_ParseImports_moduleIdent(x_2, x_39); -x_6 = x_41; +x_45 = l_Lean_ParseImports_moduleIdent(x_2, x_43); +x_6 = x_45; goto block_25; } else { +lean_dec(x_44); +x_6 = x_43; +goto block_25; +} +} +else +{ lean_dec(x_40); x_6 = x_39; goto block_25; @@ -4693,7 +4839,7 @@ if (lean_obj_tag(x_7) == 0) lean_object* x_8; lean_dec(x_5); lean_dec(x_4); -x_8 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6(x_1, x_2, x_6); +x_8 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7(x_1, x_2, x_6); return x_8; } else @@ -4749,11 +4895,11 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6___redArg(x_1, x_4, x_5); +x_6 = l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7___redArg(x_1, x_4, x_5); return x_6; } } @@ -4805,7 +4951,7 @@ if (lean_obj_tag(x_11) == 0) { lean_object* x_12; lean_object* x_13; x_12 = l_Lean_ParseImports_main___closed__2; -x_13 = l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6___redArg(x_12, x_1, x_10); +x_13 = l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7___redArg(x_12, x_1, x_10); return x_13; } else @@ -4874,15 +5020,6 @@ lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0(x_1, x_2); -lean_dec(x_1); -return x_3; -} -} LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -4893,6 +5030,15 @@ lean_dec(x_1); return x_6; } } +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -4903,25 +5049,35 @@ lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__6___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_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__6(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6(x_1, x_2, x_3); +x_4 = l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7(x_1, x_2, x_3); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7___redArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6___redArg(x_1, x_2, x_3); +x_4 = l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7___redArg(x_1, x_2, x_3); lean_dec(x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7___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; uint8_t x_7; lean_object* x_8; @@ -4929,7 +5085,7 @@ x_6 = lean_unbox(x_2); lean_dec(x_2); x_7 = lean_unbox(x_3); lean_dec(x_3); -x_8 = l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6(x_1, x_6, x_7, x_4, x_5); +x_8 = l_Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7(x_1, x_6, x_7, x_4, x_5); lean_dec(x_1); return x_8; } @@ -5039,7 +5195,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__0(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__0(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -5067,7 +5223,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1_spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1_spec__1(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -5093,19 +5249,19 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1(lean_object* x_1) { _start: { size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_array_size(x_1); x_3 = 0; -x_4 = l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1_spec__1(x_2, x_3, x_1); +x_4 = l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1_spec__1(x_2, x_3, x_1); x_5 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_5, 0, x_4); return x_5; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1540_() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1552_() { _start: { lean_object* x_1; @@ -5113,7 +5269,7 @@ x_1 = lean_mk_string_unchecked("result", 6, 6); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1540_() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1552_() { _start: { lean_object* x_1; @@ -5121,7 +5277,7 @@ x_1 = lean_mk_string_unchecked("errors", 6, 6); return x_1; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1540_() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1552_() { _start: { lean_object* x_1; lean_object* x_2; @@ -5130,7 +5286,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552_(lean_object* x_1) { _start: { uint8_t x_2; @@ -5140,10 +5296,10 @@ if (x_2 == 0) lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_3 = lean_ctor_get(x_1, 0); x_4 = lean_ctor_get(x_1, 1); -x_5 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1540_; -x_6 = l_Lean_Json_opt___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__0(x_5, x_3); -x_7 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1540_; -x_8 = l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1(x_4); +x_5 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1552_; +x_6 = l_Lean_Json_opt___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__0(x_5, x_3); +x_7 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1552_; +x_8 = l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1(x_4); lean_ctor_set(x_1, 1, x_8); lean_ctor_set(x_1, 0, x_7); x_9 = lean_box(0); @@ -5157,7 +5313,7 @@ lean_ctor_set(x_12, 1, x_11); x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_6); lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1540_; +x_14 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1552_; x_15 = l_List_flatMapTR_go___at_____private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187__spec__0(x_13, x_14); x_16 = l_Lean_Json_mkObj(x_15); return x_16; @@ -5170,10 +5326,10 @@ x_18 = lean_ctor_get(x_1, 1); lean_inc(x_18); lean_inc(x_17); lean_dec(x_1); -x_19 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1540_; -x_20 = l_Lean_Json_opt___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__0(x_19, x_17); -x_21 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1540_; -x_22 = l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1(x_18); +x_19 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1552_; +x_20 = l_Lean_Json_opt___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__0(x_19, x_17); +x_21 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1552_; +x_22 = l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1(x_18); x_23 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); @@ -5188,14 +5344,14 @@ lean_ctor_set(x_27, 1, x_26); x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_20); lean_ctor_set(x_28, 1, x_27); -x_29 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1540_; +x_29 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1552_; x_30 = l_List_flatMapTR_go___at_____private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187__spec__0(x_28, x_29); x_31 = l_Lean_Json_mkObj(x_30); return x_31; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -5203,7 +5359,7 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540__spec__1_spec__1(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552__spec__1_spec__1(x_4, x_5, x_3); return x_6; } } @@ -5211,7 +5367,7 @@ static lean_object* _init_l_Lean_instToJsonPrintImportResult___closed__0() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552_), 1, 0); return x_1; } } @@ -5223,7 +5379,7 @@ x_1 = l_Lean_instToJsonPrintImportResult___closed__0; return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599__spec__0_spec__0(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611__spec__0_spec__0(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -5238,7 +5394,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x x_5 = lean_array_uget(x_3, x_2); x_6 = lean_box(0); x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1540_(x_5); +x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult____x40_Lean_Elab_ParseImportsFast___hyg_1552_(x_5); x_9 = 1; x_10 = lean_usize_add(x_2, x_9); x_11 = lean_array_uset(x_7, x_2, x_8); @@ -5248,19 +5404,19 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599__spec__0(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611__spec__0(lean_object* x_1) { _start: { size_t x_2; size_t x_3; lean_object* x_4; lean_object* x_5; x_2 = lean_array_size(x_1); x_3 = 0; -x_4 = l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599__spec__0_spec__0(x_2, x_3, x_1); +x_4 = l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611__spec__0_spec__0(x_2, x_3, x_1); x_5 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_5, 0, x_4); return x_5; } } -static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1599_() { +static lean_object* _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1611_() { _start: { lean_object* x_1; @@ -5268,12 +5424,12 @@ x_1 = lean_mk_string_unchecked("imports", 7, 7); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_2 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1599_; -x_3 = l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599__spec__0(x_1); +x_2 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1611_; +x_3 = l_Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611__spec__0(x_1); x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_2); lean_ctor_set(x_4, 1, x_3); @@ -5285,13 +5441,13 @@ x_7 = lean_box(0); x_8 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_8, 1, x_7); -x_9 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1540_; +x_9 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1552_; x_10 = l_List_flatMapTR_go___at_____private_Lean_Server_Rpc_Basic_0__Lean_Lsp_toJsonRpcRef____x40_Lean_Server_Rpc_Basic___hyg_187__spec__0(x_8, x_9); x_11 = l_Lean_Json_mkObj(x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599__spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611__spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -5299,7 +5455,7 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599__spec__0_spec__0(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___Array_toJson___at_____private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611__spec__0_spec__0(x_4, x_5, x_3); return x_6; } } @@ -5307,7 +5463,7 @@ static lean_object* _init_l_Lean_instToJsonPrintImportsResult___closed__0() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611_), 1, 0); return x_1; } } @@ -5469,7 +5625,7 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_5, 1); lean_inc(x_7); lean_dec(x_5); -x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1599_(x_6); +x_8 = l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult____x40_Lean_Elab_ParseImportsFast___hyg_1611_(x_6); x_9 = l_Lean_Json_compress(x_8); x_10 = l_IO_println___at___Lean_Environment_displayStats_spec__2(x_9, x_7); return x_10; @@ -5536,16 +5692,18 @@ l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__1___lam__ lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__1___lam__0___closed__0); l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__1___lam__0___closed__1 = _init_l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__1___lam__0___closed__1(); lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__1___lam__0___closed__1); -l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__0 = _init_l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__0(); -lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__0); -l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__1 = _init_l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__1(); -lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__4___lam__0___closed__1); -l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__0 = _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__0(); -lean_mark_persistent(l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__0); -l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__1 = _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__1(); -lean_mark_persistent(l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__1); -l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__2 = _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__2(); -lean_mark_persistent(l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__6_spec__6___closed__2); +l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__0 = _init_l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__0(); +lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__0); +l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__1 = _init_l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__1(); +lean_mark_persistent(l_Lean_ParseImports_keywordCore_go___at___Lean_ParseImports_main_spec__5___lam__0___closed__1); +l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__0 = _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__0(); +lean_mark_persistent(l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__0); +l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__1 = _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__1(); +lean_mark_persistent(l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__1); +l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__2 = _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__2(); +lean_mark_persistent(l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__2); +l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__3 = _init_l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__3(); +lean_mark_persistent(l_Lean_ParseImports_many___at___Lean_ParseImports_many___at___Lean_ParseImports_main_spec__7_spec__7___closed__3); l_Lean_ParseImports_main___closed__0 = _init_l_Lean_ParseImports_main___closed__0(); lean_mark_persistent(l_Lean_ParseImports_main___closed__0); l_Lean_ParseImports_main___closed__1 = _init_l_Lean_ParseImports_main___closed__1(); @@ -5558,18 +5716,18 @@ l_Lean_parseImports_x27___closed__1 = _init_l_Lean_parseImports_x27___closed__1( lean_mark_persistent(l_Lean_parseImports_x27___closed__1); l_Lean_parseImports_x27___closed__2 = _init_l_Lean_parseImports_x27___closed__2(); lean_mark_persistent(l_Lean_parseImports_x27___closed__2); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1540_ = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1540_(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1540_); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1540_ = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1540_(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1540_); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1540_ = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1540_(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1540_); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1552_ = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1552_(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1552_); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1552_ = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1552_(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__1____x40_Lean_Elab_ParseImportsFast___hyg_1552_); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1552_ = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1552_(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportResult___closed__2____x40_Lean_Elab_ParseImportsFast___hyg_1552_); l_Lean_instToJsonPrintImportResult___closed__0 = _init_l_Lean_instToJsonPrintImportResult___closed__0(); lean_mark_persistent(l_Lean_instToJsonPrintImportResult___closed__0); l_Lean_instToJsonPrintImportResult = _init_l_Lean_instToJsonPrintImportResult(); lean_mark_persistent(l_Lean_instToJsonPrintImportResult); -l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1599_ = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1599_(); -lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1599_); +l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1611_ = _init_l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1611_(); +lean_mark_persistent(l___private_Lean_Elab_ParseImportsFast_0__Lean_toJsonPrintImportsResult___closed__0____x40_Lean_Elab_ParseImportsFast___hyg_1611_); l_Lean_instToJsonPrintImportsResult___closed__0 = _init_l_Lean_instToJsonPrintImportsResult___closed__0(); lean_mark_persistent(l_Lean_instToJsonPrintImportsResult___closed__0); l_Lean_instToJsonPrintImportsResult = _init_l_Lean_instToJsonPrintImportsResult(); diff --git a/stage0/stdlib/Lean/Parser/Module.c b/stage0/stdlib/Lean/Parser/Module.c index 5df63d44aa..c0ad3acb01 100644 --- a/stage0/stdlib/Lean/Parser/Module.c +++ b/stage0/stdlib/Lean/Parser/Module.c @@ -21,8 +21,8 @@ static lean_object* l_panic___at___Lean_Parser_Module_updateTokens_spec__0___clo static lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Module_moduleTk___closed__10; static lean_object* l_Lean_Parser_Module_prelude_formatter___closed__2; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_public_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_identWithPartialTrailingDot; -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__47___closed__0; lean_object* l_Lean_Parser_optional_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_module___closed__2; static lean_object* l_Lean_Parser_Module_private_formatter___closed__2; @@ -37,24 +37,32 @@ static lean_object* l_Lean_Parser_Module_header_formatter___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_topLevelCommandParserFn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Module_header_parenthesizer___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_import___closed__10; +static lean_object* l_Lean_Parser_Module_public___closed__0; static lean_object* l_Lean_Parser_Module_prelude___closed__1; +static lean_object* l_Lean_Parser_Module_public_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_SyntaxStack_empty; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Module_meta_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_module___closed__5; static lean_object* l_Lean_Parser_Module_updateTokens___closed__1; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__2; static lean_object* l_Lean_Parser_Module_header_formatter___closed__3; static lean_object* l_Lean_Parser_Module_meta___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__47(lean_object*); +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__47___closed__0; static lean_object* l_Lean_Parser_Module_module___closed__9; static lean_object* l_Lean_Parser_Module_all_formatter___closed__1; static lean_object* l_Lean_Parser_Module_all_parenthesizer___closed__2; lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39(lean_object*); LEAN_EXPORT lean_object* l_panic___at___Lean_Parser_Module_updateTokens_spec__0(lean_object*); lean_object* l_Lean_Parser_addParserTokens(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_import_formatter___closed__1; lean_object* l_Lean_Data_Trie_empty(lean_object*); static lean_object* l_Lean_Parser_Module_module_formatter___closed__0; lean_object* l_Lean_Parser_Error_toString(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__31(lean_object*); lean_object* l_Lean_Parser_many_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_testParseModuleAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_leadingNode(lean_object*, lean_object*, lean_object*); @@ -64,18 +72,19 @@ lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_prelude___closed__2; static lean_object* l_Lean_Parser_Module_moduleTk_formatter___closed__1; static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___closed__0; -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__31___closed__0; static lean_object* l_Lean_Parser_instInhabitedModuleParserState___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_consumeInput(lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_Lean_Parser_Module_all_parenthesizer___closed__0; static lean_object* l_Lean_Parser_Module_meta_formatter___closed__1; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__19___closed__0; static lean_object* l_Lean_Parser_Module_header_formatter___closed__0; static lean_object* l_Lean_Parser_Module_module_formatter___closed__1; lean_object* l_Lean_Parser_optional(lean_object*); static lean_object* l_Lean_Parser_Module_module___closed__1; static lean_object* l_Lean_Parser_Module_header_formatter___closed__6; lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__55___closed__0; static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Module_import; lean_object* l_Lean_Parser_andthenFn(lean_object*, lean_object*, lean_object*, lean_object*); @@ -87,7 +96,9 @@ static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__5; static lean_object* l_Lean_Parser_Module_moduleTk___closed__6; static lean_object* l_Lean_Parser_Module_private___closed__1; static lean_object* l_Lean_Parser_testParseModule___closed__0; +lean_object* l_Lean_Parser_orelse(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__23(lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_header___closed__8; @@ -99,10 +110,8 @@ static lean_object* l_Lean_Parser_Module_import___closed__1; static lean_object* l_Lean_Parser_Module_prelude_formatter___closed__1; static lean_object* l_Lean_Parser_testParseModuleAux_parse___closed__1; static lean_object* l_Lean_Parser_Module_prelude_parenthesizer___closed__0; -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__51___closed__0; static lean_object* l_Lean_Parser_Module_header___closed__14; static lean_object* l_Lean_Parser_Module_header___closed__10; -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__63___closed__0; 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*); static lean_object* l_Lean_Parser_Module_private___closed__4; @@ -118,7 +127,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_testParseModuleAux_parse___lam__0(uint8_t static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___closed__2; static lean_object* l_Lean_Parser_Module_import___closed__2; lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__51(lean_object*); uint8_t l_Lean_Syntax_isAntiquot(lean_object*); static lean_object* l_Lean_Parser_Module_private___closed__3; size_t lean_usize_of_nat(lean_object*); @@ -134,6 +142,7 @@ static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_ static lean_object* l_Lean_Parser_Module_all___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Module_private_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_header___closed__15; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_formatter__15(lean_object*); LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Parser_parseCommand_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_moduleTk_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Module_prelude___closed__3; @@ -142,16 +151,16 @@ lean_object* l_Lean_Parser_commandParser_parenthesizer(lean_object*, lean_object LEAN_EXPORT lean_object* l_Lean_MessageLog_forM___at___Lean_Parser_testParseModuleAux_parse_spec__0___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_all___closed__3; static lean_object* l_Lean_Parser_Module_header___closed__2; +static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__7; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_formatter__15___closed__0; static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_formatter__11___closed__0; static lean_object* l_Lean_Parser_Module_module___closed__7; static lean_object* l_Lean_Parser_Module_private___closed__6; -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__63(lean_object*); static lean_object* l_Lean_Parser_Module_header_formatter___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_testParseModuleAux_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_header___closed__13; -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__19(lean_object*); static lean_object* l_Lean_Parser_Module_prelude_parenthesizer___closed__1; -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__43___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__19(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Module_private; LEAN_EXPORT lean_object* l_Lean_Parser_Module_moduleTk_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_moduleTk___closed__9; @@ -176,7 +185,6 @@ static lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Module_moduleTk___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Module_moduleTk_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ppLine_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__2; lean_object* l_Lean_Parser_mkInputContext(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -189,12 +197,15 @@ LEAN_EXPORT lean_object* l_Subarray_findSomeRevM_x3f_find___at_____private_Lean_ lean_object* l_Lean_Parser_symbol(lean_object*); static lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Module_moduleTk___closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__43(lean_object*); lean_object* l_Lean_Parser_symbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isMissing(lean_object*); static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___closed__1; lean_object* l_Lean_Parser_SyntaxStack_toSubarray(lean_object*); lean_object* l_Subarray_get___redArg(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_public_parenthesizer___closed__2; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__35___closed__0; static lean_object* l_Lean_Parser_Module_all_parenthesizer___closed__1; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_formatter__3___closed__1; @@ -205,7 +216,7 @@ static lean_object* l_Lean_Parser_Module_header_formatter___closed__2; lean_object* l_Lean_Parser_symbol_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_isTerminalCommand___closed__2; lean_object* l_Lean_Parser_withAntiquot(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__43(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__63(lean_object*); static lean_object* l_Lean_Parser_Module_private___closed__5; static lean_object* l_Lean_Parser_Module_moduleTk_formatter___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Module_all; @@ -215,33 +226,30 @@ lean_object* l_Lean_Parser_many_formatter(lean_object*, lean_object*, lean_objec lean_object* l_Lean_Syntax_getTailInfo(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__4; -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__55(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forMAux___at___Lean_PersistentArray_forM___at___Lean_MessageLog_forM___at___Lean_Parser_testParseModuleAux_parse_spec__0_spec__0_spec__0(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__5; static lean_object* l_Lean_Parser_Module_meta___closed__6; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_PersistentArray_forMAux___at___Lean_PersistentArray_forM___at___Lean_MessageLog_forM___at___Lean_Parser_testParseModuleAux_parse_spec__0_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_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__23(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Module_updateTokens(lean_object*); static lean_object* l_Lean_Parser_Module_all_formatter___closed__0; static lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__3; static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_formatter__3___closed__0; static lean_object* l_Lean_Parser_Module_meta___closed__4; -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__47(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Module_meta_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_println___at___Lean_Environment_displayStats_spec__2(lean_object*, lean_object*); lean_object* l_Lean_Parser_andthen(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_testParseFile(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__59___closed__0; static lean_object* l_Lean_Parser_Module_header___closed__3; static lean_object* l_Lean_Parser_testParseModuleAux_parse___closed__0; -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__15(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__71(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedModuleParserState; -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__15___closed__0; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__23___closed__0; lean_object* l_Lean_Parser_atomic(lean_object*); static lean_object* l_Lean_Parser_Module_header___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Module_import_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_commandParser_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__55(lean_object*); static lean_object* l_Lean_Parser_Module_import___closed__4; static lean_object* l_Lean_Parser_Module_meta_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__6; @@ -250,9 +258,13 @@ lean_object* l_Lean_Parser_many(lean_object*); static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__2; static lean_object* l_Lean_Parser_Module_private___closed__0; static lean_object* l_Lean_Parser_Module_meta_parenthesizer___closed__0; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__59___closed__0; +static lean_object* l_Lean_Parser_Module_import___closed__16; static lean_object* l_Lean_Parser_Module_module___closed__0; uint8_t l_Option_beqOption____x40_Init_Data_Option_Basic___hyg_160____at___Lean_Parser_ParserState_mkNode_spec__0(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__23___closed__0; +static lean_object* l_Lean_Parser_Module_public___closed__2; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__43___closed__0; +static lean_object* l_Lean_Parser_Module_public___closed__4; lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_import___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -264,7 +276,10 @@ static lean_object* l_Lean_Parser_Module_module_formatter___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Module_all_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_prelude_formatter___closed__0; static lean_object* l_Lean_Parser_Module_import___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_public; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__27___closed__0; static lean_object* l_Lean_Parser_Module_moduleTk_parenthesizer___closed__1; +static lean_object* l_Lean_Parser_Module_public___closed__1; static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_PersistentArray_forMAux___at___Lean_PersistentArray_forM___at___Lean_MessageLog_forM___at___Lean_Parser_testParseModuleAux_parse_spec__0_spec__0_spec__0_spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -273,24 +288,25 @@ static lean_object* l_Lean_Parser_Module_import___closed__8; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_module_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Module_header_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__27(lean_object*); static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__4; static lean_object* l_Lean_Parser_Module_moduleTk_parenthesizer___closed__0; static lean_object* l_Lean_Parser_parseHeader___closed__1; static lean_object* l_Lean_Parser_Module_header___closed__5; lean_object* l_Lean_Parser_withCache(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__59(lean_object*); static lean_object* l_Lean_Parser_Module_import_formatter___closed__0; LEAN_EXPORT lean_object* l_Array_forIn_x27Unsafe_loop___at___Lean_Parser_parseHeader_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_skip; static lean_object* l_Lean_Parser_Module_moduleTk___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__27(lean_object*); static lean_object* l_Lean_Parser_parseHeader___closed__4; lean_object* l_Lean_Parser_identWithPartialTrailingDot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_header_formatter___closed__4; static lean_object* l_Lean_Parser_Module_all___closed__1; -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__39(lean_object*); static lean_object* l_Lean_Parser_Module_import___closed__7; static lean_object* l_Lean_Parser_Module_updateTokens___closed__2; +static lean_object* l_Lean_Parser_Module_public___closed__3; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__63___closed__0; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__35(lean_object*); static lean_object* l_Lean_Parser_Module_header___closed__6; static lean_object* l_Lean_Parser_Module_meta_formatter___closed__2; LEAN_EXPORT lean_object* l_Lean_MessageLog_forM___at___Lean_Parser_testParseModuleAux_parse_spec__0(lean_object*, lean_object*, lean_object*); @@ -308,25 +324,29 @@ static lean_object* l_Lean_Parser_Module_header___closed__0; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_PersistentArray_forMAux___at___Lean_PersistentArray_forM___at___Lean_MessageLog_forM___at___Lean_Parser_testParseModuleAux_parse_spec__0_spec__0_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getRange_x3f(lean_object*, uint8_t); lean_object* l_Lean_PrettyPrinter_Formatter_andthen_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_meta_formatter___closed__0; LEAN_EXPORT lean_object* l_Subarray_findSomeRevM_x3f_find___at_____private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage_lastTrailing_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Module_header; LEAN_EXPORT lean_object* l_Lean_Parser_Module_prelude_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__7; static lean_object* l_Lean_Parser_Module_private_parenthesizer___closed__0; +static lean_object* l_Lean_Parser_Module_public_formatter___closed__2; lean_object* l_Subarray_size___redArg(lean_object*); -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__27___closed__0; static lean_object* l_Lean_Parser_Module_import_formatter___closed__3; static lean_object* l_Lean_Parser_Module_import___closed__14; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__71___closed__0; static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__2; static lean_object* l_Lean_Parser_Module_all___closed__5; -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__67(lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Module_import_parenthesizer___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_testParseModule___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___Lean_PersistentArray_forMAux___at___Lean_PersistentArray_forM___at___Lean_MessageLog_forM___at___Lean_Parser_testParseModuleAux_parse_spec__0_spec__0_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_parenthesizer__51___closed__0; static lean_object* l_Lean_Parser_parseHeader___closed__2; lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t, uint8_t); static lean_object* l_Lean_Parser_Module_header_formatter___closed__11; @@ -337,19 +357,21 @@ LEAN_EXPORT lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMe lean_object* l_Lean_mkListNode(lean_object*); static lean_object* l_Lean_Parser_Module_module_formatter___closed__5; static lean_object* l_Lean_Parser_Module_all_formatter___closed__2; +static lean_object* l_Lean_Parser_Module_public_formatter___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Module_moduleTk; lean_object* l_Lean_Name_mkStr1(lean_object*); -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__19___closed__0; extern lean_object* l_Lean_PrettyPrinter_formatterAttribute; static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_mkEOI___closed__3; lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__31___closed__0; static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_consumeInput___closed__0; LEAN_EXPORT lean_object* l_Subarray_findSomeRevM_x3f_find___at_____private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage_lastTrailing_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_formatter__3(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__31(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Module_public_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Parser_Module_import___closed__12; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__59(lean_object*); static lean_object* l_Lean_Parser_Module_import___closed__13; LEAN_EXPORT lean_object* l_Lean_Parser_Module_import_formatter___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Parser_Module_0__Lean_Parser_consumeInput___closed__1; @@ -363,19 +385,22 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Module_private_parenthesizer(lean_object* lean_object* l_Char_utf8Size(uint32_t); lean_object* lean_mk_empty_environment(uint32_t, lean_object*); static lean_object* l_Lean_Parser_Module_module_parenthesizer___closed__6; +static lean_object* l_Lean_Parser_Module_public___closed__6; static lean_object* l_Lean_Parser_Module_header___closed__11; LEAN_EXPORT lean_object* l_Lean_Parser_Module_meta; -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1; +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_parenthesizer__51(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_public_formatter___closed__1; static lean_object* l_Lean_Parser_Module_module_formatter___closed__6; static lean_object* l_Lean_Parser_Module_import_parenthesizer___closed__4; +static lean_object* l_Lean_Parser_Module_public_parenthesizer___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Module_module_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Module_prelude_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_parseCommand(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Module_public___closed__5; static lean_object* l_Lean_Parser_Module_updateTokens___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Module_module_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_testParseModule(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__39___closed__0; static lean_object* l_Lean_Parser_Module_meta___closed__1; static lean_object* l_Lean_Parser_Module_prelude___closed__6; static lean_object* l_Lean_Parser_Module_prelude___closed__5; @@ -383,14 +408,14 @@ static lean_object* l_Lean_Parser_Module_meta___closed__0; static lean_object* l_Lean_Parser_parseHeader___closed__3; static lean_object* l_Lean_Parser_Module_import___closed__11; lean_object* l_Lean_Parser_SyntaxStack_back(lean_object*); -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__55___closed__0; +static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__67___closed__0; LEAN_EXPORT lean_object* l_Lean_Parser_Module_prelude; static lean_object* l_Lean_Parser_Module_private_parenthesizer___closed__1; static lean_object* l_Lean_Parser_Module_module___closed__6; -static lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0; static lean_object* l_Lean_Parser_Module_moduleTk___closed__2; lean_object* l_Lean_MessageLog_add(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Module_private_formatter___closed__0; +static lean_object* l_Lean_Parser_Module_import_formatter___closed__7; static lean_object* l_Lean_Parser_Module_all___closed__0; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forM___at___Lean_MessageLog_forM___at___Lean_Parser_testParseModuleAux_parse_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Message_toString(lean_object*, uint8_t, lean_object*); @@ -672,6 +697,87 @@ x_1 = l_Lean_Parser_Module_private___closed__6; return x_1; } } +static lean_object* _init_l_Lean_Parser_Module_public___closed__0() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_unchecked("public", 6, 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Module_public___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Module_public___closed__0; +x_2 = l_Lean_Parser_Module_moduleTk___closed__2; +x_3 = l_Lean_Parser_Module_moduleTk___closed__1; +x_4 = l_Lean_Parser_Module_moduleTk___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_Parser_Module_public___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Module_public___closed__1; +x_3 = l_Lean_Parser_Module_public___closed__0; +x_4 = lean_unbox(x_1); +x_5 = lean_unbox(x_1); +x_6 = l_Lean_Parser_mkAntiquot(x_3, x_2, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Parser_Module_public___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_public___closed__0; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_public___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Module_public___closed__3; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Module_public___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Module_public___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_public___closed__4; +x_2 = l_Lean_Parser_Module_public___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_public___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_public___closed__5; +x_2 = l_Lean_Parser_Module_public___closed__1; +x_3 = l_Lean_Parser_withCache(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_public() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Module_public___closed__6; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Module_meta___closed__0() { _start: { @@ -871,13 +977,23 @@ return x_7; static lean_object* _init_l_Lean_Parser_Module_import___closed__3() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_public; +x_2 = l_Lean_Parser_Module_private; +x_3 = l_Lean_Parser_orelse(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Module_private; +x_1 = l_Lean_Parser_Module_import___closed__3; x_2 = l_Lean_Parser_optional(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Module_import___closed__4() { +static lean_object* _init_l_Lean_Parser_Module_import___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -886,7 +1002,7 @@ x_2 = l_Lean_Parser_optional(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Module_import___closed__5() { +static lean_object* _init_l_Lean_Parser_Module_import___closed__6() { _start: { lean_object* x_1; @@ -894,23 +1010,13 @@ x_1 = lean_mk_string_unchecked("import ", 7, 7); return x_1; } } -static lean_object* _init_l_Lean_Parser_Module_import___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Module_import___closed__5; -x_2 = l_Lean_Parser_symbol(x_1); -return x_2; -} -} static lean_object* _init_l_Lean_Parser_Module_import___closed__7() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Parser_Module_import___closed__6; -x_2 = l_Lean_Parser_Module_import___closed__4; -x_3 = l_Lean_Parser_andthen(x_2, x_1); -return x_3; +x_2 = l_Lean_Parser_symbol(x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Module_import___closed__8() { @@ -918,7 +1024,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import___closed__7; -x_2 = l_Lean_Parser_Module_import___closed__3; +x_2 = l_Lean_Parser_Module_import___closed__5; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -926,13 +1032,23 @@ return x_3; static lean_object* _init_l_Lean_Parser_Module_import___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import___closed__8; +x_2 = l_Lean_Parser_Module_import___closed__4; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_import___closed__9; x_2 = l_Lean_Parser_atomic(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Module_import___closed__10() { +static lean_object* _init_l_Lean_Parser_Module_import___closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -941,22 +1057,12 @@ x_2 = l_Lean_Parser_optional(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Module_import___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_identWithPartialTrailingDot; -x_2 = l_Lean_Parser_Module_import___closed__10; -x_3 = l_Lean_Parser_andthen(x_2, x_1); -return x_3; -} -} static lean_object* _init_l_Lean_Parser_Module_import___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Module_import___closed__11; -x_2 = l_Lean_Parser_Module_import___closed__9; +x_1 = l_Lean_Parser_identWithPartialTrailingDot; +x_2 = l_Lean_Parser_Module_import___closed__11; x_3 = l_Lean_Parser_andthen(x_2, x_1); return x_3; } @@ -964,22 +1070,22 @@ return x_3; static lean_object* _init_l_Lean_Parser_Module_import___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import___closed__12; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Module_import___closed__1; -x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); -return x_4; +x_2 = l_Lean_Parser_Module_import___closed__10; +x_3 = l_Lean_Parser_andthen(x_2, x_1); +return x_3; } } static lean_object* _init_l_Lean_Parser_Module_import___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Module_import___closed__13; -x_2 = l_Lean_Parser_Module_import___closed__2; -x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); -return x_3; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Module_import___closed__1; +x_4 = l_Lean_Parser_leadingNode(x_3, x_2, x_1); +return x_4; } } static lean_object* _init_l_Lean_Parser_Module_import___closed__15() { @@ -987,6 +1093,16 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Module_import___closed__14; +x_2 = l_Lean_Parser_Module_import___closed__2; +x_3 = l_Lean_Parser_withAntiquot(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Module_import___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Module_import___closed__15; x_2 = l_Lean_Parser_Module_import___closed__1; x_3 = l_Lean_Parser_withCache(x_2, x_1); return x_3; @@ -996,7 +1112,7 @@ static lean_object* _init_l_Lean_Parser_Module_import() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Module_import___closed__15; +x_1 = l_Lean_Parser_Module_import___closed__16; return x_1; } } @@ -1409,6 +1525,80 @@ x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; } } +static lean_object* _init_l_Lean_Parser_Module_public_formatter___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Module_public___closed__1; +x_3 = l_Lean_Parser_Module_public___closed__0; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 9, 4); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +lean_closure_set(x_4, 3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Module_public_formatter___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_public___closed__0; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_public_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Module_public_formatter___closed__1; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Module_public___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Module_public_formatter(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Module_public_formatter___closed__0; +x_7 = l_Lean_Parser_Module_public_formatter___closed__2; +x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_formatter__15___closed__0() { +_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_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_formatter__3___closed__1; +x_2 = l_Lean_Parser_Module_public___closed__0; +x_3 = l_Lean_Parser_Module_moduleTk___closed__2; +x_4 = l_Lean_Parser_Module_moduleTk___closed__1; +x_5 = l_Lean_Parser_Module_moduleTk___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_formatter__15(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_formatter__3___closed__0; +x_3 = l_Lean_Parser_Module_public___closed__1; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_formatter__15___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_public_formatter), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} static lean_object* _init_l_Lean_Parser_Module_meta_formatter___closed__0() { _start: { @@ -1458,7 +1648,7 @@ x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x return x_8; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__15___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__19___closed__0() { _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; @@ -1471,13 +1661,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__15(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__19(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_formatter__3___closed__0; x_3 = l_Lean_Parser_Module_meta___closed__1; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__15___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__19___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_meta_formatter), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -1532,7 +1722,7 @@ x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x return x_8; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__19___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__23___closed__0() { _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; @@ -1545,13 +1735,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__19(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__23(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_formatter__3___closed__0; x_3 = l_Lean_Parser_Module_all___closed__1; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__19___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__23___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_all_formatter), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -1584,18 +1774,20 @@ return x_5; static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Module_private_formatter), 5, 0); -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Module_public_formatter), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Module_private_formatter), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Module_meta_formatter), 5, 0); +x_1 = l_Lean_Parser_Module_import_formatter___closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -1605,8 +1797,8 @@ static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Module_import___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Module_meta_formatter), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -1614,16 +1806,26 @@ return x_2; static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_import___closed__6; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Module_import_formatter___closed__3; -x_2 = l_Lean_Parser_Module_import_formatter___closed__2; +x_1 = l_Lean_Parser_Module_import_formatter___closed__4; +x_2 = l_Lean_Parser_Module_import_formatter___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__5() { +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -1633,12 +1835,12 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__6() { +static lean_object* _init_l_Lean_Parser_Module_import_formatter___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_identWithPartialTrailingDot_formatter), 5, 0); -x_2 = l_Lean_Parser_Module_import_formatter___closed__5; +x_2 = l_Lean_Parser_Module_import_formatter___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -1652,12 +1854,12 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_obj x_6 = l_Lean_Parser_Module_import___closed__1; x_7 = l_Lean_Parser_Module_import_formatter___closed__0; x_8 = lean_unsigned_to_nat(1024u); -x_9 = l_Lean_Parser_Module_import_formatter___closed__1; -x_10 = l_Lean_Parser_Module_import_formatter___closed__4; +x_9 = l_Lean_Parser_Module_import_formatter___closed__2; +x_10 = l_Lean_Parser_Module_import_formatter___closed__5; x_11 = lean_alloc_closure((void*)(l_Lean_Parser_Module_import_formatter___lam__0), 7, 2); lean_closure_set(x_11, 0, x_9); lean_closure_set(x_11, 1, x_10); -x_12 = l_Lean_Parser_Module_import_formatter___closed__6; +x_12 = l_Lean_Parser_Module_import_formatter___closed__7; x_13 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_13, 0, x_11); lean_closure_set(x_13, 1, x_12); @@ -1669,7 +1871,7 @@ x_15 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_7, x_14, x_1, x_2, x_3, return x_15; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__23___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__27___closed__0() { _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; @@ -1682,13 +1884,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__23(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__27(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_formatter__3___closed__0; x_3 = l_Lean_Parser_Module_import___closed__1; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__23___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__27___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_import_formatter), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -1848,7 +2050,7 @@ x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x return x_8; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__27___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__31___closed__0() { _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; @@ -1861,13 +2063,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__27(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__31(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_formatter__3___closed__0; x_3 = l_Lean_Parser_Module_header___closed__1; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__27___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__31___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_header_formatter), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -1969,7 +2171,7 @@ x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x return x_8; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__31___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__35___closed__0() { _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; @@ -1982,13 +2184,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__31(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__35(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_formatter__3___closed__0; x_3 = l_Lean_Parser_Module_module_formatter___closed__0; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__31___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__35___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_module_formatter), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -2044,7 +2246,7 @@ x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_ return x_8; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0() { _start: { lean_object* x_1; @@ -2052,7 +2254,7 @@ x_1 = l_Lean_PrettyPrinter_parenthesizerAttribute; return x_1; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1() { _start: { lean_object* x_1; @@ -2060,11 +2262,11 @@ x_1 = lean_mk_string_unchecked("parenthesizer", 13, 13); return x_1; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__2() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_1 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1; +x_1 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1; x_2 = l_Lean_Parser_Module_moduleTk___closed__3; x_3 = l_Lean_Parser_Module_moduleTk___closed__2; x_4 = l_Lean_Parser_Module_moduleTk___closed__1; @@ -2073,13 +2275,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0; +x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0; x_3 = l_Lean_Parser_Module_moduleTk___closed__4; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__2; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__2; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_moduleTk_parenthesizer), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -2135,11 +2337,11 @@ x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_ return x_8; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__39___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__43___closed__0() { _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_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1; +x_1 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1; x_2 = l_Lean_Parser_Module_prelude___closed__0; x_3 = l_Lean_Parser_Module_moduleTk___closed__2; x_4 = l_Lean_Parser_Module_moduleTk___closed__1; @@ -2148,13 +2350,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__39(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__43(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0; +x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0; x_3 = l_Lean_Parser_Module_prelude___closed__1; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__39___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__43___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_prelude_parenthesizer), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -2209,11 +2411,11 @@ x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_ return x_8; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__43___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__47___closed__0() { _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_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1; +x_1 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1; x_2 = l_Lean_Parser_Module_private___closed__0; x_3 = l_Lean_Parser_Module_moduleTk___closed__2; x_4 = l_Lean_Parser_Module_moduleTk___closed__1; @@ -2222,18 +2424,92 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__43(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__47(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0; +x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0; x_3 = l_Lean_Parser_Module_private___closed__1; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__43___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__47___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_private_parenthesizer), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; } } +static lean_object* _init_l_Lean_Parser_Module_public_parenthesizer___closed__0() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Module_public___closed__1; +x_3 = l_Lean_Parser_Module_public___closed__0; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___boxed), 9, 4); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +lean_closure_set(x_4, 3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Module_public_parenthesizer___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_public___closed__0; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_public_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Module_public_parenthesizer___closed__1; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Module_public___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer), 8, 3); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +lean_closure_set(x_4, 2, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Module_public_parenthesizer(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_6 = l_Lean_Parser_Module_public_parenthesizer___closed__0; +x_7 = l_Lean_Parser_Module_public_parenthesizer___closed__2; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +return x_8; +} +} +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_parenthesizer__51___closed__0() { +_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_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1; +x_2 = l_Lean_Parser_Module_public___closed__0; +x_3 = l_Lean_Parser_Module_moduleTk___closed__2; +x_4 = l_Lean_Parser_Module_moduleTk___closed__1; +x_5 = l_Lean_Parser_Module_moduleTk___closed__0; +x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_parenthesizer__51(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0; +x_3 = l_Lean_Parser_Module_public___closed__1; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_parenthesizer__51___closed__0; +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_public_parenthesizer), 5, 0); +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} static lean_object* _init_l_Lean_Parser_Module_meta_parenthesizer___closed__0() { _start: { @@ -2283,11 +2559,11 @@ x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_ return x_8; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__47___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__55___closed__0() { _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_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1; +x_1 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1; x_2 = l_Lean_Parser_Module_meta___closed__0; x_3 = l_Lean_Parser_Module_moduleTk___closed__2; x_4 = l_Lean_Parser_Module_moduleTk___closed__1; @@ -2296,13 +2572,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__47(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__55(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0; +x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0; x_3 = l_Lean_Parser_Module_meta___closed__1; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__47___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__55___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_meta_parenthesizer), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -2357,11 +2633,11 @@ x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_ return x_8; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__51___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__59___closed__0() { _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_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1; +x_1 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1; x_2 = l_Lean_Parser_Module_all___closed__0; x_3 = l_Lean_Parser_Module_moduleTk___closed__2; x_4 = l_Lean_Parser_Module_moduleTk___closed__1; @@ -2370,13 +2646,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__51(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__59(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0; +x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0; x_3 = l_Lean_Parser_Module_all___closed__1; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__51___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__59___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_all_parenthesizer), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -2409,18 +2685,20 @@ return x_5; static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Module_private_parenthesizer), 5, 0); -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Module_public_parenthesizer), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_Module_private_parenthesizer), 5, 0); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_2); +lean_closure_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Module_meta_parenthesizer), 5, 0); +x_1 = l_Lean_Parser_Module_import_parenthesizer___closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -2430,8 +2708,8 @@ static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__3( _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Module_import___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer___boxed), 6, 1); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Module_meta_parenthesizer), 5, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2439,16 +2717,26 @@ return x_2; static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Module_import___closed__6; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_symbol_parenthesizer___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Module_import_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Module_import_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__5() { +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -2458,12 +2746,12 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__6() { +static lean_object* _init_l_Lean_Parser_Module_import_parenthesizer___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_identWithPartialTrailingDot_parenthesizer), 5, 0); -x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__5; +x_2 = l_Lean_Parser_Module_import_parenthesizer___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_2); lean_closure_set(x_3, 1, x_1); @@ -2477,12 +2765,12 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_obj x_6 = l_Lean_Parser_Module_import___closed__1; x_7 = l_Lean_Parser_Module_import_parenthesizer___closed__0; x_8 = lean_unsigned_to_nat(1024u); -x_9 = l_Lean_Parser_Module_import_parenthesizer___closed__1; -x_10 = l_Lean_Parser_Module_import_parenthesizer___closed__4; +x_9 = l_Lean_Parser_Module_import_parenthesizer___closed__2; +x_10 = l_Lean_Parser_Module_import_parenthesizer___closed__5; x_11 = lean_alloc_closure((void*)(l_Lean_Parser_Module_import_parenthesizer___lam__0), 7, 2); lean_closure_set(x_11, 0, x_9); lean_closure_set(x_11, 1, x_10); -x_12 = l_Lean_Parser_Module_import_parenthesizer___closed__6; +x_12 = l_Lean_Parser_Module_import_parenthesizer___closed__7; x_13 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_13, 0, x_11); lean_closure_set(x_13, 1, x_12); @@ -2494,11 +2782,11 @@ x_15 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_7, x_14, return x_15; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__55___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__63___closed__0() { _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_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1; +x_1 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1; x_2 = l_Lean_Parser_Module_import___closed__0; x_3 = l_Lean_Parser_Module_moduleTk___closed__2; x_4 = l_Lean_Parser_Module_moduleTk___closed__1; @@ -2507,13 +2795,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__55(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__63(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0; +x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0; x_3 = l_Lean_Parser_Module_import___closed__1; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__55___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__63___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_import_parenthesizer), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -2604,11 +2892,11 @@ lean_dec(x_1); return x_6; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__59___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__67___closed__0() { _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_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1; +x_1 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1; x_2 = l_Lean_Parser_Module_header___closed__0; x_3 = l_Lean_Parser_Module_moduleTk___closed__2; x_4 = l_Lean_Parser_Module_moduleTk___closed__1; @@ -2617,13 +2905,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__59(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__67(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0; +x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0; x_3 = l_Lean_Parser_Module_header___closed__1; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__59___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__67___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_header_parenthesizer), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -2732,11 +3020,11 @@ x_8 = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(x_6, x_7, x_ return x_8; } } -static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__63___closed__0() { +static lean_object* _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__71___closed__0() { _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_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1; +x_1 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1; x_2 = l_Lean_Parser_Module_moduleTk___closed__6; x_3 = l_Lean_Parser_Module_moduleTk___closed__2; x_4 = l_Lean_Parser_Module_moduleTk___closed__1; @@ -2745,13 +3033,13 @@ x_6 = l_Lean_Name_mkStr5(x_5, x_4, x_3, x_2, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__63(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__71(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0; +x_2 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0; x_3 = l_Lean_Parser_Module_module_formatter___closed__0; -x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__63___closed__0; +x_4 = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__71___closed__0; x_5 = lean_alloc_closure((void*)(l_Lean_Parser_Module_module_parenthesizer), 5, 0); x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(x_2, x_3, x_4, x_5, x_1); return x_6; @@ -2913,7 +3201,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_Parser_Module_updateTokens___closed__2; x_2 = lean_unsigned_to_nat(26u); -x_3 = lean_unsigned_to_nat(38u); +x_3 = lean_unsigned_to_nat(40u); x_4 = l_Lean_Parser_Module_updateTokens___closed__1; x_5 = l_Lean_Parser_Module_updateTokens___closed__0; x_6 = l_mkPanicMessageWithDecl(x_5, x_4, x_3, x_2, x_1); @@ -3248,8 +3536,8 @@ if (lean_obj_tag(x_13) == 0) { lean_object* x_14; lean_object* x_15; x_14 = lean_box(0); -x_15 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lam__0(x_1, x_12, x_9, x_7, x_14); -lean_dec(x_7); +x_15 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lam__0(x_1, x_12, x_7, x_9, x_14); +lean_dec(x_9); return x_15; } else @@ -3263,23 +3551,23 @@ lean_inc(x_17); x_18 = lean_ctor_get(x_16, 2); lean_inc(x_18); lean_dec(x_16); -x_19 = lean_nat_dec_eq(x_18, x_7); +x_19 = lean_nat_dec_eq(x_18, x_9); lean_dec(x_18); if (x_19 == 0) { lean_object* x_20; lean_object* x_21; lean_dec(x_17); x_20 = lean_box(0); -x_21 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lam__0(x_1, x_12, x_9, x_7, x_20); -lean_dec(x_7); +x_21 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lam__0(x_1, x_12, x_7, x_9, x_20); +lean_dec(x_9); return x_21; } else { lean_object* x_22; lean_object* x_23; -lean_dec(x_7); +lean_dec(x_9); x_22 = lean_box(0); -x_23 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lam__0(x_1, x_12, x_9, x_17, x_22); +x_23 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___lam__0(x_1, x_12, x_7, x_17, x_22); lean_dec(x_17); return x_23; } @@ -3298,9 +3586,9 @@ x_31 = lean_string_append(x_30, x_29); lean_dec(x_29); x_32 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___closed__1; x_33 = lean_string_append(x_31, x_32); -x_7 = x_28; +x_7 = x_27; x_8 = x_26; -x_9 = x_27; +x_9 = x_28; x_10 = x_25; x_11 = x_33; goto block_24; @@ -3309,9 +3597,9 @@ case 3: { lean_object* x_34; x_34 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___closed__2; -x_7 = x_28; +x_7 = x_27; x_8 = x_26; -x_9 = x_27; +x_9 = x_28; x_10 = x_25; x_11 = x_34; goto block_24; @@ -3320,9 +3608,9 @@ default: { lean_object* x_35; x_35 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage___closed__3; -x_7 = x_28; +x_7 = x_27; x_8 = x_26; -x_9 = x_27; +x_9 = x_28; x_10 = x_25; x_11 = x_35; goto block_24; @@ -3521,10 +3809,10 @@ if (x_42 == 0) lean_object* x_43; uint8_t x_44; x_43 = lean_box(1); x_44 = lean_unbox(x_43); -x_3 = x_38; -x_4 = x_31; -x_5 = x_37; -x_6 = x_39; +x_3 = x_31; +x_4 = x_38; +x_5 = x_39; +x_6 = x_37; x_7 = x_44; goto block_12; } @@ -3533,10 +3821,10 @@ else lean_object* x_45; uint8_t x_46; x_45 = lean_box(0); x_46 = lean_unbox(x_45); -x_3 = x_38; -x_4 = x_31; -x_5 = x_37; -x_6 = x_39; +x_3 = x_31; +x_4 = x_38; +x_5 = x_39; +x_6 = x_37; x_7 = x_46; goto block_12; } @@ -3569,17 +3857,17 @@ block_12: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_8 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 0, x_5); lean_ctor_set_uint8(x_8, sizeof(void*)*1, x_7); x_9 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_5); +lean_ctor_set(x_9, 1, x_6); x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_4); +lean_ctor_set(x_10, 0, x_3); lean_ctor_set(x_10, 1, x_9); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_3); +lean_ctor_set(x_11, 1, x_4); return x_11; } } @@ -4011,12 +4299,12 @@ block_50: lean_object* x_43; lean_object* x_44; lean_inc(x_34); lean_inc(x_1); -x_43 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage(x_1, x_35, x_34, x_42); +x_43 = l___private_Lean_Parser_Module_0__Lean_Parser_mkErrorMessage(x_1, x_35, x_34, x_41); x_44 = l_Lean_MessageLog_add(x_43, x_39); if (x_40 == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_dec(x_38); +lean_dec(x_42); lean_dec(x_2); lean_dec(x_1); x_45 = lean_box(1); @@ -4034,7 +4322,7 @@ if (lean_is_scalar(x_18)) { } else { x_48 = x_18; } -lean_ctor_set(x_48, 0, x_41); +lean_ctor_set(x_48, 0, x_38); lean_ctor_set(x_48, 1, x_47); if (lean_is_scalar(x_16)) { x_49 = lean_alloc_ctor(0, 2, 0); @@ -4051,9 +4339,9 @@ lean_dec(x_34); lean_dec(x_21); lean_dec(x_18); lean_dec(x_16); -x_4 = x_41; +x_4 = x_38; x_5 = x_44; -x_6 = x_38; +x_6 = x_42; goto block_12; } } @@ -4061,22 +4349,22 @@ block_57: { if (x_53 == 0) { -x_38 = x_51; -x_39 = x_52; +x_38 = x_52; +x_39 = x_51; x_40 = x_56; -x_41 = x_55; -x_42 = x_54; +x_41 = x_54; +x_42 = x_55; goto block_50; } else { if (x_56 == 0) { -x_38 = x_51; -x_39 = x_52; +x_38 = x_52; +x_39 = x_51; x_40 = x_56; -x_41 = x_55; -x_42 = x_54; +x_41 = x_54; +x_42 = x_55; goto block_50; } else @@ -4087,9 +4375,9 @@ lean_dec(x_34); lean_dec(x_21); lean_dec(x_18); lean_dec(x_16); -x_4 = x_55; -x_5 = x_52; -x_6 = x_51; +x_4 = x_52; +x_5 = x_51; +x_6 = x_55; goto block_12; } } @@ -4109,33 +4397,33 @@ if (lean_obj_tag(x_65) == 0) lean_object* x_66; uint8_t x_67; x_66 = lean_box(1); x_67 = lean_unbox(x_66); -x_51 = x_62; -x_52 = x_59; +x_51 = x_59; +x_52 = x_60; x_53 = x_61; x_54 = x_58; -x_55 = x_60; +x_55 = x_62; x_56 = x_67; goto block_57; } else { lean_dec(x_65); -x_51 = x_62; -x_52 = x_59; +x_51 = x_59; +x_52 = x_60; x_53 = x_61; x_54 = x_58; -x_55 = x_60; +x_55 = x_62; x_56 = x_63; goto block_57; } } else { -x_51 = x_62; -x_52 = x_59; +x_51 = x_59; +x_52 = x_60; x_53 = x_61; x_54 = x_58; -x_55 = x_60; +x_55 = x_62; x_56 = x_63; goto block_57; } @@ -5380,6 +5668,22 @@ l_Lean_Parser_Module_private___closed__6 = _init_l_Lean_Parser_Module_private___ lean_mark_persistent(l_Lean_Parser_Module_private___closed__6); l_Lean_Parser_Module_private = _init_l_Lean_Parser_Module_private(); lean_mark_persistent(l_Lean_Parser_Module_private); +l_Lean_Parser_Module_public___closed__0 = _init_l_Lean_Parser_Module_public___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_public___closed__0); +l_Lean_Parser_Module_public___closed__1 = _init_l_Lean_Parser_Module_public___closed__1(); +lean_mark_persistent(l_Lean_Parser_Module_public___closed__1); +l_Lean_Parser_Module_public___closed__2 = _init_l_Lean_Parser_Module_public___closed__2(); +lean_mark_persistent(l_Lean_Parser_Module_public___closed__2); +l_Lean_Parser_Module_public___closed__3 = _init_l_Lean_Parser_Module_public___closed__3(); +lean_mark_persistent(l_Lean_Parser_Module_public___closed__3); +l_Lean_Parser_Module_public___closed__4 = _init_l_Lean_Parser_Module_public___closed__4(); +lean_mark_persistent(l_Lean_Parser_Module_public___closed__4); +l_Lean_Parser_Module_public___closed__5 = _init_l_Lean_Parser_Module_public___closed__5(); +lean_mark_persistent(l_Lean_Parser_Module_public___closed__5); +l_Lean_Parser_Module_public___closed__6 = _init_l_Lean_Parser_Module_public___closed__6(); +lean_mark_persistent(l_Lean_Parser_Module_public___closed__6); +l_Lean_Parser_Module_public = _init_l_Lean_Parser_Module_public(); +lean_mark_persistent(l_Lean_Parser_Module_public); l_Lean_Parser_Module_meta___closed__0 = _init_l_Lean_Parser_Module_meta___closed__0(); lean_mark_persistent(l_Lean_Parser_Module_meta___closed__0); l_Lean_Parser_Module_meta___closed__1 = _init_l_Lean_Parser_Module_meta___closed__1(); @@ -5444,6 +5748,8 @@ l_Lean_Parser_Module_import___closed__14 = _init_l_Lean_Parser_Module_import___c lean_mark_persistent(l_Lean_Parser_Module_import___closed__14); l_Lean_Parser_Module_import___closed__15 = _init_l_Lean_Parser_Module_import___closed__15(); lean_mark_persistent(l_Lean_Parser_Module_import___closed__15); +l_Lean_Parser_Module_import___closed__16 = _init_l_Lean_Parser_Module_import___closed__16(); +lean_mark_persistent(l_Lean_Parser_Module_import___closed__16); l_Lean_Parser_Module_import = _init_l_Lean_Parser_Module_import(); lean_mark_persistent(l_Lean_Parser_Module_import); l_Lean_Parser_Module_header___closed__0 = _init_l_Lean_Parser_Module_header___closed__0(); @@ -5517,15 +5823,26 @@ lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_formatter__11(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +}l_Lean_Parser_Module_public_formatter___closed__0 = _init_l_Lean_Parser_Module_public_formatter___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_public_formatter___closed__0); +l_Lean_Parser_Module_public_formatter___closed__1 = _init_l_Lean_Parser_Module_public_formatter___closed__1(); +lean_mark_persistent(l_Lean_Parser_Module_public_formatter___closed__1); +l_Lean_Parser_Module_public_formatter___closed__2 = _init_l_Lean_Parser_Module_public_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Module_public_formatter___closed__2); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_formatter__15___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_formatter__15___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_formatter__15___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_formatter__15(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); }l_Lean_Parser_Module_meta_formatter___closed__0 = _init_l_Lean_Parser_Module_meta_formatter___closed__0(); lean_mark_persistent(l_Lean_Parser_Module_meta_formatter___closed__0); l_Lean_Parser_Module_meta_formatter___closed__1 = _init_l_Lean_Parser_Module_meta_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Module_meta_formatter___closed__1); l_Lean_Parser_Module_meta_formatter___closed__2 = _init_l_Lean_Parser_Module_meta_formatter___closed__2(); lean_mark_persistent(l_Lean_Parser_Module_meta_formatter___closed__2); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__15___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__15___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__15___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__15(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__19___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__19___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__19___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_formatter__19(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_all_formatter___closed__0 = _init_l_Lean_Parser_Module_all_formatter___closed__0(); @@ -5534,9 +5851,9 @@ l_Lean_Parser_Module_all_formatter___closed__1 = _init_l_Lean_Parser_Module_all_ lean_mark_persistent(l_Lean_Parser_Module_all_formatter___closed__1); l_Lean_Parser_Module_all_formatter___closed__2 = _init_l_Lean_Parser_Module_all_formatter___closed__2(); lean_mark_persistent(l_Lean_Parser_Module_all_formatter___closed__2); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__19___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__19___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__19___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__19(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__23___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__23___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__23___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_formatter__23(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_import_formatter___closed__0 = _init_l_Lean_Parser_Module_import_formatter___closed__0(); @@ -5553,9 +5870,11 @@ l_Lean_Parser_Module_import_formatter___closed__5 = _init_l_Lean_Parser_Module_i lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__5); l_Lean_Parser_Module_import_formatter___closed__6 = _init_l_Lean_Parser_Module_import_formatter___closed__6(); lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__6); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__23___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__23___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__23___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__23(lean_io_mk_world()); +l_Lean_Parser_Module_import_formatter___closed__7 = _init_l_Lean_Parser_Module_import_formatter___closed__7(); +lean_mark_persistent(l_Lean_Parser_Module_import_formatter___closed__7); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__27___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__27___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__27___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_formatter__27(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_header_formatter___closed__0 = _init_l_Lean_Parser_Module_header_formatter___closed__0(); @@ -5582,9 +5901,9 @@ l_Lean_Parser_Module_header_formatter___closed__10 = _init_l_Lean_Parser_Module_ lean_mark_persistent(l_Lean_Parser_Module_header_formatter___closed__10); l_Lean_Parser_Module_header_formatter___closed__11 = _init_l_Lean_Parser_Module_header_formatter___closed__11(); lean_mark_persistent(l_Lean_Parser_Module_header_formatter___closed__11); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__27___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__27___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__27___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__27(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__31___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__31___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__31___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_formatter__31(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_module_formatter___closed__0 = _init_l_Lean_Parser_Module_module_formatter___closed__0(); @@ -5601,9 +5920,9 @@ l_Lean_Parser_Module_module_formatter___closed__5 = _init_l_Lean_Parser_Module_m lean_mark_persistent(l_Lean_Parser_Module_module_formatter___closed__5); l_Lean_Parser_Module_module_formatter___closed__6 = _init_l_Lean_Parser_Module_module_formatter___closed__6(); lean_mark_persistent(l_Lean_Parser_Module_module_formatter___closed__6); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__31___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__31___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__31___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__31(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__35___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__35___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__35___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_formatter__35(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_moduleTk_parenthesizer___closed__0 = _init_l_Lean_Parser_Module_moduleTk_parenthesizer___closed__0(); @@ -5612,13 +5931,13 @@ l_Lean_Parser_Module_moduleTk_parenthesizer___closed__1 = _init_l_Lean_Parser_Mo lean_mark_persistent(l_Lean_Parser_Module_moduleTk_parenthesizer___closed__1); l_Lean_Parser_Module_moduleTk_parenthesizer___closed__2 = _init_l_Lean_Parser_Module_moduleTk_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Module_moduleTk_parenthesizer___closed__2); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__0); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__1); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__2 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__2(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35___closed__2); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__35(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__0); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__1); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__2 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__2(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39___closed__2); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_moduleTk_parenthesizer__39(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_prelude_parenthesizer___closed__0 = _init_l_Lean_Parser_Module_prelude_parenthesizer___closed__0(); @@ -5627,9 +5946,9 @@ l_Lean_Parser_Module_prelude_parenthesizer___closed__1 = _init_l_Lean_Parser_Mod lean_mark_persistent(l_Lean_Parser_Module_prelude_parenthesizer___closed__1); l_Lean_Parser_Module_prelude_parenthesizer___closed__2 = _init_l_Lean_Parser_Module_prelude_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Module_prelude_parenthesizer___closed__2); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__39___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__39___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__39___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__39(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__43___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__43___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__43___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_prelude_parenthesizer__43(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_private_parenthesizer___closed__0 = _init_l_Lean_Parser_Module_private_parenthesizer___closed__0(); @@ -5638,9 +5957,20 @@ l_Lean_Parser_Module_private_parenthesizer___closed__1 = _init_l_Lean_Parser_Mod lean_mark_persistent(l_Lean_Parser_Module_private_parenthesizer___closed__1); l_Lean_Parser_Module_private_parenthesizer___closed__2 = _init_l_Lean_Parser_Module_private_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Module_private_parenthesizer___closed__2); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__43___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__43___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__43___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__43(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__47___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__47___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__47___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_private_parenthesizer__47(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +}l_Lean_Parser_Module_public_parenthesizer___closed__0 = _init_l_Lean_Parser_Module_public_parenthesizer___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_public_parenthesizer___closed__0); +l_Lean_Parser_Module_public_parenthesizer___closed__1 = _init_l_Lean_Parser_Module_public_parenthesizer___closed__1(); +lean_mark_persistent(l_Lean_Parser_Module_public_parenthesizer___closed__1); +l_Lean_Parser_Module_public_parenthesizer___closed__2 = _init_l_Lean_Parser_Module_public_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Module_public_parenthesizer___closed__2); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_parenthesizer__51___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_parenthesizer__51___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_parenthesizer__51___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_public_parenthesizer__51(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_meta_parenthesizer___closed__0 = _init_l_Lean_Parser_Module_meta_parenthesizer___closed__0(); @@ -5649,9 +5979,9 @@ l_Lean_Parser_Module_meta_parenthesizer___closed__1 = _init_l_Lean_Parser_Module lean_mark_persistent(l_Lean_Parser_Module_meta_parenthesizer___closed__1); l_Lean_Parser_Module_meta_parenthesizer___closed__2 = _init_l_Lean_Parser_Module_meta_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Module_meta_parenthesizer___closed__2); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__47___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__47___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__47___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__47(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__55___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__55___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__55___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_meta_parenthesizer__55(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_all_parenthesizer___closed__0 = _init_l_Lean_Parser_Module_all_parenthesizer___closed__0(); @@ -5660,9 +5990,9 @@ l_Lean_Parser_Module_all_parenthesizer___closed__1 = _init_l_Lean_Parser_Module_ lean_mark_persistent(l_Lean_Parser_Module_all_parenthesizer___closed__1); l_Lean_Parser_Module_all_parenthesizer___closed__2 = _init_l_Lean_Parser_Module_all_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Module_all_parenthesizer___closed__2); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__51___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__51___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__51___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__51(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__59___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__59___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__59___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_all_parenthesizer__59(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_import_parenthesizer___closed__0 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__0(); @@ -5679,16 +6009,18 @@ l_Lean_Parser_Module_import_parenthesizer___closed__5 = _init_l_Lean_Parser_Modu lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__5); l_Lean_Parser_Module_import_parenthesizer___closed__6 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__6(); lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__6); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__55___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__55___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__55___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__55(lean_io_mk_world()); +l_Lean_Parser_Module_import_parenthesizer___closed__7 = _init_l_Lean_Parser_Module_import_parenthesizer___closed__7(); +lean_mark_persistent(l_Lean_Parser_Module_import_parenthesizer___closed__7); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__63___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__63___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__63___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_import_parenthesizer__63(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_header_parenthesizer___closed__0 = _init_l_Lean_Parser_Module_header_parenthesizer___closed__0(); lean_mark_persistent(l_Lean_Parser_Module_header_parenthesizer___closed__0); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__59___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__59___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__59___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__59(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__67___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__67___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__67___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_header_parenthesizer__67(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_module_parenthesizer___closed__0 = _init_l_Lean_Parser_Module_module_parenthesizer___closed__0(); @@ -5707,9 +6039,9 @@ l_Lean_Parser_Module_module_parenthesizer___closed__6 = _init_l_Lean_Parser_Modu lean_mark_persistent(l_Lean_Parser_Module_module_parenthesizer___closed__6); l_Lean_Parser_Module_module_parenthesizer___closed__7 = _init_l_Lean_Parser_Module_module_parenthesizer___closed__7(); lean_mark_persistent(l_Lean_Parser_Module_module_parenthesizer___closed__7); -l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__63___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__63___closed__0(); -lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__63___closed__0); -if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__63(lean_io_mk_world()); +l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__71___closed__0 = _init_l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__71___closed__0(); +lean_mark_persistent(l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__71___closed__0); +if (builtin) {res = l_Lean_Parser_Module_module___regBuiltin_Lean_Parser_Module_module_parenthesizer__71(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); }l_Lean_Parser_Module_module___closed__0 = _init_l_Lean_Parser_Module_module___closed__0();