chore: update stage0

This commit is contained in:
Leonardo de Moura 2020-10-06 07:28:21 -07:00
parent 54bfc1e168
commit a71cc58d70
4 changed files with 634 additions and 565 deletions

View file

@ -134,6 +134,7 @@ stx ← quoteSyntax (elimAntiquotChoices quoted);
@[builtinTermElab Parser.Term.quot] def elabTermQuot : TermElab := adaptExpander stxQuot.expand
@[builtinTermElab Parser.Term.funBinder.quot] def elabfunBinderQuot : TermElab := adaptExpander stxQuot.expand
@[builtinTermElab Parser.Tactic.quot] def elabTacticQuot : TermElab := adaptExpander stxQuot.expand
@[builtinTermElab Parser.Tactic.quotSeq] def elabTacticQuotSeq : TermElab := adaptExpander stxQuot.expand
@[builtinTermElab Parser.Term.stx.quot] def elabStxQuot : TermElab := adaptExpander stxQuot.expand
/- match_syntax -/

View file

@ -283,7 +283,6 @@ extern lean_object* l_Lean_Syntax_inhabited;
lean_object* l_Lean_Elab_Term_elabArrow(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Binders_10__getFunBinderIdsAux_x3f___main(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__16;
extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16;
lean_object* l_Lean_Elab_Term_quoteAutoTactic___main___closed__21;
lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__5;
extern lean_object* l_Lean_mkAppStx___closed__5;
@ -14762,7 +14761,7 @@ lean_object* _init_l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("seq1");
x_1 = lean_mk_string("tacticSeq1Indented");
return x_1;
}
}
@ -14884,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_103; lean_object* x_104; lean_object* x_105;
x_103 = l_List_reprAux___main___rarg___closed__1;
x_104 = l_Lean_mkAtomFrom(x_1, x_103);
x_105 = lean_array_push(x_5, x_104);
x_27 = x_105;
goto block_102;
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;
}
else
{
x_27 = x_5;
goto block_102;
goto block_106;
}
block_102:
block_106:
{
lean_object* x_28; lean_object* x_29;
x_28 = lean_array_push(x_27, x_26);
@ -14975,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_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;
x_66 = lean_ctor_get(x_29, 0);
x_67 = l_Array_empty___closed__1;
x_68 = lean_array_push(x_67, x_21);
@ -14990,256 +14989,262 @@ x_74 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_74, 0, x_73);
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__16;
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 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_79, 0, x_69);
lean_ctor_set(x_79, 1, x_78);
x_80 = lean_array_push(x_67, x_79);
x_81 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
x_82 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_82, 0, x_81);
lean_ctor_set(x_82, 1, x_80);
lean_ctor_set(x_29, 0, x_82);
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);
return x_29;
}
else
{
lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; 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;
x_83 = lean_ctor_get(x_29, 0);
x_84 = lean_ctor_get(x_29, 1);
lean_inc(x_84);
lean_inc(x_83);
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_dec(x_29);
x_85 = l_Array_empty___closed__1;
x_86 = lean_array_push(x_85, x_21);
x_87 = l_Lean_nullKind___closed__2;
x_88 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_88, 0, x_87);
lean_ctor_set(x_88, 1, x_86);
x_89 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11;
x_90 = lean_array_push(x_89, x_88);
x_91 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
x_92 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_92, 0, x_91);
lean_ctor_set(x_92, 1, x_90);
x_93 = lean_array_push(x_85, x_92);
x_94 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16;
x_95 = lean_array_push(x_93, x_94);
x_96 = lean_array_push(x_95, x_83);
x_97 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_97, 0, x_87);
lean_ctor_set(x_97, 1, x_96);
x_98 = lean_array_push(x_85, x_97);
x_99 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
x_100 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_100, 0, x_99);
lean_ctor_set(x_100, 1, x_98);
x_101 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_101, 0, x_100);
lean_ctor_set(x_101, 1, x_84);
return x_101;
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_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;
}
}
}
}
else
{
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; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122;
x_106 = lean_ctor_get(x_6, 0);
x_107 = lean_ctor_get(x_6, 1);
x_108 = lean_ctor_get(x_6, 3);
x_109 = lean_ctor_get(x_6, 4);
lean_inc(x_109);
lean_inc(x_108);
lean_inc(x_107);
lean_inc(x_106);
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_dec(x_6);
lean_inc(x_7);
lean_inc(x_107);
x_110 = lean_alloc_ctor(0, 5, 0);
lean_ctor_set(x_110, 0, x_106);
lean_ctor_set(x_110, 1, x_107);
lean_ctor_set(x_110, 2, x_7);
lean_ctor_set(x_110, 3, x_108);
lean_ctor_set(x_110, 4, x_109);
x_111 = l_Lean_Meta_mkArrow___rarg___closed__2;
x_112 = l_Lean_addMacroScope(x_107, x_111, x_7);
x_113 = lean_box(0);
x_114 = l_Lean_SourceInfo_inhabited___closed__1;
x_115 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__2;
x_116 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_116, 0, x_114);
lean_ctor_set(x_116, 1, x_115);
lean_ctor_set(x_116, 2, x_112);
lean_ctor_set(x_116, 3, x_113);
x_117 = l_Array_isEmpty___rarg(x_5);
x_118 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__3;
lean_inc(x_116);
x_119 = lean_array_push(x_118, x_116);
x_120 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___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);
if (x_117 == 0)
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_object* x_165; lean_object* x_166; lean_object* x_167;
x_165 = l_List_reprAux___main___rarg___closed__1;
x_166 = l_Lean_mkAtomFrom(x_1, x_165);
x_167 = lean_array_push(x_5, x_166);
x_122 = x_167;
goto block_164;
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;
}
else
{
x_122 = x_5;
goto block_164;
x_126 = x_5;
goto block_170;
}
block_164:
block_170:
{
lean_object* x_123; lean_object* x_124;
x_123 = lean_array_push(x_122, x_121);
x_124 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main(x_1, x_2, x_3, x_11, x_123, x_110, x_12);
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_dec(x_11);
if (x_3 == 0)
{
lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; 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;
x_125 = lean_ctor_get(x_124, 0);
lean_inc(x_125);
x_126 = lean_ctor_get(x_124, 1);
lean_inc(x_126);
if (lean_is_exclusive(x_124)) {
lean_ctor_release(x_124, 0);
lean_ctor_release(x_124, 1);
x_127 = x_124;
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;
} else {
lean_dec_ref(x_124);
x_127 = lean_box(0);
lean_dec_ref(x_128);
x_131 = lean_box(0);
}
x_128 = l_Array_empty___closed__1;
x_129 = lean_array_push(x_128, x_116);
x_130 = l_Lean_nullKind___closed__2;
x_131 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_131, 0, x_130);
lean_ctor_set(x_131, 1, x_129);
x_132 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__9;
x_133 = lean_array_push(x_132, x_131);
x_134 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17;
x_135 = lean_array_push(x_133, x_134);
x_136 = lean_array_push(x_135, x_125);
x_137 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__7;
x_138 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_138, 0, x_137);
lean_ctor_set(x_138, 1, x_136);
x_139 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__5;
x_140 = lean_array_push(x_139, x_138);
x_141 = l___private_Lean_Elab_Term_12__isExplicit___closed__2;
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);
if (lean_is_scalar(x_127)) {
x_143 = lean_alloc_ctor(0, 2, 0);
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_143 = x_127;
x_147 = x_131;
}
lean_ctor_set(x_143, 0, x_142);
lean_ctor_set(x_143, 1, x_126);
return x_143;
lean_ctor_set(x_147, 0, x_146);
lean_ctor_set(x_147, 1, x_130);
return x_147;
}
else
{
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; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163;
x_144 = lean_ctor_get(x_124, 0);
lean_inc(x_144);
x_145 = lean_ctor_get(x_124, 1);
lean_inc(x_145);
if (lean_is_exclusive(x_124)) {
lean_ctor_release(x_124, 0);
lean_ctor_release(x_124, 1);
x_146 = x_124;
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_124);
x_146 = lean_box(0);
lean_dec_ref(x_128);
x_150 = lean_box(0);
}
x_147 = l_Array_empty___closed__1;
x_148 = lean_array_push(x_147, x_116);
x_149 = l_Lean_nullKind___closed__2;
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__11;
x_152 = lean_array_push(x_151, x_150);
x_153 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
x_151 = l_Array_empty___closed__1;
x_152 = lean_array_push(x_151, x_120);
x_153 = l_Lean_nullKind___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 = lean_array_push(x_147, x_154);
x_156 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16;
x_157 = lean_array_push(x_155, x_156);
x_158 = lean_array_push(x_157, x_144);
x_159 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_159, 0, x_149);
lean_ctor_set(x_159, 1, x_158);
x_160 = lean_array_push(x_147, x_159);
x_161 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
x_162 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_162, 0, x_161);
lean_ctor_set(x_162, 1, x_160);
if (lean_is_scalar(x_146)) {
x_163 = lean_alloc_ctor(0, 2, 0);
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);
} else {
x_163 = x_146;
x_169 = x_150;
}
lean_ctor_set(x_163, 0, x_162);
lean_ctor_set(x_163, 1, x_145);
return x_163;
lean_ctor_set(x_169, 0, x_168);
lean_ctor_set(x_169, 1, x_149);
return x_169;
}
}
}
}
else
{
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_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_dec(x_6);
x_168 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__12;
x_169 = l_Lean_mkAtomFrom(x_1, x_168);
x_170 = l_Lean_nullKind;
x_171 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_171, 0, x_170);
lean_ctor_set(x_171, 1, x_5);
x_172 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__13;
x_173 = l_Lean_mkAtomFrom(x_1, x_172);
x_174 = l_Lean_Elab_Term_mkExplicitBinder___closed__7;
x_175 = lean_array_push(x_174, x_169);
x_176 = lean_array_push(x_175, x_171);
x_177 = l_Lean_mkOptionalNode___closed__1;
x_178 = lean_array_push(x_176, x_177);
x_179 = lean_array_push(x_178, x_173);
x_180 = lean_array_push(x_179, x_2);
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);
if (x_3 == 0)
{
lean_object* x_181; lean_object* x_182; lean_object* x_183;
x_181 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__2;
x_182 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_182, 0, x_181);
lean_ctor_set(x_182, 1, x_180);
x_183 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_183, 0, x_182);
lean_ctor_set(x_183, 1, x_7);
return x_183;
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;
}
else
{
lean_object* x_184; lean_object* x_185; lean_object* x_186;
x_184 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14;
x_185 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_185, 0, x_184);
lean_ctor_set(x_185, 1, x_180);
x_186 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_186, 0, x_185);
lean_ctor_set(x_186, 1, x_7);
return x_186;
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;
}
}
}

View file

@ -74,6 +74,7 @@ lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__26;
extern lean_object* l_Lean_Substring_HasQuote___closed__4;
lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__18;
lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__2;
lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__15;
lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__42;
lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__58;
@ -203,6 +204,7 @@ extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__16
lean_object* l_List_map___main___at_Lean_Elab_Term_Quotation_oldGetPatternVars___spec__1(lean_object*);
lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__1___closed__6;
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabLevelQuot___closed__2;
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq(lean_object*);
lean_object* l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__7;
lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__8;
lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__2;
@ -280,6 +282,7 @@ lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Quotation_10__toPreterm___main___closed__5;
extern lean_object* l_Lean_Unhygienic_MonadQuotation___closed__4;
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__1;
lean_object* l_Lean_Elab_Term_Quotation_isAntiquotSplicePat___boxed(lean_object*);
lean_object* l___private_Lean_Elab_Quotation_10__toPreterm___main___lambda__3___closed__1;
lean_object* l_Lean_Elab_Term_Quotation_getAntiquotTerm(lean_object*);
@ -297,6 +300,7 @@ lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__15;
lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__45;
lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__3;
lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_Inhabited;
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__3;
lean_object* l_Array_iterateMAux___main___at___private_Lean_Elab_Quotation_2__quoteSyntax___main___spec__1___closed__5;
lean_object* l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__2;
lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed__27;
@ -448,6 +452,7 @@ lean_object* l___private_Lean_Elab_Quotation_6__compileStxMatch___main___closed_
extern lean_object* l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1;
lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__5;
lean_object* l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__4;
lean_object* l_Lean_Elab_Term_Quotation_elabTacticQuotSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_boolToExpr___lambda__1___closed__5;
lean_object* l_List_map___main___at___private_Lean_Elab_Quotation_11__oldRunTermElabMUnsafe___spec__2(lean_object*, lean_object*);
lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__18;
@ -4288,6 +4293,52 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
return x_5;
}
}
lean_object* l_Lean_Elab_Term_Quotation_elabTacticQuotSeq(lean_object* x_1, lean_object* x_2, lean_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; lean_object* x_11;
x_10 = l_Lean_Elab_Term_Quotation_elabLevelQuot___closed__1;
x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9);
return x_11;
}
}
lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("quotSeq");
return x_1;
}
}
lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__3() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabTacticQuotSeq), 9, 0);
return x_1;
}
}
lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq(lean_object* x_1) {
_start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_2 = l_Lean_Elab_Term_termElabAttribute;
x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__2;
x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__3;
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
return x_5;
}
}
lean_object* l_Lean_Elab_Term_Quotation_elabStxQuot(lean_object* x_1, lean_object* x_2, lean_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:
{
@ -23825,6 +23876,15 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___cl
res = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__1);
l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__2);
l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__3);
res = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot___closed__1);
l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot___closed__2();

View file

@ -19,6 +19,7 @@ lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Tactic_evalTactic___main___spec
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__2;
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2;
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDone___closed__3;
extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__18;
lean_object* l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__9;
lean_object* l_Array_forMAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__12(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_Tactic_getMainTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -122,7 +123,6 @@ lean_object* l_ReaderT_bind___at_Lean_Meta_Lean_MonadLCtx___spec__2___rarg(lean_
lean_object* l_Lean_Elab_Tactic_ensureHasType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_evalIntro(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_Tactic_evalCase___closed__5;
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3;
lean_object* l_Lean_Elab_Tactic_evalCase___closed__3;
lean_object* l___private_Lean_Elab_Tactic_Basic_5__sortFVarIds___closed__1;
lean_object* l_Lean_Meta_getMVars___at_Lean_Elab_Tactic_ensureHasNoMVars___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -245,7 +245,6 @@ lean_object* l_Lean_Elab_Tactic_SavedState_inhabited;
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic___main___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__3;
lean_object* l_Lean_Elab_Tactic_evalSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2;
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSkip(lean_object*);
lean_object* l___private_Init_Data_Array_QSort_1__qpartitionAux___main___at___private_Lean_Elab_Tactic_Basic_5__sortFVarIds___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
uint8_t l_Lean_Expr_hasExprMVar(lean_object*);
@ -289,6 +288,7 @@ lean_object* l_Lean_Elab_Tactic_evalChoice___boxed(lean_object*, lean_object*, l
extern lean_object* l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__6;
lean_object* l_Lean_Elab_Tactic_liftMetaMAtMain___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern size_t l_Std_PersistentHashMap_insertAux___main___rarg___closed__2;
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2;
lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_evalParen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
lean_object* l_Lean_Elab_Tactic_evalSeq1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -322,6 +322,7 @@ lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Elab_Tactic_evalTactic___main__
lean_object* l_Lean_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
extern lean_object* l_Lean_Elab_Term_Lean_Ref;
lean_object* l_Lean_Elab_Tactic_evalFailIfSuccess___closed__2;
lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3;
lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalTactic___main___spec__8___rarg(lean_object*);
lean_object* l_Lean_Elab_Term_reportUnsolvedGoals___closed__1;
lean_object* l_List_findM_x3f___main___at___private_Lean_Elab_Tactic_Basic_6__findTag_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
@ -368,7 +369,6 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1;
extern lean_object* l_Lean_Syntax_inhabited;
lean_object* l___private_Lean_Elab_Tactic_Basic_2__expandTacticMacroFns___main___closed__5;
extern lean_object* l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__16;
extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16;
lean_object* l_Lean_Elab_goalsToMessageData(lean_object*);
lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*);
uint8_t l_Lean_MetavarContext_isAnonymousMVar(lean_object*, lean_object*);
@ -7759,6 +7759,24 @@ lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1() {
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("seq1");
return x_1;
}
}
lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalSeq1___boxed), 10, 0);
return x_1;
}
@ -7768,8 +7786,8 @@ _start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_2 = l_Lean_Elab_Tactic_tacticElabAttribute;
x_3 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1;
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2;
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3;
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
return x_5;
}
@ -7795,24 +7813,6 @@ lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___clos
_start:
{
lean_object* x_1;
x_1 = lean_mk_string("tacticSeq1Indented");
return x_1;
}
}
lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2() {
_start:
{
lean_object* x_1; lean_object* x_2; lean_object* x_3;
x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1;
x_2 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1;
x_3 = lean_name_mk_string(x_1, x_2);
return x_3;
}
}
lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3() {
_start:
{
lean_object* x_1;
x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalTacticSeq1Indented___boxed), 10, 0);
return x_1;
}
@ -7822,8 +7822,8 @@ _start:
{
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5;
x_2 = l_Lean_Elab_Tactic_tacticElabAttribute;
x_3 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2;
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3;
x_3 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1;
x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1);
return x_5;
}
@ -9127,30 +9127,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_194; uint8_t x_195;
x_194 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
uint8_t x_11; lean_object* x_197; uint8_t x_198;
x_197 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
lean_inc(x_1);
x_195 = l_Lean_Syntax_isOfKind(x_1, x_194);
if (x_195 == 0)
x_198 = l_Lean_Syntax_isOfKind(x_1, x_197);
if (x_198 == 0)
{
uint8_t x_196;
x_196 = 0;
x_11 = x_196;
goto block_193;
uint8_t x_199;
x_199 = 0;
x_11 = x_199;
goto block_196;
}
else
{
lean_object* x_197; lean_object* x_198; lean_object* x_199; uint8_t x_200;
x_197 = l_Lean_Syntax_getArgs(x_1);
x_198 = lean_array_get_size(x_197);
lean_dec(x_197);
x_199 = lean_unsigned_to_nat(2u);
x_200 = lean_nat_dec_eq(x_198, x_199);
lean_dec(x_198);
x_11 = x_200;
goto block_193;
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;
}
block_193:
block_196:
{
if (x_11 == 0)
{
@ -9169,36 +9169,36 @@ return x_12;
}
else
{
lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_164; uint8_t x_165; uint8_t x_166;
lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_167; uint8_t x_168; uint8_t x_169;
x_13 = lean_unsigned_to_nat(1u);
x_14 = l_Lean_Syntax_getArg(x_1, x_13);
x_164 = l_Lean_nullKind___closed__2;
x_167 = l_Lean_nullKind___closed__2;
lean_inc(x_14);
x_165 = l_Lean_Syntax_isOfKind(x_14, x_164);
if (x_165 == 0)
x_168 = l_Lean_Syntax_isOfKind(x_14, x_167);
if (x_168 == 0)
{
uint8_t x_188;
x_188 = 0;
x_166 = x_188;
goto block_187;
uint8_t x_191;
x_191 = 0;
x_169 = x_191;
goto block_190;
}
else
{
lean_object* x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192;
x_189 = l_Lean_Syntax_getArgs(x_14);
x_190 = lean_array_get_size(x_189);
lean_dec(x_189);
x_191 = lean_unsigned_to_nat(0u);
x_192 = lean_nat_dec_eq(x_190, x_191);
lean_dec(x_190);
x_166 = x_192;
goto block_187;
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;
}
block_163:
block_166:
{
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; uint8_t x_46;
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;
x_16 = l_Lean_Syntax_getArgs(x_14);
lean_dec(x_14);
x_17 = l_Lean_Syntax_inhabited;
@ -9229,7 +9229,7 @@ x_33 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_33, 0, x_32);
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__16;
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);
lean_dec(x_21);
@ -9241,355 +9241,358 @@ x_40 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_40, 0, x_32);
lean_ctor_set(x_40, 1, x_39);
x_41 = lean_array_push(x_36, x_40);
x_42 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_42, 0, x_28);
lean_ctor_set(x_42, 1, x_41);
x_43 = lean_array_push(x_26, x_42);
x_44 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
x_45 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_45, 0, x_44);
lean_ctor_set(x_45, 1, x_43);
x_46 = !lean_is_exclusive(x_4);
if (x_46 == 0)
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_47; lean_object* x_48; lean_object* x_49; lean_object* x_50;
x_47 = lean_ctor_get(x_4, 6);
lean_inc(x_45);
x_48 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_48, 0, x_1);
lean_ctor_set(x_48, 1, x_45);
x_49 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_49, 0, x_48);
lean_ctor_set(x_49, 1, x_47);
lean_ctor_set(x_4, 6, x_49);
x_50 = l_Lean_Elab_Tactic_evalTactic___main(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_25);
return x_50;
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_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;
}
else
{
lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64;
x_51 = lean_ctor_get(x_4, 0);
x_52 = lean_ctor_get(x_4, 1);
x_53 = lean_ctor_get(x_4, 2);
x_54 = lean_ctor_get(x_4, 3);
x_55 = lean_ctor_get(x_4, 4);
x_56 = lean_ctor_get(x_4, 5);
x_57 = lean_ctor_get(x_4, 6);
x_58 = lean_ctor_get(x_4, 7);
x_59 = lean_ctor_get_uint8(x_4, sizeof(void*)*8);
x_60 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1);
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_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_inc(x_52);
lean_inc(x_51);
lean_dec(x_4);
lean_inc(x_45);
x_61 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_61, 0, x_1);
lean_ctor_set(x_61, 1, x_45);
x_62 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_62, 0, x_61);
lean_ctor_set(x_62, 1, x_57);
x_63 = lean_alloc_ctor(0, 8, 2);
lean_ctor_set(x_63, 0, x_51);
lean_ctor_set(x_63, 1, x_52);
lean_ctor_set(x_63, 2, x_53);
lean_ctor_set(x_63, 3, x_54);
lean_ctor_set(x_63, 4, x_55);
lean_ctor_set(x_63, 5, x_56);
lean_ctor_set(x_63, 6, x_62);
lean_ctor_set(x_63, 7, x_58);
lean_ctor_set_uint8(x_63, sizeof(void*)*8, x_59);
lean_ctor_set_uint8(x_63, sizeof(void*)*8 + 1, x_60);
x_64 = l_Lean_Elab_Tactic_evalTactic___main(x_45, x_2, x_3, x_63, x_5, x_6, x_7, x_8, x_9, x_25);
return x_64;
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;
}
}
else
{
lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68;
x_65 = lean_unsigned_to_nat(0u);
x_66 = l_Lean_Syntax_getArg(x_14, x_65);
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_dec(x_14);
x_67 = l_Lean_identKind___closed__2;
lean_inc(x_66);
x_68 = l_Lean_Syntax_isOfKind(x_66, x_67);
if (x_68 == 0)
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_69; lean_object* x_155; uint8_t x_156;
x_155 = l_Lean_mkHole___closed__2;
lean_inc(x_66);
x_156 = l_Lean_Syntax_isOfKind(x_66, x_155);
if (x_156 == 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_157;
x_157 = 0;
x_69 = x_157;
goto block_154;
uint8_t x_160;
x_160 = 0;
x_71 = x_160;
goto block_157;
}
else
{
lean_object* x_158; lean_object* x_159; uint8_t x_160;
x_158 = l_Lean_Syntax_getArgs(x_66);
x_159 = lean_array_get_size(x_158);
lean_dec(x_158);
x_160 = lean_nat_dec_eq(x_159, x_13);
lean_dec(x_159);
x_69 = x_160;
goto block_154;
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_154:
block_157:
{
if (x_69 == 0)
if (x_71 == 0)
{
lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; 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; uint8_t x_133;
x_70 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10);
x_71 = lean_ctor_get(x_70, 0);
lean_inc(x_71);
x_72 = lean_ctor_get(x_70, 1);
lean_inc(x_72);
lean_dec(x_70);
x_73 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_72);
x_74 = lean_ctor_get(x_73, 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);
x_75 = lean_ctor_get(x_73, 1);
lean_inc(x_75);
lean_dec(x_73);
x_76 = l_Lean_Elab_Tactic_evalIntro___closed__4;
x_77 = l_Lean_addMacroScope(x_74, x_76, x_71);
x_78 = lean_box(0);
x_79 = l_Lean_SourceInfo_inhabited___closed__1;
x_80 = l_Lean_Elab_Tactic_evalIntro___closed__3;
x_81 = lean_alloc_ctor(3, 4, 0);
lean_ctor_set(x_81, 0, x_79);
lean_ctor_set(x_81, 1, x_80);
lean_ctor_set(x_81, 2, x_77);
lean_ctor_set(x_81, 3, x_78);
x_82 = l_Array_empty___closed__1;
lean_inc(x_81);
x_83 = lean_array_push(x_82, x_81);
x_84 = l_Lean_nullKind___closed__2;
x_85 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_85, 0, x_84);
lean_ctor_set(x_85, 1, x_83);
x_86 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__11;
lean_inc(x_85);
x_87 = lean_array_push(x_86, x_85);
x_88 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__9;
x_89 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_89, 0, x_88);
lean_ctor_set(x_89, 1, x_87);
x_90 = lean_array_push(x_82, x_89);
x_91 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16;
x_92 = lean_array_push(x_90, x_91);
x_93 = l_Lean_Elab_Tactic_evalIntro___closed__5;
x_94 = lean_array_push(x_93, x_81);
x_95 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__6;
x_96 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_96, 0, x_95);
lean_ctor_set(x_96, 1, x_94);
x_97 = lean_array_push(x_82, x_96);
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_84);
lean_ctor_set(x_98, 1, x_97);
x_99 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__4;
x_100 = lean_array_push(x_99, x_98);
x_101 = l___private_Lean_Elab_Quotation_8__letBindRhss___main___closed__13;
x_102 = lean_array_push(x_100, x_101);
x_103 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__9;
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 = lean_array_push(x_82, x_66);
x_106 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_106, 0, x_84);
lean_ctor_set(x_106, 1, x_105);
x_107 = lean_array_push(x_82, x_106);
x_108 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17;
x_109 = lean_array_push(x_107, x_108);
x_110 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__12;
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_Elab_Tactic_evalIntro___closed__6;
x_113 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_113, 0, x_112);
lean_ctor_set(x_113, 1, x_111);
x_114 = lean_array_push(x_82, x_113);
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_84);
lean_ctor_set(x_115, 1, x_114);
x_116 = l___private_Lean_Elab_Binders_12__expandFunBindersAux___main___closed__16;
x_117 = lean_array_push(x_116, x_115);
x_118 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_118, 0, x_84);
lean_ctor_set(x_118, 1, x_117);
x_119 = lean_array_push(x_104, x_118);
x_120 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__14;
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_92, x_121);
x_123 = lean_array_push(x_122, x_91);
x_124 = l_Lean_Elab_Tactic_evalIntro___closed__9;
x_125 = lean_array_push(x_124, x_85);
x_126 = l_Lean_Elab_Tactic_evalIntro___closed__7;
x_127 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_127, 0, x_126);
lean_ctor_set(x_127, 1, x_125);
x_128 = lean_array_push(x_123, x_127);
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_84);
lean_ctor_set(x_129, 1, x_128);
x_130 = lean_array_push(x_82, x_129);
x_131 = l___private_Lean_Elab_Binders_17__expandMatchAltsIntoMatchAux___main___closed__7;
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_131);
lean_ctor_set(x_132, 1, x_130);
x_133 = !lean_is_exclusive(x_4);
if (x_133 == 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_134; lean_object* x_135; lean_object* x_136; lean_object* x_137;
x_134 = lean_ctor_get(x_4, 6);
lean_inc(x_132);
x_135 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_135, 0, x_1);
lean_ctor_set(x_135, 1, x_132);
x_136 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_136, 0, x_135);
lean_ctor_set(x_136, 1, x_134);
lean_ctor_set(x_4, 6, x_136);
x_137 = l_Lean_Elab_Tactic_evalTactic___main(x_132, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_75);
return x_137;
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_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; uint8_t x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151;
x_138 = lean_ctor_get(x_4, 0);
x_139 = lean_ctor_get(x_4, 1);
x_140 = lean_ctor_get(x_4, 2);
x_141 = lean_ctor_get(x_4, 3);
x_142 = lean_ctor_get(x_4, 4);
x_143 = lean_ctor_get(x_4, 5);
x_144 = lean_ctor_get(x_4, 6);
x_145 = lean_ctor_get(x_4, 7);
x_146 = lean_ctor_get_uint8(x_4, sizeof(void*)*8);
x_147 = lean_ctor_get_uint8(x_4, sizeof(void*)*8 + 1);
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_inc(x_140);
lean_inc(x_139);
lean_inc(x_138);
lean_dec(x_4);
lean_inc(x_132);
x_148 = lean_alloc_ctor(0, 2, 0);
lean_ctor_set(x_148, 0, x_1);
lean_ctor_set(x_148, 1, x_132);
x_149 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_149, 0, x_148);
lean_ctor_set(x_149, 1, x_144);
x_150 = lean_alloc_ctor(0, 8, 2);
lean_ctor_set(x_150, 0, x_138);
lean_ctor_set(x_150, 1, x_139);
lean_ctor_set(x_150, 2, x_140);
lean_ctor_set(x_150, 3, x_141);
lean_ctor_set(x_150, 4, x_142);
lean_ctor_set(x_150, 5, x_143);
lean_ctor_set(x_150, 6, x_149);
lean_ctor_set(x_150, 7, x_145);
lean_ctor_set_uint8(x_150, sizeof(void*)*8, x_146);
lean_ctor_set_uint8(x_150, sizeof(void*)*8 + 1, x_147);
x_151 = l_Lean_Elab_Tactic_evalTactic___main(x_132, x_2, x_3, x_150, x_5, x_6, x_7, x_8, x_9, x_75);
return x_151;
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_152; lean_object* x_153;
lean_dec(x_66);
lean_object* x_155; lean_object* x_156;
lean_dec(x_68);
lean_dec(x_1);
x_152 = l_Lean_mkSimpleThunk___closed__1;
x_153 = l___private_Lean_Elab_Tactic_Basic_3__introStep(x_152, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
return x_153;
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_161; lean_object* x_162;
lean_object* x_164; lean_object* x_165;
lean_dec(x_1);
x_161 = l_Lean_Syntax_getId(x_66);
lean_dec(x_66);
x_162 = l___private_Lean_Elab_Tactic_Basic_3__introStep(x_161, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10);
return x_162;
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_187:
block_190:
{
if (x_166 == 0)
if (x_169 == 0)
{
if (x_165 == 0)
if (x_168 == 0)
{
uint8_t x_167;
x_167 = 0;
x_15 = x_167;
goto block_163;
}
else
{
lean_object* x_168; lean_object* x_169; uint8_t x_170;
x_168 = l_Lean_Syntax_getArgs(x_14);
x_169 = lean_array_get_size(x_168);
lean_dec(x_168);
x_170 = lean_nat_dec_eq(x_169, x_13);
lean_dec(x_169);
uint8_t x_170;
x_170 = 0;
x_15 = x_170;
goto block_163;
goto block_166;
}
else
{
lean_object* x_171; lean_object* x_172; uint8_t x_173;
x_171 = l_Lean_Syntax_getArgs(x_14);
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;
}
}
else
{
lean_object* x_171;
lean_object* x_174;
lean_dec(x_14);
lean_dec(x_1);
x_171 = 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_171) == 0)
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)
{
lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182;
x_172 = lean_ctor_get(x_171, 0);
lean_inc(x_172);
x_173 = lean_ctor_get(x_171, 1);
lean_inc(x_173);
lean_dec(x_171);
x_174 = lean_ctor_get(x_172, 0);
lean_inc(x_174);
x_175 = lean_ctor_get(x_172, 1);
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);
lean_dec(x_172);
lean_inc(x_174);
x_176 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_evalIntro___lambda__1), 6, 1);
lean_closure_set(x_176, 0, x_174);
x_177 = l_Lean_Elab_Tactic_liftMetaTactic___closed__1;
x_178 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Meta_Lean_MonadLCtx___spec__2___rarg), 7, 2);
lean_closure_set(x_178, 0, x_176);
lean_closure_set(x_178, 1, x_177);
x_179 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaM___rarg___boxed), 10, 1);
lean_closure_set(x_179, 0, x_178);
x_180 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_liftMetaTacticAux___rarg___lambda__1___boxed), 11, 1);
lean_closure_set(x_180, 0, x_175);
x_181 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___spec__1___rarg), 11, 2);
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 = l_Lean_Meta_withMVarContext___at_Lean_Elab_Tactic_withMainMVarContext___spec__1___rarg(x_174, x_181, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_173);
return x_182;
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;
}
else
{
uint8_t x_183;
uint8_t x_186;
lean_dec(x_9);
lean_dec(x_8);
lean_dec(x_7);
@ -9598,23 +9601,23 @@ lean_dec(x_5);
lean_dec(x_4);
lean_dec(x_3);
lean_dec(x_2);
x_183 = !lean_is_exclusive(x_171);
if (x_183 == 0)
x_186 = !lean_is_exclusive(x_174);
if (x_186 == 0)
{
return x_171;
return x_174;
}
else
{
lean_object* x_184; lean_object* x_185; lean_object* x_186;
x_184 = lean_ctor_get(x_171, 0);
x_185 = lean_ctor_get(x_171, 1);
lean_inc(x_185);
lean_inc(x_184);
lean_dec(x_171);
x_186 = lean_alloc_ctor(1, 2, 0);
lean_ctor_set(x_186, 0, x_184);
lean_ctor_set(x_186, 1, x_185);
return x_186;
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;
}
}
}
@ -15198,15 +15201,15 @@ l_Lean_Elab_Tactic_focus___rarg___closed__1 = _init_l_Lean_Elab_Tactic_focus___r
lean_mark_persistent(l_Lean_Elab_Tactic_focus___rarg___closed__1);
l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1);
l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__3);
res = l___regBuiltin_Lean_Elab_Tactic_evalSeq1(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);
l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1);
l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__2);
l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3();
lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__3);
res = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented(lean_io_mk_world());
if (lean_io_result_is_error(res)) return res;
lean_dec_ref(res);