From 28d4b2380df3eb787d30d46b6478c12bbd3b6591 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Fri, 9 Oct 2020 14:20:03 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Lean/Elab/Syntax.lean | 3 + stage0/stdlib/Lean/Elab/Syntax.c | 7467 ++++++++++++++++-------------- 2 files changed, 3921 insertions(+), 3549 deletions(-) diff --git a/stage0/src/Lean/Elab/Syntax.lean b/stage0/src/Lean/Elab/Syntax.lean index a685f2ab7e..cfb37e68ab 100644 --- a/stage0/src/Lean/Elab/Syntax.lean +++ b/stage0/src/Lean/Elab/Syntax.lean @@ -138,6 +138,9 @@ partial def toParserDescrAux : Syntax → ToParserDescrM Syntax else if kind == `Lean.Parser.Syntax.lookahead then do d ← withoutLeftRec $ toParserDescrAux (stx.getArg 1); `(ParserDescr.lookahead $d) + else if kind == `Lean.Parser.Syntax.interpolatedStr then do + d ← withoutLeftRec $ toParserDescrAux (stx.getArg 1); + `(ParserDescr.interpolatedStr $d) else if kind == `Lean.Parser.Syntax.sepBy then do d₁ ← withoutLeftRec $ toParserDescrAux (stx.getArg 1); d₂ ← withoutLeftRec $ toParserDescrAux (stx.getArg 2); diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 6703b2e064..b9b210ca8a 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -86,6 +86,7 @@ lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__1; lean_object* l___regBuiltin_Lean_Elab_Command_expandMacro___closed__2; lean_object* l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__36; lean_object* l_Array_filterSepElemsM___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__171; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__1; lean_object* l_Lean_Elab_Command_expandMixfix___closed__25; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__30; @@ -116,10 +117,12 @@ extern lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__6; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__145; lean_object* l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__21; lean_object* l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__38; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__173; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__23; lean_object* l_Lean_Elab_Command_elabSyntax___closed__7; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__168; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_interpolatedStrNoAntiquot___closed__1; lean_object* l_Lean_Elab_Command_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__30; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__101; @@ -191,6 +194,7 @@ lean_object* l_Lean_Elab_Command_strLitToPattern(lean_object*, lean_object*, lea extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__22; lean_object* l_Lean_Elab_Command_expandMixfix___closed__22; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__10; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__174; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__32; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_7__elabKindPrio(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -319,6 +323,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__9; extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; extern lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__40; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__175; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__67; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__83; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__2; @@ -424,6 +429,7 @@ lean_object* l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed lean_object* l_Lean_Elab_Command_elabSyntax___closed__15; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__6; lean_object* l___private_Lean_Elab_Syntax_9__antiquote___main___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__178; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__86; uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l___private_Lean_Elab_Syntax_9__antiquote___main___boxed(lean_object*, lean_object*); @@ -464,6 +470,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__149; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__77; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__6; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__172; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__165; lean_object* l_Lean_Elab_Command_expandElab___closed__46; lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev___closed__3; @@ -522,6 +529,7 @@ lean_object* l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed extern lean_object* l_Lean_Elab_Command_mkCommandElabAttribute___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__90; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__76; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__176; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; extern lean_object* l_Lean_Elab_macroAttribute; @@ -706,6 +714,7 @@ lean_object* l_Lean_Elab_Command_expandElab___closed__8; lean_object* l_Lean_Elab_Command_expandMixfix___closed__20; lean_object* l___private_Lean_Elab_Syntax_9__antiquote___main___closed__3; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__11; +lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__177; lean_object* l_Lean_Elab_Command_expandElab___closed__6; extern lean_object* l_Lean_Meta_DiscrTree_Trie_format___main___rarg___closed__1; lean_object* l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__23; @@ -2412,22 +2421,32 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__15() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("sepBy"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_checkLeftRec___closed__1; +x_2 = l_Lean_Parser_interpolatedStrNoAntiquot___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__16() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("sepBy"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__17() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_checkLeftRec___closed__1; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__15; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__17() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__18() { _start: { lean_object* x_1; @@ -2435,17 +2454,17 @@ x_1 = lean_mk_string("sepBy1"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__18() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_checkLeftRec___closed__1; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__19() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__20() { _start: { lean_object* x_1; @@ -2453,17 +2472,17 @@ x_1 = lean_mk_string("many"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__20() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_checkLeftRec___closed__1; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__19; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__21() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__22() { _start: { lean_object* x_1; @@ -2471,17 +2490,17 @@ x_1 = lean_mk_string("many1"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__22() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_checkLeftRec___closed__1; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__23() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__24() { _start: { lean_object* x_1; @@ -2489,22 +2508,12 @@ x_1 = lean_mk_string("optional"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__24() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_checkLeftRec___closed__1; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__23; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__25() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_checkLeftRec___closed__1; -x_2 = l_Lean_Elab_Tactic_evalOrelse___closed__1; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2512,19 +2521,19 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__26() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("unexpected syntax kind of category `syntax`: "); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Term_checkLeftRec___closed__1; +x_2 = l_Lean_Elab_Tactic_evalOrelse___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__27() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__26; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("unexpected syntax kind of category `syntax`: "); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__28() { @@ -2532,7 +2541,7 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__27; -x_2 = lean_alloc_ctor(0, 1, 0); +x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } @@ -2540,27 +2549,37 @@ return x_2; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__29() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.orelse"); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__28; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__30() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__29; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.orelse"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__31() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__30; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__32() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__29; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__30; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__30; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2568,21 +2587,11 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__32() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Tactic_evalOrelse___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__33() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; x_2 = l_Lean_Elab_Tactic_evalOrelse___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; @@ -2592,11 +2601,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__34() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__33; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Tactic_evalOrelse___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -2606,7 +2613,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__34; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -2615,27 +2622,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__36() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.optional"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__37() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__36; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.optional"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__38() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__37; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__39() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__36; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__37; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__37; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2643,22 +2662,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__39() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__23; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__23; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2667,11 +2676,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__41() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__40; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -2681,7 +2688,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__41; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -2690,27 +2697,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__43() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.many1"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__44() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__43; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.many1"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__45() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__44; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__46() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__43; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__44; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__44; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2718,22 +2737,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__46() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__47() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__22; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2742,11 +2751,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__48() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__47; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__22; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -2756,7 +2763,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__48; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -2765,27 +2772,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__50() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.many"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__51() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__50; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.many"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__52() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__51; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__53() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__50; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__51; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__51; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2793,22 +2812,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__53() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__19; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__54() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__19; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2817,11 +2826,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__55() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__54; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -2831,7 +2838,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__55; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -2840,27 +2847,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__57() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.sepBy1"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__58() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__57; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.sepBy1"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__59() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__58; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__60() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__57; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__58; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__58; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__59; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2868,22 +2887,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__60() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__61() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2892,11 +2901,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__62() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__61; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -2906,7 +2913,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__62; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -2915,27 +2922,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__64() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.sepBy"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__63; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__65() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.sepBy"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__66() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__65; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__67() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__65; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__65; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__66; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2943,22 +2962,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__67() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__15; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__68() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__15; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__16; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2967,11 +2976,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__69() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__68; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__16; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -2981,7 +2988,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__69; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -2990,27 +2997,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__71() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.lookahead"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__70; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__72() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.interpolatedStr"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__73() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__72; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__74() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__72; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__72; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__73; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3018,22 +3037,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__74() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__13; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__75() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__13; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Parser_interpolatedStrNoAntiquot___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3042,11 +3051,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__76() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__75; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Parser_interpolatedStrNoAntiquot___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3056,7 +3063,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__76; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -3065,27 +3072,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__78() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.notFollowedBy"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__77; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__79() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.lookahead"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__80() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__79; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__81() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__79; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__79; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__80; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3093,22 +3112,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__81() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Parser_notFollowedByFn___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__82() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Parser_notFollowedByFn___closed__1; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__13; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3117,11 +3126,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__83() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__82; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__13; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3131,7 +3138,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__83; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -3140,27 +3147,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__85() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.try"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__84; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__86() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.notFollowedBy"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__87() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__86; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__88() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__86; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__86; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__87; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3168,22 +3187,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__88() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__89() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Parser_notFollowedByFn___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3192,11 +3201,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__90() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__89; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Parser_notFollowedByFn___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3206,7 +3213,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__90; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -3215,27 +3222,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__92() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.ident"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__91; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__93() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.try"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__94() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__93; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__95() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__93; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__93; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__94; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3243,22 +3262,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__95() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_identKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__96() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_identKind___closed__1; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3267,11 +3276,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__97() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__96; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3281,7 +3288,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__97; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -3290,27 +3297,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__99() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.charLit"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__98; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__100() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.ident"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__101() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__100; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__102() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__100; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__100; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__101; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3318,22 +3337,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__102() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_charLitKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__103() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_charLitKind___closed__1; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_identKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3342,11 +3351,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__104() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_identKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3356,7 +3363,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__104; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -3365,27 +3372,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__106() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.strLit"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__105; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__107() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.charLit"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__108() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__107; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__109() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__107; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__107; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__108; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3393,22 +3412,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__109() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_strLitKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__110() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_strLitKind___closed__1; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_charLitKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3417,11 +3426,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__111() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__110; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_charLitKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3431,7 +3438,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__111; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -3440,27 +3447,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__113() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.numLit"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__112; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__114() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__113; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.strLit"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__115() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__114; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__116() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__113; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__114; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__114; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__115; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3468,22 +3487,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__116() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_numLitKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__117() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_numLitKind___closed__1; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_strLitKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3492,11 +3501,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__118() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__117; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_strLitKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3506,7 +3513,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__118; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -3515,27 +3522,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__120() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.symbol"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__119; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__121() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__120; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.numLit"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__122() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__121; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__123() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__120; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__121; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__121; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__122; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3543,22 +3562,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__123() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Parser_unquotedSymbolFn___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__124() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Parser_unquotedSymbolFn___closed__1; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_numLitKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3567,11 +3576,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__125() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__124; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_numLitKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3581,7 +3588,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__125; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -3590,27 +3597,39 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__127() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.nonReservedSymbol"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__126; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__128() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__127; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.symbol"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__129() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__128; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__130() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__127; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__128; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__128; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__129; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3618,20 +3637,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__130() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("nonReservedSymbol"); -return x_1; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__131() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__130; +x_2 = l_Lean_Parser_unquotedSymbolFn___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3641,7 +3652,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__130; +x_2 = l_Lean_Parser_unquotedSymbolFn___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3673,19 +3684,27 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__135() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Bool_HasRepr___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.nonReservedSymbol"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__136() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__135; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__137() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Bool_HasRepr___closed__1; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__135; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__135; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__136; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3693,32 +3712,20 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__137() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Bool_HasRepr___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__138() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Expr_isSyntheticSorry___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("nonReservedSymbol"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__139() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__138; -x_2 = l_Bool_HasRepr___closed__1; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__138; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3727,11 +3734,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__140() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__139; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__138; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3741,7 +3746,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__140; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -3750,16 +3755,20 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__142() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.cat"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__141; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__143() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__142; +x_1 = l_Bool_HasRepr___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -3768,7 +3777,7 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__144() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__142; +x_1 = l_Bool_HasRepr___closed__1; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__143; x_4 = lean_alloc_ctor(0, 3, 0); @@ -3782,8 +3791,8 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__145() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_checkLeftRec___closed__2; +x_1 = lean_box(0); +x_2 = l_Bool_HasRepr___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3792,8 +3801,8 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__146() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_checkLeftRec___closed__2; +x_1 = lean_box(0); +x_2 = l_Lean_Expr_isSyntheticSorry___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -3802,11 +3811,9 @@ lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__147() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__146; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__146; +x_2 = l_Bool_HasRepr___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } @@ -3816,7 +3823,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__147; -x_3 = lean_alloc_ctor(1, 2, 0); +x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; @@ -3825,19 +3832,21 @@ return x_3; lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__149() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("unknown category '"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__148; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__150() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__149; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.cat"); +return x_1; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__151() { @@ -3845,63 +3854,17 @@ _start: { lean_object* x_1; lean_object* x_2; x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__150; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); +x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__152() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("' or parser declaration"); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__153() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__152; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__154() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__153; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__155() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.parser"); -return x_1; -} -} -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__156() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__155; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__157() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__155; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__150; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__156; +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__151; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3909,9 +3872,140 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__153() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_checkLeftRec___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__154() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_checkLeftRec___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__155() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__154; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__156() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__155; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__157() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("unknown category '"); +return x_1; +} +} lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__158() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__157; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__159() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__158; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__160() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("' or parser declaration"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__161() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__160; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__162() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__161; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__163() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.parser"); +return x_1; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__164() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__163; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__165() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__163; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___main___closed__164; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__166() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Lean_Elab_Syntax_1__mkParserSeq___spec__1___closed__4; x_2 = l_Lean_Parser_mkParserAttributeImpl___closed__1; @@ -3919,7 +4013,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__159() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__167() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -3929,31 +4023,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__160() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__168() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__159; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__167; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__161() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__169() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__160; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__168; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__162() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__170() { _start: { lean_object* x_1; @@ -3961,27 +4055,27 @@ x_1 = lean_mk_string("unexpected precedence"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__163() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__171() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__162; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__170; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__164() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__172() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__163; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__171; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__165() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__173() { _start: { lean_object* x_1; @@ -3989,27 +4083,27 @@ x_1 = lean_mk_string("ambiguous parser declaration "); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__166() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__174() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__165; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__173; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__167() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__175() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__166; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__174; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__168() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__176() { _start: { lean_object* x_1; @@ -4017,21 +4111,21 @@ x_1 = lean_mk_string("invalid atomic left recursive syntax"); return x_1; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__169() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__177() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__168; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__176; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__170() { +lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__178() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__169; +x_1 = l_Lean_Elab_Term_toParserDescrAux___main___closed__177; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -4103,27 +4197,27 @@ x_35 = lean_name_eq(x_11, x_34); if (x_35 == 0) { lean_object* x_36; uint8_t x_37; -x_36 = l_Lean_Elab_Term_toParserDescrAux___main___closed__16; +x_36 = l_Lean_Elab_Term_toParserDescrAux___main___closed__15; x_37 = lean_name_eq(x_11, x_36); if (x_37 == 0) { lean_object* x_38; uint8_t x_39; -x_38 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; +x_38 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; x_39 = lean_name_eq(x_11, x_38); if (x_39 == 0) { lean_object* x_40; uint8_t x_41; -x_40 = l_Lean_Elab_Term_toParserDescrAux___main___closed__20; +x_40 = l_Lean_Elab_Term_toParserDescrAux___main___closed__19; x_41 = lean_name_eq(x_11, x_40); if (x_41 == 0) { lean_object* x_42; uint8_t x_43; -x_42 = l_Lean_Elab_Term_toParserDescrAux___main___closed__22; +x_42 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; x_43 = lean_name_eq(x_11, x_42); if (x_43 == 0) { lean_object* x_44; uint8_t x_45; -x_44 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; +x_44 = l_Lean_Elab_Term_toParserDescrAux___main___closed__23; x_45 = lean_name_eq(x_11, x_44); if (x_45 == 0) { @@ -4132,190 +4226,195 @@ x_46 = l_Lean_Elab_Term_toParserDescrAux___main___closed__25; x_47 = lean_name_eq(x_11, x_46); if (x_47 == 0) { -lean_object* x_48; lean_object* x_49; 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; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_57 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = lean_st_ref_get(x_9, x_59); -x_61 = lean_ctor_get(x_60, 0); +lean_object* x_48; uint8_t x_49; +x_48 = l_Lean_Elab_Term_toParserDescrAux___main___closed__26; +x_49 = lean_name_eq(x_11, x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_59 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_63 = lean_ctor_get(x_61, 0); +lean_dec(x_59); +x_62 = lean_st_ref_get(x_9, x_61); +x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_st_ref_get(x_9, x_62); -x_65 = lean_ctor_get(x_64, 0); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = lean_ctor_get(x_63, 0); lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); -lean_dec(x_64); -x_67 = lean_ctor_get(x_65, 1); +lean_dec(x_63); +x_66 = lean_st_ref_get(x_9, x_64); +x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_ctor_get(x_8, 1); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_8, 2); +lean_dec(x_66); +x_69 = lean_ctor_get(x_67, 1); lean_inc(x_69); -lean_inc(x_63); -x_70 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_5__expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_70, 0, x_63); -x_71 = x_70; -x_72 = lean_environment_main_module(x_63); -x_73 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -lean_ctor_set(x_73, 2, x_58); -lean_ctor_set(x_73, 3, x_68); -lean_ctor_set(x_73, 4, x_69); +lean_dec(x_67); +x_70 = lean_ctor_get(x_8, 1); +lean_inc(x_70); +x_71 = lean_ctor_get(x_8, 2); +lean_inc(x_71); +lean_inc(x_65); +x_72 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_5__expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_72, 0, x_65); +x_73 = x_72; +x_74 = lean_environment_main_module(x_65); +x_75 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +lean_ctor_set(x_75, 2, x_60); +lean_ctor_set(x_75, 3, x_70); +lean_ctor_set(x_75, 4, x_71); lean_inc(x_1); -x_74 = l_Lean_Macro_expandMacro_x3fImp(x_1, x_73, x_67); -if (lean_obj_tag(x_74) == 0) +x_76 = l_Lean_Macro_expandMacro_x3fImp(x_1, x_75, x_69); +if (lean_obj_tag(x_76) == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_st_ref_take(x_9, x_66); -x_78 = lean_ctor_get(x_77, 0); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); lean_inc(x_78); -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_dec(x_77); -x_80 = !lean_is_exclusive(x_78); -if (x_80 == 0) +lean_dec(x_76); +x_79 = lean_st_ref_take(x_9, x_68); +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 = !lean_is_exclusive(x_80); +if (x_82 == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_78, 1); -lean_dec(x_81); -lean_ctor_set(x_78, 1, x_76); -x_82 = lean_st_ref_set(x_9, x_78, x_79); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_48 = x_75; -x_49 = x_83; -goto block_56; -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_84 = lean_ctor_get(x_78, 0); -x_85 = lean_ctor_get(x_78, 2); -x_86 = lean_ctor_get(x_78, 3); -lean_inc(x_86); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_80, 1); +lean_dec(x_83); +lean_ctor_set(x_80, 1, x_78); +x_84 = lean_st_ref_set(x_9, x_80, x_81); +x_85 = lean_ctor_get(x_84, 1); lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_78); -x_87 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_87, 0, x_84); -lean_ctor_set(x_87, 1, x_76); -lean_ctor_set(x_87, 2, x_85); -lean_ctor_set(x_87, 3, x_86); -x_88 = lean_st_ref_set(x_9, x_87, x_79); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_48 = x_75; -x_49 = x_89; -goto block_56; +lean_dec(x_84); +x_50 = x_77; +x_51 = x_85; +goto block_58; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_86 = lean_ctor_get(x_80, 0); +x_87 = lean_ctor_get(x_80, 2); +x_88 = lean_ctor_get(x_80, 3); +lean_inc(x_88); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_80); +x_89 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_89, 0, x_86); +lean_ctor_set(x_89, 1, x_78); +lean_ctor_set(x_89, 2, x_87); +lean_ctor_set(x_89, 3, x_88); +x_90 = lean_st_ref_set(x_9, x_89, x_81); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +lean_dec(x_90); +x_50 = x_77; +x_51 = x_91; +goto block_58; } } else { -lean_object* x_90; +lean_object* x_92; lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_90 = lean_ctor_get(x_74, 0); -lean_inc(x_90); -lean_dec(x_74); -if (lean_obj_tag(x_90) == 0) -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_91 = lean_ctor_get(x_90, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); +x_92 = lean_ctor_get(x_76, 0); lean_inc(x_92); -lean_dec(x_90); -x_93 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_93, 0, x_92); -x_94 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_95 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_91, x_94, x_4, x_5, x_6, x_7, x_8, x_9, x_66); +lean_dec(x_76); +if (lean_obj_tag(x_92) == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_93 = lean_ctor_get(x_92, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_92, 1); +lean_inc(x_94); +lean_dec(x_92); +x_95 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_95, 0, x_94); +x_96 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_96, 0, x_95); +x_97 = l_Lean_throwErrorAt___at___private_Lean_Elab_Term_21__elabTermAux___main___spec__1___rarg(x_93, x_96, x_4, x_5, x_6, x_7, x_8, x_9, x_68); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_91); -x_96 = !lean_is_exclusive(x_95); -if (x_96 == 0) +lean_dec(x_93); +x_98 = !lean_is_exclusive(x_97); +if (x_98 == 0) { -return x_95; +return x_97; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_95, 0); -x_98 = lean_ctor_get(x_95, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_95); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_97, 0); +x_100 = lean_ctor_get(x_97, 1); +lean_inc(x_100); +lean_inc(x_99); +lean_dec(x_97); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } else { -lean_object* x_100; uint8_t x_101; +lean_object* x_102; uint8_t x_103; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_100 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_66); -x_101 = !lean_is_exclusive(x_100); -if (x_101 == 0) +x_102 = l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_26__elabCDot___spec__1___rarg(x_68); +x_103 = !lean_is_exclusive(x_102); +if (x_103 == 0) { -return x_100; +return x_102; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_102 = lean_ctor_get(x_100, 0); -x_103 = lean_ctor_get(x_100, 1); -lean_inc(x_103); -lean_inc(x_102); -lean_dec(x_100); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set(x_104, 1, x_103); -return x_104; +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_102, 0); +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_inc(x_104); +lean_dec(x_102); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; } } } -block_56: +block_58: { -if (lean_obj_tag(x_48) == 0) +if (lean_obj_tag(x_50) == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_50 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_50, 0, x_11); -x_51 = l_Lean_Elab_Term_toParserDescrAux___main___closed__28; -x_52 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_52, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_49); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_52, 0, x_11); +x_53 = l_Lean_Elab_Term_toParserDescrAux___main___closed__29; +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_51); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -4324,34 +4423,34 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_53; +return x_55; } else { -lean_object* x_54; +lean_object* x_56; lean_dec(x_11); lean_dec(x_1); -x_54 = lean_ctor_get(x_48, 0); -lean_inc(x_54); -lean_dec(x_48); -x_1 = x_54; -x_10 = x_49; +x_56 = lean_ctor_get(x_50, 0); +lean_inc(x_56); +lean_dec(x_50); +x_1 = x_56; +x_10 = x_51; goto _start; } } } else { -lean_object* x_105; lean_object* x_106; uint8_t x_107; +lean_object* x_107; lean_object* x_108; uint8_t x_109; lean_dec(x_11); -x_105 = lean_unsigned_to_nat(0u); -x_106 = l_Lean_Syntax_getArg(x_1, x_105); -x_107 = !lean_is_exclusive(x_2); -if (x_107 == 0) +x_107 = lean_unsigned_to_nat(0u); +x_108 = l_Lean_Syntax_getArg(x_1, x_107); +x_109 = !lean_is_exclusive(x_2); +if (x_109 == 0) { -uint8_t x_108; lean_object* x_109; -x_108 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_108); +uint8_t x_110; lean_object* x_111; +x_110 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_110); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -4360,17 +4459,17 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_109 = l_Lean_Elab_Term_toParserDescrAux___main(x_106, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_109) == 0) +x_111 = l_Lean_Elab_Term_toParserDescrAux___main(x_108, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_111) == 0) { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = lean_unsigned_to_nat(2u); -x_113 = l_Lean_Syntax_getArg(x_1, x_112); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); +lean_inc(x_113); +lean_dec(x_111); +x_114 = lean_unsigned_to_nat(2u); +x_115 = l_Lean_Syntax_getArg(x_1, x_114); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -4378,129 +4477,129 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_114 = l_Lean_Elab_Term_toParserDescrAux___main(x_113, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_111); -if (lean_obj_tag(x_114) == 0) +x_116 = l_Lean_Elab_Term_toParserDescrAux___main(x_115, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_113); +if (lean_obj_tag(x_116) == 0) { -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; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -x_117 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_116); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_118 = lean_ctor_get(x_117, 0); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 1); lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_119); +lean_dec(x_116); +x_119 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_118); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_120 = lean_ctor_get(x_119, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_119, 1); +lean_inc(x_121); +lean_dec(x_119); +x_122 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_121); lean_dec(x_9); -x_121 = !lean_is_exclusive(x_120); -if (x_121 == 0) +x_123 = !lean_is_exclusive(x_122); +if (x_123 == 0) { -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; -x_122 = lean_ctor_get(x_120, 0); -x_123 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; -x_124 = l_Lean_addMacroScope(x_122, x_123, x_118); -x_125 = l_Lean_SourceInfo_inhabited___closed__1; -x_126 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; -x_127 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; -x_128 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_128, 0, x_125); -lean_ctor_set(x_128, 1, x_126); -lean_ctor_set(x_128, 2, x_124); -lean_ctor_set(x_128, 3, x_127); -x_129 = l_Array_empty___closed__1; -x_130 = lean_array_push(x_129, x_128); -x_131 = lean_array_push(x_129, x_110); -x_132 = lean_array_push(x_131, x_115); -x_133 = l_Lean_nullKind___closed__2; -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_132); -x_135 = lean_array_push(x_130, x_134); -x_136 = l_Lean_mkAppStx___closed__8; -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_135); -lean_ctor_set(x_120, 0, x_137); -return x_120; +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; +x_124 = lean_ctor_get(x_122, 0); +x_125 = l_Lean_Elab_Term_toParserDescrAux___main___closed__33; +x_126 = l_Lean_addMacroScope(x_124, x_125, x_120); +x_127 = l_Lean_SourceInfo_inhabited___closed__1; +x_128 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; +x_129 = l_Lean_Elab_Term_toParserDescrAux___main___closed__36; +x_130 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_128); +lean_ctor_set(x_130, 2, x_126); +lean_ctor_set(x_130, 3, x_129); +x_131 = l_Array_empty___closed__1; +x_132 = lean_array_push(x_131, x_130); +x_133 = lean_array_push(x_131, x_112); +x_134 = lean_array_push(x_133, x_117); +x_135 = l_Lean_nullKind___closed__2; +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = lean_array_push(x_132, x_136); +x_138 = l_Lean_mkAppStx___closed__8; +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_122, 0, x_139); +return x_122; } 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; 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_138 = lean_ctor_get(x_120, 0); -x_139 = lean_ctor_get(x_120, 1); -lean_inc(x_139); -lean_inc(x_138); -lean_dec(x_120); -x_140 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; -x_141 = l_Lean_addMacroScope(x_138, x_140, x_118); -x_142 = l_Lean_SourceInfo_inhabited___closed__1; -x_143 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; -x_144 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; -x_145 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_145, 0, x_142); -lean_ctor_set(x_145, 1, x_143); -lean_ctor_set(x_145, 2, x_141); -lean_ctor_set(x_145, 3, x_144); -x_146 = l_Array_empty___closed__1; -x_147 = lean_array_push(x_146, x_145); -x_148 = lean_array_push(x_146, x_110); -x_149 = lean_array_push(x_148, x_115); -x_150 = l_Lean_nullKind___closed__2; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = lean_array_push(x_147, x_151); -x_153 = l_Lean_mkAppStx___closed__8; -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_alloc_ctor(0, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_139); -return x_155; +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; lean_object* x_156; lean_object* x_157; +x_140 = lean_ctor_get(x_122, 0); +x_141 = lean_ctor_get(x_122, 1); +lean_inc(x_141); +lean_inc(x_140); +lean_dec(x_122); +x_142 = l_Lean_Elab_Term_toParserDescrAux___main___closed__33; +x_143 = l_Lean_addMacroScope(x_140, x_142, x_120); +x_144 = l_Lean_SourceInfo_inhabited___closed__1; +x_145 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; +x_146 = l_Lean_Elab_Term_toParserDescrAux___main___closed__36; +x_147 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_147, 0, x_144); +lean_ctor_set(x_147, 1, x_145); +lean_ctor_set(x_147, 2, x_143); +lean_ctor_set(x_147, 3, x_146); +x_148 = l_Array_empty___closed__1; +x_149 = lean_array_push(x_148, x_147); +x_150 = lean_array_push(x_148, x_112); +x_151 = lean_array_push(x_150, x_117); +x_152 = l_Lean_nullKind___closed__2; +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_151); +x_154 = lean_array_push(x_149, x_153); +x_155 = l_Lean_mkAppStx___closed__8; +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_154); +x_157 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_141); +return x_157; } } else { -uint8_t x_156; -lean_dec(x_110); +uint8_t x_158; +lean_dec(x_112); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_156 = !lean_is_exclusive(x_114); -if (x_156 == 0) +x_158 = !lean_is_exclusive(x_116); +if (x_158 == 0) { -return x_114; +return x_116; } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; -x_157 = lean_ctor_get(x_114, 0); -x_158 = lean_ctor_get(x_114, 1); -lean_inc(x_158); -lean_inc(x_157); -lean_dec(x_114); -x_159 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_159, 0, x_157); -lean_ctor_set(x_159, 1, x_158); -return x_159; +lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_159 = lean_ctor_get(x_116, 0); +x_160 = lean_ctor_get(x_116, 1); +lean_inc(x_160); +lean_inc(x_159); +lean_dec(x_116); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_159); +lean_ctor_set(x_161, 1, x_160); +return x_161; } } } else { -uint8_t x_160; +uint8_t x_162; lean_dec(x_2); lean_dec(x_9); lean_dec(x_8); @@ -4510,40 +4609,40 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_160 = !lean_is_exclusive(x_109); -if (x_160 == 0) +x_162 = !lean_is_exclusive(x_111); +if (x_162 == 0) { -return x_109; +return x_111; } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_109, 0); -x_162 = lean_ctor_get(x_109, 1); -lean_inc(x_162); -lean_inc(x_161); -lean_dec(x_109); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -return x_163; -} -} -} -else -{ -lean_object* x_164; uint8_t x_165; uint8_t x_166; uint8_t x_167; lean_object* x_168; lean_object* x_169; -x_164 = lean_ctor_get(x_2, 0); -x_165 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_166 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_111, 0); +x_164 = lean_ctor_get(x_111, 1); lean_inc(x_164); +lean_inc(x_163); +lean_dec(x_111); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_163); +lean_ctor_set(x_165, 1, x_164); +return x_165; +} +} +} +else +{ +lean_object* x_166; uint8_t x_167; uint8_t x_168; uint8_t x_169; lean_object* x_170; lean_object* x_171; +x_166 = lean_ctor_get(x_2, 0); +x_167 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_168 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_166); lean_dec(x_2); -x_167 = 0; -x_168 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_168, 0, x_164); -lean_ctor_set_uint8(x_168, sizeof(void*)*1, x_165); -lean_ctor_set_uint8(x_168, sizeof(void*)*1 + 1, x_167); -lean_ctor_set_uint8(x_168, sizeof(void*)*1 + 2, x_166); +x_169 = 0; +x_170 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_170, 0, x_166); +lean_ctor_set_uint8(x_170, sizeof(void*)*1, x_167); +lean_ctor_set_uint8(x_170, sizeof(void*)*1 + 1, x_169); +lean_ctor_set_uint8(x_170, sizeof(void*)*1 + 2, x_168); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -4551,18 +4650,18 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_168); -x_169 = l_Lean_Elab_Term_toParserDescrAux___main(x_106, x_168, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_169) == 0) -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_170 = lean_ctor_get(x_169, 0); lean_inc(x_170); -x_171 = lean_ctor_get(x_169, 1); -lean_inc(x_171); -lean_dec(x_169); -x_172 = lean_unsigned_to_nat(2u); -x_173 = l_Lean_Syntax_getArg(x_1, x_172); +x_171 = l_Lean_Elab_Term_toParserDescrAux___main(x_108, x_170, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_171) == 0) +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +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_unsigned_to_nat(2u); +x_175 = l_Lean_Syntax_getArg(x_1, x_174); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -4570,75 +4669,107 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_174 = l_Lean_Elab_Term_toParserDescrAux___main(x_173, x_168, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_171); -if (lean_obj_tag(x_174) == 0) +x_176 = l_Lean_Elab_Term_toParserDescrAux___main(x_175, x_170, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_173); +if (lean_obj_tag(x_176) == 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; 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_object* x_199; -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 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, 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_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_object* x_199; lean_object* x_200; lean_object* x_201; +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_178); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_178 = lean_ctor_get(x_177, 0); -lean_inc(x_178); -x_179 = lean_ctor_get(x_177, 1); -lean_inc(x_179); -lean_dec(x_177); -x_180 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_179); -lean_dec(x_9); -x_181 = lean_ctor_get(x_180, 0); +x_180 = lean_ctor_get(x_179, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_179, 1); lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -if (lean_is_exclusive(x_180)) { - lean_ctor_release(x_180, 0); - lean_ctor_release(x_180, 1); - x_183 = x_180; +lean_dec(x_179); +x_182 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_181); +lean_dec(x_9); +x_183 = lean_ctor_get(x_182, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_182, 1); +lean_inc(x_184); +if (lean_is_exclusive(x_182)) { + lean_ctor_release(x_182, 0); + lean_ctor_release(x_182, 1); + x_185 = x_182; } else { - lean_dec_ref(x_180); - x_183 = lean_box(0); + lean_dec_ref(x_182); + x_185 = lean_box(0); } -x_184 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; -x_185 = l_Lean_addMacroScope(x_181, x_184, x_178); -x_186 = l_Lean_SourceInfo_inhabited___closed__1; -x_187 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; -x_188 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; -x_189 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_189, 0, x_186); -lean_ctor_set(x_189, 1, x_187); -lean_ctor_set(x_189, 2, x_185); -lean_ctor_set(x_189, 3, x_188); -x_190 = l_Array_empty___closed__1; -x_191 = lean_array_push(x_190, x_189); -x_192 = lean_array_push(x_190, x_170); -x_193 = lean_array_push(x_192, x_175); -x_194 = l_Lean_nullKind___closed__2; -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_193); -x_196 = lean_array_push(x_191, x_195); -x_197 = l_Lean_mkAppStx___closed__8; -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_196); -if (lean_is_scalar(x_183)) { - x_199 = lean_alloc_ctor(0, 2, 0); +x_186 = l_Lean_Elab_Term_toParserDescrAux___main___closed__33; +x_187 = l_Lean_addMacroScope(x_183, x_186, x_180); +x_188 = l_Lean_SourceInfo_inhabited___closed__1; +x_189 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; +x_190 = l_Lean_Elab_Term_toParserDescrAux___main___closed__36; +x_191 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_191, 0, x_188); +lean_ctor_set(x_191, 1, x_189); +lean_ctor_set(x_191, 2, x_187); +lean_ctor_set(x_191, 3, x_190); +x_192 = l_Array_empty___closed__1; +x_193 = lean_array_push(x_192, x_191); +x_194 = lean_array_push(x_192, x_172); +x_195 = lean_array_push(x_194, x_177); +x_196 = l_Lean_nullKind___closed__2; +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_195); +x_198 = lean_array_push(x_193, x_197); +x_199 = l_Lean_mkAppStx___closed__8; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +if (lean_is_scalar(x_185)) { + x_201 = lean_alloc_ctor(0, 2, 0); } else { - x_199 = x_183; + x_201 = x_185; } -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_182); -return x_199; +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_184); +return x_201; } else { -lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +lean_dec(x_172); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_202 = lean_ctor_get(x_176, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_176, 1); +lean_inc(x_203); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_204 = x_176; +} else { + lean_dec_ref(x_176); + x_204 = lean_box(0); +} +if (lean_is_scalar(x_204)) { + x_205 = lean_alloc_ctor(1, 2, 0); +} else { + x_205 = x_204; +} +lean_ctor_set(x_205, 0, x_202); +lean_ctor_set(x_205, 1, x_203); +return x_205; +} +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_dec(x_170); lean_dec(x_9); lean_dec(x_8); @@ -4646,838 +4777,806 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_200 = lean_ctor_get(x_174, 0); -lean_inc(x_200); -x_201 = lean_ctor_get(x_174, 1); -lean_inc(x_201); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_202 = x_174; -} else { - lean_dec_ref(x_174); - x_202 = lean_box(0); -} -if (lean_is_scalar(x_202)) { - x_203 = lean_alloc_ctor(1, 2, 0); -} else { - x_203 = x_202; -} -lean_ctor_set(x_203, 0, x_200); -lean_ctor_set(x_203, 1, x_201); -return x_203; -} -} -else -{ -lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -lean_dec(x_168); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_204 = lean_ctor_get(x_169, 0); -lean_inc(x_204); -x_205 = lean_ctor_get(x_169, 1); -lean_inc(x_205); -if (lean_is_exclusive(x_169)) { - lean_ctor_release(x_169, 0); - lean_ctor_release(x_169, 1); - x_206 = x_169; +x_206 = lean_ctor_get(x_171, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_171, 1); +lean_inc(x_207); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + lean_ctor_release(x_171, 1); + x_208 = x_171; } else { - lean_dec_ref(x_169); - x_206 = lean_box(0); + lean_dec_ref(x_171); + x_208 = lean_box(0); } -if (lean_is_scalar(x_206)) { - x_207 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_208)) { + x_209 = lean_alloc_ctor(1, 2, 0); } else { - x_207 = x_206; + x_209 = x_208; } -lean_ctor_set(x_207, 0, x_204); -lean_ctor_set(x_207, 1, x_205); -return x_207; +lean_ctor_set(x_209, 0, x_206); +lean_ctor_set(x_209, 1, x_207); +return x_209; } } } } else { -lean_object* x_208; lean_object* x_209; uint8_t x_210; +lean_object* x_210; lean_object* x_211; uint8_t x_212; lean_dec(x_11); -x_208 = lean_unsigned_to_nat(0u); -x_209 = l_Lean_Syntax_getArg(x_1, x_208); +x_210 = lean_unsigned_to_nat(0u); +x_211 = l_Lean_Syntax_getArg(x_1, x_210); lean_dec(x_1); -x_210 = !lean_is_exclusive(x_2); -if (x_210 == 0) +x_212 = !lean_is_exclusive(x_2); +if (x_212 == 0) { -uint8_t x_211; lean_object* x_212; -x_211 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_211); +uint8_t x_213; lean_object* x_214; +x_213 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_213); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_212 = l_Lean_Elab_Term_toParserDescrAux___main(x_209, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_212) == 0) +x_214 = l_Lean_Elab_Term_toParserDescrAux___main(x_211, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_214) == 0) { -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; uint8_t x_219; -x_213 = lean_ctor_get(x_212, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_212, 1); -lean_inc(x_214); -lean_dec(x_212); -x_215 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_214); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_216 = lean_ctor_get(x_215, 0); +lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; uint8_t x_221; +x_215 = lean_ctor_get(x_214, 0); +lean_inc(x_215); +x_216 = lean_ctor_get(x_214, 1); lean_inc(x_216); -x_217 = lean_ctor_get(x_215, 1); -lean_inc(x_217); -lean_dec(x_215); -x_218 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_217); +lean_dec(x_214); +x_217 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_216); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_218 = lean_ctor_get(x_217, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_217, 1); +lean_inc(x_219); +lean_dec(x_217); +x_220 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_219); lean_dec(x_9); -x_219 = !lean_is_exclusive(x_218); -if (x_219 == 0) +x_221 = !lean_is_exclusive(x_220); +if (x_221 == 0) { -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_220 = lean_ctor_get(x_218, 0); -x_221 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; -x_222 = l_Lean_addMacroScope(x_220, x_221, x_216); -x_223 = l_Lean_SourceInfo_inhabited___closed__1; -x_224 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; -x_225 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; -x_226 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_226, 0, x_223); -lean_ctor_set(x_226, 1, x_224); -lean_ctor_set(x_226, 2, x_222); -lean_ctor_set(x_226, 3, x_225); -x_227 = l_Array_empty___closed__1; -x_228 = lean_array_push(x_227, x_226); -x_229 = lean_array_push(x_227, x_213); -x_230 = l_Lean_nullKind___closed__2; -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_229); -x_232 = lean_array_push(x_228, x_231); -x_233 = l_Lean_mkAppStx___closed__8; -x_234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_234, 0, x_233); -lean_ctor_set(x_234, 1, x_232); -lean_ctor_set(x_218, 0, x_234); -return x_218; +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_222 = lean_ctor_get(x_220, 0); +x_223 = l_Lean_Elab_Term_toParserDescrAux___main___closed__40; +x_224 = l_Lean_addMacroScope(x_222, x_223, x_218); +x_225 = l_Lean_SourceInfo_inhabited___closed__1; +x_226 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; +x_227 = l_Lean_Elab_Term_toParserDescrAux___main___closed__43; +x_228 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 1, x_226); +lean_ctor_set(x_228, 2, x_224); +lean_ctor_set(x_228, 3, x_227); +x_229 = l_Array_empty___closed__1; +x_230 = lean_array_push(x_229, x_228); +x_231 = lean_array_push(x_229, x_215); +x_232 = l_Lean_nullKind___closed__2; +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_231); +x_234 = lean_array_push(x_230, x_233); +x_235 = l_Lean_mkAppStx___closed__8; +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_234); +lean_ctor_set(x_220, 0, x_236); +return x_220; } else { -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_235 = lean_ctor_get(x_218, 0); -x_236 = lean_ctor_get(x_218, 1); -lean_inc(x_236); -lean_inc(x_235); -lean_dec(x_218); -x_237 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; -x_238 = l_Lean_addMacroScope(x_235, x_237, x_216); -x_239 = l_Lean_SourceInfo_inhabited___closed__1; -x_240 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; -x_241 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; -x_242 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_242, 0, x_239); -lean_ctor_set(x_242, 1, x_240); -lean_ctor_set(x_242, 2, x_238); -lean_ctor_set(x_242, 3, x_241); -x_243 = l_Array_empty___closed__1; -x_244 = lean_array_push(x_243, x_242); -x_245 = lean_array_push(x_243, x_213); -x_246 = l_Lean_nullKind___closed__2; -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_245); -x_248 = lean_array_push(x_244, x_247); -x_249 = l_Lean_mkAppStx___closed__8; -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_248); -x_251 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_236); -return x_251; +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; +x_237 = lean_ctor_get(x_220, 0); +x_238 = lean_ctor_get(x_220, 1); +lean_inc(x_238); +lean_inc(x_237); +lean_dec(x_220); +x_239 = l_Lean_Elab_Term_toParserDescrAux___main___closed__40; +x_240 = l_Lean_addMacroScope(x_237, x_239, x_218); +x_241 = l_Lean_SourceInfo_inhabited___closed__1; +x_242 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; +x_243 = l_Lean_Elab_Term_toParserDescrAux___main___closed__43; +x_244 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_244, 0, x_241); +lean_ctor_set(x_244, 1, x_242); +lean_ctor_set(x_244, 2, x_240); +lean_ctor_set(x_244, 3, x_243); +x_245 = l_Array_empty___closed__1; +x_246 = lean_array_push(x_245, x_244); +x_247 = lean_array_push(x_245, x_215); +x_248 = l_Lean_nullKind___closed__2; +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_247); +x_250 = lean_array_push(x_246, x_249); +x_251 = l_Lean_mkAppStx___closed__8; +x_252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_250); +x_253 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_253, 0, x_252); +lean_ctor_set(x_253, 1, x_238); +return x_253; } } else { -uint8_t x_252; +uint8_t x_254; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_252 = !lean_is_exclusive(x_212); -if (x_252 == 0) +x_254 = !lean_is_exclusive(x_214); +if (x_254 == 0) { -return x_212; +return x_214; } else { -lean_object* x_253; lean_object* x_254; lean_object* x_255; -x_253 = lean_ctor_get(x_212, 0); -x_254 = lean_ctor_get(x_212, 1); -lean_inc(x_254); -lean_inc(x_253); -lean_dec(x_212); -x_255 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_255, 0, x_253); -lean_ctor_set(x_255, 1, x_254); -return x_255; -} -} -} -else -{ -lean_object* x_256; uint8_t x_257; uint8_t x_258; uint8_t x_259; lean_object* x_260; lean_object* x_261; -x_256 = lean_ctor_get(x_2, 0); -x_257 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_258 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_255 = lean_ctor_get(x_214, 0); +x_256 = lean_ctor_get(x_214, 1); lean_inc(x_256); +lean_inc(x_255); +lean_dec(x_214); +x_257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_257, 0, x_255); +lean_ctor_set(x_257, 1, x_256); +return x_257; +} +} +} +else +{ +lean_object* x_258; uint8_t x_259; uint8_t x_260; uint8_t x_261; lean_object* x_262; lean_object* x_263; +x_258 = lean_ctor_get(x_2, 0); +x_259 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_260 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_258); lean_dec(x_2); -x_259 = 0; -x_260 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_260, 0, x_256); -lean_ctor_set_uint8(x_260, sizeof(void*)*1, x_257); -lean_ctor_set_uint8(x_260, sizeof(void*)*1 + 1, x_259); -lean_ctor_set_uint8(x_260, sizeof(void*)*1 + 2, x_258); +x_261 = 0; +x_262 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_262, 0, x_258); +lean_ctor_set_uint8(x_262, sizeof(void*)*1, x_259); +lean_ctor_set_uint8(x_262, sizeof(void*)*1 + 1, x_261); +lean_ctor_set_uint8(x_262, sizeof(void*)*1 + 2, x_260); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_261 = l_Lean_Elab_Term_toParserDescrAux___main(x_209, x_260, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_261) == 0) +x_263 = l_Lean_Elab_Term_toParserDescrAux___main(x_211, x_262, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_263) == 0) { -lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -lean_dec(x_261); -x_264 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_263); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_265 = lean_ctor_get(x_264, 0); +lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_263, 1); lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); -lean_inc(x_266); -lean_dec(x_264); -x_267 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_266); -lean_dec(x_9); -x_268 = lean_ctor_get(x_267, 0); +lean_dec(x_263); +x_266 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_265); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_267 = lean_ctor_get(x_266, 0); +lean_inc(x_267); +x_268 = lean_ctor_get(x_266, 1); lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 1); -lean_inc(x_269); -if (lean_is_exclusive(x_267)) { - lean_ctor_release(x_267, 0); - lean_ctor_release(x_267, 1); - x_270 = x_267; +lean_dec(x_266); +x_269 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_268); +lean_dec(x_9); +x_270 = lean_ctor_get(x_269, 0); +lean_inc(x_270); +x_271 = lean_ctor_get(x_269, 1); +lean_inc(x_271); +if (lean_is_exclusive(x_269)) { + lean_ctor_release(x_269, 0); + lean_ctor_release(x_269, 1); + x_272 = x_269; } else { - lean_dec_ref(x_267); - x_270 = lean_box(0); + lean_dec_ref(x_269); + x_272 = lean_box(0); } -x_271 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; -x_272 = l_Lean_addMacroScope(x_268, x_271, x_265); -x_273 = l_Lean_SourceInfo_inhabited___closed__1; -x_274 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; -x_275 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; -x_276 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_276, 0, x_273); -lean_ctor_set(x_276, 1, x_274); -lean_ctor_set(x_276, 2, x_272); -lean_ctor_set(x_276, 3, x_275); -x_277 = l_Array_empty___closed__1; -x_278 = lean_array_push(x_277, x_276); -x_279 = lean_array_push(x_277, x_262); -x_280 = l_Lean_nullKind___closed__2; -x_281 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_281, 0, x_280); -lean_ctor_set(x_281, 1, x_279); -x_282 = lean_array_push(x_278, x_281); -x_283 = l_Lean_mkAppStx___closed__8; -x_284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_284, 0, x_283); -lean_ctor_set(x_284, 1, x_282); -if (lean_is_scalar(x_270)) { - x_285 = lean_alloc_ctor(0, 2, 0); +x_273 = l_Lean_Elab_Term_toParserDescrAux___main___closed__40; +x_274 = l_Lean_addMacroScope(x_270, x_273, x_267); +x_275 = l_Lean_SourceInfo_inhabited___closed__1; +x_276 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; +x_277 = l_Lean_Elab_Term_toParserDescrAux___main___closed__43; +x_278 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_278, 0, x_275); +lean_ctor_set(x_278, 1, x_276); +lean_ctor_set(x_278, 2, x_274); +lean_ctor_set(x_278, 3, x_277); +x_279 = l_Array_empty___closed__1; +x_280 = lean_array_push(x_279, x_278); +x_281 = lean_array_push(x_279, x_264); +x_282 = l_Lean_nullKind___closed__2; +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_281); +x_284 = lean_array_push(x_280, x_283); +x_285 = l_Lean_mkAppStx___closed__8; +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_284); +if (lean_is_scalar(x_272)) { + x_287 = lean_alloc_ctor(0, 2, 0); } else { - x_285 = x_270; + x_287 = x_272; } -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_269); -return x_285; +lean_ctor_set(x_287, 0, x_286); +lean_ctor_set(x_287, 1, x_271); +return x_287; } else { -lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_286 = lean_ctor_get(x_261, 0); -lean_inc(x_286); -x_287 = lean_ctor_get(x_261, 1); -lean_inc(x_287); -if (lean_is_exclusive(x_261)) { - lean_ctor_release(x_261, 0); - lean_ctor_release(x_261, 1); - x_288 = x_261; +x_288 = lean_ctor_get(x_263, 0); +lean_inc(x_288); +x_289 = lean_ctor_get(x_263, 1); +lean_inc(x_289); +if (lean_is_exclusive(x_263)) { + lean_ctor_release(x_263, 0); + lean_ctor_release(x_263, 1); + x_290 = x_263; } else { - lean_dec_ref(x_261); - x_288 = lean_box(0); + lean_dec_ref(x_263); + x_290 = lean_box(0); } -if (lean_is_scalar(x_288)) { - x_289 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_290)) { + x_291 = lean_alloc_ctor(1, 2, 0); } else { - x_289 = x_288; + x_291 = x_290; } -lean_ctor_set(x_289, 0, x_286); -lean_ctor_set(x_289, 1, x_287); -return x_289; +lean_ctor_set(x_291, 0, x_288); +lean_ctor_set(x_291, 1, x_289); +return x_291; } } } } else { -lean_object* x_290; lean_object* x_291; uint8_t x_292; +lean_object* x_292; lean_object* x_293; uint8_t x_294; lean_dec(x_11); -x_290 = lean_unsigned_to_nat(0u); -x_291 = l_Lean_Syntax_getArg(x_1, x_290); +x_292 = lean_unsigned_to_nat(0u); +x_293 = l_Lean_Syntax_getArg(x_1, x_292); lean_dec(x_1); -x_292 = !lean_is_exclusive(x_2); -if (x_292 == 0) +x_294 = !lean_is_exclusive(x_2); +if (x_294 == 0) { -uint8_t x_293; lean_object* x_294; -x_293 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_293); +uint8_t x_295; lean_object* x_296; +x_295 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_295); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_294 = l_Lean_Elab_Term_toParserDescrAux___main(x_291, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_294) == 0) +x_296 = l_Lean_Elab_Term_toParserDescrAux___main(x_293, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_296) == 0) { -lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; uint8_t x_301; -x_295 = lean_ctor_get(x_294, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_294, 1); -lean_inc(x_296); -lean_dec(x_294); -x_297 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_296); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_298 = lean_ctor_get(x_297, 0); +lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; uint8_t x_303; +x_297 = lean_ctor_get(x_296, 0); +lean_inc(x_297); +x_298 = lean_ctor_get(x_296, 1); lean_inc(x_298); -x_299 = lean_ctor_get(x_297, 1); -lean_inc(x_299); -lean_dec(x_297); -x_300 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_299); +lean_dec(x_296); +x_299 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_298); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_300 = lean_ctor_get(x_299, 0); +lean_inc(x_300); +x_301 = lean_ctor_get(x_299, 1); +lean_inc(x_301); +lean_dec(x_299); +x_302 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_301); lean_dec(x_9); -x_301 = !lean_is_exclusive(x_300); -if (x_301 == 0) +x_303 = !lean_is_exclusive(x_302); +if (x_303 == 0) { -lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; -x_302 = lean_ctor_get(x_300, 0); -x_303 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; -x_304 = l_Lean_addMacroScope(x_302, x_303, x_298); -x_305 = l_Lean_SourceInfo_inhabited___closed__1; -x_306 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; -x_307 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; -x_308 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_308, 0, x_305); -lean_ctor_set(x_308, 1, x_306); -lean_ctor_set(x_308, 2, x_304); -lean_ctor_set(x_308, 3, x_307); -x_309 = l_Array_empty___closed__1; -x_310 = lean_array_push(x_309, x_308); -x_311 = lean_array_push(x_309, x_295); -x_312 = l_Lean_nullKind___closed__2; -x_313 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_313, 0, x_312); -lean_ctor_set(x_313, 1, x_311); -x_314 = lean_array_push(x_310, x_313); -x_315 = l_Lean_mkAppStx___closed__8; -x_316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_314); -lean_ctor_set(x_300, 0, x_316); -return x_300; +lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; +x_304 = lean_ctor_get(x_302, 0); +x_305 = l_Lean_Elab_Term_toParserDescrAux___main___closed__47; +x_306 = l_Lean_addMacroScope(x_304, x_305, x_300); +x_307 = l_Lean_SourceInfo_inhabited___closed__1; +x_308 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; +x_309 = l_Lean_Elab_Term_toParserDescrAux___main___closed__50; +x_310 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_310, 0, x_307); +lean_ctor_set(x_310, 1, x_308); +lean_ctor_set(x_310, 2, x_306); +lean_ctor_set(x_310, 3, x_309); +x_311 = l_Array_empty___closed__1; +x_312 = lean_array_push(x_311, x_310); +x_313 = lean_array_push(x_311, x_297); +x_314 = l_Lean_nullKind___closed__2; +x_315 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_315, 0, x_314); +lean_ctor_set(x_315, 1, x_313); +x_316 = lean_array_push(x_312, x_315); +x_317 = l_Lean_mkAppStx___closed__8; +x_318 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_318, 0, x_317); +lean_ctor_set(x_318, 1, x_316); +lean_ctor_set(x_302, 0, x_318); +return x_302; } else { -lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; -x_317 = lean_ctor_get(x_300, 0); -x_318 = lean_ctor_get(x_300, 1); -lean_inc(x_318); -lean_inc(x_317); -lean_dec(x_300); -x_319 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; -x_320 = l_Lean_addMacroScope(x_317, x_319, x_298); -x_321 = l_Lean_SourceInfo_inhabited___closed__1; -x_322 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; -x_323 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; -x_324 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_324, 0, x_321); -lean_ctor_set(x_324, 1, x_322); -lean_ctor_set(x_324, 2, x_320); -lean_ctor_set(x_324, 3, x_323); -x_325 = l_Array_empty___closed__1; -x_326 = lean_array_push(x_325, x_324); -x_327 = lean_array_push(x_325, x_295); -x_328 = l_Lean_nullKind___closed__2; -x_329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_329, 0, x_328); -lean_ctor_set(x_329, 1, x_327); -x_330 = lean_array_push(x_326, x_329); -x_331 = l_Lean_mkAppStx___closed__8; -x_332 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_332, 0, x_331); -lean_ctor_set(x_332, 1, x_330); -x_333 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_333, 0, x_332); -lean_ctor_set(x_333, 1, x_318); -return x_333; +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; +x_319 = lean_ctor_get(x_302, 0); +x_320 = lean_ctor_get(x_302, 1); +lean_inc(x_320); +lean_inc(x_319); +lean_dec(x_302); +x_321 = l_Lean_Elab_Term_toParserDescrAux___main___closed__47; +x_322 = l_Lean_addMacroScope(x_319, x_321, x_300); +x_323 = l_Lean_SourceInfo_inhabited___closed__1; +x_324 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; +x_325 = l_Lean_Elab_Term_toParserDescrAux___main___closed__50; +x_326 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_326, 0, x_323); +lean_ctor_set(x_326, 1, x_324); +lean_ctor_set(x_326, 2, x_322); +lean_ctor_set(x_326, 3, x_325); +x_327 = l_Array_empty___closed__1; +x_328 = lean_array_push(x_327, x_326); +x_329 = lean_array_push(x_327, x_297); +x_330 = l_Lean_nullKind___closed__2; +x_331 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_331, 0, x_330); +lean_ctor_set(x_331, 1, x_329); +x_332 = lean_array_push(x_328, x_331); +x_333 = l_Lean_mkAppStx___closed__8; +x_334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_334, 0, x_333); +lean_ctor_set(x_334, 1, x_332); +x_335 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_335, 0, x_334); +lean_ctor_set(x_335, 1, x_320); +return x_335; } } else { -uint8_t x_334; +uint8_t x_336; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_334 = !lean_is_exclusive(x_294); -if (x_334 == 0) +x_336 = !lean_is_exclusive(x_296); +if (x_336 == 0) { -return x_294; +return x_296; } else { -lean_object* x_335; lean_object* x_336; lean_object* x_337; -x_335 = lean_ctor_get(x_294, 0); -x_336 = lean_ctor_get(x_294, 1); -lean_inc(x_336); -lean_inc(x_335); -lean_dec(x_294); -x_337 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_337, 0, x_335); -lean_ctor_set(x_337, 1, x_336); -return x_337; -} -} -} -else -{ -lean_object* x_338; uint8_t x_339; uint8_t x_340; uint8_t x_341; lean_object* x_342; lean_object* x_343; -x_338 = lean_ctor_get(x_2, 0); -x_339 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_340 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_337 = lean_ctor_get(x_296, 0); +x_338 = lean_ctor_get(x_296, 1); lean_inc(x_338); +lean_inc(x_337); +lean_dec(x_296); +x_339 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_339, 0, x_337); +lean_ctor_set(x_339, 1, x_338); +return x_339; +} +} +} +else +{ +lean_object* x_340; uint8_t x_341; uint8_t x_342; uint8_t x_343; lean_object* x_344; lean_object* x_345; +x_340 = lean_ctor_get(x_2, 0); +x_341 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_342 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_340); lean_dec(x_2); -x_341 = 0; -x_342 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_342, 0, x_338); -lean_ctor_set_uint8(x_342, sizeof(void*)*1, x_339); -lean_ctor_set_uint8(x_342, sizeof(void*)*1 + 1, x_341); -lean_ctor_set_uint8(x_342, sizeof(void*)*1 + 2, x_340); +x_343 = 0; +x_344 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_344, 0, x_340); +lean_ctor_set_uint8(x_344, sizeof(void*)*1, x_341); +lean_ctor_set_uint8(x_344, sizeof(void*)*1 + 1, x_343); +lean_ctor_set_uint8(x_344, sizeof(void*)*1 + 2, x_342); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_343 = l_Lean_Elab_Term_toParserDescrAux___main(x_291, x_342, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_343) == 0) +x_345 = l_Lean_Elab_Term_toParserDescrAux___main(x_293, x_344, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_345) == 0) { -lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; -x_344 = lean_ctor_get(x_343, 0); -lean_inc(x_344); -x_345 = lean_ctor_get(x_343, 1); -lean_inc(x_345); -lean_dec(x_343); -x_346 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_345); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_347 = lean_ctor_get(x_346, 0); +lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; +x_346 = lean_ctor_get(x_345, 0); +lean_inc(x_346); +x_347 = lean_ctor_get(x_345, 1); lean_inc(x_347); -x_348 = lean_ctor_get(x_346, 1); -lean_inc(x_348); -lean_dec(x_346); -x_349 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_348); -lean_dec(x_9); -x_350 = lean_ctor_get(x_349, 0); +lean_dec(x_345); +x_348 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_347); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_349 = lean_ctor_get(x_348, 0); +lean_inc(x_349); +x_350 = lean_ctor_get(x_348, 1); lean_inc(x_350); -x_351 = lean_ctor_get(x_349, 1); -lean_inc(x_351); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - x_352 = x_349; +lean_dec(x_348); +x_351 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_350); +lean_dec(x_9); +x_352 = lean_ctor_get(x_351, 0); +lean_inc(x_352); +x_353 = lean_ctor_get(x_351, 1); +lean_inc(x_353); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + x_354 = x_351; } else { - lean_dec_ref(x_349); - x_352 = lean_box(0); + lean_dec_ref(x_351); + x_354 = lean_box(0); } -x_353 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; -x_354 = l_Lean_addMacroScope(x_350, x_353, x_347); -x_355 = l_Lean_SourceInfo_inhabited___closed__1; -x_356 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; -x_357 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; -x_358 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_358, 0, x_355); -lean_ctor_set(x_358, 1, x_356); -lean_ctor_set(x_358, 2, x_354); -lean_ctor_set(x_358, 3, x_357); -x_359 = l_Array_empty___closed__1; -x_360 = lean_array_push(x_359, x_358); -x_361 = lean_array_push(x_359, x_344); -x_362 = l_Lean_nullKind___closed__2; -x_363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_363, 0, x_362); -lean_ctor_set(x_363, 1, x_361); -x_364 = lean_array_push(x_360, x_363); -x_365 = l_Lean_mkAppStx___closed__8; -x_366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_366, 0, x_365); -lean_ctor_set(x_366, 1, x_364); -if (lean_is_scalar(x_352)) { - x_367 = lean_alloc_ctor(0, 2, 0); +x_355 = l_Lean_Elab_Term_toParserDescrAux___main___closed__47; +x_356 = l_Lean_addMacroScope(x_352, x_355, x_349); +x_357 = l_Lean_SourceInfo_inhabited___closed__1; +x_358 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; +x_359 = l_Lean_Elab_Term_toParserDescrAux___main___closed__50; +x_360 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_360, 0, x_357); +lean_ctor_set(x_360, 1, x_358); +lean_ctor_set(x_360, 2, x_356); +lean_ctor_set(x_360, 3, x_359); +x_361 = l_Array_empty___closed__1; +x_362 = lean_array_push(x_361, x_360); +x_363 = lean_array_push(x_361, x_346); +x_364 = l_Lean_nullKind___closed__2; +x_365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_363); +x_366 = lean_array_push(x_362, x_365); +x_367 = l_Lean_mkAppStx___closed__8; +x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_366); +if (lean_is_scalar(x_354)) { + x_369 = lean_alloc_ctor(0, 2, 0); } else { - x_367 = x_352; + x_369 = x_354; } -lean_ctor_set(x_367, 0, x_366); -lean_ctor_set(x_367, 1, x_351); -return x_367; +lean_ctor_set(x_369, 0, x_368); +lean_ctor_set(x_369, 1, x_353); +return x_369; } else { -lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; +lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_368 = lean_ctor_get(x_343, 0); -lean_inc(x_368); -x_369 = lean_ctor_get(x_343, 1); -lean_inc(x_369); -if (lean_is_exclusive(x_343)) { - lean_ctor_release(x_343, 0); - lean_ctor_release(x_343, 1); - x_370 = x_343; +x_370 = lean_ctor_get(x_345, 0); +lean_inc(x_370); +x_371 = lean_ctor_get(x_345, 1); +lean_inc(x_371); +if (lean_is_exclusive(x_345)) { + lean_ctor_release(x_345, 0); + lean_ctor_release(x_345, 1); + x_372 = x_345; } else { - lean_dec_ref(x_343); - x_370 = lean_box(0); + lean_dec_ref(x_345); + x_372 = lean_box(0); } -if (lean_is_scalar(x_370)) { - x_371 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_372)) { + x_373 = lean_alloc_ctor(1, 2, 0); } else { - x_371 = x_370; + x_373 = x_372; } -lean_ctor_set(x_371, 0, x_368); -lean_ctor_set(x_371, 1, x_369); -return x_371; +lean_ctor_set(x_373, 0, x_370); +lean_ctor_set(x_373, 1, x_371); +return x_373; } } } } else { -lean_object* x_372; lean_object* x_373; uint8_t x_374; +lean_object* x_374; lean_object* x_375; uint8_t x_376; lean_dec(x_11); -x_372 = lean_unsigned_to_nat(0u); -x_373 = l_Lean_Syntax_getArg(x_1, x_372); +x_374 = lean_unsigned_to_nat(0u); +x_375 = l_Lean_Syntax_getArg(x_1, x_374); lean_dec(x_1); -x_374 = !lean_is_exclusive(x_2); -if (x_374 == 0) +x_376 = !lean_is_exclusive(x_2); +if (x_376 == 0) { -uint8_t x_375; lean_object* x_376; -x_375 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_375); +uint8_t x_377; lean_object* x_378; +x_377 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_377); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_376 = l_Lean_Elab_Term_toParserDescrAux___main(x_373, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_376) == 0) +x_378 = l_Lean_Elab_Term_toParserDescrAux___main(x_375, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_378) == 0) { -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; uint8_t x_383; -x_377 = lean_ctor_get(x_376, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_376, 1); -lean_inc(x_378); -lean_dec(x_376); -x_379 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_378); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_380 = lean_ctor_get(x_379, 0); +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; uint8_t x_385; +x_379 = lean_ctor_get(x_378, 0); +lean_inc(x_379); +x_380 = lean_ctor_get(x_378, 1); lean_inc(x_380); -x_381 = lean_ctor_get(x_379, 1); -lean_inc(x_381); -lean_dec(x_379); -x_382 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_381); +lean_dec(x_378); +x_381 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_380); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_382 = lean_ctor_get(x_381, 0); +lean_inc(x_382); +x_383 = lean_ctor_get(x_381, 1); +lean_inc(x_383); +lean_dec(x_381); +x_384 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_383); lean_dec(x_9); -x_383 = !lean_is_exclusive(x_382); -if (x_383 == 0) +x_385 = !lean_is_exclusive(x_384); +if (x_385 == 0) { -lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; -x_384 = lean_ctor_get(x_382, 0); -x_385 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; -x_386 = l_Lean_addMacroScope(x_384, x_385, x_380); -x_387 = l_Lean_SourceInfo_inhabited___closed__1; -x_388 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; -x_389 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; -x_390 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_390, 0, x_387); -lean_ctor_set(x_390, 1, x_388); -lean_ctor_set(x_390, 2, x_386); -lean_ctor_set(x_390, 3, x_389); -x_391 = l_Array_empty___closed__1; -x_392 = lean_array_push(x_391, x_390); -x_393 = lean_array_push(x_391, x_377); -x_394 = l_Lean_nullKind___closed__2; -x_395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_395, 0, x_394); -lean_ctor_set(x_395, 1, x_393); -x_396 = lean_array_push(x_392, x_395); -x_397 = l_Lean_mkAppStx___closed__8; -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_397); -lean_ctor_set(x_398, 1, x_396); -lean_ctor_set(x_382, 0, x_398); -return x_382; +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; +x_386 = lean_ctor_get(x_384, 0); +x_387 = l_Lean_Elab_Term_toParserDescrAux___main___closed__54; +x_388 = l_Lean_addMacroScope(x_386, x_387, x_382); +x_389 = l_Lean_SourceInfo_inhabited___closed__1; +x_390 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; +x_391 = l_Lean_Elab_Term_toParserDescrAux___main___closed__57; +x_392 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_392, 0, x_389); +lean_ctor_set(x_392, 1, x_390); +lean_ctor_set(x_392, 2, x_388); +lean_ctor_set(x_392, 3, x_391); +x_393 = l_Array_empty___closed__1; +x_394 = lean_array_push(x_393, x_392); +x_395 = lean_array_push(x_393, x_379); +x_396 = l_Lean_nullKind___closed__2; +x_397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_395); +x_398 = lean_array_push(x_394, x_397); +x_399 = l_Lean_mkAppStx___closed__8; +x_400 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_400, 0, x_399); +lean_ctor_set(x_400, 1, x_398); +lean_ctor_set(x_384, 0, x_400); +return x_384; } else { -lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; -x_399 = lean_ctor_get(x_382, 0); -x_400 = lean_ctor_get(x_382, 1); -lean_inc(x_400); -lean_inc(x_399); -lean_dec(x_382); -x_401 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; -x_402 = l_Lean_addMacroScope(x_399, x_401, x_380); -x_403 = l_Lean_SourceInfo_inhabited___closed__1; -x_404 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; -x_405 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; -x_406 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_406, 0, x_403); -lean_ctor_set(x_406, 1, x_404); -lean_ctor_set(x_406, 2, x_402); -lean_ctor_set(x_406, 3, x_405); -x_407 = l_Array_empty___closed__1; -x_408 = lean_array_push(x_407, x_406); -x_409 = lean_array_push(x_407, x_377); -x_410 = l_Lean_nullKind___closed__2; -x_411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_411, 0, x_410); -lean_ctor_set(x_411, 1, x_409); -x_412 = lean_array_push(x_408, x_411); -x_413 = l_Lean_mkAppStx___closed__8; -x_414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_414, 0, x_413); -lean_ctor_set(x_414, 1, x_412); -x_415 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_400); -return x_415; +lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; +x_401 = lean_ctor_get(x_384, 0); +x_402 = lean_ctor_get(x_384, 1); +lean_inc(x_402); +lean_inc(x_401); +lean_dec(x_384); +x_403 = l_Lean_Elab_Term_toParserDescrAux___main___closed__54; +x_404 = l_Lean_addMacroScope(x_401, x_403, x_382); +x_405 = l_Lean_SourceInfo_inhabited___closed__1; +x_406 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; +x_407 = l_Lean_Elab_Term_toParserDescrAux___main___closed__57; +x_408 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_408, 0, x_405); +lean_ctor_set(x_408, 1, x_406); +lean_ctor_set(x_408, 2, x_404); +lean_ctor_set(x_408, 3, x_407); +x_409 = l_Array_empty___closed__1; +x_410 = lean_array_push(x_409, x_408); +x_411 = lean_array_push(x_409, x_379); +x_412 = l_Lean_nullKind___closed__2; +x_413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_413, 0, x_412); +lean_ctor_set(x_413, 1, x_411); +x_414 = lean_array_push(x_410, x_413); +x_415 = l_Lean_mkAppStx___closed__8; +x_416 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_416, 0, x_415); +lean_ctor_set(x_416, 1, x_414); +x_417 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_417, 0, x_416); +lean_ctor_set(x_417, 1, x_402); +return x_417; } } else { -uint8_t x_416; +uint8_t x_418; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_416 = !lean_is_exclusive(x_376); -if (x_416 == 0) +x_418 = !lean_is_exclusive(x_378); +if (x_418 == 0) { -return x_376; +return x_378; } else { -lean_object* x_417; lean_object* x_418; lean_object* x_419; -x_417 = lean_ctor_get(x_376, 0); -x_418 = lean_ctor_get(x_376, 1); -lean_inc(x_418); -lean_inc(x_417); -lean_dec(x_376); -x_419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_419, 0, x_417); -lean_ctor_set(x_419, 1, x_418); -return x_419; -} -} -} -else -{ -lean_object* x_420; uint8_t x_421; uint8_t x_422; uint8_t x_423; lean_object* x_424; lean_object* x_425; -x_420 = lean_ctor_get(x_2, 0); -x_421 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_422 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_object* x_419; lean_object* x_420; lean_object* x_421; +x_419 = lean_ctor_get(x_378, 0); +x_420 = lean_ctor_get(x_378, 1); lean_inc(x_420); +lean_inc(x_419); +lean_dec(x_378); +x_421 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_421, 0, x_419); +lean_ctor_set(x_421, 1, x_420); +return x_421; +} +} +} +else +{ +lean_object* x_422; uint8_t x_423; uint8_t x_424; uint8_t x_425; lean_object* x_426; lean_object* x_427; +x_422 = lean_ctor_get(x_2, 0); +x_423 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_424 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_422); lean_dec(x_2); -x_423 = 0; -x_424 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_424, 0, x_420); -lean_ctor_set_uint8(x_424, sizeof(void*)*1, x_421); -lean_ctor_set_uint8(x_424, sizeof(void*)*1 + 1, x_423); -lean_ctor_set_uint8(x_424, sizeof(void*)*1 + 2, x_422); +x_425 = 0; +x_426 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_426, 0, x_422); +lean_ctor_set_uint8(x_426, sizeof(void*)*1, x_423); +lean_ctor_set_uint8(x_426, sizeof(void*)*1 + 1, x_425); +lean_ctor_set_uint8(x_426, sizeof(void*)*1 + 2, x_424); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_425 = l_Lean_Elab_Term_toParserDescrAux___main(x_373, x_424, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_425) == 0) +x_427 = l_Lean_Elab_Term_toParserDescrAux___main(x_375, x_426, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_427) == 0) { -lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; -x_426 = lean_ctor_get(x_425, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_425, 1); -lean_inc(x_427); -lean_dec(x_425); -x_428 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_427); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_429 = lean_ctor_get(x_428, 0); +lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; +x_428 = lean_ctor_get(x_427, 0); +lean_inc(x_428); +x_429 = lean_ctor_get(x_427, 1); lean_inc(x_429); -x_430 = lean_ctor_get(x_428, 1); -lean_inc(x_430); -lean_dec(x_428); -x_431 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_430); -lean_dec(x_9); -x_432 = lean_ctor_get(x_431, 0); +lean_dec(x_427); +x_430 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_429); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_431 = lean_ctor_get(x_430, 0); +lean_inc(x_431); +x_432 = lean_ctor_get(x_430, 1); lean_inc(x_432); -x_433 = lean_ctor_get(x_431, 1); -lean_inc(x_433); -if (lean_is_exclusive(x_431)) { - lean_ctor_release(x_431, 0); - lean_ctor_release(x_431, 1); - x_434 = x_431; +lean_dec(x_430); +x_433 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_432); +lean_dec(x_9); +x_434 = lean_ctor_get(x_433, 0); +lean_inc(x_434); +x_435 = lean_ctor_get(x_433, 1); +lean_inc(x_435); +if (lean_is_exclusive(x_433)) { + lean_ctor_release(x_433, 0); + lean_ctor_release(x_433, 1); + x_436 = x_433; } else { - lean_dec_ref(x_431); - x_434 = lean_box(0); + lean_dec_ref(x_433); + x_436 = lean_box(0); } -x_435 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; -x_436 = l_Lean_addMacroScope(x_432, x_435, x_429); -x_437 = l_Lean_SourceInfo_inhabited___closed__1; -x_438 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; -x_439 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; -x_440 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_440, 0, x_437); -lean_ctor_set(x_440, 1, x_438); -lean_ctor_set(x_440, 2, x_436); -lean_ctor_set(x_440, 3, x_439); -x_441 = l_Array_empty___closed__1; -x_442 = lean_array_push(x_441, x_440); -x_443 = lean_array_push(x_441, x_426); -x_444 = l_Lean_nullKind___closed__2; -x_445 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_445, 0, x_444); -lean_ctor_set(x_445, 1, x_443); -x_446 = lean_array_push(x_442, x_445); -x_447 = l_Lean_mkAppStx___closed__8; -x_448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_448, 0, x_447); -lean_ctor_set(x_448, 1, x_446); -if (lean_is_scalar(x_434)) { - x_449 = lean_alloc_ctor(0, 2, 0); +x_437 = l_Lean_Elab_Term_toParserDescrAux___main___closed__54; +x_438 = l_Lean_addMacroScope(x_434, x_437, x_431); +x_439 = l_Lean_SourceInfo_inhabited___closed__1; +x_440 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; +x_441 = l_Lean_Elab_Term_toParserDescrAux___main___closed__57; +x_442 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_442, 0, x_439); +lean_ctor_set(x_442, 1, x_440); +lean_ctor_set(x_442, 2, x_438); +lean_ctor_set(x_442, 3, x_441); +x_443 = l_Array_empty___closed__1; +x_444 = lean_array_push(x_443, x_442); +x_445 = lean_array_push(x_443, x_428); +x_446 = l_Lean_nullKind___closed__2; +x_447 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_447, 0, x_446); +lean_ctor_set(x_447, 1, x_445); +x_448 = lean_array_push(x_444, x_447); +x_449 = l_Lean_mkAppStx___closed__8; +x_450 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_450, 0, x_449); +lean_ctor_set(x_450, 1, x_448); +if (lean_is_scalar(x_436)) { + x_451 = lean_alloc_ctor(0, 2, 0); } else { - x_449 = x_434; + x_451 = x_436; } -lean_ctor_set(x_449, 0, x_448); -lean_ctor_set(x_449, 1, x_433); -return x_449; +lean_ctor_set(x_451, 0, x_450); +lean_ctor_set(x_451, 1, x_435); +return x_451; } else { -lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; +lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_450 = lean_ctor_get(x_425, 0); -lean_inc(x_450); -x_451 = lean_ctor_get(x_425, 1); -lean_inc(x_451); -if (lean_is_exclusive(x_425)) { - lean_ctor_release(x_425, 0); - lean_ctor_release(x_425, 1); - x_452 = x_425; +x_452 = lean_ctor_get(x_427, 0); +lean_inc(x_452); +x_453 = lean_ctor_get(x_427, 1); +lean_inc(x_453); +if (lean_is_exclusive(x_427)) { + lean_ctor_release(x_427, 0); + lean_ctor_release(x_427, 1); + x_454 = x_427; } else { - lean_dec_ref(x_425); - x_452 = lean_box(0); + lean_dec_ref(x_427); + x_454 = lean_box(0); } -if (lean_is_scalar(x_452)) { - x_453 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_454)) { + x_455 = lean_alloc_ctor(1, 2, 0); } else { - x_453 = x_452; + x_455 = x_454; } -lean_ctor_set(x_453, 0, x_450); -lean_ctor_set(x_453, 1, x_451); -return x_453; +lean_ctor_set(x_455, 0, x_452); +lean_ctor_set(x_455, 1, x_453); +return x_455; } } } } else { -lean_object* x_454; lean_object* x_455; uint8_t x_456; +lean_object* x_456; lean_object* x_457; uint8_t x_458; lean_dec(x_11); -x_454 = lean_unsigned_to_nat(1u); -x_455 = l_Lean_Syntax_getArg(x_1, x_454); -x_456 = !lean_is_exclusive(x_2); -if (x_456 == 0) +x_456 = lean_unsigned_to_nat(1u); +x_457 = l_Lean_Syntax_getArg(x_1, x_456); +x_458 = !lean_is_exclusive(x_2); +if (x_458 == 0) { -uint8_t x_457; lean_object* x_458; -x_457 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_457); +uint8_t x_459; lean_object* x_460; +x_459 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_459); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -5486,17 +5585,17 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_458 = l_Lean_Elab_Term_toParserDescrAux___main(x_455, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_458) == 0) +x_460 = l_Lean_Elab_Term_toParserDescrAux___main(x_457, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_460) == 0) { -lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; -x_459 = lean_ctor_get(x_458, 0); -lean_inc(x_459); -x_460 = lean_ctor_get(x_458, 1); -lean_inc(x_460); -lean_dec(x_458); -x_461 = lean_unsigned_to_nat(2u); -x_462 = l_Lean_Syntax_getArg(x_1, x_461); +lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; +x_461 = lean_ctor_get(x_460, 0); +lean_inc(x_461); +x_462 = lean_ctor_get(x_460, 1); +lean_inc(x_462); +lean_dec(x_460); +x_463 = lean_unsigned_to_nat(2u); +x_464 = l_Lean_Syntax_getArg(x_1, x_463); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -5504,129 +5603,129 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_463 = l_Lean_Elab_Term_toParserDescrAux___main(x_462, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_460); -if (lean_obj_tag(x_463) == 0) +x_465 = l_Lean_Elab_Term_toParserDescrAux___main(x_464, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_462); +if (lean_obj_tag(x_465) == 0) { -lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; uint8_t x_470; -x_464 = lean_ctor_get(x_463, 0); -lean_inc(x_464); -x_465 = lean_ctor_get(x_463, 1); -lean_inc(x_465); -lean_dec(x_463); -x_466 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_465); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_467 = lean_ctor_get(x_466, 0); +lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; uint8_t x_472; +x_466 = lean_ctor_get(x_465, 0); +lean_inc(x_466); +x_467 = lean_ctor_get(x_465, 1); lean_inc(x_467); -x_468 = lean_ctor_get(x_466, 1); -lean_inc(x_468); -lean_dec(x_466); -x_469 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_468); +lean_dec(x_465); +x_468 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_467); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_469 = lean_ctor_get(x_468, 0); +lean_inc(x_469); +x_470 = lean_ctor_get(x_468, 1); +lean_inc(x_470); +lean_dec(x_468); +x_471 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_470); lean_dec(x_9); -x_470 = !lean_is_exclusive(x_469); -if (x_470 == 0) +x_472 = !lean_is_exclusive(x_471); +if (x_472 == 0) { -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; -x_471 = lean_ctor_get(x_469, 0); -x_472 = l_Lean_Elab_Term_toParserDescrAux___main___closed__60; -x_473 = l_Lean_addMacroScope(x_471, x_472, x_467); -x_474 = l_Lean_SourceInfo_inhabited___closed__1; -x_475 = l_Lean_Elab_Term_toParserDescrAux___main___closed__59; -x_476 = l_Lean_Elab_Term_toParserDescrAux___main___closed__63; -x_477 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_477, 0, x_474); -lean_ctor_set(x_477, 1, x_475); -lean_ctor_set(x_477, 2, x_473); -lean_ctor_set(x_477, 3, x_476); -x_478 = l_Array_empty___closed__1; -x_479 = lean_array_push(x_478, x_477); -x_480 = lean_array_push(x_478, x_459); -x_481 = lean_array_push(x_480, x_464); -x_482 = l_Lean_nullKind___closed__2; -x_483 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_483, 0, x_482); -lean_ctor_set(x_483, 1, x_481); -x_484 = lean_array_push(x_479, x_483); -x_485 = l_Lean_mkAppStx___closed__8; -x_486 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_486, 0, x_485); -lean_ctor_set(x_486, 1, x_484); -lean_ctor_set(x_469, 0, x_486); -return x_469; +lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; +x_473 = lean_ctor_get(x_471, 0); +x_474 = l_Lean_Elab_Term_toParserDescrAux___main___closed__61; +x_475 = l_Lean_addMacroScope(x_473, x_474, x_469); +x_476 = l_Lean_SourceInfo_inhabited___closed__1; +x_477 = l_Lean_Elab_Term_toParserDescrAux___main___closed__60; +x_478 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; +x_479 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_479, 0, x_476); +lean_ctor_set(x_479, 1, x_477); +lean_ctor_set(x_479, 2, x_475); +lean_ctor_set(x_479, 3, x_478); +x_480 = l_Array_empty___closed__1; +x_481 = lean_array_push(x_480, x_479); +x_482 = lean_array_push(x_480, x_461); +x_483 = lean_array_push(x_482, x_466); +x_484 = l_Lean_nullKind___closed__2; +x_485 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_485, 0, x_484); +lean_ctor_set(x_485, 1, x_483); +x_486 = lean_array_push(x_481, x_485); +x_487 = l_Lean_mkAppStx___closed__8; +x_488 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_488, 0, x_487); +lean_ctor_set(x_488, 1, x_486); +lean_ctor_set(x_471, 0, x_488); +return x_471; } else { -lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; -x_487 = lean_ctor_get(x_469, 0); -x_488 = lean_ctor_get(x_469, 1); -lean_inc(x_488); -lean_inc(x_487); -lean_dec(x_469); -x_489 = l_Lean_Elab_Term_toParserDescrAux___main___closed__60; -x_490 = l_Lean_addMacroScope(x_487, x_489, x_467); -x_491 = l_Lean_SourceInfo_inhabited___closed__1; -x_492 = l_Lean_Elab_Term_toParserDescrAux___main___closed__59; -x_493 = l_Lean_Elab_Term_toParserDescrAux___main___closed__63; -x_494 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_494, 0, x_491); -lean_ctor_set(x_494, 1, x_492); -lean_ctor_set(x_494, 2, x_490); -lean_ctor_set(x_494, 3, x_493); -x_495 = l_Array_empty___closed__1; -x_496 = lean_array_push(x_495, x_494); -x_497 = lean_array_push(x_495, x_459); -x_498 = lean_array_push(x_497, x_464); -x_499 = l_Lean_nullKind___closed__2; -x_500 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_500, 0, x_499); -lean_ctor_set(x_500, 1, x_498); -x_501 = lean_array_push(x_496, x_500); -x_502 = l_Lean_mkAppStx___closed__8; -x_503 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_503, 0, x_502); -lean_ctor_set(x_503, 1, x_501); -x_504 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_504, 0, x_503); -lean_ctor_set(x_504, 1, x_488); -return x_504; +lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; +x_489 = lean_ctor_get(x_471, 0); +x_490 = lean_ctor_get(x_471, 1); +lean_inc(x_490); +lean_inc(x_489); +lean_dec(x_471); +x_491 = l_Lean_Elab_Term_toParserDescrAux___main___closed__61; +x_492 = l_Lean_addMacroScope(x_489, x_491, x_469); +x_493 = l_Lean_SourceInfo_inhabited___closed__1; +x_494 = l_Lean_Elab_Term_toParserDescrAux___main___closed__60; +x_495 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; +x_496 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_496, 0, x_493); +lean_ctor_set(x_496, 1, x_494); +lean_ctor_set(x_496, 2, x_492); +lean_ctor_set(x_496, 3, x_495); +x_497 = l_Array_empty___closed__1; +x_498 = lean_array_push(x_497, x_496); +x_499 = lean_array_push(x_497, x_461); +x_500 = lean_array_push(x_499, x_466); +x_501 = l_Lean_nullKind___closed__2; +x_502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_502, 0, x_501); +lean_ctor_set(x_502, 1, x_500); +x_503 = lean_array_push(x_498, x_502); +x_504 = l_Lean_mkAppStx___closed__8; +x_505 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_505, 0, x_504); +lean_ctor_set(x_505, 1, x_503); +x_506 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_506, 0, x_505); +lean_ctor_set(x_506, 1, x_490); +return x_506; } } else { -uint8_t x_505; -lean_dec(x_459); +uint8_t x_507; +lean_dec(x_461); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_505 = !lean_is_exclusive(x_463); -if (x_505 == 0) +x_507 = !lean_is_exclusive(x_465); +if (x_507 == 0) { -return x_463; +return x_465; } else { -lean_object* x_506; lean_object* x_507; lean_object* x_508; -x_506 = lean_ctor_get(x_463, 0); -x_507 = lean_ctor_get(x_463, 1); -lean_inc(x_507); -lean_inc(x_506); -lean_dec(x_463); -x_508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_508, 0, x_506); -lean_ctor_set(x_508, 1, x_507); -return x_508; +lean_object* x_508; lean_object* x_509; lean_object* x_510; +x_508 = lean_ctor_get(x_465, 0); +x_509 = lean_ctor_get(x_465, 1); +lean_inc(x_509); +lean_inc(x_508); +lean_dec(x_465); +x_510 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_510, 0, x_508); +lean_ctor_set(x_510, 1, x_509); +return x_510; } } } else { -uint8_t x_509; +uint8_t x_511; lean_dec(x_2); lean_dec(x_9); lean_dec(x_8); @@ -5636,40 +5735,40 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_509 = !lean_is_exclusive(x_458); -if (x_509 == 0) +x_511 = !lean_is_exclusive(x_460); +if (x_511 == 0) { -return x_458; +return x_460; } else { -lean_object* x_510; lean_object* x_511; lean_object* x_512; -x_510 = lean_ctor_get(x_458, 0); -x_511 = lean_ctor_get(x_458, 1); -lean_inc(x_511); -lean_inc(x_510); -lean_dec(x_458); -x_512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_512, 0, x_510); -lean_ctor_set(x_512, 1, x_511); -return x_512; -} -} -} -else -{ -lean_object* x_513; uint8_t x_514; uint8_t x_515; uint8_t x_516; lean_object* x_517; lean_object* x_518; -x_513 = lean_ctor_get(x_2, 0); -x_514 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_515 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_object* x_512; lean_object* x_513; lean_object* x_514; +x_512 = lean_ctor_get(x_460, 0); +x_513 = lean_ctor_get(x_460, 1); lean_inc(x_513); +lean_inc(x_512); +lean_dec(x_460); +x_514 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_514, 0, x_512); +lean_ctor_set(x_514, 1, x_513); +return x_514; +} +} +} +else +{ +lean_object* x_515; uint8_t x_516; uint8_t x_517; uint8_t x_518; lean_object* x_519; lean_object* x_520; +x_515 = lean_ctor_get(x_2, 0); +x_516 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_517 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_515); lean_dec(x_2); -x_516 = 0; -x_517 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_517, 0, x_513); -lean_ctor_set_uint8(x_517, sizeof(void*)*1, x_514); -lean_ctor_set_uint8(x_517, sizeof(void*)*1 + 1, x_516); -lean_ctor_set_uint8(x_517, sizeof(void*)*1 + 2, x_515); +x_518 = 0; +x_519 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_519, 0, x_515); +lean_ctor_set_uint8(x_519, sizeof(void*)*1, x_516); +lean_ctor_set_uint8(x_519, sizeof(void*)*1 + 1, x_518); +lean_ctor_set_uint8(x_519, sizeof(void*)*1 + 2, x_517); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -5677,18 +5776,18 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_517); -x_518 = l_Lean_Elab_Term_toParserDescrAux___main(x_455, x_517, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_518) == 0) -{ -lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; -x_519 = lean_ctor_get(x_518, 0); lean_inc(x_519); -x_520 = lean_ctor_get(x_518, 1); -lean_inc(x_520); -lean_dec(x_518); -x_521 = lean_unsigned_to_nat(2u); -x_522 = l_Lean_Syntax_getArg(x_1, x_521); +x_520 = l_Lean_Elab_Term_toParserDescrAux___main(x_457, x_519, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_520) == 0) +{ +lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; +x_521 = lean_ctor_get(x_520, 0); +lean_inc(x_521); +x_522 = lean_ctor_get(x_520, 1); +lean_inc(x_522); +lean_dec(x_520); +x_523 = lean_unsigned_to_nat(2u); +x_524 = l_Lean_Syntax_getArg(x_1, x_523); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -5696,75 +5795,107 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_523 = l_Lean_Elab_Term_toParserDescrAux___main(x_522, x_517, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_520); -if (lean_obj_tag(x_523) == 0) +x_525 = l_Lean_Elab_Term_toParserDescrAux___main(x_524, x_519, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_522); +if (lean_obj_tag(x_525) == 0) { -lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; -x_524 = lean_ctor_get(x_523, 0); -lean_inc(x_524); -x_525 = lean_ctor_get(x_523, 1); -lean_inc(x_525); -lean_dec(x_523); -x_526 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_525); +lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; +x_526 = lean_ctor_get(x_525, 0); +lean_inc(x_526); +x_527 = lean_ctor_get(x_525, 1); +lean_inc(x_527); +lean_dec(x_525); +x_528 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_527); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_527 = lean_ctor_get(x_526, 0); -lean_inc(x_527); -x_528 = lean_ctor_get(x_526, 1); -lean_inc(x_528); -lean_dec(x_526); -x_529 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_528); -lean_dec(x_9); -x_530 = lean_ctor_get(x_529, 0); +x_529 = lean_ctor_get(x_528, 0); +lean_inc(x_529); +x_530 = lean_ctor_get(x_528, 1); lean_inc(x_530); -x_531 = lean_ctor_get(x_529, 1); -lean_inc(x_531); -if (lean_is_exclusive(x_529)) { - lean_ctor_release(x_529, 0); - lean_ctor_release(x_529, 1); - x_532 = x_529; +lean_dec(x_528); +x_531 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_530); +lean_dec(x_9); +x_532 = lean_ctor_get(x_531, 0); +lean_inc(x_532); +x_533 = lean_ctor_get(x_531, 1); +lean_inc(x_533); +if (lean_is_exclusive(x_531)) { + lean_ctor_release(x_531, 0); + lean_ctor_release(x_531, 1); + x_534 = x_531; } else { - lean_dec_ref(x_529); - x_532 = lean_box(0); + lean_dec_ref(x_531); + x_534 = lean_box(0); } -x_533 = l_Lean_Elab_Term_toParserDescrAux___main___closed__60; -x_534 = l_Lean_addMacroScope(x_530, x_533, x_527); -x_535 = l_Lean_SourceInfo_inhabited___closed__1; -x_536 = l_Lean_Elab_Term_toParserDescrAux___main___closed__59; -x_537 = l_Lean_Elab_Term_toParserDescrAux___main___closed__63; -x_538 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_538, 0, x_535); -lean_ctor_set(x_538, 1, x_536); -lean_ctor_set(x_538, 2, x_534); -lean_ctor_set(x_538, 3, x_537); -x_539 = l_Array_empty___closed__1; -x_540 = lean_array_push(x_539, x_538); -x_541 = lean_array_push(x_539, x_519); -x_542 = lean_array_push(x_541, x_524); -x_543 = l_Lean_nullKind___closed__2; -x_544 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_544, 0, x_543); -lean_ctor_set(x_544, 1, x_542); -x_545 = lean_array_push(x_540, x_544); -x_546 = l_Lean_mkAppStx___closed__8; -x_547 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_547, 0, x_546); -lean_ctor_set(x_547, 1, x_545); -if (lean_is_scalar(x_532)) { - x_548 = lean_alloc_ctor(0, 2, 0); +x_535 = l_Lean_Elab_Term_toParserDescrAux___main___closed__61; +x_536 = l_Lean_addMacroScope(x_532, x_535, x_529); +x_537 = l_Lean_SourceInfo_inhabited___closed__1; +x_538 = l_Lean_Elab_Term_toParserDescrAux___main___closed__60; +x_539 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; +x_540 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_540, 0, x_537); +lean_ctor_set(x_540, 1, x_538); +lean_ctor_set(x_540, 2, x_536); +lean_ctor_set(x_540, 3, x_539); +x_541 = l_Array_empty___closed__1; +x_542 = lean_array_push(x_541, x_540); +x_543 = lean_array_push(x_541, x_521); +x_544 = lean_array_push(x_543, x_526); +x_545 = l_Lean_nullKind___closed__2; +x_546 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_546, 0, x_545); +lean_ctor_set(x_546, 1, x_544); +x_547 = lean_array_push(x_542, x_546); +x_548 = l_Lean_mkAppStx___closed__8; +x_549 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_549, 0, x_548); +lean_ctor_set(x_549, 1, x_547); +if (lean_is_scalar(x_534)) { + x_550 = lean_alloc_ctor(0, 2, 0); } else { - x_548 = x_532; + x_550 = x_534; } -lean_ctor_set(x_548, 0, x_547); -lean_ctor_set(x_548, 1, x_531); -return x_548; +lean_ctor_set(x_550, 0, x_549); +lean_ctor_set(x_550, 1, x_533); +return x_550; } else { -lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; +lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; +lean_dec(x_521); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_551 = lean_ctor_get(x_525, 0); +lean_inc(x_551); +x_552 = lean_ctor_get(x_525, 1); +lean_inc(x_552); +if (lean_is_exclusive(x_525)) { + lean_ctor_release(x_525, 0); + lean_ctor_release(x_525, 1); + x_553 = x_525; +} else { + lean_dec_ref(x_525); + x_553 = lean_box(0); +} +if (lean_is_scalar(x_553)) { + x_554 = lean_alloc_ctor(1, 2, 0); +} else { + x_554 = x_553; +} +lean_ctor_set(x_554, 0, x_551); +lean_ctor_set(x_554, 1, x_552); +return x_554; +} +} +else +{ +lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_dec(x_519); lean_dec(x_9); lean_dec(x_8); @@ -5772,76 +5903,44 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_549 = lean_ctor_get(x_523, 0); -lean_inc(x_549); -x_550 = lean_ctor_get(x_523, 1); -lean_inc(x_550); -if (lean_is_exclusive(x_523)) { - lean_ctor_release(x_523, 0); - lean_ctor_release(x_523, 1); - x_551 = x_523; -} else { - lean_dec_ref(x_523); - x_551 = lean_box(0); -} -if (lean_is_scalar(x_551)) { - x_552 = lean_alloc_ctor(1, 2, 0); -} else { - x_552 = x_551; -} -lean_ctor_set(x_552, 0, x_549); -lean_ctor_set(x_552, 1, x_550); -return x_552; -} -} -else -{ -lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; -lean_dec(x_517); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_553 = lean_ctor_get(x_518, 0); -lean_inc(x_553); -x_554 = lean_ctor_get(x_518, 1); -lean_inc(x_554); -if (lean_is_exclusive(x_518)) { - lean_ctor_release(x_518, 0); - lean_ctor_release(x_518, 1); - x_555 = x_518; +x_555 = lean_ctor_get(x_520, 0); +lean_inc(x_555); +x_556 = lean_ctor_get(x_520, 1); +lean_inc(x_556); +if (lean_is_exclusive(x_520)) { + lean_ctor_release(x_520, 0); + lean_ctor_release(x_520, 1); + x_557 = x_520; } else { - lean_dec_ref(x_518); - x_555 = lean_box(0); + lean_dec_ref(x_520); + x_557 = lean_box(0); } -if (lean_is_scalar(x_555)) { - x_556 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_557)) { + x_558 = lean_alloc_ctor(1, 2, 0); } else { - x_556 = x_555; + x_558 = x_557; } -lean_ctor_set(x_556, 0, x_553); -lean_ctor_set(x_556, 1, x_554); -return x_556; +lean_ctor_set(x_558, 0, x_555); +lean_ctor_set(x_558, 1, x_556); +return x_558; } } } } else { -lean_object* x_557; lean_object* x_558; uint8_t x_559; +lean_object* x_559; lean_object* x_560; uint8_t x_561; lean_dec(x_11); -x_557 = lean_unsigned_to_nat(1u); -x_558 = l_Lean_Syntax_getArg(x_1, x_557); -x_559 = !lean_is_exclusive(x_2); -if (x_559 == 0) +x_559 = lean_unsigned_to_nat(1u); +x_560 = l_Lean_Syntax_getArg(x_1, x_559); +x_561 = !lean_is_exclusive(x_2); +if (x_561 == 0) { -uint8_t x_560; lean_object* x_561; -x_560 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_560); +uint8_t x_562; lean_object* x_563; +x_562 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_562); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -5850,17 +5949,17 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_561 = l_Lean_Elab_Term_toParserDescrAux___main(x_558, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_561) == 0) +x_563 = l_Lean_Elab_Term_toParserDescrAux___main(x_560, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_563) == 0) { -lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; -x_562 = lean_ctor_get(x_561, 0); -lean_inc(x_562); -x_563 = lean_ctor_get(x_561, 1); -lean_inc(x_563); -lean_dec(x_561); -x_564 = lean_unsigned_to_nat(2u); -x_565 = l_Lean_Syntax_getArg(x_1, x_564); +lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; +x_564 = lean_ctor_get(x_563, 0); +lean_inc(x_564); +x_565 = lean_ctor_get(x_563, 1); +lean_inc(x_565); +lean_dec(x_563); +x_566 = lean_unsigned_to_nat(2u); +x_567 = l_Lean_Syntax_getArg(x_1, x_566); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -5868,129 +5967,129 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_566 = l_Lean_Elab_Term_toParserDescrAux___main(x_565, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_563); -if (lean_obj_tag(x_566) == 0) +x_568 = l_Lean_Elab_Term_toParserDescrAux___main(x_567, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_565); +if (lean_obj_tag(x_568) == 0) { -lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; uint8_t x_573; -x_567 = lean_ctor_get(x_566, 0); -lean_inc(x_567); -x_568 = lean_ctor_get(x_566, 1); -lean_inc(x_568); -lean_dec(x_566); -x_569 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_568); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_570 = lean_ctor_get(x_569, 0); +lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; uint8_t x_575; +x_569 = lean_ctor_get(x_568, 0); +lean_inc(x_569); +x_570 = lean_ctor_get(x_568, 1); lean_inc(x_570); -x_571 = lean_ctor_get(x_569, 1); -lean_inc(x_571); -lean_dec(x_569); -x_572 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_571); +lean_dec(x_568); +x_571 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_570); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_572 = lean_ctor_get(x_571, 0); +lean_inc(x_572); +x_573 = lean_ctor_get(x_571, 1); +lean_inc(x_573); +lean_dec(x_571); +x_574 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_573); lean_dec(x_9); -x_573 = !lean_is_exclusive(x_572); -if (x_573 == 0) +x_575 = !lean_is_exclusive(x_574); +if (x_575 == 0) { -lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; -x_574 = lean_ctor_get(x_572, 0); -x_575 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; -x_576 = l_Lean_addMacroScope(x_574, x_575, x_570); -x_577 = l_Lean_SourceInfo_inhabited___closed__1; -x_578 = l_Lean_Elab_Term_toParserDescrAux___main___closed__66; -x_579 = l_Lean_Elab_Term_toParserDescrAux___main___closed__70; -x_580 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_580, 0, x_577); -lean_ctor_set(x_580, 1, x_578); -lean_ctor_set(x_580, 2, x_576); -lean_ctor_set(x_580, 3, x_579); -x_581 = l_Array_empty___closed__1; -x_582 = lean_array_push(x_581, x_580); -x_583 = lean_array_push(x_581, x_562); -x_584 = lean_array_push(x_583, x_567); -x_585 = l_Lean_nullKind___closed__2; -x_586 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_586, 0, x_585); -lean_ctor_set(x_586, 1, x_584); -x_587 = lean_array_push(x_582, x_586); -x_588 = l_Lean_mkAppStx___closed__8; -x_589 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_589, 0, x_588); -lean_ctor_set(x_589, 1, x_587); -lean_ctor_set(x_572, 0, x_589); -return x_572; +lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; +x_576 = lean_ctor_get(x_574, 0); +x_577 = l_Lean_Elab_Term_toParserDescrAux___main___closed__68; +x_578 = l_Lean_addMacroScope(x_576, x_577, x_572); +x_579 = l_Lean_SourceInfo_inhabited___closed__1; +x_580 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; +x_581 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; +x_582 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_582, 0, x_579); +lean_ctor_set(x_582, 1, x_580); +lean_ctor_set(x_582, 2, x_578); +lean_ctor_set(x_582, 3, x_581); +x_583 = l_Array_empty___closed__1; +x_584 = lean_array_push(x_583, x_582); +x_585 = lean_array_push(x_583, x_564); +x_586 = lean_array_push(x_585, x_569); +x_587 = l_Lean_nullKind___closed__2; +x_588 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_588, 0, x_587); +lean_ctor_set(x_588, 1, x_586); +x_589 = lean_array_push(x_584, x_588); +x_590 = l_Lean_mkAppStx___closed__8; +x_591 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_591, 0, x_590); +lean_ctor_set(x_591, 1, x_589); +lean_ctor_set(x_574, 0, x_591); +return x_574; } else { -lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; -x_590 = lean_ctor_get(x_572, 0); -x_591 = lean_ctor_get(x_572, 1); -lean_inc(x_591); -lean_inc(x_590); -lean_dec(x_572); -x_592 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; -x_593 = l_Lean_addMacroScope(x_590, x_592, x_570); -x_594 = l_Lean_SourceInfo_inhabited___closed__1; -x_595 = l_Lean_Elab_Term_toParserDescrAux___main___closed__66; -x_596 = l_Lean_Elab_Term_toParserDescrAux___main___closed__70; -x_597 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_597, 0, x_594); -lean_ctor_set(x_597, 1, x_595); -lean_ctor_set(x_597, 2, x_593); -lean_ctor_set(x_597, 3, x_596); -x_598 = l_Array_empty___closed__1; -x_599 = lean_array_push(x_598, x_597); -x_600 = lean_array_push(x_598, x_562); -x_601 = lean_array_push(x_600, x_567); -x_602 = l_Lean_nullKind___closed__2; -x_603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_603, 0, x_602); -lean_ctor_set(x_603, 1, x_601); -x_604 = lean_array_push(x_599, x_603); -x_605 = l_Lean_mkAppStx___closed__8; -x_606 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_606, 0, x_605); -lean_ctor_set(x_606, 1, x_604); -x_607 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_607, 0, x_606); -lean_ctor_set(x_607, 1, x_591); -return x_607; +lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; +x_592 = lean_ctor_get(x_574, 0); +x_593 = lean_ctor_get(x_574, 1); +lean_inc(x_593); +lean_inc(x_592); +lean_dec(x_574); +x_594 = l_Lean_Elab_Term_toParserDescrAux___main___closed__68; +x_595 = l_Lean_addMacroScope(x_592, x_594, x_572); +x_596 = l_Lean_SourceInfo_inhabited___closed__1; +x_597 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; +x_598 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; +x_599 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_599, 0, x_596); +lean_ctor_set(x_599, 1, x_597); +lean_ctor_set(x_599, 2, x_595); +lean_ctor_set(x_599, 3, x_598); +x_600 = l_Array_empty___closed__1; +x_601 = lean_array_push(x_600, x_599); +x_602 = lean_array_push(x_600, x_564); +x_603 = lean_array_push(x_602, x_569); +x_604 = l_Lean_nullKind___closed__2; +x_605 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_605, 0, x_604); +lean_ctor_set(x_605, 1, x_603); +x_606 = lean_array_push(x_601, x_605); +x_607 = l_Lean_mkAppStx___closed__8; +x_608 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_608, 0, x_607); +lean_ctor_set(x_608, 1, x_606); +x_609 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_609, 0, x_608); +lean_ctor_set(x_609, 1, x_593); +return x_609; } } else { -uint8_t x_608; -lean_dec(x_562); +uint8_t x_610; +lean_dec(x_564); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_608 = !lean_is_exclusive(x_566); -if (x_608 == 0) +x_610 = !lean_is_exclusive(x_568); +if (x_610 == 0) { -return x_566; +return x_568; } else { -lean_object* x_609; lean_object* x_610; lean_object* x_611; -x_609 = lean_ctor_get(x_566, 0); -x_610 = lean_ctor_get(x_566, 1); -lean_inc(x_610); -lean_inc(x_609); -lean_dec(x_566); -x_611 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_611, 0, x_609); -lean_ctor_set(x_611, 1, x_610); -return x_611; +lean_object* x_611; lean_object* x_612; lean_object* x_613; +x_611 = lean_ctor_get(x_568, 0); +x_612 = lean_ctor_get(x_568, 1); +lean_inc(x_612); +lean_inc(x_611); +lean_dec(x_568); +x_613 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_613, 0, x_611); +lean_ctor_set(x_613, 1, x_612); +return x_613; } } } else { -uint8_t x_612; +uint8_t x_614; lean_dec(x_2); lean_dec(x_9); lean_dec(x_8); @@ -6000,40 +6099,40 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_612 = !lean_is_exclusive(x_561); -if (x_612 == 0) +x_614 = !lean_is_exclusive(x_563); +if (x_614 == 0) { -return x_561; +return x_563; } else { -lean_object* x_613; lean_object* x_614; lean_object* x_615; -x_613 = lean_ctor_get(x_561, 0); -x_614 = lean_ctor_get(x_561, 1); -lean_inc(x_614); -lean_inc(x_613); -lean_dec(x_561); -x_615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_615, 0, x_613); -lean_ctor_set(x_615, 1, x_614); -return x_615; -} -} -} -else -{ -lean_object* x_616; uint8_t x_617; uint8_t x_618; uint8_t x_619; lean_object* x_620; lean_object* x_621; -x_616 = lean_ctor_get(x_2, 0); -x_617 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_618 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_object* x_615; lean_object* x_616; lean_object* x_617; +x_615 = lean_ctor_get(x_563, 0); +x_616 = lean_ctor_get(x_563, 1); lean_inc(x_616); +lean_inc(x_615); +lean_dec(x_563); +x_617 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_617, 0, x_615); +lean_ctor_set(x_617, 1, x_616); +return x_617; +} +} +} +else +{ +lean_object* x_618; uint8_t x_619; uint8_t x_620; uint8_t x_621; lean_object* x_622; lean_object* x_623; +x_618 = lean_ctor_get(x_2, 0); +x_619 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_620 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_618); lean_dec(x_2); -x_619 = 0; -x_620 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_620, 0, x_616); -lean_ctor_set_uint8(x_620, sizeof(void*)*1, x_617); -lean_ctor_set_uint8(x_620, sizeof(void*)*1 + 1, x_619); -lean_ctor_set_uint8(x_620, sizeof(void*)*1 + 2, x_618); +x_621 = 0; +x_622 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_622, 0, x_618); +lean_ctor_set_uint8(x_622, sizeof(void*)*1, x_619); +lean_ctor_set_uint8(x_622, sizeof(void*)*1 + 1, x_621); +lean_ctor_set_uint8(x_622, sizeof(void*)*1 + 2, x_620); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -6041,18 +6140,18 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_620); -x_621 = l_Lean_Elab_Term_toParserDescrAux___main(x_558, x_620, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_621) == 0) -{ -lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; -x_622 = lean_ctor_get(x_621, 0); lean_inc(x_622); -x_623 = lean_ctor_get(x_621, 1); -lean_inc(x_623); -lean_dec(x_621); -x_624 = lean_unsigned_to_nat(2u); -x_625 = l_Lean_Syntax_getArg(x_1, x_624); +x_623 = l_Lean_Elab_Term_toParserDescrAux___main(x_560, x_622, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_623) == 0) +{ +lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; +x_624 = lean_ctor_get(x_623, 0); +lean_inc(x_624); +x_625 = lean_ctor_get(x_623, 1); +lean_inc(x_625); +lean_dec(x_623); +x_626 = lean_unsigned_to_nat(2u); +x_627 = l_Lean_Syntax_getArg(x_1, x_626); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -6060,75 +6159,107 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_626 = l_Lean_Elab_Term_toParserDescrAux___main(x_625, x_620, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_623); -if (lean_obj_tag(x_626) == 0) +x_628 = l_Lean_Elab_Term_toParserDescrAux___main(x_627, x_622, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_625); +if (lean_obj_tag(x_628) == 0) { -lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; -x_627 = lean_ctor_get(x_626, 0); -lean_inc(x_627); -x_628 = lean_ctor_get(x_626, 1); -lean_inc(x_628); -lean_dec(x_626); -x_629 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_628); +lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; +x_629 = lean_ctor_get(x_628, 0); +lean_inc(x_629); +x_630 = lean_ctor_get(x_628, 1); +lean_inc(x_630); +lean_dec(x_628); +x_631 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_630); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_630 = lean_ctor_get(x_629, 0); -lean_inc(x_630); -x_631 = lean_ctor_get(x_629, 1); -lean_inc(x_631); -lean_dec(x_629); -x_632 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_631); -lean_dec(x_9); -x_633 = lean_ctor_get(x_632, 0); +x_632 = lean_ctor_get(x_631, 0); +lean_inc(x_632); +x_633 = lean_ctor_get(x_631, 1); lean_inc(x_633); -x_634 = lean_ctor_get(x_632, 1); -lean_inc(x_634); -if (lean_is_exclusive(x_632)) { - lean_ctor_release(x_632, 0); - lean_ctor_release(x_632, 1); - x_635 = x_632; +lean_dec(x_631); +x_634 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_633); +lean_dec(x_9); +x_635 = lean_ctor_get(x_634, 0); +lean_inc(x_635); +x_636 = lean_ctor_get(x_634, 1); +lean_inc(x_636); +if (lean_is_exclusive(x_634)) { + lean_ctor_release(x_634, 0); + lean_ctor_release(x_634, 1); + x_637 = x_634; } else { - lean_dec_ref(x_632); - x_635 = lean_box(0); + lean_dec_ref(x_634); + x_637 = lean_box(0); } -x_636 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; -x_637 = l_Lean_addMacroScope(x_633, x_636, x_630); -x_638 = l_Lean_SourceInfo_inhabited___closed__1; -x_639 = l_Lean_Elab_Term_toParserDescrAux___main___closed__66; -x_640 = l_Lean_Elab_Term_toParserDescrAux___main___closed__70; -x_641 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_641, 0, x_638); -lean_ctor_set(x_641, 1, x_639); -lean_ctor_set(x_641, 2, x_637); -lean_ctor_set(x_641, 3, x_640); -x_642 = l_Array_empty___closed__1; -x_643 = lean_array_push(x_642, x_641); -x_644 = lean_array_push(x_642, x_622); -x_645 = lean_array_push(x_644, x_627); -x_646 = l_Lean_nullKind___closed__2; -x_647 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_647, 0, x_646); -lean_ctor_set(x_647, 1, x_645); -x_648 = lean_array_push(x_643, x_647); -x_649 = l_Lean_mkAppStx___closed__8; -x_650 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_650, 0, x_649); -lean_ctor_set(x_650, 1, x_648); -if (lean_is_scalar(x_635)) { - x_651 = lean_alloc_ctor(0, 2, 0); +x_638 = l_Lean_Elab_Term_toParserDescrAux___main___closed__68; +x_639 = l_Lean_addMacroScope(x_635, x_638, x_632); +x_640 = l_Lean_SourceInfo_inhabited___closed__1; +x_641 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; +x_642 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; +x_643 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_643, 0, x_640); +lean_ctor_set(x_643, 1, x_641); +lean_ctor_set(x_643, 2, x_639); +lean_ctor_set(x_643, 3, x_642); +x_644 = l_Array_empty___closed__1; +x_645 = lean_array_push(x_644, x_643); +x_646 = lean_array_push(x_644, x_624); +x_647 = lean_array_push(x_646, x_629); +x_648 = l_Lean_nullKind___closed__2; +x_649 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_649, 0, x_648); +lean_ctor_set(x_649, 1, x_647); +x_650 = lean_array_push(x_645, x_649); +x_651 = l_Lean_mkAppStx___closed__8; +x_652 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_652, 0, x_651); +lean_ctor_set(x_652, 1, x_650); +if (lean_is_scalar(x_637)) { + x_653 = lean_alloc_ctor(0, 2, 0); } else { - x_651 = x_635; + x_653 = x_637; } -lean_ctor_set(x_651, 0, x_650); -lean_ctor_set(x_651, 1, x_634); -return x_651; +lean_ctor_set(x_653, 0, x_652); +lean_ctor_set(x_653, 1, x_636); +return x_653; } else { -lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; +lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; +lean_dec(x_624); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_654 = lean_ctor_get(x_628, 0); +lean_inc(x_654); +x_655 = lean_ctor_get(x_628, 1); +lean_inc(x_655); +if (lean_is_exclusive(x_628)) { + lean_ctor_release(x_628, 0); + lean_ctor_release(x_628, 1); + x_656 = x_628; +} else { + lean_dec_ref(x_628); + x_656 = lean_box(0); +} +if (lean_is_scalar(x_656)) { + x_657 = lean_alloc_ctor(1, 2, 0); +} else { + x_657 = x_656; +} +lean_ctor_set(x_657, 0, x_654); +lean_ctor_set(x_657, 1, x_655); +return x_657; +} +} +else +{ +lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_dec(x_622); lean_dec(x_9); lean_dec(x_8); @@ -6136,1701 +6267,1446 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_652 = lean_ctor_get(x_626, 0); -lean_inc(x_652); -x_653 = lean_ctor_get(x_626, 1); -lean_inc(x_653); -if (lean_is_exclusive(x_626)) { - lean_ctor_release(x_626, 0); - lean_ctor_release(x_626, 1); - x_654 = x_626; -} else { - lean_dec_ref(x_626); - x_654 = lean_box(0); -} -if (lean_is_scalar(x_654)) { - x_655 = lean_alloc_ctor(1, 2, 0); -} else { - x_655 = x_654; -} -lean_ctor_set(x_655, 0, x_652); -lean_ctor_set(x_655, 1, x_653); -return x_655; -} -} -else -{ -lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; -lean_dec(x_620); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_656 = lean_ctor_get(x_621, 0); -lean_inc(x_656); -x_657 = lean_ctor_get(x_621, 1); -lean_inc(x_657); -if (lean_is_exclusive(x_621)) { - lean_ctor_release(x_621, 0); - lean_ctor_release(x_621, 1); - x_658 = x_621; +x_658 = lean_ctor_get(x_623, 0); +lean_inc(x_658); +x_659 = lean_ctor_get(x_623, 1); +lean_inc(x_659); +if (lean_is_exclusive(x_623)) { + lean_ctor_release(x_623, 0); + lean_ctor_release(x_623, 1); + x_660 = x_623; } else { - lean_dec_ref(x_621); - x_658 = lean_box(0); + lean_dec_ref(x_623); + x_660 = lean_box(0); } -if (lean_is_scalar(x_658)) { - x_659 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_660)) { + x_661 = lean_alloc_ctor(1, 2, 0); } else { - x_659 = x_658; + x_661 = x_660; } -lean_ctor_set(x_659, 0, x_656); -lean_ctor_set(x_659, 1, x_657); -return x_659; +lean_ctor_set(x_661, 0, x_658); +lean_ctor_set(x_661, 1, x_659); +return x_661; } } } } else { -lean_object* x_660; lean_object* x_661; uint8_t x_662; +lean_object* x_662; lean_object* x_663; uint8_t x_664; lean_dec(x_11); -x_660 = lean_unsigned_to_nat(1u); -x_661 = l_Lean_Syntax_getArg(x_1, x_660); +x_662 = lean_unsigned_to_nat(1u); +x_663 = l_Lean_Syntax_getArg(x_1, x_662); lean_dec(x_1); -x_662 = !lean_is_exclusive(x_2); -if (x_662 == 0) +x_664 = !lean_is_exclusive(x_2); +if (x_664 == 0) { -uint8_t x_663; lean_object* x_664; -x_663 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_663); +uint8_t x_665; lean_object* x_666; +x_665 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_665); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_664 = l_Lean_Elab_Term_toParserDescrAux___main(x_661, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_664) == 0) +x_666 = l_Lean_Elab_Term_toParserDescrAux___main(x_663, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_666) == 0) { -lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; uint8_t x_671; -x_665 = lean_ctor_get(x_664, 0); -lean_inc(x_665); -x_666 = lean_ctor_get(x_664, 1); -lean_inc(x_666); -lean_dec(x_664); -x_667 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_666); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_668 = lean_ctor_get(x_667, 0); +lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; uint8_t x_673; +x_667 = lean_ctor_get(x_666, 0); +lean_inc(x_667); +x_668 = lean_ctor_get(x_666, 1); lean_inc(x_668); -x_669 = lean_ctor_get(x_667, 1); -lean_inc(x_669); -lean_dec(x_667); -x_670 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_669); +lean_dec(x_666); +x_669 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_668); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_670 = lean_ctor_get(x_669, 0); +lean_inc(x_670); +x_671 = lean_ctor_get(x_669, 1); +lean_inc(x_671); +lean_dec(x_669); +x_672 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_671); lean_dec(x_9); -x_671 = !lean_is_exclusive(x_670); -if (x_671 == 0) +x_673 = !lean_is_exclusive(x_672); +if (x_673 == 0) { -lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; -x_672 = lean_ctor_get(x_670, 0); -x_673 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; -x_674 = l_Lean_addMacroScope(x_672, x_673, x_668); -x_675 = l_Lean_SourceInfo_inhabited___closed__1; -x_676 = l_Lean_Elab_Term_toParserDescrAux___main___closed__73; -x_677 = l_Lean_Elab_Term_toParserDescrAux___main___closed__77; -x_678 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_678, 0, x_675); -lean_ctor_set(x_678, 1, x_676); -lean_ctor_set(x_678, 2, x_674); -lean_ctor_set(x_678, 3, x_677); -x_679 = l_Array_empty___closed__1; -x_680 = lean_array_push(x_679, x_678); -x_681 = lean_array_push(x_679, x_665); -x_682 = l_Lean_nullKind___closed__2; -x_683 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_683, 0, x_682); -lean_ctor_set(x_683, 1, x_681); -x_684 = lean_array_push(x_680, x_683); -x_685 = l_Lean_mkAppStx___closed__8; -x_686 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_686, 0, x_685); -lean_ctor_set(x_686, 1, x_684); -lean_ctor_set(x_670, 0, x_686); -return x_670; +lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; +x_674 = lean_ctor_get(x_672, 0); +x_675 = l_Lean_Elab_Term_toParserDescrAux___main___closed__75; +x_676 = l_Lean_addMacroScope(x_674, x_675, x_670); +x_677 = l_Lean_SourceInfo_inhabited___closed__1; +x_678 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; +x_679 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; +x_680 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_680, 0, x_677); +lean_ctor_set(x_680, 1, x_678); +lean_ctor_set(x_680, 2, x_676); +lean_ctor_set(x_680, 3, x_679); +x_681 = l_Array_empty___closed__1; +x_682 = lean_array_push(x_681, x_680); +x_683 = lean_array_push(x_681, x_667); +x_684 = l_Lean_nullKind___closed__2; +x_685 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_685, 0, x_684); +lean_ctor_set(x_685, 1, x_683); +x_686 = lean_array_push(x_682, x_685); +x_687 = l_Lean_mkAppStx___closed__8; +x_688 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_688, 0, x_687); +lean_ctor_set(x_688, 1, x_686); +lean_ctor_set(x_672, 0, x_688); +return x_672; } else { -lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; -x_687 = lean_ctor_get(x_670, 0); -x_688 = lean_ctor_get(x_670, 1); -lean_inc(x_688); -lean_inc(x_687); -lean_dec(x_670); -x_689 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; -x_690 = l_Lean_addMacroScope(x_687, x_689, x_668); -x_691 = l_Lean_SourceInfo_inhabited___closed__1; -x_692 = l_Lean_Elab_Term_toParserDescrAux___main___closed__73; -x_693 = l_Lean_Elab_Term_toParserDescrAux___main___closed__77; -x_694 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_694, 0, x_691); -lean_ctor_set(x_694, 1, x_692); -lean_ctor_set(x_694, 2, x_690); -lean_ctor_set(x_694, 3, x_693); -x_695 = l_Array_empty___closed__1; -x_696 = lean_array_push(x_695, x_694); -x_697 = lean_array_push(x_695, x_665); -x_698 = l_Lean_nullKind___closed__2; -x_699 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_699, 0, x_698); -lean_ctor_set(x_699, 1, x_697); -x_700 = lean_array_push(x_696, x_699); -x_701 = l_Lean_mkAppStx___closed__8; -x_702 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_702, 0, x_701); -lean_ctor_set(x_702, 1, x_700); -x_703 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_703, 0, x_702); -lean_ctor_set(x_703, 1, x_688); -return x_703; +lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; +x_689 = lean_ctor_get(x_672, 0); +x_690 = lean_ctor_get(x_672, 1); +lean_inc(x_690); +lean_inc(x_689); +lean_dec(x_672); +x_691 = l_Lean_Elab_Term_toParserDescrAux___main___closed__75; +x_692 = l_Lean_addMacroScope(x_689, x_691, x_670); +x_693 = l_Lean_SourceInfo_inhabited___closed__1; +x_694 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; +x_695 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; +x_696 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_696, 0, x_693); +lean_ctor_set(x_696, 1, x_694); +lean_ctor_set(x_696, 2, x_692); +lean_ctor_set(x_696, 3, x_695); +x_697 = l_Array_empty___closed__1; +x_698 = lean_array_push(x_697, x_696); +x_699 = lean_array_push(x_697, x_667); +x_700 = l_Lean_nullKind___closed__2; +x_701 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_701, 0, x_700); +lean_ctor_set(x_701, 1, x_699); +x_702 = lean_array_push(x_698, x_701); +x_703 = l_Lean_mkAppStx___closed__8; +x_704 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_704, 0, x_703); +lean_ctor_set(x_704, 1, x_702); +x_705 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_705, 0, x_704); +lean_ctor_set(x_705, 1, x_690); +return x_705; } } else { -uint8_t x_704; +uint8_t x_706; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_704 = !lean_is_exclusive(x_664); -if (x_704 == 0) +x_706 = !lean_is_exclusive(x_666); +if (x_706 == 0) { -return x_664; +return x_666; } else { -lean_object* x_705; lean_object* x_706; lean_object* x_707; -x_705 = lean_ctor_get(x_664, 0); -x_706 = lean_ctor_get(x_664, 1); -lean_inc(x_706); -lean_inc(x_705); -lean_dec(x_664); -x_707 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_707, 0, x_705); -lean_ctor_set(x_707, 1, x_706); -return x_707; -} -} -} -else -{ -lean_object* x_708; uint8_t x_709; uint8_t x_710; uint8_t x_711; lean_object* x_712; lean_object* x_713; -x_708 = lean_ctor_get(x_2, 0); -x_709 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_710 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_object* x_707; lean_object* x_708; lean_object* x_709; +x_707 = lean_ctor_get(x_666, 0); +x_708 = lean_ctor_get(x_666, 1); lean_inc(x_708); +lean_inc(x_707); +lean_dec(x_666); +x_709 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_709, 0, x_707); +lean_ctor_set(x_709, 1, x_708); +return x_709; +} +} +} +else +{ +lean_object* x_710; uint8_t x_711; uint8_t x_712; uint8_t x_713; lean_object* x_714; lean_object* x_715; +x_710 = lean_ctor_get(x_2, 0); +x_711 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_712 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_710); lean_dec(x_2); -x_711 = 0; -x_712 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_712, 0, x_708); -lean_ctor_set_uint8(x_712, sizeof(void*)*1, x_709); -lean_ctor_set_uint8(x_712, sizeof(void*)*1 + 1, x_711); -lean_ctor_set_uint8(x_712, sizeof(void*)*1 + 2, x_710); +x_713 = 0; +x_714 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_714, 0, x_710); +lean_ctor_set_uint8(x_714, sizeof(void*)*1, x_711); +lean_ctor_set_uint8(x_714, sizeof(void*)*1 + 1, x_713); +lean_ctor_set_uint8(x_714, sizeof(void*)*1 + 2, x_712); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_713 = l_Lean_Elab_Term_toParserDescrAux___main(x_661, x_712, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_713) == 0) +x_715 = l_Lean_Elab_Term_toParserDescrAux___main(x_663, x_714, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_715) == 0) { -lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; -x_714 = lean_ctor_get(x_713, 0); -lean_inc(x_714); -x_715 = lean_ctor_get(x_713, 1); -lean_inc(x_715); -lean_dec(x_713); -x_716 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_715); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_717 = lean_ctor_get(x_716, 0); +lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; +x_716 = lean_ctor_get(x_715, 0); +lean_inc(x_716); +x_717 = lean_ctor_get(x_715, 1); lean_inc(x_717); -x_718 = lean_ctor_get(x_716, 1); -lean_inc(x_718); -lean_dec(x_716); -x_719 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_718); -lean_dec(x_9); -x_720 = lean_ctor_get(x_719, 0); +lean_dec(x_715); +x_718 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_717); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_719 = lean_ctor_get(x_718, 0); +lean_inc(x_719); +x_720 = lean_ctor_get(x_718, 1); lean_inc(x_720); -x_721 = lean_ctor_get(x_719, 1); -lean_inc(x_721); -if (lean_is_exclusive(x_719)) { - lean_ctor_release(x_719, 0); - lean_ctor_release(x_719, 1); - x_722 = x_719; +lean_dec(x_718); +x_721 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_720); +lean_dec(x_9); +x_722 = lean_ctor_get(x_721, 0); +lean_inc(x_722); +x_723 = lean_ctor_get(x_721, 1); +lean_inc(x_723); +if (lean_is_exclusive(x_721)) { + lean_ctor_release(x_721, 0); + lean_ctor_release(x_721, 1); + x_724 = x_721; } else { - lean_dec_ref(x_719); - x_722 = lean_box(0); + lean_dec_ref(x_721); + x_724 = lean_box(0); } -x_723 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; -x_724 = l_Lean_addMacroScope(x_720, x_723, x_717); -x_725 = l_Lean_SourceInfo_inhabited___closed__1; -x_726 = l_Lean_Elab_Term_toParserDescrAux___main___closed__73; -x_727 = l_Lean_Elab_Term_toParserDescrAux___main___closed__77; -x_728 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_728, 0, x_725); -lean_ctor_set(x_728, 1, x_726); -lean_ctor_set(x_728, 2, x_724); -lean_ctor_set(x_728, 3, x_727); -x_729 = l_Array_empty___closed__1; -x_730 = lean_array_push(x_729, x_728); -x_731 = lean_array_push(x_729, x_714); -x_732 = l_Lean_nullKind___closed__2; -x_733 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_733, 0, x_732); -lean_ctor_set(x_733, 1, x_731); -x_734 = lean_array_push(x_730, x_733); -x_735 = l_Lean_mkAppStx___closed__8; -x_736 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_736, 0, x_735); -lean_ctor_set(x_736, 1, x_734); -if (lean_is_scalar(x_722)) { - x_737 = lean_alloc_ctor(0, 2, 0); +x_725 = l_Lean_Elab_Term_toParserDescrAux___main___closed__75; +x_726 = l_Lean_addMacroScope(x_722, x_725, x_719); +x_727 = l_Lean_SourceInfo_inhabited___closed__1; +x_728 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; +x_729 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; +x_730 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_730, 0, x_727); +lean_ctor_set(x_730, 1, x_728); +lean_ctor_set(x_730, 2, x_726); +lean_ctor_set(x_730, 3, x_729); +x_731 = l_Array_empty___closed__1; +x_732 = lean_array_push(x_731, x_730); +x_733 = lean_array_push(x_731, x_716); +x_734 = l_Lean_nullKind___closed__2; +x_735 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_735, 0, x_734); +lean_ctor_set(x_735, 1, x_733); +x_736 = lean_array_push(x_732, x_735); +x_737 = l_Lean_mkAppStx___closed__8; +x_738 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_738, 0, x_737); +lean_ctor_set(x_738, 1, x_736); +if (lean_is_scalar(x_724)) { + x_739 = lean_alloc_ctor(0, 2, 0); } else { - x_737 = x_722; + x_739 = x_724; } -lean_ctor_set(x_737, 0, x_736); -lean_ctor_set(x_737, 1, x_721); -return x_737; +lean_ctor_set(x_739, 0, x_738); +lean_ctor_set(x_739, 1, x_723); +return x_739; } else { -lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; +lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_738 = lean_ctor_get(x_713, 0); -lean_inc(x_738); -x_739 = lean_ctor_get(x_713, 1); -lean_inc(x_739); -if (lean_is_exclusive(x_713)) { - lean_ctor_release(x_713, 0); - lean_ctor_release(x_713, 1); - x_740 = x_713; +x_740 = lean_ctor_get(x_715, 0); +lean_inc(x_740); +x_741 = lean_ctor_get(x_715, 1); +lean_inc(x_741); +if (lean_is_exclusive(x_715)) { + lean_ctor_release(x_715, 0); + lean_ctor_release(x_715, 1); + x_742 = x_715; } else { - lean_dec_ref(x_713); - x_740 = lean_box(0); + lean_dec_ref(x_715); + x_742 = lean_box(0); } -if (lean_is_scalar(x_740)) { - x_741 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_742)) { + x_743 = lean_alloc_ctor(1, 2, 0); } else { - x_741 = x_740; + x_743 = x_742; } -lean_ctor_set(x_741, 0, x_738); -lean_ctor_set(x_741, 1, x_739); -return x_741; +lean_ctor_set(x_743, 0, x_740); +lean_ctor_set(x_743, 1, x_741); +return x_743; } } } } else { -lean_object* x_742; lean_object* x_743; uint8_t x_744; +lean_object* x_744; lean_object* x_745; uint8_t x_746; lean_dec(x_11); -x_742 = lean_unsigned_to_nat(1u); -x_743 = l_Lean_Syntax_getArg(x_1, x_742); +x_744 = lean_unsigned_to_nat(1u); +x_745 = l_Lean_Syntax_getArg(x_1, x_744); lean_dec(x_1); -x_744 = !lean_is_exclusive(x_2); -if (x_744 == 0) +x_746 = !lean_is_exclusive(x_2); +if (x_746 == 0) { -uint8_t x_745; lean_object* x_746; -x_745 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_745); +uint8_t x_747; lean_object* x_748; +x_747 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_747); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_746 = l_Lean_Elab_Term_toParserDescrAux___main(x_743, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_746) == 0) +x_748 = l_Lean_Elab_Term_toParserDescrAux___main(x_745, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_748) == 0) { -lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; uint8_t x_753; -x_747 = lean_ctor_get(x_746, 0); -lean_inc(x_747); -x_748 = lean_ctor_get(x_746, 1); -lean_inc(x_748); -lean_dec(x_746); -x_749 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_748); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_750 = lean_ctor_get(x_749, 0); +lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; uint8_t x_755; +x_749 = lean_ctor_get(x_748, 0); +lean_inc(x_749); +x_750 = lean_ctor_get(x_748, 1); lean_inc(x_750); -x_751 = lean_ctor_get(x_749, 1); -lean_inc(x_751); -lean_dec(x_749); -x_752 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_751); +lean_dec(x_748); +x_751 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_750); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_752 = lean_ctor_get(x_751, 0); +lean_inc(x_752); +x_753 = lean_ctor_get(x_751, 1); +lean_inc(x_753); +lean_dec(x_751); +x_754 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_753); lean_dec(x_9); -x_753 = !lean_is_exclusive(x_752); -if (x_753 == 0) +x_755 = !lean_is_exclusive(x_754); +if (x_755 == 0) { -lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; -x_754 = lean_ctor_get(x_752, 0); -x_755 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; -x_756 = l_Lean_addMacroScope(x_754, x_755, x_750); -x_757 = l_Lean_SourceInfo_inhabited___closed__1; -x_758 = l_Lean_Elab_Term_toParserDescrAux___main___closed__80; -x_759 = l_Lean_Elab_Term_toParserDescrAux___main___closed__84; -x_760 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_760, 0, x_757); -lean_ctor_set(x_760, 1, x_758); -lean_ctor_set(x_760, 2, x_756); -lean_ctor_set(x_760, 3, x_759); -x_761 = l_Array_empty___closed__1; -x_762 = lean_array_push(x_761, x_760); -x_763 = lean_array_push(x_761, x_747); -x_764 = l_Lean_nullKind___closed__2; -x_765 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_765, 0, x_764); -lean_ctor_set(x_765, 1, x_763); -x_766 = lean_array_push(x_762, x_765); -x_767 = l_Lean_mkAppStx___closed__8; -x_768 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_768, 0, x_767); -lean_ctor_set(x_768, 1, x_766); -lean_ctor_set(x_752, 0, x_768); -return x_752; +lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; +x_756 = lean_ctor_get(x_754, 0); +x_757 = l_Lean_Elab_Term_toParserDescrAux___main___closed__82; +x_758 = l_Lean_addMacroScope(x_756, x_757, x_752); +x_759 = l_Lean_SourceInfo_inhabited___closed__1; +x_760 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; +x_761 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; +x_762 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_762, 0, x_759); +lean_ctor_set(x_762, 1, x_760); +lean_ctor_set(x_762, 2, x_758); +lean_ctor_set(x_762, 3, x_761); +x_763 = l_Array_empty___closed__1; +x_764 = lean_array_push(x_763, x_762); +x_765 = lean_array_push(x_763, x_749); +x_766 = l_Lean_nullKind___closed__2; +x_767 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_767, 0, x_766); +lean_ctor_set(x_767, 1, x_765); +x_768 = lean_array_push(x_764, x_767); +x_769 = l_Lean_mkAppStx___closed__8; +x_770 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_770, 0, x_769); +lean_ctor_set(x_770, 1, x_768); +lean_ctor_set(x_754, 0, x_770); +return x_754; } else { -lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; -x_769 = lean_ctor_get(x_752, 0); -x_770 = lean_ctor_get(x_752, 1); -lean_inc(x_770); -lean_inc(x_769); -lean_dec(x_752); -x_771 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; -x_772 = l_Lean_addMacroScope(x_769, x_771, x_750); -x_773 = l_Lean_SourceInfo_inhabited___closed__1; -x_774 = l_Lean_Elab_Term_toParserDescrAux___main___closed__80; -x_775 = l_Lean_Elab_Term_toParserDescrAux___main___closed__84; -x_776 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_776, 0, x_773); -lean_ctor_set(x_776, 1, x_774); -lean_ctor_set(x_776, 2, x_772); -lean_ctor_set(x_776, 3, x_775); -x_777 = l_Array_empty___closed__1; -x_778 = lean_array_push(x_777, x_776); -x_779 = lean_array_push(x_777, x_747); -x_780 = l_Lean_nullKind___closed__2; -x_781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_781, 0, x_780); -lean_ctor_set(x_781, 1, x_779); -x_782 = lean_array_push(x_778, x_781); -x_783 = l_Lean_mkAppStx___closed__8; -x_784 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_784, 0, x_783); -lean_ctor_set(x_784, 1, x_782); -x_785 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_785, 0, x_784); -lean_ctor_set(x_785, 1, x_770); -return x_785; +lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; +x_771 = lean_ctor_get(x_754, 0); +x_772 = lean_ctor_get(x_754, 1); +lean_inc(x_772); +lean_inc(x_771); +lean_dec(x_754); +x_773 = l_Lean_Elab_Term_toParserDescrAux___main___closed__82; +x_774 = l_Lean_addMacroScope(x_771, x_773, x_752); +x_775 = l_Lean_SourceInfo_inhabited___closed__1; +x_776 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; +x_777 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; +x_778 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_778, 0, x_775); +lean_ctor_set(x_778, 1, x_776); +lean_ctor_set(x_778, 2, x_774); +lean_ctor_set(x_778, 3, x_777); +x_779 = l_Array_empty___closed__1; +x_780 = lean_array_push(x_779, x_778); +x_781 = lean_array_push(x_779, x_749); +x_782 = l_Lean_nullKind___closed__2; +x_783 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_783, 0, x_782); +lean_ctor_set(x_783, 1, x_781); +x_784 = lean_array_push(x_780, x_783); +x_785 = l_Lean_mkAppStx___closed__8; +x_786 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_786, 0, x_785); +lean_ctor_set(x_786, 1, x_784); +x_787 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_787, 0, x_786); +lean_ctor_set(x_787, 1, x_772); +return x_787; } } else { -uint8_t x_786; +uint8_t x_788; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_786 = !lean_is_exclusive(x_746); -if (x_786 == 0) +x_788 = !lean_is_exclusive(x_748); +if (x_788 == 0) { -return x_746; +return x_748; } else { -lean_object* x_787; lean_object* x_788; lean_object* x_789; -x_787 = lean_ctor_get(x_746, 0); -x_788 = lean_ctor_get(x_746, 1); -lean_inc(x_788); -lean_inc(x_787); -lean_dec(x_746); -x_789 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_789, 0, x_787); -lean_ctor_set(x_789, 1, x_788); -return x_789; -} -} -} -else -{ -lean_object* x_790; uint8_t x_791; uint8_t x_792; uint8_t x_793; lean_object* x_794; lean_object* x_795; -x_790 = lean_ctor_get(x_2, 0); -x_791 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_792 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_object* x_789; lean_object* x_790; lean_object* x_791; +x_789 = lean_ctor_get(x_748, 0); +x_790 = lean_ctor_get(x_748, 1); lean_inc(x_790); +lean_inc(x_789); +lean_dec(x_748); +x_791 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_791, 0, x_789); +lean_ctor_set(x_791, 1, x_790); +return x_791; +} +} +} +else +{ +lean_object* x_792; uint8_t x_793; uint8_t x_794; uint8_t x_795; lean_object* x_796; lean_object* x_797; +x_792 = lean_ctor_get(x_2, 0); +x_793 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_794 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_792); lean_dec(x_2); -x_793 = 0; -x_794 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_794, 0, x_790); -lean_ctor_set_uint8(x_794, sizeof(void*)*1, x_791); -lean_ctor_set_uint8(x_794, sizeof(void*)*1 + 1, x_793); -lean_ctor_set_uint8(x_794, sizeof(void*)*1 + 2, x_792); +x_795 = 0; +x_796 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_796, 0, x_792); +lean_ctor_set_uint8(x_796, sizeof(void*)*1, x_793); +lean_ctor_set_uint8(x_796, sizeof(void*)*1 + 1, x_795); +lean_ctor_set_uint8(x_796, sizeof(void*)*1 + 2, x_794); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_795 = l_Lean_Elab_Term_toParserDescrAux___main(x_743, x_794, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_795) == 0) +x_797 = l_Lean_Elab_Term_toParserDescrAux___main(x_745, x_796, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_797) == 0) { -lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; -x_796 = lean_ctor_get(x_795, 0); -lean_inc(x_796); -x_797 = lean_ctor_get(x_795, 1); -lean_inc(x_797); -lean_dec(x_795); -x_798 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_797); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_799 = lean_ctor_get(x_798, 0); +lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; +x_798 = lean_ctor_get(x_797, 0); +lean_inc(x_798); +x_799 = lean_ctor_get(x_797, 1); lean_inc(x_799); -x_800 = lean_ctor_get(x_798, 1); -lean_inc(x_800); -lean_dec(x_798); -x_801 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_800); -lean_dec(x_9); -x_802 = lean_ctor_get(x_801, 0); +lean_dec(x_797); +x_800 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_799); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_801 = lean_ctor_get(x_800, 0); +lean_inc(x_801); +x_802 = lean_ctor_get(x_800, 1); lean_inc(x_802); -x_803 = lean_ctor_get(x_801, 1); -lean_inc(x_803); -if (lean_is_exclusive(x_801)) { - lean_ctor_release(x_801, 0); - lean_ctor_release(x_801, 1); - x_804 = x_801; +lean_dec(x_800); +x_803 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_802); +lean_dec(x_9); +x_804 = lean_ctor_get(x_803, 0); +lean_inc(x_804); +x_805 = lean_ctor_get(x_803, 1); +lean_inc(x_805); +if (lean_is_exclusive(x_803)) { + lean_ctor_release(x_803, 0); + lean_ctor_release(x_803, 1); + x_806 = x_803; } else { - lean_dec_ref(x_801); - x_804 = lean_box(0); + lean_dec_ref(x_803); + x_806 = lean_box(0); } -x_805 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; -x_806 = l_Lean_addMacroScope(x_802, x_805, x_799); -x_807 = l_Lean_SourceInfo_inhabited___closed__1; -x_808 = l_Lean_Elab_Term_toParserDescrAux___main___closed__80; -x_809 = l_Lean_Elab_Term_toParserDescrAux___main___closed__84; -x_810 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_810, 0, x_807); -lean_ctor_set(x_810, 1, x_808); -lean_ctor_set(x_810, 2, x_806); -lean_ctor_set(x_810, 3, x_809); -x_811 = l_Array_empty___closed__1; -x_812 = lean_array_push(x_811, x_810); -x_813 = lean_array_push(x_811, x_796); -x_814 = l_Lean_nullKind___closed__2; -x_815 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_815, 0, x_814); -lean_ctor_set(x_815, 1, x_813); -x_816 = lean_array_push(x_812, x_815); -x_817 = l_Lean_mkAppStx___closed__8; -x_818 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_818, 0, x_817); -lean_ctor_set(x_818, 1, x_816); -if (lean_is_scalar(x_804)) { - x_819 = lean_alloc_ctor(0, 2, 0); +x_807 = l_Lean_Elab_Term_toParserDescrAux___main___closed__82; +x_808 = l_Lean_addMacroScope(x_804, x_807, x_801); +x_809 = l_Lean_SourceInfo_inhabited___closed__1; +x_810 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; +x_811 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; +x_812 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_812, 0, x_809); +lean_ctor_set(x_812, 1, x_810); +lean_ctor_set(x_812, 2, x_808); +lean_ctor_set(x_812, 3, x_811); +x_813 = l_Array_empty___closed__1; +x_814 = lean_array_push(x_813, x_812); +x_815 = lean_array_push(x_813, x_798); +x_816 = l_Lean_nullKind___closed__2; +x_817 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_817, 0, x_816); +lean_ctor_set(x_817, 1, x_815); +x_818 = lean_array_push(x_814, x_817); +x_819 = l_Lean_mkAppStx___closed__8; +x_820 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_820, 0, x_819); +lean_ctor_set(x_820, 1, x_818); +if (lean_is_scalar(x_806)) { + x_821 = lean_alloc_ctor(0, 2, 0); } else { - x_819 = x_804; + x_821 = x_806; } -lean_ctor_set(x_819, 0, x_818); -lean_ctor_set(x_819, 1, x_803); -return x_819; +lean_ctor_set(x_821, 0, x_820); +lean_ctor_set(x_821, 1, x_805); +return x_821; } else { -lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; +lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_820 = lean_ctor_get(x_795, 0); -lean_inc(x_820); -x_821 = lean_ctor_get(x_795, 1); -lean_inc(x_821); -if (lean_is_exclusive(x_795)) { - lean_ctor_release(x_795, 0); - lean_ctor_release(x_795, 1); - x_822 = x_795; +x_822 = lean_ctor_get(x_797, 0); +lean_inc(x_822); +x_823 = lean_ctor_get(x_797, 1); +lean_inc(x_823); +if (lean_is_exclusive(x_797)) { + lean_ctor_release(x_797, 0); + lean_ctor_release(x_797, 1); + x_824 = x_797; } else { - lean_dec_ref(x_795); - x_822 = lean_box(0); + lean_dec_ref(x_797); + x_824 = lean_box(0); } -if (lean_is_scalar(x_822)) { - x_823 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_824)) { + x_825 = lean_alloc_ctor(1, 2, 0); } else { - x_823 = x_822; + x_825 = x_824; } -lean_ctor_set(x_823, 0, x_820); -lean_ctor_set(x_823, 1, x_821); -return x_823; +lean_ctor_set(x_825, 0, x_822); +lean_ctor_set(x_825, 1, x_823); +return x_825; } } } } else { -lean_object* x_824; lean_object* x_825; uint8_t x_826; +lean_object* x_826; lean_object* x_827; uint8_t x_828; lean_dec(x_11); -x_824 = lean_unsigned_to_nat(1u); -x_825 = l_Lean_Syntax_getArg(x_1, x_824); +x_826 = lean_unsigned_to_nat(1u); +x_827 = l_Lean_Syntax_getArg(x_1, x_826); lean_dec(x_1); -x_826 = !lean_is_exclusive(x_2); -if (x_826 == 0) +x_828 = !lean_is_exclusive(x_2); +if (x_828 == 0) { -uint8_t x_827; lean_object* x_828; -x_827 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_827); +uint8_t x_829; lean_object* x_830; +x_829 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_829); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_828 = l_Lean_Elab_Term_toParserDescrAux___main(x_825, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_828) == 0) +x_830 = l_Lean_Elab_Term_toParserDescrAux___main(x_827, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_830) == 0) { -lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; uint8_t x_835; -x_829 = lean_ctor_get(x_828, 0); -lean_inc(x_829); -x_830 = lean_ctor_get(x_828, 1); -lean_inc(x_830); -lean_dec(x_828); -x_831 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_830); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_832 = lean_ctor_get(x_831, 0); +lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; uint8_t x_837; +x_831 = lean_ctor_get(x_830, 0); +lean_inc(x_831); +x_832 = lean_ctor_get(x_830, 1); lean_inc(x_832); -x_833 = lean_ctor_get(x_831, 1); -lean_inc(x_833); -lean_dec(x_831); -x_834 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_833); +lean_dec(x_830); +x_833 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_832); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_834 = lean_ctor_get(x_833, 0); +lean_inc(x_834); +x_835 = lean_ctor_get(x_833, 1); +lean_inc(x_835); +lean_dec(x_833); +x_836 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_835); lean_dec(x_9); -x_835 = !lean_is_exclusive(x_834); -if (x_835 == 0) +x_837 = !lean_is_exclusive(x_836); +if (x_837 == 0) { -lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; -x_836 = lean_ctor_get(x_834, 0); -x_837 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; -x_838 = l_Lean_addMacroScope(x_836, x_837, x_832); -x_839 = l_Lean_SourceInfo_inhabited___closed__1; -x_840 = l_Lean_Elab_Term_toParserDescrAux___main___closed__87; -x_841 = l_Lean_Elab_Term_toParserDescrAux___main___closed__91; -x_842 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_842, 0, x_839); -lean_ctor_set(x_842, 1, x_840); -lean_ctor_set(x_842, 2, x_838); -lean_ctor_set(x_842, 3, x_841); -x_843 = l_Array_empty___closed__1; -x_844 = lean_array_push(x_843, x_842); -x_845 = lean_array_push(x_843, x_829); -x_846 = l_Lean_nullKind___closed__2; -x_847 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_847, 0, x_846); -lean_ctor_set(x_847, 1, x_845); -x_848 = lean_array_push(x_844, x_847); -x_849 = l_Lean_mkAppStx___closed__8; -x_850 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_850, 0, x_849); -lean_ctor_set(x_850, 1, x_848); -lean_ctor_set(x_834, 0, x_850); -return x_834; +lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; +x_838 = lean_ctor_get(x_836, 0); +x_839 = l_Lean_Elab_Term_toParserDescrAux___main___closed__89; +x_840 = l_Lean_addMacroScope(x_838, x_839, x_834); +x_841 = l_Lean_SourceInfo_inhabited___closed__1; +x_842 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; +x_843 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; +x_844 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_844, 0, x_841); +lean_ctor_set(x_844, 1, x_842); +lean_ctor_set(x_844, 2, x_840); +lean_ctor_set(x_844, 3, x_843); +x_845 = l_Array_empty___closed__1; +x_846 = lean_array_push(x_845, x_844); +x_847 = lean_array_push(x_845, x_831); +x_848 = l_Lean_nullKind___closed__2; +x_849 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_849, 0, x_848); +lean_ctor_set(x_849, 1, x_847); +x_850 = lean_array_push(x_846, x_849); +x_851 = l_Lean_mkAppStx___closed__8; +x_852 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_852, 0, x_851); +lean_ctor_set(x_852, 1, x_850); +lean_ctor_set(x_836, 0, x_852); +return x_836; } else { -lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; -x_851 = lean_ctor_get(x_834, 0); -x_852 = lean_ctor_get(x_834, 1); -lean_inc(x_852); -lean_inc(x_851); -lean_dec(x_834); -x_853 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; -x_854 = l_Lean_addMacroScope(x_851, x_853, x_832); -x_855 = l_Lean_SourceInfo_inhabited___closed__1; -x_856 = l_Lean_Elab_Term_toParserDescrAux___main___closed__87; -x_857 = l_Lean_Elab_Term_toParserDescrAux___main___closed__91; -x_858 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_858, 0, x_855); -lean_ctor_set(x_858, 1, x_856); -lean_ctor_set(x_858, 2, x_854); -lean_ctor_set(x_858, 3, x_857); -x_859 = l_Array_empty___closed__1; -x_860 = lean_array_push(x_859, x_858); -x_861 = lean_array_push(x_859, x_829); -x_862 = l_Lean_nullKind___closed__2; -x_863 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_863, 0, x_862); -lean_ctor_set(x_863, 1, x_861); -x_864 = lean_array_push(x_860, x_863); -x_865 = l_Lean_mkAppStx___closed__8; -x_866 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_866, 0, x_865); -lean_ctor_set(x_866, 1, x_864); -x_867 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_867, 0, x_866); -lean_ctor_set(x_867, 1, x_852); -return x_867; +lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; +x_853 = lean_ctor_get(x_836, 0); +x_854 = lean_ctor_get(x_836, 1); +lean_inc(x_854); +lean_inc(x_853); +lean_dec(x_836); +x_855 = l_Lean_Elab_Term_toParserDescrAux___main___closed__89; +x_856 = l_Lean_addMacroScope(x_853, x_855, x_834); +x_857 = l_Lean_SourceInfo_inhabited___closed__1; +x_858 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; +x_859 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; +x_860 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_860, 0, x_857); +lean_ctor_set(x_860, 1, x_858); +lean_ctor_set(x_860, 2, x_856); +lean_ctor_set(x_860, 3, x_859); +x_861 = l_Array_empty___closed__1; +x_862 = lean_array_push(x_861, x_860); +x_863 = lean_array_push(x_861, x_831); +x_864 = l_Lean_nullKind___closed__2; +x_865 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_865, 0, x_864); +lean_ctor_set(x_865, 1, x_863); +x_866 = lean_array_push(x_862, x_865); +x_867 = l_Lean_mkAppStx___closed__8; +x_868 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_868, 0, x_867); +lean_ctor_set(x_868, 1, x_866); +x_869 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_869, 0, x_868); +lean_ctor_set(x_869, 1, x_854); +return x_869; } } else { -uint8_t x_868; +uint8_t x_870; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_868 = !lean_is_exclusive(x_828); -if (x_868 == 0) +x_870 = !lean_is_exclusive(x_830); +if (x_870 == 0) { -return x_828; +return x_830; } else { -lean_object* x_869; lean_object* x_870; lean_object* x_871; -x_869 = lean_ctor_get(x_828, 0); -x_870 = lean_ctor_get(x_828, 1); -lean_inc(x_870); -lean_inc(x_869); -lean_dec(x_828); -x_871 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_871, 0, x_869); -lean_ctor_set(x_871, 1, x_870); -return x_871; -} -} -} -else -{ -lean_object* x_872; uint8_t x_873; uint8_t x_874; uint8_t x_875; lean_object* x_876; lean_object* x_877; -x_872 = lean_ctor_get(x_2, 0); -x_873 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_874 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_object* x_871; lean_object* x_872; lean_object* x_873; +x_871 = lean_ctor_get(x_830, 0); +x_872 = lean_ctor_get(x_830, 1); lean_inc(x_872); +lean_inc(x_871); +lean_dec(x_830); +x_873 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_873, 0, x_871); +lean_ctor_set(x_873, 1, x_872); +return x_873; +} +} +} +else +{ +lean_object* x_874; uint8_t x_875; uint8_t x_876; uint8_t x_877; lean_object* x_878; lean_object* x_879; +x_874 = lean_ctor_get(x_2, 0); +x_875 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_876 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_874); lean_dec(x_2); -x_875 = 0; -x_876 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_876, 0, x_872); -lean_ctor_set_uint8(x_876, sizeof(void*)*1, x_873); -lean_ctor_set_uint8(x_876, sizeof(void*)*1 + 1, x_875); -lean_ctor_set_uint8(x_876, sizeof(void*)*1 + 2, x_874); +x_877 = 0; +x_878 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_878, 0, x_874); +lean_ctor_set_uint8(x_878, sizeof(void*)*1, x_875); +lean_ctor_set_uint8(x_878, sizeof(void*)*1 + 1, x_877); +lean_ctor_set_uint8(x_878, sizeof(void*)*1 + 2, x_876); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_877 = l_Lean_Elab_Term_toParserDescrAux___main(x_825, x_876, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_877) == 0) +x_879 = l_Lean_Elab_Term_toParserDescrAux___main(x_827, x_878, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_879) == 0) { -lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; -x_878 = lean_ctor_get(x_877, 0); -lean_inc(x_878); -x_879 = lean_ctor_get(x_877, 1); -lean_inc(x_879); -lean_dec(x_877); -x_880 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_879); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_881 = lean_ctor_get(x_880, 0); +lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; +x_880 = lean_ctor_get(x_879, 0); +lean_inc(x_880); +x_881 = lean_ctor_get(x_879, 1); lean_inc(x_881); -x_882 = lean_ctor_get(x_880, 1); -lean_inc(x_882); -lean_dec(x_880); -x_883 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_882); -lean_dec(x_9); -x_884 = lean_ctor_get(x_883, 0); +lean_dec(x_879); +x_882 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_881); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_883 = lean_ctor_get(x_882, 0); +lean_inc(x_883); +x_884 = lean_ctor_get(x_882, 1); lean_inc(x_884); -x_885 = lean_ctor_get(x_883, 1); -lean_inc(x_885); -if (lean_is_exclusive(x_883)) { - lean_ctor_release(x_883, 0); - lean_ctor_release(x_883, 1); - x_886 = x_883; +lean_dec(x_882); +x_885 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_884); +lean_dec(x_9); +x_886 = lean_ctor_get(x_885, 0); +lean_inc(x_886); +x_887 = lean_ctor_get(x_885, 1); +lean_inc(x_887); +if (lean_is_exclusive(x_885)) { + lean_ctor_release(x_885, 0); + lean_ctor_release(x_885, 1); + x_888 = x_885; } else { - lean_dec_ref(x_883); - x_886 = lean_box(0); + lean_dec_ref(x_885); + x_888 = lean_box(0); } -x_887 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; -x_888 = l_Lean_addMacroScope(x_884, x_887, x_881); -x_889 = l_Lean_SourceInfo_inhabited___closed__1; -x_890 = l_Lean_Elab_Term_toParserDescrAux___main___closed__87; -x_891 = l_Lean_Elab_Term_toParserDescrAux___main___closed__91; -x_892 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_892, 0, x_889); -lean_ctor_set(x_892, 1, x_890); -lean_ctor_set(x_892, 2, x_888); -lean_ctor_set(x_892, 3, x_891); -x_893 = l_Array_empty___closed__1; -x_894 = lean_array_push(x_893, x_892); -x_895 = lean_array_push(x_893, x_878); -x_896 = l_Lean_nullKind___closed__2; -x_897 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_897, 0, x_896); -lean_ctor_set(x_897, 1, x_895); -x_898 = lean_array_push(x_894, x_897); -x_899 = l_Lean_mkAppStx___closed__8; -x_900 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_900, 0, x_899); -lean_ctor_set(x_900, 1, x_898); -if (lean_is_scalar(x_886)) { - x_901 = lean_alloc_ctor(0, 2, 0); +x_889 = l_Lean_Elab_Term_toParserDescrAux___main___closed__89; +x_890 = l_Lean_addMacroScope(x_886, x_889, x_883); +x_891 = l_Lean_SourceInfo_inhabited___closed__1; +x_892 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; +x_893 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; +x_894 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_894, 0, x_891); +lean_ctor_set(x_894, 1, x_892); +lean_ctor_set(x_894, 2, x_890); +lean_ctor_set(x_894, 3, x_893); +x_895 = l_Array_empty___closed__1; +x_896 = lean_array_push(x_895, x_894); +x_897 = lean_array_push(x_895, x_880); +x_898 = l_Lean_nullKind___closed__2; +x_899 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_899, 0, x_898); +lean_ctor_set(x_899, 1, x_897); +x_900 = lean_array_push(x_896, x_899); +x_901 = l_Lean_mkAppStx___closed__8; +x_902 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_902, 0, x_901); +lean_ctor_set(x_902, 1, x_900); +if (lean_is_scalar(x_888)) { + x_903 = lean_alloc_ctor(0, 2, 0); } else { - x_901 = x_886; + x_903 = x_888; } -lean_ctor_set(x_901, 0, x_900); -lean_ctor_set(x_901, 1, x_885); -return x_901; +lean_ctor_set(x_903, 0, x_902); +lean_ctor_set(x_903, 1, x_887); +return x_903; } else { -lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; +lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_902 = lean_ctor_get(x_877, 0); -lean_inc(x_902); -x_903 = lean_ctor_get(x_877, 1); -lean_inc(x_903); -if (lean_is_exclusive(x_877)) { - lean_ctor_release(x_877, 0); - lean_ctor_release(x_877, 1); - x_904 = x_877; +x_904 = lean_ctor_get(x_879, 0); +lean_inc(x_904); +x_905 = lean_ctor_get(x_879, 1); +lean_inc(x_905); +if (lean_is_exclusive(x_879)) { + lean_ctor_release(x_879, 0); + lean_ctor_release(x_879, 1); + x_906 = x_879; } else { - lean_dec_ref(x_877); - x_904 = lean_box(0); + lean_dec_ref(x_879); + x_906 = lean_box(0); } -if (lean_is_scalar(x_904)) { - x_905 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_906)) { + x_907 = lean_alloc_ctor(1, 2, 0); } else { - x_905 = x_904; + x_907 = x_906; } -lean_ctor_set(x_905, 0, x_902); -lean_ctor_set(x_905, 1, x_903); -return x_905; +lean_ctor_set(x_907, 0, x_904); +lean_ctor_set(x_907, 1, x_905); +return x_907; } } } } else { -lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; uint8_t x_910; +lean_object* x_908; lean_object* x_909; uint8_t x_910; lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); +x_908 = lean_unsigned_to_nat(1u); +x_909 = l_Lean_Syntax_getArg(x_1, x_908); lean_dec(x_1); -x_906 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_907 = lean_ctor_get(x_906, 0); -lean_inc(x_907); -x_908 = lean_ctor_get(x_906, 1); -lean_inc(x_908); -lean_dec(x_906); -x_909 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_908); -lean_dec(x_9); -x_910 = !lean_is_exclusive(x_909); +x_910 = !lean_is_exclusive(x_2); if (x_910 == 0) { -lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; -x_911 = lean_ctor_get(x_909, 0); -x_912 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; -x_913 = l_Lean_addMacroScope(x_911, x_912, x_907); -x_914 = l_Lean_SourceInfo_inhabited___closed__1; -x_915 = l_Lean_Elab_Term_toParserDescrAux___main___closed__94; -x_916 = l_Lean_Elab_Term_toParserDescrAux___main___closed__98; -x_917 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_917, 0, x_914); -lean_ctor_set(x_917, 1, x_915); -lean_ctor_set(x_917, 2, x_913); -lean_ctor_set(x_917, 3, x_916); -lean_ctor_set(x_909, 0, x_917); -return x_909; -} -else +uint8_t x_911; lean_object* x_912; +x_911 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_911); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_912 = l_Lean_Elab_Term_toParserDescrAux___main(x_909, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_912) == 0) { -lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; -x_918 = lean_ctor_get(x_909, 0); -x_919 = lean_ctor_get(x_909, 1); -lean_inc(x_919); -lean_inc(x_918); -lean_dec(x_909); -x_920 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; -x_921 = l_Lean_addMacroScope(x_918, x_920, x_907); -x_922 = l_Lean_SourceInfo_inhabited___closed__1; -x_923 = l_Lean_Elab_Term_toParserDescrAux___main___closed__94; -x_924 = l_Lean_Elab_Term_toParserDescrAux___main___closed__98; -x_925 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_925, 0, x_922); -lean_ctor_set(x_925, 1, x_923); -lean_ctor_set(x_925, 2, x_921); -lean_ctor_set(x_925, 3, x_924); -x_926 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_926, 0, x_925); -lean_ctor_set(x_926, 1, x_919); -return x_926; -} -} -} -else -{ -lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; uint8_t x_931; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_927 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; uint8_t x_919; +x_913 = lean_ctor_get(x_912, 0); +lean_inc(x_913); +x_914 = lean_ctor_get(x_912, 1); +lean_inc(x_914); +lean_dec(x_912); +x_915 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_914); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_928 = lean_ctor_get(x_927, 0); -lean_inc(x_928); -x_929 = lean_ctor_get(x_927, 1); -lean_inc(x_929); -lean_dec(x_927); -x_930 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_929); +x_916 = lean_ctor_get(x_915, 0); +lean_inc(x_916); +x_917 = lean_ctor_get(x_915, 1); +lean_inc(x_917); +lean_dec(x_915); +x_918 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_917); lean_dec(x_9); -x_931 = !lean_is_exclusive(x_930); -if (x_931 == 0) +x_919 = !lean_is_exclusive(x_918); +if (x_919 == 0) { -lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; -x_932 = lean_ctor_get(x_930, 0); -x_933 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; -x_934 = l_Lean_addMacroScope(x_932, x_933, x_928); -x_935 = l_Lean_SourceInfo_inhabited___closed__1; -x_936 = l_Lean_Elab_Term_toParserDescrAux___main___closed__101; -x_937 = l_Lean_Elab_Term_toParserDescrAux___main___closed__105; -x_938 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_938, 0, x_935); -lean_ctor_set(x_938, 1, x_936); -lean_ctor_set(x_938, 2, x_934); -lean_ctor_set(x_938, 3, x_937); -lean_ctor_set(x_930, 0, x_938); -return x_930; +lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; +x_920 = lean_ctor_get(x_918, 0); +x_921 = l_Lean_Elab_Term_toParserDescrAux___main___closed__96; +x_922 = l_Lean_addMacroScope(x_920, x_921, x_916); +x_923 = l_Lean_SourceInfo_inhabited___closed__1; +x_924 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; +x_925 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; +x_926 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_926, 0, x_923); +lean_ctor_set(x_926, 1, x_924); +lean_ctor_set(x_926, 2, x_922); +lean_ctor_set(x_926, 3, x_925); +x_927 = l_Array_empty___closed__1; +x_928 = lean_array_push(x_927, x_926); +x_929 = lean_array_push(x_927, x_913); +x_930 = l_Lean_nullKind___closed__2; +x_931 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_931, 0, x_930); +lean_ctor_set(x_931, 1, x_929); +x_932 = lean_array_push(x_928, x_931); +x_933 = l_Lean_mkAppStx___closed__8; +x_934 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_934, 0, x_933); +lean_ctor_set(x_934, 1, x_932); +lean_ctor_set(x_918, 0, x_934); +return x_918; } else { -lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; -x_939 = lean_ctor_get(x_930, 0); -x_940 = lean_ctor_get(x_930, 1); -lean_inc(x_940); -lean_inc(x_939); -lean_dec(x_930); -x_941 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; -x_942 = l_Lean_addMacroScope(x_939, x_941, x_928); -x_943 = l_Lean_SourceInfo_inhabited___closed__1; -x_944 = l_Lean_Elab_Term_toParserDescrAux___main___closed__101; -x_945 = l_Lean_Elab_Term_toParserDescrAux___main___closed__105; -x_946 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_946, 0, x_943); -lean_ctor_set(x_946, 1, x_944); -lean_ctor_set(x_946, 2, x_942); -lean_ctor_set(x_946, 3, x_945); -x_947 = lean_alloc_ctor(0, 2, 0); +lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; +x_935 = lean_ctor_get(x_918, 0); +x_936 = lean_ctor_get(x_918, 1); +lean_inc(x_936); +lean_inc(x_935); +lean_dec(x_918); +x_937 = l_Lean_Elab_Term_toParserDescrAux___main___closed__96; +x_938 = l_Lean_addMacroScope(x_935, x_937, x_916); +x_939 = l_Lean_SourceInfo_inhabited___closed__1; +x_940 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; +x_941 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; +x_942 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_942, 0, x_939); +lean_ctor_set(x_942, 1, x_940); +lean_ctor_set(x_942, 2, x_938); +lean_ctor_set(x_942, 3, x_941); +x_943 = l_Array_empty___closed__1; +x_944 = lean_array_push(x_943, x_942); +x_945 = lean_array_push(x_943, x_913); +x_946 = l_Lean_nullKind___closed__2; +x_947 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_947, 0, x_946); -lean_ctor_set(x_947, 1, x_940); -return x_947; -} -} -} -else -{ -lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; uint8_t x_952; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_948 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_949 = lean_ctor_get(x_948, 0); -lean_inc(x_949); -x_950 = lean_ctor_get(x_948, 1); -lean_inc(x_950); -lean_dec(x_948); -x_951 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_950); -lean_dec(x_9); -x_952 = !lean_is_exclusive(x_951); -if (x_952 == 0) -{ -lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; -x_953 = lean_ctor_get(x_951, 0); -x_954 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; -x_955 = l_Lean_addMacroScope(x_953, x_954, x_949); -x_956 = l_Lean_SourceInfo_inhabited___closed__1; -x_957 = l_Lean_Elab_Term_toParserDescrAux___main___closed__108; -x_958 = l_Lean_Elab_Term_toParserDescrAux___main___closed__112; -x_959 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_959, 0, x_956); -lean_ctor_set(x_959, 1, x_957); -lean_ctor_set(x_959, 2, x_955); -lean_ctor_set(x_959, 3, x_958); -lean_ctor_set(x_951, 0, x_959); +lean_ctor_set(x_947, 1, x_945); +x_948 = lean_array_push(x_944, x_947); +x_949 = l_Lean_mkAppStx___closed__8; +x_950 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_950, 0, x_949); +lean_ctor_set(x_950, 1, x_948); +x_951 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_951, 0, x_950); +lean_ctor_set(x_951, 1, x_936); return x_951; } -else -{ -lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; -x_960 = lean_ctor_get(x_951, 0); -x_961 = lean_ctor_get(x_951, 1); -lean_inc(x_961); -lean_inc(x_960); -lean_dec(x_951); -x_962 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; -x_963 = l_Lean_addMacroScope(x_960, x_962, x_949); -x_964 = l_Lean_SourceInfo_inhabited___closed__1; -x_965 = l_Lean_Elab_Term_toParserDescrAux___main___closed__108; -x_966 = l_Lean_Elab_Term_toParserDescrAux___main___closed__112; -x_967 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_967, 0, x_964); -lean_ctor_set(x_967, 1, x_965); -lean_ctor_set(x_967, 2, x_963); -lean_ctor_set(x_967, 3, x_966); -x_968 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_968, 0, x_967); -lean_ctor_set(x_968, 1, x_961); -return x_968; -} -} } else { -lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; uint8_t x_973; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_969 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +uint8_t x_952; +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_970 = lean_ctor_get(x_969, 0); -lean_inc(x_970); -x_971 = lean_ctor_get(x_969, 1); -lean_inc(x_971); -lean_dec(x_969); -x_972 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_971); -lean_dec(x_9); -x_973 = !lean_is_exclusive(x_972); -if (x_973 == 0) +x_952 = !lean_is_exclusive(x_912); +if (x_952 == 0) { -lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; -x_974 = lean_ctor_get(x_972, 0); -x_975 = l_Lean_Elab_Term_toParserDescrAux___main___closed__116; -x_976 = l_Lean_addMacroScope(x_974, x_975, x_970); -x_977 = l_Lean_SourceInfo_inhabited___closed__1; -x_978 = l_Lean_Elab_Term_toParserDescrAux___main___closed__115; -x_979 = l_Lean_Elab_Term_toParserDescrAux___main___closed__119; -x_980 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_980, 0, x_977); -lean_ctor_set(x_980, 1, x_978); -lean_ctor_set(x_980, 2, x_976); -lean_ctor_set(x_980, 3, x_979); -lean_ctor_set(x_972, 0, x_980); -return x_972; +return x_912; } else { -lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; -x_981 = lean_ctor_get(x_972, 0); -x_982 = lean_ctor_get(x_972, 1); -lean_inc(x_982); -lean_inc(x_981); -lean_dec(x_972); -x_983 = l_Lean_Elab_Term_toParserDescrAux___main___closed__116; -x_984 = l_Lean_addMacroScope(x_981, x_983, x_970); -x_985 = l_Lean_SourceInfo_inhabited___closed__1; -x_986 = l_Lean_Elab_Term_toParserDescrAux___main___closed__115; -x_987 = l_Lean_Elab_Term_toParserDescrAux___main___closed__119; -x_988 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_988, 0, x_985); -lean_ctor_set(x_988, 1, x_986); -lean_ctor_set(x_988, 2, x_984); -lean_ctor_set(x_988, 3, x_987); -x_989 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_989, 0, x_988); -lean_ctor_set(x_989, 1, x_982); +lean_object* x_953; lean_object* x_954; lean_object* x_955; +x_953 = lean_ctor_get(x_912, 0); +x_954 = lean_ctor_get(x_912, 1); +lean_inc(x_954); +lean_inc(x_953); +lean_dec(x_912); +x_955 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_955, 0, x_953); +lean_ctor_set(x_955, 1, x_954); +return x_955; +} +} +} +else +{ +lean_object* x_956; uint8_t x_957; uint8_t x_958; uint8_t x_959; lean_object* x_960; lean_object* x_961; +x_956 = lean_ctor_get(x_2, 0); +x_957 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_958 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_956); +lean_dec(x_2); +x_959 = 0; +x_960 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_960, 0, x_956); +lean_ctor_set_uint8(x_960, sizeof(void*)*1, x_957); +lean_ctor_set_uint8(x_960, sizeof(void*)*1 + 1, x_959); +lean_ctor_set_uint8(x_960, sizeof(void*)*1 + 2, x_958); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_961 = l_Lean_Elab_Term_toParserDescrAux___main(x_909, x_960, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_961) == 0) +{ +lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; +x_962 = lean_ctor_get(x_961, 0); +lean_inc(x_962); +x_963 = lean_ctor_get(x_961, 1); +lean_inc(x_963); +lean_dec(x_961); +x_964 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_963); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_965 = lean_ctor_get(x_964, 0); +lean_inc(x_965); +x_966 = lean_ctor_get(x_964, 1); +lean_inc(x_966); +lean_dec(x_964); +x_967 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_966); +lean_dec(x_9); +x_968 = lean_ctor_get(x_967, 0); +lean_inc(x_968); +x_969 = lean_ctor_get(x_967, 1); +lean_inc(x_969); +if (lean_is_exclusive(x_967)) { + lean_ctor_release(x_967, 0); + lean_ctor_release(x_967, 1); + x_970 = x_967; +} else { + lean_dec_ref(x_967); + x_970 = lean_box(0); +} +x_971 = l_Lean_Elab_Term_toParserDescrAux___main___closed__96; +x_972 = l_Lean_addMacroScope(x_968, x_971, x_965); +x_973 = l_Lean_SourceInfo_inhabited___closed__1; +x_974 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; +x_975 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; +x_976 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_976, 0, x_973); +lean_ctor_set(x_976, 1, x_974); +lean_ctor_set(x_976, 2, x_972); +lean_ctor_set(x_976, 3, x_975); +x_977 = l_Array_empty___closed__1; +x_978 = lean_array_push(x_977, x_976); +x_979 = lean_array_push(x_977, x_962); +x_980 = l_Lean_nullKind___closed__2; +x_981 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_981, 0, x_980); +lean_ctor_set(x_981, 1, x_979); +x_982 = lean_array_push(x_978, x_981); +x_983 = l_Lean_mkAppStx___closed__8; +x_984 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_984, 0, x_983); +lean_ctor_set(x_984, 1, x_982); +if (lean_is_scalar(x_970)) { + x_985 = lean_alloc_ctor(0, 2, 0); +} else { + x_985 = x_970; +} +lean_ctor_set(x_985, 0, x_984); +lean_ctor_set(x_985, 1, x_969); +return x_985; +} +else +{ +lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_986 = lean_ctor_get(x_961, 0); +lean_inc(x_986); +x_987 = lean_ctor_get(x_961, 1); +lean_inc(x_987); +if (lean_is_exclusive(x_961)) { + lean_ctor_release(x_961, 0); + lean_ctor_release(x_961, 1); + x_988 = x_961; +} else { + lean_dec_ref(x_961); + x_988 = lean_box(0); +} +if (lean_is_scalar(x_988)) { + x_989 = lean_alloc_ctor(1, 2, 0); +} else { + x_989 = x_988; +} +lean_ctor_set(x_989, 0, x_986); +lean_ctor_set(x_989, 1, x_987); return x_989; } } } +} else { -lean_object* x_990; lean_object* x_991; lean_object* x_992; +lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; uint8_t x_994; lean_dec(x_11); lean_dec(x_3); -x_990 = lean_unsigned_to_nat(0u); -x_991 = l_Lean_Syntax_getArg(x_1, x_990); +lean_dec(x_2); lean_dec(x_1); -x_992 = l_Lean_Syntax_isStrLit_x3f(x_991); -lean_dec(x_991); -if (lean_obj_tag(x_992) == 0) -{ -lean_object* x_993; -lean_dec(x_9); +x_990 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -x_993 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___rarg(x_10); +x_991 = lean_ctor_get(x_990, 0); +lean_inc(x_991); +x_992 = lean_ctor_get(x_990, 1); +lean_inc(x_992); +lean_dec(x_990); +x_993 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_992); +lean_dec(x_9); +x_994 = !lean_is_exclusive(x_993); +if (x_994 == 0) +{ +lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; +x_995 = lean_ctor_get(x_993, 0); +x_996 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; +x_997 = l_Lean_addMacroScope(x_995, x_996, x_991); +x_998 = l_Lean_SourceInfo_inhabited___closed__1; +x_999 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; +x_1000 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; +x_1001 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1001, 0, x_998); +lean_ctor_set(x_1001, 1, x_999); +lean_ctor_set(x_1001, 2, x_997); +lean_ctor_set(x_1001, 3, x_1000); +lean_ctor_set(x_993, 0, x_1001); return x_993; } else { -uint8_t x_994; -x_994 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_dec(x_2); -if (x_994 == 0) -{ -lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; uint8_t x_1000; -x_995 = lean_ctor_get(x_992, 0); -lean_inc(x_995); -lean_dec(x_992); -x_996 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_997 = lean_ctor_get(x_996, 0); -lean_inc(x_997); -x_998 = lean_ctor_get(x_996, 1); -lean_inc(x_998); -lean_dec(x_996); -x_999 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_998); -lean_dec(x_9); -x_1000 = !lean_is_exclusive(x_999); -if (x_1000 == 0) -{ -lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; -x_1001 = lean_ctor_get(x_999, 0); -x_1002 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; -x_1003 = l_Lean_addMacroScope(x_1001, x_1002, x_997); -x_1004 = l_Lean_SourceInfo_inhabited___closed__1; -x_1005 = l_Lean_Elab_Term_toParserDescrAux___main___closed__122; -x_1006 = l_Lean_Elab_Term_toParserDescrAux___main___closed__126; -x_1007 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1007, 0, x_1004); -lean_ctor_set(x_1007, 1, x_1005); -lean_ctor_set(x_1007, 2, x_1003); -lean_ctor_set(x_1007, 3, x_1006); -x_1008 = l_Array_empty___closed__1; -x_1009 = lean_array_push(x_1008, x_1007); -x_1010 = l_Lean_mkStxStrLit(x_995, x_1004); -x_1011 = lean_array_push(x_1008, x_1010); -x_1012 = l_Lean_nullKind___closed__2; -x_1013 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1013, 0, x_1012); -lean_ctor_set(x_1013, 1, x_1011); -x_1014 = lean_array_push(x_1009, x_1013); -x_1015 = l_Lean_mkAppStx___closed__8; -x_1016 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1016, 0, x_1015); -lean_ctor_set(x_1016, 1, x_1014); -lean_ctor_set(x_999, 0, x_1016); -return x_999; -} -else -{ -lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; -x_1017 = lean_ctor_get(x_999, 0); -x_1018 = lean_ctor_get(x_999, 1); -lean_inc(x_1018); -lean_inc(x_1017); -lean_dec(x_999); -x_1019 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; -x_1020 = l_Lean_addMacroScope(x_1017, x_1019, x_997); -x_1021 = l_Lean_SourceInfo_inhabited___closed__1; -x_1022 = l_Lean_Elab_Term_toParserDescrAux___main___closed__122; -x_1023 = l_Lean_Elab_Term_toParserDescrAux___main___closed__126; -x_1024 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1024, 0, x_1021); -lean_ctor_set(x_1024, 1, x_1022); -lean_ctor_set(x_1024, 2, x_1020); -lean_ctor_set(x_1024, 3, x_1023); -x_1025 = l_Array_empty___closed__1; -x_1026 = lean_array_push(x_1025, x_1024); -x_1027 = l_Lean_mkStxStrLit(x_995, x_1021); -x_1028 = lean_array_push(x_1025, x_1027); -x_1029 = l_Lean_nullKind___closed__2; -x_1030 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1030, 0, x_1029); -lean_ctor_set(x_1030, 1, x_1028); -x_1031 = lean_array_push(x_1026, x_1030); -x_1032 = l_Lean_mkAppStx___closed__8; -x_1033 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1033, 0, x_1032); -lean_ctor_set(x_1033, 1, x_1031); -x_1034 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1034, 0, x_1033); -lean_ctor_set(x_1034, 1, x_1018); -return x_1034; -} -} -else -{ -lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; uint8_t x_1040; -x_1035 = lean_ctor_get(x_992, 0); -lean_inc(x_1035); -lean_dec(x_992); -x_1036 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1037 = lean_ctor_get(x_1036, 0); -lean_inc(x_1037); -x_1038 = lean_ctor_get(x_1036, 1); -lean_inc(x_1038); -lean_dec(x_1036); -x_1039 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1038); -lean_dec(x_9); -x_1040 = !lean_is_exclusive(x_1039); -if (x_1040 == 0) -{ -lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; -x_1041 = lean_ctor_get(x_1039, 0); -x_1042 = l_Lean_Elab_Term_toParserDescrAux___main___closed__131; -lean_inc(x_1037); -lean_inc(x_1041); -x_1043 = l_Lean_addMacroScope(x_1041, x_1042, x_1037); -x_1044 = l_Lean_SourceInfo_inhabited___closed__1; -x_1045 = l_Lean_Elab_Term_toParserDescrAux___main___closed__129; -x_1046 = l_Lean_Elab_Term_toParserDescrAux___main___closed__134; -x_1047 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1047, 0, x_1044); -lean_ctor_set(x_1047, 1, x_1045); -lean_ctor_set(x_1047, 2, x_1043); -lean_ctor_set(x_1047, 3, x_1046); -x_1048 = l_Array_empty___closed__1; -x_1049 = lean_array_push(x_1048, x_1047); -x_1050 = l_Lean_mkStxStrLit(x_1035, x_1044); -x_1051 = lean_array_push(x_1048, x_1050); -x_1052 = l_Lean_Elab_Term_toParserDescrAux___main___closed__137; -x_1053 = l_Lean_addMacroScope(x_1041, x_1052, x_1037); -x_1054 = l_Lean_Elab_Term_toParserDescrAux___main___closed__136; -x_1055 = l_Lean_Elab_Term_toParserDescrAux___main___closed__141; -x_1056 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1056, 0, x_1044); -lean_ctor_set(x_1056, 1, x_1054); -lean_ctor_set(x_1056, 2, x_1053); -lean_ctor_set(x_1056, 3, x_1055); -x_1057 = lean_array_push(x_1051, x_1056); -x_1058 = l_Lean_nullKind___closed__2; -x_1059 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1059, 0, x_1058); -lean_ctor_set(x_1059, 1, x_1057); -x_1060 = lean_array_push(x_1049, x_1059); -x_1061 = l_Lean_mkAppStx___closed__8; -x_1062 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1062, 0, x_1061); -lean_ctor_set(x_1062, 1, x_1060); -lean_ctor_set(x_1039, 0, x_1062); -return x_1039; -} -else -{ -lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; -x_1063 = lean_ctor_get(x_1039, 0); -x_1064 = lean_ctor_get(x_1039, 1); -lean_inc(x_1064); -lean_inc(x_1063); -lean_dec(x_1039); -x_1065 = l_Lean_Elab_Term_toParserDescrAux___main___closed__131; -lean_inc(x_1037); -lean_inc(x_1063); -x_1066 = l_Lean_addMacroScope(x_1063, x_1065, x_1037); -x_1067 = l_Lean_SourceInfo_inhabited___closed__1; -x_1068 = l_Lean_Elab_Term_toParserDescrAux___main___closed__129; -x_1069 = l_Lean_Elab_Term_toParserDescrAux___main___closed__134; -x_1070 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1070, 0, x_1067); -lean_ctor_set(x_1070, 1, x_1068); -lean_ctor_set(x_1070, 2, x_1066); -lean_ctor_set(x_1070, 3, x_1069); -x_1071 = l_Array_empty___closed__1; -x_1072 = lean_array_push(x_1071, x_1070); -x_1073 = l_Lean_mkStxStrLit(x_1035, x_1067); -x_1074 = lean_array_push(x_1071, x_1073); -x_1075 = l_Lean_Elab_Term_toParserDescrAux___main___closed__137; -x_1076 = l_Lean_addMacroScope(x_1063, x_1075, x_1037); -x_1077 = l_Lean_Elab_Term_toParserDescrAux___main___closed__136; -x_1078 = l_Lean_Elab_Term_toParserDescrAux___main___closed__141; -x_1079 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1079, 0, x_1067); -lean_ctor_set(x_1079, 1, x_1077); -lean_ctor_set(x_1079, 2, x_1076); -lean_ctor_set(x_1079, 3, x_1078); -x_1080 = lean_array_push(x_1074, x_1079); -x_1081 = l_Lean_nullKind___closed__2; -x_1082 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1082, 0, x_1081); -lean_ctor_set(x_1082, 1, x_1080); -x_1083 = lean_array_push(x_1072, x_1082); -x_1084 = l_Lean_mkAppStx___closed__8; -x_1085 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1085, 0, x_1084); -lean_ctor_set(x_1085, 1, x_1083); -x_1086 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1086, 0, x_1085); -lean_ctor_set(x_1086, 1, x_1064); -return x_1086; -} -} +lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; +x_1002 = lean_ctor_get(x_993, 0); +x_1003 = lean_ctor_get(x_993, 1); +lean_inc(x_1003); +lean_inc(x_1002); +lean_dec(x_993); +x_1004 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; +x_1005 = l_Lean_addMacroScope(x_1002, x_1004, x_991); +x_1006 = l_Lean_SourceInfo_inhabited___closed__1; +x_1007 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; +x_1008 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; +x_1009 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1009, 0, x_1006); +lean_ctor_set(x_1009, 1, x_1007); +lean_ctor_set(x_1009, 2, x_1005); +lean_ctor_set(x_1009, 3, x_1008); +x_1010 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1010, 0, x_1009); +lean_ctor_set(x_1010, 1, x_1003); +return x_1010; } } } else { -lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; uint8_t x_1224; +lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; uint8_t x_1015; lean_dec(x_11); -x_1087 = lean_unsigned_to_nat(0u); -x_1088 = l_Lean_Syntax_getIdAt(x_1, x_1087); -x_1089 = l_Lean_Name_eraseMacroScopes(x_1088); -lean_dec(x_1088); -x_1224 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -if (x_1224 == 0) -{ -lean_object* x_1225; -x_1225 = lean_box(0); -x_1090 = x_1225; -goto block_1223; -} -else -{ -lean_object* x_1226; uint8_t x_1227; -x_1226 = lean_ctor_get(x_2, 0); -lean_inc(x_1226); -x_1227 = lean_name_eq(x_1089, x_1226); -lean_dec(x_1226); -if (x_1227 == 0) -{ -lean_object* x_1228; -x_1228 = lean_box(0); -x_1090 = x_1228; -goto block_1223; -} -else -{ -lean_object* x_1229; lean_object* x_1230; -lean_dec(x_1089); -x_1229 = l_Lean_Elab_Term_toParserDescrAux___main___closed__170; -x_1230 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_1229, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_1230; -} -} -block_1223: -{ -lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; uint8_t x_1147; -lean_dec(x_1090); -x_1091 = lean_unsigned_to_nat(1u); -x_1092 = l_Lean_Syntax_getArg(x_1, x_1091); -x_1093 = l_Lean_Elab_Term_expandOptPrecedence(x_1092); -lean_dec(x_1092); -x_1094 = lean_st_ref_get(x_9, x_10); -x_1095 = lean_ctor_get(x_1094, 0); -lean_inc(x_1095); -x_1096 = lean_ctor_get(x_1094, 1); -lean_inc(x_1096); -lean_dec(x_1094); -x_1097 = lean_ctor_get(x_1095, 0); -lean_inc(x_1097); -lean_dec(x_1095); -x_1147 = l_Lean_Parser_isParserCategory(x_1097, x_1089); -if (x_1147 == 0) -{ -lean_object* x_1148; -lean_inc(x_1089); -x_1148 = l_Lean_Elab_Term_resolveGlobalConst(x_1089, x_4, x_5, x_6, x_7, x_8, x_9, x_1096); -if (lean_obj_tag(x_1148) == 0) -{ -lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; -x_1149 = lean_ctor_get(x_1148, 0); -lean_inc(x_1149); -x_1150 = lean_ctor_get(x_1148, 1); -lean_inc(x_1150); -lean_dec(x_1148); -x_1151 = lean_box(0); -x_1152 = l_List_filterAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(x_1097, x_1149, x_1151); -if (lean_obj_tag(x_1152) == 0) -{ -lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; -lean_dec(x_1093); -x_1153 = lean_unsigned_to_nat(3u); -x_1154 = l_Lean_Syntax_getArg(x_1, x_1153); -lean_dec(x_1); -x_1155 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1155, 0, x_1089); -x_1156 = l_Lean_Elab_Term_toParserDescrAux___main___closed__151; -x_1157 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1157, 0, x_1156); -lean_ctor_set(x_1157, 1, x_1155); -x_1158 = l_Lean_Elab_Term_toParserDescrAux___main___closed__154; -x_1159 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1159, 0, x_1157); -lean_ctor_set(x_1159, 1, x_1158); -x_1160 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1154, x_1159, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1150); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1154); -return x_1160; -} -else -{ -lean_object* x_1161; -lean_dec(x_1089); -x_1161 = lean_ctor_get(x_1152, 1); -lean_inc(x_1161); -if (lean_obj_tag(x_1161) == 0) -{ -if (lean_obj_tag(x_1093) == 0) -{ -lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; uint8_t x_1167; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1162 = lean_ctor_get(x_1152, 0); -lean_inc(x_1162); -lean_dec(x_1152); -x_1163 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1150); +x_1011 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_1164 = lean_ctor_get(x_1163, 0); -lean_inc(x_1164); -x_1165 = lean_ctor_get(x_1163, 1); -lean_inc(x_1165); -lean_dec(x_1163); -x_1166 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1165); +x_1012 = lean_ctor_get(x_1011, 0); +lean_inc(x_1012); +x_1013 = lean_ctor_get(x_1011, 1); +lean_inc(x_1013); +lean_dec(x_1011); +x_1014 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1013); lean_dec(x_9); -x_1167 = !lean_is_exclusive(x_1166); -if (x_1167 == 0) +x_1015 = !lean_is_exclusive(x_1014); +if (x_1015 == 0) { -lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; -x_1168 = lean_ctor_get(x_1166, 0); -x_1169 = l_Lean_Elab_Term_toParserDescrAux___main___closed__158; -x_1170 = l_Lean_addMacroScope(x_1168, x_1169, x_1164); -x_1171 = l_Lean_SourceInfo_inhabited___closed__1; -x_1172 = l_Lean_Elab_Term_toParserDescrAux___main___closed__157; -x_1173 = l_Lean_Elab_Term_toParserDescrAux___main___closed__161; -x_1174 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1174, 0, x_1171); -lean_ctor_set(x_1174, 1, x_1172); -lean_ctor_set(x_1174, 2, x_1170); -lean_ctor_set(x_1174, 3, x_1173); -x_1175 = l_Array_empty___closed__1; -x_1176 = lean_array_push(x_1175, x_1174); -x_1177 = l___private_Init_LeanInit_13__quoteName___main(x_1162); -x_1178 = lean_array_push(x_1175, x_1177); -x_1179 = l_Lean_nullKind___closed__2; -x_1180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1180, 0, x_1179); -lean_ctor_set(x_1180, 1, x_1178); -x_1181 = lean_array_push(x_1176, x_1180); -x_1182 = l_Lean_mkAppStx___closed__8; -x_1183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1183, 0, x_1182); -lean_ctor_set(x_1183, 1, x_1181); -lean_ctor_set(x_1166, 0, x_1183); -return x_1166; +lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; +x_1016 = lean_ctor_get(x_1014, 0); +x_1017 = l_Lean_Elab_Term_toParserDescrAux___main___closed__110; +x_1018 = l_Lean_addMacroScope(x_1016, x_1017, x_1012); +x_1019 = l_Lean_SourceInfo_inhabited___closed__1; +x_1020 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; +x_1021 = l_Lean_Elab_Term_toParserDescrAux___main___closed__113; +x_1022 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1022, 0, x_1019); +lean_ctor_set(x_1022, 1, x_1020); +lean_ctor_set(x_1022, 2, x_1018); +lean_ctor_set(x_1022, 3, x_1021); +lean_ctor_set(x_1014, 0, x_1022); +return x_1014; } else { -lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; -x_1184 = lean_ctor_get(x_1166, 0); -x_1185 = lean_ctor_get(x_1166, 1); -lean_inc(x_1185); -lean_inc(x_1184); -lean_dec(x_1166); -x_1186 = l_Lean_Elab_Term_toParserDescrAux___main___closed__158; -x_1187 = l_Lean_addMacroScope(x_1184, x_1186, x_1164); -x_1188 = l_Lean_SourceInfo_inhabited___closed__1; -x_1189 = l_Lean_Elab_Term_toParserDescrAux___main___closed__157; -x_1190 = l_Lean_Elab_Term_toParserDescrAux___main___closed__161; -x_1191 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1191, 0, x_1188); -lean_ctor_set(x_1191, 1, x_1189); -lean_ctor_set(x_1191, 2, x_1187); -lean_ctor_set(x_1191, 3, x_1190); -x_1192 = l_Array_empty___closed__1; -x_1193 = lean_array_push(x_1192, x_1191); -x_1194 = l___private_Init_LeanInit_13__quoteName___main(x_1162); -x_1195 = lean_array_push(x_1192, x_1194); -x_1196 = l_Lean_nullKind___closed__2; -x_1197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1197, 0, x_1196); -lean_ctor_set(x_1197, 1, x_1195); -x_1198 = lean_array_push(x_1193, x_1197); -x_1199 = l_Lean_mkAppStx___closed__8; -x_1200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1200, 0, x_1199); -lean_ctor_set(x_1200, 1, x_1198); -x_1201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1201, 0, x_1200); -lean_ctor_set(x_1201, 1, x_1185); -return x_1201; +lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; +x_1023 = lean_ctor_get(x_1014, 0); +x_1024 = lean_ctor_get(x_1014, 1); +lean_inc(x_1024); +lean_inc(x_1023); +lean_dec(x_1014); +x_1025 = l_Lean_Elab_Term_toParserDescrAux___main___closed__110; +x_1026 = l_Lean_addMacroScope(x_1023, x_1025, x_1012); +x_1027 = l_Lean_SourceInfo_inhabited___closed__1; +x_1028 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; +x_1029 = l_Lean_Elab_Term_toParserDescrAux___main___closed__113; +x_1030 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1030, 0, x_1027); +lean_ctor_set(x_1030, 1, x_1028); +lean_ctor_set(x_1030, 2, x_1026); +lean_ctor_set(x_1030, 3, x_1029); +x_1031 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1031, 0, x_1030); +lean_ctor_set(x_1031, 1, x_1024); +return x_1031; +} } } else { -lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; uint8_t x_1206; -lean_dec(x_1152); -lean_dec(x_1093); -x_1202 = lean_unsigned_to_nat(3u); -x_1203 = l_Lean_Syntax_getArg(x_1, x_1202); +lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; uint8_t x_1036; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_1204 = l_Lean_Elab_Term_toParserDescrAux___main___closed__164; -x_1205 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1203, x_1204, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1150); -lean_dec(x_9); +x_1032 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +x_1033 = lean_ctor_get(x_1032, 0); +lean_inc(x_1033); +x_1034 = lean_ctor_get(x_1032, 1); +lean_inc(x_1034); +lean_dec(x_1032); +x_1035 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1034); +lean_dec(x_9); +x_1036 = !lean_is_exclusive(x_1035); +if (x_1036 == 0) +{ +lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; +x_1037 = lean_ctor_get(x_1035, 0); +x_1038 = l_Lean_Elab_Term_toParserDescrAux___main___closed__117; +x_1039 = l_Lean_addMacroScope(x_1037, x_1038, x_1033); +x_1040 = l_Lean_SourceInfo_inhabited___closed__1; +x_1041 = l_Lean_Elab_Term_toParserDescrAux___main___closed__116; +x_1042 = l_Lean_Elab_Term_toParserDescrAux___main___closed__120; +x_1043 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1043, 0, x_1040); +lean_ctor_set(x_1043, 1, x_1041); +lean_ctor_set(x_1043, 2, x_1039); +lean_ctor_set(x_1043, 3, x_1042); +lean_ctor_set(x_1035, 0, x_1043); +return x_1035; +} +else +{ +lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; +x_1044 = lean_ctor_get(x_1035, 0); +x_1045 = lean_ctor_get(x_1035, 1); +lean_inc(x_1045); +lean_inc(x_1044); +lean_dec(x_1035); +x_1046 = l_Lean_Elab_Term_toParserDescrAux___main___closed__117; +x_1047 = l_Lean_addMacroScope(x_1044, x_1046, x_1033); +x_1048 = l_Lean_SourceInfo_inhabited___closed__1; +x_1049 = l_Lean_Elab_Term_toParserDescrAux___main___closed__116; +x_1050 = l_Lean_Elab_Term_toParserDescrAux___main___closed__120; +x_1051 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1051, 0, x_1048); +lean_ctor_set(x_1051, 1, x_1049); +lean_ctor_set(x_1051, 2, x_1047); +lean_ctor_set(x_1051, 3, x_1050); +x_1052 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1052, 0, x_1051); +lean_ctor_set(x_1052, 1, x_1045); +return x_1052; +} +} +} +else +{ +lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; uint8_t x_1057; +lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1203); -x_1206 = !lean_is_exclusive(x_1205); -if (x_1206 == 0) -{ -return x_1205; -} -else -{ -lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; -x_1207 = lean_ctor_get(x_1205, 0); -x_1208 = lean_ctor_get(x_1205, 1); -lean_inc(x_1208); -lean_inc(x_1207); -lean_dec(x_1205); -x_1209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1209, 0, x_1207); -lean_ctor_set(x_1209, 1, x_1208); -return x_1209; -} -} -} -else -{ -lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; -lean_dec(x_1161); -lean_dec(x_1093); -x_1210 = lean_unsigned_to_nat(3u); -x_1211 = l_Lean_Syntax_getArg(x_1, x_1210); lean_dec(x_1); -x_1212 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1152); -x_1213 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1213, 0, x_1212); -x_1214 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1214, 0, x_1213); -x_1215 = l_Lean_Elab_Term_toParserDescrAux___main___closed__167; -x_1216 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1216, 0, x_1215); -lean_ctor_set(x_1216, 1, x_1214); -x_1217 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1211, x_1216, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1150); -lean_dec(x_9); +x_1053 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1211); -return x_1217; +x_1054 = lean_ctor_get(x_1053, 0); +lean_inc(x_1054); +x_1055 = lean_ctor_get(x_1053, 1); +lean_inc(x_1055); +lean_dec(x_1053); +x_1056 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1055); +lean_dec(x_9); +x_1057 = !lean_is_exclusive(x_1056); +if (x_1057 == 0) +{ +lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; +x_1058 = lean_ctor_get(x_1056, 0); +x_1059 = l_Lean_Elab_Term_toParserDescrAux___main___closed__124; +x_1060 = l_Lean_addMacroScope(x_1058, x_1059, x_1054); +x_1061 = l_Lean_SourceInfo_inhabited___closed__1; +x_1062 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; +x_1063 = l_Lean_Elab_Term_toParserDescrAux___main___closed__127; +x_1064 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1064, 0, x_1061); +lean_ctor_set(x_1064, 1, x_1062); +lean_ctor_set(x_1064, 2, x_1060); +lean_ctor_set(x_1064, 3, x_1063); +lean_ctor_set(x_1056, 0, x_1064); +return x_1056; +} +else +{ +lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; +x_1065 = lean_ctor_get(x_1056, 0); +x_1066 = lean_ctor_get(x_1056, 1); +lean_inc(x_1066); +lean_inc(x_1065); +lean_dec(x_1056); +x_1067 = l_Lean_Elab_Term_toParserDescrAux___main___closed__124; +x_1068 = l_Lean_addMacroScope(x_1065, x_1067, x_1054); +x_1069 = l_Lean_SourceInfo_inhabited___closed__1; +x_1070 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; +x_1071 = l_Lean_Elab_Term_toParserDescrAux___main___closed__127; +x_1072 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1072, 0, x_1069); +lean_ctor_set(x_1072, 1, x_1070); +lean_ctor_set(x_1072, 2, x_1068); +lean_ctor_set(x_1072, 3, x_1071); +x_1073 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1073, 0, x_1072); +lean_ctor_set(x_1073, 1, x_1066); +return x_1073; } } } else { -uint8_t x_1218; -lean_dec(x_1097); -lean_dec(x_1093); -lean_dec(x_1089); +lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; +lean_dec(x_11); +lean_dec(x_3); +x_1074 = lean_unsigned_to_nat(0u); +x_1075 = l_Lean_Syntax_getArg(x_1, x_1074); +lean_dec(x_1); +x_1076 = l_Lean_Syntax_isStrLit_x3f(x_1075); +lean_dec(x_1075); +if (lean_obj_tag(x_1076) == 0) +{ +lean_object* x_1077; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_1218 = !lean_is_exclusive(x_1148); -if (x_1218 == 0) -{ -return x_1148; +x_1077 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescrAux___main___spec__1___rarg(x_10); +return x_1077; } else { -lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; -x_1219 = lean_ctor_get(x_1148, 0); -x_1220 = lean_ctor_get(x_1148, 1); -lean_inc(x_1220); -lean_inc(x_1219); -lean_dec(x_1148); -x_1221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1221, 0, x_1219); -lean_ctor_set(x_1221, 1, x_1220); -return x_1221; -} -} -} -else -{ -lean_dec(x_1097); -lean_dec(x_3); +uint8_t x_1078; +x_1078 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); lean_dec(x_2); -lean_dec(x_1); -if (lean_obj_tag(x_1093) == 0) +if (x_1078 == 0) { -x_1098 = x_1087; -goto block_1146; -} -else -{ -lean_object* x_1222; -x_1222 = lean_ctor_get(x_1093, 0); -lean_inc(x_1222); -lean_dec(x_1093); -x_1098 = x_1222; -goto block_1146; -} -} -block_1146: -{ -lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; uint8_t x_1103; -x_1099 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1096); +lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; uint8_t x_1084; +x_1079 = lean_ctor_get(x_1076, 0); +lean_inc(x_1079); +lean_dec(x_1076); +x_1080 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_1100 = lean_ctor_get(x_1099, 0); -lean_inc(x_1100); -x_1101 = lean_ctor_get(x_1099, 1); +x_1081 = lean_ctor_get(x_1080, 0); +lean_inc(x_1081); +x_1082 = lean_ctor_get(x_1080, 1); +lean_inc(x_1082); +lean_dec(x_1080); +x_1083 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1082); +lean_dec(x_9); +x_1084 = !lean_is_exclusive(x_1083); +if (x_1084 == 0) +{ +lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; +x_1085 = lean_ctor_get(x_1083, 0); +x_1086 = l_Lean_Elab_Term_toParserDescrAux___main___closed__131; +x_1087 = l_Lean_addMacroScope(x_1085, x_1086, x_1081); +x_1088 = l_Lean_SourceInfo_inhabited___closed__1; +x_1089 = l_Lean_Elab_Term_toParserDescrAux___main___closed__130; +x_1090 = l_Lean_Elab_Term_toParserDescrAux___main___closed__134; +x_1091 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1091, 0, x_1088); +lean_ctor_set(x_1091, 1, x_1089); +lean_ctor_set(x_1091, 2, x_1087); +lean_ctor_set(x_1091, 3, x_1090); +x_1092 = l_Array_empty___closed__1; +x_1093 = lean_array_push(x_1092, x_1091); +x_1094 = l_Lean_mkStxStrLit(x_1079, x_1088); +x_1095 = lean_array_push(x_1092, x_1094); +x_1096 = l_Lean_nullKind___closed__2; +x_1097 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1097, 0, x_1096); +lean_ctor_set(x_1097, 1, x_1095); +x_1098 = lean_array_push(x_1093, x_1097); +x_1099 = l_Lean_mkAppStx___closed__8; +x_1100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1100, 0, x_1099); +lean_ctor_set(x_1100, 1, x_1098); +lean_ctor_set(x_1083, 0, x_1100); +return x_1083; +} +else +{ +lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; +x_1101 = lean_ctor_get(x_1083, 0); +x_1102 = lean_ctor_get(x_1083, 1); +lean_inc(x_1102); lean_inc(x_1101); -lean_dec(x_1099); -x_1102 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1101); -lean_dec(x_9); -x_1103 = !lean_is_exclusive(x_1102); -if (x_1103 == 0) -{ -lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; -x_1104 = lean_ctor_get(x_1102, 0); -x_1105 = l_Lean_Elab_Term_toParserDescrAux___main___closed__145; -x_1106 = l_Lean_addMacroScope(x_1104, x_1105, x_1100); -x_1107 = l_Lean_SourceInfo_inhabited___closed__1; -x_1108 = l_Lean_Elab_Term_toParserDescrAux___main___closed__144; -x_1109 = l_Lean_Elab_Term_toParserDescrAux___main___closed__148; -x_1110 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1110, 0, x_1107); -lean_ctor_set(x_1110, 1, x_1108); -lean_ctor_set(x_1110, 2, x_1106); -lean_ctor_set(x_1110, 3, x_1109); -x_1111 = l_Array_empty___closed__1; -x_1112 = lean_array_push(x_1111, x_1110); -x_1113 = l___private_Init_LeanInit_13__quoteName___main(x_1089); -x_1114 = lean_array_push(x_1111, x_1113); -x_1115 = l_Nat_repr(x_1098); -x_1116 = l_Lean_numLitKind; -x_1117 = l_Lean_mkStxLit(x_1116, x_1115, x_1107); -x_1118 = lean_array_push(x_1114, x_1117); -x_1119 = l_Lean_nullKind___closed__2; -x_1120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1120, 0, x_1119); -lean_ctor_set(x_1120, 1, x_1118); -x_1121 = lean_array_push(x_1112, x_1120); -x_1122 = l_Lean_mkAppStx___closed__8; -x_1123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1123, 0, x_1122); -lean_ctor_set(x_1123, 1, x_1121); -lean_ctor_set(x_1102, 0, x_1123); -return x_1102; +lean_dec(x_1083); +x_1103 = l_Lean_Elab_Term_toParserDescrAux___main___closed__131; +x_1104 = l_Lean_addMacroScope(x_1101, x_1103, x_1081); +x_1105 = l_Lean_SourceInfo_inhabited___closed__1; +x_1106 = l_Lean_Elab_Term_toParserDescrAux___main___closed__130; +x_1107 = l_Lean_Elab_Term_toParserDescrAux___main___closed__134; +x_1108 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1108, 0, x_1105); +lean_ctor_set(x_1108, 1, x_1106); +lean_ctor_set(x_1108, 2, x_1104); +lean_ctor_set(x_1108, 3, x_1107); +x_1109 = l_Array_empty___closed__1; +x_1110 = lean_array_push(x_1109, x_1108); +x_1111 = l_Lean_mkStxStrLit(x_1079, x_1105); +x_1112 = lean_array_push(x_1109, x_1111); +x_1113 = l_Lean_nullKind___closed__2; +x_1114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1114, 0, x_1113); +lean_ctor_set(x_1114, 1, x_1112); +x_1115 = lean_array_push(x_1110, x_1114); +x_1116 = l_Lean_mkAppStx___closed__8; +x_1117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1117, 0, x_1116); +lean_ctor_set(x_1117, 1, x_1115); +x_1118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1118, 0, x_1117); +lean_ctor_set(x_1118, 1, x_1102); +return x_1118; +} } else { -lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; -x_1124 = lean_ctor_get(x_1102, 0); -x_1125 = lean_ctor_get(x_1102, 1); +lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; uint8_t x_1124; +x_1119 = lean_ctor_get(x_1076, 0); +lean_inc(x_1119); +lean_dec(x_1076); +x_1120 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_1121 = lean_ctor_get(x_1120, 0); +lean_inc(x_1121); +x_1122 = lean_ctor_get(x_1120, 1); +lean_inc(x_1122); +lean_dec(x_1120); +x_1123 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1122); +lean_dec(x_9); +x_1124 = !lean_is_exclusive(x_1123); +if (x_1124 == 0) +{ +lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; +x_1125 = lean_ctor_get(x_1123, 0); +x_1126 = l_Lean_Elab_Term_toParserDescrAux___main___closed__139; +lean_inc(x_1121); lean_inc(x_1125); -lean_inc(x_1124); -lean_dec(x_1102); -x_1126 = l_Lean_Elab_Term_toParserDescrAux___main___closed__145; -x_1127 = l_Lean_addMacroScope(x_1124, x_1126, x_1100); +x_1127 = l_Lean_addMacroScope(x_1125, x_1126, x_1121); x_1128 = l_Lean_SourceInfo_inhabited___closed__1; -x_1129 = l_Lean_Elab_Term_toParserDescrAux___main___closed__144; -x_1130 = l_Lean_Elab_Term_toParserDescrAux___main___closed__148; +x_1129 = l_Lean_Elab_Term_toParserDescrAux___main___closed__137; +x_1130 = l_Lean_Elab_Term_toParserDescrAux___main___closed__142; x_1131 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1131, 0, x_1128); lean_ctor_set(x_1131, 1, x_1129); @@ -7838,25 +7714,77 @@ lean_ctor_set(x_1131, 2, x_1127); lean_ctor_set(x_1131, 3, x_1130); x_1132 = l_Array_empty___closed__1; x_1133 = lean_array_push(x_1132, x_1131); -x_1134 = l___private_Init_LeanInit_13__quoteName___main(x_1089); +x_1134 = l_Lean_mkStxStrLit(x_1119, x_1128); x_1135 = lean_array_push(x_1132, x_1134); -x_1136 = l_Nat_repr(x_1098); -x_1137 = l_Lean_numLitKind; -x_1138 = l_Lean_mkStxLit(x_1137, x_1136, x_1128); -x_1139 = lean_array_push(x_1135, x_1138); -x_1140 = l_Lean_nullKind___closed__2; -x_1141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1141, 0, x_1140); -lean_ctor_set(x_1141, 1, x_1139); -x_1142 = lean_array_push(x_1133, x_1141); -x_1143 = l_Lean_mkAppStx___closed__8; -x_1144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1144, 0, x_1143); -lean_ctor_set(x_1144, 1, x_1142); -x_1145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1145, 0, x_1144); -lean_ctor_set(x_1145, 1, x_1125); -return x_1145; +x_1136 = l_Lean_Elab_Term_toParserDescrAux___main___closed__145; +x_1137 = l_Lean_addMacroScope(x_1125, x_1136, x_1121); +x_1138 = l_Lean_Elab_Term_toParserDescrAux___main___closed__144; +x_1139 = l_Lean_Elab_Term_toParserDescrAux___main___closed__149; +x_1140 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1140, 0, x_1128); +lean_ctor_set(x_1140, 1, x_1138); +lean_ctor_set(x_1140, 2, x_1137); +lean_ctor_set(x_1140, 3, x_1139); +x_1141 = lean_array_push(x_1135, x_1140); +x_1142 = l_Lean_nullKind___closed__2; +x_1143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1143, 0, x_1142); +lean_ctor_set(x_1143, 1, x_1141); +x_1144 = lean_array_push(x_1133, x_1143); +x_1145 = l_Lean_mkAppStx___closed__8; +x_1146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1146, 0, x_1145); +lean_ctor_set(x_1146, 1, x_1144); +lean_ctor_set(x_1123, 0, x_1146); +return x_1123; +} +else +{ +lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; +x_1147 = lean_ctor_get(x_1123, 0); +x_1148 = lean_ctor_get(x_1123, 1); +lean_inc(x_1148); +lean_inc(x_1147); +lean_dec(x_1123); +x_1149 = l_Lean_Elab_Term_toParserDescrAux___main___closed__139; +lean_inc(x_1121); +lean_inc(x_1147); +x_1150 = l_Lean_addMacroScope(x_1147, x_1149, x_1121); +x_1151 = l_Lean_SourceInfo_inhabited___closed__1; +x_1152 = l_Lean_Elab_Term_toParserDescrAux___main___closed__137; +x_1153 = l_Lean_Elab_Term_toParserDescrAux___main___closed__142; +x_1154 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1154, 0, x_1151); +lean_ctor_set(x_1154, 1, x_1152); +lean_ctor_set(x_1154, 2, x_1150); +lean_ctor_set(x_1154, 3, x_1153); +x_1155 = l_Array_empty___closed__1; +x_1156 = lean_array_push(x_1155, x_1154); +x_1157 = l_Lean_mkStxStrLit(x_1119, x_1151); +x_1158 = lean_array_push(x_1155, x_1157); +x_1159 = l_Lean_Elab_Term_toParserDescrAux___main___closed__145; +x_1160 = l_Lean_addMacroScope(x_1147, x_1159, x_1121); +x_1161 = l_Lean_Elab_Term_toParserDescrAux___main___closed__144; +x_1162 = l_Lean_Elab_Term_toParserDescrAux___main___closed__149; +x_1163 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1163, 0, x_1151); +lean_ctor_set(x_1163, 1, x_1161); +lean_ctor_set(x_1163, 2, x_1160); +lean_ctor_set(x_1163, 3, x_1162); +x_1164 = lean_array_push(x_1158, x_1163); +x_1165 = l_Lean_nullKind___closed__2; +x_1166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1166, 0, x_1165); +lean_ctor_set(x_1166, 1, x_1164); +x_1167 = lean_array_push(x_1156, x_1166); +x_1168 = l_Lean_mkAppStx___closed__8; +x_1169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1169, 0, x_1168); +lean_ctor_set(x_1169, 1, x_1167); +x_1170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1170, 0, x_1169); +lean_ctor_set(x_1170, 1, x_1148); +return x_1170; } } } @@ -7864,188 +7792,613 @@ return x_1145; } else { -lean_object* x_1231; lean_object* x_1232; +lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; uint8_t x_1308; lean_dec(x_11); -x_1231 = lean_unsigned_to_nat(1u); -x_1232 = l_Lean_Syntax_getArg(x_1, x_1231); -lean_dec(x_1); -x_1 = x_1232; -goto _start; -} +x_1171 = lean_unsigned_to_nat(0u); +x_1172 = l_Lean_Syntax_getIdAt(x_1, x_1171); +x_1173 = l_Lean_Name_eraseMacroScopes(x_1172); +lean_dec(x_1172); +x_1308 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +if (x_1308 == 0) +{ +lean_object* x_1309; +x_1309 = lean_box(0); +x_1174 = x_1309; +goto block_1307; } else { -lean_object* x_1234; lean_object* x_1235; -lean_dec(x_11); -x_1234 = lean_unsigned_to_nat(0u); -x_1235 = l_Lean_Syntax_getArg(x_1, x_1234); -lean_dec(x_1); -x_1 = x_1235; -goto _start; -} +lean_object* x_1310; uint8_t x_1311; +x_1310 = lean_ctor_get(x_2, 0); +lean_inc(x_1310); +x_1311 = lean_name_eq(x_1173, x_1310); +lean_dec(x_1310); +if (x_1311 == 0) +{ +lean_object* x_1312; +x_1312 = lean_box(0); +x_1174 = x_1312; +goto block_1307; } else { -lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; -lean_dec(x_11); -x_1237 = l_Lean_Syntax_getArgs(x_1); -x_1238 = lean_unsigned_to_nat(0u); -x_1239 = l_Lean_Syntax_getArg(x_1, x_1238); -lean_inc(x_8); -x_1240 = l_Lean_Elab_Term_checkLeftRec(x_1239, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_1240) == 0) -{ -lean_object* x_1241; uint8_t x_1242; -x_1241 = lean_ctor_get(x_1240, 0); -lean_inc(x_1241); -x_1242 = lean_unbox(x_1241); -lean_dec(x_1241); -if (x_1242 == 0) -{ -lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; +lean_object* x_1313; lean_object* x_1314; +lean_dec(x_1173); +x_1313 = l_Lean_Elab_Term_toParserDescrAux___main___closed__178; +x_1314 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_1313, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_1243 = lean_ctor_get(x_1240, 1); -lean_inc(x_1243); -lean_dec(x_1240); -x_1244 = x_1237; -x_1245 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__3___boxed), 11, 2); -lean_closure_set(x_1245, 0, x_1238); -lean_closure_set(x_1245, 1, x_1244); -x_1246 = x_1245; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -x_1247 = lean_apply_9(x_1246, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1243); -if (lean_obj_tag(x_1247) == 0) +return x_1314; +} +} +block_1307: { -lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; +lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; uint8_t x_1231; +lean_dec(x_1174); +x_1175 = lean_unsigned_to_nat(1u); +x_1176 = l_Lean_Syntax_getArg(x_1, x_1175); +x_1177 = l_Lean_Elab_Term_expandOptPrecedence(x_1176); +lean_dec(x_1176); +x_1178 = lean_st_ref_get(x_9, x_10); +x_1179 = lean_ctor_get(x_1178, 0); +lean_inc(x_1179); +x_1180 = lean_ctor_get(x_1178, 1); +lean_inc(x_1180); +lean_dec(x_1178); +x_1181 = lean_ctor_get(x_1179, 0); +lean_inc(x_1181); +lean_dec(x_1179); +x_1231 = l_Lean_Parser_isParserCategory(x_1181, x_1173); +if (x_1231 == 0) +{ +lean_object* x_1232; +lean_inc(x_1173); +x_1232 = l_Lean_Elab_Term_resolveGlobalConst(x_1173, x_4, x_5, x_6, x_7, x_8, x_9, x_1180); +if (lean_obj_tag(x_1232) == 0) +{ +lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; +x_1233 = lean_ctor_get(x_1232, 0); +lean_inc(x_1233); +x_1234 = lean_ctor_get(x_1232, 1); +lean_inc(x_1234); +lean_dec(x_1232); +x_1235 = lean_box(0); +x_1236 = l_List_filterAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(x_1181, x_1233, x_1235); +if (lean_obj_tag(x_1236) == 0) +{ +lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; +lean_dec(x_1177); +x_1237 = lean_unsigned_to_nat(3u); +x_1238 = l_Lean_Syntax_getArg(x_1, x_1237); +lean_dec(x_1); +x_1239 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1239, 0, x_1173); +x_1240 = l_Lean_Elab_Term_toParserDescrAux___main___closed__159; +x_1241 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1241, 0, x_1240); +lean_ctor_set(x_1241, 1, x_1239); +x_1242 = l_Lean_Elab_Term_toParserDescrAux___main___closed__162; +x_1243 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1243, 0, x_1241); +lean_ctor_set(x_1243, 1, x_1242); +x_1244 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1238, x_1243, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1234); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1238); +return x_1244; +} +else +{ +lean_object* x_1245; +lean_dec(x_1173); +x_1245 = lean_ctor_get(x_1236, 1); +lean_inc(x_1245); +if (lean_obj_tag(x_1245) == 0) +{ +if (lean_obj_tag(x_1177) == 0) +{ +lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; uint8_t x_1251; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_1246 = lean_ctor_get(x_1236, 0); +lean_inc(x_1246); +lean_dec(x_1236); +x_1247 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1234); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); x_1248 = lean_ctor_get(x_1247, 0); lean_inc(x_1248); x_1249 = lean_ctor_get(x_1247, 1); lean_inc(x_1249); lean_dec(x_1247); -x_1250 = l___private_Lean_Elab_Syntax_1__mkParserSeq(x_1248, x_4, x_5, x_6, x_7, x_8, x_9, x_1249); +x_1250 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1249); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1248); +x_1251 = !lean_is_exclusive(x_1250); +if (x_1251 == 0) +{ +lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; +x_1252 = lean_ctor_get(x_1250, 0); +x_1253 = l_Lean_Elab_Term_toParserDescrAux___main___closed__166; +x_1254 = l_Lean_addMacroScope(x_1252, x_1253, x_1248); +x_1255 = l_Lean_SourceInfo_inhabited___closed__1; +x_1256 = l_Lean_Elab_Term_toParserDescrAux___main___closed__165; +x_1257 = l_Lean_Elab_Term_toParserDescrAux___main___closed__169; +x_1258 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1258, 0, x_1255); +lean_ctor_set(x_1258, 1, x_1256); +lean_ctor_set(x_1258, 2, x_1254); +lean_ctor_set(x_1258, 3, x_1257); +x_1259 = l_Array_empty___closed__1; +x_1260 = lean_array_push(x_1259, x_1258); +x_1261 = l___private_Init_LeanInit_13__quoteName___main(x_1246); +x_1262 = lean_array_push(x_1259, x_1261); +x_1263 = l_Lean_nullKind___closed__2; +x_1264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1264, 0, x_1263); +lean_ctor_set(x_1264, 1, x_1262); +x_1265 = lean_array_push(x_1260, x_1264); +x_1266 = l_Lean_mkAppStx___closed__8; +x_1267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1267, 0, x_1266); +lean_ctor_set(x_1267, 1, x_1265); +lean_ctor_set(x_1250, 0, x_1267); return x_1250; } else { -uint8_t x_1251; +lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; +x_1268 = lean_ctor_get(x_1250, 0); +x_1269 = lean_ctor_get(x_1250, 1); +lean_inc(x_1269); +lean_inc(x_1268); +lean_dec(x_1250); +x_1270 = l_Lean_Elab_Term_toParserDescrAux___main___closed__166; +x_1271 = l_Lean_addMacroScope(x_1268, x_1270, x_1248); +x_1272 = l_Lean_SourceInfo_inhabited___closed__1; +x_1273 = l_Lean_Elab_Term_toParserDescrAux___main___closed__165; +x_1274 = l_Lean_Elab_Term_toParserDescrAux___main___closed__169; +x_1275 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1275, 0, x_1272); +lean_ctor_set(x_1275, 1, x_1273); +lean_ctor_set(x_1275, 2, x_1271); +lean_ctor_set(x_1275, 3, x_1274); +x_1276 = l_Array_empty___closed__1; +x_1277 = lean_array_push(x_1276, x_1275); +x_1278 = l___private_Init_LeanInit_13__quoteName___main(x_1246); +x_1279 = lean_array_push(x_1276, x_1278); +x_1280 = l_Lean_nullKind___closed__2; +x_1281 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1281, 0, x_1280); +lean_ctor_set(x_1281, 1, x_1279); +x_1282 = lean_array_push(x_1277, x_1281); +x_1283 = l_Lean_mkAppStx___closed__8; +x_1284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1284, 0, x_1283); +lean_ctor_set(x_1284, 1, x_1282); +x_1285 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1285, 0, x_1284); +lean_ctor_set(x_1285, 1, x_1269); +return x_1285; +} +} +else +{ +lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; uint8_t x_1290; +lean_dec(x_1236); +lean_dec(x_1177); +x_1286 = lean_unsigned_to_nat(3u); +x_1287 = l_Lean_Syntax_getArg(x_1, x_1286); +lean_dec(x_1); +x_1288 = l_Lean_Elab_Term_toParserDescrAux___main___closed__172; +x_1289 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1287, x_1288, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1234); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1287); +x_1290 = !lean_is_exclusive(x_1289); +if (x_1290 == 0) +{ +return x_1289; +} +else +{ +lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; +x_1291 = lean_ctor_get(x_1289, 0); +x_1292 = lean_ctor_get(x_1289, 1); +lean_inc(x_1292); +lean_inc(x_1291); +lean_dec(x_1289); +x_1293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1293, 0, x_1291); +lean_ctor_set(x_1293, 1, x_1292); +return x_1293; +} +} +} +else +{ +lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; +lean_dec(x_1245); +lean_dec(x_1177); +x_1294 = lean_unsigned_to_nat(3u); +x_1295 = l_Lean_Syntax_getArg(x_1, x_1294); +lean_dec(x_1); +x_1296 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1236); +x_1297 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1297, 0, x_1296); +x_1298 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1298, 0, x_1297); +x_1299 = l_Lean_Elab_Term_toParserDescrAux___main___closed__175; +x_1300 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1300, 0, x_1299); +lean_ctor_set(x_1300, 1, x_1298); +x_1301 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1295, x_1300, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1234); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1295); +return x_1301; +} +} +} +else +{ +uint8_t x_1302; +lean_dec(x_1181); +lean_dec(x_1177); +lean_dec(x_1173); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_1251 = !lean_is_exclusive(x_1247); -if (x_1251 == 0) -{ -return x_1247; -} -else -{ -lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; -x_1252 = lean_ctor_get(x_1247, 0); -x_1253 = lean_ctor_get(x_1247, 1); -lean_inc(x_1253); -lean_inc(x_1252); -lean_dec(x_1247); -x_1254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1254, 0, x_1252); -lean_ctor_set(x_1254, 1, x_1253); -return x_1254; -} -} -} -else -{ -lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; uint8_t x_1258; -x_1255 = lean_ctor_get(x_1240, 1); -lean_inc(x_1255); -lean_dec(x_1240); -x_1256 = lean_array_get_size(x_1237); -x_1257 = lean_unsigned_to_nat(1u); -x_1258 = lean_nat_dec_eq(x_1256, x_1257); -lean_dec(x_1256); -if (x_1258 == 0) -{ -lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_1259 = l_Array_eraseIdx___rarg(x_1237, x_1238); -x_1260 = x_1259; -x_1261 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__3___boxed), 11, 2); -lean_closure_set(x_1261, 0, x_1238); -lean_closure_set(x_1261, 1, x_1260); -x_1262 = x_1261; +x_1302 = !lean_is_exclusive(x_1232); +if (x_1302 == 0) +{ +return x_1232; +} +else +{ +lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; +x_1303 = lean_ctor_get(x_1232, 0); +x_1304 = lean_ctor_get(x_1232, 1); +lean_inc(x_1304); +lean_inc(x_1303); +lean_dec(x_1232); +x_1305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1305, 0, x_1303); +lean_ctor_set(x_1305, 1, x_1304); +return x_1305; +} +} +} +else +{ +lean_dec(x_1181); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +if (lean_obj_tag(x_1177) == 0) +{ +x_1182 = x_1171; +goto block_1230; +} +else +{ +lean_object* x_1306; +x_1306 = lean_ctor_get(x_1177, 0); +lean_inc(x_1306); +lean_dec(x_1177); +x_1182 = x_1306; +goto block_1230; +} +} +block_1230: +{ +lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; uint8_t x_1187; +x_1183 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1180); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_1184 = lean_ctor_get(x_1183, 0); +lean_inc(x_1184); +x_1185 = lean_ctor_get(x_1183, 1); +lean_inc(x_1185); +lean_dec(x_1183); +x_1186 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1185); +lean_dec(x_9); +x_1187 = !lean_is_exclusive(x_1186); +if (x_1187 == 0) +{ +lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; +x_1188 = lean_ctor_get(x_1186, 0); +x_1189 = l_Lean_Elab_Term_toParserDescrAux___main___closed__153; +x_1190 = l_Lean_addMacroScope(x_1188, x_1189, x_1184); +x_1191 = l_Lean_SourceInfo_inhabited___closed__1; +x_1192 = l_Lean_Elab_Term_toParserDescrAux___main___closed__152; +x_1193 = l_Lean_Elab_Term_toParserDescrAux___main___closed__156; +x_1194 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1194, 0, x_1191); +lean_ctor_set(x_1194, 1, x_1192); +lean_ctor_set(x_1194, 2, x_1190); +lean_ctor_set(x_1194, 3, x_1193); +x_1195 = l_Array_empty___closed__1; +x_1196 = lean_array_push(x_1195, x_1194); +x_1197 = l___private_Init_LeanInit_13__quoteName___main(x_1173); +x_1198 = lean_array_push(x_1195, x_1197); +x_1199 = l_Nat_repr(x_1182); +x_1200 = l_Lean_numLitKind; +x_1201 = l_Lean_mkStxLit(x_1200, x_1199, x_1191); +x_1202 = lean_array_push(x_1198, x_1201); +x_1203 = l_Lean_nullKind___closed__2; +x_1204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1204, 0, x_1203); +lean_ctor_set(x_1204, 1, x_1202); +x_1205 = lean_array_push(x_1196, x_1204); +x_1206 = l_Lean_mkAppStx___closed__8; +x_1207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1207, 0, x_1206); +lean_ctor_set(x_1207, 1, x_1205); +lean_ctor_set(x_1186, 0, x_1207); +return x_1186; +} +else +{ +lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; +x_1208 = lean_ctor_get(x_1186, 0); +x_1209 = lean_ctor_get(x_1186, 1); +lean_inc(x_1209); +lean_inc(x_1208); +lean_dec(x_1186); +x_1210 = l_Lean_Elab_Term_toParserDescrAux___main___closed__153; +x_1211 = l_Lean_addMacroScope(x_1208, x_1210, x_1184); +x_1212 = l_Lean_SourceInfo_inhabited___closed__1; +x_1213 = l_Lean_Elab_Term_toParserDescrAux___main___closed__152; +x_1214 = l_Lean_Elab_Term_toParserDescrAux___main___closed__156; +x_1215 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1215, 0, x_1212); +lean_ctor_set(x_1215, 1, x_1213); +lean_ctor_set(x_1215, 2, x_1211); +lean_ctor_set(x_1215, 3, x_1214); +x_1216 = l_Array_empty___closed__1; +x_1217 = lean_array_push(x_1216, x_1215); +x_1218 = l___private_Init_LeanInit_13__quoteName___main(x_1173); +x_1219 = lean_array_push(x_1216, x_1218); +x_1220 = l_Nat_repr(x_1182); +x_1221 = l_Lean_numLitKind; +x_1222 = l_Lean_mkStxLit(x_1221, x_1220, x_1212); +x_1223 = lean_array_push(x_1219, x_1222); +x_1224 = l_Lean_nullKind___closed__2; +x_1225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1225, 0, x_1224); +lean_ctor_set(x_1225, 1, x_1223); +x_1226 = lean_array_push(x_1217, x_1225); +x_1227 = l_Lean_mkAppStx___closed__8; +x_1228 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1228, 0, x_1227); +lean_ctor_set(x_1228, 1, x_1226); +x_1229 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1229, 0, x_1228); +lean_ctor_set(x_1229, 1, x_1209); +return x_1229; +} +} +} +} +} +else +{ +lean_object* x_1315; lean_object* x_1316; +lean_dec(x_11); +x_1315 = lean_unsigned_to_nat(1u); +x_1316 = l_Lean_Syntax_getArg(x_1, x_1315); +lean_dec(x_1); +x_1 = x_1316; +goto _start; +} +} +else +{ +lean_object* x_1318; lean_object* x_1319; +lean_dec(x_11); +x_1318 = lean_unsigned_to_nat(0u); +x_1319 = l_Lean_Syntax_getArg(x_1, x_1318); +lean_dec(x_1); +x_1 = x_1319; +goto _start; +} +} +else +{ +lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; +lean_dec(x_11); +x_1321 = l_Lean_Syntax_getArgs(x_1); +x_1322 = lean_unsigned_to_nat(0u); +x_1323 = l_Lean_Syntax_getArg(x_1, x_1322); +lean_inc(x_8); +x_1324 = l_Lean_Elab_Term_checkLeftRec(x_1323, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_1324) == 0) +{ +lean_object* x_1325; uint8_t x_1326; +x_1325 = lean_ctor_get(x_1324, 0); +lean_inc(x_1325); +x_1326 = lean_unbox(x_1325); +lean_dec(x_1325); +if (x_1326 == 0) +{ +lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; +lean_dec(x_1); +x_1327 = lean_ctor_get(x_1324, 1); +lean_inc(x_1327); +lean_dec(x_1324); +x_1328 = x_1321; +x_1329 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__3___boxed), 11, 2); +lean_closure_set(x_1329, 0, x_1322); +lean_closure_set(x_1329, 1, x_1328); +x_1330 = x_1329; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_1263 = lean_apply_9(x_1262, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1255); -if (lean_obj_tag(x_1263) == 0) +x_1331 = lean_apply_9(x_1330, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1327); +if (lean_obj_tag(x_1331) == 0) { -lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; -x_1264 = lean_ctor_get(x_1263, 0); -lean_inc(x_1264); -x_1265 = lean_ctor_get(x_1263, 1); -lean_inc(x_1265); -lean_dec(x_1263); -x_1266 = l___private_Lean_Elab_Syntax_1__mkParserSeq(x_1264, x_4, x_5, x_6, x_7, x_8, x_9, x_1265); +lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; +x_1332 = lean_ctor_get(x_1331, 0); +lean_inc(x_1332); +x_1333 = lean_ctor_get(x_1331, 1); +lean_inc(x_1333); +lean_dec(x_1331); +x_1334 = l___private_Lean_Elab_Syntax_1__mkParserSeq(x_1332, x_4, x_5, x_6, x_7, x_8, x_9, x_1333); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_1264); -return x_1266; +lean_dec(x_1332); +return x_1334; } else { -uint8_t x_1267; +uint8_t x_1335; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_1267 = !lean_is_exclusive(x_1263); -if (x_1267 == 0) +x_1335 = !lean_is_exclusive(x_1331); +if (x_1335 == 0) { -return x_1263; +return x_1331; } else { -lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; -x_1268 = lean_ctor_get(x_1263, 0); -x_1269 = lean_ctor_get(x_1263, 1); -lean_inc(x_1269); -lean_inc(x_1268); -lean_dec(x_1263); -x_1270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1270, 0, x_1268); -lean_ctor_set(x_1270, 1, x_1269); -return x_1270; +lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; +x_1336 = lean_ctor_get(x_1331, 0); +x_1337 = lean_ctor_get(x_1331, 1); +lean_inc(x_1337); +lean_inc(x_1336); +lean_dec(x_1331); +x_1338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1338, 0, x_1336); +lean_ctor_set(x_1338, 1, x_1337); +return x_1338; } } } else { -lean_object* x_1271; lean_object* x_1272; uint8_t x_1273; -lean_dec(x_1237); -x_1271 = l_Lean_Elab_Term_toParserDescrAux___main___closed__170; -x_1272 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_1271, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1255); +lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; uint8_t x_1342; +x_1339 = lean_ctor_get(x_1324, 1); +lean_inc(x_1339); +lean_dec(x_1324); +x_1340 = lean_array_get_size(x_1321); +x_1341 = lean_unsigned_to_nat(1u); +x_1342 = lean_nat_dec_eq(x_1340, x_1341); +lean_dec(x_1340); +if (x_1342 == 0) +{ +lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; +lean_dec(x_1); +x_1343 = l_Array_eraseIdx___rarg(x_1321, x_1322); +x_1344 = x_1343; +x_1345 = lean_alloc_closure((void*)(l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__3___boxed), 11, 2); +lean_closure_set(x_1345, 0, x_1322); +lean_closure_set(x_1345, 1, x_1344); +x_1346 = x_1345; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_1347 = lean_apply_9(x_1346, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1339); +if (lean_obj_tag(x_1347) == 0) +{ +lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; +x_1348 = lean_ctor_get(x_1347, 0); +lean_inc(x_1348); +x_1349 = lean_ctor_get(x_1347, 1); +lean_inc(x_1349); +lean_dec(x_1347); +x_1350 = l___private_Lean_Elab_Syntax_1__mkParserSeq(x_1348, x_4, x_5, x_6, x_7, x_8, x_9, x_1349); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1348); +return x_1350; +} +else +{ +uint8_t x_1351; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_1351 = !lean_is_exclusive(x_1347); +if (x_1351 == 0) +{ +return x_1347; +} +else +{ +lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; +x_1352 = lean_ctor_get(x_1347, 0); +x_1353 = lean_ctor_get(x_1347, 1); +lean_inc(x_1353); +lean_inc(x_1352); +lean_dec(x_1347); +x_1354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1354, 0, x_1352); +lean_ctor_set(x_1354, 1, x_1353); +return x_1354; +} +} +} +else +{ +lean_object* x_1355; lean_object* x_1356; uint8_t x_1357; +lean_dec(x_1321); +x_1355 = l_Lean_Elab_Term_toParserDescrAux___main___closed__178; +x_1356 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_1355, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1339); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -8054,31 +8407,31 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1273 = !lean_is_exclusive(x_1272); -if (x_1273 == 0) +x_1357 = !lean_is_exclusive(x_1356); +if (x_1357 == 0) { -return x_1272; +return x_1356; } else { -lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; -x_1274 = lean_ctor_get(x_1272, 0); -x_1275 = lean_ctor_get(x_1272, 1); -lean_inc(x_1275); -lean_inc(x_1274); -lean_dec(x_1272); -x_1276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1276, 0, x_1274); -lean_ctor_set(x_1276, 1, x_1275); -return x_1276; +lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; +x_1358 = lean_ctor_get(x_1356, 0); +x_1359 = lean_ctor_get(x_1356, 1); +lean_inc(x_1359); +lean_inc(x_1358); +lean_dec(x_1356); +x_1360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1360, 0, x_1358); +lean_ctor_set(x_1360, 1, x_1359); +return x_1360; } } } } else { -uint8_t x_1277; -lean_dec(x_1237); +uint8_t x_1361; +lean_dec(x_1321); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -8088,23 +8441,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1277 = !lean_is_exclusive(x_1240); -if (x_1277 == 0) +x_1361 = !lean_is_exclusive(x_1324); +if (x_1361 == 0) { -return x_1240; +return x_1324; } else { -lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; -x_1278 = lean_ctor_get(x_1240, 0); -x_1279 = lean_ctor_get(x_1240, 1); -lean_inc(x_1279); -lean_inc(x_1278); -lean_dec(x_1240); -x_1280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1280, 0, x_1278); -lean_ctor_set(x_1280, 1, x_1279); -return x_1280; +lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; +x_1362 = lean_ctor_get(x_1324, 0); +x_1363 = lean_ctor_get(x_1324, 1); +lean_inc(x_1363); +lean_inc(x_1362); +lean_dec(x_1324); +x_1364 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1364, 0, x_1362); +lean_ctor_set(x_1364, 1, x_1363); +return x_1364; } } } @@ -8717,7 +9070,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__124; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__132; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -8772,7 +9125,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__146; +x_2 = l_Lean_Elab_Term_toParserDescrAux___main___closed__154; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -9028,7 +9381,7 @@ lean_ctor_set(x_82, 1, x_80); lean_ctor_set(x_82, 2, x_79); lean_ctor_set(x_82, 3, x_81); x_83 = lean_array_push(x_24, x_82); -x_84 = l_Lean_Elab_Term_toParserDescrAux___main___closed__124; +x_84 = l_Lean_Elab_Term_toParserDescrAux___main___closed__132; lean_inc(x_13); lean_inc(x_16); x_85 = l_Lean_addMacroScope(x_16, x_84, x_13); @@ -9065,7 +9418,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_array_push(x_24, x_104); -x_106 = l_Lean_Elab_Term_toParserDescrAux___main___closed__146; +x_106 = l_Lean_Elab_Term_toParserDescrAux___main___closed__154; x_107 = l_Lean_addMacroScope(x_16, x_106, x_13); x_108 = l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__49; x_109 = l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__51; @@ -10165,7 +10518,7 @@ x_302 = l_Lean_Syntax_getArg(x_1, x_9); lean_dec(x_1); x_303 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_303, 0, x_11); -x_304 = l_Lean_Elab_Term_toParserDescrAux___main___closed__151; +x_304 = l_Lean_Elab_Term_toParserDescrAux___main___closed__159; x_305 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_305, 0, x_304); lean_ctor_set(x_305, 1, x_303); @@ -21149,6 +21502,22 @@ l_Lean_Elab_Term_toParserDescrAux___main___closed__169 = _init_l_Lean_Elab_Term_ lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__169); l_Lean_Elab_Term_toParserDescrAux___main___closed__170 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__170(); lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__170); +l_Lean_Elab_Term_toParserDescrAux___main___closed__171 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__171(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__171); +l_Lean_Elab_Term_toParserDescrAux___main___closed__172 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__172(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__172); +l_Lean_Elab_Term_toParserDescrAux___main___closed__173 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__173(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__173); +l_Lean_Elab_Term_toParserDescrAux___main___closed__174 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__174(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__174); +l_Lean_Elab_Term_toParserDescrAux___main___closed__175 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__175(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__175); +l_Lean_Elab_Term_toParserDescrAux___main___closed__176 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__176(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__176); +l_Lean_Elab_Term_toParserDescrAux___main___closed__177 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__177(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__177); +l_Lean_Elab_Term_toParserDescrAux___main___closed__178 = _init_l_Lean_Elab_Term_toParserDescrAux___main___closed__178(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___main___closed__178); l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__1 = _init_l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__1); l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__2 = _init_l___private_Lean_Elab_Syntax_6__declareSyntaxCatQuotParser___closed__2();