chore: update stage0
This commit is contained in:
parent
786b1a952c
commit
76a8f17c4b
3 changed files with 2820 additions and 2764 deletions
4362
stage0/stdlib/Lean/Elab/App.c
generated
4362
stage0/stdlib/Lean/Elab/App.c
generated
File diff suppressed because it is too large
Load diff
462
stage0/stdlib/Lean/Elab/Binders.c
generated
462
stage0/stdlib/Lean/Elab/Binders.c
generated
|
|
@ -14883,19 +14883,19 @@ lean_ctor_set(x_26, 0, x_25);
|
|||
lean_ctor_set(x_26, 1, x_24);
|
||||
if (x_22 == 0)
|
||||
{
|
||||
lean_object* x_107; lean_object* x_108; lean_object* x_109;
|
||||
x_107 = l_List_reprAux___main___rarg___closed__1;
|
||||
x_108 = l_Lean_mkAtomFrom(x_1, x_107);
|
||||
x_109 = lean_array_push(x_5, x_108);
|
||||
x_27 = x_109;
|
||||
goto block_106;
|
||||
lean_object* x_115; lean_object* x_116; lean_object* x_117;
|
||||
x_115 = l_List_reprAux___main___rarg___closed__1;
|
||||
x_116 = l_Lean_mkAtomFrom(x_1, x_115);
|
||||
x_117 = lean_array_push(x_5, x_116);
|
||||
x_27 = x_117;
|
||||
goto block_114;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_27 = x_5;
|
||||
goto block_106;
|
||||
goto block_114;
|
||||
}
|
||||
block_106:
|
||||
block_114:
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29;
|
||||
x_28 = lean_array_push(x_27, x_26);
|
||||
|
|
@ -14974,7 +14974,7 @@ uint8_t x_65;
|
|||
x_65 = !lean_is_exclusive(x_29);
|
||||
if (x_65 == 0)
|
||||
{
|
||||
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_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_66 = lean_ctor_get(x_29, 0);
|
||||
x_67 = l_Array_empty___closed__1;
|
||||
x_68 = lean_array_push(x_67, x_21);
|
||||
|
|
@ -14991,260 +14991,284 @@ lean_ctor_set(x_74, 1, x_72);
|
|||
x_75 = lean_array_push(x_67, x_74);
|
||||
x_76 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18;
|
||||
x_77 = lean_array_push(x_75, x_76);
|
||||
x_78 = lean_array_push(x_77, x_66);
|
||||
x_79 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42;
|
||||
x_80 = lean_array_push(x_78, x_79);
|
||||
x_81 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_81, 0, x_69);
|
||||
lean_ctor_set(x_81, 1, x_80);
|
||||
x_82 = lean_array_push(x_67, x_81);
|
||||
x_83 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
|
||||
x_84 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_84, 0, x_83);
|
||||
lean_ctor_set(x_84, 1, x_82);
|
||||
lean_ctor_set(x_29, 0, x_84);
|
||||
x_78 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_78, 0, x_69);
|
||||
lean_ctor_set(x_78, 1, x_77);
|
||||
x_79 = lean_array_push(x_67, x_78);
|
||||
x_80 = lean_array_push(x_67, x_66);
|
||||
x_81 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42;
|
||||
x_82 = lean_array_push(x_80, x_81);
|
||||
x_83 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_83, 0, x_69);
|
||||
lean_ctor_set(x_83, 1, x_82);
|
||||
x_84 = lean_array_push(x_79, x_83);
|
||||
x_85 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_85, 0, x_69);
|
||||
lean_ctor_set(x_85, 1, x_84);
|
||||
x_86 = lean_array_push(x_67, x_85);
|
||||
x_87 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
|
||||
x_88 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_88, 0, x_87);
|
||||
lean_ctor_set(x_88, 1, x_86);
|
||||
lean_ctor_set(x_29, 0, x_88);
|
||||
return x_29;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105;
|
||||
x_85 = lean_ctor_get(x_29, 0);
|
||||
x_86 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_86);
|
||||
lean_inc(x_85);
|
||||
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113;
|
||||
x_89 = lean_ctor_get(x_29, 0);
|
||||
x_90 = lean_ctor_get(x_29, 1);
|
||||
lean_inc(x_90);
|
||||
lean_inc(x_89);
|
||||
lean_dec(x_29);
|
||||
x_87 = l_Array_empty___closed__1;
|
||||
x_88 = lean_array_push(x_87, x_21);
|
||||
x_89 = l_Lean_nullKind___closed__2;
|
||||
x_90 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_90, 0, x_89);
|
||||
lean_ctor_set(x_90, 1, x_88);
|
||||
x_91 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11;
|
||||
x_92 = lean_array_push(x_91, x_90);
|
||||
x_93 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
|
||||
x_91 = l_Array_empty___closed__1;
|
||||
x_92 = lean_array_push(x_91, x_21);
|
||||
x_93 = l_Lean_nullKind___closed__2;
|
||||
x_94 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_94, 0, x_93);
|
||||
lean_ctor_set(x_94, 1, x_92);
|
||||
x_95 = lean_array_push(x_87, x_94);
|
||||
x_96 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18;
|
||||
x_97 = lean_array_push(x_95, x_96);
|
||||
x_98 = lean_array_push(x_97, x_85);
|
||||
x_99 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42;
|
||||
x_100 = lean_array_push(x_98, x_99);
|
||||
x_101 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_101, 0, x_89);
|
||||
lean_ctor_set(x_101, 1, x_100);
|
||||
x_102 = lean_array_push(x_87, x_101);
|
||||
x_103 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
|
||||
x_104 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_104, 0, x_103);
|
||||
lean_ctor_set(x_104, 1, x_102);
|
||||
x_105 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_105, 0, x_104);
|
||||
lean_ctor_set(x_105, 1, x_86);
|
||||
return x_105;
|
||||
x_95 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11;
|
||||
x_96 = lean_array_push(x_95, x_94);
|
||||
x_97 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
|
||||
x_98 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_98, 0, x_97);
|
||||
lean_ctor_set(x_98, 1, x_96);
|
||||
x_99 = lean_array_push(x_91, x_98);
|
||||
x_100 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18;
|
||||
x_101 = lean_array_push(x_99, x_100);
|
||||
x_102 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_102, 0, x_93);
|
||||
lean_ctor_set(x_102, 1, x_101);
|
||||
x_103 = lean_array_push(x_91, x_102);
|
||||
x_104 = lean_array_push(x_91, x_89);
|
||||
x_105 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42;
|
||||
x_106 = lean_array_push(x_104, x_105);
|
||||
x_107 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_107, 0, x_93);
|
||||
lean_ctor_set(x_107, 1, x_106);
|
||||
x_108 = lean_array_push(x_103, x_107);
|
||||
x_109 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_109, 0, x_93);
|
||||
lean_ctor_set(x_109, 1, x_108);
|
||||
x_110 = lean_array_push(x_91, x_109);
|
||||
x_111 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
|
||||
x_112 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_112, 0, x_111);
|
||||
lean_ctor_set(x_112, 1, x_110);
|
||||
x_113 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_113, 0, x_112);
|
||||
lean_ctor_set(x_113, 1, x_90);
|
||||
return x_113;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126;
|
||||
x_110 = lean_ctor_get(x_6, 0);
|
||||
x_111 = lean_ctor_get(x_6, 1);
|
||||
x_112 = lean_ctor_get(x_6, 3);
|
||||
x_113 = lean_ctor_get(x_6, 4);
|
||||
lean_inc(x_113);
|
||||
lean_inc(x_112);
|
||||
lean_inc(x_111);
|
||||
lean_inc(x_110);
|
||||
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; lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134;
|
||||
x_118 = lean_ctor_get(x_6, 0);
|
||||
x_119 = lean_ctor_get(x_6, 1);
|
||||
x_120 = lean_ctor_get(x_6, 3);
|
||||
x_121 = lean_ctor_get(x_6, 4);
|
||||
lean_inc(x_121);
|
||||
lean_inc(x_120);
|
||||
lean_inc(x_119);
|
||||
lean_inc(x_118);
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_111);
|
||||
x_114 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_114, 0, x_110);
|
||||
lean_ctor_set(x_114, 1, x_111);
|
||||
lean_ctor_set(x_114, 2, x_7);
|
||||
lean_ctor_set(x_114, 3, x_112);
|
||||
lean_ctor_set(x_114, 4, x_113);
|
||||
x_115 = l_Lean_Meta_mkArrow___rarg___closed__2;
|
||||
x_116 = l_Lean_addMacroScope(x_111, x_115, x_7);
|
||||
x_117 = lean_box(0);
|
||||
x_118 = l_Lean_SourceInfo_inhabited___closed__1;
|
||||
x_119 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__2;
|
||||
x_120 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_120, 0, x_118);
|
||||
lean_ctor_set(x_120, 1, x_119);
|
||||
lean_ctor_set(x_120, 2, x_116);
|
||||
lean_ctor_set(x_120, 3, x_117);
|
||||
x_121 = l_Array_isEmpty___rarg(x_5);
|
||||
x_122 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__3;
|
||||
lean_inc(x_120);
|
||||
x_123 = lean_array_push(x_122, x_120);
|
||||
x_124 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__6;
|
||||
x_125 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_125, 0, x_124);
|
||||
lean_ctor_set(x_125, 1, x_123);
|
||||
if (x_121 == 0)
|
||||
lean_inc(x_119);
|
||||
x_122 = lean_alloc_ctor(0, 5, 0);
|
||||
lean_ctor_set(x_122, 0, x_118);
|
||||
lean_ctor_set(x_122, 1, x_119);
|
||||
lean_ctor_set(x_122, 2, x_7);
|
||||
lean_ctor_set(x_122, 3, x_120);
|
||||
lean_ctor_set(x_122, 4, x_121);
|
||||
x_123 = l_Lean_Meta_mkArrow___rarg___closed__2;
|
||||
x_124 = l_Lean_addMacroScope(x_119, x_123, x_7);
|
||||
x_125 = lean_box(0);
|
||||
x_126 = l_Lean_SourceInfo_inhabited___closed__1;
|
||||
x_127 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__2;
|
||||
x_128 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_128, 0, x_126);
|
||||
lean_ctor_set(x_128, 1, x_127);
|
||||
lean_ctor_set(x_128, 2, x_124);
|
||||
lean_ctor_set(x_128, 3, x_125);
|
||||
x_129 = l_Array_isEmpty___rarg(x_5);
|
||||
x_130 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__3;
|
||||
lean_inc(x_128);
|
||||
x_131 = lean_array_push(x_130, x_128);
|
||||
x_132 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__6;
|
||||
x_133 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_133, 0, x_132);
|
||||
lean_ctor_set(x_133, 1, x_131);
|
||||
if (x_129 == 0)
|
||||
{
|
||||
lean_object* x_171; lean_object* x_172; lean_object* x_173;
|
||||
x_171 = l_List_reprAux___main___rarg___closed__1;
|
||||
x_172 = l_Lean_mkAtomFrom(x_1, x_171);
|
||||
x_173 = lean_array_push(x_5, x_172);
|
||||
x_126 = x_173;
|
||||
goto block_170;
|
||||
lean_object* x_183; lean_object* x_184; lean_object* x_185;
|
||||
x_183 = l_List_reprAux___main___rarg___closed__1;
|
||||
x_184 = l_Lean_mkAtomFrom(x_1, x_183);
|
||||
x_185 = lean_array_push(x_5, x_184);
|
||||
x_134 = x_185;
|
||||
goto block_182;
|
||||
}
|
||||
else
|
||||
{
|
||||
x_126 = x_5;
|
||||
goto block_170;
|
||||
x_134 = x_5;
|
||||
goto block_182;
|
||||
}
|
||||
block_170:
|
||||
block_182:
|
||||
{
|
||||
lean_object* x_127; lean_object* x_128;
|
||||
x_127 = lean_array_push(x_126, x_125);
|
||||
x_128 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main(x_1, x_2, x_3, x_11, x_127, x_114, x_12);
|
||||
lean_object* x_135; lean_object* x_136;
|
||||
x_135 = lean_array_push(x_134, x_133);
|
||||
x_136 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main(x_1, x_2, x_3, x_11, x_135, x_122, x_12);
|
||||
lean_dec(x_11);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147;
|
||||
x_129 = lean_ctor_get(x_128, 0);
|
||||
lean_inc(x_129);
|
||||
x_130 = lean_ctor_get(x_128, 1);
|
||||
lean_inc(x_130);
|
||||
if (lean_is_exclusive(x_128)) {
|
||||
lean_ctor_release(x_128, 0);
|
||||
lean_ctor_release(x_128, 1);
|
||||
x_131 = x_128;
|
||||
lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155;
|
||||
x_137 = lean_ctor_get(x_136, 0);
|
||||
lean_inc(x_137);
|
||||
x_138 = lean_ctor_get(x_136, 1);
|
||||
lean_inc(x_138);
|
||||
if (lean_is_exclusive(x_136)) {
|
||||
lean_ctor_release(x_136, 0);
|
||||
lean_ctor_release(x_136, 1);
|
||||
x_139 = x_136;
|
||||
} else {
|
||||
lean_dec_ref(x_128);
|
||||
x_131 = lean_box(0);
|
||||
lean_dec_ref(x_136);
|
||||
x_139 = lean_box(0);
|
||||
}
|
||||
x_132 = l_Array_empty___closed__1;
|
||||
x_133 = lean_array_push(x_132, x_120);
|
||||
x_134 = l_Lean_nullKind___closed__2;
|
||||
x_135 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_135, 0, x_134);
|
||||
lean_ctor_set(x_135, 1, x_133);
|
||||
x_136 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__9;
|
||||
x_137 = lean_array_push(x_136, x_135);
|
||||
x_138 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17;
|
||||
x_139 = lean_array_push(x_137, x_138);
|
||||
x_140 = lean_array_push(x_139, x_129);
|
||||
x_141 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__7;
|
||||
x_142 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_142, 0, x_141);
|
||||
lean_ctor_set(x_142, 1, x_140);
|
||||
x_143 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5;
|
||||
x_144 = lean_array_push(x_143, x_142);
|
||||
x_145 = l___private_Lean_Elab_Term_12__isExplicit___closed__2;
|
||||
x_146 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_146, 0, x_145);
|
||||
lean_ctor_set(x_146, 1, x_144);
|
||||
if (lean_is_scalar(x_131)) {
|
||||
x_147 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_147 = x_131;
|
||||
}
|
||||
lean_ctor_set(x_147, 0, x_146);
|
||||
lean_ctor_set(x_147, 1, x_130);
|
||||
return x_147;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169;
|
||||
x_148 = lean_ctor_get(x_128, 0);
|
||||
lean_inc(x_148);
|
||||
x_149 = lean_ctor_get(x_128, 1);
|
||||
lean_inc(x_149);
|
||||
if (lean_is_exclusive(x_128)) {
|
||||
lean_ctor_release(x_128, 0);
|
||||
lean_ctor_release(x_128, 1);
|
||||
x_150 = x_128;
|
||||
} else {
|
||||
lean_dec_ref(x_128);
|
||||
x_150 = lean_box(0);
|
||||
}
|
||||
x_151 = l_Array_empty___closed__1;
|
||||
x_152 = lean_array_push(x_151, x_120);
|
||||
x_153 = l_Lean_nullKind___closed__2;
|
||||
x_140 = l_Array_empty___closed__1;
|
||||
x_141 = lean_array_push(x_140, x_128);
|
||||
x_142 = l_Lean_nullKind___closed__2;
|
||||
x_143 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_143, 0, x_142);
|
||||
lean_ctor_set(x_143, 1, x_141);
|
||||
x_144 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__9;
|
||||
x_145 = lean_array_push(x_144, x_143);
|
||||
x_146 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17;
|
||||
x_147 = lean_array_push(x_145, x_146);
|
||||
x_148 = lean_array_push(x_147, x_137);
|
||||
x_149 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__7;
|
||||
x_150 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_150, 0, x_149);
|
||||
lean_ctor_set(x_150, 1, x_148);
|
||||
x_151 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5;
|
||||
x_152 = lean_array_push(x_151, x_150);
|
||||
x_153 = l___private_Lean_Elab_Term_12__isExplicit___closed__2;
|
||||
x_154 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_154, 0, x_153);
|
||||
lean_ctor_set(x_154, 1, x_152);
|
||||
x_155 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11;
|
||||
x_156 = lean_array_push(x_155, x_154);
|
||||
x_157 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
|
||||
x_158 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_158, 0, x_157);
|
||||
lean_ctor_set(x_158, 1, x_156);
|
||||
x_159 = lean_array_push(x_151, x_158);
|
||||
x_160 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18;
|
||||
x_161 = lean_array_push(x_159, x_160);
|
||||
x_162 = lean_array_push(x_161, x_148);
|
||||
x_163 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42;
|
||||
x_164 = lean_array_push(x_162, x_163);
|
||||
x_165 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_165, 0, x_153);
|
||||
lean_ctor_set(x_165, 1, x_164);
|
||||
x_166 = lean_array_push(x_151, x_165);
|
||||
x_167 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
|
||||
x_168 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_168, 0, x_167);
|
||||
lean_ctor_set(x_168, 1, x_166);
|
||||
if (lean_is_scalar(x_150)) {
|
||||
x_169 = lean_alloc_ctor(0, 2, 0);
|
||||
if (lean_is_scalar(x_139)) {
|
||||
x_155 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_169 = x_150;
|
||||
x_155 = x_139;
|
||||
}
|
||||
lean_ctor_set(x_169, 0, x_168);
|
||||
lean_ctor_set(x_169, 1, x_149);
|
||||
return x_169;
|
||||
lean_ctor_set(x_155, 0, x_154);
|
||||
lean_ctor_set(x_155, 1, x_138);
|
||||
return x_155;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181;
|
||||
x_156 = lean_ctor_get(x_136, 0);
|
||||
lean_inc(x_156);
|
||||
x_157 = lean_ctor_get(x_136, 1);
|
||||
lean_inc(x_157);
|
||||
if (lean_is_exclusive(x_136)) {
|
||||
lean_ctor_release(x_136, 0);
|
||||
lean_ctor_release(x_136, 1);
|
||||
x_158 = x_136;
|
||||
} else {
|
||||
lean_dec_ref(x_136);
|
||||
x_158 = lean_box(0);
|
||||
}
|
||||
x_159 = l_Array_empty___closed__1;
|
||||
x_160 = lean_array_push(x_159, x_128);
|
||||
x_161 = l_Lean_nullKind___closed__2;
|
||||
x_162 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_162, 0, x_161);
|
||||
lean_ctor_set(x_162, 1, x_160);
|
||||
x_163 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11;
|
||||
x_164 = lean_array_push(x_163, x_162);
|
||||
x_165 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
|
||||
x_166 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_166, 0, x_165);
|
||||
lean_ctor_set(x_166, 1, x_164);
|
||||
x_167 = lean_array_push(x_159, x_166);
|
||||
x_168 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18;
|
||||
x_169 = lean_array_push(x_167, x_168);
|
||||
x_170 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_170, 0, x_161);
|
||||
lean_ctor_set(x_170, 1, x_169);
|
||||
x_171 = lean_array_push(x_159, x_170);
|
||||
x_172 = lean_array_push(x_159, x_156);
|
||||
x_173 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42;
|
||||
x_174 = lean_array_push(x_172, x_173);
|
||||
x_175 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_175, 0, x_161);
|
||||
lean_ctor_set(x_175, 1, x_174);
|
||||
x_176 = lean_array_push(x_171, x_175);
|
||||
x_177 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_177, 0, x_161);
|
||||
lean_ctor_set(x_177, 1, x_176);
|
||||
x_178 = lean_array_push(x_159, x_177);
|
||||
x_179 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
|
||||
x_180 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_180, 0, x_179);
|
||||
lean_ctor_set(x_180, 1, x_178);
|
||||
if (lean_is_scalar(x_158)) {
|
||||
x_181 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
x_181 = x_158;
|
||||
}
|
||||
lean_ctor_set(x_181, 0, x_180);
|
||||
lean_ctor_set(x_181, 1, x_157);
|
||||
return x_181;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186;
|
||||
lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198;
|
||||
lean_dec(x_6);
|
||||
x_174 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__12;
|
||||
x_175 = l_Lean_mkAtomFrom(x_1, x_174);
|
||||
x_176 = l_Lean_nullKind;
|
||||
x_177 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_177, 0, x_176);
|
||||
lean_ctor_set(x_177, 1, x_5);
|
||||
x_178 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__13;
|
||||
x_179 = l_Lean_mkAtomFrom(x_1, x_178);
|
||||
x_180 = l_Lean_Elab_Term_mkExplicitBinder___closed__7;
|
||||
x_181 = lean_array_push(x_180, x_175);
|
||||
x_182 = lean_array_push(x_181, x_177);
|
||||
x_183 = l_Lean_mkOptionalNode___closed__1;
|
||||
x_184 = lean_array_push(x_182, x_183);
|
||||
x_185 = lean_array_push(x_184, x_179);
|
||||
x_186 = lean_array_push(x_185, x_2);
|
||||
x_186 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__12;
|
||||
x_187 = l_Lean_mkAtomFrom(x_1, x_186);
|
||||
x_188 = l_Lean_nullKind;
|
||||
x_189 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_189, 0, x_188);
|
||||
lean_ctor_set(x_189, 1, x_5);
|
||||
x_190 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__13;
|
||||
x_191 = l_Lean_mkAtomFrom(x_1, x_190);
|
||||
x_192 = l_Lean_Elab_Term_mkExplicitBinder___closed__7;
|
||||
x_193 = lean_array_push(x_192, x_187);
|
||||
x_194 = lean_array_push(x_193, x_189);
|
||||
x_195 = l_Lean_mkOptionalNode___closed__1;
|
||||
x_196 = lean_array_push(x_194, x_195);
|
||||
x_197 = lean_array_push(x_196, x_191);
|
||||
x_198 = lean_array_push(x_197, x_2);
|
||||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_187; lean_object* x_188; lean_object* x_189;
|
||||
x_187 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__2;
|
||||
x_188 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_188, 0, x_187);
|
||||
lean_ctor_set(x_188, 1, x_186);
|
||||
x_189 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_189, 0, x_188);
|
||||
lean_ctor_set(x_189, 1, x_7);
|
||||
return x_189;
|
||||
lean_object* x_199; lean_object* x_200; lean_object* x_201;
|
||||
x_199 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__2;
|
||||
x_200 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_200, 0, x_199);
|
||||
lean_ctor_set(x_200, 1, x_198);
|
||||
x_201 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_201, 0, x_200);
|
||||
lean_ctor_set(x_201, 1, x_7);
|
||||
return x_201;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_190; lean_object* x_191; lean_object* x_192;
|
||||
x_190 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14;
|
||||
x_191 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_191, 0, x_190);
|
||||
lean_ctor_set(x_191, 1, x_186);
|
||||
x_192 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_192, 0, x_191);
|
||||
lean_ctor_set(x_192, 1, x_7);
|
||||
return x_192;
|
||||
lean_object* x_202; lean_object* x_203; lean_object* x_204;
|
||||
x_202 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14;
|
||||
x_203 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_203, 0, x_202);
|
||||
lean_ctor_set(x_203, 1, x_198);
|
||||
x_204 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_204, 0, x_203);
|
||||
lean_ctor_set(x_204, 1, x_7);
|
||||
return x_204;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
760
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
760
stage0/stdlib/Lean/Elab/Tactic/Basic.c
generated
|
|
@ -9229,30 +9229,30 @@ return x_3;
|
|||
lean_object* l_Lean_Elab_Tactic_evalIntro(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) {
|
||||
_start:
|
||||
{
|
||||
uint8_t x_11; lean_object* x_197; uint8_t x_198;
|
||||
x_197 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
|
||||
uint8_t x_11; lean_object* x_207; uint8_t x_208;
|
||||
x_207 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
|
||||
lean_inc(x_1);
|
||||
x_198 = l_Lean_Syntax_isOfKind(x_1, x_197);
|
||||
if (x_198 == 0)
|
||||
x_208 = l_Lean_Syntax_isOfKind(x_1, x_207);
|
||||
if (x_208 == 0)
|
||||
{
|
||||
uint8_t x_199;
|
||||
x_199 = 0;
|
||||
x_11 = x_199;
|
||||
goto block_196;
|
||||
uint8_t x_209;
|
||||
x_209 = 0;
|
||||
x_11 = x_209;
|
||||
goto block_206;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203;
|
||||
x_200 = l_Lean_Syntax_getArgs(x_1);
|
||||
x_201 = lean_array_get_size(x_200);
|
||||
lean_dec(x_200);
|
||||
x_202 = lean_unsigned_to_nat(2u);
|
||||
x_203 = lean_nat_dec_eq(x_201, x_202);
|
||||
lean_dec(x_201);
|
||||
x_11 = x_203;
|
||||
goto block_196;
|
||||
lean_object* x_210; lean_object* x_211; lean_object* x_212; uint8_t x_213;
|
||||
x_210 = l_Lean_Syntax_getArgs(x_1);
|
||||
x_211 = lean_array_get_size(x_210);
|
||||
lean_dec(x_210);
|
||||
x_212 = lean_unsigned_to_nat(2u);
|
||||
x_213 = lean_nat_dec_eq(x_211, x_212);
|
||||
lean_dec(x_211);
|
||||
x_11 = x_213;
|
||||
goto block_206;
|
||||
}
|
||||
block_196:
|
||||
block_206:
|
||||
{
|
||||
if (x_11 == 0)
|
||||
{
|
||||
|
|
@ -9271,36 +9271,36 @@ return x_12;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_167; uint8_t x_168; uint8_t x_169;
|
||||
lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_177; uint8_t x_178; uint8_t x_179;
|
||||
x_13 = lean_unsigned_to_nat(1u);
|
||||
x_14 = l_Lean_Syntax_getArg(x_1, x_13);
|
||||
x_167 = l_Lean_nullKind___closed__2;
|
||||
x_177 = l_Lean_nullKind___closed__2;
|
||||
lean_inc(x_14);
|
||||
x_168 = l_Lean_Syntax_isOfKind(x_14, x_167);
|
||||
if (x_168 == 0)
|
||||
x_178 = l_Lean_Syntax_isOfKind(x_14, x_177);
|
||||
if (x_178 == 0)
|
||||
{
|
||||
uint8_t x_191;
|
||||
x_191 = 0;
|
||||
x_169 = x_191;
|
||||
goto block_190;
|
||||
uint8_t x_201;
|
||||
x_201 = 0;
|
||||
x_179 = x_201;
|
||||
goto block_200;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195;
|
||||
x_192 = l_Lean_Syntax_getArgs(x_14);
|
||||
x_193 = lean_array_get_size(x_192);
|
||||
lean_dec(x_192);
|
||||
x_194 = lean_unsigned_to_nat(0u);
|
||||
x_195 = lean_nat_dec_eq(x_193, x_194);
|
||||
lean_dec(x_193);
|
||||
x_169 = x_195;
|
||||
goto block_190;
|
||||
lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205;
|
||||
x_202 = l_Lean_Syntax_getArgs(x_14);
|
||||
x_203 = lean_array_get_size(x_202);
|
||||
lean_dec(x_202);
|
||||
x_204 = lean_unsigned_to_nat(0u);
|
||||
x_205 = lean_nat_dec_eq(x_203, x_204);
|
||||
lean_dec(x_203);
|
||||
x_179 = x_205;
|
||||
goto block_200;
|
||||
}
|
||||
block_166:
|
||||
block_176:
|
||||
{
|
||||
if (x_15 == 0)
|
||||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 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; uint8_t x_48;
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 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; uint8_t x_52;
|
||||
x_16 = l_Lean_Syntax_getArgs(x_14);
|
||||
lean_dec(x_14);
|
||||
x_17 = l_Lean_Syntax_inhabited;
|
||||
|
|
@ -9333,368 +9333,388 @@ lean_ctor_set(x_33, 1, x_31);
|
|||
x_34 = lean_array_push(x_26, x_33);
|
||||
x_35 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18;
|
||||
x_36 = lean_array_push(x_34, x_35);
|
||||
x_37 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_21, x_21, x_18, x_26);
|
||||
x_37 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_28);
|
||||
lean_ctor_set(x_37, 1, x_36);
|
||||
x_38 = lean_array_push(x_26, x_37);
|
||||
x_39 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_21, x_21, x_18, x_26);
|
||||
lean_dec(x_21);
|
||||
x_38 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_28);
|
||||
lean_ctor_set(x_38, 1, x_37);
|
||||
x_39 = lean_array_push(x_30, x_38);
|
||||
x_40 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_40, 0, x_32);
|
||||
lean_ctor_set(x_40, 0, x_28);
|
||||
lean_ctor_set(x_40, 1, x_39);
|
||||
x_41 = lean_array_push(x_36, x_40);
|
||||
x_42 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13;
|
||||
x_43 = lean_array_push(x_41, x_42);
|
||||
x_44 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_44, 0, x_28);
|
||||
lean_ctor_set(x_44, 1, x_43);
|
||||
x_45 = lean_array_push(x_26, x_44);
|
||||
x_46 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
|
||||
x_47 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_47, 0, x_46);
|
||||
lean_ctor_set(x_47, 1, x_45);
|
||||
x_48 = !lean_is_exclusive(x_4);
|
||||
if (x_48 == 0)
|
||||
{
|
||||
lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52;
|
||||
x_49 = lean_ctor_get(x_4, 6);
|
||||
lean_inc(x_47);
|
||||
x_50 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_50, 0, x_1);
|
||||
lean_ctor_set(x_50, 1, x_47);
|
||||
x_41 = lean_array_push(x_30, x_40);
|
||||
x_42 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_32);
|
||||
lean_ctor_set(x_42, 1, x_41);
|
||||
x_43 = lean_array_push(x_26, x_42);
|
||||
x_44 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13;
|
||||
x_45 = lean_array_push(x_43, x_44);
|
||||
x_46 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_28);
|
||||
lean_ctor_set(x_46, 1, x_45);
|
||||
x_47 = lean_array_push(x_38, x_46);
|
||||
x_48 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_48, 0, x_28);
|
||||
lean_ctor_set(x_48, 1, x_47);
|
||||
x_49 = lean_array_push(x_26, x_48);
|
||||
x_50 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
|
||||
x_51 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_51, 0, x_50);
|
||||
lean_ctor_set(x_51, 1, x_49);
|
||||
lean_ctor_set(x_4, 6, x_51);
|
||||
x_52 = l_Lean_Elab_Tactic_evalTactic___main(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25);
|
||||
return x_52;
|
||||
x_52 = !lean_is_exclusive(x_4);
|
||||
if (x_52 == 0)
|
||||
{
|
||||
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56;
|
||||
x_53 = lean_ctor_get(x_4, 6);
|
||||
lean_inc(x_51);
|
||||
x_54 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_54, 0, x_1);
|
||||
lean_ctor_set(x_54, 1, x_51);
|
||||
x_55 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_55, 0, x_54);
|
||||
lean_ctor_set(x_55, 1, x_53);
|
||||
lean_ctor_set(x_4, 6, x_55);
|
||||
x_56 = l_Lean_Elab_Tactic_evalTactic___main(x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25);
|
||||
return x_56;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66;
|
||||
x_53 = lean_ctor_get(x_4, 0);
|
||||
x_54 = lean_ctor_get(x_4, 1);
|
||||
x_55 = lean_ctor_get(x_4, 2);
|
||||
x_56 = lean_ctor_get(x_4, 3);
|
||||
x_57 = lean_ctor_get(x_4, 4);
|
||||
x_58 = lean_ctor_get(x_4, 5);
|
||||
x_59 = lean_ctor_get(x_4, 6);
|
||||
x_60 = lean_ctor_get(x_4, 7);
|
||||
x_61 = lean_ctor_get_uint8(x_4, sizeof(void*)*8);
|
||||
x_62 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1);
|
||||
lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70;
|
||||
x_57 = lean_ctor_get(x_4, 0);
|
||||
x_58 = lean_ctor_get(x_4, 1);
|
||||
x_59 = lean_ctor_get(x_4, 2);
|
||||
x_60 = lean_ctor_get(x_4, 3);
|
||||
x_61 = lean_ctor_get(x_4, 4);
|
||||
x_62 = lean_ctor_get(x_4, 5);
|
||||
x_63 = lean_ctor_get(x_4, 6);
|
||||
x_64 = lean_ctor_get(x_4, 7);
|
||||
x_65 = lean_ctor_get_uint8(x_4, sizeof(void*)*8);
|
||||
x_66 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1);
|
||||
lean_inc(x_64);
|
||||
lean_inc(x_63);
|
||||
lean_inc(x_62);
|
||||
lean_inc(x_61);
|
||||
lean_inc(x_60);
|
||||
lean_inc(x_59);
|
||||
lean_inc(x_58);
|
||||
lean_inc(x_57);
|
||||
lean_inc(x_56);
|
||||
lean_inc(x_55);
|
||||
lean_inc(x_54);
|
||||
lean_inc(x_53);
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_47);
|
||||
x_63 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_63, 0, x_1);
|
||||
lean_ctor_set(x_63, 1, x_47);
|
||||
x_64 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_64, 0, x_63);
|
||||
lean_ctor_set(x_64, 1, x_59);
|
||||
x_65 = lean_alloc_ctor(0, 8, 2);
|
||||
lean_ctor_set(x_65, 0, x_53);
|
||||
lean_ctor_set(x_65, 1, x_54);
|
||||
lean_ctor_set(x_65, 2, x_55);
|
||||
lean_ctor_set(x_65, 3, x_56);
|
||||
lean_ctor_set(x_65, 4, x_57);
|
||||
lean_ctor_set(x_65, 5, x_58);
|
||||
lean_ctor_set(x_65, 6, x_64);
|
||||
lean_ctor_set(x_65, 7, x_60);
|
||||
lean_ctor_set_uint8(x_65, sizeof(void*)*8, x_61);
|
||||
lean_ctor_set_uint8(x_65, sizeof(void*)*8 + 1, x_62);
|
||||
x_66 = l_Lean_Elab_Tactic_evalTactic___main(x_47, x_2, x_3, x_65, x_5, x_6, x_7, x_8, x_9, x_25);
|
||||
return x_66;
|
||||
lean_inc(x_51);
|
||||
x_67 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_67, 0, x_1);
|
||||
lean_ctor_set(x_67, 1, x_51);
|
||||
x_68 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_68, 0, x_67);
|
||||
lean_ctor_set(x_68, 1, x_63);
|
||||
x_69 = lean_alloc_ctor(0, 8, 2);
|
||||
lean_ctor_set(x_69, 0, x_57);
|
||||
lean_ctor_set(x_69, 1, x_58);
|
||||
lean_ctor_set(x_69, 2, x_59);
|
||||
lean_ctor_set(x_69, 3, x_60);
|
||||
lean_ctor_set(x_69, 4, x_61);
|
||||
lean_ctor_set(x_69, 5, x_62);
|
||||
lean_ctor_set(x_69, 6, x_68);
|
||||
lean_ctor_set(x_69, 7, x_64);
|
||||
lean_ctor_set_uint8(x_69, sizeof(void*)*8, x_65);
|
||||
lean_ctor_set_uint8(x_69, sizeof(void*)*8 + 1, x_66);
|
||||
x_70 = l_Lean_Elab_Tactic_evalTactic___main(x_51, x_2, x_3, x_69, x_5, x_6, x_7, x_8, x_9, x_25);
|
||||
return x_70;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70;
|
||||
x_67 = lean_unsigned_to_nat(0u);
|
||||
x_68 = l_Lean_Syntax_getArg(x_14, x_67);
|
||||
lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74;
|
||||
x_71 = lean_unsigned_to_nat(0u);
|
||||
x_72 = l_Lean_Syntax_getArg(x_14, x_71);
|
||||
lean_dec(x_14);
|
||||
x_69 = l_Lean_identKind___closed__2;
|
||||
lean_inc(x_68);
|
||||
x_70 = l_Lean_Syntax_isOfKind(x_68, x_69);
|
||||
if (x_70 == 0)
|
||||
{
|
||||
uint8_t x_71; lean_object* x_158; uint8_t x_159;
|
||||
x_158 = l_Lean_mkHole___closed__2;
|
||||
lean_inc(x_68);
|
||||
x_159 = l_Lean_Syntax_isOfKind(x_68, x_158);
|
||||
if (x_159 == 0)
|
||||
{
|
||||
uint8_t x_160;
|
||||
x_160 = 0;
|
||||
x_71 = x_160;
|
||||
goto block_157;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_161; lean_object* x_162; uint8_t x_163;
|
||||
x_161 = l_Lean_Syntax_getArgs(x_68);
|
||||
x_162 = lean_array_get_size(x_161);
|
||||
lean_dec(x_161);
|
||||
x_163 = lean_nat_dec_eq(x_162, x_13);
|
||||
lean_dec(x_162);
|
||||
x_71 = x_163;
|
||||
goto block_157;
|
||||
}
|
||||
block_157:
|
||||
{
|
||||
if (x_71 == 0)
|
||||
{
|
||||
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; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; 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; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136;
|
||||
x_72 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
x_73 = lean_ctor_get(x_72, 0);
|
||||
lean_inc(x_73);
|
||||
x_74 = lean_ctor_get(x_72, 1);
|
||||
lean_inc(x_74);
|
||||
lean_dec(x_72);
|
||||
x_75 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_74);
|
||||
x_76 = lean_ctor_get(x_75, 0);
|
||||
lean_inc(x_76);
|
||||
x_77 = lean_ctor_get(x_75, 1);
|
||||
lean_inc(x_77);
|
||||
lean_dec(x_75);
|
||||
x_78 = l_Lean_Elab_Tactic_evalIntro___closed__4;
|
||||
x_79 = l_Lean_addMacroScope(x_76, x_78, x_73);
|
||||
x_80 = lean_box(0);
|
||||
x_81 = l_Lean_SourceInfo_inhabited___closed__1;
|
||||
x_82 = l_Lean_Elab_Tactic_evalIntro___closed__3;
|
||||
x_83 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_83, 0, x_81);
|
||||
lean_ctor_set(x_83, 1, x_82);
|
||||
lean_ctor_set(x_83, 2, x_79);
|
||||
lean_ctor_set(x_83, 3, x_80);
|
||||
x_84 = l_Array_empty___closed__1;
|
||||
lean_inc(x_83);
|
||||
x_85 = lean_array_push(x_84, x_83);
|
||||
x_86 = l_Lean_nullKind___closed__2;
|
||||
x_87 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_87, 0, x_86);
|
||||
lean_ctor_set(x_87, 1, x_85);
|
||||
x_88 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11;
|
||||
lean_inc(x_87);
|
||||
x_89 = lean_array_push(x_88, x_87);
|
||||
x_90 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
|
||||
x_91 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_91, 0, x_90);
|
||||
lean_ctor_set(x_91, 1, x_89);
|
||||
x_92 = lean_array_push(x_84, x_91);
|
||||
x_93 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18;
|
||||
x_94 = lean_array_push(x_92, x_93);
|
||||
x_95 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_96 = lean_array_push(x_95, x_83);
|
||||
x_97 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__6;
|
||||
x_98 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_98, 0, x_97);
|
||||
lean_ctor_set(x_98, 1, x_96);
|
||||
x_99 = lean_array_push(x_84, x_98);
|
||||
x_100 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_100, 0, x_86);
|
||||
lean_ctor_set(x_100, 1, x_99);
|
||||
x_101 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__4;
|
||||
x_102 = lean_array_push(x_101, x_100);
|
||||
x_103 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13;
|
||||
x_104 = lean_array_push(x_102, x_103);
|
||||
x_105 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__9;
|
||||
x_106 = lean_array_push(x_104, x_105);
|
||||
x_107 = lean_array_push(x_84, x_68);
|
||||
x_108 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_108, 0, x_86);
|
||||
lean_ctor_set(x_108, 1, x_107);
|
||||
x_109 = lean_array_push(x_84, x_108);
|
||||
x_110 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17;
|
||||
x_111 = lean_array_push(x_109, x_110);
|
||||
x_112 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__12;
|
||||
x_113 = lean_array_push(x_111, x_112);
|
||||
x_114 = l_Lean_Elab_Tactic_evalIntro___closed__6;
|
||||
x_115 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_115, 0, x_114);
|
||||
lean_ctor_set(x_115, 1, x_113);
|
||||
x_116 = lean_array_push(x_84, x_115);
|
||||
x_117 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_117, 0, x_86);
|
||||
lean_ctor_set(x_117, 1, x_116);
|
||||
x_118 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__16;
|
||||
x_119 = lean_array_push(x_118, x_117);
|
||||
x_120 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_120, 0, x_86);
|
||||
lean_ctor_set(x_120, 1, x_119);
|
||||
x_121 = lean_array_push(x_106, x_120);
|
||||
x_122 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14;
|
||||
x_123 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_123, 0, x_122);
|
||||
lean_ctor_set(x_123, 1, x_121);
|
||||
x_124 = lean_array_push(x_94, x_123);
|
||||
x_125 = lean_array_push(x_124, x_93);
|
||||
x_126 = l_Lean_Elab_Tactic_evalIntro___closed__9;
|
||||
x_127 = lean_array_push(x_126, x_87);
|
||||
x_128 = l_Lean_Elab_Tactic_evalIntro___closed__7;
|
||||
x_129 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_129, 0, x_128);
|
||||
lean_ctor_set(x_129, 1, x_127);
|
||||
x_130 = lean_array_push(x_125, x_129);
|
||||
x_131 = lean_array_push(x_130, x_103);
|
||||
x_132 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_132, 0, x_86);
|
||||
lean_ctor_set(x_132, 1, x_131);
|
||||
x_133 = lean_array_push(x_84, x_132);
|
||||
x_134 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
|
||||
x_135 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_135, 0, x_134);
|
||||
lean_ctor_set(x_135, 1, x_133);
|
||||
x_136 = !lean_is_exclusive(x_4);
|
||||
if (x_136 == 0)
|
||||
{
|
||||
lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140;
|
||||
x_137 = lean_ctor_get(x_4, 6);
|
||||
lean_inc(x_135);
|
||||
x_138 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_138, 0, x_1);
|
||||
lean_ctor_set(x_138, 1, x_135);
|
||||
x_139 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_139, 0, x_138);
|
||||
lean_ctor_set(x_139, 1, x_137);
|
||||
lean_ctor_set(x_4, 6, x_139);
|
||||
x_140 = l_Lean_Elab_Tactic_evalTactic___main(x_135, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_77);
|
||||
return x_140;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; uint8_t x_149; uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154;
|
||||
x_141 = lean_ctor_get(x_4, 0);
|
||||
x_142 = lean_ctor_get(x_4, 1);
|
||||
x_143 = lean_ctor_get(x_4, 2);
|
||||
x_144 = lean_ctor_get(x_4, 3);
|
||||
x_145 = lean_ctor_get(x_4, 4);
|
||||
x_146 = lean_ctor_get(x_4, 5);
|
||||
x_147 = lean_ctor_get(x_4, 6);
|
||||
x_148 = lean_ctor_get(x_4, 7);
|
||||
x_149 = lean_ctor_get_uint8(x_4, sizeof(void*)*8);
|
||||
x_150 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1);
|
||||
lean_inc(x_148);
|
||||
lean_inc(x_147);
|
||||
lean_inc(x_146);
|
||||
lean_inc(x_145);
|
||||
lean_inc(x_144);
|
||||
lean_inc(x_143);
|
||||
lean_inc(x_142);
|
||||
lean_inc(x_141);
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_135);
|
||||
x_151 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_151, 0, x_1);
|
||||
lean_ctor_set(x_151, 1, x_135);
|
||||
x_152 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_152, 0, x_151);
|
||||
lean_ctor_set(x_152, 1, x_147);
|
||||
x_153 = lean_alloc_ctor(0, 8, 2);
|
||||
lean_ctor_set(x_153, 0, x_141);
|
||||
lean_ctor_set(x_153, 1, x_142);
|
||||
lean_ctor_set(x_153, 2, x_143);
|
||||
lean_ctor_set(x_153, 3, x_144);
|
||||
lean_ctor_set(x_153, 4, x_145);
|
||||
lean_ctor_set(x_153, 5, x_146);
|
||||
lean_ctor_set(x_153, 6, x_152);
|
||||
lean_ctor_set(x_153, 7, x_148);
|
||||
lean_ctor_set_uint8(x_153, sizeof(void*)*8, x_149);
|
||||
lean_ctor_set_uint8(x_153, sizeof(void*)*8 + 1, x_150);
|
||||
x_154 = l_Lean_Elab_Tactic_evalTactic___main(x_135, x_2, x_3, x_153, x_5, x_6, x_7, x_8, x_9, x_77);
|
||||
return x_154;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_155; lean_object* x_156;
|
||||
lean_dec(x_68);
|
||||
lean_dec(x_1);
|
||||
x_155 = l_Lean_mkSimpleThunk___closed__1;
|
||||
x_156 = l___private_Lean_Elab_Tactic_Basic_3__introStep(x_155, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_156;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_164; lean_object* x_165;
|
||||
lean_dec(x_1);
|
||||
x_164 = l_Lean_Syntax_getId(x_68);
|
||||
lean_dec(x_68);
|
||||
x_165 = l___private_Lean_Elab_Tactic_Basic_3__introStep(x_164, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_165;
|
||||
}
|
||||
}
|
||||
}
|
||||
block_190:
|
||||
x_73 = l_Lean_identKind___closed__2;
|
||||
lean_inc(x_72);
|
||||
x_74 = l_Lean_Syntax_isOfKind(x_72, x_73);
|
||||
if (x_74 == 0)
|
||||
{
|
||||
uint8_t x_75; lean_object* x_168; uint8_t x_169;
|
||||
x_168 = l_Lean_mkHole___closed__2;
|
||||
lean_inc(x_72);
|
||||
x_169 = l_Lean_Syntax_isOfKind(x_72, x_168);
|
||||
if (x_169 == 0)
|
||||
{
|
||||
if (x_168 == 0)
|
||||
{
|
||||
uint8_t x_170;
|
||||
x_170 = 0;
|
||||
x_15 = x_170;
|
||||
goto block_166;
|
||||
x_75 = x_170;
|
||||
goto block_167;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_171; lean_object* x_172; uint8_t x_173;
|
||||
x_171 = l_Lean_Syntax_getArgs(x_14);
|
||||
x_171 = l_Lean_Syntax_getArgs(x_72);
|
||||
x_172 = lean_array_get_size(x_171);
|
||||
lean_dec(x_171);
|
||||
x_173 = lean_nat_dec_eq(x_172, x_13);
|
||||
lean_dec(x_172);
|
||||
x_15 = x_173;
|
||||
goto block_166;
|
||||
x_75 = x_173;
|
||||
goto block_167;
|
||||
}
|
||||
block_167:
|
||||
{
|
||||
if (x_75 == 0)
|
||||
{
|
||||
lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_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; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; 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; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146;
|
||||
x_76 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
x_77 = lean_ctor_get(x_76, 0);
|
||||
lean_inc(x_77);
|
||||
x_78 = lean_ctor_get(x_76, 1);
|
||||
lean_inc(x_78);
|
||||
lean_dec(x_76);
|
||||
x_79 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_78);
|
||||
x_80 = lean_ctor_get(x_79, 0);
|
||||
lean_inc(x_80);
|
||||
x_81 = lean_ctor_get(x_79, 1);
|
||||
lean_inc(x_81);
|
||||
lean_dec(x_79);
|
||||
x_82 = l_Lean_Elab_Tactic_evalIntro___closed__4;
|
||||
x_83 = l_Lean_addMacroScope(x_80, x_82, x_77);
|
||||
x_84 = lean_box(0);
|
||||
x_85 = l_Lean_SourceInfo_inhabited___closed__1;
|
||||
x_86 = l_Lean_Elab_Tactic_evalIntro___closed__3;
|
||||
x_87 = lean_alloc_ctor(3, 4, 0);
|
||||
lean_ctor_set(x_87, 0, x_85);
|
||||
lean_ctor_set(x_87, 1, x_86);
|
||||
lean_ctor_set(x_87, 2, x_83);
|
||||
lean_ctor_set(x_87, 3, x_84);
|
||||
x_88 = l_Array_empty___closed__1;
|
||||
lean_inc(x_87);
|
||||
x_89 = lean_array_push(x_88, x_87);
|
||||
x_90 = l_Lean_nullKind___closed__2;
|
||||
x_91 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_91, 0, x_90);
|
||||
lean_ctor_set(x_91, 1, x_89);
|
||||
x_92 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11;
|
||||
lean_inc(x_91);
|
||||
x_93 = lean_array_push(x_92, x_91);
|
||||
x_94 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
|
||||
x_95 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_95, 0, x_94);
|
||||
lean_ctor_set(x_95, 1, x_93);
|
||||
x_96 = lean_array_push(x_88, x_95);
|
||||
x_97 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18;
|
||||
x_98 = lean_array_push(x_96, x_97);
|
||||
x_99 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_99, 0, x_90);
|
||||
lean_ctor_set(x_99, 1, x_98);
|
||||
x_100 = lean_array_push(x_88, x_99);
|
||||
x_101 = l_Lean_Elab_Tactic_evalIntro___closed__5;
|
||||
x_102 = lean_array_push(x_101, x_87);
|
||||
x_103 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__6;
|
||||
x_104 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_104, 0, x_103);
|
||||
lean_ctor_set(x_104, 1, x_102);
|
||||
x_105 = lean_array_push(x_88, x_104);
|
||||
x_106 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_106, 0, x_90);
|
||||
lean_ctor_set(x_106, 1, x_105);
|
||||
x_107 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__4;
|
||||
x_108 = lean_array_push(x_107, x_106);
|
||||
x_109 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13;
|
||||
x_110 = lean_array_push(x_108, x_109);
|
||||
x_111 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__9;
|
||||
x_112 = lean_array_push(x_110, x_111);
|
||||
x_113 = lean_array_push(x_88, x_72);
|
||||
x_114 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_114, 0, x_90);
|
||||
lean_ctor_set(x_114, 1, x_113);
|
||||
x_115 = lean_array_push(x_88, x_114);
|
||||
x_116 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17;
|
||||
x_117 = lean_array_push(x_115, x_116);
|
||||
x_118 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__12;
|
||||
x_119 = lean_array_push(x_117, x_118);
|
||||
x_120 = l_Lean_Elab_Tactic_evalIntro___closed__6;
|
||||
x_121 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_121, 0, x_120);
|
||||
lean_ctor_set(x_121, 1, x_119);
|
||||
x_122 = lean_array_push(x_88, x_121);
|
||||
x_123 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_123, 0, x_90);
|
||||
lean_ctor_set(x_123, 1, x_122);
|
||||
x_124 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__16;
|
||||
x_125 = lean_array_push(x_124, x_123);
|
||||
x_126 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_126, 0, x_90);
|
||||
lean_ctor_set(x_126, 1, x_125);
|
||||
x_127 = lean_array_push(x_112, x_126);
|
||||
x_128 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14;
|
||||
x_129 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_129, 0, x_128);
|
||||
lean_ctor_set(x_129, 1, x_127);
|
||||
x_130 = lean_array_push(x_88, x_129);
|
||||
x_131 = lean_array_push(x_130, x_97);
|
||||
x_132 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_132, 0, x_90);
|
||||
lean_ctor_set(x_132, 1, x_131);
|
||||
x_133 = lean_array_push(x_100, x_132);
|
||||
x_134 = l_Lean_Elab_Tactic_evalIntro___closed__9;
|
||||
x_135 = lean_array_push(x_134, x_91);
|
||||
x_136 = l_Lean_Elab_Tactic_evalIntro___closed__7;
|
||||
x_137 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_137, 0, x_136);
|
||||
lean_ctor_set(x_137, 1, x_135);
|
||||
x_138 = lean_array_push(x_88, x_137);
|
||||
x_139 = lean_array_push(x_138, x_109);
|
||||
x_140 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_140, 0, x_90);
|
||||
lean_ctor_set(x_140, 1, x_139);
|
||||
x_141 = lean_array_push(x_133, x_140);
|
||||
x_142 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_142, 0, x_90);
|
||||
lean_ctor_set(x_142, 1, x_141);
|
||||
x_143 = lean_array_push(x_88, x_142);
|
||||
x_144 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
|
||||
x_145 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_145, 0, x_144);
|
||||
lean_ctor_set(x_145, 1, x_143);
|
||||
x_146 = !lean_is_exclusive(x_4);
|
||||
if (x_146 == 0)
|
||||
{
|
||||
lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150;
|
||||
x_147 = lean_ctor_get(x_4, 6);
|
||||
lean_inc(x_145);
|
||||
x_148 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_148, 0, x_1);
|
||||
lean_ctor_set(x_148, 1, x_145);
|
||||
x_149 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_149, 0, x_148);
|
||||
lean_ctor_set(x_149, 1, x_147);
|
||||
lean_ctor_set(x_4, 6, x_149);
|
||||
x_150 = l_Lean_Elab_Tactic_evalTactic___main(x_145, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_81);
|
||||
return x_150;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; uint8_t x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164;
|
||||
x_151 = lean_ctor_get(x_4, 0);
|
||||
x_152 = lean_ctor_get(x_4, 1);
|
||||
x_153 = lean_ctor_get(x_4, 2);
|
||||
x_154 = lean_ctor_get(x_4, 3);
|
||||
x_155 = lean_ctor_get(x_4, 4);
|
||||
x_156 = lean_ctor_get(x_4, 5);
|
||||
x_157 = lean_ctor_get(x_4, 6);
|
||||
x_158 = lean_ctor_get(x_4, 7);
|
||||
x_159 = lean_ctor_get_uint8(x_4, sizeof(void*)*8);
|
||||
x_160 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1);
|
||||
lean_inc(x_158);
|
||||
lean_inc(x_157);
|
||||
lean_inc(x_156);
|
||||
lean_inc(x_155);
|
||||
lean_inc(x_154);
|
||||
lean_inc(x_153);
|
||||
lean_inc(x_152);
|
||||
lean_inc(x_151);
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_145);
|
||||
x_161 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_161, 0, x_1);
|
||||
lean_ctor_set(x_161, 1, x_145);
|
||||
x_162 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_162, 0, x_161);
|
||||
lean_ctor_set(x_162, 1, x_157);
|
||||
x_163 = lean_alloc_ctor(0, 8, 2);
|
||||
lean_ctor_set(x_163, 0, x_151);
|
||||
lean_ctor_set(x_163, 1, x_152);
|
||||
lean_ctor_set(x_163, 2, x_153);
|
||||
lean_ctor_set(x_163, 3, x_154);
|
||||
lean_ctor_set(x_163, 4, x_155);
|
||||
lean_ctor_set(x_163, 5, x_156);
|
||||
lean_ctor_set(x_163, 6, x_162);
|
||||
lean_ctor_set(x_163, 7, x_158);
|
||||
lean_ctor_set_uint8(x_163, sizeof(void*)*8, x_159);
|
||||
lean_ctor_set_uint8(x_163, sizeof(void*)*8 + 1, x_160);
|
||||
x_164 = l_Lean_Elab_Tactic_evalTactic___main(x_145, x_2, x_3, x_163, x_5, x_6, x_7, x_8, x_9, x_81);
|
||||
return x_164;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_174;
|
||||
lean_object* x_165; lean_object* x_166;
|
||||
lean_dec(x_72);
|
||||
lean_dec(x_1);
|
||||
x_165 = l_Lean_mkSimpleThunk___closed__1;
|
||||
x_166 = l___private_Lean_Elab_Tactic_Basic_3__introStep(x_165, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_166;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_174; lean_object* x_175;
|
||||
lean_dec(x_1);
|
||||
x_174 = l_Lean_Syntax_getId(x_72);
|
||||
lean_dec(x_72);
|
||||
x_175 = l___private_Lean_Elab_Tactic_Basic_3__introStep(x_174, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
return x_175;
|
||||
}
|
||||
}
|
||||
}
|
||||
block_200:
|
||||
{
|
||||
if (x_179 == 0)
|
||||
{
|
||||
if (x_178 == 0)
|
||||
{
|
||||
uint8_t x_180;
|
||||
x_180 = 0;
|
||||
x_15 = x_180;
|
||||
goto block_176;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_181; lean_object* x_182; uint8_t x_183;
|
||||
x_181 = l_Lean_Syntax_getArgs(x_14);
|
||||
x_182 = lean_array_get_size(x_181);
|
||||
lean_dec(x_181);
|
||||
x_183 = lean_nat_dec_eq(x_182, x_13);
|
||||
lean_dec(x_182);
|
||||
x_15 = x_183;
|
||||
goto block_176;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_184;
|
||||
lean_dec(x_14);
|
||||
lean_dec(x_1);
|
||||
x_174 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
if (lean_obj_tag(x_174) == 0)
|
||||
x_184 = l_Lean_Elab_Tactic_getMainGoal(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
|
||||
if (lean_obj_tag(x_184) == 0)
|
||||
{
|
||||
lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185;
|
||||
x_175 = lean_ctor_get(x_174, 0);
|
||||
lean_inc(x_175);
|
||||
x_176 = lean_ctor_get(x_174, 1);
|
||||
lean_inc(x_176);
|
||||
lean_dec(x_174);
|
||||
x_177 = lean_ctor_get(x_175, 0);
|
||||
lean_inc(x_177);
|
||||
x_178 = lean_ctor_get(x_175, 1);
|
||||
lean_inc(x_178);
|
||||
lean_dec(x_175);
|
||||
lean_inc(x_177);
|
||||
x_179 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro___lambda__1), 6, 1);
|
||||
lean_closure_set(x_179, 0, x_177);
|
||||
x_180 = l_Lean_Elab_Tactic_liftMetaTactic___closed__1;
|
||||
x_181 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_Lean_MonadLCtx___spec__2___rarg), 7, 2);
|
||||
lean_closure_set(x_181, 0, x_179);
|
||||
lean_closure_set(x_181, 1, x_180);
|
||||
x_182 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaM___rarg___boxed), 10, 1);
|
||||
lean_closure_set(x_182, 0, x_181);
|
||||
x_183 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed), 11, 1);
|
||||
lean_closure_set(x_183, 0, x_178);
|
||||
x_184 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2);
|
||||
lean_closure_set(x_184, 0, x_182);
|
||||
lean_closure_set(x_184, 1, x_183);
|
||||
x_185 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_177, x_184, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_176);
|
||||
return x_185;
|
||||
lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195;
|
||||
x_185 = lean_ctor_get(x_184, 0);
|
||||
lean_inc(x_185);
|
||||
x_186 = lean_ctor_get(x_184, 1);
|
||||
lean_inc(x_186);
|
||||
lean_dec(x_184);
|
||||
x_187 = lean_ctor_get(x_185, 0);
|
||||
lean_inc(x_187);
|
||||
x_188 = lean_ctor_get(x_185, 1);
|
||||
lean_inc(x_188);
|
||||
lean_dec(x_185);
|
||||
lean_inc(x_187);
|
||||
x_189 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro___lambda__1), 6, 1);
|
||||
lean_closure_set(x_189, 0, x_187);
|
||||
x_190 = l_Lean_Elab_Tactic_liftMetaTactic___closed__1;
|
||||
x_191 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_Lean_MonadLCtx___spec__2___rarg), 7, 2);
|
||||
lean_closure_set(x_191, 0, x_189);
|
||||
lean_closure_set(x_191, 1, x_190);
|
||||
x_192 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaM___rarg___boxed), 10, 1);
|
||||
lean_closure_set(x_192, 0, x_191);
|
||||
x_193 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed), 11, 1);
|
||||
lean_closure_set(x_193, 0, x_188);
|
||||
x_194 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2);
|
||||
lean_closure_set(x_194, 0, x_192);
|
||||
lean_closure_set(x_194, 1, x_193);
|
||||
x_195 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_187, x_194, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_186);
|
||||
return x_195;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_186;
|
||||
uint8_t x_196;
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_7);
|
||||
|
|
@ -9703,23 +9723,23 @@ lean_dec(x_5);
|
|||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
x_186 = !lean_is_exclusive(x_174);
|
||||
if (x_186 == 0)
|
||||
x_196 = !lean_is_exclusive(x_184);
|
||||
if (x_196 == 0)
|
||||
{
|
||||
return x_174;
|
||||
return x_184;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_187; lean_object* x_188; lean_object* x_189;
|
||||
x_187 = lean_ctor_get(x_174, 0);
|
||||
x_188 = lean_ctor_get(x_174, 1);
|
||||
lean_inc(x_188);
|
||||
lean_inc(x_187);
|
||||
lean_dec(x_174);
|
||||
x_189 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_189, 0, x_187);
|
||||
lean_ctor_set(x_189, 1, x_188);
|
||||
return x_189;
|
||||
lean_object* x_197; lean_object* x_198; lean_object* x_199;
|
||||
x_197 = lean_ctor_get(x_184, 0);
|
||||
x_198 = lean_ctor_get(x_184, 1);
|
||||
lean_inc(x_198);
|
||||
lean_inc(x_197);
|
||||
lean_dec(x_184);
|
||||
x_199 = lean_alloc_ctor(1, 2, 0);
|
||||
lean_ctor_set(x_199, 0, x_197);
|
||||
lean_ctor_set(x_199, 1, x_198);
|
||||
return x_199;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue