chore: update stage0
This commit is contained in:
parent
20d66250df
commit
dca16fb58c
14 changed files with 17835 additions and 16286 deletions
|
|
@ -11,7 +11,7 @@ options get_default_options() {
|
|||
opts = opts.update({"debug", "terminalTacticsAsSorry"}, false);
|
||||
// switch to `true` for ABI-breaking changes affecting meta code;
|
||||
// see also next option!
|
||||
opts = opts.update({"interpreter", "prefer_native"}, true);
|
||||
opts = opts.update({"interpreter", "prefer_native"}, false);
|
||||
// switch to `false` when enabling `prefer_native` should also affect use
|
||||
// of built-in parsers in quotations; this is usually the case, but setting
|
||||
// both to `true` may be necessary for handling non-builtin parsers with
|
||||
|
|
|
|||
6
stage0/stdlib/Init/Grind.c
generated
6
stage0/stdlib/Init/Grind.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Init.Grind
|
||||
// Imports: Init.Grind.Norm Init.Grind.Tactics Init.Grind.Lemmas Init.Grind.Cases Init.Grind.Propagator Init.Grind.Util Init.Grind.Offset Init.Grind.PP Init.Grind.Ring Init.Grind.Module Init.Grind.Ordered Init.Grind.Ext Init.Grind.ToInt Init.Grind.ToIntLemmas Init.Grind.Attr Init.Data.Int.OfNat
|
||||
// Imports: Init.Grind.Norm Init.Grind.Tactics Init.Grind.Lemmas Init.Grind.Cases Init.Grind.Propagator Init.Grind.Util Init.Grind.Offset Init.Grind.PP Init.Grind.Ring Init.Grind.Module Init.Grind.Ordered Init.Grind.Ext Init.Grind.ToInt Init.Grind.ToIntLemmas Init.Grind.Attr Init.Data.Int.OfNat Init.Grind.AC
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -29,6 +29,7 @@ lean_object* initialize_Init_Grind_ToInt(uint8_t builtin, lean_object*);
|
|||
lean_object* initialize_Init_Grind_ToIntLemmas(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Grind_Attr(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Data_Int_OfNat(uint8_t builtin, lean_object*);
|
||||
lean_object* initialize_Init_Grind_AC(uint8_t builtin, lean_object*);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Init_Grind(uint8_t builtin, lean_object* w) {
|
||||
lean_object * res;
|
||||
|
|
@ -82,6 +83,9 @@ lean_dec_ref(res);
|
|||
res = initialize_Init_Data_Int_OfNat(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Init_Grind_AC(builtin, lean_io_mk_world());
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
return lean_io_result_mk_ok(lean_box(0));
|
||||
}
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
1633
stage0/stdlib/Init/Grind/AC.c
generated
Normal file
1633
stage0/stdlib/Init/Grind/AC.c
generated
Normal file
File diff suppressed because it is too large
Load diff
3188
stage0/stdlib/Lean/Compiler/LCNF/Specialize.c
generated
3188
stage0/stdlib/Lean/Compiler/LCNF/Specialize.c
generated
File diff suppressed because it is too large
Load diff
6404
stage0/stdlib/Lean/Elab/Deriving/Basic.c
generated
6404
stage0/stdlib/Lean/Elab/Deriving/Basic.c
generated
File diff suppressed because it is too large
Load diff
368
stage0/stdlib/Lean/Elab/Inductive.c
generated
368
stage0/stdlib/Lean/Elab/Inductive.c
generated
|
|
@ -4212,7 +4212,7 @@ return x_1;
|
|||
LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addDocString___at___Lean_addDocString_x27___at_____private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView_spec__20_spec__20_spec__20_spec__20_spec__20_spec__20___redArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_81; lean_object* x_82; uint8_t x_83; uint8_t x_84; lean_object* x_85; uint8_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_110; uint8_t x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; uint8_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; uint8_t x_125; lean_object* x_126; uint8_t x_127; uint8_t x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158;
|
||||
lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_81; uint8_t x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_110; uint8_t x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_121; uint8_t x_122; uint8_t x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; uint8_t x_133; uint8_t x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; uint8_t x_140; uint8_t x_142; uint8_t x_158;
|
||||
x_133 = 2;
|
||||
x_158 = l_Lean_beqMessageSeverity____x40_Lean_Message_3631932226____hygCtx___hyg_9_(x_3, x_133);
|
||||
if (x_158 == 0)
|
||||
|
|
@ -4252,9 +4252,9 @@ lean_ctor_set(x_20, 1, x_25);
|
|||
lean_ctor_set(x_20, 0, x_24);
|
||||
x_28 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_20);
|
||||
lean_ctor_set(x_28, 1, x_13);
|
||||
lean_ctor_set(x_28, 1, x_12);
|
||||
x_29 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_29, 0, x_12);
|
||||
lean_ctor_set(x_29, 0, x_13);
|
||||
lean_ctor_set(x_29, 1, x_16);
|
||||
lean_ctor_set(x_29, 2, x_14);
|
||||
lean_ctor_set(x_29, 3, x_10);
|
||||
|
|
@ -4314,9 +4314,9 @@ lean_ctor_set(x_20, 1, x_25);
|
|||
lean_ctor_set(x_20, 0, x_24);
|
||||
x_47 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_20);
|
||||
lean_ctor_set(x_47, 1, x_13);
|
||||
lean_ctor_set(x_47, 1, x_12);
|
||||
x_48 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_48, 0, x_12);
|
||||
lean_ctor_set(x_48, 0, x_13);
|
||||
lean_ctor_set(x_48, 1, x_16);
|
||||
lean_ctor_set(x_48, 2, x_14);
|
||||
lean_ctor_set(x_48, 3, x_10);
|
||||
|
|
@ -4408,9 +4408,9 @@ lean_ctor_set(x_70, 0, x_58);
|
|||
lean_ctor_set(x_70, 1, x_59);
|
||||
x_71 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_70);
|
||||
lean_ctor_set(x_71, 1, x_13);
|
||||
lean_ctor_set(x_71, 1, x_12);
|
||||
x_72 = lean_alloc_ctor(0, 5, 3);
|
||||
lean_ctor_set(x_72, 0, x_12);
|
||||
lean_ctor_set(x_72, 0, x_13);
|
||||
lean_ctor_set(x_72, 1, x_16);
|
||||
lean_ctor_set(x_72, 2, x_14);
|
||||
lean_ctor_set(x_72, 3, x_10);
|
||||
|
|
@ -4466,24 +4466,24 @@ if (x_91 == 0)
|
|||
lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97;
|
||||
x_92 = lean_ctor_get(x_90, 0);
|
||||
x_93 = lean_ctor_get(x_90, 1);
|
||||
lean_inc_ref(x_87);
|
||||
x_94 = l_Lean_FileMap_toPosition(x_87, x_85);
|
||||
lean_dec(x_85);
|
||||
x_95 = l_Lean_FileMap_toPosition(x_87, x_88);
|
||||
lean_inc_ref(x_85);
|
||||
x_94 = l_Lean_FileMap_toPosition(x_85, x_84);
|
||||
lean_dec(x_84);
|
||||
x_95 = l_Lean_FileMap_toPosition(x_85, x_88);
|
||||
lean_dec(x_88);
|
||||
x_96 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_96, 0, x_95);
|
||||
x_97 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addDocString___at___Lean_addDocString_x27___at_____private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView_spec__20_spec__20_spec__20_spec__20_spec__20_spec__20___redArg___closed__0;
|
||||
if (x_84 == 0)
|
||||
if (x_82 == 0)
|
||||
{
|
||||
lean_free_object(x_90);
|
||||
lean_dec_ref(x_81);
|
||||
x_10 = x_97;
|
||||
x_11 = x_83;
|
||||
x_12 = x_82;
|
||||
x_13 = x_92;
|
||||
x_12 = x_92;
|
||||
x_13 = x_86;
|
||||
x_14 = x_96;
|
||||
x_15 = x_86;
|
||||
x_15 = x_87;
|
||||
x_16 = x_94;
|
||||
x_17 = x_7;
|
||||
x_18 = x_8;
|
||||
|
|
@ -4501,7 +4501,7 @@ lean_object* x_99;
|
|||
lean_dec_ref(x_96);
|
||||
lean_dec_ref(x_94);
|
||||
lean_dec(x_92);
|
||||
lean_dec_ref(x_82);
|
||||
lean_dec_ref(x_86);
|
||||
lean_dec_ref(x_7);
|
||||
x_99 = lean_box(0);
|
||||
lean_ctor_set(x_90, 0, x_99);
|
||||
|
|
@ -4512,10 +4512,10 @@ else
|
|||
lean_free_object(x_90);
|
||||
x_10 = x_97;
|
||||
x_11 = x_83;
|
||||
x_12 = x_82;
|
||||
x_13 = x_92;
|
||||
x_12 = x_92;
|
||||
x_13 = x_86;
|
||||
x_14 = x_96;
|
||||
x_15 = x_86;
|
||||
x_15 = x_87;
|
||||
x_16 = x_94;
|
||||
x_17 = x_7;
|
||||
x_18 = x_8;
|
||||
|
|
@ -4532,23 +4532,23 @@ x_101 = lean_ctor_get(x_90, 1);
|
|||
lean_inc(x_101);
|
||||
lean_inc(x_100);
|
||||
lean_dec(x_90);
|
||||
lean_inc_ref(x_87);
|
||||
x_102 = l_Lean_FileMap_toPosition(x_87, x_85);
|
||||
lean_dec(x_85);
|
||||
x_103 = l_Lean_FileMap_toPosition(x_87, x_88);
|
||||
lean_inc_ref(x_85);
|
||||
x_102 = l_Lean_FileMap_toPosition(x_85, x_84);
|
||||
lean_dec(x_84);
|
||||
x_103 = l_Lean_FileMap_toPosition(x_85, x_88);
|
||||
lean_dec(x_88);
|
||||
x_104 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_104, 0, x_103);
|
||||
x_105 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addDocString___at___Lean_addDocString_x27___at_____private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView_spec__20_spec__20_spec__20_spec__20_spec__20_spec__20___redArg___closed__0;
|
||||
if (x_84 == 0)
|
||||
if (x_82 == 0)
|
||||
{
|
||||
lean_dec_ref(x_81);
|
||||
x_10 = x_105;
|
||||
x_11 = x_83;
|
||||
x_12 = x_82;
|
||||
x_13 = x_100;
|
||||
x_12 = x_100;
|
||||
x_13 = x_86;
|
||||
x_14 = x_104;
|
||||
x_15 = x_86;
|
||||
x_15 = x_87;
|
||||
x_16 = x_102;
|
||||
x_17 = x_7;
|
||||
x_18 = x_8;
|
||||
|
|
@ -4566,7 +4566,7 @@ lean_object* x_107; lean_object* x_108;
|
|||
lean_dec_ref(x_104);
|
||||
lean_dec_ref(x_102);
|
||||
lean_dec(x_100);
|
||||
lean_dec_ref(x_82);
|
||||
lean_dec_ref(x_86);
|
||||
lean_dec_ref(x_7);
|
||||
x_107 = lean_box(0);
|
||||
x_108 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -4578,10 +4578,10 @@ else
|
|||
{
|
||||
x_10 = x_105;
|
||||
x_11 = x_83;
|
||||
x_12 = x_82;
|
||||
x_13 = x_100;
|
||||
x_12 = x_100;
|
||||
x_13 = x_86;
|
||||
x_14 = x_104;
|
||||
x_15 = x_86;
|
||||
x_15 = x_87;
|
||||
x_16 = x_102;
|
||||
x_17 = x_7;
|
||||
x_18 = x_8;
|
||||
|
|
@ -4594,17 +4594,17 @@ goto block_80;
|
|||
block_120:
|
||||
{
|
||||
lean_object* x_118;
|
||||
x_118 = l_Lean_Syntax_getTailPos_x3f(x_114, x_111);
|
||||
lean_dec(x_114);
|
||||
x_118 = l_Lean_Syntax_getTailPos_x3f(x_115, x_111);
|
||||
lean_dec(x_115);
|
||||
if (lean_obj_tag(x_118) == 0)
|
||||
{
|
||||
lean_inc(x_117);
|
||||
x_81 = x_110;
|
||||
x_82 = x_112;
|
||||
x_83 = x_111;
|
||||
x_84 = x_113;
|
||||
x_85 = x_117;
|
||||
x_86 = x_115;
|
||||
x_84 = x_117;
|
||||
x_85 = x_113;
|
||||
x_86 = x_114;
|
||||
x_87 = x_116;
|
||||
x_88 = x_117;
|
||||
goto block_109;
|
||||
|
|
@ -4618,9 +4618,9 @@ lean_dec_ref(x_118);
|
|||
x_81 = x_110;
|
||||
x_82 = x_112;
|
||||
x_83 = x_111;
|
||||
x_84 = x_113;
|
||||
x_85 = x_117;
|
||||
x_86 = x_115;
|
||||
x_84 = x_117;
|
||||
x_85 = x_113;
|
||||
x_86 = x_114;
|
||||
x_87 = x_116;
|
||||
x_88 = x_119;
|
||||
goto block_109;
|
||||
|
|
@ -4629,20 +4629,20 @@ goto block_109;
|
|||
block_132:
|
||||
{
|
||||
lean_object* x_128; lean_object* x_129;
|
||||
x_128 = l_Lean_replaceRef(x_1, x_122);
|
||||
lean_dec(x_122);
|
||||
x_129 = l_Lean_Syntax_getPos_x3f(x_128, x_124);
|
||||
x_128 = l_Lean_replaceRef(x_1, x_126);
|
||||
lean_dec(x_126);
|
||||
x_129 = l_Lean_Syntax_getPos_x3f(x_128, x_123);
|
||||
if (lean_obj_tag(x_129) == 0)
|
||||
{
|
||||
lean_object* x_130;
|
||||
x_130 = lean_unsigned_to_nat(0u);
|
||||
x_110 = x_121;
|
||||
x_111 = x_124;
|
||||
x_112 = x_123;
|
||||
x_113 = x_125;
|
||||
x_114 = x_128;
|
||||
x_115 = x_127;
|
||||
x_116 = x_126;
|
||||
x_111 = x_123;
|
||||
x_112 = x_122;
|
||||
x_113 = x_124;
|
||||
x_114 = x_125;
|
||||
x_115 = x_128;
|
||||
x_116 = x_127;
|
||||
x_117 = x_130;
|
||||
goto block_120;
|
||||
}
|
||||
|
|
@ -4653,12 +4653,12 @@ x_131 = lean_ctor_get(x_129, 0);
|
|||
lean_inc(x_131);
|
||||
lean_dec_ref(x_129);
|
||||
x_110 = x_121;
|
||||
x_111 = x_124;
|
||||
x_112 = x_123;
|
||||
x_113 = x_125;
|
||||
x_114 = x_128;
|
||||
x_115 = x_127;
|
||||
x_116 = x_126;
|
||||
x_111 = x_123;
|
||||
x_112 = x_122;
|
||||
x_113 = x_124;
|
||||
x_114 = x_125;
|
||||
x_115 = x_128;
|
||||
x_116 = x_127;
|
||||
x_117 = x_131;
|
||||
goto block_120;
|
||||
}
|
||||
|
|
@ -4669,8 +4669,8 @@ if (x_140 == 0)
|
|||
{
|
||||
x_121 = x_137;
|
||||
x_122 = x_134;
|
||||
x_123 = x_135;
|
||||
x_124 = x_139;
|
||||
x_123 = x_139;
|
||||
x_124 = x_135;
|
||||
x_125 = x_136;
|
||||
x_126 = x_138;
|
||||
x_127 = x_3;
|
||||
|
|
@ -4680,8 +4680,8 @@ else
|
|||
{
|
||||
x_121 = x_137;
|
||||
x_122 = x_134;
|
||||
x_123 = x_135;
|
||||
x_124 = x_139;
|
||||
x_123 = x_139;
|
||||
x_124 = x_135;
|
||||
x_125 = x_136;
|
||||
x_126 = x_138;
|
||||
x_127 = x_133;
|
||||
|
|
@ -4707,14 +4707,14 @@ x_151 = 1;
|
|||
x_152 = l_Lean_beqMessageSeverity____x40_Lean_Message_3631932226____hygCtx___hyg_9_(x_3, x_151);
|
||||
if (x_152 == 0)
|
||||
{
|
||||
lean_inc_ref(x_144);
|
||||
lean_inc_ref(x_143);
|
||||
lean_inc(x_146);
|
||||
x_134 = x_146;
|
||||
x_135 = x_143;
|
||||
x_136 = x_147;
|
||||
lean_inc_ref(x_143);
|
||||
lean_inc_ref(x_144);
|
||||
x_134 = x_147;
|
||||
x_135 = x_144;
|
||||
x_136 = x_143;
|
||||
x_137 = x_150;
|
||||
x_138 = x_144;
|
||||
x_138 = x_146;
|
||||
x_139 = x_142;
|
||||
x_140 = x_152;
|
||||
goto block_141;
|
||||
|
|
@ -4724,14 +4724,14 @@ else
|
|||
lean_object* x_153; uint8_t x_154;
|
||||
x_153 = l_Lean_logAt___at___Lean_log___at___Lean_logError___at___Lean_validateDocComment___at___Lean_addDocString___at___Lean_addDocString_x27___at_____private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView_spec__20_spec__20_spec__20_spec__20_spec__20_spec__20___redArg___closed__1;
|
||||
x_154 = l_Lean_Option_get___at___Lean_Elab_addMacroStack___at___Lean_throwError___at___Lean_Elab_Command_checkValidCtorModifier___at_____private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView_spec__0_spec__0_spec__1_spec__1(x_145, x_153);
|
||||
lean_inc_ref(x_144);
|
||||
lean_inc_ref(x_143);
|
||||
lean_inc(x_146);
|
||||
x_134 = x_146;
|
||||
x_135 = x_143;
|
||||
x_136 = x_147;
|
||||
lean_inc_ref(x_143);
|
||||
lean_inc_ref(x_144);
|
||||
x_134 = x_147;
|
||||
x_135 = x_144;
|
||||
x_136 = x_143;
|
||||
x_137 = x_150;
|
||||
x_138 = x_144;
|
||||
x_138 = x_146;
|
||||
x_139 = x_142;
|
||||
x_140 = x_154;
|
||||
goto block_141;
|
||||
|
|
@ -9965,7 +9965,7 @@ return x_4;
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; size_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_83;
|
||||
lean_object* x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_83;
|
||||
x_10 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView___closed__1;
|
||||
lean_inc(x_2);
|
||||
x_11 = l_Lean_Syntax_isOfKind(x_2, x_10);
|
||||
|
|
@ -10010,8 +10010,8 @@ block_82:
|
|||
{
|
||||
size_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62;
|
||||
x_56 = lean_array_size(x_55);
|
||||
x_57 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView_spec__47___redArg(x_39, x_53, x_56, x_36, x_55, x_46);
|
||||
lean_dec(x_39);
|
||||
x_57 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at_____private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView_spec__47___redArg(x_40, x_53, x_56, x_37, x_55, x_47);
|
||||
lean_dec(x_40);
|
||||
x_58 = lean_ctor_get(x_57, 0);
|
||||
lean_inc(x_58);
|
||||
x_59 = lean_ctor_get(x_57, 1);
|
||||
|
|
@ -10019,8 +10019,8 @@ lean_inc(x_59);
|
|||
lean_dec_ref(x_57);
|
||||
x_60 = lean_unsigned_to_nat(6u);
|
||||
x_61 = l_Lean_Syntax_getArg(x_2, x_60);
|
||||
lean_inc(x_8);
|
||||
x_62 = l_Lean_Elab_getOptDerivingClasses(x_61, x_7, x_8, x_59);
|
||||
lean_dec_ref(x_7);
|
||||
if (lean_obj_tag(x_62) == 0)
|
||||
{
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70;
|
||||
|
|
@ -10039,32 +10039,32 @@ lean_dec(x_69);
|
|||
if (x_70 == 0)
|
||||
{
|
||||
lean_dec(x_67);
|
||||
lean_dec_ref(x_51);
|
||||
lean_dec(x_49);
|
||||
lean_dec_ref(x_48);
|
||||
lean_dec_ref(x_45);
|
||||
lean_dec(x_50);
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_46);
|
||||
lean_dec(x_45);
|
||||
lean_dec(x_42);
|
||||
lean_dec(x_41);
|
||||
lean_dec(x_39);
|
||||
lean_dec(x_38);
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_35);
|
||||
lean_dec(x_34);
|
||||
lean_dec(x_33);
|
||||
lean_dec(x_31);
|
||||
lean_dec(x_30);
|
||||
lean_dec(x_28);
|
||||
lean_dec(x_27);
|
||||
lean_dec(x_32);
|
||||
lean_dec_ref(x_31);
|
||||
lean_dec(x_29);
|
||||
lean_dec_ref(x_28);
|
||||
lean_dec_ref(x_27);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
lean_dec_ref(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec_ref(x_3);
|
||||
x_13 = x_58;
|
||||
x_14 = x_29;
|
||||
x_15 = x_40;
|
||||
x_14 = x_30;
|
||||
x_15 = x_41;
|
||||
x_16 = x_63;
|
||||
x_17 = x_32;
|
||||
x_17 = x_33;
|
||||
x_18 = x_52;
|
||||
x_19 = x_35;
|
||||
x_19 = x_36;
|
||||
x_20 = x_44;
|
||||
x_21 = x_43;
|
||||
x_22 = x_54;
|
||||
|
|
@ -10077,26 +10077,26 @@ lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean
|
|||
x_71 = l_Lean_Syntax_getArg(x_2, x_68);
|
||||
x_72 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView___closed__3;
|
||||
x_73 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView___closed__6;
|
||||
x_74 = l_Lean_replaceRef(x_71, x_34);
|
||||
lean_dec(x_34);
|
||||
x_74 = l_Lean_replaceRef(x_71, x_32);
|
||||
lean_dec(x_32);
|
||||
lean_dec(x_71);
|
||||
x_75 = lean_alloc_ctor(0, 14, 2);
|
||||
lean_ctor_set(x_75, 0, x_51);
|
||||
lean_ctor_set(x_75, 1, x_48);
|
||||
lean_ctor_set(x_75, 2, x_27);
|
||||
lean_ctor_set(x_75, 3, x_30);
|
||||
lean_ctor_set(x_75, 4, x_33);
|
||||
lean_ctor_set(x_75, 0, x_27);
|
||||
lean_ctor_set(x_75, 1, x_31);
|
||||
lean_ctor_set(x_75, 2, x_34);
|
||||
lean_ctor_set(x_75, 3, x_35);
|
||||
lean_ctor_set(x_75, 4, x_29);
|
||||
lean_ctor_set(x_75, 5, x_74);
|
||||
lean_ctor_set(x_75, 6, x_28);
|
||||
lean_ctor_set(x_75, 7, x_31);
|
||||
lean_ctor_set(x_75, 6, x_39);
|
||||
lean_ctor_set(x_75, 7, x_50);
|
||||
lean_ctor_set(x_75, 8, x_38);
|
||||
lean_ctor_set(x_75, 9, x_49);
|
||||
lean_ctor_set(x_75, 10, x_37);
|
||||
lean_ctor_set(x_75, 11, x_41);
|
||||
lean_ctor_set(x_75, 12, x_42);
|
||||
lean_ctor_set(x_75, 13, x_45);
|
||||
lean_ctor_set_uint8(x_75, sizeof(void*)*14, x_47);
|
||||
lean_ctor_set_uint8(x_75, sizeof(void*)*14 + 1, x_50);
|
||||
lean_ctor_set(x_75, 9, x_42);
|
||||
lean_ctor_set(x_75, 10, x_48);
|
||||
lean_ctor_set(x_75, 11, x_45);
|
||||
lean_ctor_set(x_75, 12, x_46);
|
||||
lean_ctor_set(x_75, 13, x_28);
|
||||
lean_ctor_set_uint8(x_75, sizeof(void*)*14, x_51);
|
||||
lean_ctor_set_uint8(x_75, sizeof(void*)*14 + 1, x_49);
|
||||
x_76 = l_Lean_Linter_logLintIf___at_____private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView_spec__48(x_72, x_67, x_73, x_3, x_4, x_5, x_6, x_75, x_8, x_64);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
|
|
@ -10108,12 +10108,12 @@ x_77 = lean_ctor_get(x_76, 1);
|
|||
lean_inc(x_77);
|
||||
lean_dec_ref(x_76);
|
||||
x_13 = x_58;
|
||||
x_14 = x_29;
|
||||
x_15 = x_40;
|
||||
x_14 = x_30;
|
||||
x_15 = x_41;
|
||||
x_16 = x_63;
|
||||
x_17 = x_32;
|
||||
x_17 = x_33;
|
||||
x_18 = x_52;
|
||||
x_19 = x_35;
|
||||
x_19 = x_36;
|
||||
x_20 = x_44;
|
||||
x_21 = x_43;
|
||||
x_22 = x_54;
|
||||
|
|
@ -10127,26 +10127,26 @@ uint8_t x_78;
|
|||
lean_dec(x_58);
|
||||
lean_dec(x_54);
|
||||
lean_dec(x_52);
|
||||
lean_dec_ref(x_51);
|
||||
lean_dec(x_49);
|
||||
lean_dec_ref(x_48);
|
||||
lean_dec_ref(x_45);
|
||||
lean_dec(x_50);
|
||||
lean_dec(x_48);
|
||||
lean_dec(x_46);
|
||||
lean_dec(x_45);
|
||||
lean_dec_ref(x_44);
|
||||
lean_dec(x_43);
|
||||
lean_dec(x_42);
|
||||
lean_dec(x_41);
|
||||
lean_dec(x_40);
|
||||
lean_dec(x_39);
|
||||
lean_dec(x_38);
|
||||
lean_dec(x_37);
|
||||
lean_dec(x_36);
|
||||
lean_dec(x_35);
|
||||
lean_dec(x_34);
|
||||
lean_dec(x_33);
|
||||
lean_dec(x_32);
|
||||
lean_dec(x_31);
|
||||
lean_dec(x_30);
|
||||
lean_dec_ref(x_29);
|
||||
lean_dec(x_28);
|
||||
lean_dec(x_27);
|
||||
lean_dec_ref(x_31);
|
||||
lean_dec_ref(x_30);
|
||||
lean_dec(x_29);
|
||||
lean_dec_ref(x_28);
|
||||
lean_dec_ref(x_27);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_6);
|
||||
lean_dec_ref(x_5);
|
||||
|
|
@ -10273,45 +10273,45 @@ if (lean_obj_tag(x_129) == 0)
|
|||
{
|
||||
lean_object* x_130;
|
||||
x_130 = l___private_Lean_Elab_Inductive_0__Lean_Elab_Command_inductiveSyntaxToView___closed__7;
|
||||
lean_inc_ref(x_92);
|
||||
lean_inc(x_101);
|
||||
lean_inc_ref(x_93);
|
||||
lean_inc_ref(x_107);
|
||||
lean_inc(x_99);
|
||||
lean_inc(x_102);
|
||||
lean_inc(x_105);
|
||||
lean_inc(x_103);
|
||||
lean_inc(x_100);
|
||||
lean_inc(x_102);
|
||||
lean_inc(x_97);
|
||||
lean_inc(x_96);
|
||||
lean_inc(x_99);
|
||||
lean_inc(x_95);
|
||||
lean_inc(x_101);
|
||||
lean_inc(x_98);
|
||||
lean_inc(x_100);
|
||||
lean_inc(x_95);
|
||||
lean_inc(x_94);
|
||||
x_27 = x_94;
|
||||
x_28 = x_98;
|
||||
x_29 = x_83;
|
||||
x_30 = x_95;
|
||||
x_31 = x_99;
|
||||
x_32 = x_88;
|
||||
x_33 = x_96;
|
||||
x_34 = x_97;
|
||||
x_35 = x_109;
|
||||
x_36 = x_123;
|
||||
x_37 = x_102;
|
||||
lean_inc(x_97);
|
||||
lean_inc_ref(x_93);
|
||||
lean_inc(x_96);
|
||||
lean_inc_ref(x_107);
|
||||
lean_inc_ref(x_92);
|
||||
x_27 = x_92;
|
||||
x_28 = x_107;
|
||||
x_29 = x_96;
|
||||
x_30 = x_83;
|
||||
x_31 = x_93;
|
||||
x_32 = x_97;
|
||||
x_33 = x_88;
|
||||
x_34 = x_94;
|
||||
x_35 = x_95;
|
||||
x_36 = x_109;
|
||||
x_37 = x_123;
|
||||
x_38 = x_100;
|
||||
x_39 = x_108;
|
||||
x_40 = x_114;
|
||||
x_41 = x_103;
|
||||
x_42 = x_105;
|
||||
x_39 = x_98;
|
||||
x_40 = x_108;
|
||||
x_41 = x_114;
|
||||
x_42 = x_101;
|
||||
x_43 = x_87;
|
||||
x_44 = x_125;
|
||||
x_45 = x_107;
|
||||
x_46 = x_126;
|
||||
x_47 = x_104;
|
||||
x_48 = x_93;
|
||||
x_49 = x_101;
|
||||
x_50 = x_106;
|
||||
x_51 = x_92;
|
||||
x_45 = x_103;
|
||||
x_46 = x_105;
|
||||
x_47 = x_126;
|
||||
x_48 = x_102;
|
||||
x_49 = x_106;
|
||||
x_50 = x_99;
|
||||
x_51 = x_104;
|
||||
x_52 = x_115;
|
||||
x_53 = x_119;
|
||||
x_54 = x_113;
|
||||
|
|
@ -10328,45 +10328,45 @@ x_132 = l_Lean_Syntax_getArg(x_131, x_108);
|
|||
lean_dec(x_131);
|
||||
x_133 = l_Lean_Syntax_getArgs(x_132);
|
||||
lean_dec(x_132);
|
||||
lean_inc_ref(x_92);
|
||||
lean_inc(x_101);
|
||||
lean_inc_ref(x_93);
|
||||
lean_inc_ref(x_107);
|
||||
lean_inc(x_99);
|
||||
lean_inc(x_102);
|
||||
lean_inc(x_105);
|
||||
lean_inc(x_103);
|
||||
lean_inc(x_100);
|
||||
lean_inc(x_102);
|
||||
lean_inc(x_97);
|
||||
lean_inc(x_96);
|
||||
lean_inc(x_99);
|
||||
lean_inc(x_95);
|
||||
lean_inc(x_101);
|
||||
lean_inc(x_98);
|
||||
lean_inc(x_100);
|
||||
lean_inc(x_95);
|
||||
lean_inc(x_94);
|
||||
x_27 = x_94;
|
||||
x_28 = x_98;
|
||||
x_29 = x_83;
|
||||
x_30 = x_95;
|
||||
x_31 = x_99;
|
||||
x_32 = x_88;
|
||||
x_33 = x_96;
|
||||
x_34 = x_97;
|
||||
x_35 = x_109;
|
||||
x_36 = x_123;
|
||||
x_37 = x_102;
|
||||
lean_inc(x_97);
|
||||
lean_inc_ref(x_93);
|
||||
lean_inc(x_96);
|
||||
lean_inc_ref(x_107);
|
||||
lean_inc_ref(x_92);
|
||||
x_27 = x_92;
|
||||
x_28 = x_107;
|
||||
x_29 = x_96;
|
||||
x_30 = x_83;
|
||||
x_31 = x_93;
|
||||
x_32 = x_97;
|
||||
x_33 = x_88;
|
||||
x_34 = x_94;
|
||||
x_35 = x_95;
|
||||
x_36 = x_109;
|
||||
x_37 = x_123;
|
||||
x_38 = x_100;
|
||||
x_39 = x_108;
|
||||
x_40 = x_114;
|
||||
x_41 = x_103;
|
||||
x_42 = x_105;
|
||||
x_39 = x_98;
|
||||
x_40 = x_108;
|
||||
x_41 = x_114;
|
||||
x_42 = x_101;
|
||||
x_43 = x_87;
|
||||
x_44 = x_125;
|
||||
x_45 = x_107;
|
||||
x_46 = x_126;
|
||||
x_47 = x_104;
|
||||
x_48 = x_93;
|
||||
x_49 = x_101;
|
||||
x_50 = x_106;
|
||||
x_51 = x_92;
|
||||
x_45 = x_103;
|
||||
x_46 = x_105;
|
||||
x_47 = x_126;
|
||||
x_48 = x_102;
|
||||
x_49 = x_106;
|
||||
x_50 = x_99;
|
||||
x_51 = x_104;
|
||||
x_52 = x_115;
|
||||
x_53 = x_119;
|
||||
x_54 = x_113;
|
||||
|
|
|
|||
2489
stage0/stdlib/Lean/Elab/MutualDef.c
generated
2489
stage0/stdlib/Lean/Elab/MutualDef.c
generated
File diff suppressed because it is too large
Load diff
320
stage0/stdlib/Lean/Elab/MutualInductive.c
generated
320
stage0/stdlib/Lean/Elab/MutualInductive.c
generated
|
|
@ -363,6 +363,7 @@ LEAN_EXPORT uint8_t l_Array_contains___at_____private_Lean_Elab_MutualInductive_
|
|||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_propagateUniversesToConstructors_propagateConstraint_spec__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_propagateUniversesToConstructors_propagateConstraint_spec__4___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_Command_liftCoreM___redArg(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Elab_Command_checkValidCtorModifier___redArg___lam__3___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___redArg___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Syntax_node5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -1114,6 +1115,7 @@ LEAN_EXPORT lean_object* l_List_forM___at___List_forM___at_____private_Lean_Elab
|
|||
LEAN_EXPORT lean_object* l_Std_Iterators_IterM_DefaultConsumers_forIn_x27___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_checkResultingUniverses_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_PRange_RangeIterator_instIteratorLoop_loop___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_checkResultingUniverses_spec__7___boxed(lean_object**);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_collectUniverses_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Elab_DerivingClassView_getClassName(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_logAt___at___Lean_logErrorAt___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_checkNoInductiveNameConflicts_spec__0_spec__0___redArg___lam__0___closed__1;
|
||||
static lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_isPropCandidate___closed__0;
|
||||
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_checkNumParams_spec__0_spec__0___closed__2;
|
||||
|
|
@ -1408,6 +1410,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Comm
|
|||
size_t lean_usize_sub(size_t, size_t);
|
||||
extern lean_object* l_Lean_Elab_Command_instInhabitedScope;
|
||||
LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___Lean_Elab_Command_mkInductiveView_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyComputedFields_spec__6_spec__6___lam__1___closed__3;
|
||||
LEAN_EXPORT lean_object* l_Lean_logAt___at___Lean_log___at___Lean_logError___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyComputedFields_spec__2_spec__2_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_inductiveElabAttr___regBuiltin_Lean_Elab_Command_inductiveElabAttr_declRange__3___closed__0;
|
||||
|
|
@ -58129,31 +58132,34 @@ uint8_t x_5;
|
|||
x_5 = lean_usize_dec_eq(x_3, x_4);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9;
|
||||
x_6 = lean_array_uget(x_2, x_3);
|
||||
x_7 = lean_ctor_get(x_6, 1);
|
||||
lean_inc(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
x_8 = lean_name_eq(x_7, x_1);
|
||||
lean_dec(x_7);
|
||||
if (x_8 == 0)
|
||||
x_8 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_8);
|
||||
x_9 = l_Lean_Syntax_structEq(x_7, x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
size_t x_9; size_t x_10;
|
||||
x_9 = 1;
|
||||
x_10 = lean_usize_add(x_3, x_9);
|
||||
x_3 = x_10;
|
||||
size_t x_10; size_t x_11;
|
||||
x_10 = 1;
|
||||
x_11 = lean_usize_add(x_3, x_10);
|
||||
x_3 = x_11;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
return x_8;
|
||||
lean_dec_ref(x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_12;
|
||||
x_12 = 0;
|
||||
return x_12;
|
||||
uint8_t x_13;
|
||||
lean_dec_ref(x_1);
|
||||
x_13 = 0;
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -58165,6 +58171,7 @@ x_14 = lean_usize_dec_lt(x_5, x_4);
|
|||
if (x_14 == 0)
|
||||
{
|
||||
lean_object* x_15;
|
||||
lean_dec_ref(x_2);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_6);
|
||||
lean_ctor_set(x_15, 1, x_7);
|
||||
|
|
@ -58201,6 +58208,7 @@ size_t x_25; size_t x_26; uint8_t x_27;
|
|||
x_25 = 0;
|
||||
x_26 = lean_usize_of_nat(x_23);
|
||||
lean_dec(x_23);
|
||||
lean_inc_ref(x_2);
|
||||
x_27 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyDerivingHandlers_spec__0(x_2, x_21, x_25, x_26);
|
||||
lean_dec_ref(x_21);
|
||||
x_17 = x_27;
|
||||
|
|
@ -58257,6 +58265,7 @@ x_16 = lean_usize_dec_lt(x_5, x_4);
|
|||
if (x_16 == 0)
|
||||
{
|
||||
lean_object* x_17;
|
||||
lean_dec_ref(x_2);
|
||||
x_17 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_6);
|
||||
lean_ctor_set(x_17, 1, x_9);
|
||||
|
|
@ -58293,6 +58302,7 @@ size_t x_27; size_t x_28; uint8_t x_29;
|
|||
x_27 = 0;
|
||||
x_28 = lean_usize_of_nat(x_25);
|
||||
lean_dec(x_25);
|
||||
lean_inc_ref(x_2);
|
||||
x_29 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyDerivingHandlers_spec__0(x_2, x_23, x_27, x_28);
|
||||
lean_dec_ref(x_23);
|
||||
x_19 = x_29;
|
||||
|
|
@ -58348,73 +58358,112 @@ return x_16;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; uint8_t x_19;
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_array_uget(x_2, x_4);
|
||||
x_18 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_18);
|
||||
x_19 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_NameMap_contains_spec__0___redArg(x_18, x_5);
|
||||
if (x_19 == 0)
|
||||
lean_inc_ref(x_17);
|
||||
x_18 = lean_alloc_closure((void*)(l_Lean_Elab_DerivingClassView_getClassName), 4, 1);
|
||||
lean_closure_set(x_18, 0, x_17);
|
||||
lean_inc_ref(x_6);
|
||||
x_19 = l_Lean_Elab_Command_liftCoreM___redArg(x_18, x_6, x_7, x_8);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
x_20 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_removeUnused___redArg___closed__5;
|
||||
x_21 = lean_array_size(x_1);
|
||||
x_22 = 0;
|
||||
x_23 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyDerivingHandlers_spec__1(x_19, x_18, x_1, x_21, x_22, x_20, x_6, x_7, x_8);
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec_ref(x_23);
|
||||
lean_object* x_20; lean_object* x_21; uint8_t x_22;
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec_ref(x_19);
|
||||
x_22 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_NameMap_contains_spec__0___redArg(x_20, x_5);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_23 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_removeUnused___redArg___closed__5;
|
||||
x_24 = lean_array_size(x_1);
|
||||
x_25 = 0;
|
||||
lean_inc_ref(x_17);
|
||||
x_26 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyDerivingHandlers_spec__1(x_22, x_17, x_1, x_24, x_25, x_23, x_6, x_7, x_21);
|
||||
x_27 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_27);
|
||||
x_28 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_28);
|
||||
lean_dec_ref(x_26);
|
||||
lean_inc(x_7);
|
||||
lean_inc_ref(x_6);
|
||||
x_26 = l_Lean_Elab_DerivingClassView_applyHandlers(x_17, x_24, x_6, x_7, x_25);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
x_29 = l_Lean_Elab_DerivingClassView_applyHandlers(x_17, x_27, x_6, x_7, x_28);
|
||||
if (lean_obj_tag(x_29) == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
x_27 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec_ref(x_26);
|
||||
x_28 = l_Lean_NameSet_insert(x_5, x_18);
|
||||
x_9 = x_28;
|
||||
x_10 = x_27;
|
||||
lean_object* x_30; lean_object* x_31;
|
||||
x_30 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_30);
|
||||
lean_dec_ref(x_29);
|
||||
x_31 = l_Lean_NameSet_insert(x_5, x_20);
|
||||
x_9 = x_31;
|
||||
x_10 = x_30;
|
||||
goto block_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_29;
|
||||
lean_dec(x_18);
|
||||
uint8_t x_32;
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_5);
|
||||
x_29 = !lean_is_exclusive(x_26);
|
||||
if (x_29 == 0)
|
||||
x_32 = !lean_is_exclusive(x_29);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
return x_26;
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_30 = lean_ctor_get(x_26, 0);
|
||||
x_31 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_31);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_26);
|
||||
x_32 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_30);
|
||||
lean_ctor_set(x_32, 1, x_31);
|
||||
return x_32;
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_33 = lean_ctor_get(x_29, 0);
|
||||
x_34 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_34);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_29);
|
||||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_33);
|
||||
lean_ctor_set(x_35, 1, x_34);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_20);
|
||||
lean_dec_ref(x_17);
|
||||
x_9 = x_5;
|
||||
x_10 = x_8;
|
||||
x_10 = x_21;
|
||||
goto block_14;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_36;
|
||||
lean_dec_ref(x_17);
|
||||
lean_dec(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_5);
|
||||
x_36 = !lean_is_exclusive(x_19);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_37 = lean_ctor_get(x_19, 0);
|
||||
x_38 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_38);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_19);
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_37);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
return x_39;
|
||||
}
|
||||
}
|
||||
}
|
||||
block_14:
|
||||
{
|
||||
size_t x_11; size_t x_12;
|
||||
|
|
@ -58444,73 +58493,112 @@ return x_16;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; uint8_t x_19;
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
x_17 = lean_array_uget(x_2, x_4);
|
||||
x_18 = lean_ctor_get(x_17, 1);
|
||||
lean_inc(x_18);
|
||||
x_19 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_NameMap_contains_spec__0___redArg(x_18, x_5);
|
||||
if (x_19 == 0)
|
||||
lean_inc_ref(x_17);
|
||||
x_18 = lean_alloc_closure((void*)(l_Lean_Elab_DerivingClassView_getClassName), 4, 1);
|
||||
lean_closure_set(x_18, 0, x_17);
|
||||
lean_inc_ref(x_6);
|
||||
x_19 = l_Lean_Elab_Command_liftCoreM___redArg(x_18, x_6, x_7, x_8);
|
||||
if (lean_obj_tag(x_19) == 0)
|
||||
{
|
||||
lean_object* x_20; size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
x_20 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_removeUnused___redArg___closed__5;
|
||||
x_21 = lean_array_size(x_1);
|
||||
x_22 = 0;
|
||||
x_23 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyDerivingHandlers_spec__1(x_19, x_18, x_1, x_21, x_22, x_20, x_6, x_7, x_8);
|
||||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc(x_24);
|
||||
x_25 = lean_ctor_get(x_23, 1);
|
||||
lean_inc(x_25);
|
||||
lean_dec_ref(x_23);
|
||||
lean_object* x_20; lean_object* x_21; uint8_t x_22;
|
||||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc(x_20);
|
||||
x_21 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_21);
|
||||
lean_dec_ref(x_19);
|
||||
x_22 = l_Std_DTreeMap_Internal_Impl_contains___at___Lean_NameMap_contains_spec__0___redArg(x_20, x_5);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29;
|
||||
x_23 = l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_removeUnused___redArg___closed__5;
|
||||
x_24 = lean_array_size(x_1);
|
||||
x_25 = 0;
|
||||
lean_inc_ref(x_17);
|
||||
x_26 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyDerivingHandlers_spec__1(x_22, x_17, x_1, x_24, x_25, x_23, x_6, x_7, x_21);
|
||||
x_27 = lean_ctor_get(x_26, 0);
|
||||
lean_inc(x_27);
|
||||
x_28 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_28);
|
||||
lean_dec_ref(x_26);
|
||||
lean_inc(x_7);
|
||||
lean_inc_ref(x_6);
|
||||
x_26 = l_Lean_Elab_DerivingClassView_applyHandlers(x_17, x_24, x_6, x_7, x_25);
|
||||
if (lean_obj_tag(x_26) == 0)
|
||||
x_29 = l_Lean_Elab_DerivingClassView_applyHandlers(x_17, x_27, x_6, x_7, x_28);
|
||||
if (lean_obj_tag(x_29) == 0)
|
||||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
x_27 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_27);
|
||||
lean_dec_ref(x_26);
|
||||
x_28 = l_Lean_NameSet_insert(x_5, x_18);
|
||||
x_9 = x_28;
|
||||
x_10 = x_27;
|
||||
lean_object* x_30; lean_object* x_31;
|
||||
x_30 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_30);
|
||||
lean_dec_ref(x_29);
|
||||
x_31 = l_Lean_NameSet_insert(x_5, x_20);
|
||||
x_9 = x_31;
|
||||
x_10 = x_30;
|
||||
goto block_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_29;
|
||||
lean_dec(x_18);
|
||||
uint8_t x_32;
|
||||
lean_dec(x_20);
|
||||
lean_dec(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_5);
|
||||
x_29 = !lean_is_exclusive(x_26);
|
||||
if (x_29 == 0)
|
||||
x_32 = !lean_is_exclusive(x_29);
|
||||
if (x_32 == 0)
|
||||
{
|
||||
return x_26;
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
x_30 = lean_ctor_get(x_26, 0);
|
||||
x_31 = lean_ctor_get(x_26, 1);
|
||||
lean_inc(x_31);
|
||||
lean_inc(x_30);
|
||||
lean_dec(x_26);
|
||||
x_32 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_30);
|
||||
lean_ctor_set(x_32, 1, x_31);
|
||||
return x_32;
|
||||
lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
x_33 = lean_ctor_get(x_29, 0);
|
||||
x_34 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_34);
|
||||
lean_inc(x_33);
|
||||
lean_dec(x_29);
|
||||
x_35 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_33);
|
||||
lean_ctor_set(x_35, 1, x_34);
|
||||
return x_35;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_18);
|
||||
lean_dec(x_20);
|
||||
lean_dec_ref(x_17);
|
||||
x_9 = x_5;
|
||||
x_10 = x_8;
|
||||
x_10 = x_21;
|
||||
goto block_14;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_36;
|
||||
lean_dec_ref(x_17);
|
||||
lean_dec(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_5);
|
||||
x_36 = !lean_is_exclusive(x_19);
|
||||
if (x_36 == 0)
|
||||
{
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38; lean_object* x_39;
|
||||
x_37 = lean_ctor_get(x_19, 0);
|
||||
x_38 = lean_ctor_get(x_19, 1);
|
||||
lean_inc(x_38);
|
||||
lean_inc(x_37);
|
||||
lean_dec(x_19);
|
||||
x_39 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_37);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
return x_39;
|
||||
}
|
||||
}
|
||||
}
|
||||
block_14:
|
||||
{
|
||||
size_t x_11; size_t x_12; lean_object* x_13;
|
||||
|
|
@ -58641,7 +58729,6 @@ x_6 = lean_unbox_usize(x_4);
|
|||
lean_dec(x_4);
|
||||
x_7 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyDerivingHandlers_spec__0(x_1, x_2, x_5, x_6);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec(x_1);
|
||||
x_8 = lean_box(x_7);
|
||||
return x_8;
|
||||
}
|
||||
|
|
@ -58657,7 +58744,6 @@ x_10 = lean_unbox_usize(x_5);
|
|||
lean_dec(x_5);
|
||||
x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____private_Lean_Elab_MutualInductive_0__Lean_Elab_Command_applyDerivingHandlers_spec__1_spec__1___redArg(x_8, x_2, x_3, x_9, x_10, x_6, x_7);
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
|
|
@ -58674,7 +58760,6 @@ x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____
|
|||
lean_dec(x_8);
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
|
|
@ -58691,7 +58776,6 @@ x_13 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at_____
|
|||
lean_dec(x_8);
|
||||
lean_dec_ref(x_7);
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec(x_2);
|
||||
return x_13;
|
||||
}
|
||||
}
|
||||
|
|
@ -63257,7 +63341,7 @@ return x_5;
|
|||
LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at___Lean_Elab_Command_elabMutualInductive_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; lean_object* x_36; uint8_t x_37; uint8_t x_38; uint8_t x_45; lean_object* x_59; lean_object* x_60; uint8_t x_61;
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; uint8_t x_36; lean_object* x_37; uint8_t x_38; uint8_t x_45; lean_object* x_59; lean_object* x_60; uint8_t x_61;
|
||||
x_5 = lean_unsigned_to_nat(0u);
|
||||
x_6 = l_Lean_Syntax_getArg(x_1, x_5);
|
||||
x_7 = lean_unsigned_to_nat(1u);
|
||||
|
|
@ -63310,10 +63394,10 @@ if (lean_obj_tag(x_17) == 0)
|
|||
{
|
||||
uint8_t x_18; lean_object* x_19;
|
||||
x_18 = 0;
|
||||
x_19 = l_Lean_Elab_elabModifiers___at___Lean_Elab_Command_elabMutualInductive_spec__0___lam__1(x_1, x_16, x_15, x_14, x_13, x_8, x_5, x_12, x_18, x_2, x_3, x_4);
|
||||
x_19 = l_Lean_Elab_elabModifiers___at___Lean_Elab_Command_elabMutualInductive_spec__0___lam__1(x_1, x_16, x_14, x_13, x_15, x_8, x_5, x_12, x_18, x_2, x_3, x_4);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_15);
|
||||
return x_19;
|
||||
}
|
||||
else
|
||||
|
|
@ -63335,7 +63419,7 @@ if (x_24 == 0)
|
|||
{
|
||||
lean_object* x_25; lean_object* x_26; uint8_t x_27;
|
||||
lean_dec(x_16);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_1);
|
||||
|
|
@ -63366,10 +63450,10 @@ else
|
|||
uint8_t x_31; lean_object* x_32;
|
||||
lean_dec(x_20);
|
||||
x_31 = 2;
|
||||
x_32 = l_Lean_Elab_elabModifiers___at___Lean_Elab_Command_elabMutualInductive_spec__0___lam__1(x_1, x_16, x_15, x_14, x_13, x_8, x_5, x_12, x_31, x_2, x_3, x_4);
|
||||
x_32 = l_Lean_Elab_elabModifiers___at___Lean_Elab_Command_elabMutualInductive_spec__0___lam__1(x_1, x_16, x_14, x_13, x_15, x_8, x_5, x_12, x_31, x_2, x_3, x_4);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_15);
|
||||
return x_32;
|
||||
}
|
||||
}
|
||||
|
|
@ -63378,10 +63462,10 @@ else
|
|||
uint8_t x_33; lean_object* x_34;
|
||||
lean_dec(x_20);
|
||||
x_33 = 1;
|
||||
x_34 = l_Lean_Elab_elabModifiers___at___Lean_Elab_Command_elabMutualInductive_spec__0___lam__1(x_1, x_16, x_15, x_14, x_13, x_8, x_5, x_12, x_33, x_2, x_3, x_4);
|
||||
x_34 = l_Lean_Elab_elabModifiers___at___Lean_Elab_Command_elabMutualInductive_spec__0___lam__1(x_1, x_16, x_14, x_13, x_15, x_8, x_5, x_12, x_33, x_2, x_3, x_4);
|
||||
lean_dec(x_12);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_13);
|
||||
lean_dec(x_15);
|
||||
return x_34;
|
||||
}
|
||||
}
|
||||
|
|
@ -63395,8 +63479,8 @@ if (lean_obj_tag(x_39) == 0)
|
|||
{
|
||||
lean_object* x_40;
|
||||
x_40 = lean_box(0);
|
||||
x_13 = x_36;
|
||||
x_14 = x_38;
|
||||
x_13 = x_38;
|
||||
x_14 = x_36;
|
||||
x_15 = x_37;
|
||||
x_16 = x_40;
|
||||
goto block_35;
|
||||
|
|
@ -63407,8 +63491,8 @@ uint8_t x_41;
|
|||
x_41 = !lean_is_exclusive(x_39);
|
||||
if (x_41 == 0)
|
||||
{
|
||||
x_13 = x_36;
|
||||
x_14 = x_38;
|
||||
x_13 = x_38;
|
||||
x_14 = x_36;
|
||||
x_15 = x_37;
|
||||
x_16 = x_39;
|
||||
goto block_35;
|
||||
|
|
@ -63421,8 +63505,8 @@ lean_inc(x_42);
|
|||
lean_dec(x_39);
|
||||
x_43 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_43, 0, x_42);
|
||||
x_13 = x_36;
|
||||
x_14 = x_38;
|
||||
x_13 = x_38;
|
||||
x_14 = x_36;
|
||||
x_15 = x_37;
|
||||
x_16 = x_43;
|
||||
goto block_35;
|
||||
|
|
@ -63450,8 +63534,8 @@ if (x_54 == 0)
|
|||
{
|
||||
uint8_t x_55;
|
||||
x_55 = 1;
|
||||
x_36 = x_47;
|
||||
x_37 = x_45;
|
||||
x_36 = x_45;
|
||||
x_37 = x_47;
|
||||
x_38 = x_55;
|
||||
goto block_44;
|
||||
}
|
||||
|
|
@ -63459,8 +63543,8 @@ else
|
|||
{
|
||||
uint8_t x_56;
|
||||
x_56 = 0;
|
||||
x_36 = x_47;
|
||||
x_37 = x_45;
|
||||
x_36 = x_45;
|
||||
x_37 = x_47;
|
||||
x_38 = x_56;
|
||||
goto block_44;
|
||||
}
|
||||
|
|
@ -63470,8 +63554,8 @@ else
|
|||
uint8_t x_57;
|
||||
lean_dec(x_49);
|
||||
x_57 = 2;
|
||||
x_36 = x_47;
|
||||
x_37 = x_45;
|
||||
x_36 = x_45;
|
||||
x_37 = x_47;
|
||||
x_38 = x_57;
|
||||
goto block_44;
|
||||
}
|
||||
|
|
|
|||
2
stage0/stdlib/Lean/Elab/Structure.c
generated
2
stage0/stdlib/Lean/Elab/Structure.c
generated
|
|
@ -18375,8 +18375,6 @@ lean_inc(x_96);
|
|||
lean_dec_ref(x_94);
|
||||
x_97 = lean_unsigned_to_nat(5u);
|
||||
x_98 = l_Lean_Syntax_getArg(x_2, x_97);
|
||||
lean_inc(x_92);
|
||||
lean_inc_ref(x_91);
|
||||
x_99 = l_Lean_Elab_getOptDerivingClasses(x_98, x_91, x_92, x_96);
|
||||
if (lean_obj_tag(x_99) == 0)
|
||||
{
|
||||
|
|
|
|||
950
stage0/stdlib/Lean/Elab/Tactic/Try.c
generated
950
stage0/stdlib/Lean/Elab/Tactic/Try.c
generated
File diff suppressed because it is too large
Load diff
1420
stage0/stdlib/Lean/Meta/Tactic/Grind/EMatch.c
generated
1420
stage0/stdlib/Lean/Meta/Tactic/Grind/EMatch.c
generated
File diff suppressed because it is too large
Load diff
1084
stage0/stdlib/Lean/Meta/Tactic/Grind/MatchCond.c
generated
1084
stage0/stdlib/Lean/Meta/Tactic/Grind/MatchCond.c
generated
File diff suppressed because it is too large
Load diff
2540
stage0/stdlib/Lean/Parser/Command.c
generated
2540
stage0/stdlib/Lean/Parser/Command.c
generated
File diff suppressed because it is too large
Load diff
13715
stage0/stdlib/Lean/Server/Rpc/Deriving.c
generated
13715
stage0/stdlib/Lean/Server/Rpc/Deriving.c
generated
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue