diff --git a/stage0/src/Lean/Elab/Syntax.lean b/stage0/src/Lean/Elab/Syntax.lean index caf79afa37..e489341de3 100644 --- a/stage0/src/Lean/Elab/Syntax.lean +++ b/stage0/src/Lean/Elab/Syntax.lean @@ -131,6 +131,13 @@ partial def toParserDescrAux (stx : Syntax) : ToParserDescrM Syntax := do else if kind == `Lean.Parser.Syntax.try then let d ← withoutLeftRec $ toParserDescrAux stx[1] `(ParserDescr.try $d) + else if kind == `Lean.Parser.Syntax.withPosition then + let d ← withoutLeftRec $ toParserDescrAux stx[1] + `(ParserDescr.withPosition $d) + else if kind == `Lean.Parser.Syntax.checkColGt then + `(ParserDescr.checkCol true) + else if kind == `Lean.Parser.Syntax.checkColGe then + `(ParserDescr.checkCol false) else if kind == `Lean.Parser.Syntax.notFollowedBy then let d ← withoutLeftRec $ toParserDescrAux stx[1] `(ParserDescr.notFollowedBy $d) diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index ca82484bf8..bbbce037f9 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -21,6 +21,7 @@ lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Term_toParserDescrAux___spec__9_ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__34; lean_object* l_Lean_Elab_Command_expandElab___closed__43; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; +extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__10; lean_object* l_Lean_Elab_Command_expandMixfix___closed__28; lean_object* l_Lean_Elab_Command_expandMixfix___closed__18; lean_object* l_Lean_Elab_Command_expandMixfix___closed__15; @@ -61,6 +62,7 @@ lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__3; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__148; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__15; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__196; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev_match__1(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__58; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -83,6 +85,7 @@ extern lean_object* l_Lean_Parser_leadPrec; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___closed__3; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev_match__1___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__192; uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax(lean_object*); extern lean_object* l_Lean_identKind___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__1___closed__1; @@ -170,6 +173,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__56; uint8_t lean_name_eq(lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Data_ToString_Macro___hyg_2____closed__12; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__117; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__185; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__149; lean_object* l_Lean_Elab_Command_expandElab___closed__35; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__66; @@ -180,6 +184,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__92; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__6; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__52; +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9630____closed__1; extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_955____closed__14; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29; @@ -286,6 +291,7 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQ extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__11; lean_object* l___regBuiltin_Lean_Elab_Command_elabElab___closed__2; extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__25; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__186; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__105; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3093____closed__4; lean_object* l_Lean_Elab_Term_expandOptPrecedence___closed__1; @@ -303,6 +309,7 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object* lean_object* l_Lean_Elab_Term_checkLeftRec___closed__4; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__71; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__63; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__190; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__1___closed__3; lean_object* l_Lean_Elab_Command_expandMacroHeadIntoPattern(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -317,11 +324,13 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__106; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__158; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__11; +extern lean_object* l_Lean_setOptionFromString___closed__4; extern lean_object* l___private_Init_LeanInit_0__Lean_eraseMacroScopesAux___closed__3; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; lean_object* l_Lean_Elab_Command_expandElab___closed__49; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__7; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__177; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__24; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51; @@ -359,7 +368,6 @@ extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9373____closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__52; extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__1; @@ -389,9 +397,10 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQ lean_object* l_Lean_Elab_Term_toParserDescrAux_match__5___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind___closed__1; lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9373_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9630_(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__2___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__176; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__125; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__8; lean_object* l_Lean_Elab_Command_expandElab___closed__26; @@ -404,6 +413,7 @@ lean_object* l_Lean_Elab_Command_withExpectedType_match__1___rarg(lean_object*, extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRules___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__181; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__166; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; @@ -433,6 +443,7 @@ extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_461____closed__9; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withExpectedType___closed__1; lean_object* l_Lean_Elab_Command_expandElab___closed__42; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__184; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__76; lean_object* l_Lean_Elab_Command_elabMacroRules(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_elabModifiers___rarg___lambda__3___closed__2; @@ -467,6 +478,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__80; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__6; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__2; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__182; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__155; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__2(lean_object*); @@ -502,6 +514,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__162; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__6; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__48; lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_toParserDescrAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__195; uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__3; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix___closed__3; @@ -512,6 +525,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__119; extern lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__9; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRules___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___closed__1; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__191; extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__23; @@ -519,6 +533,7 @@ lean_object* l_Lean_Elab_Command_expandMixfix___closed__19; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__10; lean_object* l_Lean_Elab_Command_expandMixfix___closed__11; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__193; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__25; extern lean_object* l_Lean_setOptionFromString___closed__5; @@ -530,11 +545,13 @@ lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean lean_object* l_Lean_Elab_Command_expandMacroHeadIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Tactics___hyg_720____closed__1; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_mkSorry___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3___closed__4; lean_object* l_Lean_Elab_Command_expandOptPrio(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__86; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__10; lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__6; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__178; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__46; lean_object* l_Lean_Elab_Command_expandElab___closed__46; @@ -614,6 +631,7 @@ lean_object* lean_environment_main_module(lean_object*); extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__13; lean_object* l_Lean_Elab_Command_expandElab___closed__16; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__180; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__3; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat___closed__3; @@ -649,6 +667,7 @@ lean_object* l_Lean_Elab_Command_expandElab___closed__34; extern lean_object* l_Lean_Parser_categoryParserFnImpl___closed__3; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__12; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__179; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__107; @@ -669,8 +688,10 @@ lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__8___ lean_object* l_Lean_Elab_Command_elabSyntax___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_setEnv___at_Lean_Elab_Command_elabInitQuot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescrAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_compileParserDescr_visit___closed__14; lean_object* l_Lean_Elab_Command_elabSyntax___closed__2; lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__188; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); extern lean_object* l___kind_tactic____x40_Init_Tactics___hyg_2____closed__2; @@ -686,6 +707,7 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__2(lean_object*, lea extern lean_object* l_Lean_Elab_Tactic_evalIntro___closed__5; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__42; lean_object* l_Lean_Elab_Command_expandElab___closed__11; +extern lean_object* l_Lean_Parser_compileParserDescr_visit___closed__10; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__7; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__36; @@ -705,6 +727,7 @@ lean_object* l_Lean_Elab_Command_withExpectedType_match__1(lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__109; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__183; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__139; lean_object* l___private_Init_LeanInit_0__Array_filterSepElemsMAux___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withoutLeftRec___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -749,6 +772,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__40; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__175; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__140; lean_object* l_Lean_Elab_Command_expandElab(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__189; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__14; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__55; lean_object* l___private_Init_LeanInit_0__Array_filterSepElemsMAux___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -792,6 +816,8 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__159; lean_object* l_Lean_Elab_Command_expandMixfix___closed__20; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__59; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__187; +lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__194; extern lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__2; lean_object* l_Lean_Elab_Command_expandElab___closed__6; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4390,7 +4416,7 @@ static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__14() { _start: { lean_object* x_1; -x_1 = lean_mk_string("notFollowedBy"); +x_1 = lean_mk_string("withPosition"); return x_1; } } @@ -4407,9 +4433,11 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__16() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("lookahead"); -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_compileParserDescr_visit___closed__14; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__17() { @@ -4417,7 +4445,7 @@ _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___closed__16; +x_2 = l_Lean_Parser_compileParserDescr_visit___closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -4425,6 +4453,42 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__18() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("notFollowedBy"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("lookahead"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__20; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__22() { +_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_Parser_interpolatedStrNoAntiquot___closed__1; @@ -4432,47 +4496,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__19() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("sepBy"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__20() { -_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___closed__19; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__21() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("sepBy1"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__22() { -_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___closed__21; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__23() { _start: { lean_object* x_1; -x_1 = lean_mk_string("many"); +x_1 = lean_mk_string("sepBy"); return x_1; } } @@ -4490,7 +4518,7 @@ static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__25() { _start: { lean_object* x_1; -x_1 = lean_mk_string("many1"); +x_1 = lean_mk_string("sepBy1"); return x_1; } } @@ -4508,7 +4536,7 @@ static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__27() { _start: { lean_object* x_1; -x_1 = lean_mk_string("optional"); +x_1 = lean_mk_string("many"); return x_1; } } @@ -4525,6 +4553,42 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__29() { _start: { +lean_object* x_1; +x_1 = lean_mk_string("many1"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__30() { +_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___closed__29; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__31() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("optional"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__32() { +_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___closed__31; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__33() { +_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_myMacro____x40_Init_Tactics___hyg_720____closed__1; @@ -4532,7 +4596,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__30() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__34() { _start: { lean_object* x_1; @@ -4540,16 +4604,16 @@ x_1 = lean_mk_string("unexpected syntax kind of category `syntax`: "); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__31() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__35() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__30; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__34; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__32() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__36() { _start: { lean_object* x_1; @@ -4557,22 +4621,22 @@ x_1 = lean_mk_string("ParserDescr.orelse"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__33() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__37() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__32; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__36; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__34() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__38() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__32; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__36; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__33; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__37; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4580,7 +4644,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__35() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__39() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4590,7 +4654,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__36() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__40() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -4600,31 +4664,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__37() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__36; +x_2 = l_Lean_Elab_Term_toParserDescrAux___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); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__38() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__42() { _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___closed__37; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__41; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__39() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__43() { _start: { lean_object* x_1; @@ -4632,22 +4696,22 @@ x_1 = lean_mk_string("ParserDescr.optional"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__40() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__44() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__39; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__43; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__41() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__45() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__39; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__43; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__40; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__44; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4655,51 +4719,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__42() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__46() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__27; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__31; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__43() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__47() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__27; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__31; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__44() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__43; +x_2 = l_Lean_Elab_Term_toParserDescrAux___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); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__45() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__49() { _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___closed__44; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__48; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__46() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__50() { _start: { lean_object* x_1; @@ -4707,22 +4771,22 @@ x_1 = lean_mk_string("ParserDescr.many1"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__47() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__51() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__46; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__50; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__48() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__52() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__46; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__50; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__47; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__51; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4730,51 +4794,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__49() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__53() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__25; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__50() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__54() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__25; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__29; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__51() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__50; +x_2 = l_Lean_Elab_Term_toParserDescrAux___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); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__52() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__56() { _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___closed__51; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__55; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__53() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__57() { _start: { lean_object* x_1; @@ -4782,22 +4846,22 @@ x_1 = lean_mk_string("ParserDescr.many"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__54() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__58() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__53; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__57; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__55() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__59() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__53; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__57; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__54; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__58; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4805,51 +4869,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__56() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__60() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__23; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__27; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__57() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__61() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__23; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__27; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__58() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__57; +x_2 = l_Lean_Elab_Term_toParserDescrAux___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); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__59() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__63() { _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___closed__58; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__62; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__60() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__64() { _start: { lean_object* x_1; @@ -4857,22 +4921,22 @@ x_1 = lean_mk_string("ParserDescr.sepBy1"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__61() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__65() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__60; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__64; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__62() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__66() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__60; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__64; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__61; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__65; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4880,51 +4944,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__63() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__67() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__21; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__64() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__68() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__21; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__25; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__65() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__64; +x_2 = l_Lean_Elab_Term_toParserDescrAux___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); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__66() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__70() { _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___closed__65; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__69; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__67() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__71() { _start: { lean_object* x_1; @@ -4932,22 +4996,22 @@ x_1 = lean_mk_string("ParserDescr.sepBy"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__68() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__72() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__67; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__71; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__69() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__73() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__67; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__71; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__68; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__72; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4955,51 +5019,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__70() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__74() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__19; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__23; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__71() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__75() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__19; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__23; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__72() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__71; +x_2 = l_Lean_Elab_Term_toParserDescrAux___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); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__73() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__77() { _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___closed__72; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__76; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__74() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__78() { _start: { lean_object* x_1; @@ -5007,22 +5071,22 @@ x_1 = lean_mk_string("ParserDescr.interpolatedStr"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__75() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__79() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__74; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__78; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__76() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__80() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__74; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__78; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__75; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__79; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5030,7 +5094,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__77() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__81() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -5040,7 +5104,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__78() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__82() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -5050,31 +5114,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__79() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__78; +x_2 = l_Lean_Elab_Term_toParserDescrAux___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); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__80() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__84() { _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___closed__79; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__83; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__81() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__85() { _start: { lean_object* x_1; @@ -5082,22 +5146,22 @@ x_1 = lean_mk_string("ParserDescr.lookahead"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__82() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__86() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__81; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__85; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__83() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__87() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__81; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__85; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__82; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__86; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5105,51 +5169,51 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__84() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__88() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__16; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__85() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__89() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__16; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__20; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__86() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__85; +x_2 = l_Lean_Elab_Term_toParserDescrAux___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); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__87() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__91() { _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___closed__86; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__90; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__88() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__92() { _start: { lean_object* x_1; @@ -5157,97 +5221,22 @@ x_1 = lean_mk_string("ParserDescr.notFollowedBy"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__89() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__88; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__90() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__88; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__89; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__91() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__14; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__92() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__14; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__93() { _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___closed__92; -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* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__92; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__94() { _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___closed__93; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__95() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.try"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__96() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__95; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__97() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__95; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__92; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__96; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__93; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5255,74 +5244,74 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__95() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__96() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__18; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___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); +return x_3; +} +} static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__98() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__12; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__99() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__12; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__100() { -_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___closed__99; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__101() { -_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___closed__100; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__97; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__102() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__99() { _start: { lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.noWs"); +x_1 = lean_mk_string("ParserDescr.checkCol"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__103() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__100() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__102; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__99; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__104() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__101() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__102; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__99; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__103; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__100; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5330,542 +5319,84 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__105() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__102() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("checkCol"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__103() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__10; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__102; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__104() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__102; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__105() { +_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___closed__104; +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; +} +} static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__106() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__10; -x_3 = lean_name_mk_string(x_1, x_2); +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Term_toParserDescrAux___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; } } static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__107() { _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___closed__106; -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* x_1; lean_object* x_2; +x_1 = l_Init_Data_Repr___instance__2___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__108() { _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___closed__107; -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* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Init_Data_Repr___instance__2___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__107; +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; } } static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__109() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.ident"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__110() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__109; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__111() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__109; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__110; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__112() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__113() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__114() { -_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___closed__113; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__115() { -_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___closed__114; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__116() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.charLit"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__117() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__116; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__118() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__116; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__117; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__119() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__120() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__121() { -_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___closed__120; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__122() { -_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___closed__121; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__123() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.strLit"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__124() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__123; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__125() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__123; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__124; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__126() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__127() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__128() { -_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___closed__127; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__129() { -_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___closed__128; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__130() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.numLit"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__131() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__130; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__132() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__130; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__131; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__133() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__134() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__135() { -_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___closed__134; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__136() { -_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___closed__135; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__137() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.symbol"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__138() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__137; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__139() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__137; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__138; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__140() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("symbol"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__141() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__140; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__142() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__140; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__143() { -_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___closed__142; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__144() { -_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___closed__143; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__145() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.nonReservedSymbol"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__146() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__145; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__147() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__145; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__146; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__148() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("nonReservedSymbol"); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__149() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__148; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__150() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; -x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__148; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__151() { -_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___closed__150; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__152() { -_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___closed__151; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__153() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Init_Data_Repr___instance__2___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__154() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Init_Data_Repr___instance__2___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__153; -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; -} -} -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__155() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Meta_mkSorry___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3___closed__2; @@ -5875,42 +5406,66 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__156() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__110() { _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___closed__155; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__109; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__157() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__111() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Meta_mkSorry___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3___closed__4; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__112() { +_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___closed__111; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__113() { _start: { lean_object* x_1; -x_1 = lean_mk_string("ParserDescr.cat"); +x_1 = lean_mk_string("ParserDescr.withPosition"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__158() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__114() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__157; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__113; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__159() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__115() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__157; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__113; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__158; +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__114; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5918,17 +5473,708 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__116() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__14; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__117() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__14; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___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); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__119() { +_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___closed__118; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__120() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.try"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__121() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__120; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__122() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__120; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__121; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__123() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__124() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__12; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___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); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__126() { +_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___closed__125; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__127() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.noWs"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__128() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__127; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__129() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__127; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__128; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__130() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__131() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__10; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__132() { +_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___closed__131; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__133() { +_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___closed__132; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__134() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.ident"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__135() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__134; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__136() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__134; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__135; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__137() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__138() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__139() { +_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___closed__138; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__139; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__141() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.charLit"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__142() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__141; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__143() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__141; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__142; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__144() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__145() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__146() { +_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___closed__145; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__146; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__148() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.strLit"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__149() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__148; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__150() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__148; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__149; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__151() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__152() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__153() { +_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___closed__152; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__154() { +_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___closed__153; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__155() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.numLit"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__156() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__155; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___closed__155; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__156; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__158() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__159() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; +} +} static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__160() { _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___closed__159; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__161() { +_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___closed__160; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__162() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.symbol"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__163() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__162; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__164() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__162; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__163; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__165() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("symbol"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__166() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__165; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__167() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__165; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___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___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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__170() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.nonReservedSymbol"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__171() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__170; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__172() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__170; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__171; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__173() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("nonReservedSymbol"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__174() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__173; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__175() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__173; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__176() { +_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___closed__175; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__177() { +_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___closed__176; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__178() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ParserDescr.cat"); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__179() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__178; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__180() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__178; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Elab_Term_toParserDescrAux___closed__179; +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; +} +} +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__181() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__161() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__182() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -5938,31 +6184,31 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__162() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__183() { _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___closed__161; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__182; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__163() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__184() { _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___closed__162; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__183; 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; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__164() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__185() { _start: { lean_object* x_1; @@ -5970,16 +6216,16 @@ x_1 = lean_mk_string("unknown category '"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__165() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__186() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__164; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__185; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__166() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__187() { _start: { lean_object* x_1; @@ -5987,16 +6233,16 @@ x_1 = lean_mk_string("' or parser declaration"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__167() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__188() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__166; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__187; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__168() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__189() { _start: { lean_object* x_1; @@ -6004,27 +6250,27 @@ x_1 = lean_mk_string("unexpected precedence"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__169() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__190() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__168; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__189; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__170() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__191() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__169; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__190; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__171() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__192() { _start: { lean_object* x_1; @@ -6032,16 +6278,16 @@ x_1 = lean_mk_string("ambiguous parser declaration "); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__172() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__193() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__171; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__192; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__173() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__194() { _start: { lean_object* x_1; @@ -6049,21 +6295,21 @@ x_1 = lean_mk_string("invalid atomic left recursive syntax"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__174() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__195() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__173; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__194; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__175() { +static lean_object* _init_l_Lean_Elab_Term_toParserDescrAux___closed__196() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__174; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__195; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -6135,233 +6381,248 @@ 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___closed__17; +x_36 = l_Lean_Elab_Term_toParserDescrAux___closed__16; 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___closed__18; +x_38 = l_Lean_Elab_Term_toParserDescrAux___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___closed__20; +x_40 = l_Lean_Elab_Term_toParserDescrAux___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___closed__22; +x_42 = l_Lean_Elab_Term_toParserDescrAux___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___closed__24; +x_44 = l_Lean_Elab_Term_toParserDescrAux___closed__22; x_45 = lean_name_eq(x_11, x_44); if (x_45 == 0) { lean_object* x_46; uint8_t x_47; -x_46 = l_Lean_Elab_Term_toParserDescrAux___closed__26; +x_46 = l_Lean_Elab_Term_toParserDescrAux___closed__24; x_47 = lean_name_eq(x_11, x_46); if (x_47 == 0) { lean_object* x_48; uint8_t x_49; -x_48 = l_Lean_Elab_Term_toParserDescrAux___closed__28; +x_48 = l_Lean_Elab_Term_toParserDescrAux___closed__26; x_49 = lean_name_eq(x_11, x_48); if (x_49 == 0) { lean_object* x_50; uint8_t x_51; -x_50 = l_Lean_Elab_Term_toParserDescrAux___closed__29; +x_50 = l_Lean_Elab_Term_toParserDescrAux___closed__28; x_51 = lean_name_eq(x_11, x_50); if (x_51 == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_63 = lean_st_ref_get(x_9, x_10); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -lean_dec(x_64); -x_67 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_65); -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_ctor_get(x_8, 1); +lean_object* x_52; uint8_t x_53; +x_52 = l_Lean_Elab_Term_toParserDescrAux___closed__30; +x_53 = lean_name_eq(x_11, x_52); +if (x_53 == 0) +{ +lean_object* x_54; uint8_t x_55; +x_54 = l_Lean_Elab_Term_toParserDescrAux___closed__32; +x_55 = lean_name_eq(x_11, x_54); +if (x_55 == 0) +{ +lean_object* x_56; uint8_t x_57; +x_56 = l_Lean_Elab_Term_toParserDescrAux___closed__33; +x_57 = lean_name_eq(x_11, x_56); +if (x_57 == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_69 = lean_st_ref_get(x_9, x_10); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -x_71 = lean_ctor_get(x_8, 2); +x_71 = lean_ctor_get(x_69, 1); lean_inc(x_71); -x_72 = lean_st_ref_get(x_9, x_69); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); +lean_dec(x_69); +x_72 = lean_ctor_get(x_70, 0); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_71); +x_74 = lean_ctor_get(x_73, 0); lean_inc(x_74); -lean_dec(x_72); x_75 = lean_ctor_get(x_73, 1); lean_inc(x_75); lean_dec(x_73); -lean_inc(x_66); -x_76 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); -lean_closure_set(x_76, 0, x_66); -x_77 = x_76; -x_78 = lean_environment_main_module(x_66); -x_79 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set(x_79, 2, x_68); -lean_ctor_set(x_79, 3, x_70); -lean_ctor_set(x_79, 4, x_71); -lean_inc(x_1); -x_80 = l_Lean_Macro_expandMacro_x3fImp(x_1, x_79, x_75); -if (lean_obj_tag(x_80) == 0) -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_81 = lean_ctor_get(x_80, 0); +x_76 = lean_ctor_get(x_8, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_8, 2); +lean_inc(x_77); +x_78 = lean_st_ref_get(x_9, x_75); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_ctor_get(x_79, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); -lean_dec(x_80); -x_83 = lean_st_ref_take(x_9, x_74); -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = !lean_is_exclusive(x_84); -if (x_86 == 0) +lean_dec(x_79); +lean_inc(x_72); +x_82 = lean_alloc_closure((void*)(l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed), 4, 1); +lean_closure_set(x_82, 0, x_72); +x_83 = x_82; +x_84 = lean_environment_main_module(x_72); +x_85 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +lean_ctor_set(x_85, 2, x_74); +lean_ctor_set(x_85, 3, x_76); +lean_ctor_set(x_85, 4, x_77); +lean_inc(x_1); +x_86 = l_Lean_Macro_expandMacro_x3fImp(x_1, x_85, x_81); +if (lean_obj_tag(x_86) == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_84, 1); -lean_dec(x_87); -lean_ctor_set(x_84, 1, x_82); -x_88 = lean_st_ref_set(x_9, x_84, x_85); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_52 = x_81; -x_53 = x_89; -goto block_62; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_90 = lean_ctor_get(x_84, 0); -x_91 = lean_ctor_get(x_84, 2); -x_92 = lean_ctor_get(x_84, 3); -lean_inc(x_92); -lean_inc(x_91); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; +x_87 = lean_ctor_get(x_86, 0); +lean_inc(x_87); +x_88 = lean_ctor_get(x_86, 1); +lean_inc(x_88); +lean_dec(x_86); +x_89 = lean_st_ref_take(x_9, x_80); +x_90 = lean_ctor_get(x_89, 0); lean_inc(x_90); -lean_dec(x_84); -x_93 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_93, 0, x_90); -lean_ctor_set(x_93, 1, x_82); -lean_ctor_set(x_93, 2, x_91); -lean_ctor_set(x_93, 3, x_92); -x_94 = lean_st_ref_set(x_9, x_93, x_85); +x_91 = lean_ctor_get(x_89, 1); +lean_inc(x_91); +lean_dec(x_89); +x_92 = !lean_is_exclusive(x_90); +if (x_92 == 0) +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_93 = lean_ctor_get(x_90, 1); +lean_dec(x_93); +lean_ctor_set(x_90, 1, x_88); +x_94 = lean_st_ref_set(x_9, x_90, x_91); x_95 = lean_ctor_get(x_94, 1); lean_inc(x_95); lean_dec(x_94); -x_52 = x_81; -x_53 = x_95; -goto block_62; +x_58 = x_87; +x_59 = x_95; +goto block_68; +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_96 = lean_ctor_get(x_90, 0); +x_97 = lean_ctor_get(x_90, 2); +x_98 = lean_ctor_get(x_90, 3); +lean_inc(x_98); +lean_inc(x_97); +lean_inc(x_96); +lean_dec(x_90); +x_99 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_88); +lean_ctor_set(x_99, 2, x_97); +lean_ctor_set(x_99, 3, x_98); +x_100 = lean_st_ref_set(x_9, x_99, x_91); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +lean_dec(x_100); +x_58 = x_87; +x_59 = x_101; +goto block_68; } } else { -lean_object* x_96; +lean_object* x_102; lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_96 = lean_ctor_get(x_80, 0); -lean_inc(x_96); -lean_dec(x_80); -if (lean_obj_tag(x_96) == 0) +x_102 = lean_ctor_get(x_86, 0); +lean_inc(x_102); +lean_dec(x_86); +if (lean_obj_tag(x_102) == 0) { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -lean_dec(x_96); -x_99 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_99, 0, x_98); -x_100 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_100, 0, x_99); -x_101 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___rarg(x_97, x_100, x_4, x_5, x_6, x_7, x_8, x_9, x_74); +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +x_103 = lean_ctor_get(x_102, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_102, 1); +lean_inc(x_104); +lean_dec(x_102); +x_105 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_105, 0, x_104); +x_106 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_106, 0, x_105); +x_107 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___rarg(x_103, x_106, x_4, x_5, x_6, x_7, x_8, x_9, x_80); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_97); -x_102 = !lean_is_exclusive(x_101); -if (x_102 == 0) +lean_dec(x_103); +x_108 = !lean_is_exclusive(x_107); +if (x_108 == 0) { -return x_101; +return x_107; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_101, 0); -x_104 = lean_ctor_get(x_101, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_101); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_107, 0); +x_110 = lean_ctor_get(x_107, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_107); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } else { -lean_object* x_106; uint8_t x_107; +lean_object* x_112; uint8_t x_113; 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_106 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescrAux___spec__1___rarg(x_74); -x_107 = !lean_is_exclusive(x_106); -if (x_107 == 0) +x_112 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescrAux___spec__1___rarg(x_80); +x_113 = !lean_is_exclusive(x_112); +if (x_113 == 0) { -return x_106; +return x_112; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_106, 0); -x_109 = lean_ctor_get(x_106, 1); -lean_inc(x_109); -lean_inc(x_108); -lean_dec(x_106); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; +lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_114 = lean_ctor_get(x_112, 0); +x_115 = lean_ctor_get(x_112, 1); +lean_inc(x_115); +lean_inc(x_114); +lean_dec(x_112); +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_114); +lean_ctor_set(x_116, 1, x_115); +return x_116; } } } -block_62: +block_68: { -if (lean_obj_tag(x_52) == 0) +if (lean_obj_tag(x_58) == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_54 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_54, 0, x_11); -x_55 = l_Lean_Elab_Term_toParserDescrAux___closed__31; -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_58, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_53); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_60 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_60, 0, x_11); +x_61 = l_Lean_Elab_Term_toParserDescrAux___closed__35; +x_62 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +x_65 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_59); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -6370,34 +6631,34 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_59; +return x_65; } else { -lean_object* x_60; +lean_object* x_66; lean_dec(x_11); lean_dec(x_1); -x_60 = lean_ctor_get(x_52, 0); -lean_inc(x_60); -lean_dec(x_52); -x_1 = x_60; -x_10 = x_53; +x_66 = lean_ctor_get(x_58, 0); +lean_inc(x_66); +lean_dec(x_58); +x_1 = x_66; +x_10 = x_59; goto _start; } } } else { -lean_object* x_111; lean_object* x_112; uint8_t x_113; +lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_dec(x_11); -x_111 = lean_unsigned_to_nat(0u); -x_112 = l_Lean_Syntax_getArg(x_1, x_111); -x_113 = !lean_is_exclusive(x_2); -if (x_113 == 0) +x_117 = lean_unsigned_to_nat(0u); +x_118 = l_Lean_Syntax_getArg(x_1, x_117); +x_119 = !lean_is_exclusive(x_2); +if (x_119 == 0) { -uint8_t x_114; lean_object* x_115; -x_114 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_114); +uint8_t x_120; lean_object* x_121; +x_120 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_120); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -6406,17 +6667,17 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_115 = l_Lean_Elab_Term_toParserDescrAux(x_112, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_115) == 0) +x_121 = l_Lean_Elab_Term_toParserDescrAux(x_118, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_121) == 0) { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_116 = lean_ctor_get(x_115, 0); -lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = lean_unsigned_to_nat(2u); -x_119 = l_Lean_Syntax_getArg(x_1, x_118); +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_122 = lean_ctor_get(x_121, 0); +lean_inc(x_122); +x_123 = lean_ctor_get(x_121, 1); +lean_inc(x_123); +lean_dec(x_121); +x_124 = lean_unsigned_to_nat(2u); +x_125 = l_Lean_Syntax_getArg(x_1, x_124); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -6424,129 +6685,129 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_120 = l_Lean_Elab_Term_toParserDescrAux(x_119, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_117); -if (lean_obj_tag(x_120) == 0) +x_126 = l_Lean_Elab_Term_toParserDescrAux(x_125, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_123); +if (lean_obj_tag(x_126) == 0) { -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -lean_dec(x_120); -x_123 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_122); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +lean_dec(x_126); +x_129 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_128); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -lean_dec(x_123); -x_126 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_125); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +lean_dec(x_129); +x_132 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_131); lean_dec(x_9); -x_127 = !lean_is_exclusive(x_126); -if (x_127 == 0) +x_133 = !lean_is_exclusive(x_132); +if (x_133 == 0) { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_128 = lean_ctor_get(x_126, 0); -x_129 = l_Lean_Elab_Term_toParserDescrAux___closed__35; -x_130 = l_Lean_addMacroScope(x_128, x_129, x_124); -x_131 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_132 = l_Lean_Elab_Term_toParserDescrAux___closed__34; -x_133 = l_Lean_Elab_Term_toParserDescrAux___closed__38; -x_134 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_134, 0, x_131); -lean_ctor_set(x_134, 1, x_132); -lean_ctor_set(x_134, 2, x_130); -lean_ctor_set(x_134, 3, x_133); -x_135 = l_Array_empty___closed__1; -x_136 = lean_array_push(x_135, x_134); -x_137 = lean_array_push(x_135, x_116); -x_138 = lean_array_push(x_137, x_121); -x_139 = l_Lean_nullKind___closed__2; -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_134 = lean_ctor_get(x_132, 0); +x_135 = l_Lean_Elab_Term_toParserDescrAux___closed__39; +x_136 = l_Lean_addMacroScope(x_134, x_135, x_130); +x_137 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_138 = l_Lean_Elab_Term_toParserDescrAux___closed__38; +x_139 = l_Lean_Elab_Term_toParserDescrAux___closed__42; +x_140 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_140, 0, x_137); lean_ctor_set(x_140, 1, x_138); -x_141 = lean_array_push(x_136, x_140); -x_142 = l_Lean_mkAppStx___closed__8; -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_141); -lean_ctor_set(x_126, 0, x_143); +lean_ctor_set(x_140, 2, x_136); +lean_ctor_set(x_140, 3, x_139); +x_141 = l_Array_empty___closed__1; +x_142 = lean_array_push(x_141, x_140); +x_143 = lean_array_push(x_141, x_122); +x_144 = lean_array_push(x_143, x_127); +x_145 = l_Lean_nullKind___closed__2; +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_144); +x_147 = lean_array_push(x_142, x_146); +x_148 = l_Lean_mkAppStx___closed__8; +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_147); +lean_ctor_set(x_132, 0, x_149); +return x_132; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_150 = lean_ctor_get(x_132, 0); +x_151 = lean_ctor_get(x_132, 1); +lean_inc(x_151); +lean_inc(x_150); +lean_dec(x_132); +x_152 = l_Lean_Elab_Term_toParserDescrAux___closed__39; +x_153 = l_Lean_addMacroScope(x_150, x_152, x_130); +x_154 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_155 = l_Lean_Elab_Term_toParserDescrAux___closed__38; +x_156 = l_Lean_Elab_Term_toParserDescrAux___closed__42; +x_157 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_157, 0, x_154); +lean_ctor_set(x_157, 1, x_155); +lean_ctor_set(x_157, 2, x_153); +lean_ctor_set(x_157, 3, x_156); +x_158 = l_Array_empty___closed__1; +x_159 = lean_array_push(x_158, x_157); +x_160 = lean_array_push(x_158, x_122); +x_161 = lean_array_push(x_160, x_127); +x_162 = l_Lean_nullKind___closed__2; +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_161); +x_164 = lean_array_push(x_159, x_163); +x_165 = l_Lean_mkAppStx___closed__8; +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_164); +x_167 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_151); +return x_167; +} +} +else +{ +uint8_t x_168; +lean_dec(x_122); +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_168 = !lean_is_exclusive(x_126); +if (x_168 == 0) +{ return x_126; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_144 = lean_ctor_get(x_126, 0); -x_145 = lean_ctor_get(x_126, 1); -lean_inc(x_145); -lean_inc(x_144); +lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_169 = lean_ctor_get(x_126, 0); +x_170 = lean_ctor_get(x_126, 1); +lean_inc(x_170); +lean_inc(x_169); lean_dec(x_126); -x_146 = l_Lean_Elab_Term_toParserDescrAux___closed__35; -x_147 = l_Lean_addMacroScope(x_144, x_146, x_124); -x_148 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_149 = l_Lean_Elab_Term_toParserDescrAux___closed__34; -x_150 = l_Lean_Elab_Term_toParserDescrAux___closed__38; -x_151 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_151, 0, x_148); -lean_ctor_set(x_151, 1, x_149); -lean_ctor_set(x_151, 2, x_147); -lean_ctor_set(x_151, 3, x_150); -x_152 = l_Array_empty___closed__1; -x_153 = lean_array_push(x_152, x_151); -x_154 = lean_array_push(x_152, x_116); -x_155 = lean_array_push(x_154, x_121); -x_156 = l_Lean_nullKind___closed__2; -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_155); -x_158 = lean_array_push(x_153, x_157); -x_159 = l_Lean_mkAppStx___closed__8; -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_158); -x_161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_145); -return x_161; -} -} -else -{ -uint8_t x_162; -lean_dec(x_116); -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_162 = !lean_is_exclusive(x_120); -if (x_162 == 0) -{ -return x_120; -} -else -{ -lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_163 = lean_ctor_get(x_120, 0); -x_164 = lean_ctor_get(x_120, 1); -lean_inc(x_164); -lean_inc(x_163); -lean_dec(x_120); -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; +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_169); +lean_ctor_set(x_171, 1, x_170); +return x_171; } } } else { -uint8_t x_166; +uint8_t x_172; lean_dec(x_2); lean_dec(x_9); lean_dec(x_8); @@ -6556,40 +6817,40 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_166 = !lean_is_exclusive(x_115); -if (x_166 == 0) +x_172 = !lean_is_exclusive(x_121); +if (x_172 == 0) { -return x_115; +return x_121; } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_167 = lean_ctor_get(x_115, 0); -x_168 = lean_ctor_get(x_115, 1); -lean_inc(x_168); -lean_inc(x_167); -lean_dec(x_115); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_167); -lean_ctor_set(x_169, 1, x_168); -return x_169; +lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_173 = lean_ctor_get(x_121, 0); +x_174 = lean_ctor_get(x_121, 1); +lean_inc(x_174); +lean_inc(x_173); +lean_dec(x_121); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_173); +lean_ctor_set(x_175, 1, x_174); +return x_175; } } } else { -lean_object* x_170; uint8_t x_171; uint8_t x_172; uint8_t x_173; lean_object* x_174; lean_object* x_175; -x_170 = lean_ctor_get(x_2, 0); -x_171 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_172 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_170); +lean_object* x_176; uint8_t x_177; uint8_t x_178; uint8_t x_179; lean_object* x_180; lean_object* x_181; +x_176 = lean_ctor_get(x_2, 0); +x_177 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_178 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_176); lean_dec(x_2); -x_173 = 0; -x_174 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_174, 0, x_170); -lean_ctor_set_uint8(x_174, sizeof(void*)*1, x_171); -lean_ctor_set_uint8(x_174, sizeof(void*)*1 + 1, x_173); -lean_ctor_set_uint8(x_174, sizeof(void*)*1 + 2, x_172); +x_179 = 0; +x_180 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_180, 0, x_176); +lean_ctor_set_uint8(x_180, sizeof(void*)*1, x_177); +lean_ctor_set_uint8(x_180, sizeof(void*)*1 + 1, x_179); +lean_ctor_set_uint8(x_180, sizeof(void*)*1 + 2, x_178); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -6597,18 +6858,18 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_174); -x_175 = l_Lean_Elab_Term_toParserDescrAux(x_112, x_174, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_175) == 0) +lean_inc(x_180); +x_181 = l_Lean_Elab_Term_toParserDescrAux(x_118, x_180, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_181) == 0) { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_176 = lean_ctor_get(x_175, 0); -lean_inc(x_176); -x_177 = lean_ctor_get(x_175, 1); -lean_inc(x_177); -lean_dec(x_175); -x_178 = lean_unsigned_to_nat(2u); -x_179 = l_Lean_Syntax_getArg(x_1, x_178); +lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = lean_unsigned_to_nat(2u); +x_185 = l_Lean_Syntax_getArg(x_1, x_184); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -6616,108 +6877,108 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_180 = l_Lean_Elab_Term_toParserDescrAux(x_179, x_174, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_177); -if (lean_obj_tag(x_180) == 0) +x_186 = l_Lean_Elab_Term_toParserDescrAux(x_185, x_180, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_183); +if (lean_obj_tag(x_186) == 0) { -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; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); -lean_inc(x_182); -lean_dec(x_180); -x_183 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_182); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_184 = lean_ctor_get(x_183, 0); -lean_inc(x_184); -x_185 = lean_ctor_get(x_183, 1); -lean_inc(x_185); -lean_dec(x_183); -x_186 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_185); -lean_dec(x_9); +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; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; x_187 = lean_ctor_get(x_186, 0); lean_inc(x_187); x_188 = lean_ctor_get(x_186, 1); lean_inc(x_188); -if (lean_is_exclusive(x_186)) { - lean_ctor_release(x_186, 0); - lean_ctor_release(x_186, 1); - x_189 = x_186; +lean_dec(x_186); +x_189 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_188); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec(x_189); +x_192 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_191); +lean_dec(x_9); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_195 = x_192; } else { - lean_dec_ref(x_186); - x_189 = lean_box(0); + lean_dec_ref(x_192); + x_195 = lean_box(0); } -x_190 = l_Lean_Elab_Term_toParserDescrAux___closed__35; -x_191 = l_Lean_addMacroScope(x_187, x_190, x_184); -x_192 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_193 = l_Lean_Elab_Term_toParserDescrAux___closed__34; -x_194 = l_Lean_Elab_Term_toParserDescrAux___closed__38; -x_195 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_195, 0, x_192); -lean_ctor_set(x_195, 1, x_193); -lean_ctor_set(x_195, 2, x_191); -lean_ctor_set(x_195, 3, x_194); -x_196 = l_Array_empty___closed__1; -x_197 = lean_array_push(x_196, x_195); -x_198 = lean_array_push(x_196, x_176); -x_199 = lean_array_push(x_198, x_181); -x_200 = l_Lean_nullKind___closed__2; -x_201 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_201, 0, x_200); +x_196 = l_Lean_Elab_Term_toParserDescrAux___closed__39; +x_197 = l_Lean_addMacroScope(x_193, x_196, x_190); +x_198 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_199 = l_Lean_Elab_Term_toParserDescrAux___closed__38; +x_200 = l_Lean_Elab_Term_toParserDescrAux___closed__42; +x_201 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_201, 0, x_198); lean_ctor_set(x_201, 1, x_199); -x_202 = lean_array_push(x_197, x_201); -x_203 = l_Lean_mkAppStx___closed__8; -x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_202); -if (lean_is_scalar(x_189)) { - x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_201, 2, x_197); +lean_ctor_set(x_201, 3, x_200); +x_202 = l_Array_empty___closed__1; +x_203 = lean_array_push(x_202, x_201); +x_204 = lean_array_push(x_202, x_182); +x_205 = lean_array_push(x_204, x_187); +x_206 = l_Lean_nullKind___closed__2; +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_206); +lean_ctor_set(x_207, 1, x_205); +x_208 = lean_array_push(x_203, x_207); +x_209 = l_Lean_mkAppStx___closed__8; +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_208); +if (lean_is_scalar(x_195)) { + x_211 = lean_alloc_ctor(0, 2, 0); } else { - x_205 = x_189; + x_211 = x_195; } -lean_ctor_set(x_205, 0, x_204); -lean_ctor_set(x_205, 1, x_188); -return x_205; +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_194); +return x_211; } else { -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; -lean_dec(x_176); +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +lean_dec(x_182); 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_206 = lean_ctor_get(x_180, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_180, 1); -lean_inc(x_207); -if (lean_is_exclusive(x_180)) { - lean_ctor_release(x_180, 0); - lean_ctor_release(x_180, 1); - x_208 = x_180; +x_212 = lean_ctor_get(x_186, 0); +lean_inc(x_212); +x_213 = lean_ctor_get(x_186, 1); +lean_inc(x_213); +if (lean_is_exclusive(x_186)) { + lean_ctor_release(x_186, 0); + lean_ctor_release(x_186, 1); + x_214 = x_186; } else { - lean_dec_ref(x_180); - x_208 = lean_box(0); + lean_dec_ref(x_186); + x_214 = lean_box(0); } -if (lean_is_scalar(x_208)) { - x_209 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_214)) { + x_215 = lean_alloc_ctor(1, 2, 0); } else { - x_209 = x_208; + x_215 = x_214; } -lean_ctor_set(x_209, 0, x_206); -lean_ctor_set(x_209, 1, x_207); -return x_209; +lean_ctor_set(x_215, 0, x_212); +lean_ctor_set(x_215, 1, x_213); +return x_215; } } else { -lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; -lean_dec(x_174); +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; +lean_dec(x_180); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6726,804 +6987,804 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_210 = lean_ctor_get(x_175, 0); -lean_inc(x_210); -x_211 = lean_ctor_get(x_175, 1); -lean_inc(x_211); -if (lean_is_exclusive(x_175)) { - lean_ctor_release(x_175, 0); - lean_ctor_release(x_175, 1); - x_212 = x_175; +x_216 = lean_ctor_get(x_181, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_181, 1); +lean_inc(x_217); +if (lean_is_exclusive(x_181)) { + lean_ctor_release(x_181, 0); + lean_ctor_release(x_181, 1); + x_218 = x_181; } else { - lean_dec_ref(x_175); - x_212 = lean_box(0); + lean_dec_ref(x_181); + x_218 = lean_box(0); } -if (lean_is_scalar(x_212)) { - x_213 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_218)) { + x_219 = lean_alloc_ctor(1, 2, 0); } else { - x_213 = x_212; + x_219 = x_218; } -lean_ctor_set(x_213, 0, x_210); -lean_ctor_set(x_213, 1, x_211); -return x_213; +lean_ctor_set(x_219, 0, x_216); +lean_ctor_set(x_219, 1, x_217); +return x_219; } } } } else { -lean_object* x_214; lean_object* x_215; uint8_t x_216; +lean_object* x_220; lean_object* x_221; uint8_t x_222; lean_dec(x_11); -x_214 = lean_unsigned_to_nat(0u); -x_215 = l_Lean_Syntax_getArg(x_1, x_214); +x_220 = lean_unsigned_to_nat(0u); +x_221 = l_Lean_Syntax_getArg(x_1, x_220); lean_dec(x_1); -x_216 = !lean_is_exclusive(x_2); -if (x_216 == 0) +x_222 = !lean_is_exclusive(x_2); +if (x_222 == 0) { -uint8_t x_217; lean_object* x_218; -x_217 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_217); +uint8_t x_223; lean_object* x_224; +x_223 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_223); 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_218 = l_Lean_Elab_Term_toParserDescrAux(x_215, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_218) == 0) +x_224 = l_Lean_Elab_Term_toParserDescrAux(x_221, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_224) == 0) { -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; -x_219 = lean_ctor_get(x_218, 0); -lean_inc(x_219); -x_220 = lean_ctor_get(x_218, 1); -lean_inc(x_220); -lean_dec(x_218); -x_221 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_220); +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; +x_225 = lean_ctor_get(x_224, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_224, 1); +lean_inc(x_226); +lean_dec(x_224); +x_227 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_226); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_222 = lean_ctor_get(x_221, 0); -lean_inc(x_222); -x_223 = lean_ctor_get(x_221, 1); -lean_inc(x_223); -lean_dec(x_221); -x_224 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_223); +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_227, 1); +lean_inc(x_229); +lean_dec(x_227); +x_230 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_229); lean_dec(x_9); -x_225 = !lean_is_exclusive(x_224); -if (x_225 == 0) +x_231 = !lean_is_exclusive(x_230); +if (x_231 == 0) +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; 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; +x_232 = lean_ctor_get(x_230, 0); +x_233 = l_Lean_Elab_Term_toParserDescrAux___closed__46; +x_234 = l_Lean_addMacroScope(x_232, x_233, x_228); +x_235 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_236 = l_Lean_Elab_Term_toParserDescrAux___closed__45; +x_237 = l_Lean_Elab_Term_toParserDescrAux___closed__49; +x_238 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_238, 0, x_235); +lean_ctor_set(x_238, 1, x_236); +lean_ctor_set(x_238, 2, x_234); +lean_ctor_set(x_238, 3, x_237); +x_239 = l_Array_empty___closed__1; +x_240 = lean_array_push(x_239, x_238); +x_241 = lean_array_push(x_239, x_225); +x_242 = l_Lean_nullKind___closed__2; +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_241); +x_244 = lean_array_push(x_240, x_243); +x_245 = l_Lean_mkAppStx___closed__8; +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_244); +lean_ctor_set(x_230, 0, x_246); +return x_230; +} +else +{ +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; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_247 = lean_ctor_get(x_230, 0); +x_248 = lean_ctor_get(x_230, 1); +lean_inc(x_248); +lean_inc(x_247); +lean_dec(x_230); +x_249 = l_Lean_Elab_Term_toParserDescrAux___closed__46; +x_250 = l_Lean_addMacroScope(x_247, x_249, x_228); +x_251 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_252 = l_Lean_Elab_Term_toParserDescrAux___closed__45; +x_253 = l_Lean_Elab_Term_toParserDescrAux___closed__49; +x_254 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_254, 0, x_251); +lean_ctor_set(x_254, 1, x_252); +lean_ctor_set(x_254, 2, x_250); +lean_ctor_set(x_254, 3, x_253); +x_255 = l_Array_empty___closed__1; +x_256 = lean_array_push(x_255, x_254); +x_257 = lean_array_push(x_255, x_225); +x_258 = l_Lean_nullKind___closed__2; +x_259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_257); +x_260 = lean_array_push(x_256, x_259); +x_261 = l_Lean_mkAppStx___closed__8; +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +x_263 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_248); +return x_263; +} +} +else +{ +uint8_t x_264; +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_264 = !lean_is_exclusive(x_224); +if (x_264 == 0) { -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; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; -x_226 = lean_ctor_get(x_224, 0); -x_227 = l_Lean_Elab_Term_toParserDescrAux___closed__42; -x_228 = l_Lean_addMacroScope(x_226, x_227, x_222); -x_229 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_230 = l_Lean_Elab_Term_toParserDescrAux___closed__41; -x_231 = l_Lean_Elab_Term_toParserDescrAux___closed__45; -x_232 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_232, 0, x_229); -lean_ctor_set(x_232, 1, x_230); -lean_ctor_set(x_232, 2, x_228); -lean_ctor_set(x_232, 3, x_231); -x_233 = l_Array_empty___closed__1; -x_234 = lean_array_push(x_233, x_232); -x_235 = lean_array_push(x_233, x_219); -x_236 = l_Lean_nullKind___closed__2; -x_237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_235); -x_238 = lean_array_push(x_234, x_237); -x_239 = l_Lean_mkAppStx___closed__8; -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_238); -lean_ctor_set(x_224, 0, x_240); return x_224; } else { -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; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_241 = lean_ctor_get(x_224, 0); -x_242 = lean_ctor_get(x_224, 1); -lean_inc(x_242); -lean_inc(x_241); +lean_object* x_265; lean_object* x_266; lean_object* x_267; +x_265 = lean_ctor_get(x_224, 0); +x_266 = lean_ctor_get(x_224, 1); +lean_inc(x_266); +lean_inc(x_265); lean_dec(x_224); -x_243 = l_Lean_Elab_Term_toParserDescrAux___closed__42; -x_244 = l_Lean_addMacroScope(x_241, x_243, x_222); -x_245 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_246 = l_Lean_Elab_Term_toParserDescrAux___closed__41; -x_247 = l_Lean_Elab_Term_toParserDescrAux___closed__45; -x_248 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_248, 0, x_245); -lean_ctor_set(x_248, 1, x_246); -lean_ctor_set(x_248, 2, x_244); -lean_ctor_set(x_248, 3, x_247); -x_249 = l_Array_empty___closed__1; -x_250 = lean_array_push(x_249, x_248); -x_251 = lean_array_push(x_249, x_219); -x_252 = l_Lean_nullKind___closed__2; -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_251); -x_254 = lean_array_push(x_250, x_253); -x_255 = l_Lean_mkAppStx___closed__8; -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_255); -lean_ctor_set(x_256, 1, x_254); -x_257 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_242); -return x_257; -} -} -else -{ -uint8_t x_258; -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_258 = !lean_is_exclusive(x_218); -if (x_258 == 0) -{ -return x_218; -} -else -{ -lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_259 = lean_ctor_get(x_218, 0); -x_260 = lean_ctor_get(x_218, 1); -lean_inc(x_260); -lean_inc(x_259); -lean_dec(x_218); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_259); -lean_ctor_set(x_261, 1, x_260); -return x_261; +x_267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_267, 0, x_265); +lean_ctor_set(x_267, 1, x_266); +return x_267; } } } else { -lean_object* x_262; uint8_t x_263; uint8_t x_264; uint8_t x_265; lean_object* x_266; lean_object* x_267; -x_262 = lean_ctor_get(x_2, 0); -x_263 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_264 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_262); +lean_object* x_268; uint8_t x_269; uint8_t x_270; uint8_t x_271; lean_object* x_272; lean_object* x_273; +x_268 = lean_ctor_get(x_2, 0); +x_269 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_270 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_268); lean_dec(x_2); -x_265 = 0; -x_266 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_266, 0, x_262); -lean_ctor_set_uint8(x_266, sizeof(void*)*1, x_263); -lean_ctor_set_uint8(x_266, sizeof(void*)*1 + 1, x_265); -lean_ctor_set_uint8(x_266, sizeof(void*)*1 + 2, x_264); +x_271 = 0; +x_272 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_272, 0, x_268); +lean_ctor_set_uint8(x_272, sizeof(void*)*1, x_269); +lean_ctor_set_uint8(x_272, sizeof(void*)*1 + 1, x_271); +lean_ctor_set_uint8(x_272, sizeof(void*)*1 + 2, x_270); 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_267 = l_Lean_Elab_Term_toParserDescrAux(x_215, x_266, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_267) == 0) +x_273 = l_Lean_Elab_Term_toParserDescrAux(x_221, x_272, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_273) == 0) { -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; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_268 = lean_ctor_get(x_267, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 1); -lean_inc(x_269); -lean_dec(x_267); -x_270 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_269); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_270, 1); -lean_inc(x_272); -lean_dec(x_270); -x_273 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_272); -lean_dec(x_9); +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; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; x_274 = lean_ctor_get(x_273, 0); lean_inc(x_274); x_275 = lean_ctor_get(x_273, 1); lean_inc(x_275); -if (lean_is_exclusive(x_273)) { - lean_ctor_release(x_273, 0); - lean_ctor_release(x_273, 1); - x_276 = x_273; +lean_dec(x_273); +x_276 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_275); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_277 = lean_ctor_get(x_276, 0); +lean_inc(x_277); +x_278 = lean_ctor_get(x_276, 1); +lean_inc(x_278); +lean_dec(x_276); +x_279 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_278); +lean_dec(x_9); +x_280 = lean_ctor_get(x_279, 0); +lean_inc(x_280); +x_281 = lean_ctor_get(x_279, 1); +lean_inc(x_281); +if (lean_is_exclusive(x_279)) { + lean_ctor_release(x_279, 0); + lean_ctor_release(x_279, 1); + x_282 = x_279; } else { - lean_dec_ref(x_273); - x_276 = lean_box(0); + lean_dec_ref(x_279); + x_282 = lean_box(0); } -x_277 = l_Lean_Elab_Term_toParserDescrAux___closed__42; -x_278 = l_Lean_addMacroScope(x_274, x_277, x_271); -x_279 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_280 = l_Lean_Elab_Term_toParserDescrAux___closed__41; -x_281 = l_Lean_Elab_Term_toParserDescrAux___closed__45; -x_282 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_282, 0, x_279); -lean_ctor_set(x_282, 1, x_280); -lean_ctor_set(x_282, 2, x_278); -lean_ctor_set(x_282, 3, x_281); -x_283 = l_Array_empty___closed__1; -x_284 = lean_array_push(x_283, x_282); -x_285 = lean_array_push(x_283, x_268); -x_286 = l_Lean_nullKind___closed__2; -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); -x_288 = lean_array_push(x_284, x_287); -x_289 = l_Lean_mkAppStx___closed__8; -x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_288); -if (lean_is_scalar(x_276)) { - x_291 = lean_alloc_ctor(0, 2, 0); +x_283 = l_Lean_Elab_Term_toParserDescrAux___closed__46; +x_284 = l_Lean_addMacroScope(x_280, x_283, x_277); +x_285 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_286 = l_Lean_Elab_Term_toParserDescrAux___closed__45; +x_287 = l_Lean_Elab_Term_toParserDescrAux___closed__49; +x_288 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_288, 0, x_285); +lean_ctor_set(x_288, 1, x_286); +lean_ctor_set(x_288, 2, x_284); +lean_ctor_set(x_288, 3, x_287); +x_289 = l_Array_empty___closed__1; +x_290 = lean_array_push(x_289, x_288); +x_291 = lean_array_push(x_289, x_274); +x_292 = l_Lean_nullKind___closed__2; +x_293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_291); +x_294 = lean_array_push(x_290, x_293); +x_295 = l_Lean_mkAppStx___closed__8; +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_295); +lean_ctor_set(x_296, 1, x_294); +if (lean_is_scalar(x_282)) { + x_297 = lean_alloc_ctor(0, 2, 0); } else { - x_291 = x_276; + x_297 = x_282; } -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_275); -return x_291; +lean_ctor_set(x_297, 0, x_296); +lean_ctor_set(x_297, 1, x_281); +return x_297; } else { -lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; 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_292 = lean_ctor_get(x_267, 0); -lean_inc(x_292); -x_293 = lean_ctor_get(x_267, 1); -lean_inc(x_293); -if (lean_is_exclusive(x_267)) { - lean_ctor_release(x_267, 0); - lean_ctor_release(x_267, 1); - x_294 = x_267; +x_298 = lean_ctor_get(x_273, 0); +lean_inc(x_298); +x_299 = lean_ctor_get(x_273, 1); +lean_inc(x_299); +if (lean_is_exclusive(x_273)) { + lean_ctor_release(x_273, 0); + lean_ctor_release(x_273, 1); + x_300 = x_273; } else { - lean_dec_ref(x_267); - x_294 = lean_box(0); + lean_dec_ref(x_273); + x_300 = lean_box(0); } -if (lean_is_scalar(x_294)) { - x_295 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_300)) { + x_301 = lean_alloc_ctor(1, 2, 0); } else { - x_295 = x_294; + x_301 = x_300; } -lean_ctor_set(x_295, 0, x_292); -lean_ctor_set(x_295, 1, x_293); -return x_295; +lean_ctor_set(x_301, 0, x_298); +lean_ctor_set(x_301, 1, x_299); +return x_301; } } } } else { -lean_object* x_296; lean_object* x_297; uint8_t x_298; +lean_object* x_302; lean_object* x_303; uint8_t x_304; lean_dec(x_11); -x_296 = lean_unsigned_to_nat(0u); -x_297 = l_Lean_Syntax_getArg(x_1, x_296); +x_302 = lean_unsigned_to_nat(0u); +x_303 = l_Lean_Syntax_getArg(x_1, x_302); lean_dec(x_1); -x_298 = !lean_is_exclusive(x_2); -if (x_298 == 0) +x_304 = !lean_is_exclusive(x_2); +if (x_304 == 0) { -uint8_t x_299; lean_object* x_300; -x_299 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_299); +uint8_t x_305; lean_object* x_306; +x_305 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_305); 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_300 = l_Lean_Elab_Term_toParserDescrAux(x_297, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_300) == 0) +x_306 = l_Lean_Elab_Term_toParserDescrAux(x_303, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_306) == 0) { -lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; uint8_t x_307; -x_301 = lean_ctor_get(x_300, 0); -lean_inc(x_301); -x_302 = lean_ctor_get(x_300, 1); -lean_inc(x_302); -lean_dec(x_300); -x_303 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_302); +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; uint8_t x_313; +x_307 = lean_ctor_get(x_306, 0); +lean_inc(x_307); +x_308 = lean_ctor_get(x_306, 1); +lean_inc(x_308); +lean_dec(x_306); +x_309 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_308); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_304 = lean_ctor_get(x_303, 0); -lean_inc(x_304); -x_305 = lean_ctor_get(x_303, 1); -lean_inc(x_305); -lean_dec(x_303); -x_306 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_305); +x_310 = lean_ctor_get(x_309, 0); +lean_inc(x_310); +x_311 = lean_ctor_get(x_309, 1); +lean_inc(x_311); +lean_dec(x_309); +x_312 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_311); lean_dec(x_9); -x_307 = !lean_is_exclusive(x_306); -if (x_307 == 0) +x_313 = !lean_is_exclusive(x_312); +if (x_313 == 0) +{ +lean_object* x_314; lean_object* x_315; lean_object* x_316; 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; +x_314 = lean_ctor_get(x_312, 0); +x_315 = l_Lean_Elab_Term_toParserDescrAux___closed__53; +x_316 = l_Lean_addMacroScope(x_314, x_315, x_310); +x_317 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_318 = l_Lean_Elab_Term_toParserDescrAux___closed__52; +x_319 = l_Lean_Elab_Term_toParserDescrAux___closed__56; +x_320 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_320, 0, x_317); +lean_ctor_set(x_320, 1, x_318); +lean_ctor_set(x_320, 2, x_316); +lean_ctor_set(x_320, 3, x_319); +x_321 = l_Array_empty___closed__1; +x_322 = lean_array_push(x_321, x_320); +x_323 = lean_array_push(x_321, x_307); +x_324 = l_Lean_nullKind___closed__2; +x_325 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_325, 0, x_324); +lean_ctor_set(x_325, 1, x_323); +x_326 = lean_array_push(x_322, x_325); +x_327 = l_Lean_mkAppStx___closed__8; +x_328 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_328, 0, x_327); +lean_ctor_set(x_328, 1, x_326); +lean_ctor_set(x_312, 0, x_328); +return x_312; +} +else +{ +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; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; +x_329 = lean_ctor_get(x_312, 0); +x_330 = lean_ctor_get(x_312, 1); +lean_inc(x_330); +lean_inc(x_329); +lean_dec(x_312); +x_331 = l_Lean_Elab_Term_toParserDescrAux___closed__53; +x_332 = l_Lean_addMacroScope(x_329, x_331, x_310); +x_333 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_334 = l_Lean_Elab_Term_toParserDescrAux___closed__52; +x_335 = l_Lean_Elab_Term_toParserDescrAux___closed__56; +x_336 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_336, 0, x_333); +lean_ctor_set(x_336, 1, x_334); +lean_ctor_set(x_336, 2, x_332); +lean_ctor_set(x_336, 3, x_335); +x_337 = l_Array_empty___closed__1; +x_338 = lean_array_push(x_337, x_336); +x_339 = lean_array_push(x_337, x_307); +x_340 = l_Lean_nullKind___closed__2; +x_341 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_341, 0, x_340); +lean_ctor_set(x_341, 1, x_339); +x_342 = lean_array_push(x_338, x_341); +x_343 = l_Lean_mkAppStx___closed__8; +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_343); +lean_ctor_set(x_344, 1, x_342); +x_345 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_345, 0, x_344); +lean_ctor_set(x_345, 1, x_330); +return x_345; +} +} +else +{ +uint8_t x_346; +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_346 = !lean_is_exclusive(x_306); +if (x_346 == 0) { -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; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; -x_308 = lean_ctor_get(x_306, 0); -x_309 = l_Lean_Elab_Term_toParserDescrAux___closed__49; -x_310 = l_Lean_addMacroScope(x_308, x_309, x_304); -x_311 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_312 = l_Lean_Elab_Term_toParserDescrAux___closed__48; -x_313 = l_Lean_Elab_Term_toParserDescrAux___closed__52; -x_314 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_314, 0, x_311); -lean_ctor_set(x_314, 1, x_312); -lean_ctor_set(x_314, 2, x_310); -lean_ctor_set(x_314, 3, x_313); -x_315 = l_Array_empty___closed__1; -x_316 = lean_array_push(x_315, x_314); -x_317 = lean_array_push(x_315, x_301); -x_318 = l_Lean_nullKind___closed__2; -x_319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_319, 0, x_318); -lean_ctor_set(x_319, 1, x_317); -x_320 = lean_array_push(x_316, x_319); -x_321 = l_Lean_mkAppStx___closed__8; -x_322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_322, 0, x_321); -lean_ctor_set(x_322, 1, x_320); -lean_ctor_set(x_306, 0, x_322); return x_306; } else { -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; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_323 = lean_ctor_get(x_306, 0); -x_324 = lean_ctor_get(x_306, 1); -lean_inc(x_324); -lean_inc(x_323); +lean_object* x_347; lean_object* x_348; lean_object* x_349; +x_347 = lean_ctor_get(x_306, 0); +x_348 = lean_ctor_get(x_306, 1); +lean_inc(x_348); +lean_inc(x_347); lean_dec(x_306); -x_325 = l_Lean_Elab_Term_toParserDescrAux___closed__49; -x_326 = l_Lean_addMacroScope(x_323, x_325, x_304); -x_327 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_328 = l_Lean_Elab_Term_toParserDescrAux___closed__48; -x_329 = l_Lean_Elab_Term_toParserDescrAux___closed__52; -x_330 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_330, 0, x_327); -lean_ctor_set(x_330, 1, x_328); -lean_ctor_set(x_330, 2, x_326); -lean_ctor_set(x_330, 3, x_329); -x_331 = l_Array_empty___closed__1; -x_332 = lean_array_push(x_331, x_330); -x_333 = lean_array_push(x_331, x_301); -x_334 = l_Lean_nullKind___closed__2; -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_333); -x_336 = lean_array_push(x_332, x_335); -x_337 = l_Lean_mkAppStx___closed__8; -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_337); -lean_ctor_set(x_338, 1, x_336); -x_339 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_324); -return x_339; -} -} -else -{ -uint8_t x_340; -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_340 = !lean_is_exclusive(x_300); -if (x_340 == 0) -{ -return x_300; -} -else -{ -lean_object* x_341; lean_object* x_342; lean_object* x_343; -x_341 = lean_ctor_get(x_300, 0); -x_342 = lean_ctor_get(x_300, 1); -lean_inc(x_342); -lean_inc(x_341); -lean_dec(x_300); -x_343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_343, 0, x_341); -lean_ctor_set(x_343, 1, x_342); -return x_343; +x_349 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_349, 0, x_347); +lean_ctor_set(x_349, 1, x_348); +return x_349; } } } else { -lean_object* x_344; uint8_t x_345; uint8_t x_346; uint8_t x_347; lean_object* x_348; lean_object* x_349; -x_344 = lean_ctor_get(x_2, 0); -x_345 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_346 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_344); +lean_object* x_350; uint8_t x_351; uint8_t x_352; uint8_t x_353; lean_object* x_354; lean_object* x_355; +x_350 = lean_ctor_get(x_2, 0); +x_351 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_352 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_350); lean_dec(x_2); -x_347 = 0; -x_348 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_348, 0, x_344); -lean_ctor_set_uint8(x_348, sizeof(void*)*1, x_345); -lean_ctor_set_uint8(x_348, sizeof(void*)*1 + 1, x_347); -lean_ctor_set_uint8(x_348, sizeof(void*)*1 + 2, x_346); +x_353 = 0; +x_354 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_354, 0, x_350); +lean_ctor_set_uint8(x_354, sizeof(void*)*1, x_351); +lean_ctor_set_uint8(x_354, sizeof(void*)*1 + 1, x_353); +lean_ctor_set_uint8(x_354, sizeof(void*)*1 + 2, x_352); 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_349 = l_Lean_Elab_Term_toParserDescrAux(x_297, x_348, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_349) == 0) +x_355 = l_Lean_Elab_Term_toParserDescrAux(x_303, x_354, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_355) == 0) { -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; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; -x_350 = lean_ctor_get(x_349, 0); -lean_inc(x_350); -x_351 = lean_ctor_get(x_349, 1); -lean_inc(x_351); -lean_dec(x_349); -x_352 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_351); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_353 = lean_ctor_get(x_352, 0); -lean_inc(x_353); -x_354 = lean_ctor_get(x_352, 1); -lean_inc(x_354); -lean_dec(x_352); -x_355 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_354); -lean_dec(x_9); +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; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; x_356 = lean_ctor_get(x_355, 0); lean_inc(x_356); x_357 = lean_ctor_get(x_355, 1); lean_inc(x_357); -if (lean_is_exclusive(x_355)) { - lean_ctor_release(x_355, 0); - lean_ctor_release(x_355, 1); - x_358 = x_355; +lean_dec(x_355); +x_358 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_357); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_359 = lean_ctor_get(x_358, 0); +lean_inc(x_359); +x_360 = lean_ctor_get(x_358, 1); +lean_inc(x_360); +lean_dec(x_358); +x_361 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_360); +lean_dec(x_9); +x_362 = lean_ctor_get(x_361, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_361, 1); +lean_inc(x_363); +if (lean_is_exclusive(x_361)) { + lean_ctor_release(x_361, 0); + lean_ctor_release(x_361, 1); + x_364 = x_361; } else { - lean_dec_ref(x_355); - x_358 = lean_box(0); + lean_dec_ref(x_361); + x_364 = lean_box(0); } -x_359 = l_Lean_Elab_Term_toParserDescrAux___closed__49; -x_360 = l_Lean_addMacroScope(x_356, x_359, x_353); -x_361 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_362 = l_Lean_Elab_Term_toParserDescrAux___closed__48; -x_363 = l_Lean_Elab_Term_toParserDescrAux___closed__52; -x_364 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_364, 0, x_361); -lean_ctor_set(x_364, 1, x_362); -lean_ctor_set(x_364, 2, x_360); -lean_ctor_set(x_364, 3, x_363); -x_365 = l_Array_empty___closed__1; -x_366 = lean_array_push(x_365, x_364); -x_367 = lean_array_push(x_365, x_350); -x_368 = l_Lean_nullKind___closed__2; -x_369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_369, 0, x_368); -lean_ctor_set(x_369, 1, x_367); -x_370 = lean_array_push(x_366, x_369); -x_371 = l_Lean_mkAppStx___closed__8; -x_372 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_372, 0, x_371); -lean_ctor_set(x_372, 1, x_370); -if (lean_is_scalar(x_358)) { - x_373 = lean_alloc_ctor(0, 2, 0); +x_365 = l_Lean_Elab_Term_toParserDescrAux___closed__53; +x_366 = l_Lean_addMacroScope(x_362, x_365, x_359); +x_367 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_368 = l_Lean_Elab_Term_toParserDescrAux___closed__52; +x_369 = l_Lean_Elab_Term_toParserDescrAux___closed__56; +x_370 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_370, 0, x_367); +lean_ctor_set(x_370, 1, x_368); +lean_ctor_set(x_370, 2, x_366); +lean_ctor_set(x_370, 3, x_369); +x_371 = l_Array_empty___closed__1; +x_372 = lean_array_push(x_371, x_370); +x_373 = lean_array_push(x_371, x_356); +x_374 = l_Lean_nullKind___closed__2; +x_375 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_375, 0, x_374); +lean_ctor_set(x_375, 1, x_373); +x_376 = lean_array_push(x_372, x_375); +x_377 = l_Lean_mkAppStx___closed__8; +x_378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_378, 0, x_377); +lean_ctor_set(x_378, 1, x_376); +if (lean_is_scalar(x_364)) { + x_379 = lean_alloc_ctor(0, 2, 0); } else { - x_373 = x_358; + x_379 = x_364; } -lean_ctor_set(x_373, 0, x_372); -lean_ctor_set(x_373, 1, x_357); -return x_373; +lean_ctor_set(x_379, 0, x_378); +lean_ctor_set(x_379, 1, x_363); +return x_379; } else { -lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; +lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; 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_374 = lean_ctor_get(x_349, 0); -lean_inc(x_374); -x_375 = lean_ctor_get(x_349, 1); -lean_inc(x_375); -if (lean_is_exclusive(x_349)) { - lean_ctor_release(x_349, 0); - lean_ctor_release(x_349, 1); - x_376 = x_349; +x_380 = lean_ctor_get(x_355, 0); +lean_inc(x_380); +x_381 = lean_ctor_get(x_355, 1); +lean_inc(x_381); +if (lean_is_exclusive(x_355)) { + lean_ctor_release(x_355, 0); + lean_ctor_release(x_355, 1); + x_382 = x_355; } else { - lean_dec_ref(x_349); - x_376 = lean_box(0); + lean_dec_ref(x_355); + x_382 = lean_box(0); } -if (lean_is_scalar(x_376)) { - x_377 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_382)) { + x_383 = lean_alloc_ctor(1, 2, 0); } else { - x_377 = x_376; + x_383 = x_382; } -lean_ctor_set(x_377, 0, x_374); -lean_ctor_set(x_377, 1, x_375); -return x_377; +lean_ctor_set(x_383, 0, x_380); +lean_ctor_set(x_383, 1, x_381); +return x_383; } } } } else { -lean_object* x_378; lean_object* x_379; uint8_t x_380; +lean_object* x_384; lean_object* x_385; uint8_t x_386; lean_dec(x_11); -x_378 = lean_unsigned_to_nat(0u); -x_379 = l_Lean_Syntax_getArg(x_1, x_378); +x_384 = lean_unsigned_to_nat(0u); +x_385 = l_Lean_Syntax_getArg(x_1, x_384); lean_dec(x_1); -x_380 = !lean_is_exclusive(x_2); -if (x_380 == 0) +x_386 = !lean_is_exclusive(x_2); +if (x_386 == 0) { -uint8_t x_381; lean_object* x_382; -x_381 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_381); +uint8_t x_387; lean_object* x_388; +x_387 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_387); 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_382 = l_Lean_Elab_Term_toParserDescrAux(x_379, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_382) == 0) +x_388 = l_Lean_Elab_Term_toParserDescrAux(x_385, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_388) == 0) { -lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; uint8_t x_389; -x_383 = lean_ctor_get(x_382, 0); -lean_inc(x_383); -x_384 = lean_ctor_get(x_382, 1); -lean_inc(x_384); -lean_dec(x_382); -x_385 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_384); +lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; uint8_t x_395; +x_389 = lean_ctor_get(x_388, 0); +lean_inc(x_389); +x_390 = lean_ctor_get(x_388, 1); +lean_inc(x_390); +lean_dec(x_388); +x_391 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_390); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_386 = lean_ctor_get(x_385, 0); -lean_inc(x_386); -x_387 = lean_ctor_get(x_385, 1); -lean_inc(x_387); -lean_dec(x_385); -x_388 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_387); +x_392 = lean_ctor_get(x_391, 0); +lean_inc(x_392); +x_393 = lean_ctor_get(x_391, 1); +lean_inc(x_393); +lean_dec(x_391); +x_394 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_393); lean_dec(x_9); -x_389 = !lean_is_exclusive(x_388); -if (x_389 == 0) +x_395 = !lean_is_exclusive(x_394); +if (x_395 == 0) +{ +lean_object* x_396; lean_object* x_397; lean_object* x_398; 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; +x_396 = lean_ctor_get(x_394, 0); +x_397 = l_Lean_Elab_Term_toParserDescrAux___closed__60; +x_398 = l_Lean_addMacroScope(x_396, x_397, x_392); +x_399 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_400 = l_Lean_Elab_Term_toParserDescrAux___closed__59; +x_401 = l_Lean_Elab_Term_toParserDescrAux___closed__63; +x_402 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_402, 0, x_399); +lean_ctor_set(x_402, 1, x_400); +lean_ctor_set(x_402, 2, x_398); +lean_ctor_set(x_402, 3, x_401); +x_403 = l_Array_empty___closed__1; +x_404 = lean_array_push(x_403, x_402); +x_405 = lean_array_push(x_403, x_389); +x_406 = l_Lean_nullKind___closed__2; +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_406); +lean_ctor_set(x_407, 1, x_405); +x_408 = lean_array_push(x_404, x_407); +x_409 = l_Lean_mkAppStx___closed__8; +x_410 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_410, 0, x_409); +lean_ctor_set(x_410, 1, x_408); +lean_ctor_set(x_394, 0, x_410); +return x_394; +} +else +{ +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; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; +x_411 = lean_ctor_get(x_394, 0); +x_412 = lean_ctor_get(x_394, 1); +lean_inc(x_412); +lean_inc(x_411); +lean_dec(x_394); +x_413 = l_Lean_Elab_Term_toParserDescrAux___closed__60; +x_414 = l_Lean_addMacroScope(x_411, x_413, x_392); +x_415 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_416 = l_Lean_Elab_Term_toParserDescrAux___closed__59; +x_417 = l_Lean_Elab_Term_toParserDescrAux___closed__63; +x_418 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_418, 0, x_415); +lean_ctor_set(x_418, 1, x_416); +lean_ctor_set(x_418, 2, x_414); +lean_ctor_set(x_418, 3, x_417); +x_419 = l_Array_empty___closed__1; +x_420 = lean_array_push(x_419, x_418); +x_421 = lean_array_push(x_419, x_389); +x_422 = l_Lean_nullKind___closed__2; +x_423 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_423, 0, x_422); +lean_ctor_set(x_423, 1, x_421); +x_424 = lean_array_push(x_420, x_423); +x_425 = l_Lean_mkAppStx___closed__8; +x_426 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_426, 0, x_425); +lean_ctor_set(x_426, 1, x_424); +x_427 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_427, 0, x_426); +lean_ctor_set(x_427, 1, x_412); +return x_427; +} +} +else +{ +uint8_t x_428; +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_428 = !lean_is_exclusive(x_388); +if (x_428 == 0) { -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; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; -x_390 = lean_ctor_get(x_388, 0); -x_391 = l_Lean_Elab_Term_toParserDescrAux___closed__56; -x_392 = l_Lean_addMacroScope(x_390, x_391, x_386); -x_393 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_394 = l_Lean_Elab_Term_toParserDescrAux___closed__55; -x_395 = l_Lean_Elab_Term_toParserDescrAux___closed__59; -x_396 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_396, 0, x_393); -lean_ctor_set(x_396, 1, x_394); -lean_ctor_set(x_396, 2, x_392); -lean_ctor_set(x_396, 3, x_395); -x_397 = l_Array_empty___closed__1; -x_398 = lean_array_push(x_397, x_396); -x_399 = lean_array_push(x_397, x_383); -x_400 = l_Lean_nullKind___closed__2; -x_401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_401, 0, x_400); -lean_ctor_set(x_401, 1, x_399); -x_402 = lean_array_push(x_398, x_401); -x_403 = l_Lean_mkAppStx___closed__8; -x_404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_404, 0, x_403); -lean_ctor_set(x_404, 1, x_402); -lean_ctor_set(x_388, 0, x_404); return x_388; } else { -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; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; -x_405 = lean_ctor_get(x_388, 0); -x_406 = lean_ctor_get(x_388, 1); -lean_inc(x_406); -lean_inc(x_405); +lean_object* x_429; lean_object* x_430; lean_object* x_431; +x_429 = lean_ctor_get(x_388, 0); +x_430 = lean_ctor_get(x_388, 1); +lean_inc(x_430); +lean_inc(x_429); lean_dec(x_388); -x_407 = l_Lean_Elab_Term_toParserDescrAux___closed__56; -x_408 = l_Lean_addMacroScope(x_405, x_407, x_386); -x_409 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_410 = l_Lean_Elab_Term_toParserDescrAux___closed__55; -x_411 = l_Lean_Elab_Term_toParserDescrAux___closed__59; -x_412 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_412, 0, x_409); -lean_ctor_set(x_412, 1, x_410); -lean_ctor_set(x_412, 2, x_408); -lean_ctor_set(x_412, 3, x_411); -x_413 = l_Array_empty___closed__1; -x_414 = lean_array_push(x_413, x_412); -x_415 = lean_array_push(x_413, x_383); -x_416 = l_Lean_nullKind___closed__2; -x_417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_417, 0, x_416); -lean_ctor_set(x_417, 1, x_415); -x_418 = lean_array_push(x_414, x_417); -x_419 = l_Lean_mkAppStx___closed__8; -x_420 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_420, 0, x_419); -lean_ctor_set(x_420, 1, x_418); -x_421 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_421, 0, x_420); -lean_ctor_set(x_421, 1, x_406); -return x_421; -} -} -else -{ -uint8_t x_422; -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_422 = !lean_is_exclusive(x_382); -if (x_422 == 0) -{ -return x_382; -} -else -{ -lean_object* x_423; lean_object* x_424; lean_object* x_425; -x_423 = lean_ctor_get(x_382, 0); -x_424 = lean_ctor_get(x_382, 1); -lean_inc(x_424); -lean_inc(x_423); -lean_dec(x_382); -x_425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_425, 0, x_423); -lean_ctor_set(x_425, 1, x_424); -return x_425; +x_431 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_431, 0, x_429); +lean_ctor_set(x_431, 1, x_430); +return x_431; } } } else { -lean_object* x_426; uint8_t x_427; uint8_t x_428; uint8_t x_429; lean_object* x_430; lean_object* x_431; -x_426 = lean_ctor_get(x_2, 0); -x_427 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_428 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_426); +lean_object* x_432; uint8_t x_433; uint8_t x_434; uint8_t x_435; lean_object* x_436; lean_object* x_437; +x_432 = lean_ctor_get(x_2, 0); +x_433 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_434 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_432); lean_dec(x_2); -x_429 = 0; -x_430 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_430, 0, x_426); -lean_ctor_set_uint8(x_430, sizeof(void*)*1, x_427); -lean_ctor_set_uint8(x_430, sizeof(void*)*1 + 1, x_429); -lean_ctor_set_uint8(x_430, sizeof(void*)*1 + 2, x_428); +x_435 = 0; +x_436 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_436, 0, x_432); +lean_ctor_set_uint8(x_436, sizeof(void*)*1, x_433); +lean_ctor_set_uint8(x_436, sizeof(void*)*1 + 1, x_435); +lean_ctor_set_uint8(x_436, sizeof(void*)*1 + 2, x_434); 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_431 = l_Lean_Elab_Term_toParserDescrAux(x_379, x_430, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_431) == 0) +x_437 = l_Lean_Elab_Term_toParserDescrAux(x_385, x_436, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_437) == 0) { -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; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; -x_432 = lean_ctor_get(x_431, 0); -lean_inc(x_432); -x_433 = lean_ctor_get(x_431, 1); -lean_inc(x_433); -lean_dec(x_431); -x_434 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_433); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_435 = lean_ctor_get(x_434, 0); -lean_inc(x_435); -x_436 = lean_ctor_get(x_434, 1); -lean_inc(x_436); -lean_dec(x_434); -x_437 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_436); -lean_dec(x_9); +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; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; x_438 = lean_ctor_get(x_437, 0); lean_inc(x_438); x_439 = lean_ctor_get(x_437, 1); lean_inc(x_439); -if (lean_is_exclusive(x_437)) { - lean_ctor_release(x_437, 0); - lean_ctor_release(x_437, 1); - x_440 = x_437; +lean_dec(x_437); +x_440 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_439); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_441 = lean_ctor_get(x_440, 0); +lean_inc(x_441); +x_442 = lean_ctor_get(x_440, 1); +lean_inc(x_442); +lean_dec(x_440); +x_443 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_442); +lean_dec(x_9); +x_444 = lean_ctor_get(x_443, 0); +lean_inc(x_444); +x_445 = lean_ctor_get(x_443, 1); +lean_inc(x_445); +if (lean_is_exclusive(x_443)) { + lean_ctor_release(x_443, 0); + lean_ctor_release(x_443, 1); + x_446 = x_443; } else { - lean_dec_ref(x_437); - x_440 = lean_box(0); + lean_dec_ref(x_443); + x_446 = lean_box(0); } -x_441 = l_Lean_Elab_Term_toParserDescrAux___closed__56; -x_442 = l_Lean_addMacroScope(x_438, x_441, x_435); -x_443 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_444 = l_Lean_Elab_Term_toParserDescrAux___closed__55; -x_445 = l_Lean_Elab_Term_toParserDescrAux___closed__59; -x_446 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_446, 0, x_443); -lean_ctor_set(x_446, 1, x_444); -lean_ctor_set(x_446, 2, x_442); -lean_ctor_set(x_446, 3, x_445); -x_447 = l_Array_empty___closed__1; -x_448 = lean_array_push(x_447, x_446); -x_449 = lean_array_push(x_447, x_432); -x_450 = l_Lean_nullKind___closed__2; -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_449); -x_452 = lean_array_push(x_448, x_451); -x_453 = l_Lean_mkAppStx___closed__8; -x_454 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_454, 0, x_453); -lean_ctor_set(x_454, 1, x_452); -if (lean_is_scalar(x_440)) { - x_455 = lean_alloc_ctor(0, 2, 0); +x_447 = l_Lean_Elab_Term_toParserDescrAux___closed__60; +x_448 = l_Lean_addMacroScope(x_444, x_447, x_441); +x_449 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_450 = l_Lean_Elab_Term_toParserDescrAux___closed__59; +x_451 = l_Lean_Elab_Term_toParserDescrAux___closed__63; +x_452 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_452, 0, x_449); +lean_ctor_set(x_452, 1, x_450); +lean_ctor_set(x_452, 2, x_448); +lean_ctor_set(x_452, 3, x_451); +x_453 = l_Array_empty___closed__1; +x_454 = lean_array_push(x_453, x_452); +x_455 = lean_array_push(x_453, x_438); +x_456 = l_Lean_nullKind___closed__2; +x_457 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_457, 0, x_456); +lean_ctor_set(x_457, 1, x_455); +x_458 = lean_array_push(x_454, x_457); +x_459 = l_Lean_mkAppStx___closed__8; +x_460 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_460, 0, x_459); +lean_ctor_set(x_460, 1, x_458); +if (lean_is_scalar(x_446)) { + x_461 = lean_alloc_ctor(0, 2, 0); } else { - x_455 = x_440; + x_461 = x_446; } -lean_ctor_set(x_455, 0, x_454); -lean_ctor_set(x_455, 1, x_439); -return x_455; +lean_ctor_set(x_461, 0, x_460); +lean_ctor_set(x_461, 1, x_445); +return x_461; } else { -lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; +lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; 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_456 = lean_ctor_get(x_431, 0); -lean_inc(x_456); -x_457 = lean_ctor_get(x_431, 1); -lean_inc(x_457); -if (lean_is_exclusive(x_431)) { - lean_ctor_release(x_431, 0); - lean_ctor_release(x_431, 1); - x_458 = x_431; +x_462 = lean_ctor_get(x_437, 0); +lean_inc(x_462); +x_463 = lean_ctor_get(x_437, 1); +lean_inc(x_463); +if (lean_is_exclusive(x_437)) { + lean_ctor_release(x_437, 0); + lean_ctor_release(x_437, 1); + x_464 = x_437; } else { - lean_dec_ref(x_431); - x_458 = lean_box(0); + lean_dec_ref(x_437); + x_464 = lean_box(0); } -if (lean_is_scalar(x_458)) { - x_459 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_464)) { + x_465 = lean_alloc_ctor(1, 2, 0); } else { - x_459 = x_458; + x_465 = x_464; } -lean_ctor_set(x_459, 0, x_456); -lean_ctor_set(x_459, 1, x_457); -return x_459; +lean_ctor_set(x_465, 0, x_462); +lean_ctor_set(x_465, 1, x_463); +return x_465; } } } } else { -lean_object* x_460; lean_object* x_461; uint8_t x_462; +lean_object* x_466; lean_object* x_467; uint8_t x_468; lean_dec(x_11); -x_460 = lean_unsigned_to_nat(1u); -x_461 = l_Lean_Syntax_getArg(x_1, x_460); -x_462 = !lean_is_exclusive(x_2); -if (x_462 == 0) +x_466 = lean_unsigned_to_nat(1u); +x_467 = l_Lean_Syntax_getArg(x_1, x_466); +x_468 = !lean_is_exclusive(x_2); +if (x_468 == 0) { -uint8_t x_463; lean_object* x_464; -x_463 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_463); +uint8_t x_469; lean_object* x_470; +x_469 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_469); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -7532,17 +7793,17 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_464 = l_Lean_Elab_Term_toParserDescrAux(x_461, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_464) == 0) +x_470 = l_Lean_Elab_Term_toParserDescrAux(x_467, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_470) == 0) { -lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; -x_465 = lean_ctor_get(x_464, 0); -lean_inc(x_465); -x_466 = lean_ctor_get(x_464, 1); -lean_inc(x_466); -lean_dec(x_464); -x_467 = lean_unsigned_to_nat(2u); -x_468 = l_Lean_Syntax_getArg(x_1, x_467); +lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; +x_471 = lean_ctor_get(x_470, 0); +lean_inc(x_471); +x_472 = lean_ctor_get(x_470, 1); +lean_inc(x_472); +lean_dec(x_470); +x_473 = lean_unsigned_to_nat(2u); +x_474 = l_Lean_Syntax_getArg(x_1, x_473); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -7550,129 +7811,129 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_469 = l_Lean_Elab_Term_toParserDescrAux(x_468, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_466); -if (lean_obj_tag(x_469) == 0) +x_475 = l_Lean_Elab_Term_toParserDescrAux(x_474, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_472); +if (lean_obj_tag(x_475) == 0) { -lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; uint8_t x_476; -x_470 = lean_ctor_get(x_469, 0); -lean_inc(x_470); -x_471 = lean_ctor_get(x_469, 1); -lean_inc(x_471); -lean_dec(x_469); -x_472 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_471); +lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; uint8_t x_482; +x_476 = lean_ctor_get(x_475, 0); +lean_inc(x_476); +x_477 = lean_ctor_get(x_475, 1); +lean_inc(x_477); +lean_dec(x_475); +x_478 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_477); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_473 = lean_ctor_get(x_472, 0); -lean_inc(x_473); -x_474 = lean_ctor_get(x_472, 1); -lean_inc(x_474); -lean_dec(x_472); -x_475 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_474); +x_479 = lean_ctor_get(x_478, 0); +lean_inc(x_479); +x_480 = lean_ctor_get(x_478, 1); +lean_inc(x_480); +lean_dec(x_478); +x_481 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_480); lean_dec(x_9); -x_476 = !lean_is_exclusive(x_475); -if (x_476 == 0) +x_482 = !lean_is_exclusive(x_481); +if (x_482 == 0) { -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; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; -x_477 = lean_ctor_get(x_475, 0); -x_478 = l_Lean_Elab_Term_toParserDescrAux___closed__63; -x_479 = l_Lean_addMacroScope(x_477, x_478, x_473); -x_480 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_481 = l_Lean_Elab_Term_toParserDescrAux___closed__62; -x_482 = l_Lean_Elab_Term_toParserDescrAux___closed__66; -x_483 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_483, 0, x_480); -lean_ctor_set(x_483, 1, x_481); -lean_ctor_set(x_483, 2, x_479); -lean_ctor_set(x_483, 3, x_482); -x_484 = l_Array_empty___closed__1; -x_485 = lean_array_push(x_484, x_483); -x_486 = lean_array_push(x_484, x_465); -x_487 = lean_array_push(x_486, x_470); -x_488 = l_Lean_nullKind___closed__2; -x_489 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_489, 0, x_488); +lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; 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; +x_483 = lean_ctor_get(x_481, 0); +x_484 = l_Lean_Elab_Term_toParserDescrAux___closed__67; +x_485 = l_Lean_addMacroScope(x_483, x_484, x_479); +x_486 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_487 = l_Lean_Elab_Term_toParserDescrAux___closed__66; +x_488 = l_Lean_Elab_Term_toParserDescrAux___closed__70; +x_489 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_489, 0, x_486); lean_ctor_set(x_489, 1, x_487); -x_490 = lean_array_push(x_485, x_489); -x_491 = l_Lean_mkAppStx___closed__8; -x_492 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_492, 0, x_491); -lean_ctor_set(x_492, 1, x_490); -lean_ctor_set(x_475, 0, x_492); +lean_ctor_set(x_489, 2, x_485); +lean_ctor_set(x_489, 3, x_488); +x_490 = l_Array_empty___closed__1; +x_491 = lean_array_push(x_490, x_489); +x_492 = lean_array_push(x_490, x_471); +x_493 = lean_array_push(x_492, x_476); +x_494 = l_Lean_nullKind___closed__2; +x_495 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_495, 0, x_494); +lean_ctor_set(x_495, 1, x_493); +x_496 = lean_array_push(x_491, x_495); +x_497 = l_Lean_mkAppStx___closed__8; +x_498 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_496); +lean_ctor_set(x_481, 0, x_498); +return x_481; +} +else +{ +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; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; +x_499 = lean_ctor_get(x_481, 0); +x_500 = lean_ctor_get(x_481, 1); +lean_inc(x_500); +lean_inc(x_499); +lean_dec(x_481); +x_501 = l_Lean_Elab_Term_toParserDescrAux___closed__67; +x_502 = l_Lean_addMacroScope(x_499, x_501, x_479); +x_503 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_504 = l_Lean_Elab_Term_toParserDescrAux___closed__66; +x_505 = l_Lean_Elab_Term_toParserDescrAux___closed__70; +x_506 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_506, 0, x_503); +lean_ctor_set(x_506, 1, x_504); +lean_ctor_set(x_506, 2, x_502); +lean_ctor_set(x_506, 3, x_505); +x_507 = l_Array_empty___closed__1; +x_508 = lean_array_push(x_507, x_506); +x_509 = lean_array_push(x_507, x_471); +x_510 = lean_array_push(x_509, x_476); +x_511 = l_Lean_nullKind___closed__2; +x_512 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_512, 0, x_511); +lean_ctor_set(x_512, 1, x_510); +x_513 = lean_array_push(x_508, x_512); +x_514 = l_Lean_mkAppStx___closed__8; +x_515 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_515, 0, x_514); +lean_ctor_set(x_515, 1, x_513); +x_516 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_516, 0, x_515); +lean_ctor_set(x_516, 1, x_500); +return x_516; +} +} +else +{ +uint8_t x_517; +lean_dec(x_471); +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_517 = !lean_is_exclusive(x_475); +if (x_517 == 0) +{ return x_475; } else { -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; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; -x_493 = lean_ctor_get(x_475, 0); -x_494 = lean_ctor_get(x_475, 1); -lean_inc(x_494); -lean_inc(x_493); +lean_object* x_518; lean_object* x_519; lean_object* x_520; +x_518 = lean_ctor_get(x_475, 0); +x_519 = lean_ctor_get(x_475, 1); +lean_inc(x_519); +lean_inc(x_518); lean_dec(x_475); -x_495 = l_Lean_Elab_Term_toParserDescrAux___closed__63; -x_496 = l_Lean_addMacroScope(x_493, x_495, x_473); -x_497 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_498 = l_Lean_Elab_Term_toParserDescrAux___closed__62; -x_499 = l_Lean_Elab_Term_toParserDescrAux___closed__66; -x_500 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_500, 0, x_497); -lean_ctor_set(x_500, 1, x_498); -lean_ctor_set(x_500, 2, x_496); -lean_ctor_set(x_500, 3, x_499); -x_501 = l_Array_empty___closed__1; -x_502 = lean_array_push(x_501, x_500); -x_503 = lean_array_push(x_501, x_465); -x_504 = lean_array_push(x_503, x_470); -x_505 = l_Lean_nullKind___closed__2; -x_506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_506, 0, x_505); -lean_ctor_set(x_506, 1, x_504); -x_507 = lean_array_push(x_502, x_506); -x_508 = l_Lean_mkAppStx___closed__8; -x_509 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_509, 0, x_508); -lean_ctor_set(x_509, 1, x_507); -x_510 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_510, 0, x_509); -lean_ctor_set(x_510, 1, x_494); -return x_510; -} -} -else -{ -uint8_t x_511; -lean_dec(x_465); -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_511 = !lean_is_exclusive(x_469); -if (x_511 == 0) -{ -return x_469; -} -else -{ -lean_object* x_512; lean_object* x_513; lean_object* x_514; -x_512 = lean_ctor_get(x_469, 0); -x_513 = lean_ctor_get(x_469, 1); -lean_inc(x_513); -lean_inc(x_512); -lean_dec(x_469); -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; +x_520 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_520, 0, x_518); +lean_ctor_set(x_520, 1, x_519); +return x_520; } } } else { -uint8_t x_515; +uint8_t x_521; lean_dec(x_2); lean_dec(x_9); lean_dec(x_8); @@ -7682,40 +7943,40 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_515 = !lean_is_exclusive(x_464); -if (x_515 == 0) +x_521 = !lean_is_exclusive(x_470); +if (x_521 == 0) { -return x_464; +return x_470; } else { -lean_object* x_516; lean_object* x_517; lean_object* x_518; -x_516 = lean_ctor_get(x_464, 0); -x_517 = lean_ctor_get(x_464, 1); -lean_inc(x_517); -lean_inc(x_516); -lean_dec(x_464); -x_518 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_518, 0, x_516); -lean_ctor_set(x_518, 1, x_517); -return x_518; +lean_object* x_522; lean_object* x_523; lean_object* x_524; +x_522 = lean_ctor_get(x_470, 0); +x_523 = lean_ctor_get(x_470, 1); +lean_inc(x_523); +lean_inc(x_522); +lean_dec(x_470); +x_524 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_524, 0, x_522); +lean_ctor_set(x_524, 1, x_523); +return x_524; } } } else { -lean_object* x_519; uint8_t x_520; uint8_t x_521; uint8_t x_522; lean_object* x_523; lean_object* x_524; -x_519 = lean_ctor_get(x_2, 0); -x_520 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_521 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_519); +lean_object* x_525; uint8_t x_526; uint8_t x_527; uint8_t x_528; lean_object* x_529; lean_object* x_530; +x_525 = lean_ctor_get(x_2, 0); +x_526 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_527 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_525); lean_dec(x_2); -x_522 = 0; -x_523 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_523, 0, x_519); -lean_ctor_set_uint8(x_523, sizeof(void*)*1, x_520); -lean_ctor_set_uint8(x_523, sizeof(void*)*1 + 1, x_522); -lean_ctor_set_uint8(x_523, sizeof(void*)*1 + 2, x_521); +x_528 = 0; +x_529 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_529, 0, x_525); +lean_ctor_set_uint8(x_529, sizeof(void*)*1, x_526); +lean_ctor_set_uint8(x_529, sizeof(void*)*1 + 1, x_528); +lean_ctor_set_uint8(x_529, sizeof(void*)*1 + 2, x_527); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -7723,18 +7984,18 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_523); -x_524 = l_Lean_Elab_Term_toParserDescrAux(x_461, x_523, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_524) == 0) +lean_inc(x_529); +x_530 = l_Lean_Elab_Term_toParserDescrAux(x_467, x_529, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_530) == 0) { -lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; -x_525 = lean_ctor_get(x_524, 0); -lean_inc(x_525); -x_526 = lean_ctor_get(x_524, 1); -lean_inc(x_526); -lean_dec(x_524); -x_527 = lean_unsigned_to_nat(2u); -x_528 = l_Lean_Syntax_getArg(x_1, x_527); +lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; +x_531 = lean_ctor_get(x_530, 0); +lean_inc(x_531); +x_532 = lean_ctor_get(x_530, 1); +lean_inc(x_532); +lean_dec(x_530); +x_533 = lean_unsigned_to_nat(2u); +x_534 = l_Lean_Syntax_getArg(x_1, x_533); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -7742,108 +8003,108 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_529 = l_Lean_Elab_Term_toParserDescrAux(x_528, x_523, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_526); -if (lean_obj_tag(x_529) == 0) +x_535 = l_Lean_Elab_Term_toParserDescrAux(x_534, x_529, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_532); +if (lean_obj_tag(x_535) == 0) { -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; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; -x_530 = lean_ctor_get(x_529, 0); -lean_inc(x_530); -x_531 = lean_ctor_get(x_529, 1); -lean_inc(x_531); -lean_dec(x_529); -x_532 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_531); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_533 = lean_ctor_get(x_532, 0); -lean_inc(x_533); -x_534 = lean_ctor_get(x_532, 1); -lean_inc(x_534); -lean_dec(x_532); -x_535 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_534); -lean_dec(x_9); +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; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; x_536 = lean_ctor_get(x_535, 0); lean_inc(x_536); x_537 = lean_ctor_get(x_535, 1); lean_inc(x_537); -if (lean_is_exclusive(x_535)) { - lean_ctor_release(x_535, 0); - lean_ctor_release(x_535, 1); - x_538 = x_535; +lean_dec(x_535); +x_538 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_537); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_539 = lean_ctor_get(x_538, 0); +lean_inc(x_539); +x_540 = lean_ctor_get(x_538, 1); +lean_inc(x_540); +lean_dec(x_538); +x_541 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_540); +lean_dec(x_9); +x_542 = lean_ctor_get(x_541, 0); +lean_inc(x_542); +x_543 = lean_ctor_get(x_541, 1); +lean_inc(x_543); +if (lean_is_exclusive(x_541)) { + lean_ctor_release(x_541, 0); + lean_ctor_release(x_541, 1); + x_544 = x_541; } else { - lean_dec_ref(x_535); - x_538 = lean_box(0); + lean_dec_ref(x_541); + x_544 = lean_box(0); } -x_539 = l_Lean_Elab_Term_toParserDescrAux___closed__63; -x_540 = l_Lean_addMacroScope(x_536, x_539, x_533); -x_541 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_542 = l_Lean_Elab_Term_toParserDescrAux___closed__62; -x_543 = l_Lean_Elab_Term_toParserDescrAux___closed__66; -x_544 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_544, 0, x_541); -lean_ctor_set(x_544, 1, x_542); -lean_ctor_set(x_544, 2, x_540); -lean_ctor_set(x_544, 3, x_543); -x_545 = l_Array_empty___closed__1; -x_546 = lean_array_push(x_545, x_544); -x_547 = lean_array_push(x_545, x_525); -x_548 = lean_array_push(x_547, x_530); -x_549 = l_Lean_nullKind___closed__2; -x_550 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_550, 0, x_549); +x_545 = l_Lean_Elab_Term_toParserDescrAux___closed__67; +x_546 = l_Lean_addMacroScope(x_542, x_545, x_539); +x_547 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_548 = l_Lean_Elab_Term_toParserDescrAux___closed__66; +x_549 = l_Lean_Elab_Term_toParserDescrAux___closed__70; +x_550 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_550, 0, x_547); lean_ctor_set(x_550, 1, x_548); -x_551 = lean_array_push(x_546, x_550); -x_552 = l_Lean_mkAppStx___closed__8; -x_553 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_553, 0, x_552); -lean_ctor_set(x_553, 1, x_551); -if (lean_is_scalar(x_538)) { - x_554 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_550, 2, x_546); +lean_ctor_set(x_550, 3, x_549); +x_551 = l_Array_empty___closed__1; +x_552 = lean_array_push(x_551, x_550); +x_553 = lean_array_push(x_551, x_531); +x_554 = lean_array_push(x_553, x_536); +x_555 = l_Lean_nullKind___closed__2; +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_555); +lean_ctor_set(x_556, 1, x_554); +x_557 = lean_array_push(x_552, x_556); +x_558 = l_Lean_mkAppStx___closed__8; +x_559 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_559, 0, x_558); +lean_ctor_set(x_559, 1, x_557); +if (lean_is_scalar(x_544)) { + x_560 = lean_alloc_ctor(0, 2, 0); } else { - x_554 = x_538; + x_560 = x_544; } -lean_ctor_set(x_554, 0, x_553); -lean_ctor_set(x_554, 1, x_537); -return x_554; +lean_ctor_set(x_560, 0, x_559); +lean_ctor_set(x_560, 1, x_543); +return x_560; } else { -lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; -lean_dec(x_525); +lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; +lean_dec(x_531); 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_555 = lean_ctor_get(x_529, 0); -lean_inc(x_555); -x_556 = lean_ctor_get(x_529, 1); -lean_inc(x_556); -if (lean_is_exclusive(x_529)) { - lean_ctor_release(x_529, 0); - lean_ctor_release(x_529, 1); - x_557 = x_529; +x_561 = lean_ctor_get(x_535, 0); +lean_inc(x_561); +x_562 = lean_ctor_get(x_535, 1); +lean_inc(x_562); +if (lean_is_exclusive(x_535)) { + lean_ctor_release(x_535, 0); + lean_ctor_release(x_535, 1); + x_563 = x_535; } else { - lean_dec_ref(x_529); - x_557 = lean_box(0); + lean_dec_ref(x_535); + x_563 = lean_box(0); } -if (lean_is_scalar(x_557)) { - x_558 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_563)) { + x_564 = lean_alloc_ctor(1, 2, 0); } else { - x_558 = x_557; + x_564 = x_563; } -lean_ctor_set(x_558, 0, x_555); -lean_ctor_set(x_558, 1, x_556); -return x_558; +lean_ctor_set(x_564, 0, x_561); +lean_ctor_set(x_564, 1, x_562); +return x_564; } } else { -lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; -lean_dec(x_523); +lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; +lean_dec(x_529); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -7852,42 +8113,42 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_559 = lean_ctor_get(x_524, 0); -lean_inc(x_559); -x_560 = lean_ctor_get(x_524, 1); -lean_inc(x_560); -if (lean_is_exclusive(x_524)) { - lean_ctor_release(x_524, 0); - lean_ctor_release(x_524, 1); - x_561 = x_524; +x_565 = lean_ctor_get(x_530, 0); +lean_inc(x_565); +x_566 = lean_ctor_get(x_530, 1); +lean_inc(x_566); +if (lean_is_exclusive(x_530)) { + lean_ctor_release(x_530, 0); + lean_ctor_release(x_530, 1); + x_567 = x_530; } else { - lean_dec_ref(x_524); - x_561 = lean_box(0); + lean_dec_ref(x_530); + x_567 = lean_box(0); } -if (lean_is_scalar(x_561)) { - x_562 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_567)) { + x_568 = lean_alloc_ctor(1, 2, 0); } else { - x_562 = x_561; + x_568 = x_567; } -lean_ctor_set(x_562, 0, x_559); -lean_ctor_set(x_562, 1, x_560); -return x_562; +lean_ctor_set(x_568, 0, x_565); +lean_ctor_set(x_568, 1, x_566); +return x_568; } } } } else { -lean_object* x_563; lean_object* x_564; uint8_t x_565; +lean_object* x_569; lean_object* x_570; uint8_t x_571; lean_dec(x_11); -x_563 = lean_unsigned_to_nat(1u); -x_564 = l_Lean_Syntax_getArg(x_1, x_563); -x_565 = !lean_is_exclusive(x_2); -if (x_565 == 0) +x_569 = lean_unsigned_to_nat(1u); +x_570 = l_Lean_Syntax_getArg(x_1, x_569); +x_571 = !lean_is_exclusive(x_2); +if (x_571 == 0) { -uint8_t x_566; lean_object* x_567; -x_566 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_566); +uint8_t x_572; lean_object* x_573; +x_572 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_572); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -7896,17 +8157,17 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_567 = l_Lean_Elab_Term_toParserDescrAux(x_564, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_567) == 0) +x_573 = l_Lean_Elab_Term_toParserDescrAux(x_570, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_573) == 0) { -lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; -x_568 = lean_ctor_get(x_567, 0); -lean_inc(x_568); -x_569 = lean_ctor_get(x_567, 1); -lean_inc(x_569); -lean_dec(x_567); -x_570 = lean_unsigned_to_nat(2u); -x_571 = l_Lean_Syntax_getArg(x_1, x_570); +lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; +x_574 = lean_ctor_get(x_573, 0); +lean_inc(x_574); +x_575 = lean_ctor_get(x_573, 1); +lean_inc(x_575); +lean_dec(x_573); +x_576 = lean_unsigned_to_nat(2u); +x_577 = l_Lean_Syntax_getArg(x_1, x_576); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -7914,129 +8175,129 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_572 = l_Lean_Elab_Term_toParserDescrAux(x_571, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_569); -if (lean_obj_tag(x_572) == 0) +x_578 = l_Lean_Elab_Term_toParserDescrAux(x_577, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_575); +if (lean_obj_tag(x_578) == 0) { -lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; uint8_t x_579; -x_573 = lean_ctor_get(x_572, 0); -lean_inc(x_573); -x_574 = lean_ctor_get(x_572, 1); -lean_inc(x_574); -lean_dec(x_572); -x_575 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_574); +lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; uint8_t x_585; +x_579 = lean_ctor_get(x_578, 0); +lean_inc(x_579); +x_580 = lean_ctor_get(x_578, 1); +lean_inc(x_580); +lean_dec(x_578); +x_581 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_580); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_576 = lean_ctor_get(x_575, 0); -lean_inc(x_576); -x_577 = lean_ctor_get(x_575, 1); -lean_inc(x_577); -lean_dec(x_575); -x_578 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_577); +x_582 = lean_ctor_get(x_581, 0); +lean_inc(x_582); +x_583 = lean_ctor_get(x_581, 1); +lean_inc(x_583); +lean_dec(x_581); +x_584 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_583); lean_dec(x_9); -x_579 = !lean_is_exclusive(x_578); -if (x_579 == 0) +x_585 = !lean_is_exclusive(x_584); +if (x_585 == 0) { -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; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; -x_580 = lean_ctor_get(x_578, 0); -x_581 = l_Lean_Elab_Term_toParserDescrAux___closed__70; -x_582 = l_Lean_addMacroScope(x_580, x_581, x_576); -x_583 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_584 = l_Lean_Elab_Term_toParserDescrAux___closed__69; -x_585 = l_Lean_Elab_Term_toParserDescrAux___closed__73; -x_586 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_586, 0, x_583); -lean_ctor_set(x_586, 1, x_584); -lean_ctor_set(x_586, 2, x_582); -lean_ctor_set(x_586, 3, x_585); -x_587 = l_Array_empty___closed__1; -x_588 = lean_array_push(x_587, x_586); -x_589 = lean_array_push(x_587, x_568); -x_590 = lean_array_push(x_589, x_573); -x_591 = l_Lean_nullKind___closed__2; -x_592 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_592, 0, x_591); +lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; 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; +x_586 = lean_ctor_get(x_584, 0); +x_587 = l_Lean_Elab_Term_toParserDescrAux___closed__74; +x_588 = l_Lean_addMacroScope(x_586, x_587, x_582); +x_589 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_590 = l_Lean_Elab_Term_toParserDescrAux___closed__73; +x_591 = l_Lean_Elab_Term_toParserDescrAux___closed__77; +x_592 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_592, 0, x_589); lean_ctor_set(x_592, 1, x_590); -x_593 = lean_array_push(x_588, x_592); -x_594 = l_Lean_mkAppStx___closed__8; -x_595 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_595, 0, x_594); -lean_ctor_set(x_595, 1, x_593); -lean_ctor_set(x_578, 0, x_595); +lean_ctor_set(x_592, 2, x_588); +lean_ctor_set(x_592, 3, x_591); +x_593 = l_Array_empty___closed__1; +x_594 = lean_array_push(x_593, x_592); +x_595 = lean_array_push(x_593, x_574); +x_596 = lean_array_push(x_595, x_579); +x_597 = l_Lean_nullKind___closed__2; +x_598 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_598, 0, x_597); +lean_ctor_set(x_598, 1, x_596); +x_599 = lean_array_push(x_594, x_598); +x_600 = l_Lean_mkAppStx___closed__8; +x_601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_601, 0, x_600); +lean_ctor_set(x_601, 1, x_599); +lean_ctor_set(x_584, 0, x_601); +return x_584; +} +else +{ +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; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; +x_602 = lean_ctor_get(x_584, 0); +x_603 = lean_ctor_get(x_584, 1); +lean_inc(x_603); +lean_inc(x_602); +lean_dec(x_584); +x_604 = l_Lean_Elab_Term_toParserDescrAux___closed__74; +x_605 = l_Lean_addMacroScope(x_602, x_604, x_582); +x_606 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_607 = l_Lean_Elab_Term_toParserDescrAux___closed__73; +x_608 = l_Lean_Elab_Term_toParserDescrAux___closed__77; +x_609 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_609, 0, x_606); +lean_ctor_set(x_609, 1, x_607); +lean_ctor_set(x_609, 2, x_605); +lean_ctor_set(x_609, 3, x_608); +x_610 = l_Array_empty___closed__1; +x_611 = lean_array_push(x_610, x_609); +x_612 = lean_array_push(x_610, x_574); +x_613 = lean_array_push(x_612, x_579); +x_614 = l_Lean_nullKind___closed__2; +x_615 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_615, 0, x_614); +lean_ctor_set(x_615, 1, x_613); +x_616 = lean_array_push(x_611, x_615); +x_617 = l_Lean_mkAppStx___closed__8; +x_618 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_618, 0, x_617); +lean_ctor_set(x_618, 1, x_616); +x_619 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_619, 0, x_618); +lean_ctor_set(x_619, 1, x_603); +return x_619; +} +} +else +{ +uint8_t x_620; +lean_dec(x_574); +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_620 = !lean_is_exclusive(x_578); +if (x_620 == 0) +{ return x_578; } else { -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; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; -x_596 = lean_ctor_get(x_578, 0); -x_597 = lean_ctor_get(x_578, 1); -lean_inc(x_597); -lean_inc(x_596); +lean_object* x_621; lean_object* x_622; lean_object* x_623; +x_621 = lean_ctor_get(x_578, 0); +x_622 = lean_ctor_get(x_578, 1); +lean_inc(x_622); +lean_inc(x_621); lean_dec(x_578); -x_598 = l_Lean_Elab_Term_toParserDescrAux___closed__70; -x_599 = l_Lean_addMacroScope(x_596, x_598, x_576); -x_600 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_601 = l_Lean_Elab_Term_toParserDescrAux___closed__69; -x_602 = l_Lean_Elab_Term_toParserDescrAux___closed__73; -x_603 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_603, 0, x_600); -lean_ctor_set(x_603, 1, x_601); -lean_ctor_set(x_603, 2, x_599); -lean_ctor_set(x_603, 3, x_602); -x_604 = l_Array_empty___closed__1; -x_605 = lean_array_push(x_604, x_603); -x_606 = lean_array_push(x_604, x_568); -x_607 = lean_array_push(x_606, x_573); -x_608 = l_Lean_nullKind___closed__2; -x_609 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_609, 0, x_608); -lean_ctor_set(x_609, 1, x_607); -x_610 = lean_array_push(x_605, x_609); -x_611 = l_Lean_mkAppStx___closed__8; -x_612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_612, 0, x_611); -lean_ctor_set(x_612, 1, x_610); -x_613 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_613, 0, x_612); -lean_ctor_set(x_613, 1, x_597); -return x_613; -} -} -else -{ -uint8_t x_614; -lean_dec(x_568); -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_614 = !lean_is_exclusive(x_572); -if (x_614 == 0) -{ -return x_572; -} -else -{ -lean_object* x_615; lean_object* x_616; lean_object* x_617; -x_615 = lean_ctor_get(x_572, 0); -x_616 = lean_ctor_get(x_572, 1); -lean_inc(x_616); -lean_inc(x_615); -lean_dec(x_572); -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; +x_623 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_623, 0, x_621); +lean_ctor_set(x_623, 1, x_622); +return x_623; } } } else { -uint8_t x_618; +uint8_t x_624; lean_dec(x_2); lean_dec(x_9); lean_dec(x_8); @@ -8046,40 +8307,40 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_618 = !lean_is_exclusive(x_567); -if (x_618 == 0) +x_624 = !lean_is_exclusive(x_573); +if (x_624 == 0) { -return x_567; +return x_573; } else { -lean_object* x_619; lean_object* x_620; lean_object* x_621; -x_619 = lean_ctor_get(x_567, 0); -x_620 = lean_ctor_get(x_567, 1); -lean_inc(x_620); -lean_inc(x_619); -lean_dec(x_567); -x_621 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_621, 0, x_619); -lean_ctor_set(x_621, 1, x_620); -return x_621; +lean_object* x_625; lean_object* x_626; lean_object* x_627; +x_625 = lean_ctor_get(x_573, 0); +x_626 = lean_ctor_get(x_573, 1); +lean_inc(x_626); +lean_inc(x_625); +lean_dec(x_573); +x_627 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_627, 0, x_625); +lean_ctor_set(x_627, 1, x_626); +return x_627; } } } else { -lean_object* x_622; uint8_t x_623; uint8_t x_624; uint8_t x_625; lean_object* x_626; lean_object* x_627; -x_622 = lean_ctor_get(x_2, 0); -x_623 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_624 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_622); +lean_object* x_628; uint8_t x_629; uint8_t x_630; uint8_t x_631; lean_object* x_632; lean_object* x_633; +x_628 = lean_ctor_get(x_2, 0); +x_629 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_630 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_628); lean_dec(x_2); -x_625 = 0; -x_626 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_626, 0, x_622); -lean_ctor_set_uint8(x_626, sizeof(void*)*1, x_623); -lean_ctor_set_uint8(x_626, sizeof(void*)*1 + 1, x_625); -lean_ctor_set_uint8(x_626, sizeof(void*)*1 + 2, x_624); +x_631 = 0; +x_632 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_632, 0, x_628); +lean_ctor_set_uint8(x_632, sizeof(void*)*1, x_629); +lean_ctor_set_uint8(x_632, sizeof(void*)*1 + 1, x_631); +lean_ctor_set_uint8(x_632, sizeof(void*)*1 + 2, x_630); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -8087,18 +8348,18 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_626); -x_627 = l_Lean_Elab_Term_toParserDescrAux(x_564, x_626, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_627) == 0) +lean_inc(x_632); +x_633 = l_Lean_Elab_Term_toParserDescrAux(x_570, x_632, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_633) == 0) { -lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; -x_628 = lean_ctor_get(x_627, 0); -lean_inc(x_628); -x_629 = lean_ctor_get(x_627, 1); -lean_inc(x_629); -lean_dec(x_627); -x_630 = lean_unsigned_to_nat(2u); -x_631 = l_Lean_Syntax_getArg(x_1, x_630); +lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; +x_634 = lean_ctor_get(x_633, 0); +lean_inc(x_634); +x_635 = lean_ctor_get(x_633, 1); +lean_inc(x_635); +lean_dec(x_633); +x_636 = lean_unsigned_to_nat(2u); +x_637 = l_Lean_Syntax_getArg(x_1, x_636); lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); @@ -8106,108 +8367,108 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_632 = l_Lean_Elab_Term_toParserDescrAux(x_631, x_626, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_629); -if (lean_obj_tag(x_632) == 0) +x_638 = l_Lean_Elab_Term_toParserDescrAux(x_637, x_632, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_635); +if (lean_obj_tag(x_638) == 0) { -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; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; -x_633 = lean_ctor_get(x_632, 0); -lean_inc(x_633); -x_634 = lean_ctor_get(x_632, 1); -lean_inc(x_634); -lean_dec(x_632); -x_635 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_634); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_636 = lean_ctor_get(x_635, 0); -lean_inc(x_636); -x_637 = lean_ctor_get(x_635, 1); -lean_inc(x_637); -lean_dec(x_635); -x_638 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_637); -lean_dec(x_9); +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; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; x_639 = lean_ctor_get(x_638, 0); lean_inc(x_639); x_640 = lean_ctor_get(x_638, 1); lean_inc(x_640); -if (lean_is_exclusive(x_638)) { - lean_ctor_release(x_638, 0); - lean_ctor_release(x_638, 1); - x_641 = x_638; +lean_dec(x_638); +x_641 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_640); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_642 = lean_ctor_get(x_641, 0); +lean_inc(x_642); +x_643 = lean_ctor_get(x_641, 1); +lean_inc(x_643); +lean_dec(x_641); +x_644 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_643); +lean_dec(x_9); +x_645 = lean_ctor_get(x_644, 0); +lean_inc(x_645); +x_646 = lean_ctor_get(x_644, 1); +lean_inc(x_646); +if (lean_is_exclusive(x_644)) { + lean_ctor_release(x_644, 0); + lean_ctor_release(x_644, 1); + x_647 = x_644; } else { - lean_dec_ref(x_638); - x_641 = lean_box(0); + lean_dec_ref(x_644); + x_647 = lean_box(0); } -x_642 = l_Lean_Elab_Term_toParserDescrAux___closed__70; -x_643 = l_Lean_addMacroScope(x_639, x_642, x_636); -x_644 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_645 = l_Lean_Elab_Term_toParserDescrAux___closed__69; -x_646 = l_Lean_Elab_Term_toParserDescrAux___closed__73; -x_647 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_647, 0, x_644); -lean_ctor_set(x_647, 1, x_645); -lean_ctor_set(x_647, 2, x_643); -lean_ctor_set(x_647, 3, x_646); -x_648 = l_Array_empty___closed__1; -x_649 = lean_array_push(x_648, x_647); -x_650 = lean_array_push(x_648, x_628); -x_651 = lean_array_push(x_650, x_633); -x_652 = l_Lean_nullKind___closed__2; -x_653 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_653, 0, x_652); +x_648 = l_Lean_Elab_Term_toParserDescrAux___closed__74; +x_649 = l_Lean_addMacroScope(x_645, x_648, x_642); +x_650 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_651 = l_Lean_Elab_Term_toParserDescrAux___closed__73; +x_652 = l_Lean_Elab_Term_toParserDescrAux___closed__77; +x_653 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_653, 0, x_650); lean_ctor_set(x_653, 1, x_651); -x_654 = lean_array_push(x_649, x_653); -x_655 = l_Lean_mkAppStx___closed__8; -x_656 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_656, 0, x_655); -lean_ctor_set(x_656, 1, x_654); -if (lean_is_scalar(x_641)) { - x_657 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_653, 2, x_649); +lean_ctor_set(x_653, 3, x_652); +x_654 = l_Array_empty___closed__1; +x_655 = lean_array_push(x_654, x_653); +x_656 = lean_array_push(x_654, x_634); +x_657 = lean_array_push(x_656, x_639); +x_658 = l_Lean_nullKind___closed__2; +x_659 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_659, 0, x_658); +lean_ctor_set(x_659, 1, x_657); +x_660 = lean_array_push(x_655, x_659); +x_661 = l_Lean_mkAppStx___closed__8; +x_662 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_662, 0, x_661); +lean_ctor_set(x_662, 1, x_660); +if (lean_is_scalar(x_647)) { + x_663 = lean_alloc_ctor(0, 2, 0); } else { - x_657 = x_641; + x_663 = x_647; } -lean_ctor_set(x_657, 0, x_656); -lean_ctor_set(x_657, 1, x_640); -return x_657; +lean_ctor_set(x_663, 0, x_662); +lean_ctor_set(x_663, 1, x_646); +return x_663; } else { -lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; -lean_dec(x_628); +lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; +lean_dec(x_634); 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_658 = lean_ctor_get(x_632, 0); -lean_inc(x_658); -x_659 = lean_ctor_get(x_632, 1); -lean_inc(x_659); -if (lean_is_exclusive(x_632)) { - lean_ctor_release(x_632, 0); - lean_ctor_release(x_632, 1); - x_660 = x_632; +x_664 = lean_ctor_get(x_638, 0); +lean_inc(x_664); +x_665 = lean_ctor_get(x_638, 1); +lean_inc(x_665); +if (lean_is_exclusive(x_638)) { + lean_ctor_release(x_638, 0); + lean_ctor_release(x_638, 1); + x_666 = x_638; } else { - lean_dec_ref(x_632); - x_660 = lean_box(0); + lean_dec_ref(x_638); + x_666 = lean_box(0); } -if (lean_is_scalar(x_660)) { - x_661 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_666)) { + x_667 = lean_alloc_ctor(1, 2, 0); } else { - x_661 = x_660; + x_667 = x_666; } -lean_ctor_set(x_661, 0, x_658); -lean_ctor_set(x_661, 1, x_659); -return x_661; +lean_ctor_set(x_667, 0, x_664); +lean_ctor_set(x_667, 1, x_665); +return x_667; } } else { -lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; -lean_dec(x_626); +lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; +lean_dec(x_632); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -8216,1809 +8477,2281 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_662 = lean_ctor_get(x_627, 0); -lean_inc(x_662); -x_663 = lean_ctor_get(x_627, 1); -lean_inc(x_663); -if (lean_is_exclusive(x_627)) { - lean_ctor_release(x_627, 0); - lean_ctor_release(x_627, 1); - x_664 = x_627; +x_668 = lean_ctor_get(x_633, 0); +lean_inc(x_668); +x_669 = lean_ctor_get(x_633, 1); +lean_inc(x_669); +if (lean_is_exclusive(x_633)) { + lean_ctor_release(x_633, 0); + lean_ctor_release(x_633, 1); + x_670 = x_633; } else { - lean_dec_ref(x_627); - x_664 = lean_box(0); + lean_dec_ref(x_633); + x_670 = lean_box(0); } -if (lean_is_scalar(x_664)) { - x_665 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_670)) { + x_671 = lean_alloc_ctor(1, 2, 0); } else { - x_665 = x_664; + x_671 = x_670; } -lean_ctor_set(x_665, 0, x_662); -lean_ctor_set(x_665, 1, x_663); -return x_665; +lean_ctor_set(x_671, 0, x_668); +lean_ctor_set(x_671, 1, x_669); +return x_671; } } } } else { -lean_object* x_666; lean_object* x_667; uint8_t x_668; +lean_object* x_672; lean_object* x_673; uint8_t x_674; lean_dec(x_11); -x_666 = lean_unsigned_to_nat(1u); -x_667 = l_Lean_Syntax_getArg(x_1, x_666); +x_672 = lean_unsigned_to_nat(1u); +x_673 = l_Lean_Syntax_getArg(x_1, x_672); lean_dec(x_1); -x_668 = !lean_is_exclusive(x_2); -if (x_668 == 0) +x_674 = !lean_is_exclusive(x_2); +if (x_674 == 0) { -uint8_t x_669; lean_object* x_670; -x_669 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_669); +uint8_t x_675; lean_object* x_676; +x_675 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_675); 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_670 = l_Lean_Elab_Term_toParserDescrAux(x_667, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_670) == 0) +x_676 = l_Lean_Elab_Term_toParserDescrAux(x_673, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_676) == 0) { -lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; uint8_t x_677; -x_671 = lean_ctor_get(x_670, 0); -lean_inc(x_671); -x_672 = lean_ctor_get(x_670, 1); -lean_inc(x_672); -lean_dec(x_670); -x_673 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_672); +lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; uint8_t x_683; +x_677 = lean_ctor_get(x_676, 0); +lean_inc(x_677); +x_678 = lean_ctor_get(x_676, 1); +lean_inc(x_678); +lean_dec(x_676); +x_679 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_678); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_674 = lean_ctor_get(x_673, 0); -lean_inc(x_674); -x_675 = lean_ctor_get(x_673, 1); -lean_inc(x_675); -lean_dec(x_673); -x_676 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_675); +x_680 = lean_ctor_get(x_679, 0); +lean_inc(x_680); +x_681 = lean_ctor_get(x_679, 1); +lean_inc(x_681); +lean_dec(x_679); +x_682 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_681); lean_dec(x_9); -x_677 = !lean_is_exclusive(x_676); -if (x_677 == 0) +x_683 = !lean_is_exclusive(x_682); +if (x_683 == 0) +{ +lean_object* x_684; lean_object* x_685; lean_object* x_686; 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; +x_684 = lean_ctor_get(x_682, 0); +x_685 = l_Lean_Elab_Term_toParserDescrAux___closed__81; +x_686 = l_Lean_addMacroScope(x_684, x_685, x_680); +x_687 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_688 = l_Lean_Elab_Term_toParserDescrAux___closed__80; +x_689 = l_Lean_Elab_Term_toParserDescrAux___closed__84; +x_690 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_690, 0, x_687); +lean_ctor_set(x_690, 1, x_688); +lean_ctor_set(x_690, 2, x_686); +lean_ctor_set(x_690, 3, x_689); +x_691 = l_Array_empty___closed__1; +x_692 = lean_array_push(x_691, x_690); +x_693 = lean_array_push(x_691, x_677); +x_694 = l_Lean_nullKind___closed__2; +x_695 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_695, 0, x_694); +lean_ctor_set(x_695, 1, x_693); +x_696 = lean_array_push(x_692, x_695); +x_697 = l_Lean_mkAppStx___closed__8; +x_698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_698, 0, x_697); +lean_ctor_set(x_698, 1, x_696); +lean_ctor_set(x_682, 0, x_698); +return x_682; +} +else +{ +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; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; +x_699 = lean_ctor_get(x_682, 0); +x_700 = lean_ctor_get(x_682, 1); +lean_inc(x_700); +lean_inc(x_699); +lean_dec(x_682); +x_701 = l_Lean_Elab_Term_toParserDescrAux___closed__81; +x_702 = l_Lean_addMacroScope(x_699, x_701, x_680); +x_703 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_704 = l_Lean_Elab_Term_toParserDescrAux___closed__80; +x_705 = l_Lean_Elab_Term_toParserDescrAux___closed__84; +x_706 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_706, 0, x_703); +lean_ctor_set(x_706, 1, x_704); +lean_ctor_set(x_706, 2, x_702); +lean_ctor_set(x_706, 3, x_705); +x_707 = l_Array_empty___closed__1; +x_708 = lean_array_push(x_707, x_706); +x_709 = lean_array_push(x_707, x_677); +x_710 = l_Lean_nullKind___closed__2; +x_711 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_711, 0, x_710); +lean_ctor_set(x_711, 1, x_709); +x_712 = lean_array_push(x_708, x_711); +x_713 = l_Lean_mkAppStx___closed__8; +x_714 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_714, 0, x_713); +lean_ctor_set(x_714, 1, x_712); +x_715 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_715, 0, x_714); +lean_ctor_set(x_715, 1, x_700); +return x_715; +} +} +else +{ +uint8_t x_716; +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_716 = !lean_is_exclusive(x_676); +if (x_716 == 0) { -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; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; -x_678 = lean_ctor_get(x_676, 0); -x_679 = l_Lean_Elab_Term_toParserDescrAux___closed__77; -x_680 = l_Lean_addMacroScope(x_678, x_679, x_674); -x_681 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_682 = l_Lean_Elab_Term_toParserDescrAux___closed__76; -x_683 = l_Lean_Elab_Term_toParserDescrAux___closed__80; -x_684 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_684, 0, x_681); -lean_ctor_set(x_684, 1, x_682); -lean_ctor_set(x_684, 2, x_680); -lean_ctor_set(x_684, 3, x_683); -x_685 = l_Array_empty___closed__1; -x_686 = lean_array_push(x_685, x_684); -x_687 = lean_array_push(x_685, x_671); -x_688 = l_Lean_nullKind___closed__2; -x_689 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_689, 0, x_688); -lean_ctor_set(x_689, 1, x_687); -x_690 = lean_array_push(x_686, x_689); -x_691 = l_Lean_mkAppStx___closed__8; -x_692 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_692, 0, x_691); -lean_ctor_set(x_692, 1, x_690); -lean_ctor_set(x_676, 0, x_692); return x_676; } else { -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; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; -x_693 = lean_ctor_get(x_676, 0); -x_694 = lean_ctor_get(x_676, 1); -lean_inc(x_694); -lean_inc(x_693); +lean_object* x_717; lean_object* x_718; lean_object* x_719; +x_717 = lean_ctor_get(x_676, 0); +x_718 = lean_ctor_get(x_676, 1); +lean_inc(x_718); +lean_inc(x_717); lean_dec(x_676); -x_695 = l_Lean_Elab_Term_toParserDescrAux___closed__77; -x_696 = l_Lean_addMacroScope(x_693, x_695, x_674); -x_697 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_698 = l_Lean_Elab_Term_toParserDescrAux___closed__76; -x_699 = l_Lean_Elab_Term_toParserDescrAux___closed__80; -x_700 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_700, 0, x_697); -lean_ctor_set(x_700, 1, x_698); -lean_ctor_set(x_700, 2, x_696); -lean_ctor_set(x_700, 3, x_699); -x_701 = l_Array_empty___closed__1; -x_702 = lean_array_push(x_701, x_700); -x_703 = lean_array_push(x_701, x_671); -x_704 = l_Lean_nullKind___closed__2; -x_705 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_705, 0, x_704); -lean_ctor_set(x_705, 1, x_703); -x_706 = lean_array_push(x_702, x_705); -x_707 = l_Lean_mkAppStx___closed__8; -x_708 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_708, 0, x_707); -lean_ctor_set(x_708, 1, x_706); -x_709 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_709, 0, x_708); -lean_ctor_set(x_709, 1, x_694); -return x_709; -} -} -else -{ -uint8_t x_710; -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_710 = !lean_is_exclusive(x_670); -if (x_710 == 0) -{ -return x_670; -} -else -{ -lean_object* x_711; lean_object* x_712; lean_object* x_713; -x_711 = lean_ctor_get(x_670, 0); -x_712 = lean_ctor_get(x_670, 1); -lean_inc(x_712); -lean_inc(x_711); -lean_dec(x_670); -x_713 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_713, 0, x_711); -lean_ctor_set(x_713, 1, x_712); -return x_713; +x_719 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_719, 0, x_717); +lean_ctor_set(x_719, 1, x_718); +return x_719; } } } else { -lean_object* x_714; uint8_t x_715; uint8_t x_716; uint8_t x_717; lean_object* x_718; lean_object* x_719; -x_714 = lean_ctor_get(x_2, 0); -x_715 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_716 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_714); +lean_object* x_720; uint8_t x_721; uint8_t x_722; uint8_t x_723; lean_object* x_724; lean_object* x_725; +x_720 = lean_ctor_get(x_2, 0); +x_721 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_722 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_720); lean_dec(x_2); -x_717 = 0; -x_718 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_718, 0, x_714); -lean_ctor_set_uint8(x_718, sizeof(void*)*1, x_715); -lean_ctor_set_uint8(x_718, sizeof(void*)*1 + 1, x_717); -lean_ctor_set_uint8(x_718, sizeof(void*)*1 + 2, x_716); +x_723 = 0; +x_724 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_724, 0, x_720); +lean_ctor_set_uint8(x_724, sizeof(void*)*1, x_721); +lean_ctor_set_uint8(x_724, sizeof(void*)*1 + 1, x_723); +lean_ctor_set_uint8(x_724, sizeof(void*)*1 + 2, x_722); 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_719 = l_Lean_Elab_Term_toParserDescrAux(x_667, x_718, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_719) == 0) +x_725 = l_Lean_Elab_Term_toParserDescrAux(x_673, x_724, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_725) == 0) { -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; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; -x_720 = lean_ctor_get(x_719, 0); -lean_inc(x_720); -x_721 = lean_ctor_get(x_719, 1); -lean_inc(x_721); -lean_dec(x_719); -x_722 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_721); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_723 = lean_ctor_get(x_722, 0); -lean_inc(x_723); -x_724 = lean_ctor_get(x_722, 1); -lean_inc(x_724); -lean_dec(x_722); -x_725 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_724); -lean_dec(x_9); +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; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; x_726 = lean_ctor_get(x_725, 0); lean_inc(x_726); x_727 = lean_ctor_get(x_725, 1); lean_inc(x_727); -if (lean_is_exclusive(x_725)) { - lean_ctor_release(x_725, 0); - lean_ctor_release(x_725, 1); - x_728 = x_725; +lean_dec(x_725); +x_728 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_727); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_729 = lean_ctor_get(x_728, 0); +lean_inc(x_729); +x_730 = lean_ctor_get(x_728, 1); +lean_inc(x_730); +lean_dec(x_728); +x_731 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_730); +lean_dec(x_9); +x_732 = lean_ctor_get(x_731, 0); +lean_inc(x_732); +x_733 = lean_ctor_get(x_731, 1); +lean_inc(x_733); +if (lean_is_exclusive(x_731)) { + lean_ctor_release(x_731, 0); + lean_ctor_release(x_731, 1); + x_734 = x_731; } else { - lean_dec_ref(x_725); - x_728 = lean_box(0); + lean_dec_ref(x_731); + x_734 = lean_box(0); } -x_729 = l_Lean_Elab_Term_toParserDescrAux___closed__77; -x_730 = l_Lean_addMacroScope(x_726, x_729, x_723); -x_731 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_732 = l_Lean_Elab_Term_toParserDescrAux___closed__76; -x_733 = l_Lean_Elab_Term_toParserDescrAux___closed__80; -x_734 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_734, 0, x_731); -lean_ctor_set(x_734, 1, x_732); -lean_ctor_set(x_734, 2, x_730); -lean_ctor_set(x_734, 3, x_733); -x_735 = l_Array_empty___closed__1; -x_736 = lean_array_push(x_735, x_734); -x_737 = lean_array_push(x_735, x_720); -x_738 = l_Lean_nullKind___closed__2; -x_739 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_739, 0, x_738); -lean_ctor_set(x_739, 1, x_737); -x_740 = lean_array_push(x_736, x_739); -x_741 = l_Lean_mkAppStx___closed__8; -x_742 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_742, 0, x_741); -lean_ctor_set(x_742, 1, x_740); -if (lean_is_scalar(x_728)) { - x_743 = lean_alloc_ctor(0, 2, 0); +x_735 = l_Lean_Elab_Term_toParserDescrAux___closed__81; +x_736 = l_Lean_addMacroScope(x_732, x_735, x_729); +x_737 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_738 = l_Lean_Elab_Term_toParserDescrAux___closed__80; +x_739 = l_Lean_Elab_Term_toParserDescrAux___closed__84; +x_740 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_740, 0, x_737); +lean_ctor_set(x_740, 1, x_738); +lean_ctor_set(x_740, 2, x_736); +lean_ctor_set(x_740, 3, x_739); +x_741 = l_Array_empty___closed__1; +x_742 = lean_array_push(x_741, x_740); +x_743 = lean_array_push(x_741, x_726); +x_744 = l_Lean_nullKind___closed__2; +x_745 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_745, 0, x_744); +lean_ctor_set(x_745, 1, x_743); +x_746 = lean_array_push(x_742, x_745); +x_747 = l_Lean_mkAppStx___closed__8; +x_748 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_748, 0, x_747); +lean_ctor_set(x_748, 1, x_746); +if (lean_is_scalar(x_734)) { + x_749 = lean_alloc_ctor(0, 2, 0); } else { - x_743 = x_728; + x_749 = x_734; } -lean_ctor_set(x_743, 0, x_742); -lean_ctor_set(x_743, 1, x_727); -return x_743; +lean_ctor_set(x_749, 0, x_748); +lean_ctor_set(x_749, 1, x_733); +return x_749; } else { -lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; +lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; 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_744 = lean_ctor_get(x_719, 0); -lean_inc(x_744); -x_745 = lean_ctor_get(x_719, 1); -lean_inc(x_745); -if (lean_is_exclusive(x_719)) { - lean_ctor_release(x_719, 0); - lean_ctor_release(x_719, 1); - x_746 = x_719; +x_750 = lean_ctor_get(x_725, 0); +lean_inc(x_750); +x_751 = lean_ctor_get(x_725, 1); +lean_inc(x_751); +if (lean_is_exclusive(x_725)) { + lean_ctor_release(x_725, 0); + lean_ctor_release(x_725, 1); + x_752 = x_725; } else { - lean_dec_ref(x_719); - x_746 = lean_box(0); + lean_dec_ref(x_725); + x_752 = lean_box(0); } -if (lean_is_scalar(x_746)) { - x_747 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_752)) { + x_753 = lean_alloc_ctor(1, 2, 0); } else { - x_747 = x_746; + x_753 = x_752; } -lean_ctor_set(x_747, 0, x_744); -lean_ctor_set(x_747, 1, x_745); -return x_747; +lean_ctor_set(x_753, 0, x_750); +lean_ctor_set(x_753, 1, x_751); +return x_753; } } } } else { -lean_object* x_748; lean_object* x_749; uint8_t x_750; +lean_object* x_754; lean_object* x_755; uint8_t x_756; lean_dec(x_11); -x_748 = lean_unsigned_to_nat(1u); -x_749 = l_Lean_Syntax_getArg(x_1, x_748); +x_754 = lean_unsigned_to_nat(1u); +x_755 = l_Lean_Syntax_getArg(x_1, x_754); lean_dec(x_1); -x_750 = !lean_is_exclusive(x_2); -if (x_750 == 0) +x_756 = !lean_is_exclusive(x_2); +if (x_756 == 0) { -uint8_t x_751; lean_object* x_752; -x_751 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_751); +uint8_t x_757; lean_object* x_758; +x_757 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_757); 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_752 = l_Lean_Elab_Term_toParserDescrAux(x_749, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_752) == 0) +x_758 = l_Lean_Elab_Term_toParserDescrAux(x_755, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_758) == 0) { -lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; uint8_t x_759; -x_753 = lean_ctor_get(x_752, 0); -lean_inc(x_753); -x_754 = lean_ctor_get(x_752, 1); -lean_inc(x_754); -lean_dec(x_752); -x_755 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_754); +lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; uint8_t x_765; +x_759 = lean_ctor_get(x_758, 0); +lean_inc(x_759); +x_760 = lean_ctor_get(x_758, 1); +lean_inc(x_760); +lean_dec(x_758); +x_761 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_760); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_756 = lean_ctor_get(x_755, 0); -lean_inc(x_756); -x_757 = lean_ctor_get(x_755, 1); -lean_inc(x_757); -lean_dec(x_755); -x_758 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_757); +x_762 = lean_ctor_get(x_761, 0); +lean_inc(x_762); +x_763 = lean_ctor_get(x_761, 1); +lean_inc(x_763); +lean_dec(x_761); +x_764 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_763); lean_dec(x_9); -x_759 = !lean_is_exclusive(x_758); -if (x_759 == 0) +x_765 = !lean_is_exclusive(x_764); +if (x_765 == 0) +{ +lean_object* x_766; lean_object* x_767; lean_object* x_768; 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; +x_766 = lean_ctor_get(x_764, 0); +x_767 = l_Lean_Elab_Term_toParserDescrAux___closed__88; +x_768 = l_Lean_addMacroScope(x_766, x_767, x_762); +x_769 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_770 = l_Lean_Elab_Term_toParserDescrAux___closed__87; +x_771 = l_Lean_Elab_Term_toParserDescrAux___closed__91; +x_772 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_772, 0, x_769); +lean_ctor_set(x_772, 1, x_770); +lean_ctor_set(x_772, 2, x_768); +lean_ctor_set(x_772, 3, x_771); +x_773 = l_Array_empty___closed__1; +x_774 = lean_array_push(x_773, x_772); +x_775 = lean_array_push(x_773, x_759); +x_776 = l_Lean_nullKind___closed__2; +x_777 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_777, 0, x_776); +lean_ctor_set(x_777, 1, x_775); +x_778 = lean_array_push(x_774, x_777); +x_779 = l_Lean_mkAppStx___closed__8; +x_780 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_780, 0, x_779); +lean_ctor_set(x_780, 1, x_778); +lean_ctor_set(x_764, 0, x_780); +return x_764; +} +else +{ +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; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; +x_781 = lean_ctor_get(x_764, 0); +x_782 = lean_ctor_get(x_764, 1); +lean_inc(x_782); +lean_inc(x_781); +lean_dec(x_764); +x_783 = l_Lean_Elab_Term_toParserDescrAux___closed__88; +x_784 = l_Lean_addMacroScope(x_781, x_783, x_762); +x_785 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_786 = l_Lean_Elab_Term_toParserDescrAux___closed__87; +x_787 = l_Lean_Elab_Term_toParserDescrAux___closed__91; +x_788 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_788, 0, x_785); +lean_ctor_set(x_788, 1, x_786); +lean_ctor_set(x_788, 2, x_784); +lean_ctor_set(x_788, 3, x_787); +x_789 = l_Array_empty___closed__1; +x_790 = lean_array_push(x_789, x_788); +x_791 = lean_array_push(x_789, x_759); +x_792 = l_Lean_nullKind___closed__2; +x_793 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_793, 0, x_792); +lean_ctor_set(x_793, 1, x_791); +x_794 = lean_array_push(x_790, x_793); +x_795 = l_Lean_mkAppStx___closed__8; +x_796 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_796, 0, x_795); +lean_ctor_set(x_796, 1, x_794); +x_797 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_797, 0, x_796); +lean_ctor_set(x_797, 1, x_782); +return x_797; +} +} +else +{ +uint8_t x_798; +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_798 = !lean_is_exclusive(x_758); +if (x_798 == 0) { -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; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; -x_760 = lean_ctor_get(x_758, 0); -x_761 = l_Lean_Elab_Term_toParserDescrAux___closed__84; -x_762 = l_Lean_addMacroScope(x_760, x_761, x_756); -x_763 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_764 = l_Lean_Elab_Term_toParserDescrAux___closed__83; -x_765 = l_Lean_Elab_Term_toParserDescrAux___closed__87; -x_766 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_766, 0, x_763); -lean_ctor_set(x_766, 1, x_764); -lean_ctor_set(x_766, 2, x_762); -lean_ctor_set(x_766, 3, x_765); -x_767 = l_Array_empty___closed__1; -x_768 = lean_array_push(x_767, x_766); -x_769 = lean_array_push(x_767, x_753); -x_770 = l_Lean_nullKind___closed__2; -x_771 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_771, 0, x_770); -lean_ctor_set(x_771, 1, x_769); -x_772 = lean_array_push(x_768, x_771); -x_773 = l_Lean_mkAppStx___closed__8; -x_774 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_774, 0, x_773); -lean_ctor_set(x_774, 1, x_772); -lean_ctor_set(x_758, 0, x_774); return x_758; } else { -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; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; -x_775 = lean_ctor_get(x_758, 0); -x_776 = lean_ctor_get(x_758, 1); -lean_inc(x_776); -lean_inc(x_775); +lean_object* x_799; lean_object* x_800; lean_object* x_801; +x_799 = lean_ctor_get(x_758, 0); +x_800 = lean_ctor_get(x_758, 1); +lean_inc(x_800); +lean_inc(x_799); lean_dec(x_758); -x_777 = l_Lean_Elab_Term_toParserDescrAux___closed__84; -x_778 = l_Lean_addMacroScope(x_775, x_777, x_756); -x_779 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_780 = l_Lean_Elab_Term_toParserDescrAux___closed__83; -x_781 = l_Lean_Elab_Term_toParserDescrAux___closed__87; -x_782 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_782, 0, x_779); -lean_ctor_set(x_782, 1, x_780); -lean_ctor_set(x_782, 2, x_778); -lean_ctor_set(x_782, 3, x_781); -x_783 = l_Array_empty___closed__1; -x_784 = lean_array_push(x_783, x_782); -x_785 = lean_array_push(x_783, x_753); -x_786 = l_Lean_nullKind___closed__2; -x_787 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_787, 0, x_786); -lean_ctor_set(x_787, 1, x_785); -x_788 = lean_array_push(x_784, x_787); -x_789 = l_Lean_mkAppStx___closed__8; -x_790 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_790, 0, x_789); -lean_ctor_set(x_790, 1, x_788); -x_791 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_791, 0, x_790); -lean_ctor_set(x_791, 1, x_776); -return x_791; -} -} -else -{ -uint8_t x_792; -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_792 = !lean_is_exclusive(x_752); -if (x_792 == 0) -{ -return x_752; -} -else -{ -lean_object* x_793; lean_object* x_794; lean_object* x_795; -x_793 = lean_ctor_get(x_752, 0); -x_794 = lean_ctor_get(x_752, 1); -lean_inc(x_794); -lean_inc(x_793); -lean_dec(x_752); -x_795 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_795, 0, x_793); -lean_ctor_set(x_795, 1, x_794); -return x_795; +x_801 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_801, 0, x_799); +lean_ctor_set(x_801, 1, x_800); +return x_801; } } } else { -lean_object* x_796; uint8_t x_797; uint8_t x_798; uint8_t x_799; lean_object* x_800; lean_object* x_801; -x_796 = lean_ctor_get(x_2, 0); -x_797 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_798 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_796); +lean_object* x_802; uint8_t x_803; uint8_t x_804; uint8_t x_805; lean_object* x_806; lean_object* x_807; +x_802 = lean_ctor_get(x_2, 0); +x_803 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_804 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_802); lean_dec(x_2); -x_799 = 0; -x_800 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_800, 0, x_796); -lean_ctor_set_uint8(x_800, sizeof(void*)*1, x_797); -lean_ctor_set_uint8(x_800, sizeof(void*)*1 + 1, x_799); -lean_ctor_set_uint8(x_800, sizeof(void*)*1 + 2, x_798); +x_805 = 0; +x_806 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_806, 0, x_802); +lean_ctor_set_uint8(x_806, sizeof(void*)*1, x_803); +lean_ctor_set_uint8(x_806, sizeof(void*)*1 + 1, x_805); +lean_ctor_set_uint8(x_806, sizeof(void*)*1 + 2, x_804); 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_801 = l_Lean_Elab_Term_toParserDescrAux(x_749, x_800, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_801) == 0) +x_807 = l_Lean_Elab_Term_toParserDescrAux(x_755, x_806, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_807) == 0) { -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; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; -x_802 = lean_ctor_get(x_801, 0); -lean_inc(x_802); -x_803 = lean_ctor_get(x_801, 1); -lean_inc(x_803); -lean_dec(x_801); -x_804 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_803); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_805 = lean_ctor_get(x_804, 0); -lean_inc(x_805); -x_806 = lean_ctor_get(x_804, 1); -lean_inc(x_806); -lean_dec(x_804); -x_807 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_806); -lean_dec(x_9); +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; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; x_808 = lean_ctor_get(x_807, 0); lean_inc(x_808); x_809 = lean_ctor_get(x_807, 1); lean_inc(x_809); -if (lean_is_exclusive(x_807)) { - lean_ctor_release(x_807, 0); - lean_ctor_release(x_807, 1); - x_810 = x_807; +lean_dec(x_807); +x_810 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_809); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_811 = lean_ctor_get(x_810, 0); +lean_inc(x_811); +x_812 = lean_ctor_get(x_810, 1); +lean_inc(x_812); +lean_dec(x_810); +x_813 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_812); +lean_dec(x_9); +x_814 = lean_ctor_get(x_813, 0); +lean_inc(x_814); +x_815 = lean_ctor_get(x_813, 1); +lean_inc(x_815); +if (lean_is_exclusive(x_813)) { + lean_ctor_release(x_813, 0); + lean_ctor_release(x_813, 1); + x_816 = x_813; } else { - lean_dec_ref(x_807); - x_810 = lean_box(0); + lean_dec_ref(x_813); + x_816 = lean_box(0); } -x_811 = l_Lean_Elab_Term_toParserDescrAux___closed__84; -x_812 = l_Lean_addMacroScope(x_808, x_811, x_805); -x_813 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_814 = l_Lean_Elab_Term_toParserDescrAux___closed__83; -x_815 = l_Lean_Elab_Term_toParserDescrAux___closed__87; -x_816 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_816, 0, x_813); -lean_ctor_set(x_816, 1, x_814); -lean_ctor_set(x_816, 2, x_812); -lean_ctor_set(x_816, 3, x_815); -x_817 = l_Array_empty___closed__1; -x_818 = lean_array_push(x_817, x_816); -x_819 = lean_array_push(x_817, x_802); -x_820 = l_Lean_nullKind___closed__2; -x_821 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_821, 0, x_820); -lean_ctor_set(x_821, 1, x_819); -x_822 = lean_array_push(x_818, x_821); -x_823 = l_Lean_mkAppStx___closed__8; -x_824 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_824, 0, x_823); -lean_ctor_set(x_824, 1, x_822); -if (lean_is_scalar(x_810)) { - x_825 = lean_alloc_ctor(0, 2, 0); +x_817 = l_Lean_Elab_Term_toParserDescrAux___closed__88; +x_818 = l_Lean_addMacroScope(x_814, x_817, x_811); +x_819 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_820 = l_Lean_Elab_Term_toParserDescrAux___closed__87; +x_821 = l_Lean_Elab_Term_toParserDescrAux___closed__91; +x_822 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_822, 0, x_819); +lean_ctor_set(x_822, 1, x_820); +lean_ctor_set(x_822, 2, x_818); +lean_ctor_set(x_822, 3, x_821); +x_823 = l_Array_empty___closed__1; +x_824 = lean_array_push(x_823, x_822); +x_825 = lean_array_push(x_823, x_808); +x_826 = l_Lean_nullKind___closed__2; +x_827 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_827, 0, x_826); +lean_ctor_set(x_827, 1, x_825); +x_828 = lean_array_push(x_824, x_827); +x_829 = l_Lean_mkAppStx___closed__8; +x_830 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_830, 0, x_829); +lean_ctor_set(x_830, 1, x_828); +if (lean_is_scalar(x_816)) { + x_831 = lean_alloc_ctor(0, 2, 0); } else { - x_825 = x_810; + x_831 = x_816; } -lean_ctor_set(x_825, 0, x_824); -lean_ctor_set(x_825, 1, x_809); -return x_825; +lean_ctor_set(x_831, 0, x_830); +lean_ctor_set(x_831, 1, x_815); +return x_831; } else { -lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; +lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; 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_826 = lean_ctor_get(x_801, 0); -lean_inc(x_826); -x_827 = lean_ctor_get(x_801, 1); -lean_inc(x_827); -if (lean_is_exclusive(x_801)) { - lean_ctor_release(x_801, 0); - lean_ctor_release(x_801, 1); - x_828 = x_801; +x_832 = lean_ctor_get(x_807, 0); +lean_inc(x_832); +x_833 = lean_ctor_get(x_807, 1); +lean_inc(x_833); +if (lean_is_exclusive(x_807)) { + lean_ctor_release(x_807, 0); + lean_ctor_release(x_807, 1); + x_834 = x_807; } else { - lean_dec_ref(x_801); - x_828 = lean_box(0); + lean_dec_ref(x_807); + x_834 = lean_box(0); } -if (lean_is_scalar(x_828)) { - x_829 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_834)) { + x_835 = lean_alloc_ctor(1, 2, 0); } else { - x_829 = x_828; + x_835 = x_834; } -lean_ctor_set(x_829, 0, x_826); -lean_ctor_set(x_829, 1, x_827); -return x_829; +lean_ctor_set(x_835, 0, x_832); +lean_ctor_set(x_835, 1, x_833); +return x_835; } } } } else { -lean_object* x_830; lean_object* x_831; uint8_t x_832; +lean_object* x_836; lean_object* x_837; uint8_t x_838; lean_dec(x_11); -x_830 = lean_unsigned_to_nat(1u); -x_831 = l_Lean_Syntax_getArg(x_1, x_830); +x_836 = lean_unsigned_to_nat(1u); +x_837 = l_Lean_Syntax_getArg(x_1, x_836); lean_dec(x_1); -x_832 = !lean_is_exclusive(x_2); -if (x_832 == 0) +x_838 = !lean_is_exclusive(x_2); +if (x_838 == 0) { -uint8_t x_833; lean_object* x_834; -x_833 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_833); +uint8_t x_839; lean_object* x_840; +x_839 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_839); 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_834 = l_Lean_Elab_Term_toParserDescrAux(x_831, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_834) == 0) +x_840 = l_Lean_Elab_Term_toParserDescrAux(x_837, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_840) == 0) { -lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; uint8_t x_841; -x_835 = lean_ctor_get(x_834, 0); -lean_inc(x_835); -x_836 = lean_ctor_get(x_834, 1); -lean_inc(x_836); -lean_dec(x_834); -x_837 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_836); +lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; uint8_t x_847; +x_841 = lean_ctor_get(x_840, 0); +lean_inc(x_841); +x_842 = lean_ctor_get(x_840, 1); +lean_inc(x_842); +lean_dec(x_840); +x_843 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_842); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_838 = lean_ctor_get(x_837, 0); -lean_inc(x_838); -x_839 = lean_ctor_get(x_837, 1); -lean_inc(x_839); -lean_dec(x_837); -x_840 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_839); +x_844 = lean_ctor_get(x_843, 0); +lean_inc(x_844); +x_845 = lean_ctor_get(x_843, 1); +lean_inc(x_845); +lean_dec(x_843); +x_846 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_845); lean_dec(x_9); -x_841 = !lean_is_exclusive(x_840); -if (x_841 == 0) +x_847 = !lean_is_exclusive(x_846); +if (x_847 == 0) +{ +lean_object* x_848; lean_object* x_849; lean_object* x_850; 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; +x_848 = lean_ctor_get(x_846, 0); +x_849 = l_Lean_Elab_Term_toParserDescrAux___closed__95; +x_850 = l_Lean_addMacroScope(x_848, x_849, x_844); +x_851 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_852 = l_Lean_Elab_Term_toParserDescrAux___closed__94; +x_853 = l_Lean_Elab_Term_toParserDescrAux___closed__98; +x_854 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_854, 0, x_851); +lean_ctor_set(x_854, 1, x_852); +lean_ctor_set(x_854, 2, x_850); +lean_ctor_set(x_854, 3, x_853); +x_855 = l_Array_empty___closed__1; +x_856 = lean_array_push(x_855, x_854); +x_857 = lean_array_push(x_855, x_841); +x_858 = l_Lean_nullKind___closed__2; +x_859 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_859, 0, x_858); +lean_ctor_set(x_859, 1, x_857); +x_860 = lean_array_push(x_856, x_859); +x_861 = l_Lean_mkAppStx___closed__8; +x_862 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_862, 0, x_861); +lean_ctor_set(x_862, 1, x_860); +lean_ctor_set(x_846, 0, x_862); +return x_846; +} +else +{ +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; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; +x_863 = lean_ctor_get(x_846, 0); +x_864 = lean_ctor_get(x_846, 1); +lean_inc(x_864); +lean_inc(x_863); +lean_dec(x_846); +x_865 = l_Lean_Elab_Term_toParserDescrAux___closed__95; +x_866 = l_Lean_addMacroScope(x_863, x_865, x_844); +x_867 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_868 = l_Lean_Elab_Term_toParserDescrAux___closed__94; +x_869 = l_Lean_Elab_Term_toParserDescrAux___closed__98; +x_870 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_870, 0, x_867); +lean_ctor_set(x_870, 1, x_868); +lean_ctor_set(x_870, 2, x_866); +lean_ctor_set(x_870, 3, x_869); +x_871 = l_Array_empty___closed__1; +x_872 = lean_array_push(x_871, x_870); +x_873 = lean_array_push(x_871, x_841); +x_874 = l_Lean_nullKind___closed__2; +x_875 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_875, 0, x_874); +lean_ctor_set(x_875, 1, x_873); +x_876 = lean_array_push(x_872, x_875); +x_877 = l_Lean_mkAppStx___closed__8; +x_878 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_878, 0, x_877); +lean_ctor_set(x_878, 1, x_876); +x_879 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_879, 0, x_878); +lean_ctor_set(x_879, 1, x_864); +return x_879; +} +} +else +{ +uint8_t x_880; +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_880 = !lean_is_exclusive(x_840); +if (x_880 == 0) { -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; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; -x_842 = lean_ctor_get(x_840, 0); -x_843 = l_Lean_Elab_Term_toParserDescrAux___closed__91; -x_844 = l_Lean_addMacroScope(x_842, x_843, x_838); -x_845 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_846 = l_Lean_Elab_Term_toParserDescrAux___closed__90; -x_847 = l_Lean_Elab_Term_toParserDescrAux___closed__94; -x_848 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_848, 0, x_845); -lean_ctor_set(x_848, 1, x_846); -lean_ctor_set(x_848, 2, x_844); -lean_ctor_set(x_848, 3, x_847); -x_849 = l_Array_empty___closed__1; -x_850 = lean_array_push(x_849, x_848); -x_851 = lean_array_push(x_849, x_835); -x_852 = l_Lean_nullKind___closed__2; -x_853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_853, 0, x_852); -lean_ctor_set(x_853, 1, x_851); -x_854 = lean_array_push(x_850, x_853); -x_855 = l_Lean_mkAppStx___closed__8; -x_856 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_856, 0, x_855); -lean_ctor_set(x_856, 1, x_854); -lean_ctor_set(x_840, 0, x_856); return x_840; } else { -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; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; -x_857 = lean_ctor_get(x_840, 0); -x_858 = lean_ctor_get(x_840, 1); -lean_inc(x_858); -lean_inc(x_857); +lean_object* x_881; lean_object* x_882; lean_object* x_883; +x_881 = lean_ctor_get(x_840, 0); +x_882 = lean_ctor_get(x_840, 1); +lean_inc(x_882); +lean_inc(x_881); lean_dec(x_840); -x_859 = l_Lean_Elab_Term_toParserDescrAux___closed__91; -x_860 = l_Lean_addMacroScope(x_857, x_859, x_838); -x_861 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_862 = l_Lean_Elab_Term_toParserDescrAux___closed__90; -x_863 = l_Lean_Elab_Term_toParserDescrAux___closed__94; -x_864 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_864, 0, x_861); -lean_ctor_set(x_864, 1, x_862); -lean_ctor_set(x_864, 2, x_860); -lean_ctor_set(x_864, 3, x_863); -x_865 = l_Array_empty___closed__1; -x_866 = lean_array_push(x_865, x_864); -x_867 = lean_array_push(x_865, x_835); -x_868 = l_Lean_nullKind___closed__2; -x_869 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_869, 0, x_868); -lean_ctor_set(x_869, 1, x_867); -x_870 = lean_array_push(x_866, x_869); -x_871 = l_Lean_mkAppStx___closed__8; -x_872 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_872, 0, x_871); -lean_ctor_set(x_872, 1, x_870); -x_873 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_873, 0, x_872); -lean_ctor_set(x_873, 1, x_858); -return x_873; -} -} -else -{ -uint8_t x_874; -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_874 = !lean_is_exclusive(x_834); -if (x_874 == 0) -{ -return x_834; -} -else -{ -lean_object* x_875; lean_object* x_876; lean_object* x_877; -x_875 = lean_ctor_get(x_834, 0); -x_876 = lean_ctor_get(x_834, 1); -lean_inc(x_876); -lean_inc(x_875); -lean_dec(x_834); -x_877 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_877, 0, x_875); -lean_ctor_set(x_877, 1, x_876); -return x_877; +x_883 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_883, 0, x_881); +lean_ctor_set(x_883, 1, x_882); +return x_883; } } } else { -lean_object* x_878; uint8_t x_879; uint8_t x_880; uint8_t x_881; lean_object* x_882; lean_object* x_883; -x_878 = lean_ctor_get(x_2, 0); -x_879 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_880 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_878); +lean_object* x_884; uint8_t x_885; uint8_t x_886; uint8_t x_887; lean_object* x_888; lean_object* x_889; +x_884 = lean_ctor_get(x_2, 0); +x_885 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_886 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_884); lean_dec(x_2); -x_881 = 0; -x_882 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_882, 0, x_878); -lean_ctor_set_uint8(x_882, sizeof(void*)*1, x_879); -lean_ctor_set_uint8(x_882, sizeof(void*)*1 + 1, x_881); -lean_ctor_set_uint8(x_882, sizeof(void*)*1 + 2, x_880); +x_887 = 0; +x_888 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_888, 0, x_884); +lean_ctor_set_uint8(x_888, sizeof(void*)*1, x_885); +lean_ctor_set_uint8(x_888, sizeof(void*)*1 + 1, x_887); +lean_ctor_set_uint8(x_888, sizeof(void*)*1 + 2, x_886); 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_883 = l_Lean_Elab_Term_toParserDescrAux(x_831, x_882, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_883) == 0) +x_889 = l_Lean_Elab_Term_toParserDescrAux(x_837, x_888, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_889) == 0) { -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; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; -x_884 = lean_ctor_get(x_883, 0); -lean_inc(x_884); -x_885 = lean_ctor_get(x_883, 1); -lean_inc(x_885); -lean_dec(x_883); -x_886 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_885); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_887 = lean_ctor_get(x_886, 0); -lean_inc(x_887); -x_888 = lean_ctor_get(x_886, 1); -lean_inc(x_888); -lean_dec(x_886); -x_889 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_888); -lean_dec(x_9); +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; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; x_890 = lean_ctor_get(x_889, 0); lean_inc(x_890); x_891 = lean_ctor_get(x_889, 1); lean_inc(x_891); +lean_dec(x_889); +x_892 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_891); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_893 = lean_ctor_get(x_892, 0); +lean_inc(x_893); +x_894 = lean_ctor_get(x_892, 1); +lean_inc(x_894); +lean_dec(x_892); +x_895 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_894); +lean_dec(x_9); +x_896 = lean_ctor_get(x_895, 0); +lean_inc(x_896); +x_897 = lean_ctor_get(x_895, 1); +lean_inc(x_897); +if (lean_is_exclusive(x_895)) { + lean_ctor_release(x_895, 0); + lean_ctor_release(x_895, 1); + x_898 = x_895; +} else { + lean_dec_ref(x_895); + x_898 = lean_box(0); +} +x_899 = l_Lean_Elab_Term_toParserDescrAux___closed__95; +x_900 = l_Lean_addMacroScope(x_896, x_899, x_893); +x_901 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_902 = l_Lean_Elab_Term_toParserDescrAux___closed__94; +x_903 = l_Lean_Elab_Term_toParserDescrAux___closed__98; +x_904 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_904, 0, x_901); +lean_ctor_set(x_904, 1, x_902); +lean_ctor_set(x_904, 2, x_900); +lean_ctor_set(x_904, 3, x_903); +x_905 = l_Array_empty___closed__1; +x_906 = lean_array_push(x_905, x_904); +x_907 = lean_array_push(x_905, x_890); +x_908 = l_Lean_nullKind___closed__2; +x_909 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_909, 0, x_908); +lean_ctor_set(x_909, 1, x_907); +x_910 = lean_array_push(x_906, x_909); +x_911 = l_Lean_mkAppStx___closed__8; +x_912 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_912, 0, x_911); +lean_ctor_set(x_912, 1, x_910); +if (lean_is_scalar(x_898)) { + x_913 = lean_alloc_ctor(0, 2, 0); +} else { + x_913 = x_898; +} +lean_ctor_set(x_913, 0, x_912); +lean_ctor_set(x_913, 1, x_897); +return x_913; +} +else +{ +lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; +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_914 = lean_ctor_get(x_889, 0); +lean_inc(x_914); +x_915 = lean_ctor_get(x_889, 1); +lean_inc(x_915); if (lean_is_exclusive(x_889)) { lean_ctor_release(x_889, 0); lean_ctor_release(x_889, 1); - x_892 = x_889; + x_916 = x_889; } else { lean_dec_ref(x_889); - x_892 = lean_box(0); + x_916 = lean_box(0); } -x_893 = l_Lean_Elab_Term_toParserDescrAux___closed__91; -x_894 = l_Lean_addMacroScope(x_890, x_893, x_887); -x_895 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_896 = l_Lean_Elab_Term_toParserDescrAux___closed__90; -x_897 = l_Lean_Elab_Term_toParserDescrAux___closed__94; -x_898 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_898, 0, x_895); -lean_ctor_set(x_898, 1, x_896); -lean_ctor_set(x_898, 2, x_894); -lean_ctor_set(x_898, 3, x_897); -x_899 = l_Array_empty___closed__1; -x_900 = lean_array_push(x_899, x_898); -x_901 = lean_array_push(x_899, x_884); -x_902 = l_Lean_nullKind___closed__2; -x_903 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_903, 0, x_902); -lean_ctor_set(x_903, 1, x_901); -x_904 = lean_array_push(x_900, x_903); -x_905 = l_Lean_mkAppStx___closed__8; -x_906 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_906, 0, x_905); -lean_ctor_set(x_906, 1, x_904); -if (lean_is_scalar(x_892)) { - x_907 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_916)) { + x_917 = lean_alloc_ctor(1, 2, 0); } else { - x_907 = x_892; + x_917 = x_916; } -lean_ctor_set(x_907, 0, x_906); -lean_ctor_set(x_907, 1, x_891); -return x_907; -} -else -{ -lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; -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_908 = lean_ctor_get(x_883, 0); -lean_inc(x_908); -x_909 = lean_ctor_get(x_883, 1); -lean_inc(x_909); -if (lean_is_exclusive(x_883)) { - lean_ctor_release(x_883, 0); - lean_ctor_release(x_883, 1); - x_910 = x_883; -} else { - lean_dec_ref(x_883); - x_910 = lean_box(0); -} -if (lean_is_scalar(x_910)) { - x_911 = lean_alloc_ctor(1, 2, 0); -} else { - x_911 = x_910; -} -lean_ctor_set(x_911, 0, x_908); -lean_ctor_set(x_911, 1, x_909); -return x_911; +lean_ctor_set(x_917, 0, x_914); +lean_ctor_set(x_917, 1, x_915); +return x_917; } } } } else { -lean_object* x_912; lean_object* x_913; uint8_t x_914; +lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; uint8_t x_922; lean_dec(x_11); -x_912 = lean_unsigned_to_nat(1u); -x_913 = l_Lean_Syntax_getArg(x_1, x_912); -lean_dec(x_1); -x_914 = !lean_is_exclusive(x_2); -if (x_914 == 0) -{ -uint8_t x_915; lean_object* x_916; -x_915 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_915); -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_916 = l_Lean_Elab_Term_toParserDescrAux(x_913, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_916) == 0) -{ -lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; uint8_t x_923; -x_917 = lean_ctor_get(x_916, 0); -lean_inc(x_917); -x_918 = lean_ctor_get(x_916, 1); -lean_inc(x_918); -lean_dec(x_916); -x_919 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_918); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_920 = lean_ctor_get(x_919, 0); -lean_inc(x_920); -x_921 = lean_ctor_get(x_919, 1); -lean_inc(x_921); -lean_dec(x_919); -x_922 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_921); -lean_dec(x_9); -x_923 = !lean_is_exclusive(x_922); -if (x_923 == 0) -{ -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; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; -x_924 = lean_ctor_get(x_922, 0); -x_925 = l_Lean_Elab_Term_toParserDescrAux___closed__98; -x_926 = l_Lean_addMacroScope(x_924, x_925, x_920); -x_927 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_928 = l_Lean_Elab_Term_toParserDescrAux___closed__97; -x_929 = l_Lean_Elab_Term_toParserDescrAux___closed__101; -x_930 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_930, 0, x_927); -lean_ctor_set(x_930, 1, x_928); -lean_ctor_set(x_930, 2, x_926); -lean_ctor_set(x_930, 3, x_929); -x_931 = l_Array_empty___closed__1; -x_932 = lean_array_push(x_931, x_930); -x_933 = lean_array_push(x_931, x_917); -x_934 = l_Lean_nullKind___closed__2; -x_935 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_935, 0, x_934); -lean_ctor_set(x_935, 1, x_933); -x_936 = lean_array_push(x_932, x_935); -x_937 = l_Lean_mkAppStx___closed__8; -x_938 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_938, 0, x_937); -lean_ctor_set(x_938, 1, x_936); -lean_ctor_set(x_922, 0, x_938); -return x_922; -} -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; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; -x_939 = lean_ctor_get(x_922, 0); -x_940 = lean_ctor_get(x_922, 1); -lean_inc(x_940); -lean_inc(x_939); -lean_dec(x_922); -x_941 = l_Lean_Elab_Term_toParserDescrAux___closed__98; -x_942 = l_Lean_addMacroScope(x_939, x_941, x_920); -x_943 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_944 = l_Lean_Elab_Term_toParserDescrAux___closed__97; -x_945 = l_Lean_Elab_Term_toParserDescrAux___closed__101; -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 = l_Array_empty___closed__1; -x_948 = lean_array_push(x_947, x_946); -x_949 = lean_array_push(x_947, x_917); -x_950 = l_Lean_nullKind___closed__2; -x_951 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_951, 0, x_950); -lean_ctor_set(x_951, 1, x_949); -x_952 = lean_array_push(x_948, x_951); -x_953 = l_Lean_mkAppStx___closed__8; -x_954 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_954, 0, x_953); -lean_ctor_set(x_954, 1, x_952); -x_955 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_955, 0, x_954); -lean_ctor_set(x_955, 1, x_940); -return x_955; -} -} -else -{ -uint8_t x_956; -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_956 = !lean_is_exclusive(x_916); -if (x_956 == 0) -{ -return x_916; -} -else -{ -lean_object* x_957; lean_object* x_958; lean_object* x_959; -x_957 = lean_ctor_get(x_916, 0); -x_958 = lean_ctor_get(x_916, 1); -lean_inc(x_958); -lean_inc(x_957); -lean_dec(x_916); -x_959 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_959, 0, x_957); -lean_ctor_set(x_959, 1, x_958); -return x_959; -} -} -} -else -{ -lean_object* x_960; uint8_t x_961; uint8_t x_962; uint8_t x_963; lean_object* x_964; lean_object* x_965; -x_960 = lean_ctor_get(x_2, 0); -x_961 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -x_962 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_960); +lean_dec(x_3); lean_dec(x_2); -x_963 = 0; -x_964 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_964, 0, x_960); -lean_ctor_set_uint8(x_964, sizeof(void*)*1, x_961); -lean_ctor_set_uint8(x_964, sizeof(void*)*1 + 1, x_963); -lean_ctor_set_uint8(x_964, sizeof(void*)*1 + 2, x_962); -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_965 = l_Lean_Elab_Term_toParserDescrAux(x_913, x_964, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_965) == 0) +lean_dec(x_1); +x_918 = 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_919 = lean_ctor_get(x_918, 0); +lean_inc(x_919); +x_920 = lean_ctor_get(x_918, 1); +lean_inc(x_920); +lean_dec(x_918); +x_921 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_920); +lean_dec(x_9); +x_922 = !lean_is_exclusive(x_921); +if (x_922 == 0) { -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; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; +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; 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; +x_923 = lean_ctor_get(x_921, 0); +x_924 = l_Lean_Elab_Term_toParserDescrAux___closed__103; +lean_inc(x_919); +lean_inc(x_923); +x_925 = l_Lean_addMacroScope(x_923, x_924, x_919); +x_926 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_927 = l_Lean_Elab_Term_toParserDescrAux___closed__101; +x_928 = l_Lean_Elab_Term_toParserDescrAux___closed__106; +x_929 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_929, 0, x_926); +lean_ctor_set(x_929, 1, x_927); +lean_ctor_set(x_929, 2, x_925); +lean_ctor_set(x_929, 3, x_928); +x_930 = l_Array_empty___closed__1; +x_931 = lean_array_push(x_930, x_929); +x_932 = l_Lean_setOptionFromString___closed__5; +x_933 = l_Lean_addMacroScope(x_923, x_932, x_919); +x_934 = l_Lean_Elab_Term_toParserDescrAux___closed__108; +x_935 = l_Lean_Elab_Term_toParserDescrAux___closed__110; +x_936 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_936, 0, x_926); +lean_ctor_set(x_936, 1, x_934); +lean_ctor_set(x_936, 2, x_933); +lean_ctor_set(x_936, 3, x_935); +x_937 = lean_array_push(x_930, x_936); +x_938 = l_Lean_nullKind___closed__2; +x_939 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_939, 0, x_938); +lean_ctor_set(x_939, 1, x_937); +x_940 = lean_array_push(x_931, x_939); +x_941 = l_Lean_mkAppStx___closed__8; +x_942 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_942, 0, x_941); +lean_ctor_set(x_942, 1, x_940); +lean_ctor_set(x_921, 0, x_942); +return x_921; +} +else +{ +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; lean_object* x_952; 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; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; +x_943 = lean_ctor_get(x_921, 0); +x_944 = lean_ctor_get(x_921, 1); +lean_inc(x_944); +lean_inc(x_943); +lean_dec(x_921); +x_945 = l_Lean_Elab_Term_toParserDescrAux___closed__103; +lean_inc(x_919); +lean_inc(x_943); +x_946 = l_Lean_addMacroScope(x_943, x_945, x_919); +x_947 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_948 = l_Lean_Elab_Term_toParserDescrAux___closed__101; +x_949 = l_Lean_Elab_Term_toParserDescrAux___closed__106; +x_950 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_950, 0, x_947); +lean_ctor_set(x_950, 1, x_948); +lean_ctor_set(x_950, 2, x_946); +lean_ctor_set(x_950, 3, x_949); +x_951 = l_Array_empty___closed__1; +x_952 = lean_array_push(x_951, x_950); +x_953 = l_Lean_setOptionFromString___closed__5; +x_954 = l_Lean_addMacroScope(x_943, x_953, x_919); +x_955 = l_Lean_Elab_Term_toParserDescrAux___closed__108; +x_956 = l_Lean_Elab_Term_toParserDescrAux___closed__110; +x_957 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_957, 0, x_947); +lean_ctor_set(x_957, 1, x_955); +lean_ctor_set(x_957, 2, x_954); +lean_ctor_set(x_957, 3, x_956); +x_958 = lean_array_push(x_951, x_957); +x_959 = l_Lean_nullKind___closed__2; +x_960 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_960, 0, x_959); +lean_ctor_set(x_960, 1, x_958); +x_961 = lean_array_push(x_952, x_960); +x_962 = l_Lean_mkAppStx___closed__8; +x_963 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_963, 0, x_962); +lean_ctor_set(x_963, 1, x_961); +x_964 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_964, 0, x_963); +lean_ctor_set(x_964, 1, x_944); +return x_964; +} +} +} +else +{ +lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; uint8_t x_969; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_965 = 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_966 = lean_ctor_get(x_965, 0); lean_inc(x_966); x_967 = lean_ctor_get(x_965, 1); lean_inc(x_967); lean_dec(x_965); -x_968 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_967); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_969 = lean_ctor_get(x_968, 0); -lean_inc(x_969); -x_970 = lean_ctor_get(x_968, 1); +x_968 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_967); +lean_dec(x_9); +x_969 = !lean_is_exclusive(x_968); +if (x_969 == 0) +{ +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; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; +x_970 = lean_ctor_get(x_968, 0); +x_971 = l_Lean_Elab_Term_toParserDescrAux___closed__103; +lean_inc(x_966); lean_inc(x_970); -lean_dec(x_968); -x_971 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_970); -lean_dec(x_9); -x_972 = lean_ctor_get(x_971, 0); -lean_inc(x_972); -x_973 = lean_ctor_get(x_971, 1); -lean_inc(x_973); -if (lean_is_exclusive(x_971)) { - lean_ctor_release(x_971, 0); - lean_ctor_release(x_971, 1); - x_974 = x_971; -} else { - lean_dec_ref(x_971); - x_974 = lean_box(0); -} -x_975 = l_Lean_Elab_Term_toParserDescrAux___closed__98; -x_976 = l_Lean_addMacroScope(x_972, x_975, x_969); -x_977 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_978 = l_Lean_Elab_Term_toParserDescrAux___closed__97; -x_979 = l_Lean_Elab_Term_toParserDescrAux___closed__101; -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); -x_981 = l_Array_empty___closed__1; -x_982 = lean_array_push(x_981, x_980); -x_983 = lean_array_push(x_981, x_966); -x_984 = l_Lean_nullKind___closed__2; -x_985 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_985, 0, x_984); -lean_ctor_set(x_985, 1, x_983); -x_986 = lean_array_push(x_982, x_985); -x_987 = l_Lean_mkAppStx___closed__8; -x_988 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_988, 0, x_987); -lean_ctor_set(x_988, 1, x_986); -if (lean_is_scalar(x_974)) { - x_989 = lean_alloc_ctor(0, 2, 0); -} else { - x_989 = x_974; -} +x_972 = l_Lean_addMacroScope(x_970, x_971, x_966); +x_973 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_974 = l_Lean_Elab_Term_toParserDescrAux___closed__101; +x_975 = l_Lean_Elab_Term_toParserDescrAux___closed__106; +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 = l_Lean_setOptionFromString___closed__4; +x_980 = l_Lean_addMacroScope(x_970, x_979, x_966); +x_981 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__10; +x_982 = l_Lean_Elab_Term_toParserDescrAux___closed__112; +x_983 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_983, 0, x_973); +lean_ctor_set(x_983, 1, x_981); +lean_ctor_set(x_983, 2, x_980); +lean_ctor_set(x_983, 3, x_982); +x_984 = lean_array_push(x_977, x_983); +x_985 = l_Lean_nullKind___closed__2; +x_986 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_986, 0, x_985); +lean_ctor_set(x_986, 1, x_984); +x_987 = lean_array_push(x_978, x_986); +x_988 = l_Lean_mkAppStx___closed__8; +x_989 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_989, 0, x_988); -lean_ctor_set(x_989, 1, x_973); -return x_989; +lean_ctor_set(x_989, 1, x_987); +lean_ctor_set(x_968, 0, x_989); +return x_968; } else { -lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; -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_990 = lean_ctor_get(x_965, 0); -lean_inc(x_990); -x_991 = lean_ctor_get(x_965, 1); +lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; 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; 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; +x_990 = lean_ctor_get(x_968, 0); +x_991 = lean_ctor_get(x_968, 1); lean_inc(x_991); -if (lean_is_exclusive(x_965)) { - lean_ctor_release(x_965, 0); - lean_ctor_release(x_965, 1); - x_992 = x_965; -} else { - lean_dec_ref(x_965); - x_992 = lean_box(0); -} -if (lean_is_scalar(x_992)) { - x_993 = lean_alloc_ctor(1, 2, 0); -} else { - x_993 = x_992; -} -lean_ctor_set(x_993, 0, x_990); -lean_ctor_set(x_993, 1, x_991); -return x_993; -} +lean_inc(x_990); +lean_dec(x_968); +x_992 = l_Lean_Elab_Term_toParserDescrAux___closed__103; +lean_inc(x_966); +lean_inc(x_990); +x_993 = l_Lean_addMacroScope(x_990, x_992, x_966); +x_994 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_995 = l_Lean_Elab_Term_toParserDescrAux___closed__101; +x_996 = l_Lean_Elab_Term_toParserDescrAux___closed__106; +x_997 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_997, 0, x_994); +lean_ctor_set(x_997, 1, x_995); +lean_ctor_set(x_997, 2, x_993); +lean_ctor_set(x_997, 3, x_996); +x_998 = l_Array_empty___closed__1; +x_999 = lean_array_push(x_998, x_997); +x_1000 = l_Lean_setOptionFromString___closed__4; +x_1001 = l_Lean_addMacroScope(x_990, x_1000, x_966); +x_1002 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__10; +x_1003 = l_Lean_Elab_Term_toParserDescrAux___closed__112; +x_1004 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1004, 0, x_994); +lean_ctor_set(x_1004, 1, x_1002); +lean_ctor_set(x_1004, 2, x_1001); +lean_ctor_set(x_1004, 3, x_1003); +x_1005 = lean_array_push(x_998, x_1004); +x_1006 = l_Lean_nullKind___closed__2; +x_1007 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1007, 0, x_1006); +lean_ctor_set(x_1007, 1, x_1005); +x_1008 = lean_array_push(x_999, x_1007); +x_1009 = l_Lean_mkAppStx___closed__8; +x_1010 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1010, 0, x_1009); +lean_ctor_set(x_1010, 1, x_1008); +x_1011 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1011, 0, x_1010); +lean_ctor_set(x_1011, 1, x_991); +return x_1011; } } } else { -lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; uint8_t x_998; +lean_object* x_1012; lean_object* x_1013; uint8_t x_1014; lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); +x_1012 = lean_unsigned_to_nat(1u); +x_1013 = l_Lean_Syntax_getArg(x_1, x_1012); lean_dec(x_1); -x_994 = 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_995 = lean_ctor_get(x_994, 0); -lean_inc(x_995); -x_996 = lean_ctor_get(x_994, 1); -lean_inc(x_996); -lean_dec(x_994); -x_997 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_996); -lean_dec(x_9); -x_998 = !lean_is_exclusive(x_997); -if (x_998 == 0) +x_1014 = !lean_is_exclusive(x_2); +if (x_1014 == 0) { -lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; -x_999 = lean_ctor_get(x_997, 0); -x_1000 = l_Lean_Elab_Term_toParserDescrAux___closed__105; -x_1001 = l_Lean_addMacroScope(x_999, x_1000, x_995); -x_1002 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1003 = l_Lean_Elab_Term_toParserDescrAux___closed__104; -x_1004 = l_Lean_Elab_Term_toParserDescrAux___closed__108; -x_1005 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1005, 0, x_1002); -lean_ctor_set(x_1005, 1, x_1003); -lean_ctor_set(x_1005, 2, x_1001); -lean_ctor_set(x_1005, 3, x_1004); -lean_ctor_set(x_997, 0, x_1005); -return x_997; -} -else +uint8_t x_1015; lean_object* x_1016; +x_1015 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_1015); +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_1016 = l_Lean_Elab_Term_toParserDescrAux(x_1013, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_1016) == 0) { -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; -x_1006 = lean_ctor_get(x_997, 0); -x_1007 = lean_ctor_get(x_997, 1); -lean_inc(x_1007); -lean_inc(x_1006); -lean_dec(x_997); -x_1008 = l_Lean_Elab_Term_toParserDescrAux___closed__105; -x_1009 = l_Lean_addMacroScope(x_1006, x_1008, x_995); -x_1010 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1011 = l_Lean_Elab_Term_toParserDescrAux___closed__104; -x_1012 = l_Lean_Elab_Term_toParserDescrAux___closed__108; -x_1013 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1013, 0, x_1010); -lean_ctor_set(x_1013, 1, x_1011); -lean_ctor_set(x_1013, 2, x_1009); -lean_ctor_set(x_1013, 3, x_1012); -x_1014 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1014, 0, x_1013); -lean_ctor_set(x_1014, 1, x_1007); -return x_1014; -} -} -} -else -{ -lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; uint8_t x_1019; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1015 = 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_1016 = lean_ctor_get(x_1015, 0); -lean_inc(x_1016); -x_1017 = lean_ctor_get(x_1015, 1); +lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; uint8_t x_1023; +x_1017 = lean_ctor_get(x_1016, 0); lean_inc(x_1017); -lean_dec(x_1015); -x_1018 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1017); +x_1018 = lean_ctor_get(x_1016, 1); +lean_inc(x_1018); +lean_dec(x_1016); +x_1019 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1018); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_1020 = lean_ctor_get(x_1019, 0); +lean_inc(x_1020); +x_1021 = lean_ctor_get(x_1019, 1); +lean_inc(x_1021); +lean_dec(x_1019); +x_1022 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1021); lean_dec(x_9); -x_1019 = !lean_is_exclusive(x_1018); -if (x_1019 == 0) +x_1023 = !lean_is_exclusive(x_1022); +if (x_1023 == 0) { -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; -x_1020 = lean_ctor_get(x_1018, 0); -x_1021 = l_Lean_Elab_Term_toParserDescrAux___closed__112; -x_1022 = l_Lean_addMacroScope(x_1020, x_1021, x_1016); -x_1023 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1024 = l_Lean_Elab_Term_toParserDescrAux___closed__111; -x_1025 = l_Lean_Elab_Term_toParserDescrAux___closed__115; -x_1026 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1026, 0, x_1023); -lean_ctor_set(x_1026, 1, x_1024); -lean_ctor_set(x_1026, 2, x_1022); -lean_ctor_set(x_1026, 3, x_1025); -lean_ctor_set(x_1018, 0, x_1026); -return x_1018; -} -else -{ -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; lean_object* x_1035; -x_1027 = lean_ctor_get(x_1018, 0); -x_1028 = lean_ctor_get(x_1018, 1); -lean_inc(x_1028); -lean_inc(x_1027); -lean_dec(x_1018); -x_1029 = l_Lean_Elab_Term_toParserDescrAux___closed__112; -x_1030 = l_Lean_addMacroScope(x_1027, x_1029, x_1016); -x_1031 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1032 = l_Lean_Elab_Term_toParserDescrAux___closed__111; -x_1033 = l_Lean_Elab_Term_toParserDescrAux___closed__115; -x_1034 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1034, 0, x_1031); -lean_ctor_set(x_1034, 1, x_1032); -lean_ctor_set(x_1034, 2, x_1030); -lean_ctor_set(x_1034, 3, x_1033); -x_1035 = lean_alloc_ctor(0, 2, 0); +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; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; +x_1024 = lean_ctor_get(x_1022, 0); +x_1025 = l_Lean_Elab_Term_toParserDescrAux___closed__116; +x_1026 = l_Lean_addMacroScope(x_1024, x_1025, x_1020); +x_1027 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1028 = l_Lean_Elab_Term_toParserDescrAux___closed__115; +x_1029 = l_Lean_Elab_Term_toParserDescrAux___closed__119; +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 = l_Array_empty___closed__1; +x_1032 = lean_array_push(x_1031, x_1030); +x_1033 = lean_array_push(x_1031, x_1017); +x_1034 = l_Lean_nullKind___closed__2; +x_1035 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1035, 0, x_1034); -lean_ctor_set(x_1035, 1, x_1028); -return x_1035; +lean_ctor_set(x_1035, 1, x_1033); +x_1036 = lean_array_push(x_1032, x_1035); +x_1037 = l_Lean_mkAppStx___closed__8; +x_1038 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1038, 0, x_1037); +lean_ctor_set(x_1038, 1, x_1036); +lean_ctor_set(x_1022, 0, x_1038); +return x_1022; } +else +{ +lean_object* x_1039; lean_object* x_1040; 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; +x_1039 = lean_ctor_get(x_1022, 0); +x_1040 = lean_ctor_get(x_1022, 1); +lean_inc(x_1040); +lean_inc(x_1039); +lean_dec(x_1022); +x_1041 = l_Lean_Elab_Term_toParserDescrAux___closed__116; +x_1042 = l_Lean_addMacroScope(x_1039, x_1041, x_1020); +x_1043 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1044 = l_Lean_Elab_Term_toParserDescrAux___closed__115; +x_1045 = l_Lean_Elab_Term_toParserDescrAux___closed__119; +x_1046 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1046, 0, x_1043); +lean_ctor_set(x_1046, 1, x_1044); +lean_ctor_set(x_1046, 2, x_1042); +lean_ctor_set(x_1046, 3, x_1045); +x_1047 = l_Array_empty___closed__1; +x_1048 = lean_array_push(x_1047, x_1046); +x_1049 = lean_array_push(x_1047, x_1017); +x_1050 = l_Lean_nullKind___closed__2; +x_1051 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1051, 0, x_1050); +lean_ctor_set(x_1051, 1, x_1049); +x_1052 = lean_array_push(x_1048, x_1051); +x_1053 = l_Lean_mkAppStx___closed__8; +x_1054 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1054, 0, x_1053); +lean_ctor_set(x_1054, 1, x_1052); +x_1055 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1055, 0, x_1054); +lean_ctor_set(x_1055, 1, x_1040); +return x_1055; } } else { -lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; uint8_t x_1040; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -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); +uint8_t x_1056; 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; -x_1041 = lean_ctor_get(x_1039, 0); -x_1042 = l_Lean_Elab_Term_toParserDescrAux___closed__119; -x_1043 = l_Lean_addMacroScope(x_1041, x_1042, x_1037); -x_1044 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1045 = l_Lean_Elab_Term_toParserDescrAux___closed__118; -x_1046 = l_Lean_Elab_Term_toParserDescrAux___closed__122; -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); -lean_ctor_set(x_1039, 0, x_1047); -return x_1039; -} -else -{ -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; -x_1048 = lean_ctor_get(x_1039, 0); -x_1049 = lean_ctor_get(x_1039, 1); -lean_inc(x_1049); -lean_inc(x_1048); -lean_dec(x_1039); -x_1050 = l_Lean_Elab_Term_toParserDescrAux___closed__119; -x_1051 = l_Lean_addMacroScope(x_1048, x_1050, x_1037); -x_1052 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1053 = l_Lean_Elab_Term_toParserDescrAux___closed__118; -x_1054 = l_Lean_Elab_Term_toParserDescrAux___closed__122; -x_1055 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1055, 0, x_1052); -lean_ctor_set(x_1055, 1, x_1053); -lean_ctor_set(x_1055, 2, x_1051); -lean_ctor_set(x_1055, 3, x_1054); -x_1056 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1056, 0, x_1055); -lean_ctor_set(x_1056, 1, x_1049); -return x_1056; -} -} -} -else -{ -lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; uint8_t x_1061; -lean_dec(x_11); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_1057 = 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_1058 = lean_ctor_get(x_1057, 0); +x_1056 = !lean_is_exclusive(x_1016); +if (x_1056 == 0) +{ +return x_1016; +} +else +{ +lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; +x_1057 = lean_ctor_get(x_1016, 0); +x_1058 = lean_ctor_get(x_1016, 1); lean_inc(x_1058); -x_1059 = lean_ctor_get(x_1057, 1); -lean_inc(x_1059); -lean_dec(x_1057); -x_1060 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1059); -lean_dec(x_9); -x_1061 = !lean_is_exclusive(x_1060); -if (x_1061 == 0) -{ -lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; -x_1062 = lean_ctor_get(x_1060, 0); -x_1063 = l_Lean_Elab_Term_toParserDescrAux___closed__126; -x_1064 = l_Lean_addMacroScope(x_1062, x_1063, x_1058); -x_1065 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1066 = l_Lean_Elab_Term_toParserDescrAux___closed__125; -x_1067 = l_Lean_Elab_Term_toParserDescrAux___closed__129; -x_1068 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1068, 0, x_1065); -lean_ctor_set(x_1068, 1, x_1066); -lean_ctor_set(x_1068, 2, x_1064); -lean_ctor_set(x_1068, 3, x_1067); -lean_ctor_set(x_1060, 0, x_1068); -return x_1060; -} -else -{ -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; -x_1069 = lean_ctor_get(x_1060, 0); -x_1070 = lean_ctor_get(x_1060, 1); -lean_inc(x_1070); -lean_inc(x_1069); -lean_dec(x_1060); -x_1071 = l_Lean_Elab_Term_toParserDescrAux___closed__126; -x_1072 = l_Lean_addMacroScope(x_1069, x_1071, x_1058); -x_1073 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1074 = l_Lean_Elab_Term_toParserDescrAux___closed__125; -x_1075 = l_Lean_Elab_Term_toParserDescrAux___closed__129; -x_1076 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1076, 0, x_1073); -lean_ctor_set(x_1076, 1, x_1074); -lean_ctor_set(x_1076, 2, x_1072); -lean_ctor_set(x_1076, 3, x_1075); -x_1077 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1077, 0, x_1076); -lean_ctor_set(x_1077, 1, x_1070); -return x_1077; +lean_inc(x_1057); +lean_dec(x_1016); +x_1059 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1059, 0, x_1057); +lean_ctor_set(x_1059, 1, x_1058); +return x_1059; } } } else { -lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; uint8_t x_1082; -lean_dec(x_11); -lean_dec(x_3); +lean_object* x_1060; uint8_t x_1061; uint8_t x_1062; uint8_t x_1063; lean_object* x_1064; lean_object* x_1065; +x_1060 = lean_ctor_get(x_2, 0); +x_1061 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_1062 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_1060); lean_dec(x_2); -lean_dec(x_1); -x_1078 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_1063 = 0; +x_1064 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_1064, 0, x_1060); +lean_ctor_set_uint8(x_1064, sizeof(void*)*1, x_1061); +lean_ctor_set_uint8(x_1064, sizeof(void*)*1 + 1, x_1063); +lean_ctor_set_uint8(x_1064, sizeof(void*)*1 + 2, x_1062); +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_1065 = l_Lean_Elab_Term_toParserDescrAux(x_1013, x_1064, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_1065) == 0) +{ +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; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; +x_1066 = lean_ctor_get(x_1065, 0); +lean_inc(x_1066); +x_1067 = lean_ctor_get(x_1065, 1); +lean_inc(x_1067); +lean_dec(x_1065); +x_1068 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1067); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_1079 = lean_ctor_get(x_1078, 0); -lean_inc(x_1079); -x_1080 = lean_ctor_get(x_1078, 1); -lean_inc(x_1080); -lean_dec(x_1078); -x_1081 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1080); +x_1069 = lean_ctor_get(x_1068, 0); +lean_inc(x_1069); +x_1070 = lean_ctor_get(x_1068, 1); +lean_inc(x_1070); +lean_dec(x_1068); +x_1071 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1070); lean_dec(x_9); -x_1082 = !lean_is_exclusive(x_1081); -if (x_1082 == 0) -{ -lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; -x_1083 = lean_ctor_get(x_1081, 0); -x_1084 = l_Lean_Elab_Term_toParserDescrAux___closed__133; -x_1085 = l_Lean_addMacroScope(x_1083, x_1084, x_1079); -x_1086 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1087 = l_Lean_Elab_Term_toParserDescrAux___closed__132; -x_1088 = l_Lean_Elab_Term_toParserDescrAux___closed__136; -x_1089 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1089, 0, x_1086); -lean_ctor_set(x_1089, 1, x_1087); -lean_ctor_set(x_1089, 2, x_1085); -lean_ctor_set(x_1089, 3, x_1088); -lean_ctor_set(x_1081, 0, x_1089); -return x_1081; +x_1072 = lean_ctor_get(x_1071, 0); +lean_inc(x_1072); +x_1073 = lean_ctor_get(x_1071, 1); +lean_inc(x_1073); +if (lean_is_exclusive(x_1071)) { + lean_ctor_release(x_1071, 0); + lean_ctor_release(x_1071, 1); + x_1074 = x_1071; +} else { + lean_dec_ref(x_1071); + x_1074 = lean_box(0); +} +x_1075 = l_Lean_Elab_Term_toParserDescrAux___closed__116; +x_1076 = l_Lean_addMacroScope(x_1072, x_1075, x_1069); +x_1077 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1078 = l_Lean_Elab_Term_toParserDescrAux___closed__115; +x_1079 = l_Lean_Elab_Term_toParserDescrAux___closed__119; +x_1080 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1080, 0, x_1077); +lean_ctor_set(x_1080, 1, x_1078); +lean_ctor_set(x_1080, 2, x_1076); +lean_ctor_set(x_1080, 3, x_1079); +x_1081 = l_Array_empty___closed__1; +x_1082 = lean_array_push(x_1081, x_1080); +x_1083 = lean_array_push(x_1081, x_1066); +x_1084 = l_Lean_nullKind___closed__2; +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_array_push(x_1082, x_1085); +x_1087 = l_Lean_mkAppStx___closed__8; +x_1088 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1088, 0, x_1087); +lean_ctor_set(x_1088, 1, x_1086); +if (lean_is_scalar(x_1074)) { + x_1089 = lean_alloc_ctor(0, 2, 0); +} else { + x_1089 = x_1074; +} +lean_ctor_set(x_1089, 0, x_1088); +lean_ctor_set(x_1089, 1, x_1073); +return x_1089; } else { -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; -x_1090 = lean_ctor_get(x_1081, 0); -x_1091 = lean_ctor_get(x_1081, 1); -lean_inc(x_1091); +lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; +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_1090 = lean_ctor_get(x_1065, 0); lean_inc(x_1090); -lean_dec(x_1081); -x_1092 = l_Lean_Elab_Term_toParserDescrAux___closed__133; -x_1093 = l_Lean_addMacroScope(x_1090, x_1092, x_1079); -x_1094 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1095 = l_Lean_Elab_Term_toParserDescrAux___closed__132; -x_1096 = l_Lean_Elab_Term_toParserDescrAux___closed__136; -x_1097 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1097, 0, x_1094); -lean_ctor_set(x_1097, 1, x_1095); -lean_ctor_set(x_1097, 2, x_1093); -lean_ctor_set(x_1097, 3, x_1096); -x_1098 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1098, 0, x_1097); -lean_ctor_set(x_1098, 1, x_1091); +x_1091 = lean_ctor_get(x_1065, 1); +lean_inc(x_1091); +if (lean_is_exclusive(x_1065)) { + lean_ctor_release(x_1065, 0); + lean_ctor_release(x_1065, 1); + x_1092 = x_1065; +} else { + lean_dec_ref(x_1065); + x_1092 = lean_box(0); +} +if (lean_is_scalar(x_1092)) { + x_1093 = lean_alloc_ctor(1, 2, 0); +} else { + x_1093 = x_1092; +} +lean_ctor_set(x_1093, 0, x_1090); +lean_ctor_set(x_1093, 1, x_1091); +return x_1093; +} +} +} +} +else +{ +lean_object* x_1094; lean_object* x_1095; uint8_t x_1096; +lean_dec(x_11); +x_1094 = lean_unsigned_to_nat(1u); +x_1095 = l_Lean_Syntax_getArg(x_1, x_1094); +lean_dec(x_1); +x_1096 = !lean_is_exclusive(x_2); +if (x_1096 == 0) +{ +uint8_t x_1097; lean_object* x_1098; +x_1097 = 0; +lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_1097); +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_1098 = l_Lean_Elab_Term_toParserDescrAux(x_1095, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_1098) == 0) +{ +lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; uint8_t x_1105; +x_1099 = lean_ctor_get(x_1098, 0); +lean_inc(x_1099); +x_1100 = lean_ctor_get(x_1098, 1); +lean_inc(x_1100); +lean_dec(x_1098); +x_1101 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1100); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_1102 = lean_ctor_get(x_1101, 0); +lean_inc(x_1102); +x_1103 = lean_ctor_get(x_1101, 1); +lean_inc(x_1103); +lean_dec(x_1101); +x_1104 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1103); +lean_dec(x_9); +x_1105 = !lean_is_exclusive(x_1104); +if (x_1105 == 0) +{ +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; +x_1106 = lean_ctor_get(x_1104, 0); +x_1107 = l_Lean_Elab_Term_toParserDescrAux___closed__123; +x_1108 = l_Lean_addMacroScope(x_1106, x_1107, x_1102); +x_1109 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1110 = l_Lean_Elab_Term_toParserDescrAux___closed__122; +x_1111 = l_Lean_Elab_Term_toParserDescrAux___closed__126; +x_1112 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1112, 0, x_1109); +lean_ctor_set(x_1112, 1, x_1110); +lean_ctor_set(x_1112, 2, x_1108); +lean_ctor_set(x_1112, 3, x_1111); +x_1113 = l_Array_empty___closed__1; +x_1114 = lean_array_push(x_1113, x_1112); +x_1115 = lean_array_push(x_1113, x_1099); +x_1116 = l_Lean_nullKind___closed__2; +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_array_push(x_1114, x_1117); +x_1119 = l_Lean_mkAppStx___closed__8; +x_1120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1120, 0, x_1119); +lean_ctor_set(x_1120, 1, x_1118); +lean_ctor_set(x_1104, 0, x_1120); +return x_1104; +} +else +{ +lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; 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; +x_1121 = lean_ctor_get(x_1104, 0); +x_1122 = lean_ctor_get(x_1104, 1); +lean_inc(x_1122); +lean_inc(x_1121); +lean_dec(x_1104); +x_1123 = l_Lean_Elab_Term_toParserDescrAux___closed__123; +x_1124 = l_Lean_addMacroScope(x_1121, x_1123, x_1102); +x_1125 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1126 = l_Lean_Elab_Term_toParserDescrAux___closed__122; +x_1127 = l_Lean_Elab_Term_toParserDescrAux___closed__126; +x_1128 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1128, 0, x_1125); +lean_ctor_set(x_1128, 1, x_1126); +lean_ctor_set(x_1128, 2, x_1124); +lean_ctor_set(x_1128, 3, x_1127); +x_1129 = l_Array_empty___closed__1; +x_1130 = lean_array_push(x_1129, x_1128); +x_1131 = lean_array_push(x_1129, x_1099); +x_1132 = l_Lean_nullKind___closed__2; +x_1133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1133, 0, x_1132); +lean_ctor_set(x_1133, 1, x_1131); +x_1134 = lean_array_push(x_1130, x_1133); +x_1135 = l_Lean_mkAppStx___closed__8; +x_1136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1136, 0, x_1135); +lean_ctor_set(x_1136, 1, x_1134); +x_1137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1137, 0, x_1136); +lean_ctor_set(x_1137, 1, x_1122); +return x_1137; +} +} +else +{ +uint8_t x_1138; +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_1138 = !lean_is_exclusive(x_1098); +if (x_1138 == 0) +{ return x_1098; } +else +{ +lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; +x_1139 = lean_ctor_get(x_1098, 0); +x_1140 = lean_ctor_get(x_1098, 1); +lean_inc(x_1140); +lean_inc(x_1139); +lean_dec(x_1098); +x_1141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1141, 0, x_1139); +lean_ctor_set(x_1141, 1, x_1140); +return x_1141; +} } } else { -lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; -lean_dec(x_11); -lean_dec(x_3); -x_1099 = lean_unsigned_to_nat(0u); -x_1100 = l_Lean_Syntax_getArg(x_1, x_1099); -lean_dec(x_1); -x_1101 = l_Lean_Syntax_isStrLit_x3f(x_1100); -lean_dec(x_1100); -if (lean_obj_tag(x_1101) == 0) -{ -lean_object* x_1102; -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_object* x_1142; uint8_t x_1143; uint8_t x_1144; uint8_t x_1145; lean_object* x_1146; lean_object* x_1147; +x_1142 = lean_ctor_get(x_2, 0); +x_1143 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +x_1144 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_inc(x_1142); lean_dec(x_2); -x_1102 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescrAux___spec__2___rarg(x_10); -return x_1102; -} -else -{ -uint8_t x_1103; -x_1103 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_dec(x_2); -if (x_1103 == 0) -{ -lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; uint8_t x_1109; -x_1104 = lean_ctor_get(x_1101, 0); -lean_inc(x_1104); -lean_dec(x_1101); -x_1105 = 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_1106 = lean_ctor_get(x_1105, 0); -lean_inc(x_1106); -x_1107 = lean_ctor_get(x_1105, 1); -lean_inc(x_1107); -lean_dec(x_1105); -x_1108 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1107); -lean_dec(x_9); -x_1109 = !lean_is_exclusive(x_1108); -if (x_1109 == 0) -{ -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; lean_object* x_1124; lean_object* x_1125; -x_1110 = lean_ctor_get(x_1108, 0); -x_1111 = l_Lean_Elab_Term_toParserDescrAux___closed__141; -x_1112 = l_Lean_addMacroScope(x_1110, x_1111, x_1106); -x_1113 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1114 = l_Lean_Elab_Term_toParserDescrAux___closed__139; -x_1115 = l_Lean_Elab_Term_toParserDescrAux___closed__144; -x_1116 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1116, 0, x_1113); -lean_ctor_set(x_1116, 1, x_1114); -lean_ctor_set(x_1116, 2, x_1112); -lean_ctor_set(x_1116, 3, x_1115); -x_1117 = l_Array_empty___closed__1; -x_1118 = lean_array_push(x_1117, x_1116); -x_1119 = l_Lean_mkStxStrLit(x_1104, x_1113); -lean_dec(x_1104); -x_1120 = lean_array_push(x_1117, x_1119); -x_1121 = l_Lean_nullKind___closed__2; -x_1122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1122, 0, x_1121); -lean_ctor_set(x_1122, 1, x_1120); -x_1123 = lean_array_push(x_1118, x_1122); -x_1124 = l_Lean_mkAppStx___closed__8; -x_1125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1125, 0, x_1124); -lean_ctor_set(x_1125, 1, x_1123); -lean_ctor_set(x_1108, 0, x_1125); -return x_1108; -} -else -{ -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; -x_1126 = lean_ctor_get(x_1108, 0); -x_1127 = lean_ctor_get(x_1108, 1); -lean_inc(x_1127); -lean_inc(x_1126); -lean_dec(x_1108); -x_1128 = l_Lean_Elab_Term_toParserDescrAux___closed__141; -x_1129 = l_Lean_addMacroScope(x_1126, x_1128, x_1106); -x_1130 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1131 = l_Lean_Elab_Term_toParserDescrAux___closed__139; -x_1132 = l_Lean_Elab_Term_toParserDescrAux___closed__144; -x_1133 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1133, 0, x_1130); -lean_ctor_set(x_1133, 1, x_1131); -lean_ctor_set(x_1133, 2, x_1129); -lean_ctor_set(x_1133, 3, x_1132); -x_1134 = l_Array_empty___closed__1; -x_1135 = lean_array_push(x_1134, x_1133); -x_1136 = l_Lean_mkStxStrLit(x_1104, x_1130); -lean_dec(x_1104); -x_1137 = lean_array_push(x_1134, x_1136); -x_1138 = l_Lean_nullKind___closed__2; -x_1139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1139, 0, x_1138); -lean_ctor_set(x_1139, 1, x_1137); -x_1140 = lean_array_push(x_1135, x_1139); -x_1141 = l_Lean_mkAppStx___closed__8; -x_1142 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1142, 0, x_1141); -lean_ctor_set(x_1142, 1, x_1140); -x_1143 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1143, 0, x_1142); -lean_ctor_set(x_1143, 1, x_1127); -return x_1143; -} -} -else -{ -lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; uint8_t x_1149; -x_1144 = lean_ctor_get(x_1101, 0); -lean_inc(x_1144); -lean_dec(x_1101); -x_1145 = 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_1146 = lean_ctor_get(x_1145, 0); -lean_inc(x_1146); -x_1147 = lean_ctor_get(x_1145, 1); -lean_inc(x_1147); -lean_dec(x_1145); -x_1148 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1147); -lean_dec(x_9); -x_1149 = !lean_is_exclusive(x_1148); -if (x_1149 == 0) -{ -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; lean_object* x_1171; -x_1150 = lean_ctor_get(x_1148, 0); -x_1151 = l_Lean_Elab_Term_toParserDescrAux___closed__149; -lean_inc(x_1146); -lean_inc(x_1150); -x_1152 = l_Lean_addMacroScope(x_1150, x_1151, x_1146); -x_1153 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1154 = l_Lean_Elab_Term_toParserDescrAux___closed__147; -x_1155 = l_Lean_Elab_Term_toParserDescrAux___closed__152; -x_1156 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1156, 0, x_1153); -lean_ctor_set(x_1156, 1, x_1154); -lean_ctor_set(x_1156, 2, x_1152); -lean_ctor_set(x_1156, 3, x_1155); -x_1157 = l_Array_empty___closed__1; -x_1158 = lean_array_push(x_1157, x_1156); -x_1159 = l_Lean_mkStxStrLit(x_1144, x_1153); -lean_dec(x_1144); -x_1160 = lean_array_push(x_1157, x_1159); -x_1161 = l_Lean_setOptionFromString___closed__5; -x_1162 = l_Lean_addMacroScope(x_1150, x_1161, x_1146); -x_1163 = l_Lean_Elab_Term_toParserDescrAux___closed__154; -x_1164 = l_Lean_Elab_Term_toParserDescrAux___closed__156; -x_1165 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1165, 0, x_1153); -lean_ctor_set(x_1165, 1, x_1163); -lean_ctor_set(x_1165, 2, x_1162); -lean_ctor_set(x_1165, 3, x_1164); -x_1166 = lean_array_push(x_1160, x_1165); -x_1167 = l_Lean_nullKind___closed__2; -x_1168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1168, 0, x_1167); -lean_ctor_set(x_1168, 1, x_1166); -x_1169 = lean_array_push(x_1158, x_1168); -x_1170 = l_Lean_mkAppStx___closed__8; -x_1171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1171, 0, x_1170); -lean_ctor_set(x_1171, 1, x_1169); -lean_ctor_set(x_1148, 0, x_1171); -return x_1148; -} -else -{ -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; 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; -x_1172 = lean_ctor_get(x_1148, 0); -x_1173 = lean_ctor_get(x_1148, 1); -lean_inc(x_1173); -lean_inc(x_1172); -lean_dec(x_1148); -x_1174 = l_Lean_Elab_Term_toParserDescrAux___closed__149; -lean_inc(x_1146); -lean_inc(x_1172); -x_1175 = l_Lean_addMacroScope(x_1172, x_1174, x_1146); -x_1176 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1177 = l_Lean_Elab_Term_toParserDescrAux___closed__147; -x_1178 = l_Lean_Elab_Term_toParserDescrAux___closed__152; -x_1179 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1179, 0, x_1176); -lean_ctor_set(x_1179, 1, x_1177); -lean_ctor_set(x_1179, 2, x_1175); -lean_ctor_set(x_1179, 3, x_1178); -x_1180 = l_Array_empty___closed__1; -x_1181 = lean_array_push(x_1180, x_1179); -x_1182 = l_Lean_mkStxStrLit(x_1144, x_1176); -lean_dec(x_1144); -x_1183 = lean_array_push(x_1180, x_1182); -x_1184 = l_Lean_setOptionFromString___closed__5; -x_1185 = l_Lean_addMacroScope(x_1172, x_1184, x_1146); -x_1186 = l_Lean_Elab_Term_toParserDescrAux___closed__154; -x_1187 = l_Lean_Elab_Term_toParserDescrAux___closed__156; -x_1188 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1188, 0, x_1176); -lean_ctor_set(x_1188, 1, x_1186); -lean_ctor_set(x_1188, 2, x_1185); -lean_ctor_set(x_1188, 3, x_1187); -x_1189 = lean_array_push(x_1183, x_1188); -x_1190 = l_Lean_nullKind___closed__2; -x_1191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1191, 0, x_1190); -lean_ctor_set(x_1191, 1, x_1189); -x_1192 = lean_array_push(x_1181, x_1191); -x_1193 = l_Lean_mkAppStx___closed__8; -x_1194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1194, 0, x_1193); -lean_ctor_set(x_1194, 1, x_1192); -x_1195 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1195, 0, x_1194); -lean_ctor_set(x_1195, 1, x_1173); -return x_1195; -} -} -} -} -} -else -{ -lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; uint8_t x_1300; -lean_dec(x_11); -x_1196 = lean_unsigned_to_nat(0u); -x_1197 = l_Lean_Syntax_getArg(x_1, x_1196); -x_1198 = l_Lean_Syntax_getId(x_1197); -lean_dec(x_1197); -x_1199 = lean_erase_macro_scopes(x_1198); -x_1300 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); -if (x_1300 == 0) -{ -lean_object* x_1301; -x_1301 = lean_box(0); -x_1200 = x_1301; -goto block_1299; -} -else -{ -lean_object* x_1302; uint8_t x_1303; -x_1302 = lean_ctor_get(x_2, 0); -lean_inc(x_1302); -x_1303 = lean_name_eq(x_1199, x_1302); -lean_dec(x_1302); -if (x_1303 == 0) -{ -lean_object* x_1304; -x_1304 = lean_box(0); -x_1200 = x_1304; -goto block_1299; -} -else -{ -lean_object* x_1305; lean_object* x_1306; -lean_dec(x_1199); -x_1305 = l_Lean_Elab_Term_toParserDescrAux___closed__175; -x_1306 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_1305, 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_1306; -} -} -block_1299: -{ -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; lean_object* x_1208; uint8_t x_1257; -lean_dec(x_1200); -x_1201 = lean_unsigned_to_nat(1u); -x_1202 = l_Lean_Syntax_getArg(x_1, x_1201); -x_1203 = l_Lean_Elab_Term_expandOptPrecedence(x_1202); -lean_dec(x_1202); -x_1204 = lean_st_ref_get(x_9, x_10); -x_1205 = lean_ctor_get(x_1204, 0); -lean_inc(x_1205); -x_1206 = lean_ctor_get(x_1204, 1); -lean_inc(x_1206); -lean_dec(x_1204); -x_1207 = lean_ctor_get(x_1205, 0); -lean_inc(x_1207); -lean_dec(x_1205); -x_1257 = l_Lean_Parser_isParserCategory(x_1207, x_1199); -if (x_1257 == 0) -{ -lean_object* x_1258; +x_1145 = 0; +x_1146 = lean_alloc_ctor(0, 1, 3); +lean_ctor_set(x_1146, 0, x_1142); +lean_ctor_set_uint8(x_1146, sizeof(void*)*1, x_1143); +lean_ctor_set_uint8(x_1146, sizeof(void*)*1 + 1, x_1145); +lean_ctor_set_uint8(x_1146, sizeof(void*)*1 + 2, x_1144); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); -lean_inc(x_1199); -x_1258 = l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescrAux___spec__3(x_1199, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1206); -if (lean_obj_tag(x_1258) == 0) +x_1147 = l_Lean_Elab_Term_toParserDescrAux(x_1095, x_1146, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_1147) == 0) { -lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; -x_1259 = lean_ctor_get(x_1258, 0); -lean_inc(x_1259); -x_1260 = lean_ctor_get(x_1258, 1); -lean_inc(x_1260); -lean_dec(x_1258); -x_1261 = lean_box(0); -x_1262 = l_List_filterAux___at_Lean_Elab_Term_toParserDescrAux___spec__6(x_1207, x_1259, x_1261); -if (lean_obj_tag(x_1262) == 0) -{ -lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; -lean_dec(x_1203); -x_1263 = lean_unsigned_to_nat(3u); -x_1264 = l_Lean_Syntax_getArg(x_1, x_1263); -lean_dec(x_1); -x_1265 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1265, 0, x_1199); -x_1266 = l_Lean_Elab_Term_toParserDescrAux___closed__165; -x_1267 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1267, 0, x_1266); -lean_ctor_set(x_1267, 1, x_1265); -x_1268 = l_Lean_Elab_Term_toParserDescrAux___closed__167; -x_1269 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1269, 0, x_1267); -lean_ctor_set(x_1269, 1, x_1268); -x_1270 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1264, x_1269, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1260); -lean_dec(x_9); +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; lean_object* x_1171; +x_1148 = lean_ctor_get(x_1147, 0); +lean_inc(x_1148); +x_1149 = lean_ctor_get(x_1147, 1); +lean_inc(x_1149); +lean_dec(x_1147); +x_1150 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1149); +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_1264); -return x_1270; +x_1151 = lean_ctor_get(x_1150, 0); +lean_inc(x_1151); +x_1152 = lean_ctor_get(x_1150, 1); +lean_inc(x_1152); +lean_dec(x_1150); +x_1153 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1152); +lean_dec(x_9); +x_1154 = lean_ctor_get(x_1153, 0); +lean_inc(x_1154); +x_1155 = lean_ctor_get(x_1153, 1); +lean_inc(x_1155); +if (lean_is_exclusive(x_1153)) { + lean_ctor_release(x_1153, 0); + lean_ctor_release(x_1153, 1); + x_1156 = x_1153; +} else { + lean_dec_ref(x_1153); + x_1156 = lean_box(0); +} +x_1157 = l_Lean_Elab_Term_toParserDescrAux___closed__123; +x_1158 = l_Lean_addMacroScope(x_1154, x_1157, x_1151); +x_1159 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1160 = l_Lean_Elab_Term_toParserDescrAux___closed__122; +x_1161 = l_Lean_Elab_Term_toParserDescrAux___closed__126; +x_1162 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1162, 0, x_1159); +lean_ctor_set(x_1162, 1, x_1160); +lean_ctor_set(x_1162, 2, x_1158); +lean_ctor_set(x_1162, 3, x_1161); +x_1163 = l_Array_empty___closed__1; +x_1164 = lean_array_push(x_1163, x_1162); +x_1165 = lean_array_push(x_1163, x_1148); +x_1166 = l_Lean_nullKind___closed__2; +x_1167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1167, 0, x_1166); +lean_ctor_set(x_1167, 1, x_1165); +x_1168 = lean_array_push(x_1164, x_1167); +x_1169 = l_Lean_mkAppStx___closed__8; +x_1170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1170, 0, x_1169); +lean_ctor_set(x_1170, 1, x_1168); +if (lean_is_scalar(x_1156)) { + x_1171 = lean_alloc_ctor(0, 2, 0); +} else { + x_1171 = x_1156; +} +lean_ctor_set(x_1171, 0, x_1170); +lean_ctor_set(x_1171, 1, x_1155); +return x_1171; } else { -lean_object* x_1271; -lean_dec(x_1199); -x_1271 = lean_ctor_get(x_1262, 1); -lean_inc(x_1271); -if (lean_obj_tag(x_1271) == 0) -{ -if (lean_obj_tag(x_1203) == 0) -{ -lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; -lean_dec(x_1); -x_1272 = lean_ctor_get(x_1262, 0); -lean_inc(x_1272); -lean_dec(x_1262); -x_1273 = l_Lean_mkAppStx___closed__4; -x_1274 = l_Lean_mkAppStx___closed__2; -x_1275 = lean_box(0); -x_1276 = l_Lean_Elab_Term_toParserDescrAux___lambda__1(x_1273, x_1274, x_1261, x_1272, x_1275, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1260); +lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; 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); -return x_1276; +x_1172 = lean_ctor_get(x_1147, 0); +lean_inc(x_1172); +x_1173 = lean_ctor_get(x_1147, 1); +lean_inc(x_1173); +if (lean_is_exclusive(x_1147)) { + lean_ctor_release(x_1147, 0); + lean_ctor_release(x_1147, 1); + x_1174 = x_1147; +} else { + lean_dec_ref(x_1147); + x_1174 = lean_box(0); +} +if (lean_is_scalar(x_1174)) { + x_1175 = lean_alloc_ctor(1, 2, 0); +} else { + x_1175 = x_1174; +} +lean_ctor_set(x_1175, 0, x_1172); +lean_ctor_set(x_1175, 1, x_1173); +return x_1175; +} +} +} } else { -lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; uint8_t x_1281; -lean_dec(x_1262); -lean_dec(x_1203); -x_1277 = lean_unsigned_to_nat(3u); -x_1278 = l_Lean_Syntax_getArg(x_1, x_1277); +lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; uint8_t x_1180; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_1279 = l_Lean_Elab_Term_toParserDescrAux___closed__170; -x_1280 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1278, x_1279, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1260); -lean_dec(x_9); +x_1176 = 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_1177 = lean_ctor_get(x_1176, 0); +lean_inc(x_1177); +x_1178 = lean_ctor_get(x_1176, 1); +lean_inc(x_1178); +lean_dec(x_1176); +x_1179 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1178); +lean_dec(x_9); +x_1180 = !lean_is_exclusive(x_1179); +if (x_1180 == 0) +{ +lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; +x_1181 = lean_ctor_get(x_1179, 0); +x_1182 = l_Lean_Elab_Term_toParserDescrAux___closed__130; +x_1183 = l_Lean_addMacroScope(x_1181, x_1182, x_1177); +x_1184 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1185 = l_Lean_Elab_Term_toParserDescrAux___closed__129; +x_1186 = l_Lean_Elab_Term_toParserDescrAux___closed__133; +x_1187 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1187, 0, x_1184); +lean_ctor_set(x_1187, 1, x_1185); +lean_ctor_set(x_1187, 2, x_1183); +lean_ctor_set(x_1187, 3, x_1186); +lean_ctor_set(x_1179, 0, x_1187); +return x_1179; +} +else +{ +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; +x_1188 = lean_ctor_get(x_1179, 0); +x_1189 = lean_ctor_get(x_1179, 1); +lean_inc(x_1189); +lean_inc(x_1188); +lean_dec(x_1179); +x_1190 = l_Lean_Elab_Term_toParserDescrAux___closed__130; +x_1191 = l_Lean_addMacroScope(x_1188, x_1190, x_1177); +x_1192 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1193 = l_Lean_Elab_Term_toParserDescrAux___closed__129; +x_1194 = l_Lean_Elab_Term_toParserDescrAux___closed__133; +x_1195 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1195, 0, x_1192); +lean_ctor_set(x_1195, 1, x_1193); +lean_ctor_set(x_1195, 2, x_1191); +lean_ctor_set(x_1195, 3, x_1194); +x_1196 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1196, 0, x_1195); +lean_ctor_set(x_1196, 1, x_1189); +return x_1196; +} +} +} +else +{ +lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; uint8_t x_1201; +lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1278); -x_1281 = !lean_is_exclusive(x_1280); -if (x_1281 == 0) +lean_dec(x_1); +x_1197 = 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_1198 = lean_ctor_get(x_1197, 0); +lean_inc(x_1198); +x_1199 = lean_ctor_get(x_1197, 1); +lean_inc(x_1199); +lean_dec(x_1197); +x_1200 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1199); +lean_dec(x_9); +x_1201 = !lean_is_exclusive(x_1200); +if (x_1201 == 0) { +lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; +x_1202 = lean_ctor_get(x_1200, 0); +x_1203 = l_Lean_Elab_Term_toParserDescrAux___closed__137; +x_1204 = l_Lean_addMacroScope(x_1202, x_1203, x_1198); +x_1205 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1206 = l_Lean_Elab_Term_toParserDescrAux___closed__136; +x_1207 = l_Lean_Elab_Term_toParserDescrAux___closed__140; +x_1208 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1208, 0, x_1205); +lean_ctor_set(x_1208, 1, x_1206); +lean_ctor_set(x_1208, 2, x_1204); +lean_ctor_set(x_1208, 3, x_1207); +lean_ctor_set(x_1200, 0, x_1208); +return x_1200; +} +else +{ +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; +x_1209 = lean_ctor_get(x_1200, 0); +x_1210 = lean_ctor_get(x_1200, 1); +lean_inc(x_1210); +lean_inc(x_1209); +lean_dec(x_1200); +x_1211 = l_Lean_Elab_Term_toParserDescrAux___closed__137; +x_1212 = l_Lean_addMacroScope(x_1209, x_1211, x_1198); +x_1213 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1214 = l_Lean_Elab_Term_toParserDescrAux___closed__136; +x_1215 = l_Lean_Elab_Term_toParserDescrAux___closed__140; +x_1216 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1216, 0, x_1213); +lean_ctor_set(x_1216, 1, x_1214); +lean_ctor_set(x_1216, 2, x_1212); +lean_ctor_set(x_1216, 3, x_1215); +x_1217 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1217, 0, x_1216); +lean_ctor_set(x_1217, 1, x_1210); +return x_1217; +} +} +} +else +{ +lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; uint8_t x_1222; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_1218 = 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_1219 = lean_ctor_get(x_1218, 0); +lean_inc(x_1219); +x_1220 = lean_ctor_get(x_1218, 1); +lean_inc(x_1220); +lean_dec(x_1218); +x_1221 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1220); +lean_dec(x_9); +x_1222 = !lean_is_exclusive(x_1221); +if (x_1222 == 0) +{ +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_1223 = lean_ctor_get(x_1221, 0); +x_1224 = l_Lean_Elab_Term_toParserDescrAux___closed__144; +x_1225 = l_Lean_addMacroScope(x_1223, x_1224, x_1219); +x_1226 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1227 = l_Lean_Elab_Term_toParserDescrAux___closed__143; +x_1228 = l_Lean_Elab_Term_toParserDescrAux___closed__147; +x_1229 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1229, 0, x_1226); +lean_ctor_set(x_1229, 1, x_1227); +lean_ctor_set(x_1229, 2, x_1225); +lean_ctor_set(x_1229, 3, x_1228); +lean_ctor_set(x_1221, 0, x_1229); +return x_1221; +} +else +{ +lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; +x_1230 = lean_ctor_get(x_1221, 0); +x_1231 = lean_ctor_get(x_1221, 1); +lean_inc(x_1231); +lean_inc(x_1230); +lean_dec(x_1221); +x_1232 = l_Lean_Elab_Term_toParserDescrAux___closed__144; +x_1233 = l_Lean_addMacroScope(x_1230, x_1232, x_1219); +x_1234 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1235 = l_Lean_Elab_Term_toParserDescrAux___closed__143; +x_1236 = l_Lean_Elab_Term_toParserDescrAux___closed__147; +x_1237 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1237, 0, x_1234); +lean_ctor_set(x_1237, 1, x_1235); +lean_ctor_set(x_1237, 2, x_1233); +lean_ctor_set(x_1237, 3, x_1236); +x_1238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1238, 0, x_1237); +lean_ctor_set(x_1238, 1, x_1231); +return x_1238; +} +} +} +else +{ +lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; uint8_t x_1243; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_1239 = 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_1240 = lean_ctor_get(x_1239, 0); +lean_inc(x_1240); +x_1241 = lean_ctor_get(x_1239, 1); +lean_inc(x_1241); +lean_dec(x_1239); +x_1242 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1241); +lean_dec(x_9); +x_1243 = !lean_is_exclusive(x_1242); +if (x_1243 == 0) +{ +lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; +x_1244 = lean_ctor_get(x_1242, 0); +x_1245 = l_Lean_Elab_Term_toParserDescrAux___closed__151; +x_1246 = l_Lean_addMacroScope(x_1244, x_1245, x_1240); +x_1247 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1248 = l_Lean_Elab_Term_toParserDescrAux___closed__150; +x_1249 = l_Lean_Elab_Term_toParserDescrAux___closed__154; +x_1250 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1250, 0, x_1247); +lean_ctor_set(x_1250, 1, x_1248); +lean_ctor_set(x_1250, 2, x_1246); +lean_ctor_set(x_1250, 3, x_1249); +lean_ctor_set(x_1242, 0, x_1250); +return x_1242; +} +else +{ +lean_object* x_1251; 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; +x_1251 = lean_ctor_get(x_1242, 0); +x_1252 = lean_ctor_get(x_1242, 1); +lean_inc(x_1252); +lean_inc(x_1251); +lean_dec(x_1242); +x_1253 = l_Lean_Elab_Term_toParserDescrAux___closed__151; +x_1254 = l_Lean_addMacroScope(x_1251, x_1253, x_1240); +x_1255 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1256 = l_Lean_Elab_Term_toParserDescrAux___closed__150; +x_1257 = l_Lean_Elab_Term_toParserDescrAux___closed__154; +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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1259, 0, x_1258); +lean_ctor_set(x_1259, 1, x_1252); +return x_1259; +} +} +} +else +{ +lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; uint8_t x_1264; +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_1260 = 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_1261 = lean_ctor_get(x_1260, 0); +lean_inc(x_1261); +x_1262 = lean_ctor_get(x_1260, 1); +lean_inc(x_1262); +lean_dec(x_1260); +x_1263 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1262); +lean_dec(x_9); +x_1264 = !lean_is_exclusive(x_1263); +if (x_1264 == 0) +{ +lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; +x_1265 = lean_ctor_get(x_1263, 0); +x_1266 = l_Lean_Elab_Term_toParserDescrAux___closed__158; +x_1267 = l_Lean_addMacroScope(x_1265, x_1266, x_1261); +x_1268 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1269 = l_Lean_Elab_Term_toParserDescrAux___closed__157; +x_1270 = l_Lean_Elab_Term_toParserDescrAux___closed__161; +x_1271 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1271, 0, x_1268); +lean_ctor_set(x_1271, 1, x_1269); +lean_ctor_set(x_1271, 2, x_1267); +lean_ctor_set(x_1271, 3, x_1270); +lean_ctor_set(x_1263, 0, x_1271); +return x_1263; +} +else +{ +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; +x_1272 = lean_ctor_get(x_1263, 0); +x_1273 = lean_ctor_get(x_1263, 1); +lean_inc(x_1273); +lean_inc(x_1272); +lean_dec(x_1263); +x_1274 = l_Lean_Elab_Term_toParserDescrAux___closed__158; +x_1275 = l_Lean_addMacroScope(x_1272, x_1274, x_1261); +x_1276 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1277 = l_Lean_Elab_Term_toParserDescrAux___closed__157; +x_1278 = l_Lean_Elab_Term_toParserDescrAux___closed__161; +x_1279 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1279, 0, x_1276); +lean_ctor_set(x_1279, 1, x_1277); +lean_ctor_set(x_1279, 2, x_1275); +lean_ctor_set(x_1279, 3, x_1278); +x_1280 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1280, 0, x_1279); +lean_ctor_set(x_1280, 1, x_1273); return x_1280; } +} +} else { -lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; -x_1282 = lean_ctor_get(x_1280, 0); -x_1283 = lean_ctor_get(x_1280, 1); -lean_inc(x_1283); -lean_inc(x_1282); -lean_dec(x_1280); -x_1284 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1284, 0, x_1282); -lean_ctor_set(x_1284, 1, x_1283); +lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; +lean_dec(x_11); +lean_dec(x_3); +x_1281 = lean_unsigned_to_nat(0u); +x_1282 = l_Lean_Syntax_getArg(x_1, x_1281); +lean_dec(x_1); +x_1283 = l_Lean_Syntax_isStrLit_x3f(x_1282); +lean_dec(x_1282); +if (lean_obj_tag(x_1283) == 0) +{ +lean_object* x_1284; +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_2); +x_1284 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescrAux___spec__2___rarg(x_10); return x_1284; } -} -} else { -lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; -lean_dec(x_1271); -lean_dec(x_1203); -x_1285 = lean_unsigned_to_nat(3u); -x_1286 = l_Lean_Syntax_getArg(x_1, x_1285); -lean_dec(x_1); -x_1287 = l_List_map___at_Lean_Elab_Term_toParserDescrAux___spec__7(x_1262); -x_1288 = l_Lean_MessageData_ofList(x_1287); +uint8_t x_1285; +x_1285 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); +lean_dec(x_2); +if (x_1285 == 0) +{ +lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; uint8_t x_1291; +x_1286 = lean_ctor_get(x_1283, 0); +lean_inc(x_1286); +lean_dec(x_1283); +x_1287 = 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_1288 = lean_ctor_get(x_1287, 0); +lean_inc(x_1288); +x_1289 = lean_ctor_get(x_1287, 1); +lean_inc(x_1289); lean_dec(x_1287); -x_1289 = l_Lean_Elab_Term_toParserDescrAux___closed__172; -x_1290 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1290, 0, x_1289); -lean_ctor_set(x_1290, 1, x_1288); -x_1291 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_1292 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1292, 0, x_1290); -lean_ctor_set(x_1292, 1, x_1291); -x_1293 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1286, x_1292, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1260); +x_1290 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1289); 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); +x_1291 = !lean_is_exclusive(x_1290); +if (x_1291 == 0) +{ +lean_object* x_1292; lean_object* x_1293; 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_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; +x_1292 = lean_ctor_get(x_1290, 0); +x_1293 = l_Lean_Elab_Term_toParserDescrAux___closed__166; +x_1294 = l_Lean_addMacroScope(x_1292, x_1293, x_1288); +x_1295 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1296 = l_Lean_Elab_Term_toParserDescrAux___closed__164; +x_1297 = l_Lean_Elab_Term_toParserDescrAux___closed__169; +x_1298 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1298, 0, x_1295); +lean_ctor_set(x_1298, 1, x_1296); +lean_ctor_set(x_1298, 2, x_1294); +lean_ctor_set(x_1298, 3, x_1297); +x_1299 = l_Array_empty___closed__1; +x_1300 = lean_array_push(x_1299, x_1298); +x_1301 = l_Lean_mkStxStrLit(x_1286, x_1295); lean_dec(x_1286); -return x_1293; +x_1302 = lean_array_push(x_1299, x_1301); +x_1303 = l_Lean_nullKind___closed__2; +x_1304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1304, 0, x_1303); +lean_ctor_set(x_1304, 1, x_1302); +x_1305 = lean_array_push(x_1300, x_1304); +x_1306 = l_Lean_mkAppStx___closed__8; +x_1307 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1307, 0, x_1306); +lean_ctor_set(x_1307, 1, x_1305); +lean_ctor_set(x_1290, 0, x_1307); +return x_1290; +} +else +{ +lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; +x_1308 = lean_ctor_get(x_1290, 0); +x_1309 = lean_ctor_get(x_1290, 1); +lean_inc(x_1309); +lean_inc(x_1308); +lean_dec(x_1290); +x_1310 = l_Lean_Elab_Term_toParserDescrAux___closed__166; +x_1311 = l_Lean_addMacroScope(x_1308, x_1310, x_1288); +x_1312 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1313 = l_Lean_Elab_Term_toParserDescrAux___closed__164; +x_1314 = l_Lean_Elab_Term_toParserDescrAux___closed__169; +x_1315 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1315, 0, x_1312); +lean_ctor_set(x_1315, 1, x_1313); +lean_ctor_set(x_1315, 2, x_1311); +lean_ctor_set(x_1315, 3, x_1314); +x_1316 = l_Array_empty___closed__1; +x_1317 = lean_array_push(x_1316, x_1315); +x_1318 = l_Lean_mkStxStrLit(x_1286, x_1312); +lean_dec(x_1286); +x_1319 = lean_array_push(x_1316, x_1318); +x_1320 = l_Lean_nullKind___closed__2; +x_1321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1321, 0, x_1320); +lean_ctor_set(x_1321, 1, x_1319); +x_1322 = lean_array_push(x_1317, x_1321); +x_1323 = l_Lean_mkAppStx___closed__8; +x_1324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1324, 0, x_1323); +lean_ctor_set(x_1324, 1, x_1322); +x_1325 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1325, 0, x_1324); +lean_ctor_set(x_1325, 1, x_1309); +return x_1325; +} +} +else +{ +lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; uint8_t x_1331; +x_1326 = lean_ctor_get(x_1283, 0); +lean_inc(x_1326); +lean_dec(x_1283); +x_1327 = 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_1328 = lean_ctor_get(x_1327, 0); +lean_inc(x_1328); +x_1329 = lean_ctor_get(x_1327, 1); +lean_inc(x_1329); +lean_dec(x_1327); +x_1330 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1329); +lean_dec(x_9); +x_1331 = !lean_is_exclusive(x_1330); +if (x_1331 == 0) +{ +lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; +x_1332 = lean_ctor_get(x_1330, 0); +x_1333 = l_Lean_Elab_Term_toParserDescrAux___closed__174; +lean_inc(x_1328); +lean_inc(x_1332); +x_1334 = l_Lean_addMacroScope(x_1332, x_1333, x_1328); +x_1335 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1336 = l_Lean_Elab_Term_toParserDescrAux___closed__172; +x_1337 = l_Lean_Elab_Term_toParserDescrAux___closed__177; +x_1338 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1338, 0, x_1335); +lean_ctor_set(x_1338, 1, x_1336); +lean_ctor_set(x_1338, 2, x_1334); +lean_ctor_set(x_1338, 3, x_1337); +x_1339 = l_Array_empty___closed__1; +x_1340 = lean_array_push(x_1339, x_1338); +x_1341 = l_Lean_mkStxStrLit(x_1326, x_1335); +lean_dec(x_1326); +x_1342 = lean_array_push(x_1339, x_1341); +x_1343 = l_Lean_setOptionFromString___closed__5; +x_1344 = l_Lean_addMacroScope(x_1332, x_1343, x_1328); +x_1345 = l_Lean_Elab_Term_toParserDescrAux___closed__108; +x_1346 = l_Lean_Elab_Term_toParserDescrAux___closed__110; +x_1347 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1347, 0, x_1335); +lean_ctor_set(x_1347, 1, x_1345); +lean_ctor_set(x_1347, 2, x_1344); +lean_ctor_set(x_1347, 3, x_1346); +x_1348 = lean_array_push(x_1342, x_1347); +x_1349 = l_Lean_nullKind___closed__2; +x_1350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1350, 0, x_1349); +lean_ctor_set(x_1350, 1, x_1348); +x_1351 = lean_array_push(x_1340, x_1350); +x_1352 = l_Lean_mkAppStx___closed__8; +x_1353 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1353, 0, x_1352); +lean_ctor_set(x_1353, 1, x_1351); +lean_ctor_set(x_1330, 0, x_1353); +return x_1330; +} +else +{ +lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; +x_1354 = lean_ctor_get(x_1330, 0); +x_1355 = lean_ctor_get(x_1330, 1); +lean_inc(x_1355); +lean_inc(x_1354); +lean_dec(x_1330); +x_1356 = l_Lean_Elab_Term_toParserDescrAux___closed__174; +lean_inc(x_1328); +lean_inc(x_1354); +x_1357 = l_Lean_addMacroScope(x_1354, x_1356, x_1328); +x_1358 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1359 = l_Lean_Elab_Term_toParserDescrAux___closed__172; +x_1360 = l_Lean_Elab_Term_toParserDescrAux___closed__177; +x_1361 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1361, 0, x_1358); +lean_ctor_set(x_1361, 1, x_1359); +lean_ctor_set(x_1361, 2, x_1357); +lean_ctor_set(x_1361, 3, x_1360); +x_1362 = l_Array_empty___closed__1; +x_1363 = lean_array_push(x_1362, x_1361); +x_1364 = l_Lean_mkStxStrLit(x_1326, x_1358); +lean_dec(x_1326); +x_1365 = lean_array_push(x_1362, x_1364); +x_1366 = l_Lean_setOptionFromString___closed__5; +x_1367 = l_Lean_addMacroScope(x_1354, x_1366, x_1328); +x_1368 = l_Lean_Elab_Term_toParserDescrAux___closed__108; +x_1369 = l_Lean_Elab_Term_toParserDescrAux___closed__110; +x_1370 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1370, 0, x_1358); +lean_ctor_set(x_1370, 1, x_1368); +lean_ctor_set(x_1370, 2, x_1367); +lean_ctor_set(x_1370, 3, x_1369); +x_1371 = lean_array_push(x_1365, x_1370); +x_1372 = l_Lean_nullKind___closed__2; +x_1373 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1373, 0, x_1372); +lean_ctor_set(x_1373, 1, x_1371); +x_1374 = lean_array_push(x_1363, x_1373); +x_1375 = l_Lean_mkAppStx___closed__8; +x_1376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1376, 0, x_1375); +lean_ctor_set(x_1376, 1, x_1374); +x_1377 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1377, 0, x_1376); +lean_ctor_set(x_1377, 1, x_1355); +return x_1377; +} +} } } } else { -uint8_t x_1294; -lean_dec(x_1207); -lean_dec(x_1203); -lean_dec(x_1199); +lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; uint8_t x_1482; +lean_dec(x_11); +x_1378 = lean_unsigned_to_nat(0u); +x_1379 = l_Lean_Syntax_getArg(x_1, x_1378); +x_1380 = l_Lean_Syntax_getId(x_1379); +lean_dec(x_1379); +x_1381 = lean_erase_macro_scopes(x_1380); +x_1482 = lean_ctor_get_uint8(x_2, sizeof(void*)*1); +if (x_1482 == 0) +{ +lean_object* x_1483; +x_1483 = lean_box(0); +x_1382 = x_1483; +goto block_1481; +} +else +{ +lean_object* x_1484; uint8_t x_1485; +x_1484 = lean_ctor_get(x_2, 0); +lean_inc(x_1484); +x_1485 = lean_name_eq(x_1381, x_1484); +lean_dec(x_1484); +if (x_1485 == 0) +{ +lean_object* x_1486; +x_1486 = lean_box(0); +x_1382 = x_1486; +goto block_1481; +} +else +{ +lean_object* x_1487; lean_object* x_1488; +lean_dec(x_1381); +x_1487 = l_Lean_Elab_Term_toParserDescrAux___closed__196; +x_1488 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_1487, 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_1488; +} +} +block_1481: +{ +lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; uint8_t x_1439; +lean_dec(x_1382); +x_1383 = lean_unsigned_to_nat(1u); +x_1384 = l_Lean_Syntax_getArg(x_1, x_1383); +x_1385 = l_Lean_Elab_Term_expandOptPrecedence(x_1384); +lean_dec(x_1384); +x_1386 = lean_st_ref_get(x_9, x_10); +x_1387 = lean_ctor_get(x_1386, 0); +lean_inc(x_1387); +x_1388 = lean_ctor_get(x_1386, 1); +lean_inc(x_1388); +lean_dec(x_1386); +x_1389 = lean_ctor_get(x_1387, 0); +lean_inc(x_1389); +lean_dec(x_1387); +x_1439 = l_Lean_Parser_isParserCategory(x_1389, x_1381); +if (x_1439 == 0) +{ +lean_object* x_1440; +lean_inc(x_4); +lean_inc(x_1381); +x_1440 = l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescrAux___spec__3(x_1381, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1388); +if (lean_obj_tag(x_1440) == 0) +{ +lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; +x_1441 = lean_ctor_get(x_1440, 0); +lean_inc(x_1441); +x_1442 = lean_ctor_get(x_1440, 1); +lean_inc(x_1442); +lean_dec(x_1440); +x_1443 = lean_box(0); +x_1444 = l_List_filterAux___at_Lean_Elab_Term_toParserDescrAux___spec__6(x_1389, x_1441, x_1443); +if (lean_obj_tag(x_1444) == 0) +{ +lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; +lean_dec(x_1385); +x_1445 = lean_unsigned_to_nat(3u); +x_1446 = l_Lean_Syntax_getArg(x_1, x_1445); +lean_dec(x_1); +x_1447 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1447, 0, x_1381); +x_1448 = l_Lean_Elab_Term_toParserDescrAux___closed__186; +x_1449 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1449, 0, x_1448); +lean_ctor_set(x_1449, 1, x_1447); +x_1450 = l_Lean_Elab_Term_toParserDescrAux___closed__188; +x_1451 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1451, 0, x_1449); +lean_ctor_set(x_1451, 1, x_1450); +x_1452 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1446, x_1451, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1442); +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_1446); +return x_1452; +} +else +{ +lean_object* x_1453; +lean_dec(x_1381); +x_1453 = lean_ctor_get(x_1444, 1); +lean_inc(x_1453); +if (lean_obj_tag(x_1453) == 0) +{ +if (lean_obj_tag(x_1385) == 0) +{ +lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; +lean_dec(x_1); +x_1454 = lean_ctor_get(x_1444, 0); +lean_inc(x_1454); +lean_dec(x_1444); +x_1455 = l_Lean_mkAppStx___closed__4; +x_1456 = l_Lean_mkAppStx___closed__2; +x_1457 = lean_box(0); +x_1458 = l_Lean_Elab_Term_toParserDescrAux___lambda__1(x_1455, x_1456, x_1443, x_1454, x_1457, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1442); +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); +return x_1458; +} +else +{ +lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; uint8_t x_1463; +lean_dec(x_1444); +lean_dec(x_1385); +x_1459 = lean_unsigned_to_nat(3u); +x_1460 = l_Lean_Syntax_getArg(x_1, x_1459); +lean_dec(x_1); +x_1461 = l_Lean_Elab_Term_toParserDescrAux___closed__191; +x_1462 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1460, x_1461, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1442); +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_1460); +x_1463 = !lean_is_exclusive(x_1462); +if (x_1463 == 0) +{ +return x_1462; +} +else +{ +lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; +x_1464 = lean_ctor_get(x_1462, 0); +x_1465 = lean_ctor_get(x_1462, 1); +lean_inc(x_1465); +lean_inc(x_1464); +lean_dec(x_1462); +x_1466 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1466, 0, x_1464); +lean_ctor_set(x_1466, 1, x_1465); +return x_1466; +} +} +} +else +{ +lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; +lean_dec(x_1453); +lean_dec(x_1385); +x_1467 = lean_unsigned_to_nat(3u); +x_1468 = l_Lean_Syntax_getArg(x_1, x_1467); +lean_dec(x_1); +x_1469 = l_List_map___at_Lean_Elab_Term_toParserDescrAux___spec__7(x_1444); +x_1470 = l_Lean_MessageData_ofList(x_1469); +lean_dec(x_1469); +x_1471 = l_Lean_Elab_Term_toParserDescrAux___closed__193; +x_1472 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1472, 0, x_1471); +lean_ctor_set(x_1472, 1, x_1470); +x_1473 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_1474 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1474, 0, x_1472); +lean_ctor_set(x_1474, 1, x_1473); +x_1475 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1468, x_1474, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1442); +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_1468); +return x_1475; +} +} +} +else +{ +uint8_t x_1476; +lean_dec(x_1389); +lean_dec(x_1385); +lean_dec(x_1381); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10028,137 +10761,137 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1294 = !lean_is_exclusive(x_1258); -if (x_1294 == 0) +x_1476 = !lean_is_exclusive(x_1440); +if (x_1476 == 0) { -return x_1258; +return x_1440; } else { -lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; -x_1295 = lean_ctor_get(x_1258, 0); -x_1296 = lean_ctor_get(x_1258, 1); -lean_inc(x_1296); -lean_inc(x_1295); -lean_dec(x_1258); -x_1297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1297, 0, x_1295); -lean_ctor_set(x_1297, 1, x_1296); -return x_1297; +lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; +x_1477 = lean_ctor_get(x_1440, 0); +x_1478 = lean_ctor_get(x_1440, 1); +lean_inc(x_1478); +lean_inc(x_1477); +lean_dec(x_1440); +x_1479 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1479, 0, x_1477); +lean_ctor_set(x_1479, 1, x_1478); +return x_1479; } } } else { -lean_dec(x_1207); +lean_dec(x_1389); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -if (lean_obj_tag(x_1203) == 0) +if (lean_obj_tag(x_1385) == 0) { -x_1208 = x_1196; -goto block_1256; +x_1390 = x_1378; +goto block_1438; } else { -lean_object* x_1298; -x_1298 = lean_ctor_get(x_1203, 0); -lean_inc(x_1298); -lean_dec(x_1203); -x_1208 = x_1298; -goto block_1256; +lean_object* x_1480; +x_1480 = lean_ctor_get(x_1385, 0); +lean_inc(x_1480); +lean_dec(x_1385); +x_1390 = x_1480; +goto block_1438; } } -block_1256: +block_1438: { -lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; uint8_t x_1213; -x_1209 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1206); +lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; uint8_t x_1395; +x_1391 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1388); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_1210 = lean_ctor_get(x_1209, 0); -lean_inc(x_1210); -x_1211 = lean_ctor_get(x_1209, 1); -lean_inc(x_1211); -lean_dec(x_1209); -x_1212 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1211); +x_1392 = lean_ctor_get(x_1391, 0); +lean_inc(x_1392); +x_1393 = lean_ctor_get(x_1391, 1); +lean_inc(x_1393); +lean_dec(x_1391); +x_1394 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1393); lean_dec(x_9); -x_1213 = !lean_is_exclusive(x_1212); -if (x_1213 == 0) +x_1395 = !lean_is_exclusive(x_1394); +if (x_1395 == 0) { -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; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; -x_1214 = lean_ctor_get(x_1212, 0); -x_1215 = l_Lean_Elab_Term_toParserDescrAux___closed__160; -x_1216 = l_Lean_addMacroScope(x_1214, x_1215, x_1210); -x_1217 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1218 = l_Lean_Elab_Term_toParserDescrAux___closed__159; -x_1219 = l_Lean_Elab_Term_toParserDescrAux___closed__163; -x_1220 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1220, 0, x_1217); -lean_ctor_set(x_1220, 1, x_1218); -lean_ctor_set(x_1220, 2, x_1216); -lean_ctor_set(x_1220, 3, x_1219); -x_1221 = l_Array_empty___closed__1; -x_1222 = lean_array_push(x_1221, x_1220); -x_1223 = l___private_Init_LeanInit_0__Lean_quoteName(x_1199); -x_1224 = lean_array_push(x_1221, x_1223); -x_1225 = l_Nat_repr(x_1208); -x_1226 = l_Lean_numLitKind; -x_1227 = l_Lean_mkStxLit(x_1226, x_1225, x_1217); -x_1228 = lean_array_push(x_1224, x_1227); -x_1229 = l_Lean_nullKind___closed__2; -x_1230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1230, 0, x_1229); -lean_ctor_set(x_1230, 1, x_1228); -x_1231 = lean_array_push(x_1222, x_1230); -x_1232 = l_Lean_mkAppStx___closed__8; -x_1233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1233, 0, x_1232); -lean_ctor_set(x_1233, 1, x_1231); -lean_ctor_set(x_1212, 0, x_1233); -return x_1212; +lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; +x_1396 = lean_ctor_get(x_1394, 0); +x_1397 = l_Lean_Elab_Term_toParserDescrAux___closed__181; +x_1398 = l_Lean_addMacroScope(x_1396, x_1397, x_1392); +x_1399 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1400 = l_Lean_Elab_Term_toParserDescrAux___closed__180; +x_1401 = l_Lean_Elab_Term_toParserDescrAux___closed__184; +x_1402 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1402, 0, x_1399); +lean_ctor_set(x_1402, 1, x_1400); +lean_ctor_set(x_1402, 2, x_1398); +lean_ctor_set(x_1402, 3, x_1401); +x_1403 = l_Array_empty___closed__1; +x_1404 = lean_array_push(x_1403, x_1402); +x_1405 = l___private_Init_LeanInit_0__Lean_quoteName(x_1381); +x_1406 = lean_array_push(x_1403, x_1405); +x_1407 = l_Nat_repr(x_1390); +x_1408 = l_Lean_numLitKind; +x_1409 = l_Lean_mkStxLit(x_1408, x_1407, x_1399); +x_1410 = lean_array_push(x_1406, x_1409); +x_1411 = l_Lean_nullKind___closed__2; +x_1412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1412, 0, x_1411); +lean_ctor_set(x_1412, 1, x_1410); +x_1413 = lean_array_push(x_1404, x_1412); +x_1414 = l_Lean_mkAppStx___closed__8; +x_1415 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1415, 0, x_1414); +lean_ctor_set(x_1415, 1, x_1413); +lean_ctor_set(x_1394, 0, x_1415); +return x_1394; } else { -lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; 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_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; -x_1234 = lean_ctor_get(x_1212, 0); -x_1235 = lean_ctor_get(x_1212, 1); -lean_inc(x_1235); -lean_inc(x_1234); -lean_dec(x_1212); -x_1236 = l_Lean_Elab_Term_toParserDescrAux___closed__160; -x_1237 = l_Lean_addMacroScope(x_1234, x_1236, x_1210); -x_1238 = l_Lean_Init_LeanInit___instance__8___closed__1; -x_1239 = l_Lean_Elab_Term_toParserDescrAux___closed__159; -x_1240 = l_Lean_Elab_Term_toParserDescrAux___closed__163; -x_1241 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1241, 0, x_1238); -lean_ctor_set(x_1241, 1, x_1239); -lean_ctor_set(x_1241, 2, x_1237); -lean_ctor_set(x_1241, 3, x_1240); -x_1242 = l_Array_empty___closed__1; -x_1243 = lean_array_push(x_1242, x_1241); -x_1244 = l___private_Init_LeanInit_0__Lean_quoteName(x_1199); -x_1245 = lean_array_push(x_1242, x_1244); -x_1246 = l_Nat_repr(x_1208); -x_1247 = l_Lean_numLitKind; -x_1248 = l_Lean_mkStxLit(x_1247, x_1246, x_1238); -x_1249 = lean_array_push(x_1245, x_1248); -x_1250 = l_Lean_nullKind___closed__2; -x_1251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1251, 0, x_1250); -lean_ctor_set(x_1251, 1, x_1249); -x_1252 = lean_array_push(x_1243, x_1251); -x_1253 = l_Lean_mkAppStx___closed__8; -x_1254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1254, 0, x_1253); -lean_ctor_set(x_1254, 1, x_1252); -x_1255 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1255, 0, x_1254); -lean_ctor_set(x_1255, 1, x_1235); -return x_1255; +lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; +x_1416 = lean_ctor_get(x_1394, 0); +x_1417 = lean_ctor_get(x_1394, 1); +lean_inc(x_1417); +lean_inc(x_1416); +lean_dec(x_1394); +x_1418 = l_Lean_Elab_Term_toParserDescrAux___closed__181; +x_1419 = l_Lean_addMacroScope(x_1416, x_1418, x_1392); +x_1420 = l_Lean_Init_LeanInit___instance__8___closed__1; +x_1421 = l_Lean_Elab_Term_toParserDescrAux___closed__180; +x_1422 = l_Lean_Elab_Term_toParserDescrAux___closed__184; +x_1423 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1423, 0, x_1420); +lean_ctor_set(x_1423, 1, x_1421); +lean_ctor_set(x_1423, 2, x_1419); +lean_ctor_set(x_1423, 3, x_1422); +x_1424 = l_Array_empty___closed__1; +x_1425 = lean_array_push(x_1424, x_1423); +x_1426 = l___private_Init_LeanInit_0__Lean_quoteName(x_1381); +x_1427 = lean_array_push(x_1424, x_1426); +x_1428 = l_Nat_repr(x_1390); +x_1429 = l_Lean_numLitKind; +x_1430 = l_Lean_mkStxLit(x_1429, x_1428, x_1420); +x_1431 = lean_array_push(x_1427, x_1430); +x_1432 = l_Lean_nullKind___closed__2; +x_1433 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1433, 0, x_1432); +lean_ctor_set(x_1433, 1, x_1431); +x_1434 = lean_array_push(x_1425, x_1433); +x_1435 = l_Lean_mkAppStx___closed__8; +x_1436 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1436, 0, x_1435); +lean_ctor_set(x_1436, 1, x_1434); +x_1437 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1437, 0, x_1436); +lean_ctor_set(x_1437, 1, x_1417); +return x_1437; } } } @@ -10166,33 +10899,33 @@ return x_1255; } else { -lean_object* x_1307; lean_object* x_1308; +lean_object* x_1489; lean_object* x_1490; lean_dec(x_11); -x_1307 = lean_unsigned_to_nat(1u); -x_1308 = l_Lean_Syntax_getArg(x_1, x_1307); +x_1489 = lean_unsigned_to_nat(1u); +x_1490 = l_Lean_Syntax_getArg(x_1, x_1489); lean_dec(x_1); -x_1 = x_1308; +x_1 = x_1490; goto _start; } } else { -lean_object* x_1310; lean_object* x_1311; +lean_object* x_1492; lean_object* x_1493; lean_dec(x_11); -x_1310 = lean_unsigned_to_nat(0u); -x_1311 = l_Lean_Syntax_getArg(x_1, x_1310); +x_1492 = lean_unsigned_to_nat(0u); +x_1493 = l_Lean_Syntax_getArg(x_1, x_1492); lean_dec(x_1); -x_1 = x_1311; +x_1 = x_1493; goto _start; } } else { -lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; +lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_dec(x_11); -x_1313 = l_Lean_Syntax_getArgs(x_1); -x_1314 = lean_unsigned_to_nat(0u); -x_1315 = l_Lean_Syntax_getArg(x_1, x_1314); +x_1495 = l_Lean_Syntax_getArgs(x_1); +x_1496 = lean_unsigned_to_nat(0u); +x_1497 = l_Lean_Syntax_getArg(x_1, x_1496); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -10201,103 +10934,103 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_1316 = l_Lean_Elab_Term_checkLeftRec(x_1315, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_1316) == 0) +x_1498 = l_Lean_Elab_Term_checkLeftRec(x_1497, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_1498) == 0) { -lean_object* x_1317; uint8_t x_1318; -x_1317 = lean_ctor_get(x_1316, 0); -lean_inc(x_1317); -x_1318 = lean_unbox(x_1317); -lean_dec(x_1317); -if (x_1318 == 0) +lean_object* x_1499; uint8_t x_1500; +x_1499 = lean_ctor_get(x_1498, 0); +lean_inc(x_1499); +x_1500 = lean_unbox(x_1499); +lean_dec(x_1499); +if (x_1500 == 0) { -lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; -x_1319 = lean_ctor_get(x_1316, 1); -lean_inc(x_1319); -lean_dec(x_1316); -x_1320 = lean_array_get_size(x_1313); -x_1321 = lean_mk_empty_array_with_capacity(x_1320); +lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; +x_1501 = lean_ctor_get(x_1498, 1); +lean_inc(x_1501); +lean_dec(x_1498); +x_1502 = lean_array_get_size(x_1495); +x_1503 = lean_mk_empty_array_with_capacity(x_1502); 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_1322 = l_Array_mapIdxM_map___at_Lean_Elab_Term_toParserDescrAux___spec__8(x_1, x_1313, x_1320, x_1314, lean_box(0), x_1321, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1319); +x_1504 = l_Array_mapIdxM_map___at_Lean_Elab_Term_toParserDescrAux___spec__8(x_1, x_1495, x_1502, x_1496, lean_box(0), x_1503, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1501); lean_dec(x_2); -lean_dec(x_1313); +lean_dec(x_1495); lean_dec(x_1); -if (lean_obj_tag(x_1322) == 0) +if (lean_obj_tag(x_1504) == 0) { -lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; -x_1323 = lean_ctor_get(x_1322, 0); -lean_inc(x_1323); -x_1324 = lean_ctor_get(x_1322, 1); -lean_inc(x_1324); -lean_dec(x_1322); -x_1325 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq(x_1323, x_4, x_5, x_6, x_7, x_8, x_9, x_1324); +lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; +x_1505 = lean_ctor_get(x_1504, 0); +lean_inc(x_1505); +x_1506 = lean_ctor_get(x_1504, 1); +lean_inc(x_1506); +lean_dec(x_1504); +x_1507 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq(x_1505, x_4, x_5, x_6, x_7, x_8, x_9, x_1506); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_1325; +return x_1507; } else { -uint8_t x_1326; +uint8_t x_1508; 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_1326 = !lean_is_exclusive(x_1322); -if (x_1326 == 0) +x_1508 = !lean_is_exclusive(x_1504); +if (x_1508 == 0) { -return x_1322; +return x_1504; } else { -lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; -x_1327 = lean_ctor_get(x_1322, 0); -x_1328 = lean_ctor_get(x_1322, 1); -lean_inc(x_1328); -lean_inc(x_1327); -lean_dec(x_1322); -x_1329 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1329, 0, x_1327); -lean_ctor_set(x_1329, 1, x_1328); -return x_1329; +lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; +x_1509 = lean_ctor_get(x_1504, 0); +x_1510 = lean_ctor_get(x_1504, 1); +lean_inc(x_1510); +lean_inc(x_1509); +lean_dec(x_1504); +x_1511 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1511, 0, x_1509); +lean_ctor_set(x_1511, 1, x_1510); +return x_1511; } } } else { -lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; uint8_t x_1333; -x_1330 = lean_ctor_get(x_1316, 1); -lean_inc(x_1330); -lean_dec(x_1316); -x_1331 = lean_array_get_size(x_1313); -x_1332 = lean_unsigned_to_nat(1u); -x_1333 = lean_nat_dec_eq(x_1331, x_1332); -lean_dec(x_1331); -if (x_1333 == 0) +lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; uint8_t x_1515; +x_1512 = lean_ctor_get(x_1498, 1); +lean_inc(x_1512); +lean_dec(x_1498); +x_1513 = lean_array_get_size(x_1495); +x_1514 = lean_unsigned_to_nat(1u); +x_1515 = lean_nat_dec_eq(x_1513, x_1514); +lean_dec(x_1513); +if (x_1515 == 0) { -lean_object* x_1334; lean_object* x_1335; -x_1334 = lean_box(0); -x_1335 = l_Lean_Elab_Term_toParserDescrAux___lambda__2(x_1313, x_1, x_1334, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1330); +lean_object* x_1516; lean_object* x_1517; +x_1516 = lean_box(0); +x_1517 = l_Lean_Elab_Term_toParserDescrAux___lambda__2(x_1495, x_1, x_1516, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1512); lean_dec(x_2); lean_dec(x_1); -return x_1335; +return x_1517; } else { -lean_object* x_1336; lean_object* x_1337; uint8_t x_1338; -lean_dec(x_1313); -x_1336 = l_Lean_Elab_Term_toParserDescrAux___closed__175; -x_1337 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_1336, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1330); +lean_object* x_1518; lean_object* x_1519; uint8_t x_1520; +lean_dec(x_1495); +x_1518 = l_Lean_Elab_Term_toParserDescrAux___closed__196; +x_1519 = l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(x_1, x_1518, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1512); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); @@ -10306,31 +11039,31 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1338 = !lean_is_exclusive(x_1337); -if (x_1338 == 0) +x_1520 = !lean_is_exclusive(x_1519); +if (x_1520 == 0) { -return x_1337; +return x_1519; } else { -lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; -x_1339 = lean_ctor_get(x_1337, 0); -x_1340 = lean_ctor_get(x_1337, 1); -lean_inc(x_1340); -lean_inc(x_1339); -lean_dec(x_1337); -x_1341 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1341, 0, x_1339); -lean_ctor_set(x_1341, 1, x_1340); -return x_1341; +lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; +x_1521 = lean_ctor_get(x_1519, 0); +x_1522 = lean_ctor_get(x_1519, 1); +lean_inc(x_1522); +lean_inc(x_1521); +lean_dec(x_1519); +x_1523 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1523, 0, x_1521); +lean_ctor_set(x_1523, 1, x_1522); +return x_1523; } } } } else { -uint8_t x_1342; -lean_dec(x_1313); +uint8_t x_1524; +lean_dec(x_1495); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -10340,23 +11073,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1342 = !lean_is_exclusive(x_1316); -if (x_1342 == 0) +x_1524 = !lean_is_exclusive(x_1498); +if (x_1524 == 0) { -return x_1316; +return x_1498; } else { -lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; -x_1343 = lean_ctor_get(x_1316, 0); -x_1344 = lean_ctor_get(x_1316, 1); -lean_inc(x_1344); -lean_inc(x_1343); -lean_dec(x_1316); -x_1345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1345, 0, x_1343); -lean_ctor_set(x_1345, 1, x_1344); -return x_1345; +lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; +x_1525 = lean_ctor_get(x_1498, 0); +x_1526 = lean_ctor_get(x_1498, 1); +lean_inc(x_1526); +lean_inc(x_1525); +lean_dec(x_1498); +x_1527 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1527, 0, x_1525); +lean_ctor_set(x_1527, 1, x_1526); +return x_1527; } } } @@ -10655,7 +11388,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix___closed__1; x_2 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix___closed__2; -x_3 = lean_unsigned_to_nat(186u); +x_3 = lean_unsigned_to_nat(193u); x_4 = lean_unsigned_to_nat(22u); x_5 = l___private_Init_LeanInit_0__Lean_eraseMacroScopesAux___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -11133,7 +11866,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___closed__142; +x_2 = l_Lean_Elab_Term_toParserDescrAux___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); @@ -11188,7 +11921,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___closed__161; +x_2 = l_Lean_Elab_Term_toParserDescrAux___closed__182; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -11402,7 +12135,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___closed__142; +x_84 = l_Lean_Elab_Term_toParserDescrAux___closed__167; lean_inc(x_13); lean_inc(x_16); x_85 = l_Lean_addMacroScope(x_16, x_84, x_13); @@ -11440,7 +12173,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___closed__161; +x_106 = l_Lean_Elab_Term_toParserDescrAux___closed__182; x_107 = l_Lean_addMacroScope(x_16, x_106, x_13); x_108 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__48; x_109 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__50; @@ -13244,7 +13977,7 @@ static lean_object* _init_l_Lean_Elab_Command_elabSyntax___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__164; +x_1 = l_Lean_Elab_Term_toParserDescrAux___closed__185; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -20832,7 +21565,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9373____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9630____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -20842,11 +21575,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9373_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9630_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9373____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9630____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -24717,6 +25450,48 @@ l_Lean_Elab_Term_toParserDescrAux___closed__174 = _init_l_Lean_Elab_Term_toParse lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__174); l_Lean_Elab_Term_toParserDescrAux___closed__175 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__175(); lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__175); +l_Lean_Elab_Term_toParserDescrAux___closed__176 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__176(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__176); +l_Lean_Elab_Term_toParserDescrAux___closed__177 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__177(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__177); +l_Lean_Elab_Term_toParserDescrAux___closed__178 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__178(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__178); +l_Lean_Elab_Term_toParserDescrAux___closed__179 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__179(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__179); +l_Lean_Elab_Term_toParserDescrAux___closed__180 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__180(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__180); +l_Lean_Elab_Term_toParserDescrAux___closed__181 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__181(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__181); +l_Lean_Elab_Term_toParserDescrAux___closed__182 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__182(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__182); +l_Lean_Elab_Term_toParserDescrAux___closed__183 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__183(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__183); +l_Lean_Elab_Term_toParserDescrAux___closed__184 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__184(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__184); +l_Lean_Elab_Term_toParserDescrAux___closed__185 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__185(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__185); +l_Lean_Elab_Term_toParserDescrAux___closed__186 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__186(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__186); +l_Lean_Elab_Term_toParserDescrAux___closed__187 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__187(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__187); +l_Lean_Elab_Term_toParserDescrAux___closed__188 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__188(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__188); +l_Lean_Elab_Term_toParserDescrAux___closed__189 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__189(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__189); +l_Lean_Elab_Term_toParserDescrAux___closed__190 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__190(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__190); +l_Lean_Elab_Term_toParserDescrAux___closed__191 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__191(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__191); +l_Lean_Elab_Term_toParserDescrAux___closed__192 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__192(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__192); +l_Lean_Elab_Term_toParserDescrAux___closed__193 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__193(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__193); +l_Lean_Elab_Term_toParserDescrAux___closed__194 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__194(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__194); +l_Lean_Elab_Term_toParserDescrAux___closed__195 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__195(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__195); +l_Lean_Elab_Term_toParserDescrAux___closed__196 = _init_l_Lean_Elab_Term_toParserDescrAux___closed__196(); +lean_mark_persistent(l_Lean_Elab_Term_toParserDescrAux___closed__196); l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix___closed__1 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix___closed__1); l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix___closed__2 = _init_l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix___closed__2(); @@ -25150,9 +25925,9 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro___closed__2); res = l___regBuiltin_Lean_Elab_Command_elabMacro(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9373____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9373____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9373____closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9373_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9630____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9630____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9630____closed__1); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_9630_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Command_withExpectedType___closed__1 = _init_l_Lean_Elab_Command_withExpectedType___closed__1();