chore: update stage0
This commit is contained in:
parent
9a236e70dc
commit
57e30b670e
5 changed files with 3315 additions and 3185 deletions
1309
stage0/stdlib/Init/System/IO.c
generated
1309
stage0/stdlib/Init/System/IO.c
generated
File diff suppressed because it is too large
Load diff
728
stage0/stdlib/Lean/Elab/ElabRules.c
generated
728
stage0/stdlib/Lean/Elab/ElabRules.c
generated
|
|
@ -121,7 +121,7 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__7
|
|||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElab___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElab___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElab___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
extern lean_object* l_Lean_Elab_Command_commandElabAttribute;
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -169,6 +169,7 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabR
|
|||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__9(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElab___lambda__1___closed__1;
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Command_elabElab_declRange___closed__7;
|
||||
lean_object* l_Lean_Syntax_node2(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -180,6 +181,7 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*);
|
|||
static lean_object* l___regBuiltin_Lean_Elab_Command_elabElab___closed__2;
|
||||
uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_resolveSyntaxKind(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_addMacroScopeIfLocal___at_Lean_Elab_Command_elabSyntax___spec__13(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__8;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_mk_syntax_ident(lean_object*);
|
||||
|
|
@ -223,7 +225,6 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2
|
|||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__99;
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3;
|
||||
uint8_t lean_nat_dec_lt(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__10(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__4;
|
||||
lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___closed__1;
|
||||
|
|
@ -239,7 +240,6 @@ static lean_object* l_Lean_Elab_Command_withExpectedType___closed__2;
|
|||
lean_object* lean_array_set(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules_declRange___closed__2;
|
||||
lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_addMacroScopeIfLocal___at_Lean_Elab_Command_elabSyntax___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___regBuiltin_Lean_Elab_Command_elabElab_declRange___closed__2;
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__69;
|
||||
uint8_t l_Lean_Syntax_isNone(lean_object*);
|
||||
|
|
@ -306,7 +306,7 @@ static lean_object* l_Lean_Elab_Command_elabElab___lambda__1___closed__7;
|
|||
static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__83;
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__4(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__41;
|
||||
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_elabElab___lambda__1___closed__12;
|
||||
|
|
@ -5885,335 +5885,328 @@ x_4 = l_Lean_Name_mkStr3(x_1, x_2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElab___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) {
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElab___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_19 = 1;
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_1);
|
||||
x_19 = l_Lean_Elab_Command_addMacroScopeIfLocal___at_Lean_Elab_Command_elabSyntax___spec__4(x_15, x_1, x_16, x_17, x_18);
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec(x_19);
|
||||
x_22 = 1;
|
||||
lean_inc(x_20);
|
||||
lean_inc(x_2);
|
||||
x_23 = l_Lean_mkIdentFrom(x_2, x_20, x_22);
|
||||
x_24 = l_Lean_Elab_Command_getScope___rarg(x_17, x_21);
|
||||
x_20 = l_Lean_mkIdentFrom(x_1, x_15, x_19);
|
||||
x_21 = l_Lean_Elab_Command_getScope___rarg(x_17, x_18);
|
||||
if (lean_obj_tag(x_14) == 0)
|
||||
{
|
||||
x_25 = x_23;
|
||||
goto block_148;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_149;
|
||||
lean_dec(x_23);
|
||||
x_149 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_149);
|
||||
lean_dec(x_14);
|
||||
x_25 = x_149;
|
||||
goto block_148;
|
||||
}
|
||||
block_148:
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; size_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91;
|
||||
x_26 = lean_ctor_get(x_24, 0);
|
||||
lean_inc(x_26);
|
||||
x_27 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec(x_24);
|
||||
x_28 = lean_ctor_get(x_26, 2);
|
||||
lean_inc(x_28);
|
||||
lean_dec(x_26);
|
||||
x_29 = l_Lean_Name_append(x_28, x_20);
|
||||
x_30 = lean_box(2);
|
||||
x_31 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_31, 0, x_30);
|
||||
lean_ctor_set(x_31, 1, x_29);
|
||||
lean_ctor_set(x_31, 2, x_3);
|
||||
x_32 = l_Lean_Elab_Command_getRef(x_16, x_17, x_27);
|
||||
x_33 = lean_ctor_get(x_32, 0);
|
||||
lean_inc(x_33);
|
||||
x_34 = lean_ctor_get(x_32, 1);
|
||||
lean_inc(x_34);
|
||||
lean_dec(x_32);
|
||||
x_35 = 0;
|
||||
x_36 = l_Lean_SourceInfo_fromRef(x_33, x_35);
|
||||
x_37 = l_Lean_Elab_Command_getCurrMacroScope(x_16, x_17, x_34);
|
||||
x_38 = lean_ctor_get(x_37, 1);
|
||||
lean_inc(x_38);
|
||||
lean_dec(x_37);
|
||||
x_39 = l_Lean_Elab_Command_getMainModule___rarg(x_17, x_38);
|
||||
x_40 = lean_ctor_get(x_39, 1);
|
||||
lean_inc(x_40);
|
||||
lean_dec(x_39);
|
||||
x_41 = l_Lean_SourceInfo_fromRef(x_2, x_22);
|
||||
x_42 = l_Lean_Elab_Command_elabElab___lambda__1___closed__1;
|
||||
x_43 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_43, 0, x_41);
|
||||
lean_ctor_set(x_43, 1, x_42);
|
||||
x_44 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3;
|
||||
lean_inc(x_36);
|
||||
x_45 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_36);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
x_46 = l_Lean_Elab_Command_elabElab___lambda__1___closed__5;
|
||||
lean_inc(x_36);
|
||||
x_47 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_36);
|
||||
lean_ctor_set(x_47, 1, x_46);
|
||||
x_48 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27;
|
||||
lean_inc(x_36);
|
||||
x_49 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_49, 0, x_36);
|
||||
lean_ctor_set(x_49, 1, x_48);
|
||||
x_50 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5;
|
||||
lean_inc(x_36);
|
||||
x_51 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_51, 0, x_36);
|
||||
lean_ctor_set(x_51, 1, x_50);
|
||||
x_52 = l_Lean_Elab_Command_elabElab___lambda__1___closed__4;
|
||||
lean_inc(x_51);
|
||||
lean_inc(x_49);
|
||||
lean_inc(x_45);
|
||||
lean_inc(x_36);
|
||||
x_53 = l_Lean_Syntax_node5(x_36, x_52, x_45, x_47, x_49, x_25, x_51);
|
||||
x_54 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3;
|
||||
lean_inc(x_36);
|
||||
x_55 = l_Lean_Syntax_node1(x_36, x_54, x_53);
|
||||
x_56 = l_Lean_Elab_Command_elabElab___lambda__1___closed__8;
|
||||
lean_inc(x_36);
|
||||
x_57 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_36);
|
||||
lean_ctor_set(x_57, 1, x_56);
|
||||
x_58 = l_Nat_repr(x_4);
|
||||
x_59 = l_Lean_Syntax_mkNumLit(x_58, x_30);
|
||||
x_60 = l_Lean_Elab_Command_elabElab___lambda__1___closed__7;
|
||||
lean_inc(x_51);
|
||||
lean_inc(x_36);
|
||||
x_61 = l_Lean_Syntax_node5(x_36, x_60, x_45, x_57, x_49, x_59, x_51);
|
||||
lean_inc(x_36);
|
||||
x_62 = l_Lean_Syntax_node1(x_36, x_54, x_61);
|
||||
x_63 = lean_array_get_size(x_5);
|
||||
x_64 = lean_usize_of_nat(x_63);
|
||||
lean_dec(x_63);
|
||||
x_65 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElab___spec__2(x_64, x_6, x_5);
|
||||
x_66 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4;
|
||||
x_67 = l_Array_append___rarg(x_66, x_65);
|
||||
lean_inc(x_36);
|
||||
x_68 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_68, 0, x_36);
|
||||
lean_ctor_set(x_68, 1, x_54);
|
||||
lean_ctor_set(x_68, 2, x_67);
|
||||
x_69 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20;
|
||||
lean_inc(x_36);
|
||||
x_70 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_70, 0, x_36);
|
||||
lean_ctor_set(x_70, 1, x_69);
|
||||
lean_inc(x_36);
|
||||
x_71 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_71, 0, x_36);
|
||||
lean_ctor_set(x_71, 1, x_54);
|
||||
lean_ctor_set(x_71, 2, x_66);
|
||||
lean_inc(x_71);
|
||||
lean_inc(x_36);
|
||||
x_72 = l_Lean_Syntax_node1(x_36, x_7, x_71);
|
||||
x_73 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1;
|
||||
lean_inc(x_36);
|
||||
x_74 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_36);
|
||||
lean_ctor_set(x_74, 1, x_73);
|
||||
lean_inc(x_8);
|
||||
lean_inc(x_70);
|
||||
lean_inc(x_36);
|
||||
x_75 = l_Lean_Syntax_node2(x_36, x_54, x_70, x_8);
|
||||
x_76 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1;
|
||||
lean_inc(x_36);
|
||||
x_77 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_77, 0, x_36);
|
||||
lean_ctor_set(x_77, 1, x_76);
|
||||
x_78 = l_Lean_Elab_Command_elabElab___lambda__1___closed__12;
|
||||
lean_inc(x_36);
|
||||
x_79 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_79, 0, x_36);
|
||||
lean_ctor_set(x_79, 1, x_78);
|
||||
x_80 = l_Lean_Elab_Command_elabElab___lambda__1___closed__11;
|
||||
lean_inc(x_36);
|
||||
x_81 = l_Lean_Syntax_node3(x_36, x_80, x_79, x_31, x_51);
|
||||
lean_inc(x_36);
|
||||
x_82 = l_Lean_Syntax_node1(x_36, x_54, x_81);
|
||||
lean_inc(x_36);
|
||||
x_83 = l_Lean_Syntax_node1(x_36, x_54, x_82);
|
||||
x_84 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5;
|
||||
lean_inc(x_36);
|
||||
x_85 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_85, 0, x_36);
|
||||
lean_ctor_set(x_85, 1, x_84);
|
||||
x_86 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__5;
|
||||
lean_inc(x_36);
|
||||
x_87 = l_Lean_Syntax_node4(x_36, x_86, x_77, x_83, x_85, x_9);
|
||||
lean_inc(x_36);
|
||||
x_88 = l_Lean_Syntax_node1(x_36, x_54, x_87);
|
||||
x_89 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31;
|
||||
lean_inc(x_36);
|
||||
x_90 = l_Lean_Syntax_node1(x_36, x_89, x_88);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
x_91 = x_66;
|
||||
x_22 = x_20;
|
||||
goto block_145;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_146; lean_object* x_147;
|
||||
x_146 = lean_ctor_get(x_13, 0);
|
||||
lean_object* x_146;
|
||||
lean_dec(x_20);
|
||||
x_146 = lean_ctor_get(x_14, 0);
|
||||
lean_inc(x_146);
|
||||
lean_dec(x_13);
|
||||
x_147 = l_Array_mkArray1___rarg(x_146);
|
||||
x_91 = x_147;
|
||||
lean_dec(x_14);
|
||||
x_22 = x_146;
|
||||
goto block_145;
|
||||
}
|
||||
block_145:
|
||||
{
|
||||
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96;
|
||||
x_92 = l_Array_append___rarg(x_66, x_91);
|
||||
lean_inc(x_36);
|
||||
x_93 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_93, 0, x_36);
|
||||
lean_ctor_set(x_93, 1, x_54);
|
||||
lean_ctor_set(x_93, 2, x_92);
|
||||
x_94 = l_Lean_Elab_Command_elabElab___lambda__1___closed__9;
|
||||
lean_inc(x_93);
|
||||
x_95 = lean_array_push(x_94, x_93);
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; size_t x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88;
|
||||
x_23 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_23);
|
||||
x_24 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_24);
|
||||
lean_dec(x_21);
|
||||
x_25 = lean_ctor_get(x_23, 2);
|
||||
lean_inc(x_25);
|
||||
lean_dec(x_23);
|
||||
x_26 = l_Lean_Name_append(x_25, x_15);
|
||||
x_27 = lean_box(2);
|
||||
x_28 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_28, 0, x_27);
|
||||
lean_ctor_set(x_28, 1, x_26);
|
||||
lean_ctor_set(x_28, 2, x_2);
|
||||
x_29 = l_Lean_Elab_Command_getRef(x_16, x_17, x_24);
|
||||
x_30 = lean_ctor_get(x_29, 0);
|
||||
lean_inc(x_30);
|
||||
x_31 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_31);
|
||||
lean_dec(x_29);
|
||||
x_32 = 0;
|
||||
x_33 = l_Lean_SourceInfo_fromRef(x_30, x_32);
|
||||
x_34 = l_Lean_Elab_Command_getCurrMacroScope(x_16, x_17, x_31);
|
||||
x_35 = lean_ctor_get(x_34, 1);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_34);
|
||||
x_36 = l_Lean_Elab_Command_getMainModule___rarg(x_17, x_35);
|
||||
x_37 = lean_ctor_get(x_36, 1);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_36);
|
||||
x_38 = l_Lean_SourceInfo_fromRef(x_1, x_19);
|
||||
x_39 = l_Lean_Elab_Command_elabElab___lambda__1___closed__1;
|
||||
x_40 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_38);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
x_41 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3;
|
||||
lean_inc(x_33);
|
||||
x_42 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_33);
|
||||
lean_ctor_set(x_42, 1, x_41);
|
||||
x_43 = l_Lean_Elab_Command_elabElab___lambda__1___closed__5;
|
||||
lean_inc(x_33);
|
||||
x_44 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_33);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
x_45 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27;
|
||||
lean_inc(x_33);
|
||||
x_46 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_33);
|
||||
lean_ctor_set(x_46, 1, x_45);
|
||||
x_47 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5;
|
||||
lean_inc(x_33);
|
||||
x_48 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_33);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
x_49 = l_Lean_Elab_Command_elabElab___lambda__1___closed__4;
|
||||
lean_inc(x_48);
|
||||
lean_inc(x_46);
|
||||
lean_inc(x_42);
|
||||
lean_inc(x_33);
|
||||
x_50 = l_Lean_Syntax_node5(x_33, x_49, x_42, x_44, x_46, x_22, x_48);
|
||||
x_51 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3;
|
||||
lean_inc(x_33);
|
||||
x_52 = l_Lean_Syntax_node1(x_33, x_51, x_50);
|
||||
x_53 = l_Lean_Elab_Command_elabElab___lambda__1___closed__8;
|
||||
lean_inc(x_33);
|
||||
x_54 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_33);
|
||||
lean_ctor_set(x_54, 1, x_53);
|
||||
x_55 = l_Nat_repr(x_3);
|
||||
x_56 = l_Lean_Syntax_mkNumLit(x_55, x_27);
|
||||
x_57 = l_Lean_Elab_Command_elabElab___lambda__1___closed__7;
|
||||
lean_inc(x_48);
|
||||
lean_inc(x_33);
|
||||
x_58 = l_Lean_Syntax_node5(x_33, x_57, x_42, x_54, x_46, x_56, x_48);
|
||||
lean_inc(x_33);
|
||||
x_59 = l_Lean_Syntax_node1(x_33, x_51, x_58);
|
||||
x_60 = lean_array_get_size(x_4);
|
||||
x_61 = lean_usize_of_nat(x_60);
|
||||
lean_dec(x_60);
|
||||
x_62 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElab___spec__2(x_61, x_5, x_4);
|
||||
x_63 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4;
|
||||
x_64 = l_Array_append___rarg(x_63, x_62);
|
||||
lean_inc(x_33);
|
||||
x_65 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_65, 0, x_33);
|
||||
lean_ctor_set(x_65, 1, x_51);
|
||||
lean_ctor_set(x_65, 2, x_64);
|
||||
x_66 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20;
|
||||
lean_inc(x_33);
|
||||
x_67 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_67, 0, x_33);
|
||||
lean_ctor_set(x_67, 1, x_66);
|
||||
lean_inc(x_33);
|
||||
x_68 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_68, 0, x_33);
|
||||
lean_ctor_set(x_68, 1, x_51);
|
||||
lean_ctor_set(x_68, 2, x_63);
|
||||
lean_inc(x_68);
|
||||
lean_inc(x_33);
|
||||
x_69 = l_Lean_Syntax_node1(x_33, x_6, x_68);
|
||||
x_70 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1;
|
||||
lean_inc(x_33);
|
||||
x_71 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_33);
|
||||
lean_ctor_set(x_71, 1, x_70);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_67);
|
||||
lean_inc(x_33);
|
||||
x_72 = l_Lean_Syntax_node2(x_33, x_51, x_67, x_7);
|
||||
x_73 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1;
|
||||
lean_inc(x_33);
|
||||
x_74 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_74, 0, x_33);
|
||||
lean_ctor_set(x_74, 1, x_73);
|
||||
x_75 = l_Lean_Elab_Command_elabElab___lambda__1___closed__12;
|
||||
lean_inc(x_33);
|
||||
x_76 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_76, 0, x_33);
|
||||
lean_ctor_set(x_76, 1, x_75);
|
||||
x_77 = l_Lean_Elab_Command_elabElab___lambda__1___closed__11;
|
||||
lean_inc(x_33);
|
||||
x_78 = l_Lean_Syntax_node3(x_33, x_77, x_76, x_28, x_48);
|
||||
lean_inc(x_33);
|
||||
x_79 = l_Lean_Syntax_node1(x_33, x_51, x_78);
|
||||
lean_inc(x_33);
|
||||
x_80 = l_Lean_Syntax_node1(x_33, x_51, x_79);
|
||||
x_81 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5;
|
||||
lean_inc(x_33);
|
||||
x_82 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_82, 0, x_33);
|
||||
lean_ctor_set(x_82, 1, x_81);
|
||||
x_83 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__5;
|
||||
lean_inc(x_33);
|
||||
x_84 = l_Lean_Syntax_node4(x_33, x_83, x_74, x_80, x_82, x_8);
|
||||
lean_inc(x_33);
|
||||
x_85 = l_Lean_Syntax_node1(x_33, x_51, x_84);
|
||||
x_86 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__31;
|
||||
lean_inc(x_33);
|
||||
x_87 = l_Lean_Syntax_node1(x_33, x_86, x_85);
|
||||
if (lean_obj_tag(x_13) == 0)
|
||||
{
|
||||
x_88 = x_63;
|
||||
goto block_142;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_143; lean_object* x_144;
|
||||
x_143 = lean_ctor_get(x_13, 0);
|
||||
lean_inc(x_143);
|
||||
lean_dec(x_13);
|
||||
x_144 = l_Array_mkArray1___rarg(x_143);
|
||||
x_88 = x_144;
|
||||
goto block_142;
|
||||
}
|
||||
block_142:
|
||||
{
|
||||
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93;
|
||||
x_89 = l_Array_append___rarg(x_63, x_88);
|
||||
lean_inc(x_33);
|
||||
x_90 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_90, 0, x_33);
|
||||
lean_ctor_set(x_90, 1, x_51);
|
||||
lean_ctor_set(x_90, 2, x_89);
|
||||
x_91 = l_Lean_Elab_Command_elabElab___lambda__1___closed__9;
|
||||
lean_inc(x_90);
|
||||
x_92 = lean_array_push(x_91, x_90);
|
||||
if (lean_obj_tag(x_12) == 0)
|
||||
{
|
||||
x_96 = x_66;
|
||||
goto block_134;
|
||||
x_93 = x_63;
|
||||
goto block_131;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144;
|
||||
x_135 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_135);
|
||||
lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141;
|
||||
x_132 = lean_ctor_get(x_12, 0);
|
||||
lean_inc(x_132);
|
||||
lean_dec(x_12);
|
||||
x_136 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13;
|
||||
lean_inc(x_36);
|
||||
x_137 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_137, 0, x_36);
|
||||
lean_ctor_set(x_137, 1, x_136);
|
||||
x_138 = l_Array_append___rarg(x_66, x_135);
|
||||
lean_inc(x_36);
|
||||
x_139 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_139, 0, x_36);
|
||||
lean_ctor_set(x_139, 1, x_54);
|
||||
lean_ctor_set(x_139, 2, x_138);
|
||||
x_140 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16;
|
||||
lean_inc(x_36);
|
||||
x_141 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_141, 0, x_36);
|
||||
lean_ctor_set(x_141, 1, x_140);
|
||||
x_142 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12;
|
||||
lean_inc(x_36);
|
||||
x_143 = l_Lean_Syntax_node3(x_36, x_142, x_137, x_139, x_141);
|
||||
x_144 = l_Array_mkArray1___rarg(x_143);
|
||||
x_96 = x_144;
|
||||
goto block_134;
|
||||
x_133 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13;
|
||||
lean_inc(x_33);
|
||||
x_134 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_134, 0, x_33);
|
||||
lean_ctor_set(x_134, 1, x_133);
|
||||
x_135 = l_Array_append___rarg(x_63, x_132);
|
||||
lean_inc(x_33);
|
||||
x_136 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_136, 0, x_33);
|
||||
lean_ctor_set(x_136, 1, x_51);
|
||||
lean_ctor_set(x_136, 2, x_135);
|
||||
x_137 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16;
|
||||
lean_inc(x_33);
|
||||
x_138 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_138, 0, x_33);
|
||||
lean_ctor_set(x_138, 1, x_137);
|
||||
x_139 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__12;
|
||||
lean_inc(x_33);
|
||||
x_140 = l_Lean_Syntax_node3(x_33, x_139, x_134, x_136, x_138);
|
||||
x_141 = l_Array_mkArray1___rarg(x_140);
|
||||
x_93 = x_141;
|
||||
goto block_131;
|
||||
}
|
||||
block_134:
|
||||
block_131:
|
||||
{
|
||||
lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102;
|
||||
x_97 = l_Array_append___rarg(x_66, x_96);
|
||||
lean_inc(x_36);
|
||||
x_98 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_98, 0, x_36);
|
||||
lean_ctor_set(x_98, 1, x_54);
|
||||
lean_ctor_set(x_98, 2, x_97);
|
||||
x_99 = lean_array_push(x_95, x_98);
|
||||
x_100 = lean_array_push(x_99, x_1);
|
||||
x_101 = lean_array_push(x_100, x_43);
|
||||
lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99;
|
||||
x_94 = l_Array_append___rarg(x_63, x_93);
|
||||
lean_inc(x_33);
|
||||
x_95 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_95, 0, x_33);
|
||||
lean_ctor_set(x_95, 1, x_51);
|
||||
lean_ctor_set(x_95, 2, x_94);
|
||||
x_96 = lean_array_push(x_92, x_95);
|
||||
x_97 = lean_array_push(x_96, x_9);
|
||||
x_98 = lean_array_push(x_97, x_40);
|
||||
if (lean_obj_tag(x_11) == 0)
|
||||
{
|
||||
x_102 = x_66;
|
||||
goto block_129;
|
||||
x_99 = x_63;
|
||||
goto block_126;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133;
|
||||
x_130 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_130);
|
||||
lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130;
|
||||
x_127 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_127);
|
||||
lean_dec(x_11);
|
||||
x_131 = l_Lean_Elab_Command_elabElab___lambda__1___closed__14;
|
||||
lean_inc(x_70);
|
||||
lean_inc(x_36);
|
||||
x_132 = l_Lean_Syntax_node2(x_36, x_131, x_70, x_130);
|
||||
x_133 = l_Array_mkArray1___rarg(x_132);
|
||||
x_102 = x_133;
|
||||
goto block_129;
|
||||
x_128 = l_Lean_Elab_Command_elabElab___lambda__1___closed__14;
|
||||
lean_inc(x_67);
|
||||
lean_inc(x_33);
|
||||
x_129 = l_Lean_Syntax_node2(x_33, x_128, x_67, x_127);
|
||||
x_130 = l_Array_mkArray1___rarg(x_129);
|
||||
x_99 = x_130;
|
||||
goto block_126;
|
||||
}
|
||||
block_129:
|
||||
block_126:
|
||||
{
|
||||
lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112;
|
||||
x_103 = l_Array_append___rarg(x_66, x_102);
|
||||
lean_inc(x_36);
|
||||
x_104 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_104, 0, x_36);
|
||||
lean_ctor_set(x_104, 1, x_54);
|
||||
lean_ctor_set(x_104, 2, x_103);
|
||||
x_105 = lean_array_push(x_101, x_104);
|
||||
x_106 = lean_array_push(x_105, x_55);
|
||||
x_107 = lean_array_push(x_106, x_62);
|
||||
x_108 = lean_array_push(x_107, x_68);
|
||||
x_109 = lean_array_push(x_108, x_70);
|
||||
x_110 = lean_array_push(x_109, x_8);
|
||||
x_111 = l_Lean_Elab_Command_elabElab___lambda__1___closed__2;
|
||||
lean_inc(x_36);
|
||||
x_112 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_112, 0, x_36);
|
||||
lean_ctor_set(x_112, 1, x_111);
|
||||
lean_ctor_set(x_112, 2, x_110);
|
||||
lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109;
|
||||
x_100 = l_Array_append___rarg(x_63, x_99);
|
||||
lean_inc(x_33);
|
||||
x_101 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_101, 0, x_33);
|
||||
lean_ctor_set(x_101, 1, x_51);
|
||||
lean_ctor_set(x_101, 2, x_100);
|
||||
x_102 = lean_array_push(x_98, x_101);
|
||||
x_103 = lean_array_push(x_102, x_52);
|
||||
x_104 = lean_array_push(x_103, x_59);
|
||||
x_105 = lean_array_push(x_104, x_65);
|
||||
x_106 = lean_array_push(x_105, x_67);
|
||||
x_107 = lean_array_push(x_106, x_7);
|
||||
x_108 = l_Lean_Elab_Command_elabElab___lambda__1___closed__2;
|
||||
lean_inc(x_33);
|
||||
x_109 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_109, 0, x_33);
|
||||
lean_ctor_set(x_109, 1, x_108);
|
||||
lean_ctor_set(x_109, 2, x_107);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
{
|
||||
lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118;
|
||||
x_113 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46;
|
||||
lean_inc(x_36);
|
||||
x_114 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_114, 0, x_36);
|
||||
lean_ctor_set(x_114, 1, x_54);
|
||||
lean_ctor_set(x_114, 2, x_113);
|
||||
x_115 = l_Lean_Elab_Command_elabElabRules___lambda__8___closed__1;
|
||||
lean_inc(x_71);
|
||||
lean_inc(x_36);
|
||||
x_116 = l_Lean_Syntax_node8(x_36, x_115, x_93, x_71, x_72, x_74, x_71, x_75, x_114, x_90);
|
||||
x_117 = l_Lean_Syntax_node2(x_36, x_54, x_112, x_116);
|
||||
x_118 = l_Lean_Elab_Command_elabCommand(x_117, x_16, x_17, x_40);
|
||||
return x_118;
|
||||
lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115;
|
||||
x_110 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46;
|
||||
lean_inc(x_33);
|
||||
x_111 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_111, 0, x_33);
|
||||
lean_ctor_set(x_111, 1, x_51);
|
||||
lean_ctor_set(x_111, 2, x_110);
|
||||
x_112 = l_Lean_Elab_Command_elabElabRules___lambda__8___closed__1;
|
||||
lean_inc(x_68);
|
||||
lean_inc(x_33);
|
||||
x_113 = l_Lean_Syntax_node8(x_33, x_112, x_90, x_68, x_69, x_71, x_68, x_72, x_111, x_87);
|
||||
x_114 = l_Lean_Syntax_node2(x_33, x_51, x_109, x_113);
|
||||
x_115 = l_Lean_Elab_Command_elabCommand(x_114, x_16, x_17, x_37);
|
||||
return x_115;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128;
|
||||
x_119 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_119);
|
||||
lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125;
|
||||
x_116 = lean_ctor_get(x_10, 0);
|
||||
lean_inc(x_116);
|
||||
lean_dec(x_10);
|
||||
x_120 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2;
|
||||
lean_inc(x_36);
|
||||
x_121 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_121, 0, x_36);
|
||||
lean_ctor_set(x_121, 1, x_120);
|
||||
x_122 = l_Array_mkArray2___rarg(x_121, x_119);
|
||||
x_123 = l_Array_append___rarg(x_66, x_122);
|
||||
lean_inc(x_36);
|
||||
x_124 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_124, 0, x_36);
|
||||
lean_ctor_set(x_124, 1, x_54);
|
||||
lean_ctor_set(x_124, 2, x_123);
|
||||
x_125 = l_Lean_Elab_Command_elabElabRules___lambda__8___closed__1;
|
||||
lean_inc(x_71);
|
||||
lean_inc(x_36);
|
||||
x_126 = l_Lean_Syntax_node8(x_36, x_125, x_93, x_71, x_72, x_74, x_71, x_75, x_124, x_90);
|
||||
x_127 = l_Lean_Syntax_node2(x_36, x_54, x_112, x_126);
|
||||
x_128 = l_Lean_Elab_Command_elabCommand(x_127, x_16, x_17, x_40);
|
||||
return x_128;
|
||||
x_117 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2;
|
||||
lean_inc(x_33);
|
||||
x_118 = lean_alloc_ctor(2, 2, 0);
|
||||
lean_ctor_set(x_118, 0, x_33);
|
||||
lean_ctor_set(x_118, 1, x_117);
|
||||
x_119 = l_Array_mkArray2___rarg(x_118, x_116);
|
||||
x_120 = l_Array_append___rarg(x_63, x_119);
|
||||
lean_inc(x_33);
|
||||
x_121 = lean_alloc_ctor(1, 3, 0);
|
||||
lean_ctor_set(x_121, 0, x_33);
|
||||
lean_ctor_set(x_121, 1, x_51);
|
||||
lean_ctor_set(x_121, 2, x_120);
|
||||
x_122 = l_Lean_Elab_Command_elabElabRules___lambda__8___closed__1;
|
||||
lean_inc(x_68);
|
||||
lean_inc(x_33);
|
||||
x_123 = l_Lean_Syntax_node8(x_33, x_122, x_90, x_68, x_69, x_71, x_68, x_72, x_121, x_87);
|
||||
x_124 = l_Lean_Syntax_node2(x_33, x_51, x_109, x_123);
|
||||
x_125 = l_Lean_Elab_Command_elabCommand(x_124, x_16, x_17, x_37);
|
||||
return x_125;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6235,7 +6228,7 @@ x_20 = lean_alloc_closure((void*)(l_Lean_evalOptPrio), 3, 1);
|
|||
lean_closure_set(x_20, 0, x_3);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
x_21 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__5(x_20, x_14, x_15, x_16);
|
||||
x_21 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__4(x_20, x_14, x_15, x_16);
|
||||
if (lean_obj_tag(x_21) == 0)
|
||||
{
|
||||
lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; lean_object* x_27;
|
||||
|
|
@ -6269,7 +6262,7 @@ lean_inc(x_31);
|
|||
x_32 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_32);
|
||||
lean_dec(x_30);
|
||||
x_33 = l_Lean_Syntax_getId(x_7);
|
||||
x_33 = l_Lean_Syntax_getId(x_6);
|
||||
x_34 = lean_box(2);
|
||||
x_35 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3;
|
||||
lean_inc(x_31);
|
||||
|
|
@ -6282,21 +6275,28 @@ lean_closure_set(x_37, 0, x_33);
|
|||
lean_closure_set(x_37, 1, x_36);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_14);
|
||||
x_38 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__10(x_37, x_14, x_15, x_29);
|
||||
x_38 = l_Lean_Elab_liftMacroM___at_Lean_Elab_Command_elabSyntax___spec__9(x_37, x_14, x_15, x_29);
|
||||
if (lean_obj_tag(x_38) == 0)
|
||||
{
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44;
|
||||
x_39 = lean_ctor_get(x_38, 0);
|
||||
lean_inc(x_39);
|
||||
x_40 = lean_ctor_get(x_38, 1);
|
||||
lean_inc(x_40);
|
||||
lean_dec(x_38);
|
||||
x_41 = l_Lean_Elab_Command_elabElab___lambda__1(x_4, x_5, x_32, x_22, x_31, x_26, x_6, x_7, x_18, x_13, x_8, x_9, x_10, x_11, x_39, x_14, x_15, x_40);
|
||||
return x_41;
|
||||
lean_inc(x_7);
|
||||
x_41 = l_Lean_Elab_Command_addMacroScopeIfLocal___at_Lean_Elab_Command_elabSyntax___spec__13(x_39, x_7, x_14, x_15, x_40);
|
||||
x_42 = lean_ctor_get(x_41, 0);
|
||||
lean_inc(x_42);
|
||||
x_43 = lean_ctor_get(x_41, 1);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_41);
|
||||
x_44 = l_Lean_Elab_Command_elabElab___lambda__1(x_4, x_32, x_22, x_31, x_26, x_5, x_6, x_18, x_7, x_13, x_8, x_9, x_10, x_11, x_42, x_14, x_15, x_43);
|
||||
return x_44;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_42;
|
||||
uint8_t x_45;
|
||||
lean_dec(x_32);
|
||||
lean_dec(x_31);
|
||||
lean_dec(x_22);
|
||||
|
|
@ -6311,45 +6311,45 @@ lean_dec(x_7);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_42 = !lean_is_exclusive(x_38);
|
||||
if (x_42 == 0)
|
||||
x_45 = !lean_is_exclusive(x_38);
|
||||
if (x_45 == 0)
|
||||
{
|
||||
return x_38;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_43; lean_object* x_44; lean_object* x_45;
|
||||
x_43 = lean_ctor_get(x_38, 0);
|
||||
x_44 = lean_ctor_get(x_38, 1);
|
||||
lean_inc(x_44);
|
||||
lean_inc(x_43);
|
||||
lean_dec(x_38);
|
||||
x_45 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_45, 0, x_43);
|
||||
lean_ctor_set(x_45, 1, x_44);
|
||||
return x_45;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_46 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_46);
|
||||
x_47 = lean_ctor_get(x_30, 1);
|
||||
lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
x_46 = lean_ctor_get(x_38, 0);
|
||||
x_47 = lean_ctor_get(x_38, 1);
|
||||
lean_inc(x_47);
|
||||
lean_dec(x_30);
|
||||
x_48 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_48);
|
||||
x_49 = l_Lean_Syntax_getId(x_48);
|
||||
lean_dec(x_48);
|
||||
x_50 = l_Lean_Elab_Command_elabElab___lambda__1(x_4, x_5, x_47, x_22, x_46, x_26, x_6, x_7, x_18, x_13, x_8, x_9, x_10, x_11, x_49, x_14, x_15, x_29);
|
||||
return x_50;
|
||||
lean_inc(x_46);
|
||||
lean_dec(x_38);
|
||||
x_48 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_46);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
return x_48;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_51;
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53;
|
||||
x_49 = lean_ctor_get(x_30, 0);
|
||||
lean_inc(x_49);
|
||||
x_50 = lean_ctor_get(x_30, 1);
|
||||
lean_inc(x_50);
|
||||
lean_dec(x_30);
|
||||
x_51 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_51);
|
||||
x_52 = l_Lean_Syntax_getId(x_51);
|
||||
lean_dec(x_51);
|
||||
x_53 = l_Lean_Elab_Command_elabElab___lambda__1(x_4, x_50, x_22, x_49, x_26, x_5, x_6, x_18, x_7, x_13, x_8, x_9, x_10, x_11, x_52, x_14, x_15, x_29);
|
||||
return x_53;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_54;
|
||||
lean_dec(x_22);
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_15);
|
||||
|
|
@ -6363,29 +6363,29 @@ lean_dec(x_7);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_51 = !lean_is_exclusive(x_27);
|
||||
if (x_51 == 0)
|
||||
x_54 = !lean_is_exclusive(x_27);
|
||||
if (x_54 == 0)
|
||||
{
|
||||
return x_27;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_52; lean_object* x_53; lean_object* x_54;
|
||||
x_52 = lean_ctor_get(x_27, 0);
|
||||
x_53 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_53);
|
||||
lean_inc(x_52);
|
||||
lean_object* x_55; lean_object* x_56; lean_object* x_57;
|
||||
x_55 = lean_ctor_get(x_27, 0);
|
||||
x_56 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_56);
|
||||
lean_inc(x_55);
|
||||
lean_dec(x_27);
|
||||
x_54 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_52);
|
||||
lean_ctor_set(x_54, 1, x_53);
|
||||
return x_54;
|
||||
x_57 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_55);
|
||||
lean_ctor_set(x_57, 1, x_56);
|
||||
return x_57;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_55;
|
||||
uint8_t x_58;
|
||||
lean_dec(x_19);
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_15);
|
||||
|
|
@ -6399,23 +6399,23 @@ lean_dec(x_7);
|
|||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
x_55 = !lean_is_exclusive(x_21);
|
||||
if (x_55 == 0)
|
||||
x_58 = !lean_is_exclusive(x_21);
|
||||
if (x_58 == 0)
|
||||
{
|
||||
return x_21;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_56; lean_object* x_57; lean_object* x_58;
|
||||
x_56 = lean_ctor_get(x_21, 0);
|
||||
x_57 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_57);
|
||||
lean_inc(x_56);
|
||||
lean_object* x_59; lean_object* x_60; lean_object* x_61;
|
||||
x_59 = lean_ctor_get(x_21, 0);
|
||||
x_60 = lean_ctor_get(x_21, 1);
|
||||
lean_inc(x_60);
|
||||
lean_inc(x_59);
|
||||
lean_dec(x_21);
|
||||
x_58 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_56);
|
||||
lean_ctor_set(x_58, 1, x_57);
|
||||
return x_58;
|
||||
x_61 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_61, 0, x_59);
|
||||
lean_ctor_set(x_61, 1, x_60);
|
||||
return x_61;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6512,7 +6512,7 @@ lean_dec(x_24);
|
|||
x_29 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_29, 0, x_28);
|
||||
x_30 = lean_box(0);
|
||||
x_31 = l_Lean_Elab_Command_elabElab___lambda__2(x_17, x_15, x_10, x_2, x_3, x_4, x_22, x_5, x_6, x_7, x_8, x_30, x_29, x_11, x_12, x_13);
|
||||
x_31 = l_Lean_Elab_Command_elabElab___lambda__2(x_17, x_15, x_10, x_2, x_3, x_22, x_4, x_5, x_6, x_7, x_8, x_30, x_29, x_11, x_12, x_13);
|
||||
return x_31;
|
||||
}
|
||||
}
|
||||
|
|
@ -6522,7 +6522,7 @@ lean_object* x_32; lean_object* x_33; lean_object* x_34;
|
|||
lean_dec(x_24);
|
||||
x_32 = lean_box(0);
|
||||
x_33 = lean_box(0);
|
||||
x_34 = l_Lean_Elab_Command_elabElab___lambda__2(x_17, x_15, x_10, x_2, x_3, x_4, x_22, x_5, x_6, x_7, x_8, x_33, x_32, x_11, x_12, x_13);
|
||||
x_34 = l_Lean_Elab_Command_elabElab___lambda__2(x_17, x_15, x_10, x_2, x_3, x_22, x_4, x_5, x_6, x_7, x_8, x_33, x_32, x_11, x_12, x_13);
|
||||
return x_34;
|
||||
}
|
||||
}
|
||||
|
|
@ -6771,7 +6771,7 @@ lean_dec(x_22);
|
|||
x_27 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_27, 0, x_26);
|
||||
x_28 = lean_box(0);
|
||||
x_29 = l_Lean_Elab_Command_elabElab___lambda__5(x_1, x_9, x_14, x_10, x_4, x_2, x_28, x_27, x_5, x_6, x_7);
|
||||
x_29 = l_Lean_Elab_Command_elabElab___lambda__5(x_1, x_14, x_10, x_9, x_4, x_2, x_28, x_27, x_5, x_6, x_7);
|
||||
return x_29;
|
||||
}
|
||||
}
|
||||
|
|
@ -6782,7 +6782,7 @@ lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
|||
lean_dec(x_16);
|
||||
x_30 = lean_box(0);
|
||||
x_31 = lean_box(0);
|
||||
x_32 = l_Lean_Elab_Command_elabElab___lambda__5(x_1, x_9, x_14, x_10, x_4, x_2, x_31, x_30, x_5, x_6, x_7);
|
||||
x_32 = l_Lean_Elab_Command_elabElab___lambda__5(x_1, x_14, x_10, x_9, x_4, x_2, x_31, x_30, x_5, x_6, x_7);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
|
|
@ -7003,9 +7003,9 @@ lean_object* x_18 = _args[17];
|
|||
_start:
|
||||
{
|
||||
size_t x_19; lean_object* x_20;
|
||||
x_19 = lean_unbox_usize(x_6);
|
||||
lean_dec(x_6);
|
||||
x_20 = l_Lean_Elab_Command_elabElab___lambda__1(x_1, x_2, x_3, x_4, x_5, x_19, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18);
|
||||
x_19 = lean_unbox_usize(x_5);
|
||||
lean_dec(x_5);
|
||||
x_20 = l_Lean_Elab_Command_elabElab___lambda__1(x_1, x_2, x_3, x_4, x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18);
|
||||
return x_20;
|
||||
}
|
||||
}
|
||||
|
|
@ -7065,7 +7065,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabElab_declRange___
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_unsigned_to_nat(106u);
|
||||
x_1 = lean_unsigned_to_nat(105u);
|
||||
x_2 = lean_unsigned_to_nat(31u);
|
||||
x_3 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_3, 0, x_1);
|
||||
|
|
|
|||
1529
stage0/stdlib/Lean/Elab/Macro.c
generated
1529
stage0/stdlib/Lean/Elab/Macro.c
generated
File diff suppressed because it is too large
Load diff
1008
stage0/stdlib/Lean/Elab/Notation.c
generated
1008
stage0/stdlib/Lean/Elab/Notation.c
generated
File diff suppressed because it is too large
Load diff
1926
stage0/stdlib/Lean/Elab/Syntax.c
generated
1926
stage0/stdlib/Lean/Elab/Syntax.c
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue