From 8f58351a2c33271ec9bedbc61698baf5842b07a5 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Sun, 27 Sep 2020 07:01:16 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Lean/Elab/Do.lean | 4 +- stage0/src/Lean/Parser/Do.lean | 8 +- stage0/stdlib/Lean/Elab/Do.c | 2429 +++++++++++++++++--------------- stage0/stdlib/Lean/Parser/Do.c | 1979 +++++++++++++++++++------- 4 files changed, 2777 insertions(+), 1643 deletions(-) diff --git a/stage0/src/Lean/Elab/Do.lean b/stage0/src/Lean/Elab/Do.lean index 98c78e1cec..d8ce57b2f1 100644 --- a/stage0/src/Lean/Elab/Do.lean +++ b/stage0/src/Lean/Elab/Do.lean @@ -127,10 +127,10 @@ private partial def expandDoElems : Bool → Array Syntax → Nat → MacroM Syn rest ← mkRest (); newBody ← if optElse.isNone then do - `(do let x ← $discr; match x with | $pat => $rest) + `(do let x ← $discr; (match x with | $pat => $rest)) else let elseBody := optElse.getArg 1; - `(do let x ← $discr; match x with | $pat => $rest | _ => $elseBody); + `(do let x ← $discr; (match x with | $pat => $rest | _ => $elseBody)); addPrefix newBody else if i < doElems.size - 1 && doElem.getKind == `Lean.Parser.Term.doExpr then do -- def doExpr := parser! termParser diff --git a/stage0/src/Lean/Parser/Do.lean b/stage0/src/Lean/Parser/Do.lean index bdf7e6aecd..076c44ee54 100644 --- a/stage0/src/Lean/Parser/Do.lean +++ b/stage0/src/Lean/Parser/Do.lean @@ -131,7 +131,13 @@ def doMatchAlts : Parser := parser! withPosition fun pos => (optional "| ") >> s @[builtinDoElemParser] def «break» := parser! "break" @[builtinDoElemParser] def «continue» := parser! "continue" -@[builtinDoElemParser] def doExpr := parser! notFollowedBy "let " >> notFollowedBy "have " >> termParser +/- +We use `notFollowedBy` to avoid counterintuitive behavior. For example, the `if`-term parser +doesn't enforce indentation restrictions, but we don't want it to be used when `doIf` fails. +Note that parser priorities would not solve this problem since the `doIf` parser is failing while the `if` +parser is succeeding. +-/ +@[builtinDoElemParser] def doExpr := parser! notFollowedBy ("if" <|> "match" <|> "let" <|> "have" <|> "do") >> termParser @[builtinTermParser] def «do» := parser!:maxPrec "do " >> doSeq diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 42a80f689b..4aa380aa56 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -57,6 +57,7 @@ extern lean_object* l_List_repr___rarg___closed__3; lean_object* l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__1; lean_object* l_Lean_Elab_Term_synthesizeInst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toStringAux___main___at_Lean_Elab_Term_elabDo___spec__2(uint8_t, lean_object*); +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__22; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at___private_Lean_Elab_Do_9__mkBind___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_7__expandDoElems___main___closed__8; @@ -93,6 +94,7 @@ lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; extern lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6; lean_object* l___private_Lean_Elab_Do_2__extractBind___closed__1; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__34; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_2__extractBind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_2__extractBind___closed__2; @@ -137,6 +139,7 @@ extern lean_object* l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3_ lean_object* l_Array_umapMAux___main___at___private_Lean_Elab_Do_5__expandLiftMethodAux___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__14; extern lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7; +extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; lean_object* l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; extern lean_object* l_Lean_Elab_macroAttribute; lean_object* l___private_Lean_Elab_Do_10__processDoElemsAux___main___closed__4; @@ -2436,7 +2439,7 @@ lean_ctor_set(x_162, 1, x_160); x_163 = l_Lean_Syntax_isNone(x_142); if (x_163 == 0) { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; 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; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; 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; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; x_164 = l_Lean_Syntax_getArg(x_142, x_121); lean_dec(x_142); x_165 = l_Lean_Meta_mkArrow___rarg___closed__2; @@ -2519,331 +2522,383 @@ x_218 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_218, 0, x_217); lean_ctor_set(x_218, 1, x_216); x_219 = lean_array_push(x_149, x_218); -x_220 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_220 = lean_array_push(x_219, x_172); x_221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_219); -x_222 = lean_array_push(x_184, x_221); -x_223 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_223, 0, x_151); -lean_ctor_set(x_223, 1, x_222); -x_224 = lean_array_push(x_159, x_223); -x_225 = lean_array_push(x_224, x_172); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_161); -lean_ctor_set(x_226, 1, x_225); -x_6 = x_226; +lean_ctor_set(x_221, 0, x_151); +lean_ctor_set(x_221, 1, x_220); +x_222 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__22; +x_223 = lean_array_push(x_222, x_221); +x_224 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__34; +x_225 = lean_array_push(x_223, x_224); +x_226 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_226); +lean_ctor_set(x_227, 1, x_225); +x_228 = lean_array_push(x_149, x_227); +x_229 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_228); +x_231 = lean_array_push(x_184, x_230); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_151); +lean_ctor_set(x_232, 1, x_231); +x_233 = lean_array_push(x_159, x_232); +x_234 = lean_array_push(x_233, x_172); +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_161); +lean_ctor_set(x_235, 1, x_234); +x_6 = x_235; x_7 = x_147; goto block_32; } else { -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; 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; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; 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; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; 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; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_dec(x_142); -x_227 = l_Lean_Meta_mkArrow___rarg___closed__2; -x_228 = l_Lean_addMacroScope(x_148, x_227, x_57); -x_229 = lean_box(0); -x_230 = l_Lean_SourceInfo_inhabited___closed__1; -x_231 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; -x_232 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_232, 0, x_230); -lean_ctor_set(x_232, 1, x_231); -lean_ctor_set(x_232, 2, x_228); -lean_ctor_set(x_232, 3, x_229); -lean_inc(x_232); -x_233 = lean_array_push(x_149, x_232); -x_234 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_235 = lean_array_push(x_233, x_234); -x_236 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; -x_237 = lean_array_push(x_235, x_236); -x_238 = lean_array_push(x_237, x_140); -x_239 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_238); -x_241 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_242 = lean_array_push(x_241, x_240); -x_243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_243, 0, x_107); -lean_ctor_set(x_243, 1, x_242); -x_244 = lean_array_push(x_149, x_243); -x_245 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_236 = l_Lean_Meta_mkArrow___rarg___closed__2; +x_237 = l_Lean_addMacroScope(x_148, x_236, x_57); +x_238 = lean_box(0); +x_239 = l_Lean_SourceInfo_inhabited___closed__1; +x_240 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_241 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_241, 0, x_239); +lean_ctor_set(x_241, 1, x_240); +lean_ctor_set(x_241, 2, x_237); +lean_ctor_set(x_241, 3, x_238); +lean_inc(x_241); +x_242 = lean_array_push(x_149, x_241); +x_243 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_244 = lean_array_push(x_242, x_243); +x_245 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; x_246 = lean_array_push(x_244, x_245); -x_247 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; -x_248 = lean_array_push(x_247, x_232); -x_249 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; -x_250 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_250, 0, x_249); -lean_ctor_set(x_250, 1, x_248); -x_251 = lean_array_push(x_149, x_250); +x_247 = lean_array_push(x_246, x_140); +x_248 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_247); +x_250 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_251 = lean_array_push(x_250, x_249); x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_151); +lean_ctor_set(x_252, 0, x_107); lean_ctor_set(x_252, 1, x_251); -x_253 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; -x_254 = lean_array_push(x_253, x_252); -x_255 = lean_array_push(x_254, x_234); -x_256 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; -x_257 = lean_array_push(x_255, x_256); -x_258 = lean_array_push(x_149, x_138); +x_253 = lean_array_push(x_149, x_252); +x_254 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_255 = lean_array_push(x_253, x_254); +x_256 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; +x_257 = lean_array_push(x_256, x_241); +x_258 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_151); -lean_ctor_set(x_259, 1, x_258); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_257); x_260 = lean_array_push(x_149, x_259); -x_261 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; -x_262 = lean_array_push(x_260, x_261); -x_263 = lean_array_push(x_262, x_162); -x_264 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_264); -lean_ctor_set(x_265, 1, x_263); -x_266 = lean_array_push(x_149, x_265); -x_267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_267, 0, x_151); -lean_ctor_set(x_267, 1, x_266); -x_268 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; -x_269 = lean_array_push(x_268, x_267); -x_270 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; -x_271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_269); -x_272 = lean_array_push(x_257, x_271); -x_273 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_151); +lean_ctor_set(x_261, 1, x_260); +x_262 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; +x_263 = lean_array_push(x_262, x_261); +x_264 = lean_array_push(x_263, x_243); +x_265 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; +x_266 = lean_array_push(x_264, x_265); +x_267 = lean_array_push(x_149, x_138); +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_151); +lean_ctor_set(x_268, 1, x_267); +x_269 = lean_array_push(x_149, x_268); +x_270 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; +x_271 = lean_array_push(x_269, x_270); +x_272 = lean_array_push(x_271, x_162); +x_273 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; x_274 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_274, 0, x_273); lean_ctor_set(x_274, 1, x_272); x_275 = lean_array_push(x_149, x_274); -x_276 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_275); -x_278 = lean_array_push(x_246, x_277); -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_151); -lean_ctor_set(x_279, 1, x_278); -x_280 = lean_array_push(x_159, x_279); -x_281 = lean_array_push(x_280, x_234); -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_161); -lean_ctor_set(x_282, 1, x_281); -x_6 = x_282; +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_151); +lean_ctor_set(x_276, 1, x_275); +x_277 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; +x_278 = lean_array_push(x_277, x_276); +x_279 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_278); +x_281 = lean_array_push(x_266, x_280); +x_282 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; +x_283 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_283, 0, x_282); +lean_ctor_set(x_283, 1, x_281); +x_284 = lean_array_push(x_149, x_283); +x_285 = lean_array_push(x_284, x_243); +x_286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_286, 0, x_151); +lean_ctor_set(x_286, 1, x_285); +x_287 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__22; +x_288 = lean_array_push(x_287, x_286); +x_289 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__34; +x_290 = lean_array_push(x_288, x_289); +x_291 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_290); +x_293 = lean_array_push(x_149, x_292); +x_294 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_295, 0, x_294); +lean_ctor_set(x_295, 1, x_293); +x_296 = lean_array_push(x_255, x_295); +x_297 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_297, 0, x_151); +lean_ctor_set(x_297, 1, x_296); +x_298 = lean_array_push(x_159, x_297); +x_299 = lean_array_push(x_298, x_243); +x_300 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_300, 0, x_161); +lean_ctor_set(x_300, 1, x_299); +x_6 = x_300; x_7 = x_147; goto block_32; } } else { -lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; uint8_t x_288; -x_283 = l_Lean_Syntax_inhabited; -x_284 = lean_array_get(x_283, x_144, x_137); +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_306; +x_301 = l_Lean_Syntax_inhabited; +x_302 = lean_array_get(x_301, x_144, x_137); lean_dec(x_144); -x_285 = l_Lean_Syntax_getArg(x_284, x_137); -lean_dec(x_284); -x_286 = lean_nat_add(x_57, x_121); -x_287 = lean_ctor_get(x_4, 1); -lean_inc(x_287); +x_303 = l_Lean_Syntax_getArg(x_302, x_137); +lean_dec(x_302); +x_304 = lean_nat_add(x_57, x_121); +x_305 = lean_ctor_get(x_4, 1); +lean_inc(x_305); lean_dec(x_4); -x_288 = l_Lean_Syntax_isNone(x_142); -if (x_288 == 0) +x_306 = l_Lean_Syntax_isNone(x_142); +if (x_306 == 0) { -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; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; 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; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; -x_289 = l_Lean_Syntax_getArg(x_142, x_121); +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; 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; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; 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; lean_object* x_380; lean_object* x_381; lean_object* x_382; +x_307 = l_Lean_Syntax_getArg(x_142, x_121); lean_dec(x_142); -x_290 = l_Lean_Meta_mkArrow___rarg___closed__2; -x_291 = l_Lean_addMacroScope(x_287, x_290, x_57); -x_292 = lean_box(0); -x_293 = l_Lean_SourceInfo_inhabited___closed__1; -x_294 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; -x_295 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_295, 0, x_293); -lean_ctor_set(x_295, 1, x_294); -lean_ctor_set(x_295, 2, x_291); -lean_ctor_set(x_295, 3, x_292); -x_296 = l_Array_empty___closed__1; -lean_inc(x_295); -x_297 = lean_array_push(x_296, x_295); -x_298 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_299 = lean_array_push(x_297, x_298); -x_300 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; -x_301 = lean_array_push(x_299, x_300); -x_302 = lean_array_push(x_301, x_140); -x_303 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; -x_304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_304, 0, x_303); -lean_ctor_set(x_304, 1, x_302); -x_305 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_306 = lean_array_push(x_305, x_304); -x_307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_307, 0, x_107); -lean_ctor_set(x_307, 1, x_306); -x_308 = lean_array_push(x_296, x_307); -x_309 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_310 = lean_array_push(x_308, x_309); -x_311 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; -x_312 = lean_array_push(x_311, x_295); -x_313 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_312); -x_315 = lean_array_push(x_296, x_314); -x_316 = l_Lean_nullKind___closed__2; -x_317 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_317, 0, x_316); -lean_ctor_set(x_317, 1, x_315); -x_318 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; -x_319 = lean_array_push(x_318, x_317); -x_320 = lean_array_push(x_319, x_298); -x_321 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; -x_322 = lean_array_push(x_320, x_321); -x_323 = lean_array_push(x_296, x_138); -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_316); -lean_ctor_set(x_324, 1, x_323); -x_325 = lean_array_push(x_296, x_324); -x_326 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; -x_327 = lean_array_push(x_325, x_326); -x_328 = lean_array_push(x_327, x_285); -x_329 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -x_330 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_330, 0, x_329); -lean_ctor_set(x_330, 1, x_328); -x_331 = lean_array_push(x_296, x_330); -x_332 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__13; -x_333 = lean_array_push(x_331, x_332); -x_334 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__8; -x_335 = lean_array_push(x_334, x_289); -x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_329); -lean_ctor_set(x_336, 1, x_335); -x_337 = lean_array_push(x_333, x_336); -x_338 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_338, 0, x_316); -lean_ctor_set(x_338, 1, x_337); -x_339 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; -x_340 = lean_array_push(x_339, x_338); -x_341 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_308 = l_Lean_Meta_mkArrow___rarg___closed__2; +x_309 = l_Lean_addMacroScope(x_305, x_308, x_57); +x_310 = lean_box(0); +x_311 = l_Lean_SourceInfo_inhabited___closed__1; +x_312 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_313 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_313, 0, x_311); +lean_ctor_set(x_313, 1, x_312); +lean_ctor_set(x_313, 2, x_309); +lean_ctor_set(x_313, 3, x_310); +x_314 = l_Array_empty___closed__1; +lean_inc(x_313); +x_315 = lean_array_push(x_314, x_313); +x_316 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_317 = lean_array_push(x_315, x_316); +x_318 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; +x_319 = lean_array_push(x_317, x_318); +x_320 = lean_array_push(x_319, x_140); +x_321 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; +x_322 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_322, 0, x_321); +lean_ctor_set(x_322, 1, x_320); +x_323 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_324 = lean_array_push(x_323, x_322); +x_325 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_325, 0, x_107); +lean_ctor_set(x_325, 1, x_324); +x_326 = lean_array_push(x_314, x_325); +x_327 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_328 = lean_array_push(x_326, x_327); +x_329 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; +x_330 = lean_array_push(x_329, x_313); +x_331 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; +x_332 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_332, 0, x_331); +lean_ctor_set(x_332, 1, x_330); +x_333 = lean_array_push(x_314, x_332); +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 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; +x_337 = lean_array_push(x_336, x_335); +x_338 = lean_array_push(x_337, x_316); +x_339 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; +x_340 = lean_array_push(x_338, x_339); +x_341 = lean_array_push(x_314, x_138); x_342 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_342, 0, x_341); -lean_ctor_set(x_342, 1, x_340); -x_343 = lean_array_push(x_322, x_342); -x_344 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; -x_345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_345, 0, x_344); -lean_ctor_set(x_345, 1, x_343); -x_346 = lean_array_push(x_296, x_345); -x_347 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +lean_ctor_set(x_342, 0, x_334); +lean_ctor_set(x_342, 1, x_341); +x_343 = lean_array_push(x_314, x_342); +x_344 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; +x_345 = lean_array_push(x_343, x_344); +x_346 = lean_array_push(x_345, x_303); +x_347 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; x_348 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_348, 0, x_347); lean_ctor_set(x_348, 1, x_346); -x_349 = lean_array_push(x_310, x_348); -x_350 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_350, 0, x_316); -lean_ctor_set(x_350, 1, x_349); -x_351 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; -x_352 = lean_array_push(x_351, x_350); -x_353 = lean_array_push(x_352, x_298); -x_354 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_354); -lean_ctor_set(x_355, 1, x_353); -x_6 = x_355; -x_7 = x_286; +x_349 = lean_array_push(x_314, x_348); +x_350 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__13; +x_351 = lean_array_push(x_349, x_350); +x_352 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__8; +x_353 = lean_array_push(x_352, x_307); +x_354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_354, 0, x_347); +lean_ctor_set(x_354, 1, x_353); +x_355 = lean_array_push(x_351, x_354); +x_356 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_356, 0, x_334); +lean_ctor_set(x_356, 1, x_355); +x_357 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; +x_358 = lean_array_push(x_357, x_356); +x_359 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_360, 0, x_359); +lean_ctor_set(x_360, 1, x_358); +x_361 = lean_array_push(x_340, x_360); +x_362 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; +x_363 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_363, 0, x_362); +lean_ctor_set(x_363, 1, x_361); +x_364 = lean_array_push(x_314, x_363); +x_365 = lean_array_push(x_364, x_316); +x_366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_366, 0, x_334); +lean_ctor_set(x_366, 1, x_365); +x_367 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__22; +x_368 = lean_array_push(x_367, x_366); +x_369 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__34; +x_370 = lean_array_push(x_368, x_369); +x_371 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; +x_372 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_372, 0, x_371); +lean_ctor_set(x_372, 1, x_370); +x_373 = lean_array_push(x_314, x_372); +x_374 = l___private_Lean_Elab_Do_7__expandDoElems___main___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_328, x_375); +x_377 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_377, 0, x_334); +lean_ctor_set(x_377, 1, x_376); +x_378 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +x_379 = lean_array_push(x_378, x_377); +x_380 = lean_array_push(x_379, x_316); +x_381 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; +x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_382, 0, x_381); +lean_ctor_set(x_382, 1, x_380); +x_6 = x_382; +x_7 = x_304; goto block_32; } else { -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; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; +lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; 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; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_dec(x_142); -x_356 = l_Lean_Meta_mkArrow___rarg___closed__2; -x_357 = l_Lean_addMacroScope(x_287, x_356, x_57); -x_358 = lean_box(0); -x_359 = l_Lean_SourceInfo_inhabited___closed__1; -x_360 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; -x_361 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_361, 0, x_359); -lean_ctor_set(x_361, 1, x_360); -lean_ctor_set(x_361, 2, x_357); -lean_ctor_set(x_361, 3, x_358); -x_362 = l_Array_empty___closed__1; -lean_inc(x_361); -x_363 = lean_array_push(x_362, x_361); -x_364 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_365 = lean_array_push(x_363, x_364); -x_366 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; -x_367 = lean_array_push(x_365, x_366); -x_368 = lean_array_push(x_367, x_140); -x_369 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; -x_370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_370, 0, x_369); -lean_ctor_set(x_370, 1, x_368); -x_371 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_372 = lean_array_push(x_371, x_370); -x_373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_373, 0, x_107); -lean_ctor_set(x_373, 1, x_372); -x_374 = lean_array_push(x_362, x_373); -x_375 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_376 = lean_array_push(x_374, x_375); -x_377 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; -x_378 = lean_array_push(x_377, x_361); -x_379 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; -x_380 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_378); -x_381 = lean_array_push(x_362, x_380); -x_382 = l_Lean_nullKind___closed__2; -x_383 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_383, 0, x_382); -lean_ctor_set(x_383, 1, x_381); -x_384 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; -x_385 = lean_array_push(x_384, x_383); -x_386 = lean_array_push(x_385, x_364); -x_387 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; -x_388 = lean_array_push(x_386, x_387); -x_389 = lean_array_push(x_362, x_138); -x_390 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_390, 0, x_382); -lean_ctor_set(x_390, 1, x_389); -x_391 = lean_array_push(x_362, x_390); -x_392 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; -x_393 = lean_array_push(x_391, x_392); -x_394 = lean_array_push(x_393, x_285); -x_395 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -x_396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_396, 0, x_395); -lean_ctor_set(x_396, 1, x_394); -x_397 = lean_array_push(x_362, x_396); -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_382); -lean_ctor_set(x_398, 1, x_397); -x_399 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; -x_400 = lean_array_push(x_399, x_398); -x_401 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; -x_402 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_400); -x_403 = lean_array_push(x_388, x_402); -x_404 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; -x_405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_405, 0, x_404); -lean_ctor_set(x_405, 1, x_403); -x_406 = lean_array_push(x_362, x_405); -x_407 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_408 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_408, 0, x_407); -lean_ctor_set(x_408, 1, x_406); -x_409 = lean_array_push(x_376, x_408); +x_383 = l_Lean_Meta_mkArrow___rarg___closed__2; +x_384 = l_Lean_addMacroScope(x_305, x_383, x_57); +x_385 = lean_box(0); +x_386 = l_Lean_SourceInfo_inhabited___closed__1; +x_387 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_388 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_388, 0, x_386); +lean_ctor_set(x_388, 1, x_387); +lean_ctor_set(x_388, 2, x_384); +lean_ctor_set(x_388, 3, x_385); +x_389 = l_Array_empty___closed__1; +lean_inc(x_388); +x_390 = lean_array_push(x_389, x_388); +x_391 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_392 = lean_array_push(x_390, x_391); +x_393 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; +x_394 = lean_array_push(x_392, x_393); +x_395 = lean_array_push(x_394, x_140); +x_396 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; +x_397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_397, 0, x_396); +lean_ctor_set(x_397, 1, x_395); +x_398 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_399 = lean_array_push(x_398, x_397); +x_400 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_400, 0, x_107); +lean_ctor_set(x_400, 1, x_399); +x_401 = lean_array_push(x_389, x_400); +x_402 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_403 = lean_array_push(x_401, x_402); +x_404 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; +x_405 = lean_array_push(x_404, x_388); +x_406 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; +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_389, x_407); +x_409 = l_Lean_nullKind___closed__2; x_410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_410, 0, x_382); -lean_ctor_set(x_410, 1, x_409); -x_411 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +lean_ctor_set(x_410, 0, x_409); +lean_ctor_set(x_410, 1, x_408); +x_411 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; x_412 = lean_array_push(x_411, x_410); -x_413 = lean_array_push(x_412, x_364); -x_414 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; -x_415 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_415, 0, x_414); -lean_ctor_set(x_415, 1, x_413); -x_6 = x_415; -x_7 = x_286; +x_413 = lean_array_push(x_412, x_391); +x_414 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; +x_415 = lean_array_push(x_413, x_414); +x_416 = lean_array_push(x_389, x_138); +x_417 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_417, 0, x_409); +lean_ctor_set(x_417, 1, x_416); +x_418 = lean_array_push(x_389, x_417); +x_419 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; +x_420 = lean_array_push(x_418, x_419); +x_421 = lean_array_push(x_420, x_303); +x_422 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +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_389, x_423); +x_425 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_425, 0, x_409); +lean_ctor_set(x_425, 1, x_424); +x_426 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; +x_427 = lean_array_push(x_426, x_425); +x_428 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_429 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_429, 0, x_428); +lean_ctor_set(x_429, 1, x_427); +x_430 = lean_array_push(x_415, x_429); +x_431 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; +x_432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_432, 0, x_431); +lean_ctor_set(x_432, 1, x_430); +x_433 = lean_array_push(x_389, x_432); +x_434 = lean_array_push(x_433, x_391); +x_435 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_435, 0, x_409); +lean_ctor_set(x_435, 1, x_434); +x_436 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__22; +x_437 = lean_array_push(x_436, x_435); +x_438 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__34; +x_439 = lean_array_push(x_437, x_438); +x_440 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; +x_441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_441, 0, x_440); +lean_ctor_set(x_441, 1, x_439); +x_442 = lean_array_push(x_389, x_441); +x_443 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_444 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_444, 0, x_443); +lean_ctor_set(x_444, 1, x_442); +x_445 = lean_array_push(x_403, x_444); +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_409); +lean_ctor_set(x_446, 1, x_445); +x_447 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +x_448 = lean_array_push(x_447, x_446); +x_449 = lean_array_push(x_448, x_391); +x_450 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___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_6 = x_451; +x_7 = x_304; goto block_32; } } @@ -2922,153 +2977,153 @@ goto _start; } else { -lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; uint8_t x_422; +lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; uint8_t x_458; lean_dec(x_59); lean_dec(x_4); -x_416 = lean_unsigned_to_nat(1u); -x_417 = l_Lean_Syntax_getArg(x_53, x_416); +x_452 = lean_unsigned_to_nat(1u); +x_453 = l_Lean_Syntax_getArg(x_53, x_452); lean_dec(x_53); -x_418 = lean_unsigned_to_nat(2u); -x_419 = lean_nat_add(x_3, x_418); -x_420 = l_Array_extract___rarg(x_2, x_419, x_33); +x_454 = lean_unsigned_to_nat(2u); +x_455 = lean_nat_add(x_3, x_454); +x_456 = l_Array_extract___rarg(x_2, x_455, x_33); lean_dec(x_33); -x_421 = lean_array_get_size(x_420); -x_422 = lean_nat_dec_eq(x_421, x_416); -lean_dec(x_421); -if (x_422 == 0) +x_457 = lean_array_get_size(x_456); +x_458 = lean_nat_dec_eq(x_457, x_452); +lean_dec(x_457); +if (x_458 == 0) { -lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; uint8_t x_445; -x_423 = lean_unsigned_to_nat(0u); -x_424 = l_Array_empty___closed__1; -x_425 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_420, x_420, x_423, x_424); -lean_dec(x_420); -x_426 = l_Lean_nullKind___closed__2; -x_427 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_427, 0, x_426); -lean_ctor_set(x_427, 1, x_425); -x_428 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_429 = lean_array_push(x_428, x_427); -x_430 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; -x_431 = lean_array_push(x_429, x_430); -x_432 = l___private_Lean_Elab_Do_3__getDoElems___closed__2; -x_433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_433, 0, x_432); -lean_ctor_set(x_433, 1, x_431); -x_434 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; -x_435 = lean_array_push(x_434, x_433); -x_436 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; -x_437 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_437, 0, x_436); -lean_ctor_set(x_437, 1, x_435); -x_438 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_439 = lean_array_push(x_438, x_417); -x_440 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_441 = lean_array_push(x_439, x_440); -x_442 = lean_array_push(x_441, x_437); -x_443 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_444, 0, x_443); -lean_ctor_set(x_444, 1, x_442); -x_445 = lean_nat_dec_eq(x_3, x_423); -if (x_445 == 0) -{ -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; -x_446 = l_Array_extract___rarg(x_2, x_423, x_3); -lean_dec(x_3); -lean_dec(x_2); -x_447 = l_Lean_mkOptionalNode___closed__2; -x_448 = lean_array_push(x_447, x_444); -x_449 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_450 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_450, 0, x_449); -lean_ctor_set(x_450, 1, x_448); -x_451 = lean_array_push(x_446, x_450); -x_452 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_451, x_451, x_423, x_424); -lean_dec(x_451); -x_453 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_453, 0, x_426); -lean_ctor_set(x_453, 1, x_452); -x_454 = lean_array_push(x_428, x_453); -x_455 = lean_array_push(x_454, x_430); -x_456 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_456, 0, x_432); -lean_ctor_set(x_456, 1, x_455); -x_457 = lean_array_push(x_434, x_456); -x_458 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_458, 0, x_436); -lean_ctor_set(x_458, 1, x_457); -lean_ctor_set(x_54, 0, x_458); -return x_54; -} -else -{ -lean_dec(x_3); -lean_dec(x_2); -lean_ctor_set(x_54, 0, x_444); -return x_54; -} -} -else -{ -lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; uint8_t x_470; -x_459 = l_Lean_Syntax_inhabited; -x_460 = lean_unsigned_to_nat(0u); -x_461 = lean_array_get(x_459, x_420, x_460); -lean_dec(x_420); -x_462 = l_Lean_Syntax_getArg(x_461, x_460); -lean_dec(x_461); -x_463 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_464 = lean_array_push(x_463, x_417); -x_465 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_466 = lean_array_push(x_464, x_465); -x_467 = lean_array_push(x_466, x_462); -x_468 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; uint8_t x_481; +x_459 = lean_unsigned_to_nat(0u); +x_460 = l_Array_empty___closed__1; +x_461 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_456, x_456, x_459, x_460); +lean_dec(x_456); +x_462 = l_Lean_nullKind___closed__2; +x_463 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_463, 0, x_462); +lean_ctor_set(x_463, 1, x_461); +x_464 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_465 = lean_array_push(x_464, x_463); +x_466 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; +x_467 = lean_array_push(x_465, x_466); +x_468 = l___private_Lean_Elab_Do_3__getDoElems___closed__2; x_469 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_469, 0, x_468); lean_ctor_set(x_469, 1, x_467); -x_470 = lean_nat_dec_eq(x_3, x_460); -if (x_470 == 0) -{ -lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; -x_471 = l_Array_extract___rarg(x_2, x_460, x_3); -lean_dec(x_3); -lean_dec(x_2); -x_472 = l_Lean_mkOptionalNode___closed__2; -x_473 = lean_array_push(x_472, x_469); -x_474 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_475 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_475, 0, x_474); -lean_ctor_set(x_475, 1, x_473); -x_476 = lean_array_push(x_471, x_475); -x_477 = l_Array_empty___closed__1; -x_478 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_476, x_476, x_460, x_477); -lean_dec(x_476); -x_479 = l_Lean_nullKind___closed__2; +x_470 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +x_471 = lean_array_push(x_470, x_469); +x_472 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; +x_473 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_473, 0, x_472); +lean_ctor_set(x_473, 1, x_471); +x_474 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_475 = lean_array_push(x_474, x_453); +x_476 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_477 = lean_array_push(x_475, x_476); +x_478 = lean_array_push(x_477, x_473); +x_479 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; x_480 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_480, 0, x_479); lean_ctor_set(x_480, 1, x_478); -x_481 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_482 = lean_array_push(x_481, x_480); -x_483 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; -x_484 = lean_array_push(x_482, x_483); -x_485 = l___private_Lean_Elab_Do_3__getDoElems___closed__2; +x_481 = lean_nat_dec_eq(x_3, x_459); +if (x_481 == 0) +{ +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; lean_object* x_493; lean_object* x_494; +x_482 = l_Array_extract___rarg(x_2, x_459, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_483 = l_Lean_mkOptionalNode___closed__2; +x_484 = lean_array_push(x_483, x_480); +x_485 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; x_486 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_486, 0, x_485); lean_ctor_set(x_486, 1, x_484); -x_487 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; -x_488 = lean_array_push(x_487, x_486); -x_489 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_489); -lean_ctor_set(x_490, 1, x_488); -lean_ctor_set(x_54, 0, x_490); +x_487 = lean_array_push(x_482, x_486); +x_488 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_487, x_487, x_459, x_460); +lean_dec(x_487); +x_489 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_489, 0, x_462); +lean_ctor_set(x_489, 1, x_488); +x_490 = lean_array_push(x_464, x_489); +x_491 = lean_array_push(x_490, x_466); +x_492 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_492, 0, x_468); +lean_ctor_set(x_492, 1, x_491); +x_493 = lean_array_push(x_470, x_492); +x_494 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_494, 0, x_472); +lean_ctor_set(x_494, 1, x_493); +lean_ctor_set(x_54, 0, x_494); return x_54; } else { lean_dec(x_3); lean_dec(x_2); -lean_ctor_set(x_54, 0, x_469); +lean_ctor_set(x_54, 0, x_480); +return x_54; +} +} +else +{ +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; uint8_t x_506; +x_495 = l_Lean_Syntax_inhabited; +x_496 = lean_unsigned_to_nat(0u); +x_497 = lean_array_get(x_495, x_456, x_496); +lean_dec(x_456); +x_498 = l_Lean_Syntax_getArg(x_497, x_496); +lean_dec(x_497); +x_499 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_500 = lean_array_push(x_499, x_453); +x_501 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_502 = lean_array_push(x_500, x_501); +x_503 = lean_array_push(x_502, x_498); +x_504 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_505 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_505, 0, x_504); +lean_ctor_set(x_505, 1, x_503); +x_506 = lean_nat_dec_eq(x_3, x_496); +if (x_506 == 0) +{ +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; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; +x_507 = l_Array_extract___rarg(x_2, x_496, x_3); +lean_dec(x_3); +lean_dec(x_2); +x_508 = l_Lean_mkOptionalNode___closed__2; +x_509 = lean_array_push(x_508, x_505); +x_510 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_511 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_511, 0, x_510); +lean_ctor_set(x_511, 1, x_509); +x_512 = lean_array_push(x_507, x_511); +x_513 = l_Array_empty___closed__1; +x_514 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_512, x_512, x_496, x_513); +lean_dec(x_512); +x_515 = l_Lean_nullKind___closed__2; +x_516 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_516, 0, x_515); +lean_ctor_set(x_516, 1, x_514); +x_517 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_518 = lean_array_push(x_517, x_516); +x_519 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; +x_520 = lean_array_push(x_518, x_519); +x_521 = l___private_Lean_Elab_Do_3__getDoElems___closed__2; +x_522 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_522, 0, x_521); +lean_ctor_set(x_522, 1, x_520); +x_523 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +x_524 = lean_array_push(x_523, x_522); +x_525 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; +x_526 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_526, 0, x_525); +lean_ctor_set(x_526, 1, x_524); +lean_ctor_set(x_54, 0, x_526); +return x_54; +} +else +{ +lean_dec(x_3); +lean_dec(x_2); +lean_ctor_set(x_54, 0, x_505); return x_54; } } @@ -3076,814 +3131,866 @@ return x_54; } else { -lean_object* x_491; lean_object* x_492; lean_object* x_493; uint8_t x_494; -x_491 = lean_ctor_get(x_54, 1); -lean_inc(x_491); +lean_object* x_527; lean_object* x_528; lean_object* x_529; uint8_t x_530; +x_527 = lean_ctor_get(x_54, 1); +lean_inc(x_527); lean_dec(x_54); lean_inc(x_53); -x_492 = l_Lean_Syntax_getKind(x_53); -x_493 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__4; -x_494 = lean_name_eq(x_492, x_493); -if (x_494 == 0) +x_528 = l_Lean_Syntax_getKind(x_53); +x_529 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__4; +x_530 = lean_name_eq(x_528, x_529); +if (x_530 == 0) { -lean_object* x_495; lean_object* x_540; uint8_t x_541; -x_540 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__4; -x_541 = lean_name_eq(x_492, x_540); -if (x_541 == 0) +lean_object* x_531; lean_object* x_576; uint8_t x_577; +x_576 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__4; +x_577 = lean_name_eq(x_528, x_576); +if (x_577 == 0) { -lean_object* x_542; lean_object* x_543; uint8_t x_544; -x_542 = lean_unsigned_to_nat(1u); -x_543 = lean_nat_sub(x_33, x_542); +lean_object* x_578; lean_object* x_579; uint8_t x_580; +x_578 = lean_unsigned_to_nat(1u); +x_579 = lean_nat_sub(x_33, x_578); lean_dec(x_33); -x_544 = lean_nat_dec_lt(x_3, x_543); -lean_dec(x_543); -if (x_544 == 0) +x_580 = lean_nat_dec_lt(x_3, x_579); +lean_dec(x_579); +if (x_580 == 0) { -lean_object* x_545; lean_object* x_546; -lean_dec(x_492); +lean_object* x_581; lean_object* x_582; +lean_dec(x_528); lean_dec(x_53); -x_545 = lean_unsigned_to_nat(2u); -x_546 = lean_nat_add(x_3, x_545); +x_581 = lean_unsigned_to_nat(2u); +x_582 = lean_nat_add(x_3, x_581); lean_dec(x_3); -x_3 = x_546; -x_5 = x_491; +x_3 = x_582; +x_5 = x_527; goto _start; } else { -lean_object* x_548; uint8_t x_549; -x_548 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_549 = lean_name_eq(x_492, x_548); -lean_dec(x_492); -if (x_549 == 0) +lean_object* x_584; uint8_t x_585; +x_584 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_585 = lean_name_eq(x_528, x_584); +lean_dec(x_528); +if (x_585 == 0) { -lean_object* x_550; lean_object* x_551; +lean_object* x_586; lean_object* x_587; lean_dec(x_53); -x_550 = lean_unsigned_to_nat(2u); -x_551 = lean_nat_add(x_3, x_550); +x_586 = lean_unsigned_to_nat(2u); +x_587 = lean_nat_add(x_3, x_586); lean_dec(x_3); -x_3 = x_551; -x_5 = x_491; +x_3 = x_587; +x_5 = x_527; goto _start; } else { -lean_object* x_553; -x_553 = lean_box(0); -x_495 = x_553; -goto block_539; +lean_object* x_589; +x_589 = lean_box(0); +x_531 = x_589; +goto block_575; } } } else { -lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; uint8_t x_558; -x_554 = lean_unsigned_to_nat(1u); -x_555 = l_Lean_Syntax_getArg(x_53, x_554); -lean_inc(x_555); -x_556 = l_Lean_Syntax_getKind(x_555); -x_557 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__6; -x_558 = lean_name_eq(x_556, x_557); -lean_dec(x_556); -if (x_558 == 0) +lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; uint8_t x_594; +x_590 = lean_unsigned_to_nat(1u); +x_591 = l_Lean_Syntax_getArg(x_53, x_590); +lean_inc(x_591); +x_592 = l_Lean_Syntax_getKind(x_591); +x_593 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__6; +x_594 = lean_name_eq(x_592, x_593); +lean_dec(x_592); +if (x_594 == 0) { -lean_object* x_559; uint8_t x_560; -lean_dec(x_555); -x_559 = lean_nat_sub(x_33, x_554); +lean_object* x_595; uint8_t x_596; +lean_dec(x_591); +x_595 = lean_nat_sub(x_33, x_590); lean_dec(x_33); -x_560 = lean_nat_dec_lt(x_3, x_559); -lean_dec(x_559); -if (x_560 == 0) -{ -lean_object* x_561; lean_object* x_562; -lean_dec(x_492); -lean_dec(x_53); -x_561 = lean_unsigned_to_nat(2u); -x_562 = lean_nat_add(x_3, x_561); -lean_dec(x_3); -x_3 = x_562; -x_5 = x_491; -goto _start; -} -else -{ -lean_object* x_564; uint8_t x_565; -x_564 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_565 = lean_name_eq(x_492, x_564); -lean_dec(x_492); -if (x_565 == 0) -{ -lean_object* x_566; lean_object* x_567; -lean_dec(x_53); -x_566 = lean_unsigned_to_nat(2u); -x_567 = lean_nat_add(x_3, x_566); -lean_dec(x_3); -x_3 = x_567; -x_5 = x_491; -goto _start; -} -else -{ -lean_object* x_569; -x_569 = lean_box(0); -x_495 = x_569; -goto block_539; -} -} -} -else -{ -lean_object* x_570; lean_object* x_571; lean_object* x_572; 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; -lean_dec(x_492); -lean_dec(x_53); -x_570 = lean_unsigned_to_nat(0u); -x_571 = l_Lean_Syntax_getArg(x_555, x_570); -x_572 = lean_unsigned_to_nat(2u); -x_573 = l_Lean_Syntax_getArg(x_555, x_572); -x_574 = lean_unsigned_to_nat(3u); -x_575 = l_Lean_Syntax_getArg(x_555, x_574); -lean_dec(x_555); -x_576 = lean_nat_add(x_3, x_572); -x_577 = l_Array_extract___rarg(x_2, x_576, x_33); -lean_dec(x_33); -x_578 = lean_array_get_size(x_577); -x_579 = lean_nat_dec_eq(x_578, x_554); -lean_dec(x_578); -if (x_579 == 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; uint8_t x_596; -x_580 = lean_nat_add(x_491, x_554); -x_581 = lean_ctor_get(x_4, 1); -lean_inc(x_581); -lean_dec(x_4); -x_582 = l_Array_empty___closed__1; -x_583 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_577, x_577, x_570, x_582); -lean_dec(x_577); -x_584 = l_Lean_nullKind___closed__2; -x_585 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_585, 0, x_584); -lean_ctor_set(x_585, 1, x_583); -x_586 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_587 = lean_array_push(x_586, x_585); -x_588 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; -x_589 = lean_array_push(x_587, x_588); -x_590 = l___private_Lean_Elab_Do_3__getDoElems___closed__2; -x_591 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_591, 0, x_590); -lean_ctor_set(x_591, 1, x_589); -x_592 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; -x_593 = lean_array_push(x_592, x_591); -x_594 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; -x_595 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_595, 0, x_594); -lean_ctor_set(x_595, 1, x_593); -x_596 = l_Lean_Syntax_isNone(x_575); +x_596 = lean_nat_dec_lt(x_3, x_595); +lean_dec(x_595); if (x_596 == 0) { -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; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; 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; -x_597 = l_Lean_Syntax_getArg(x_575, x_554); -lean_dec(x_575); -x_598 = l_Lean_Meta_mkArrow___rarg___closed__2; -x_599 = l_Lean_addMacroScope(x_581, x_598, x_491); -x_600 = lean_box(0); -x_601 = l_Lean_SourceInfo_inhabited___closed__1; -x_602 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; -x_603 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_603, 0, x_601); -lean_ctor_set(x_603, 1, x_602); -lean_ctor_set(x_603, 2, x_599); -lean_ctor_set(x_603, 3, x_600); -lean_inc(x_603); -x_604 = lean_array_push(x_582, x_603); -x_605 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_606 = lean_array_push(x_604, x_605); -x_607 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; -x_608 = lean_array_push(x_606, x_607); -x_609 = lean_array_push(x_608, x_573); -x_610 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; -x_611 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_611, 0, x_610); -lean_ctor_set(x_611, 1, x_609); -x_612 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_613 = lean_array_push(x_612, x_611); -x_614 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_614, 0, x_540); -lean_ctor_set(x_614, 1, x_613); -x_615 = lean_array_push(x_582, x_614); -x_616 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_617 = lean_array_push(x_615, x_616); -x_618 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; -x_619 = lean_array_push(x_618, x_603); -x_620 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; +lean_object* x_597; lean_object* x_598; +lean_dec(x_528); +lean_dec(x_53); +x_597 = lean_unsigned_to_nat(2u); +x_598 = lean_nat_add(x_3, x_597); +lean_dec(x_3); +x_3 = x_598; +x_5 = x_527; +goto _start; +} +else +{ +lean_object* x_600; uint8_t x_601; +x_600 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_601 = lean_name_eq(x_528, x_600); +lean_dec(x_528); +if (x_601 == 0) +{ +lean_object* x_602; lean_object* x_603; +lean_dec(x_53); +x_602 = lean_unsigned_to_nat(2u); +x_603 = lean_nat_add(x_3, x_602); +lean_dec(x_3); +x_3 = x_603; +x_5 = x_527; +goto _start; +} +else +{ +lean_object* x_605; +x_605 = lean_box(0); +x_531 = x_605; +goto block_575; +} +} +} +else +{ +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; uint8_t x_615; +lean_dec(x_528); +lean_dec(x_53); +x_606 = lean_unsigned_to_nat(0u); +x_607 = l_Lean_Syntax_getArg(x_591, x_606); +x_608 = lean_unsigned_to_nat(2u); +x_609 = l_Lean_Syntax_getArg(x_591, x_608); +x_610 = lean_unsigned_to_nat(3u); +x_611 = l_Lean_Syntax_getArg(x_591, x_610); +lean_dec(x_591); +x_612 = lean_nat_add(x_3, x_608); +x_613 = l_Array_extract___rarg(x_2, x_612, x_33); +lean_dec(x_33); +x_614 = lean_array_get_size(x_613); +x_615 = lean_nat_dec_eq(x_614, x_590); +lean_dec(x_614); +if (x_615 == 0) +{ +lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; uint8_t x_632; +x_616 = lean_nat_add(x_527, x_590); +x_617 = lean_ctor_get(x_4, 1); +lean_inc(x_617); +lean_dec(x_4); +x_618 = l_Array_empty___closed__1; +x_619 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_613, x_613, x_606, x_618); +lean_dec(x_613); +x_620 = l_Lean_nullKind___closed__2; x_621 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_621, 0, x_620); lean_ctor_set(x_621, 1, x_619); -x_622 = lean_array_push(x_582, x_621); -x_623 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_623, 0, x_584); -lean_ctor_set(x_623, 1, x_622); -x_624 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; -x_625 = lean_array_push(x_624, x_623); -x_626 = lean_array_push(x_625, x_605); -x_627 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; -x_628 = lean_array_push(x_626, x_627); -x_629 = lean_array_push(x_582, x_571); -x_630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_630, 0, x_584); -lean_ctor_set(x_630, 1, x_629); -x_631 = lean_array_push(x_582, x_630); -x_632 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; -x_633 = lean_array_push(x_631, x_632); -x_634 = lean_array_push(x_633, x_595); -x_635 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -x_636 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_636, 0, x_635); -lean_ctor_set(x_636, 1, x_634); -x_637 = lean_array_push(x_582, x_636); -x_638 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__13; -x_639 = lean_array_push(x_637, x_638); -x_640 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__8; -x_641 = lean_array_push(x_640, x_597); -x_642 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_642, 0, x_635); -lean_ctor_set(x_642, 1, x_641); -x_643 = lean_array_push(x_639, x_642); -x_644 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_644, 0, x_584); -lean_ctor_set(x_644, 1, x_643); -x_645 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; -x_646 = lean_array_push(x_645, x_644); -x_647 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; -x_648 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_648, 0, x_647); -lean_ctor_set(x_648, 1, x_646); -x_649 = lean_array_push(x_628, x_648); -x_650 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; -x_651 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_651, 0, x_650); -lean_ctor_set(x_651, 1, x_649); -x_652 = lean_array_push(x_582, x_651); -x_653 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_654 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_654, 0, x_653); -lean_ctor_set(x_654, 1, x_652); -x_655 = lean_array_push(x_617, x_654); -x_656 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_656, 0, x_584); -lean_ctor_set(x_656, 1, x_655); -x_657 = lean_array_push(x_592, x_656); -x_658 = lean_array_push(x_657, x_605); +x_622 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_623 = lean_array_push(x_622, x_621); +x_624 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; +x_625 = lean_array_push(x_623, x_624); +x_626 = l___private_Lean_Elab_Do_3__getDoElems___closed__2; +x_627 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_627, 0, x_626); +lean_ctor_set(x_627, 1, x_625); +x_628 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +x_629 = lean_array_push(x_628, x_627); +x_630 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; +x_631 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_631, 0, x_630); +lean_ctor_set(x_631, 1, x_629); +x_632 = l_Lean_Syntax_isNone(x_611); +if (x_632 == 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; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; +x_633 = l_Lean_Syntax_getArg(x_611, x_590); +lean_dec(x_611); +x_634 = l_Lean_Meta_mkArrow___rarg___closed__2; +x_635 = l_Lean_addMacroScope(x_617, x_634, x_527); +x_636 = lean_box(0); +x_637 = l_Lean_SourceInfo_inhabited___closed__1; +x_638 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_639 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_639, 0, x_637); +lean_ctor_set(x_639, 1, x_638); +lean_ctor_set(x_639, 2, x_635); +lean_ctor_set(x_639, 3, x_636); +lean_inc(x_639); +x_640 = lean_array_push(x_618, x_639); +x_641 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_642 = lean_array_push(x_640, x_641); +x_643 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; +x_644 = lean_array_push(x_642, x_643); +x_645 = lean_array_push(x_644, x_609); +x_646 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; +x_647 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_647, 0, x_646); +lean_ctor_set(x_647, 1, x_645); +x_648 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_649 = lean_array_push(x_648, x_647); +x_650 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_650, 0, x_576); +lean_ctor_set(x_650, 1, x_649); +x_651 = lean_array_push(x_618, x_650); +x_652 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_653 = lean_array_push(x_651, x_652); +x_654 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; +x_655 = lean_array_push(x_654, x_639); +x_656 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; +x_657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_657, 0, x_656); +lean_ctor_set(x_657, 1, x_655); +x_658 = lean_array_push(x_618, x_657); x_659 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_659, 0, x_594); +lean_ctor_set(x_659, 0, x_620); lean_ctor_set(x_659, 1, x_658); -x_6 = x_659; -x_7 = x_580; -goto block_32; -} -else -{ -lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; 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; -lean_dec(x_575); -x_660 = l_Lean_Meta_mkArrow___rarg___closed__2; -x_661 = l_Lean_addMacroScope(x_581, x_660, x_491); -x_662 = lean_box(0); -x_663 = l_Lean_SourceInfo_inhabited___closed__1; -x_664 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; -x_665 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_665, 0, x_663); -lean_ctor_set(x_665, 1, x_664); -lean_ctor_set(x_665, 2, x_661); -lean_ctor_set(x_665, 3, x_662); -lean_inc(x_665); -x_666 = lean_array_push(x_582, x_665); -x_667 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_668 = lean_array_push(x_666, x_667); -x_669 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; -x_670 = lean_array_push(x_668, x_669); -x_671 = lean_array_push(x_670, x_573); -x_672 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; -x_673 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_673, 0, x_672); -lean_ctor_set(x_673, 1, x_671); -x_674 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_675 = lean_array_push(x_674, x_673); -x_676 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_676, 0, x_540); -lean_ctor_set(x_676, 1, x_675); -x_677 = lean_array_push(x_582, x_676); -x_678 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_679 = lean_array_push(x_677, x_678); -x_680 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; -x_681 = lean_array_push(x_680, x_665); -x_682 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; -x_683 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_683, 0, x_682); -lean_ctor_set(x_683, 1, x_681); -x_684 = lean_array_push(x_582, x_683); -x_685 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_685, 0, x_584); -lean_ctor_set(x_685, 1, x_684); -x_686 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; -x_687 = lean_array_push(x_686, x_685); -x_688 = lean_array_push(x_687, x_667); -x_689 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; -x_690 = lean_array_push(x_688, x_689); -x_691 = lean_array_push(x_582, x_571); -x_692 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_692, 0, x_584); -lean_ctor_set(x_692, 1, x_691); -x_693 = lean_array_push(x_582, x_692); -x_694 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; -x_695 = lean_array_push(x_693, x_694); -x_696 = lean_array_push(x_695, x_595); -x_697 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -x_698 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_698, 0, x_697); -lean_ctor_set(x_698, 1, x_696); -x_699 = lean_array_push(x_582, x_698); -x_700 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_700, 0, x_584); -lean_ctor_set(x_700, 1, x_699); -x_701 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; -x_702 = lean_array_push(x_701, x_700); -x_703 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_660 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; +x_661 = lean_array_push(x_660, x_659); +x_662 = lean_array_push(x_661, x_641); +x_663 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; +x_664 = lean_array_push(x_662, x_663); +x_665 = lean_array_push(x_618, x_607); +x_666 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_666, 0, x_620); +lean_ctor_set(x_666, 1, x_665); +x_667 = lean_array_push(x_618, x_666); +x_668 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; +x_669 = lean_array_push(x_667, x_668); +x_670 = lean_array_push(x_669, x_631); +x_671 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +x_672 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_672, 0, x_671); +lean_ctor_set(x_672, 1, x_670); +x_673 = lean_array_push(x_618, x_672); +x_674 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__13; +x_675 = lean_array_push(x_673, x_674); +x_676 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__8; +x_677 = lean_array_push(x_676, x_633); +x_678 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_678, 0, x_671); +lean_ctor_set(x_678, 1, x_677); +x_679 = lean_array_push(x_675, x_678); +x_680 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_680, 0, x_620); +lean_ctor_set(x_680, 1, x_679); +x_681 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; +x_682 = lean_array_push(x_681, x_680); +x_683 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_684 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_684, 0, x_683); +lean_ctor_set(x_684, 1, x_682); +x_685 = lean_array_push(x_664, x_684); +x_686 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; +x_687 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_687, 0, x_686); +lean_ctor_set(x_687, 1, x_685); +x_688 = lean_array_push(x_618, x_687); +x_689 = lean_array_push(x_688, x_641); +x_690 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_690, 0, x_620); +lean_ctor_set(x_690, 1, x_689); +x_691 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__22; +x_692 = lean_array_push(x_691, x_690); +x_693 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__34; +x_694 = lean_array_push(x_692, x_693); +x_695 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; +x_696 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_696, 0, x_695); +lean_ctor_set(x_696, 1, x_694); +x_697 = lean_array_push(x_618, x_696); +x_698 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_699 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_699, 0, x_698); +lean_ctor_set(x_699, 1, x_697); +x_700 = lean_array_push(x_653, x_699); +x_701 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_701, 0, x_620); +lean_ctor_set(x_701, 1, x_700); +x_702 = lean_array_push(x_628, x_701); +x_703 = lean_array_push(x_702, x_641); x_704 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_704, 0, x_703); -lean_ctor_set(x_704, 1, x_702); -x_705 = lean_array_push(x_690, x_704); -x_706 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; -x_707 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_707, 0, x_706); -lean_ctor_set(x_707, 1, x_705); -x_708 = lean_array_push(x_582, x_707); -x_709 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_710 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_710, 0, x_709); -lean_ctor_set(x_710, 1, x_708); -x_711 = lean_array_push(x_679, x_710); -x_712 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_712, 0, x_584); -lean_ctor_set(x_712, 1, x_711); -x_713 = lean_array_push(x_592, x_712); -x_714 = lean_array_push(x_713, x_667); -x_715 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_715, 0, x_594); -lean_ctor_set(x_715, 1, x_714); -x_6 = x_715; -x_7 = x_580; +lean_ctor_set(x_704, 0, x_630); +lean_ctor_set(x_704, 1, x_703); +x_6 = x_704; +x_7 = x_616; goto block_32; } -} else { -lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; uint8_t x_721; -x_716 = l_Lean_Syntax_inhabited; -x_717 = lean_array_get(x_716, x_577, x_570); -lean_dec(x_577); -x_718 = l_Lean_Syntax_getArg(x_717, x_570); -lean_dec(x_717); -x_719 = lean_nat_add(x_491, x_554); -x_720 = lean_ctor_get(x_4, 1); -lean_inc(x_720); -lean_dec(x_4); -x_721 = l_Lean_Syntax_isNone(x_575); -if (x_721 == 0) -{ -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; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; -x_722 = l_Lean_Syntax_getArg(x_575, x_554); -lean_dec(x_575); -x_723 = l_Lean_Meta_mkArrow___rarg___closed__2; -x_724 = l_Lean_addMacroScope(x_720, x_723, x_491); -x_725 = lean_box(0); -x_726 = l_Lean_SourceInfo_inhabited___closed__1; -x_727 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; -x_728 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_728, 0, x_726); -lean_ctor_set(x_728, 1, x_727); -lean_ctor_set(x_728, 2, x_724); -lean_ctor_set(x_728, 3, x_725); -x_729 = l_Array_empty___closed__1; -lean_inc(x_728); -x_730 = lean_array_push(x_729, x_728); -x_731 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_732 = lean_array_push(x_730, x_731); -x_733 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; -x_734 = lean_array_push(x_732, x_733); -x_735 = lean_array_push(x_734, x_573); -x_736 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; +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; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; 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; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; +lean_dec(x_611); +x_705 = l_Lean_Meta_mkArrow___rarg___closed__2; +x_706 = l_Lean_addMacroScope(x_617, x_705, x_527); +x_707 = lean_box(0); +x_708 = l_Lean_SourceInfo_inhabited___closed__1; +x_709 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_710 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_710, 0, x_708); +lean_ctor_set(x_710, 1, x_709); +lean_ctor_set(x_710, 2, x_706); +lean_ctor_set(x_710, 3, x_707); +lean_inc(x_710); +x_711 = lean_array_push(x_618, x_710); +x_712 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_713 = lean_array_push(x_711, x_712); +x_714 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; +x_715 = lean_array_push(x_713, x_714); +x_716 = lean_array_push(x_715, x_609); +x_717 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; +x_718 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_718, 0, x_717); +lean_ctor_set(x_718, 1, x_716); +x_719 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_720 = lean_array_push(x_719, x_718); +x_721 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_721, 0, x_576); +lean_ctor_set(x_721, 1, x_720); +x_722 = lean_array_push(x_618, x_721); +x_723 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_724 = lean_array_push(x_722, x_723); +x_725 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; +x_726 = lean_array_push(x_725, x_710); +x_727 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; +x_728 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_728, 0, x_727); +lean_ctor_set(x_728, 1, x_726); +x_729 = lean_array_push(x_618, x_728); +x_730 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_730, 0, x_620); +lean_ctor_set(x_730, 1, x_729); +x_731 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; +x_732 = lean_array_push(x_731, x_730); +x_733 = lean_array_push(x_732, x_712); +x_734 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; +x_735 = lean_array_push(x_733, x_734); +x_736 = lean_array_push(x_618, x_607); x_737 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_737, 0, x_736); -lean_ctor_set(x_737, 1, x_735); -x_738 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_739 = lean_array_push(x_738, x_737); -x_740 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_740, 0, x_540); -lean_ctor_set(x_740, 1, x_739); -x_741 = lean_array_push(x_729, x_740); -x_742 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_743 = lean_array_push(x_741, x_742); -x_744 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; -x_745 = lean_array_push(x_744, x_728); -x_746 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; -x_747 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_747, 0, x_746); -lean_ctor_set(x_747, 1, x_745); -x_748 = lean_array_push(x_729, x_747); -x_749 = l_Lean_nullKind___closed__2; -x_750 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_750, 0, x_749); -lean_ctor_set(x_750, 1, x_748); -x_751 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; -x_752 = lean_array_push(x_751, x_750); -x_753 = lean_array_push(x_752, x_731); -x_754 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; -x_755 = lean_array_push(x_753, x_754); -x_756 = lean_array_push(x_729, x_571); -x_757 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_757, 0, x_749); -lean_ctor_set(x_757, 1, x_756); -x_758 = lean_array_push(x_729, x_757); -x_759 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; -x_760 = lean_array_push(x_758, x_759); -x_761 = lean_array_push(x_760, x_718); -x_762 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; -x_763 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_763, 0, x_762); -lean_ctor_set(x_763, 1, x_761); -x_764 = lean_array_push(x_729, x_763); -x_765 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__13; -x_766 = lean_array_push(x_764, x_765); -x_767 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__8; -x_768 = lean_array_push(x_767, x_722); +lean_ctor_set(x_737, 0, x_620); +lean_ctor_set(x_737, 1, x_736); +x_738 = lean_array_push(x_618, x_737); +x_739 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; +x_740 = lean_array_push(x_738, x_739); +x_741 = lean_array_push(x_740, x_631); +x_742 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +x_743 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_743, 0, x_742); +lean_ctor_set(x_743, 1, x_741); +x_744 = lean_array_push(x_618, x_743); +x_745 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_745, 0, x_620); +lean_ctor_set(x_745, 1, x_744); +x_746 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; +x_747 = lean_array_push(x_746, x_745); +x_748 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_749 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_749, 0, x_748); +lean_ctor_set(x_749, 1, x_747); +x_750 = lean_array_push(x_735, x_749); +x_751 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; +x_752 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_752, 0, x_751); +lean_ctor_set(x_752, 1, x_750); +x_753 = lean_array_push(x_618, x_752); +x_754 = lean_array_push(x_753, x_712); +x_755 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_755, 0, x_620); +lean_ctor_set(x_755, 1, x_754); +x_756 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__22; +x_757 = lean_array_push(x_756, x_755); +x_758 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__34; +x_759 = lean_array_push(x_757, x_758); +x_760 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; +x_761 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_761, 0, x_760); +lean_ctor_set(x_761, 1, x_759); +x_762 = lean_array_push(x_618, x_761); +x_763 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_764 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_764, 0, x_763); +lean_ctor_set(x_764, 1, x_762); +x_765 = lean_array_push(x_724, x_764); +x_766 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_766, 0, x_620); +lean_ctor_set(x_766, 1, x_765); +x_767 = lean_array_push(x_628, x_766); +x_768 = lean_array_push(x_767, x_712); x_769 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_769, 0, x_762); +lean_ctor_set(x_769, 0, x_630); lean_ctor_set(x_769, 1, x_768); -x_770 = lean_array_push(x_766, x_769); -x_771 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_771, 0, x_749); -lean_ctor_set(x_771, 1, x_770); -x_772 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; -x_773 = lean_array_push(x_772, x_771); -x_774 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; -x_775 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_775, 0, x_774); -lean_ctor_set(x_775, 1, x_773); -x_776 = lean_array_push(x_755, x_775); -x_777 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; -x_778 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_778, 0, x_777); -lean_ctor_set(x_778, 1, x_776); -x_779 = lean_array_push(x_729, x_778); -x_780 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_781, 0, x_780); -lean_ctor_set(x_781, 1, x_779); -x_782 = lean_array_push(x_743, x_781); -x_783 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_783, 0, x_749); -lean_ctor_set(x_783, 1, x_782); -x_784 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; -x_785 = lean_array_push(x_784, x_783); -x_786 = lean_array_push(x_785, x_731); -x_787 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; -x_788 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_788, 0, x_787); -lean_ctor_set(x_788, 1, x_786); -x_6 = x_788; -x_7 = x_719; +x_6 = x_769; +x_7 = x_616; goto block_32; } +} else { -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; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; 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; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; -lean_dec(x_575); -x_789 = l_Lean_Meta_mkArrow___rarg___closed__2; -x_790 = l_Lean_addMacroScope(x_720, x_789, x_491); -x_791 = lean_box(0); -x_792 = l_Lean_SourceInfo_inhabited___closed__1; -x_793 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; -x_794 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_794, 0, x_792); +lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; uint8_t x_775; +x_770 = l_Lean_Syntax_inhabited; +x_771 = lean_array_get(x_770, x_613, x_606); +lean_dec(x_613); +x_772 = l_Lean_Syntax_getArg(x_771, x_606); +lean_dec(x_771); +x_773 = lean_nat_add(x_527, x_590); +x_774 = lean_ctor_get(x_4, 1); +lean_inc(x_774); +lean_dec(x_4); +x_775 = l_Lean_Syntax_isNone(x_611); +if (x_775 == 0) +{ +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; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; 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; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; +x_776 = l_Lean_Syntax_getArg(x_611, x_590); +lean_dec(x_611); +x_777 = l_Lean_Meta_mkArrow___rarg___closed__2; +x_778 = l_Lean_addMacroScope(x_774, x_777, x_527); +x_779 = lean_box(0); +x_780 = l_Lean_SourceInfo_inhabited___closed__1; +x_781 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_782 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_782, 0, x_780); +lean_ctor_set(x_782, 1, x_781); +lean_ctor_set(x_782, 2, x_778); +lean_ctor_set(x_782, 3, x_779); +x_783 = l_Array_empty___closed__1; +lean_inc(x_782); +x_784 = lean_array_push(x_783, x_782); +x_785 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_786 = lean_array_push(x_784, x_785); +x_787 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; +x_788 = lean_array_push(x_786, x_787); +x_789 = lean_array_push(x_788, x_609); +x_790 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; +x_791 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_791, 0, x_790); +lean_ctor_set(x_791, 1, x_789); +x_792 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_793 = lean_array_push(x_792, x_791); +x_794 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_794, 0, x_576); lean_ctor_set(x_794, 1, x_793); -lean_ctor_set(x_794, 2, x_790); -lean_ctor_set(x_794, 3, x_791); -x_795 = l_Array_empty___closed__1; -lean_inc(x_794); -x_796 = lean_array_push(x_795, x_794); -x_797 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_798 = lean_array_push(x_796, x_797); -x_799 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; -x_800 = lean_array_push(x_798, x_799); -x_801 = lean_array_push(x_800, x_573); -x_802 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; -x_803 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_803, 0, x_802); -lean_ctor_set(x_803, 1, x_801); -x_804 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_805 = lean_array_push(x_804, x_803); -x_806 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_806, 0, x_540); -lean_ctor_set(x_806, 1, x_805); -x_807 = lean_array_push(x_795, x_806); -x_808 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_795 = lean_array_push(x_783, x_794); +x_796 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_797 = lean_array_push(x_795, x_796); +x_798 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; +x_799 = lean_array_push(x_798, x_782); +x_800 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; +x_801 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_801, 0, x_800); +lean_ctor_set(x_801, 1, x_799); +x_802 = lean_array_push(x_783, x_801); +x_803 = l_Lean_nullKind___closed__2; +x_804 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_804, 0, x_803); +lean_ctor_set(x_804, 1, x_802); +x_805 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; +x_806 = lean_array_push(x_805, x_804); +x_807 = lean_array_push(x_806, x_785); +x_808 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; x_809 = lean_array_push(x_807, x_808); -x_810 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; -x_811 = lean_array_push(x_810, x_794); -x_812 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; -x_813 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_813, 0, x_812); -lean_ctor_set(x_813, 1, x_811); -x_814 = lean_array_push(x_795, x_813); -x_815 = l_Lean_nullKind___closed__2; -x_816 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_816, 0, x_815); -lean_ctor_set(x_816, 1, x_814); -x_817 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; -x_818 = lean_array_push(x_817, x_816); -x_819 = lean_array_push(x_818, x_797); -x_820 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; -x_821 = lean_array_push(x_819, x_820); -x_822 = lean_array_push(x_795, x_571); +x_810 = lean_array_push(x_783, x_607); +x_811 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_811, 0, x_803); +lean_ctor_set(x_811, 1, x_810); +x_812 = lean_array_push(x_783, x_811); +x_813 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; +x_814 = lean_array_push(x_812, x_813); +x_815 = lean_array_push(x_814, x_772); +x_816 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +x_817 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_817, 0, x_816); +lean_ctor_set(x_817, 1, x_815); +x_818 = lean_array_push(x_783, x_817); +x_819 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__13; +x_820 = lean_array_push(x_818, x_819); +x_821 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__8; +x_822 = lean_array_push(x_821, x_776); x_823 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_823, 0, x_815); +lean_ctor_set(x_823, 0, x_816); lean_ctor_set(x_823, 1, x_822); -x_824 = lean_array_push(x_795, x_823); -x_825 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; -x_826 = lean_array_push(x_824, x_825); -x_827 = lean_array_push(x_826, x_718); -x_828 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +x_824 = lean_array_push(x_820, x_823); +x_825 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_825, 0, x_803); +lean_ctor_set(x_825, 1, x_824); +x_826 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; +x_827 = lean_array_push(x_826, x_825); +x_828 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; x_829 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_829, 0, x_828); lean_ctor_set(x_829, 1, x_827); -x_830 = lean_array_push(x_795, x_829); -x_831 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_831, 0, x_815); -lean_ctor_set(x_831, 1, x_830); -x_832 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; -x_833 = lean_array_push(x_832, x_831); -x_834 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_830 = lean_array_push(x_809, x_829); +x_831 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; +x_832 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_832, 0, x_831); +lean_ctor_set(x_832, 1, x_830); +x_833 = lean_array_push(x_783, x_832); +x_834 = lean_array_push(x_833, x_785); x_835 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_835, 0, x_834); -lean_ctor_set(x_835, 1, x_833); -x_836 = lean_array_push(x_821, x_835); -x_837 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; -x_838 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_838, 0, x_837); -lean_ctor_set(x_838, 1, x_836); -x_839 = lean_array_push(x_795, x_838); -x_840 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +lean_ctor_set(x_835, 0, x_803); +lean_ctor_set(x_835, 1, x_834); +x_836 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__22; +x_837 = lean_array_push(x_836, x_835); +x_838 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__34; +x_839 = lean_array_push(x_837, x_838); +x_840 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; x_841 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_841, 0, x_840); lean_ctor_set(x_841, 1, x_839); -x_842 = lean_array_push(x_809, x_841); -x_843 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_843, 0, x_815); -lean_ctor_set(x_843, 1, x_842); -x_844 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; -x_845 = lean_array_push(x_844, x_843); -x_846 = lean_array_push(x_845, x_797); -x_847 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; -x_848 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_848, 0, x_847); -lean_ctor_set(x_848, 1, x_846); -x_6 = x_848; -x_7 = x_719; +x_842 = lean_array_push(x_783, x_841); +x_843 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_844 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_844, 0, x_843); +lean_ctor_set(x_844, 1, x_842); +x_845 = lean_array_push(x_797, x_844); +x_846 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_846, 0, x_803); +lean_ctor_set(x_846, 1, x_845); +x_847 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +x_848 = lean_array_push(x_847, x_846); +x_849 = lean_array_push(x_848, x_785); +x_850 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; +x_851 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_851, 0, x_850); +lean_ctor_set(x_851, 1, x_849); +x_6 = x_851; +x_7 = x_773; +goto block_32; +} +else +{ +lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; 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; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; 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; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; +lean_dec(x_611); +x_852 = l_Lean_Meta_mkArrow___rarg___closed__2; +x_853 = l_Lean_addMacroScope(x_774, x_852, x_527); +x_854 = lean_box(0); +x_855 = l_Lean_SourceInfo_inhabited___closed__1; +x_856 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_857 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_857, 0, x_855); +lean_ctor_set(x_857, 1, x_856); +lean_ctor_set(x_857, 2, x_853); +lean_ctor_set(x_857, 3, x_854); +x_858 = l_Array_empty___closed__1; +lean_inc(x_857); +x_859 = lean_array_push(x_858, x_857); +x_860 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_861 = lean_array_push(x_859, x_860); +x_862 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; +x_863 = lean_array_push(x_861, x_862); +x_864 = lean_array_push(x_863, x_609); +x_865 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; +x_866 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_866, 0, x_865); +lean_ctor_set(x_866, 1, x_864); +x_867 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_868 = lean_array_push(x_867, x_866); +x_869 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_869, 0, x_576); +lean_ctor_set(x_869, 1, x_868); +x_870 = lean_array_push(x_858, x_869); +x_871 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_872 = lean_array_push(x_870, x_871); +x_873 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__7; +x_874 = lean_array_push(x_873, x_857); +x_875 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__6; +x_876 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_876, 0, x_875); +lean_ctor_set(x_876, 1, x_874); +x_877 = lean_array_push(x_858, x_876); +x_878 = l_Lean_nullKind___closed__2; +x_879 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_879, 0, x_878); +lean_ctor_set(x_879, 1, x_877); +x_880 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__4; +x_881 = lean_array_push(x_880, x_879); +x_882 = lean_array_push(x_881, x_860); +x_883 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__9; +x_884 = lean_array_push(x_882, x_883); +x_885 = lean_array_push(x_858, x_607); +x_886 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_886, 0, x_878); +lean_ctor_set(x_886, 1, x_885); +x_887 = lean_array_push(x_858, x_886); +x_888 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__17; +x_889 = lean_array_push(x_887, x_888); +x_890 = lean_array_push(x_889, x_772); +x_891 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__18; +x_892 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_892, 0, x_891); +lean_ctor_set(x_892, 1, x_890); +x_893 = lean_array_push(x_858, x_892); +x_894 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_894, 0, x_878); +lean_ctor_set(x_894, 1, x_893); +x_895 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__16; +x_896 = lean_array_push(x_895, x_894); +x_897 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__11; +x_898 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_898, 0, x_897); +lean_ctor_set(x_898, 1, x_896); +x_899 = lean_array_push(x_884, x_898); +x_900 = l___private_Lean_Elab_Binders_11__expandFunBindersAux___main___closed__2; +x_901 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_901, 0, x_900); +lean_ctor_set(x_901, 1, x_899); +x_902 = lean_array_push(x_858, x_901); +x_903 = lean_array_push(x_902, x_860); +x_904 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_904, 0, x_878); +lean_ctor_set(x_904, 1, x_903); +x_905 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__22; +x_906 = lean_array_push(x_905, x_904); +x_907 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__34; +x_908 = lean_array_push(x_906, x_907); +x_909 = l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20; +x_910 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_910, 0, x_909); +lean_ctor_set(x_910, 1, x_908); +x_911 = lean_array_push(x_858, x_910); +x_912 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_913 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_913, 0, x_912); +lean_ctor_set(x_913, 1, x_911); +x_914 = lean_array_push(x_872, x_913); +x_915 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_915, 0, x_878); +lean_ctor_set(x_915, 1, x_914); +x_916 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +x_917 = lean_array_push(x_916, x_915); +x_918 = lean_array_push(x_917, x_860); +x_919 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; +x_920 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_920, 0, x_919); +lean_ctor_set(x_920, 1, x_918); +x_6 = x_920; +x_7 = x_773; goto block_32; } } } } -block_539: +block_575: { -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; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; uint8_t x_537; -lean_dec(x_495); -x_496 = lean_unsigned_to_nat(0u); -x_497 = l_Lean_Syntax_getArg(x_53, x_496); -lean_dec(x_53); -x_498 = lean_ctor_get(x_4, 2); -lean_inc(x_498); -x_499 = lean_ctor_get(x_4, 1); -lean_inc(x_499); -x_500 = l_Lean_Meta_mkArrow___rarg___closed__2; -x_501 = l_Lean_addMacroScope(x_499, x_500, x_498); -x_502 = lean_box(0); -x_503 = l_Lean_SourceInfo_inhabited___closed__1; -x_504 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; -x_505 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_505, 0, x_503); -lean_ctor_set(x_505, 1, x_504); -lean_ctor_set(x_505, 2, x_501); -lean_ctor_set(x_505, 3, x_502); -x_506 = l_Array_empty___closed__1; -x_507 = lean_array_push(x_506, x_505); -x_508 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; -x_509 = lean_array_push(x_507, x_508); -x_510 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; -x_511 = lean_array_push(x_509, x_510); -x_512 = lean_array_push(x_511, x_497); -x_513 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_513); -lean_ctor_set(x_514, 1, x_512); -x_515 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_516 = lean_array_push(x_515, x_514); -x_517 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__4; -x_518 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_518, 0, x_517); -lean_ctor_set(x_518, 1, x_516); -x_519 = lean_array_push(x_506, x_518); -x_520 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_521 = lean_array_push(x_519, x_520); -x_522 = lean_box(0); -x_523 = lean_array_push(x_521, x_522); -x_524 = l_Lean_nullKind___closed__2; -x_525 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_525, 0, x_524); -lean_ctor_set(x_525, 1, x_523); -x_526 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; -x_527 = lean_array_push(x_526, x_525); -x_528 = lean_array_push(x_527, x_508); -x_529 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_529); -lean_ctor_set(x_530, 1, x_528); -x_531 = l___private_Lean_Elab_Do_3__getDoElems(x_530); -lean_dec(x_530); -x_532 = l_Lean_Syntax_inhabited; -x_533 = lean_array_get(x_532, x_531, x_496); +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; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; uint8_t x_573; lean_dec(x_531); -x_534 = lean_array_set(x_2, x_3, x_533); -x_535 = lean_unsigned_to_nat(2u); -x_536 = lean_nat_add(x_3, x_535); +x_532 = lean_unsigned_to_nat(0u); +x_533 = l_Lean_Syntax_getArg(x_53, x_532); +lean_dec(x_53); +x_534 = lean_ctor_get(x_4, 2); +lean_inc(x_534); +x_535 = lean_ctor_get(x_4, 1); +lean_inc(x_535); +x_536 = l_Lean_Meta_mkArrow___rarg___closed__2; +x_537 = l_Lean_addMacroScope(x_535, x_536, x_534); +x_538 = lean_box(0); +x_539 = l_Lean_SourceInfo_inhabited___closed__1; +x_540 = l___private_Lean_Elab_Binders_16__expandMatchAltsIntoMatchAux___main___closed__2; +x_541 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_541, 0, x_539); +lean_ctor_set(x_541, 1, x_540); +lean_ctor_set(x_541, 2, x_537); +lean_ctor_set(x_541, 3, x_538); +x_542 = l_Array_empty___closed__1; +x_543 = lean_array_push(x_542, x_541); +x_544 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_545 = lean_array_push(x_543, x_544); +x_546 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__8; +x_547 = lean_array_push(x_545, x_546); +x_548 = lean_array_push(x_547, x_533); +x_549 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__6; +x_550 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_550, 0, x_549); +lean_ctor_set(x_550, 1, x_548); +x_551 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_552 = lean_array_push(x_551, x_550); +x_553 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__4; +x_554 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_554, 0, x_553); +lean_ctor_set(x_554, 1, x_552); +x_555 = lean_array_push(x_542, x_554); +x_556 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_557 = lean_array_push(x_555, x_556); +x_558 = lean_box(0); +x_559 = lean_array_push(x_557, x_558); +x_560 = l_Lean_nullKind___closed__2; +x_561 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_561, 0, x_560); +lean_ctor_set(x_561, 1, x_559); +x_562 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +x_563 = lean_array_push(x_562, x_561); +x_564 = lean_array_push(x_563, x_544); +x_565 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; +x_566 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_566, 0, x_565); +lean_ctor_set(x_566, 1, x_564); +x_567 = l___private_Lean_Elab_Do_3__getDoElems(x_566); +lean_dec(x_566); +x_568 = l_Lean_Syntax_inhabited; +x_569 = lean_array_get(x_568, x_567, x_532); +lean_dec(x_567); +x_570 = lean_array_set(x_2, x_3, x_569); +x_571 = lean_unsigned_to_nat(2u); +x_572 = lean_nat_add(x_3, x_571); lean_dec(x_3); -x_537 = 1; -x_1 = x_537; -x_2 = x_534; -x_3 = x_536; -x_5 = x_491; +x_573 = 1; +x_1 = x_573; +x_2 = x_570; +x_3 = x_572; +x_5 = x_527; goto _start; } } else { -lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; uint8_t x_855; -lean_dec(x_492); +lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; uint8_t x_927; +lean_dec(x_528); lean_dec(x_4); -x_849 = lean_unsigned_to_nat(1u); -x_850 = l_Lean_Syntax_getArg(x_53, x_849); +x_921 = lean_unsigned_to_nat(1u); +x_922 = l_Lean_Syntax_getArg(x_53, x_921); lean_dec(x_53); -x_851 = lean_unsigned_to_nat(2u); -x_852 = lean_nat_add(x_3, x_851); -x_853 = l_Array_extract___rarg(x_2, x_852, x_33); +x_923 = lean_unsigned_to_nat(2u); +x_924 = lean_nat_add(x_3, x_923); +x_925 = l_Array_extract___rarg(x_2, x_924, x_33); lean_dec(x_33); -x_854 = lean_array_get_size(x_853); -x_855 = lean_nat_dec_eq(x_854, x_849); -lean_dec(x_854); -if (x_855 == 0) +x_926 = lean_array_get_size(x_925); +x_927 = lean_nat_dec_eq(x_926, x_921); +lean_dec(x_926); +if (x_927 == 0) { -lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; 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; uint8_t x_878; -x_856 = lean_unsigned_to_nat(0u); -x_857 = l_Array_empty___closed__1; -x_858 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_853, x_853, x_856, x_857); -lean_dec(x_853); -x_859 = l_Lean_nullKind___closed__2; -x_860 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_860, 0, x_859); -lean_ctor_set(x_860, 1, x_858); -x_861 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_862 = lean_array_push(x_861, x_860); -x_863 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; -x_864 = lean_array_push(x_862, x_863); -x_865 = l___private_Lean_Elab_Do_3__getDoElems___closed__2; -x_866 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_866, 0, x_865); -lean_ctor_set(x_866, 1, x_864); -x_867 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; -x_868 = lean_array_push(x_867, x_866); -x_869 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; -x_870 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_870, 0, x_869); -lean_ctor_set(x_870, 1, x_868); -x_871 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_872 = lean_array_push(x_871, x_850); -x_873 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_874 = lean_array_push(x_872, x_873); -x_875 = lean_array_push(x_874, x_870); -x_876 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_877 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_877, 0, x_876); -lean_ctor_set(x_877, 1, x_875); -x_878 = lean_nat_dec_eq(x_3, x_856); -if (x_878 == 0) +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; 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; uint8_t x_950; +x_928 = lean_unsigned_to_nat(0u); +x_929 = l_Array_empty___closed__1; +x_930 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_925, x_925, x_928, x_929); +lean_dec(x_925); +x_931 = l_Lean_nullKind___closed__2; +x_932 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_932, 0, x_931); +lean_ctor_set(x_932, 1, x_930); +x_933 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_934 = lean_array_push(x_933, x_932); +x_935 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; +x_936 = lean_array_push(x_934, x_935); +x_937 = l___private_Lean_Elab_Do_3__getDoElems___closed__2; +x_938 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_938, 0, x_937); +lean_ctor_set(x_938, 1, x_936); +x_939 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +x_940 = lean_array_push(x_939, x_938); +x_941 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; +x_942 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_942, 0, x_941); +lean_ctor_set(x_942, 1, x_940); +x_943 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_944 = lean_array_push(x_943, x_922); +x_945 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_946 = lean_array_push(x_944, x_945); +x_947 = lean_array_push(x_946, x_942); +x_948 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_949 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_949, 0, x_948); +lean_ctor_set(x_949, 1, x_947); +x_950 = lean_nat_dec_eq(x_3, x_928); +if (x_950 == 0) { -lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; -x_879 = l_Array_extract___rarg(x_2, x_856, x_3); +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_951 = l_Array_extract___rarg(x_2, x_928, x_3); lean_dec(x_3); lean_dec(x_2); -x_880 = l_Lean_mkOptionalNode___closed__2; -x_881 = lean_array_push(x_880, x_877); -x_882 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_883 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_883, 0, x_882); -lean_ctor_set(x_883, 1, x_881); -x_884 = lean_array_push(x_879, x_883); -x_885 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_884, x_884, x_856, x_857); -lean_dec(x_884); -x_886 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_886, 0, x_859); -lean_ctor_set(x_886, 1, x_885); -x_887 = lean_array_push(x_861, x_886); -x_888 = lean_array_push(x_887, x_863); -x_889 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_889, 0, x_865); -lean_ctor_set(x_889, 1, x_888); -x_890 = lean_array_push(x_867, x_889); -x_891 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_891, 0, x_869); -lean_ctor_set(x_891, 1, x_890); -x_892 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_892, 0, x_891); -lean_ctor_set(x_892, 1, x_491); -return x_892; +x_952 = l_Lean_mkOptionalNode___closed__2; +x_953 = lean_array_push(x_952, x_949); +x_954 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_955 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_955, 0, x_954); +lean_ctor_set(x_955, 1, x_953); +x_956 = lean_array_push(x_951, x_955); +x_957 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_956, x_956, x_928, x_929); +lean_dec(x_956); +x_958 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_958, 0, x_931); +lean_ctor_set(x_958, 1, x_957); +x_959 = lean_array_push(x_933, x_958); +x_960 = lean_array_push(x_959, x_935); +x_961 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_961, 0, x_937); +lean_ctor_set(x_961, 1, x_960); +x_962 = lean_array_push(x_939, x_961); +x_963 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_963, 0, x_941); +lean_ctor_set(x_963, 1, x_962); +x_964 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_964, 0, x_963); +lean_ctor_set(x_964, 1, x_527); +return x_964; } else { -lean_object* x_893; +lean_object* x_965; lean_dec(x_3); lean_dec(x_2); -x_893 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_893, 0, x_877); -lean_ctor_set(x_893, 1, x_491); -return x_893; +x_965 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_965, 0, x_949); +lean_ctor_set(x_965, 1, x_527); +return x_965; } } else { -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; uint8_t x_905; -x_894 = l_Lean_Syntax_inhabited; -x_895 = lean_unsigned_to_nat(0u); -x_896 = lean_array_get(x_894, x_853, x_895); -lean_dec(x_853); -x_897 = l_Lean_Syntax_getArg(x_896, x_895); -lean_dec(x_896); -x_898 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; -x_899 = lean_array_push(x_898, x_850); -x_900 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; -x_901 = lean_array_push(x_899, x_900); -x_902 = lean_array_push(x_901, x_897); -x_903 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; -x_904 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_904, 0, x_903); -lean_ctor_set(x_904, 1, x_902); -x_905 = lean_nat_dec_eq(x_3, x_895); -if (x_905 == 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; uint8_t x_977; +x_966 = l_Lean_Syntax_inhabited; +x_967 = lean_unsigned_to_nat(0u); +x_968 = lean_array_get(x_966, x_925, x_967); +lean_dec(x_925); +x_969 = l_Lean_Syntax_getArg(x_968, x_967); +lean_dec(x_968); +x_970 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__4; +x_971 = lean_array_push(x_970, x_922); +x_972 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__16; +x_973 = lean_array_push(x_971, x_972); +x_974 = lean_array_push(x_973, x_969); +x_975 = l___private_Lean_Elab_Quotation_4__getHeadInfo___elambda__3___closed__2; +x_976 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_976, 0, x_975); +lean_ctor_set(x_976, 1, x_974); +x_977 = lean_nat_dec_eq(x_3, x_967); +if (x_977 == 0) { -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; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; -x_906 = l_Array_extract___rarg(x_2, x_895, x_3); +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_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; +x_978 = l_Array_extract___rarg(x_2, x_967, x_3); lean_dec(x_3); lean_dec(x_2); -x_907 = l_Lean_mkOptionalNode___closed__2; -x_908 = lean_array_push(x_907, x_904); -x_909 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; -x_910 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_910, 0, x_909); -lean_ctor_set(x_910, 1, x_908); -x_911 = lean_array_push(x_906, x_910); -x_912 = l_Array_empty___closed__1; -x_913 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_911, x_911, x_895, x_912); -lean_dec(x_911); -x_914 = l_Lean_nullKind___closed__2; -x_915 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_915, 0, x_914); -lean_ctor_set(x_915, 1, x_913); -x_916 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_917 = lean_array_push(x_916, x_915); -x_918 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; -x_919 = lean_array_push(x_917, x_918); -x_920 = l___private_Lean_Elab_Do_3__getDoElems___closed__2; -x_921 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_921, 0, x_920); -lean_ctor_set(x_921, 1, x_919); -x_922 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; -x_923 = lean_array_push(x_922, x_921); -x_924 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; -x_925 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_925, 0, x_924); -lean_ctor_set(x_925, 1, x_923); -x_926 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_926, 0, x_925); -lean_ctor_set(x_926, 1, x_491); -return x_926; +x_979 = l_Lean_mkOptionalNode___closed__2; +x_980 = lean_array_push(x_979, x_976); +x_981 = l___private_Lean_Elab_Do_7__expandDoElems___main___closed__2; +x_982 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_982, 0, x_981); +lean_ctor_set(x_982, 1, x_980); +x_983 = lean_array_push(x_978, x_982); +x_984 = l_Array_empty___closed__1; +x_985 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_983, x_983, x_967, x_984); +lean_dec(x_983); +x_986 = l_Lean_nullKind___closed__2; +x_987 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_987, 0, x_986); +lean_ctor_set(x_987, 1, x_985); +x_988 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_989 = lean_array_push(x_988, x_987); +x_990 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__9; +x_991 = lean_array_push(x_989, x_990); +x_992 = l___private_Lean_Elab_Do_3__getDoElems___closed__2; +x_993 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_993, 0, x_992); +lean_ctor_set(x_993, 1, x_991); +x_994 = l___private_Lean_Elab_Do_5__expandLiftMethodAux___main___closed__2; +x_995 = lean_array_push(x_994, x_993); +x_996 = l___private_Lean_Elab_Do_4__hasLiftMethod___main___closed__2; +x_997 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_997, 0, x_996); +lean_ctor_set(x_997, 1, x_995); +x_998 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_998, 0, x_997); +lean_ctor_set(x_998, 1, x_527); +return x_998; } else { -lean_object* x_927; +lean_object* x_999; lean_dec(x_3); lean_dec(x_2); -x_927 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_927, 0, x_904); -lean_ctor_set(x_927, 1, x_491); -return x_927; +x_999 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_999, 0, x_976); +lean_ctor_set(x_999, 1, x_527); +return x_999; } } } @@ -3891,57 +3998,57 @@ return x_927; } else { -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; uint8_t x_937; +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; uint8_t x_1009; lean_dec(x_53); -x_928 = lean_ctor_get(x_54, 1); -lean_inc(x_928); +x_1000 = lean_ctor_get(x_54, 1); +lean_inc(x_1000); lean_dec(x_54); -x_929 = lean_ctor_get(x_55, 0); -lean_inc(x_929); +x_1001 = lean_ctor_get(x_55, 0); +lean_inc(x_1001); lean_dec(x_55); -x_930 = lean_unsigned_to_nat(1u); -x_931 = lean_nat_add(x_3, x_930); -x_932 = l_Array_extract___rarg(x_2, x_931, x_33); +x_1002 = lean_unsigned_to_nat(1u); +x_1003 = lean_nat_add(x_3, x_1002); +x_1004 = l_Array_extract___rarg(x_2, x_1003, x_33); lean_dec(x_33); -x_933 = lean_unsigned_to_nat(0u); -x_934 = l_Array_extract___rarg(x_2, x_933, x_3); +x_1005 = lean_unsigned_to_nat(0u); +x_1006 = l_Array_extract___rarg(x_2, x_1005, x_3); lean_dec(x_2); -x_935 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_929, x_929, x_933, x_934); -lean_dec(x_929); -x_936 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_932, x_932, x_933, x_935); -lean_dec(x_932); -x_937 = 1; -x_1 = x_937; -x_2 = x_936; -x_5 = x_928; +x_1007 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1001, x_1001, x_1005, x_1006); +lean_dec(x_1001); +x_1008 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1004, x_1004, x_1005, x_1007); +lean_dec(x_1004); +x_1009 = 1; +x_1 = x_1009; +x_2 = x_1008; +x_5 = x_1000; goto _start; } } else { -uint8_t x_939; +uint8_t x_1011; lean_dec(x_53); lean_dec(x_33); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_939 = !lean_is_exclusive(x_54); -if (x_939 == 0) +x_1011 = !lean_is_exclusive(x_54); +if (x_1011 == 0) { return x_54; } else { -lean_object* x_940; lean_object* x_941; lean_object* x_942; -x_940 = lean_ctor_get(x_54, 0); -x_941 = lean_ctor_get(x_54, 1); -lean_inc(x_941); -lean_inc(x_940); +lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; +x_1012 = lean_ctor_get(x_54, 0); +x_1013 = lean_ctor_get(x_54, 1); +lean_inc(x_1013); +lean_inc(x_1012); lean_dec(x_54); -x_942 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_942, 0, x_940); -lean_ctor_set(x_942, 1, x_941); -return x_942; +x_1014 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1014, 0, x_1012); +lean_ctor_set(x_1014, 1, x_1013); +return x_1014; } } } diff --git a/stage0/stdlib/Lean/Parser/Do.c b/stage0/stdlib/Lean/Parser/Do.c index f013362c04..f26ed9083f 100644 --- a/stage0/stdlib/Lean/Parser/Do.c +++ b/stage0/stdlib/Lean/Parser/Do.c @@ -46,6 +46,7 @@ lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_doMatchAlts___elambda__1___spec__8___closed__2; lean_object* l_Lean_Parser_Term_doExpr_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doMatchAlts_parenthesizer___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__12; extern lean_object* l_Lean_Parser_Term_explicit___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_do_parenthesizer(lean_object*); lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_doIf___elambda__1___spec__1___closed__6; @@ -84,6 +85,7 @@ lean_object* l_Lean_Parser_Term_doSeqBracketed___closed__4; lean_object* l_Lean_Parser_Term_doHave_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__8; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_doMatchAlts___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_doSeqIndent_formatter___lambda__1___closed__11; lean_object* l_Lean_PrettyPrinter_Formatter_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_doFor_parenthesizer(lean_object*); @@ -95,11 +97,13 @@ lean_object* l_Lean_Parser_Term_doMatchAlt_parenthesizer(lean_object*, lean_obje extern lean_object* l_Lean_Parser_regBuiltinCommandParserAttr___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_liftMethod(lean_object*); extern lean_object* l_Lean_Parser_Term_if_formatter___closed__3; +lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__10; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_doMatchAlts___elambda__1___spec__8___closed__4; lean_object* l_Lean_Parser_Term_do___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_doFor_formatter___closed__6; extern lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_doMatch; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__19; lean_object* l_Lean_Parser_Term_doSeqIndent_formatter___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doMatchAlts___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -112,8 +116,8 @@ extern lean_object* l___regBuiltin_Lean_Parser_Term_ident_parenthesizer___closed lean_object* l_Lean_Parser_Term_do___closed__3; lean_object* l_Lean_Parser_Term_doMatch_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_doIf___closed__6; -lean_object* l_Lean_Parser_Term_do___elambda__1___closed__9; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_doMatchAlts___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_break___closed__6; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_doIf___elambda__1___spec__2___closed__4; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_doMatchAlts___elambda__1___spec__6(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); @@ -175,6 +179,7 @@ lean_object* l_Lean_Parser_Term_doFor___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_doFor_parenthesizer___closed__1; lean_object* l_Lean_Parser_regDoElemParserAttribute___closed__1; extern lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___spec__2___closed__2; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__23; lean_object* l_Lean_Parser_addBuiltinParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doSeqBracketed___closed__5; lean_object* lean_array_get_size(lean_object*); @@ -229,6 +234,7 @@ lean_object* l_Lean_Parser_Term_break___closed__5; lean_object* l_Lean_Parser_Term_liftMethod_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doMatch___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doIf_formatter___lambda__1___closed__7; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__12; lean_object* l___regBuiltin_Lean_Parser_Term_break_parenthesizer___closed__1; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_doMatchAlts___elambda__1___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doIf___closed__2; @@ -265,6 +271,7 @@ extern lean_object* l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed_ lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_doMatchAlts___elambda__1___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doFor___closed__2; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__16; lean_object* l_Lean_Parser_Term_doMatchAlt___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_if___closed__3; extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; @@ -281,6 +288,7 @@ lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser lean_object* l_Lean_Parser_Term_doMatch___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_let___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doMatch_formatter___closed__1; +lean_object* l_Lean_Parser_Term_doExpr_parenthesizer___closed__6; lean_object* l_Lean_Parser_notFollowedByTermToken_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doSeqIndent_formatter___lambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_structInst_formatter___closed__2; @@ -300,6 +308,7 @@ lean_object* l_Lean_Parser_Term_doMatch___elambda__1___closed__4; lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_continue_parenthesizer___closed__1; lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_doMatchAlts___elambda__1___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_doMatch_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_doSeq___closed__1; @@ -308,6 +317,7 @@ lean_object* l_Lean_Parser_Term_doIf___closed__7; lean_object* l_Lean_Parser_Term_doIf_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_continue(lean_object*); lean_object* l_Lean_Parser_Term_continue___elambda__1___closed__4; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__20; lean_object* l_Lean_Parser_Term_doId___elambda__1___closed__4; extern lean_object* l_Lean_Parser_Term_if___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_break_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -368,6 +378,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_doHave_formatter___closed__1; lean_object* l_Lean_Parser_Term_doSeqIndent_formatter___lambda__1___closed__9; lean_object* l_Lean_Parser_Term_doIf_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doIf___closed__3; +extern lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_Term_matchAlts___lambda__1___closed__5; lean_object* l_Lean_Parser_Term_doMatchAlts_formatter___closed__4; lean_object* l_Lean_Parser_Term_doLet_parenthesizer___closed__3; @@ -385,6 +396,7 @@ extern lean_object* l_Char_HasRepr___closed__1; extern lean_object* l_Lean_Parser_Term_emptyC___closed__2; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_doMatchAlts___elambda__1___spec__8(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doSeqIndent___closed__5; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__24; lean_object* l_Lean_Parser_Term_doFor_formatter___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_doFor_formatter(lean_object*); lean_object* l_Lean_Parser_Term_continue___elambda__1___closed__1; @@ -392,12 +404,14 @@ lean_object* l_Lean_Parser_Term_doSeqIndent_parenthesizer___lambda__1___closed__ lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_tupleTail___elambda__1___spec__1(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doSeqBracketed_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doMatch_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_break_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_break; lean_object* l_Lean_Parser_orelseInfo(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doIf_formatter___lambda__1___closed__12; lean_object* l_Lean_Parser_Term_doLet_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doSeq___closed__2; +lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__7; lean_object* l_Lean_Parser_Term_doMatch___closed__4; lean_object* l_Lean_Parser_Term_break_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_liftMethod_formatter(lean_object*); @@ -445,12 +459,14 @@ lean_object* l___regBuiltin_Lean_Parser_Term_doMatch_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doFor___closed__5; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_doIf_parenthesizer___lambda__1___closed__6; +lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__8; lean_object* l_Lean_Parser_Term_do; lean_object* l_Lean_Parser_Term_doMatchAlts___closed__5; lean_object* l_Lean_Parser_registerBuiltinParserAttribute(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_notFollowedByTermToken_formatter(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_doMatchAlts___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doFor_parenthesizer___closed__6; +extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doHave_formatter(lean_object*); lean_object* l_Lean_Parser_Term_doSeqBracketed_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_Term_match___closed__1; @@ -472,6 +488,7 @@ lean_object* l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_doSeqIndent_formatter___lambda__1___closed__5; lean_object* l_Lean_Parser_Term_doMatchAlts___closed__2; lean_object* l_Lean_Parser_Term_doLetArrow_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__25; lean_object* l_Lean_Parser_Term_doPat_formatter___closed__2; lean_object* l_Lean_Parser_Term_doSeqIndent___closed__3; lean_object* l_Lean_Parser_Term_liftMethod___closed__6; @@ -491,17 +508,22 @@ lean_object* l___regBuiltin_Lean_Parser_Term_doLet_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_doHave_formatter___closed__3; lean_object* l_Lean_Parser_Term_doLetArrow_formatter___closed__3; lean_object* l_Lean_Parser_Term_doIf___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__15; lean_object* l_Lean_Parser_notFollowedByCategoryTokenFn(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_indentedNonEmptySeq_formatter___lambda__1___closed__2; lean_object* l_Lean_Parser_Term_doSeqIndent_formatter___lambda__1___closed__14; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___closed__1; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__18; lean_object* l___regBuiltin_Lean_Parser_Term_break_formatter___closed__1; lean_object* l_Lean_Parser_Term_doId_formatter___closed__3; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_doLet___closed__5; lean_object* l_Lean_Parser_Term_doIf_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_Term_tupleTail_formatter___closed__3; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doSeqIndent_parenthesizer___lambda__1___closed__8; lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__2; +lean_object* l_Lean_Parser_Term_doExpr_parenthesizer___closed__7; extern lean_object* l_Lean_Parser_Tactic_indentedNonEmptySeq_formatter___lambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Formatter_withPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_optType___elambda__1(lean_object*, lean_object*); @@ -516,6 +538,7 @@ lean_object* l_Lean_Parser_Term_doFor_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doSeqIndent_formatter___lambda__1___closed__10; lean_object* l_Lean_Parser_Term_doPat___closed__1; extern lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; +extern lean_object* l_Lean_Parser_Term_if___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_break_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doMatch___closed__2; @@ -527,6 +550,7 @@ lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__7; extern lean_object* l_Lean_Parser_Term_if___elambda__1___closed__19; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_doSeqIndent___elambda__1___spec__2___closed__1; lean_object* l_Lean_Parser_Term_doSeqBracketed_parenthesizer___closed__6; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__22; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_doMatchAlts___elambda__1___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_doMatchAlts___elambda__1___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___closed__9; @@ -594,6 +618,7 @@ lean_object* l_Lean_Parser_categoryParser(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doMatchAlts___closed__7; lean_object* l_Lean_Parser_Term_doPat_formatter___closed__7; lean_object* l_Lean_Parser_Term_do_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_doSeqIndent_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doSeqIndent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__6; @@ -606,6 +631,7 @@ lean_object* l_Lean_Parser_Term_doMatch___closed__9; lean_object* l_Lean_Parser_Term_doFor_parenthesizer___closed__1; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_doSeqBracketed___elambda__1___spec__2(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doPat___elambda__1___closed__3; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doSeq___closed__3; lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_doPat_parenthesizer___closed__4; @@ -651,6 +677,7 @@ lean_object* l_Lean_Parser_Term_doIf_formatter___lambda__1___closed__8; lean_object* l_Lean_Parser_Term_doLet___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doIf_formatter___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__13; extern lean_object* l_Lean_Parser_Term_char_parenthesizer___closed__1; lean_object* l_Lean_Parser_regBuiltinDoElemParserAttr___closed__4; lean_object* l_Lean_Parser_Term_doMatch___closed__6; @@ -667,6 +694,7 @@ lean_object* l_Lean_Parser_Term_doHave___elambda__1___closed__2; extern lean_object* l_Lean_Parser_unicodeSymbolFn___closed__1; lean_object* l_Lean_Parser_Term_break___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doFor_formatter___closed__1; +lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__9; lean_object* l_Lean_Parser_Term_doSeqBracketed___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doIf_formatter___closed__3; extern lean_object* l_Lean_Parser_Term_quotedName_formatter___closed__2; @@ -724,6 +752,7 @@ lean_object* l_Lean_Parser_Term_leftArrow___closed__2; lean_object* l_Lean_Parser_Term_doMatchAlt___closed__2; lean_object* l_Lean_Parser_Term_doPat___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_doSeqIndent___closed__7; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__21; lean_object* l_Lean_Parser_Term_doHave___closed__6; lean_object* l_Lean_Parser_Term_doSeqIndent_parenthesizer___lambda__1___closed__6; lean_object* l_Lean_Parser_notFollowedByCommandToken_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -743,6 +772,7 @@ extern lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean extern lean_object* l_Lean_Parser_Term_have_formatter___closed__4; extern lean_object* l_Lean_Parser_Term_if_formatter___closed__2; lean_object* l_Lean_Parser_notFollowedByCommandToken_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_leftArrow___closed__1; lean_object* l_Lean_Parser_Term_do___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__2; @@ -751,6 +781,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_doExpr_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doIf_formatter___lambda__1___closed__2; +lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__11; lean_object* l_Lean_Parser_Term_do_formatter___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_doMatch_parenthesizer___closed__1; lean_object* l_Lean_Parser_doElemParser_formatter___boxed(lean_object*); @@ -799,7 +830,6 @@ lean_object* l_Lean_Parser_Term_doSeqBracketed_formatter(lean_object*, lean_obje lean_object* l_Lean_Parser_Term_liftMethod_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doExpr_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); -lean_object* l_Lean_Parser_Term_doExpr___closed__7; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_doIf___elambda__1___spec__1___closed__5; lean_object* l_Lean_Parser_Term_do___closed__5; lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__3; @@ -834,9 +864,11 @@ lean_object* l_Lean_Parser_Term_leftArrow___elambda__1(lean_object*, lean_object extern lean_object* l_Lean_Parser_Term_str_formatter___closed__1; lean_object* l_Lean_Parser_Term_continue_formatter___closed__3; extern lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__7; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__8; lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_emptyC_formatter___closed__4; lean_object* l_Lean_Parser_Term_break___closed__2; +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__17; lean_object* l_Lean_Parser_Term_doMatchAlts_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_liftMethod___closed__2; lean_object* l_Lean_Parser_notFollowedByTermToken_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -869,6 +901,7 @@ lean_object* l_Lean_Parser_Term_continue___closed__3; lean_object* l_Lean_Parser_Term_doLet_formatter___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_doExpr(lean_object*); lean_object* l_Lean_PrettyPrinter_Formatter_categoryParser_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__9; lean_object* _init_l_Lean_Parser_regBuiltinDoElemParserAttr___closed__1() { _start: { @@ -16621,6 +16654,219 @@ x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); return x_4; } } +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_match___elambda__1___closed__1; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("do"); +return x_1; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__9; +x_2 = l_String_trim(x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__10; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__11; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__12; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__8; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__14; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__15; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__7; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__17; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__18; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__6; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__20; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__21; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__23; +x_2 = l_Char_HasRepr___closed__1; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__24; +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* l_Lean_Parser_Term_doExpr___elambda__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -16641,202 +16887,522 @@ x_8 = lean_ctor_get(x_7, 3); lean_inc(x_8); if (lean_obj_tag(x_8) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_46; lean_object* x_47; lean_object* x_54; lean_object* x_55; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_26; lean_object* x_150; lean_object* x_151; x_9 = lean_ctor_get(x_7, 0); lean_inc(x_9); x_10 = lean_array_get_size(x_9); lean_dec(x_9); -x_46 = lean_ctor_get(x_7, 1); -lean_inc(x_46); +x_11 = lean_ctor_get(x_7, 1); +lean_inc(x_11); lean_inc(x_1); -x_54 = l_Lean_Parser_tokenFn(x_1, x_7); -x_55 = lean_ctor_get(x_54, 3); -lean_inc(x_55); -if (lean_obj_tag(x_55) == 0) +x_150 = l_Lean_Parser_tokenFn(x_1, x_7); +x_151 = lean_ctor_get(x_150, 3); +lean_inc(x_151); +if (lean_obj_tag(x_151) == 0) { -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_54, 0); -lean_inc(x_56); -x_57 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_56); -lean_dec(x_56); -if (lean_obj_tag(x_57) == 2) +lean_object* x_152; lean_object* x_153; +x_152 = lean_ctor_get(x_150, 0); +lean_inc(x_152); +x_153 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_152); +lean_dec(x_152); +if (lean_obj_tag(x_153) == 2) { -lean_object* x_58; lean_object* x_59; uint8_t x_60; -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = l_Lean_Parser_Term_let___elambda__1___closed__6; -x_60 = lean_string_dec_eq(x_58, x_59); -lean_dec(x_58); -if (x_60 == 0) +lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +lean_dec(x_153); +x_155 = l_Lean_Parser_Term_doExpr___elambda__1___closed__5; +x_156 = lean_string_dec_eq(x_154, x_155); +lean_dec(x_154); +if (x_156 == 0) { -lean_object* x_61; lean_object* x_62; -x_61 = l_Lean_Parser_Term_let___elambda__1___closed__9; -lean_inc(x_46); -x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_61, x_46); -x_47 = x_62; -goto block_53; +lean_object* x_157; lean_object* x_158; +x_157 = l_Lean_Parser_Term_doExpr___elambda__1___closed__25; +lean_inc(x_11); +x_158 = l_Lean_Parser_ParserState_mkErrorsAt(x_150, x_157, x_11); +x_26 = x_158; +goto block_149; } else { -x_47 = x_54; -goto block_53; +x_26 = x_150; +goto block_149; } } else { -lean_object* x_63; lean_object* x_64; -lean_dec(x_57); -x_63 = l_Lean_Parser_Term_let___elambda__1___closed__9; -lean_inc(x_46); -x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_63, x_46); -x_47 = x_64; -goto block_53; +lean_object* x_159; lean_object* x_160; +lean_dec(x_153); +x_159 = l_Lean_Parser_Term_doExpr___elambda__1___closed__25; +lean_inc(x_11); +x_160 = l_Lean_Parser_ParserState_mkErrorsAt(x_150, x_159, x_11); +x_26 = x_160; +goto block_149; } } else { -lean_object* x_65; lean_object* x_66; -lean_dec(x_55); -x_65 = l_Lean_Parser_Term_let___elambda__1___closed__9; -lean_inc(x_46); -x_66 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_65, x_46); -x_47 = x_66; -goto block_53; +lean_object* x_161; lean_object* x_162; +lean_dec(x_151); +x_161 = l_Lean_Parser_Term_doExpr___elambda__1___closed__25; +lean_inc(x_11); +x_162 = l_Lean_Parser_ParserState_mkErrorsAt(x_150, x_161, x_11); +x_26 = x_162; +goto block_149; } -block_45: +block_25: { -lean_object* x_12; -x_12 = lean_ctor_get(x_11, 3); -lean_inc(x_12); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_30; lean_object* x_31; -x_13 = lean_ctor_get(x_11, 0); +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 3); lean_inc(x_13); -x_14 = lean_array_get_size(x_13); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_1); +x_14 = l_Lean_Parser_ParserState_restore(x_12, x_10, x_11); +x_15 = l_Lean_Parser_notFollowedByFn___closed__1; +x_16 = l_Lean_Parser_ParserState_mkError(x_14, x_15); +x_17 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; +x_18 = l_Lean_Parser_ParserState_mkNode(x_16, x_17, x_10); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_dec(x_13); -x_15 = lean_ctor_get(x_11, 1); -lean_inc(x_15); -lean_inc(x_1); -x_30 = l_Lean_Parser_tokenFn(x_1, x_11); -x_31 = lean_ctor_get(x_30, 3); -lean_inc(x_31); -if (lean_obj_tag(x_31) == 0) +x_19 = l_Lean_Parser_ParserState_restore(x_12, x_10, x_11); +x_20 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_Lean_Parser_categoryParser___elambda__1(x_20, x_21, x_1, x_19); +x_23 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; +x_24 = l_Lean_Parser_ParserState_mkNode(x_22, x_23, x_10); +return x_24; +} +} +block_149: { -lean_object* x_32; lean_object* x_33; -x_32 = lean_ctor_get(x_30, 0); +lean_object* x_27; +x_27 = lean_ctor_get(x_26, 3); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) +{ +x_12 = x_26; +goto block_25; +} +else +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_ctor_get(x_26, 1); +lean_inc(x_29); +x_30 = lean_nat_dec_eq(x_29, x_11); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_dec(x_28); +x_12 = x_26; +goto block_25; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_136; lean_object* x_137; +lean_inc(x_11); +x_31 = l_Lean_Parser_ParserState_restore(x_26, x_10, x_11); +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -x_33 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_32); +x_33 = lean_array_get_size(x_32); lean_dec(x_32); -if (lean_obj_tag(x_33) == 2) +lean_inc(x_1); +x_136 = l_Lean_Parser_tokenFn(x_1, x_31); +x_137 = lean_ctor_get(x_136, 3); +lean_inc(x_137); +if (lean_obj_tag(x_137) == 0) { -lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); +lean_object* x_138; lean_object* x_139; +x_138 = lean_ctor_get(x_136, 0); +lean_inc(x_138); +x_139 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_138); +lean_dec(x_138); +if (lean_obj_tag(x_139) == 2) +{ +lean_object* x_140; lean_object* x_141; uint8_t x_142; +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +lean_dec(x_139); +x_141 = l_Lean_Parser_Term_doExpr___elambda__1___closed__6; +x_142 = lean_string_dec_eq(x_140, x_141); +lean_dec(x_140); +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; +x_143 = l_Lean_Parser_Term_doExpr___elambda__1___closed__22; +lean_inc(x_11); +x_144 = l_Lean_Parser_ParserState_mkErrorsAt(x_136, x_143, x_11); +x_34 = x_144; +goto block_135; +} +else +{ +x_34 = x_136; +goto block_135; +} +} +else +{ +lean_object* x_145; lean_object* x_146; +lean_dec(x_139); +x_145 = l_Lean_Parser_Term_doExpr___elambda__1___closed__22; +lean_inc(x_11); +x_146 = l_Lean_Parser_ParserState_mkErrorsAt(x_136, x_145, x_11); +x_34 = x_146; +goto block_135; +} +} +else +{ +lean_object* x_147; lean_object* x_148; +lean_dec(x_137); +x_147 = l_Lean_Parser_Term_doExpr___elambda__1___closed__22; +lean_inc(x_11); +x_148 = l_Lean_Parser_ParserState_mkErrorsAt(x_136, x_147, x_11); +x_34 = x_148; +goto block_135; +} +block_135: +{ +lean_object* x_35; +x_35 = lean_ctor_get(x_34, 3); +lean_inc(x_35); +if (lean_obj_tag(x_35) == 0) +{ +uint8_t x_36; lean_object* x_37; lean_dec(x_33); -x_35 = l_Lean_Parser_Term_have___elambda__1___closed__6; -x_36 = lean_string_dec_eq(x_34, x_35); -lean_dec(x_34); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; -x_37 = l_Lean_Parser_Term_have___elambda__1___closed__9; -lean_inc(x_15); -x_38 = l_Lean_Parser_ParserState_mkErrorsAt(x_30, x_37, x_15); -x_16 = x_38; -goto block_29; +x_36 = 1; +x_37 = l_Lean_Parser_mergeOrElseErrors(x_34, x_28, x_11, x_36); +x_12 = x_37; +goto block_25; } else { -x_16 = x_30; -goto block_29; -} -} -else +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_35, 0); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_ctor_get(x_34, 1); +lean_inc(x_39); +x_40 = lean_nat_dec_eq(x_39, x_11); +lean_dec(x_39); +if (x_40 == 0) { -lean_object* x_39; lean_object* x_40; +uint8_t x_41; lean_object* x_42; +lean_dec(x_38); lean_dec(x_33); -x_39 = l_Lean_Parser_Term_have___elambda__1___closed__9; -lean_inc(x_15); -x_40 = l_Lean_Parser_ParserState_mkErrorsAt(x_30, x_39, x_15); -x_16 = x_40; -goto block_29; +x_41 = 1; +x_42 = l_Lean_Parser_mergeOrElseErrors(x_34, x_28, x_11, x_41); +x_12 = x_42; +goto block_25; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_122; lean_object* x_123; +lean_inc(x_11); +x_43 = l_Lean_Parser_ParserState_restore(x_34, x_33, x_11); +lean_dec(x_33); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_array_get_size(x_44); +lean_dec(x_44); +lean_inc(x_1); +x_122 = l_Lean_Parser_tokenFn(x_1, x_43); +x_123 = lean_ctor_get(x_122, 3); +lean_inc(x_123); +if (lean_obj_tag(x_123) == 0) +{ +lean_object* x_124; lean_object* x_125; +x_124 = lean_ctor_get(x_122, 0); +lean_inc(x_124); +x_125 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_124); +lean_dec(x_124); +if (lean_obj_tag(x_125) == 2) +{ +lean_object* x_126; lean_object* x_127; uint8_t x_128; +x_126 = lean_ctor_get(x_125, 1); +lean_inc(x_126); +lean_dec(x_125); +x_127 = l_Lean_Parser_Term_doExpr___elambda__1___closed__7; +x_128 = lean_string_dec_eq(x_126, x_127); +lean_dec(x_126); +if (x_128 == 0) +{ +lean_object* x_129; lean_object* x_130; +x_129 = l_Lean_Parser_Term_doExpr___elambda__1___closed__19; +lean_inc(x_11); +x_130 = l_Lean_Parser_ParserState_mkErrorsAt(x_122, x_129, x_11); +x_46 = x_130; +goto block_121; +} +else +{ +x_46 = x_122; +goto block_121; } } else { -lean_object* x_41; lean_object* x_42; -lean_dec(x_31); -x_41 = l_Lean_Parser_Term_have___elambda__1___closed__9; -lean_inc(x_15); -x_42 = l_Lean_Parser_ParserState_mkErrorsAt(x_30, x_41, x_15); -x_16 = x_42; -goto block_29; -} -block_29: -{ -lean_object* x_17; -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -lean_dec(x_1); -x_18 = l_Lean_Parser_ParserState_restore(x_16, x_14, x_15); -lean_dec(x_14); -x_19 = l_Lean_Parser_notFollowedByFn___closed__1; -x_20 = l_Lean_Parser_ParserState_mkError(x_18, x_19); -x_21 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; -x_22 = l_Lean_Parser_ParserState_mkNode(x_20, x_21, x_10); -return x_22; -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_17); -x_23 = l_Lean_Parser_ParserState_restore(x_16, x_14, x_15); -lean_dec(x_14); -x_24 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_25 = lean_unsigned_to_nat(0u); -x_26 = l_Lean_Parser_categoryParser___elambda__1(x_24, x_25, x_1, x_23); -x_27 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_10); -return x_28; -} +lean_object* x_131; lean_object* x_132; +lean_dec(x_125); +x_131 = l_Lean_Parser_Term_doExpr___elambda__1___closed__19; +lean_inc(x_11); +x_132 = l_Lean_Parser_ParserState_mkErrorsAt(x_122, x_131, x_11); +x_46 = x_132; +goto block_121; } } else { -lean_object* x_43; lean_object* x_44; -lean_dec(x_12); -lean_dec(x_1); -x_43 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; -x_44 = l_Lean_Parser_ParserState_mkNode(x_11, x_43, x_10); -return x_44; +lean_object* x_133; lean_object* x_134; +lean_dec(x_123); +x_133 = l_Lean_Parser_Term_doExpr___elambda__1___closed__19; +lean_inc(x_11); +x_134 = l_Lean_Parser_ParserState_mkErrorsAt(x_122, x_133, x_11); +x_46 = x_134; +goto block_121; } -} -block_53: +block_121: { -lean_object* x_48; -x_48 = lean_ctor_get(x_47, 3); -lean_inc(x_48); -if (lean_obj_tag(x_48) == 0) +lean_object* x_47; +x_47 = lean_ctor_get(x_46, 3); +lean_inc(x_47); +if (lean_obj_tag(x_47) == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = l_Lean_Parser_ParserState_restore(x_47, x_10, x_46); -x_50 = l_Lean_Parser_notFollowedByFn___closed__1; -x_51 = l_Lean_Parser_ParserState_mkError(x_49, x_50); -x_11 = x_51; -goto block_45; +uint8_t x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_45); +x_48 = 1; +x_49 = l_Lean_Parser_mergeOrElseErrors(x_46, x_38, x_11, x_48); +x_50 = l_Lean_Parser_mergeOrElseErrors(x_49, x_28, x_11, x_48); +x_12 = x_50; +goto block_25; } else { -lean_object* x_52; -lean_dec(x_48); -x_52 = l_Lean_Parser_ParserState_restore(x_47, x_10, x_46); -x_11 = x_52; -goto block_45; +lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_51 = lean_ctor_get(x_47, 0); +lean_inc(x_51); +lean_dec(x_47); +x_52 = lean_ctor_get(x_46, 1); +lean_inc(x_52); +x_53 = lean_nat_dec_eq(x_52, x_11); +lean_dec(x_52); +if (x_53 == 0) +{ +uint8_t x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_51); +lean_dec(x_45); +x_54 = 1; +x_55 = l_Lean_Parser_mergeOrElseErrors(x_46, x_38, x_11, x_54); +x_56 = l_Lean_Parser_mergeOrElseErrors(x_55, x_28, x_11, x_54); +x_12 = x_56; +goto block_25; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_108; lean_object* x_109; +lean_inc(x_11); +x_57 = l_Lean_Parser_ParserState_restore(x_46, x_45, x_11); +lean_dec(x_45); +x_58 = lean_ctor_get(x_57, 0); +lean_inc(x_58); +x_59 = lean_array_get_size(x_58); +lean_dec(x_58); +lean_inc(x_1); +x_108 = l_Lean_Parser_tokenFn(x_1, x_57); +x_109 = lean_ctor_get(x_108, 3); +lean_inc(x_109); +if (lean_obj_tag(x_109) == 0) +{ +lean_object* x_110; lean_object* x_111; +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +x_111 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_110); +lean_dec(x_110); +if (lean_obj_tag(x_111) == 2) +{ +lean_object* x_112; lean_object* x_113; uint8_t x_114; +x_112 = lean_ctor_get(x_111, 1); +lean_inc(x_112); +lean_dec(x_111); +x_113 = l_Lean_Parser_Term_doExpr___elambda__1___closed__8; +x_114 = lean_string_dec_eq(x_112, x_113); +lean_dec(x_112); +if (x_114 == 0) +{ +lean_object* x_115; lean_object* x_116; +x_115 = l_Lean_Parser_Term_doExpr___elambda__1___closed__16; +lean_inc(x_11); +x_116 = l_Lean_Parser_ParserState_mkErrorsAt(x_108, x_115, x_11); +x_60 = x_116; +goto block_107; +} +else +{ +x_60 = x_108; +goto block_107; +} +} +else +{ +lean_object* x_117; lean_object* x_118; +lean_dec(x_111); +x_117 = l_Lean_Parser_Term_doExpr___elambda__1___closed__16; +lean_inc(x_11); +x_118 = l_Lean_Parser_ParserState_mkErrorsAt(x_108, x_117, x_11); +x_60 = x_118; +goto block_107; +} +} +else +{ +lean_object* x_119; lean_object* x_120; +lean_dec(x_109); +x_119 = l_Lean_Parser_Term_doExpr___elambda__1___closed__16; +lean_inc(x_11); +x_120 = l_Lean_Parser_ParserState_mkErrorsAt(x_108, x_119, x_11); +x_60 = x_120; +goto block_107; +} +block_107: +{ +lean_object* x_61; +x_61 = lean_ctor_get(x_60, 3); +lean_inc(x_61); +if (lean_obj_tag(x_61) == 0) +{ +uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_59); +x_62 = 1; +x_63 = l_Lean_Parser_mergeOrElseErrors(x_60, x_51, x_11, x_62); +x_64 = l_Lean_Parser_mergeOrElseErrors(x_63, x_38, x_11, x_62); +x_65 = l_Lean_Parser_mergeOrElseErrors(x_64, x_28, x_11, x_62); +x_12 = x_65; +goto block_25; +} +else +{ +lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_66 = lean_ctor_get(x_61, 0); +lean_inc(x_66); +lean_dec(x_61); +x_67 = lean_ctor_get(x_60, 1); +lean_inc(x_67); +x_68 = lean_nat_dec_eq(x_67, x_11); +lean_dec(x_67); +if (x_68 == 0) +{ +uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_66); +lean_dec(x_59); +x_69 = 1; +x_70 = l_Lean_Parser_mergeOrElseErrors(x_60, x_51, x_11, x_69); +x_71 = l_Lean_Parser_mergeOrElseErrors(x_70, x_38, x_11, x_69); +x_72 = l_Lean_Parser_mergeOrElseErrors(x_71, x_28, x_11, x_69); +x_12 = x_72; +goto block_25; +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_inc(x_11); +x_73 = l_Lean_Parser_ParserState_restore(x_60, x_59, x_11); +lean_dec(x_59); +lean_inc(x_1); +x_74 = l_Lean_Parser_tokenFn(x_1, x_73); +x_75 = lean_ctor_get(x_74, 3); +lean_inc(x_75); +if (lean_obj_tag(x_75) == 0) +{ +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_74, 0); +lean_inc(x_76); +x_77 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_76); +lean_dec(x_76); +if (lean_obj_tag(x_77) == 2) +{ +lean_object* x_78; lean_object* x_79; uint8_t x_80; +x_78 = lean_ctor_get(x_77, 1); +lean_inc(x_78); +lean_dec(x_77); +x_79 = l_Lean_Parser_Term_doExpr___elambda__1___closed__10; +x_80 = lean_string_dec_eq(x_78, x_79); +lean_dec(x_78); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_81 = l_Lean_Parser_Term_doExpr___elambda__1___closed__13; +lean_inc(x_11); +x_82 = l_Lean_Parser_ParserState_mkErrorsAt(x_74, x_81, x_11); +x_83 = 1; +x_84 = l_Lean_Parser_mergeOrElseErrors(x_82, x_66, x_11, x_83); +x_85 = l_Lean_Parser_mergeOrElseErrors(x_84, x_51, x_11, x_83); +x_86 = l_Lean_Parser_mergeOrElseErrors(x_85, x_38, x_11, x_83); +x_87 = l_Lean_Parser_mergeOrElseErrors(x_86, x_28, x_11, x_83); +x_12 = x_87; +goto block_25; +} +else +{ +uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_88 = 1; +x_89 = l_Lean_Parser_mergeOrElseErrors(x_74, x_66, x_11, x_88); +x_90 = l_Lean_Parser_mergeOrElseErrors(x_89, x_51, x_11, x_88); +x_91 = l_Lean_Parser_mergeOrElseErrors(x_90, x_38, x_11, x_88); +x_92 = l_Lean_Parser_mergeOrElseErrors(x_91, x_28, x_11, x_88); +x_12 = x_92; +goto block_25; +} +} +else +{ +lean_object* x_93; lean_object* x_94; uint8_t x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_77); +x_93 = l_Lean_Parser_Term_doExpr___elambda__1___closed__13; +lean_inc(x_11); +x_94 = l_Lean_Parser_ParserState_mkErrorsAt(x_74, x_93, x_11); +x_95 = 1; +x_96 = l_Lean_Parser_mergeOrElseErrors(x_94, x_66, x_11, x_95); +x_97 = l_Lean_Parser_mergeOrElseErrors(x_96, x_51, x_11, x_95); +x_98 = l_Lean_Parser_mergeOrElseErrors(x_97, x_38, x_11, x_95); +x_99 = l_Lean_Parser_mergeOrElseErrors(x_98, x_28, x_11, x_95); +x_12 = x_99; +goto block_25; +} +} +else +{ +lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_dec(x_75); +x_100 = l_Lean_Parser_Term_doExpr___elambda__1___closed__13; +lean_inc(x_11); +x_101 = l_Lean_Parser_ParserState_mkErrorsAt(x_74, x_100, x_11); +x_102 = 1; +x_103 = l_Lean_Parser_mergeOrElseErrors(x_101, x_66, x_11, x_102); +x_104 = l_Lean_Parser_mergeOrElseErrors(x_103, x_51, x_11, x_102); +x_105 = l_Lean_Parser_mergeOrElseErrors(x_104, x_38, x_11, x_102); +x_106 = l_Lean_Parser_mergeOrElseErrors(x_105, x_28, x_11, x_102); +x_12 = x_106; +goto block_25; +} +} +} +} +} +} +} +} +} +} +} } } } @@ -16849,271 +17415,588 @@ return x_7; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_67 = lean_ctor_get(x_2, 0); -lean_inc(x_67); -x_68 = lean_array_get_size(x_67); -lean_dec(x_67); -x_69 = lean_ctor_get(x_2, 1); -lean_inc(x_69); +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_163 = lean_ctor_get(x_2, 0); +lean_inc(x_163); +x_164 = lean_array_get_size(x_163); +lean_dec(x_163); +x_165 = lean_ctor_get(x_2, 1); +lean_inc(x_165); lean_inc(x_1); -x_70 = lean_apply_2(x_4, x_1, x_2); -x_71 = lean_ctor_get(x_70, 3); -lean_inc(x_71); -if (lean_obj_tag(x_71) == 0) +x_166 = lean_apply_2(x_4, x_1, x_2); +x_167 = lean_ctor_get(x_166, 3); +lean_inc(x_167); +if (lean_obj_tag(x_167) == 0) { -lean_dec(x_69); -lean_dec(x_68); +lean_dec(x_165); +lean_dec(x_164); lean_dec(x_1); -return x_70; +return x_166; } else { -lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -lean_dec(x_71); -x_73 = lean_ctor_get(x_70, 1); -lean_inc(x_73); -x_74 = lean_nat_dec_eq(x_73, x_69); -lean_dec(x_73); -if (x_74 == 0) +lean_object* x_168; lean_object* x_169; uint8_t x_170; +x_168 = lean_ctor_get(x_167, 0); +lean_inc(x_168); +lean_dec(x_167); +x_169 = lean_ctor_get(x_166, 1); +lean_inc(x_169); +x_170 = lean_nat_dec_eq(x_169, x_165); +lean_dec(x_169); +if (x_170 == 0) { -lean_dec(x_72); -lean_dec(x_69); -lean_dec(x_68); +lean_dec(x_168); +lean_dec(x_165); +lean_dec(x_164); lean_dec(x_1); -return x_70; +return x_166; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_inc(x_69); -x_75 = l_Lean_Parser_ParserState_restore(x_70, x_68, x_69); -lean_dec(x_68); -x_76 = lean_unsigned_to_nat(1024u); -x_77 = l_Lean_Parser_checkPrecFn(x_76, x_1, x_75); -x_78 = lean_ctor_get(x_77, 3); -lean_inc(x_78); -if (lean_obj_tag(x_78) == 0) +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +lean_inc(x_165); +x_171 = l_Lean_Parser_ParserState_restore(x_166, x_164, x_165); +lean_dec(x_164); +x_172 = lean_unsigned_to_nat(1024u); +x_173 = l_Lean_Parser_checkPrecFn(x_172, x_1, x_171); +x_174 = lean_ctor_get(x_173, 3); +lean_inc(x_174); +if (lean_obj_tag(x_174) == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_122; lean_object* x_123; lean_object* x_130; lean_object* x_131; -x_79 = lean_ctor_get(x_77, 0); -lean_inc(x_79); -x_80 = lean_array_get_size(x_79); -lean_dec(x_79); -x_122 = lean_ctor_get(x_77, 1); -lean_inc(x_122); +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_196; lean_object* x_320; lean_object* x_321; +x_175 = lean_ctor_get(x_173, 0); +lean_inc(x_175); +x_176 = lean_array_get_size(x_175); +lean_dec(x_175); +x_177 = lean_ctor_get(x_173, 1); +lean_inc(x_177); lean_inc(x_1); -x_130 = l_Lean_Parser_tokenFn(x_1, x_77); -x_131 = lean_ctor_get(x_130, 3); -lean_inc(x_131); -if (lean_obj_tag(x_131) == 0) +x_320 = l_Lean_Parser_tokenFn(x_1, x_173); +x_321 = lean_ctor_get(x_320, 3); +lean_inc(x_321); +if (lean_obj_tag(x_321) == 0) { -lean_object* x_132; lean_object* x_133; -x_132 = lean_ctor_get(x_130, 0); -lean_inc(x_132); -x_133 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_132); -lean_dec(x_132); -if (lean_obj_tag(x_133) == 2) +lean_object* x_322; lean_object* x_323; +x_322 = lean_ctor_get(x_320, 0); +lean_inc(x_322); +x_323 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_322); +lean_dec(x_322); +if (lean_obj_tag(x_323) == 2) { -lean_object* x_134; lean_object* x_135; uint8_t x_136; -x_134 = lean_ctor_get(x_133, 1); -lean_inc(x_134); -lean_dec(x_133); -x_135 = l_Lean_Parser_Term_let___elambda__1___closed__6; -x_136 = lean_string_dec_eq(x_134, x_135); -lean_dec(x_134); -if (x_136 == 0) +lean_object* x_324; lean_object* x_325; uint8_t x_326; +x_324 = lean_ctor_get(x_323, 1); +lean_inc(x_324); +lean_dec(x_323); +x_325 = l_Lean_Parser_Term_doExpr___elambda__1___closed__5; +x_326 = lean_string_dec_eq(x_324, x_325); +lean_dec(x_324); +if (x_326 == 0) { -lean_object* x_137; lean_object* x_138; -x_137 = l_Lean_Parser_Term_let___elambda__1___closed__9; -lean_inc(x_122); -x_138 = l_Lean_Parser_ParserState_mkErrorsAt(x_130, x_137, x_122); -x_123 = x_138; -goto block_129; +lean_object* x_327; lean_object* x_328; +x_327 = l_Lean_Parser_Term_doExpr___elambda__1___closed__25; +lean_inc(x_177); +x_328 = l_Lean_Parser_ParserState_mkErrorsAt(x_320, x_327, x_177); +x_196 = x_328; +goto block_319; } else { -x_123 = x_130; -goto block_129; +x_196 = x_320; +goto block_319; } } else { -lean_object* x_139; lean_object* x_140; -lean_dec(x_133); -x_139 = l_Lean_Parser_Term_let___elambda__1___closed__9; -lean_inc(x_122); -x_140 = l_Lean_Parser_ParserState_mkErrorsAt(x_130, x_139, x_122); -x_123 = x_140; -goto block_129; +lean_object* x_329; lean_object* x_330; +lean_dec(x_323); +x_329 = l_Lean_Parser_Term_doExpr___elambda__1___closed__25; +lean_inc(x_177); +x_330 = l_Lean_Parser_ParserState_mkErrorsAt(x_320, x_329, x_177); +x_196 = x_330; +goto block_319; } } else { -lean_object* x_141; lean_object* x_142; -lean_dec(x_131); -x_141 = l_Lean_Parser_Term_let___elambda__1___closed__9; -lean_inc(x_122); -x_142 = l_Lean_Parser_ParserState_mkErrorsAt(x_130, x_141, x_122); -x_123 = x_142; -goto block_129; +lean_object* x_331; lean_object* x_332; +lean_dec(x_321); +x_331 = l_Lean_Parser_Term_doExpr___elambda__1___closed__25; +lean_inc(x_177); +x_332 = l_Lean_Parser_ParserState_mkErrorsAt(x_320, x_331, x_177); +x_196 = x_332; +goto block_319; } -block_121: +block_195: { -lean_object* x_82; -x_82 = lean_ctor_get(x_81, 3); -lean_inc(x_82); -if (lean_obj_tag(x_82) == 0) +lean_object* x_179; +x_179 = lean_ctor_get(x_178, 3); +lean_inc(x_179); +if (lean_obj_tag(x_179) == 0) { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_104; lean_object* x_105; -x_83 = lean_ctor_get(x_81, 0); -lean_inc(x_83); -x_84 = lean_array_get_size(x_83); -lean_dec(x_83); -x_85 = lean_ctor_get(x_81, 1); -lean_inc(x_85); +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; lean_object* x_186; +lean_dec(x_1); +x_180 = l_Lean_Parser_ParserState_restore(x_178, x_176, x_177); +x_181 = l_Lean_Parser_notFollowedByFn___closed__1; +x_182 = l_Lean_Parser_ParserState_mkError(x_180, x_181); +x_183 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; +x_184 = l_Lean_Parser_ParserState_mkNode(x_182, x_183, x_176); +x_185 = 1; +x_186 = l_Lean_Parser_mergeOrElseErrors(x_184, x_168, x_165, x_185); +lean_dec(x_165); +return x_186; +} +else +{ +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; uint8_t x_193; lean_object* x_194; +lean_dec(x_179); +x_187 = l_Lean_Parser_ParserState_restore(x_178, x_176, x_177); +x_188 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_189 = lean_unsigned_to_nat(0u); +x_190 = l_Lean_Parser_categoryParser___elambda__1(x_188, x_189, x_1, x_187); +x_191 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; +x_192 = l_Lean_Parser_ParserState_mkNode(x_190, x_191, x_176); +x_193 = 1; +x_194 = l_Lean_Parser_mergeOrElseErrors(x_192, x_168, x_165, x_193); +lean_dec(x_165); +return x_194; +} +} +block_319: +{ +lean_object* x_197; +x_197 = lean_ctor_get(x_196, 3); +lean_inc(x_197); +if (lean_obj_tag(x_197) == 0) +{ +x_178 = x_196; +goto block_195; +} +else +{ +lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +lean_dec(x_197); +x_199 = lean_ctor_get(x_196, 1); +lean_inc(x_199); +x_200 = lean_nat_dec_eq(x_199, x_177); +lean_dec(x_199); +if (x_200 == 0) +{ +lean_dec(x_198); +x_178 = x_196; +goto block_195; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_306; lean_object* x_307; +lean_inc(x_177); +x_201 = l_Lean_Parser_ParserState_restore(x_196, x_176, x_177); +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_array_get_size(x_202); +lean_dec(x_202); lean_inc(x_1); -x_104 = l_Lean_Parser_tokenFn(x_1, x_81); -x_105 = lean_ctor_get(x_104, 3); -lean_inc(x_105); -if (lean_obj_tag(x_105) == 0) +x_306 = l_Lean_Parser_tokenFn(x_1, x_201); +x_307 = lean_ctor_get(x_306, 3); +lean_inc(x_307); +if (lean_obj_tag(x_307) == 0) { -lean_object* x_106; lean_object* x_107; -x_106 = lean_ctor_get(x_104, 0); -lean_inc(x_106); -x_107 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_106); -lean_dec(x_106); -if (lean_obj_tag(x_107) == 2) +lean_object* x_308; lean_object* x_309; +x_308 = lean_ctor_get(x_306, 0); +lean_inc(x_308); +x_309 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_308); +lean_dec(x_308); +if (lean_obj_tag(x_309) == 2) { -lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_108 = lean_ctor_get(x_107, 1); -lean_inc(x_108); -lean_dec(x_107); -x_109 = l_Lean_Parser_Term_have___elambda__1___closed__6; -x_110 = lean_string_dec_eq(x_108, x_109); -lean_dec(x_108); -if (x_110 == 0) +lean_object* x_310; lean_object* x_311; uint8_t x_312; +x_310 = lean_ctor_get(x_309, 1); +lean_inc(x_310); +lean_dec(x_309); +x_311 = l_Lean_Parser_Term_doExpr___elambda__1___closed__6; +x_312 = lean_string_dec_eq(x_310, x_311); +lean_dec(x_310); +if (x_312 == 0) { -lean_object* x_111; lean_object* x_112; -x_111 = l_Lean_Parser_Term_have___elambda__1___closed__9; -lean_inc(x_85); -x_112 = l_Lean_Parser_ParserState_mkErrorsAt(x_104, x_111, x_85); -x_86 = x_112; -goto block_103; +lean_object* x_313; lean_object* x_314; +x_313 = l_Lean_Parser_Term_doExpr___elambda__1___closed__22; +lean_inc(x_177); +x_314 = l_Lean_Parser_ParserState_mkErrorsAt(x_306, x_313, x_177); +x_204 = x_314; +goto block_305; } else { -x_86 = x_104; -goto block_103; +x_204 = x_306; +goto block_305; } } else { -lean_object* x_113; lean_object* x_114; -lean_dec(x_107); -x_113 = l_Lean_Parser_Term_have___elambda__1___closed__9; -lean_inc(x_85); -x_114 = l_Lean_Parser_ParserState_mkErrorsAt(x_104, x_113, x_85); -x_86 = x_114; -goto block_103; +lean_object* x_315; lean_object* x_316; +lean_dec(x_309); +x_315 = l_Lean_Parser_Term_doExpr___elambda__1___closed__22; +lean_inc(x_177); +x_316 = l_Lean_Parser_ParserState_mkErrorsAt(x_306, x_315, x_177); +x_204 = x_316; +goto block_305; } } else { -lean_object* x_115; lean_object* x_116; -lean_dec(x_105); -x_115 = l_Lean_Parser_Term_have___elambda__1___closed__9; -lean_inc(x_85); -x_116 = l_Lean_Parser_ParserState_mkErrorsAt(x_104, x_115, x_85); -x_86 = x_116; -goto block_103; +lean_object* x_317; lean_object* x_318; +lean_dec(x_307); +x_317 = l_Lean_Parser_Term_doExpr___elambda__1___closed__22; +lean_inc(x_177); +x_318 = l_Lean_Parser_ParserState_mkErrorsAt(x_306, x_317, x_177); +x_204 = x_318; +goto block_305; } -block_103: +block_305: { -lean_object* x_87; -x_87 = lean_ctor_get(x_86, 3); -lean_inc(x_87); -if (lean_obj_tag(x_87) == 0) +lean_object* x_205; +x_205 = lean_ctor_get(x_204, 3); +lean_inc(x_205); +if (lean_obj_tag(x_205) == 0) { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; lean_object* x_94; +uint8_t x_206; lean_object* x_207; +lean_dec(x_203); +x_206 = 1; +x_207 = l_Lean_Parser_mergeOrElseErrors(x_204, x_198, x_177, x_206); +x_178 = x_207; +goto block_195; +} +else +{ +lean_object* x_208; lean_object* x_209; uint8_t x_210; +x_208 = lean_ctor_get(x_205, 0); +lean_inc(x_208); +lean_dec(x_205); +x_209 = lean_ctor_get(x_204, 1); +lean_inc(x_209); +x_210 = lean_nat_dec_eq(x_209, x_177); +lean_dec(x_209); +if (x_210 == 0) +{ +uint8_t x_211; lean_object* x_212; +lean_dec(x_208); +lean_dec(x_203); +x_211 = 1; +x_212 = l_Lean_Parser_mergeOrElseErrors(x_204, x_198, x_177, x_211); +x_178 = x_212; +goto block_195; +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_292; lean_object* x_293; +lean_inc(x_177); +x_213 = l_Lean_Parser_ParserState_restore(x_204, x_203, x_177); +lean_dec(x_203); +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_array_get_size(x_214); +lean_dec(x_214); +lean_inc(x_1); +x_292 = l_Lean_Parser_tokenFn(x_1, x_213); +x_293 = lean_ctor_get(x_292, 3); +lean_inc(x_293); +if (lean_obj_tag(x_293) == 0) +{ +lean_object* x_294; lean_object* x_295; +x_294 = lean_ctor_get(x_292, 0); +lean_inc(x_294); +x_295 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_294); +lean_dec(x_294); +if (lean_obj_tag(x_295) == 2) +{ +lean_object* x_296; lean_object* x_297; uint8_t x_298; +x_296 = lean_ctor_get(x_295, 1); +lean_inc(x_296); +lean_dec(x_295); +x_297 = l_Lean_Parser_Term_doExpr___elambda__1___closed__7; +x_298 = lean_string_dec_eq(x_296, x_297); +lean_dec(x_296); +if (x_298 == 0) +{ +lean_object* x_299; lean_object* x_300; +x_299 = l_Lean_Parser_Term_doExpr___elambda__1___closed__19; +lean_inc(x_177); +x_300 = l_Lean_Parser_ParserState_mkErrorsAt(x_292, x_299, x_177); +x_216 = x_300; +goto block_291; +} +else +{ +x_216 = x_292; +goto block_291; +} +} +else +{ +lean_object* x_301; lean_object* x_302; +lean_dec(x_295); +x_301 = l_Lean_Parser_Term_doExpr___elambda__1___closed__19; +lean_inc(x_177); +x_302 = l_Lean_Parser_ParserState_mkErrorsAt(x_292, x_301, x_177); +x_216 = x_302; +goto block_291; +} +} +else +{ +lean_object* x_303; lean_object* x_304; +lean_dec(x_293); +x_303 = l_Lean_Parser_Term_doExpr___elambda__1___closed__19; +lean_inc(x_177); +x_304 = l_Lean_Parser_ParserState_mkErrorsAt(x_292, x_303, x_177); +x_216 = x_304; +goto block_291; +} +block_291: +{ +lean_object* x_217; +x_217 = lean_ctor_get(x_216, 3); +lean_inc(x_217); +if (lean_obj_tag(x_217) == 0) +{ +uint8_t x_218; lean_object* x_219; lean_object* x_220; +lean_dec(x_215); +x_218 = 1; +x_219 = l_Lean_Parser_mergeOrElseErrors(x_216, x_208, x_177, x_218); +x_220 = l_Lean_Parser_mergeOrElseErrors(x_219, x_198, x_177, x_218); +x_178 = x_220; +goto block_195; +} +else +{ +lean_object* x_221; lean_object* x_222; uint8_t x_223; +x_221 = lean_ctor_get(x_217, 0); +lean_inc(x_221); +lean_dec(x_217); +x_222 = lean_ctor_get(x_216, 1); +lean_inc(x_222); +x_223 = lean_nat_dec_eq(x_222, x_177); +lean_dec(x_222); +if (x_223 == 0) +{ +uint8_t x_224; lean_object* x_225; lean_object* x_226; +lean_dec(x_221); +lean_dec(x_215); +x_224 = 1; +x_225 = l_Lean_Parser_mergeOrElseErrors(x_216, x_208, x_177, x_224); +x_226 = l_Lean_Parser_mergeOrElseErrors(x_225, x_198, x_177, x_224); +x_178 = x_226; +goto block_195; +} +else +{ +lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_278; lean_object* x_279; +lean_inc(x_177); +x_227 = l_Lean_Parser_ParserState_restore(x_216, x_215, x_177); +lean_dec(x_215); +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +x_229 = lean_array_get_size(x_228); +lean_dec(x_228); +lean_inc(x_1); +x_278 = l_Lean_Parser_tokenFn(x_1, x_227); +x_279 = lean_ctor_get(x_278, 3); +lean_inc(x_279); +if (lean_obj_tag(x_279) == 0) +{ +lean_object* x_280; lean_object* x_281; +x_280 = lean_ctor_get(x_278, 0); +lean_inc(x_280); +x_281 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_280); +lean_dec(x_280); +if (lean_obj_tag(x_281) == 2) +{ +lean_object* x_282; lean_object* x_283; uint8_t x_284; +x_282 = lean_ctor_get(x_281, 1); +lean_inc(x_282); +lean_dec(x_281); +x_283 = l_Lean_Parser_Term_doExpr___elambda__1___closed__8; +x_284 = lean_string_dec_eq(x_282, x_283); +lean_dec(x_282); +if (x_284 == 0) +{ +lean_object* x_285; lean_object* x_286; +x_285 = l_Lean_Parser_Term_doExpr___elambda__1___closed__16; +lean_inc(x_177); +x_286 = l_Lean_Parser_ParserState_mkErrorsAt(x_278, x_285, x_177); +x_230 = x_286; +goto block_277; +} +else +{ +x_230 = x_278; +goto block_277; +} +} +else +{ +lean_object* x_287; lean_object* x_288; +lean_dec(x_281); +x_287 = l_Lean_Parser_Term_doExpr___elambda__1___closed__16; +lean_inc(x_177); +x_288 = l_Lean_Parser_ParserState_mkErrorsAt(x_278, x_287, x_177); +x_230 = x_288; +goto block_277; +} +} +else +{ +lean_object* x_289; lean_object* x_290; +lean_dec(x_279); +x_289 = l_Lean_Parser_Term_doExpr___elambda__1___closed__16; +lean_inc(x_177); +x_290 = l_Lean_Parser_ParserState_mkErrorsAt(x_278, x_289, x_177); +x_230 = x_290; +goto block_277; +} +block_277: +{ +lean_object* x_231; +x_231 = lean_ctor_get(x_230, 3); +lean_inc(x_231); +if (lean_obj_tag(x_231) == 0) +{ +uint8_t x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +lean_dec(x_229); +x_232 = 1; +x_233 = l_Lean_Parser_mergeOrElseErrors(x_230, x_221, x_177, x_232); +x_234 = l_Lean_Parser_mergeOrElseErrors(x_233, x_208, x_177, x_232); +x_235 = l_Lean_Parser_mergeOrElseErrors(x_234, x_198, x_177, x_232); +x_178 = x_235; +goto block_195; +} +else +{ +lean_object* x_236; lean_object* x_237; uint8_t x_238; +x_236 = lean_ctor_get(x_231, 0); +lean_inc(x_236); +lean_dec(x_231); +x_237 = lean_ctor_get(x_230, 1); +lean_inc(x_237); +x_238 = lean_nat_dec_eq(x_237, x_177); +lean_dec(x_237); +if (x_238 == 0) +{ +uint8_t x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_236); +lean_dec(x_229); +x_239 = 1; +x_240 = l_Lean_Parser_mergeOrElseErrors(x_230, x_221, x_177, x_239); +x_241 = l_Lean_Parser_mergeOrElseErrors(x_240, x_208, x_177, x_239); +x_242 = l_Lean_Parser_mergeOrElseErrors(x_241, x_198, x_177, x_239); +x_178 = x_242; +goto block_195; +} +else +{ +lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_inc(x_177); +x_243 = l_Lean_Parser_ParserState_restore(x_230, x_229, x_177); +lean_dec(x_229); +lean_inc(x_1); +x_244 = l_Lean_Parser_tokenFn(x_1, x_243); +x_245 = lean_ctor_get(x_244, 3); +lean_inc(x_245); +if (lean_obj_tag(x_245) == 0) +{ +lean_object* x_246; lean_object* x_247; +x_246 = lean_ctor_get(x_244, 0); +lean_inc(x_246); +x_247 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_246); +lean_dec(x_246); +if (lean_obj_tag(x_247) == 2) +{ +lean_object* x_248; lean_object* x_249; uint8_t x_250; +x_248 = lean_ctor_get(x_247, 1); +lean_inc(x_248); +lean_dec(x_247); +x_249 = l_Lean_Parser_Term_doExpr___elambda__1___closed__10; +x_250 = lean_string_dec_eq(x_248, x_249); +lean_dec(x_248); +if (x_250 == 0) +{ +lean_object* x_251; lean_object* x_252; uint8_t x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; +x_251 = l_Lean_Parser_Term_doExpr___elambda__1___closed__13; +lean_inc(x_177); +x_252 = l_Lean_Parser_ParserState_mkErrorsAt(x_244, x_251, x_177); +x_253 = 1; +x_254 = l_Lean_Parser_mergeOrElseErrors(x_252, x_236, x_177, x_253); +x_255 = l_Lean_Parser_mergeOrElseErrors(x_254, x_221, x_177, x_253); +x_256 = l_Lean_Parser_mergeOrElseErrors(x_255, x_208, x_177, x_253); +x_257 = l_Lean_Parser_mergeOrElseErrors(x_256, x_198, x_177, x_253); +x_178 = x_257; +goto block_195; +} +else +{ +uint8_t x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_258 = 1; +x_259 = l_Lean_Parser_mergeOrElseErrors(x_244, x_236, x_177, x_258); +x_260 = l_Lean_Parser_mergeOrElseErrors(x_259, x_221, x_177, x_258); +x_261 = l_Lean_Parser_mergeOrElseErrors(x_260, x_208, x_177, x_258); +x_262 = l_Lean_Parser_mergeOrElseErrors(x_261, x_198, x_177, x_258); +x_178 = x_262; +goto block_195; +} +} +else +{ +lean_object* x_263; lean_object* x_264; uint8_t x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; +lean_dec(x_247); +x_263 = l_Lean_Parser_Term_doExpr___elambda__1___closed__13; +lean_inc(x_177); +x_264 = l_Lean_Parser_ParserState_mkErrorsAt(x_244, x_263, x_177); +x_265 = 1; +x_266 = l_Lean_Parser_mergeOrElseErrors(x_264, x_236, x_177, x_265); +x_267 = l_Lean_Parser_mergeOrElseErrors(x_266, x_221, x_177, x_265); +x_268 = l_Lean_Parser_mergeOrElseErrors(x_267, x_208, x_177, x_265); +x_269 = l_Lean_Parser_mergeOrElseErrors(x_268, x_198, x_177, x_265); +x_178 = x_269; +goto block_195; +} +} +else +{ +lean_object* x_270; lean_object* x_271; uint8_t x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; +lean_dec(x_245); +x_270 = l_Lean_Parser_Term_doExpr___elambda__1___closed__13; +lean_inc(x_177); +x_271 = l_Lean_Parser_ParserState_mkErrorsAt(x_244, x_270, x_177); +x_272 = 1; +x_273 = l_Lean_Parser_mergeOrElseErrors(x_271, x_236, x_177, x_272); +x_274 = l_Lean_Parser_mergeOrElseErrors(x_273, x_221, x_177, x_272); +x_275 = l_Lean_Parser_mergeOrElseErrors(x_274, x_208, x_177, x_272); +x_276 = l_Lean_Parser_mergeOrElseErrors(x_275, x_198, x_177, x_272); +x_178 = x_276; +goto block_195; +} +} +} +} +} +} +} +} +} +} +} +} +} +} +else +{ +uint8_t x_333; lean_object* x_334; +lean_dec(x_174); lean_dec(x_1); -x_88 = l_Lean_Parser_ParserState_restore(x_86, x_84, x_85); -lean_dec(x_84); -x_89 = l_Lean_Parser_notFollowedByFn___closed__1; -x_90 = l_Lean_Parser_ParserState_mkError(x_88, x_89); -x_91 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; -x_92 = l_Lean_Parser_ParserState_mkNode(x_90, x_91, x_80); -x_93 = 1; -x_94 = l_Lean_Parser_mergeOrElseErrors(x_92, x_72, x_69, x_93); -lean_dec(x_69); -return x_94; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; -lean_dec(x_87); -x_95 = l_Lean_Parser_ParserState_restore(x_86, x_84, x_85); -lean_dec(x_84); -x_96 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_97 = lean_unsigned_to_nat(0u); -x_98 = l_Lean_Parser_categoryParser___elambda__1(x_96, x_97, x_1, x_95); -x_99 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; -x_100 = l_Lean_Parser_ParserState_mkNode(x_98, x_99, x_80); -x_101 = 1; -x_102 = l_Lean_Parser_mergeOrElseErrors(x_100, x_72, x_69, x_101); -lean_dec(x_69); -return x_102; -} -} -} -else -{ -lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; -lean_dec(x_82); -lean_dec(x_1); -x_117 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; -x_118 = l_Lean_Parser_ParserState_mkNode(x_81, x_117, x_80); -x_119 = 1; -x_120 = l_Lean_Parser_mergeOrElseErrors(x_118, x_72, x_69, x_119); -lean_dec(x_69); -return x_120; -} -} -block_129: -{ -lean_object* x_124; -x_124 = lean_ctor_get(x_123, 3); -lean_inc(x_124); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = l_Lean_Parser_ParserState_restore(x_123, x_80, x_122); -x_126 = l_Lean_Parser_notFollowedByFn___closed__1; -x_127 = l_Lean_Parser_ParserState_mkError(x_125, x_126); -x_81 = x_127; -goto block_121; -} -else -{ -lean_object* x_128; -lean_dec(x_124); -x_128 = l_Lean_Parser_ParserState_restore(x_123, x_80, x_122); -x_81 = x_128; -goto block_121; -} -} -} -else -{ -uint8_t x_143; lean_object* x_144; -lean_dec(x_78); -lean_dec(x_1); -x_143 = 1; -x_144 = l_Lean_Parser_mergeOrElseErrors(x_77, x_72, x_69, x_143); -lean_dec(x_69); -return x_144; +x_333 = 1; +x_334 = l_Lean_Parser_mergeOrElseErrors(x_173, x_168, x_165, x_333); +lean_dec(x_165); +return x_334; } } } @@ -17136,9 +18019,9 @@ lean_object* _init_l_Lean_Parser_Term_doExpr___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Parser_inhabited___closed__1; +x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_doExpr___closed__1; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } @@ -17146,35 +18029,25 @@ lean_object* _init_l_Lean_Parser_Term_doExpr___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; +x_1 = l_Lean_Parser_epsilonInfo; x_2 = l_Lean_Parser_Term_doExpr___closed__2; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } lean_object* _init_l_Lean_Parser_Term_doExpr___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Term_doExpr___closed__3; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_doExpr___closed__5() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_doExpr___closed__4; +x_3 = l_Lean_Parser_Term_doExpr___closed__3; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_doExpr___closed__6() { +lean_object* _init_l_Lean_Parser_Term_doExpr___closed__5() { _start: { lean_object* x_1; @@ -17182,12 +18055,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doExpr___elambda__1), 2, 0); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_doExpr___closed__7() { +lean_object* _init_l_Lean_Parser_Term_doExpr___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doExpr___closed__5; -x_2 = l_Lean_Parser_Term_doExpr___closed__6; +x_1 = l_Lean_Parser_Term_doExpr___closed__4; +x_2 = l_Lean_Parser_Term_doExpr___closed__5; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -17198,7 +18071,7 @@ lean_object* _init_l_Lean_Parser_Term_doExpr() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_doExpr___closed__7; +x_1 = l_Lean_Parser_Term_doExpr___closed__6; return x_1; } } @@ -17234,8 +18107,8 @@ lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_let_formatter___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter___boxed), 5, 1); +x_1 = l_Lean_Parser_Term_if___elambda__1___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -17244,8 +18117,8 @@ lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_have_formatter___closed__2; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter___boxed), 5, 1); +x_1 = l_Lean_Parser_Term_match___elambda__1___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -17253,8 +18126,96 @@ return x_2; lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_let___elambda__1___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_have___elambda__1___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__9; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doExpr_formatter___closed__5; +x_2 = l_Lean_Parser_Term_doExpr_formatter___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doExpr_formatter___closed__4; +x_2 = l_Lean_Parser_Term_doExpr_formatter___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__9() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_doExpr_formatter___closed__3; +x_2 = l_Lean_Parser_Term_doExpr_formatter___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doExpr_formatter___closed__2; +x_2 = l_Lean_Parser_Term_doExpr_formatter___closed__9; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_orelse_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doExpr_formatter___closed__10; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_notFollowedBy_formatter___boxed), 5, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doExpr_formatter___closed__11; x_2 = l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -17262,25 +18223,13 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doExpr_formatter___closed__2; -x_2 = l_Lean_Parser_Term_doExpr_formatter___closed__4; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__6() { +lean_object* _init_l_Lean_Parser_Term_doExpr_formatter___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doExpr_formatter___closed__5; +x_3 = l_Lean_Parser_Term_doExpr_formatter___closed__12; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -17293,7 +18242,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doExpr_formatter___closed__1; -x_7 = l_Lean_Parser_Term_doExpr_formatter___closed__6; +x_7 = l_Lean_Parser_Term_doExpr_formatter___closed__13; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -17333,20 +18282,22 @@ return x_4; lean_object* _init_l_Lean_Parser_Term_doExpr_parenthesizer___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___boxed), 5, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +x_2 = l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Term_doExpr_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__2; -x_2 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__2; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -17356,9 +18307,9 @@ lean_object* _init_l_Lean_Parser_Term_doExpr_parenthesizer___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; x_2 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -17367,10 +18318,32 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_doExpr_parenthesizer___closed__5() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_notFollowedBy_parenthesizer___boxed), 5, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__5; +x_2 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_doExpr_parenthesizer___closed__7() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__4; +x_3 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__6; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -17383,7 +18356,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__5; +x_7 = l_Lean_Parser_Term_doExpr_parenthesizer___closed__7; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -17410,43 +18383,35 @@ return x_5; lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("do"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_mkAppStx___closed__6; +x_2 = l_Lean_Parser_Term_doExpr___elambda__1___closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_mkAppStx___closed__6; -x_2 = l_Lean_Parser_Term_do___elambda__1___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__4() { +lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_do___elambda__1___closed__3; +x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__9; +x_2 = l_Lean_Parser_Term_do___elambda__1___closed__2; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__5() { +lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__4() { _start: { lean_object* x_1; @@ -17454,21 +18419,31 @@ x_1 = lean_mk_string("do "); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__6() { +lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__5; +x_1 = l_Lean_Parser_Term_do___elambda__1___closed__4; x_2 = l_String_trim(x_1); return x_2; } } +lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Char_HasRepr___closed__1; +x_2 = l_Lean_Parser_Term_do___elambda__1___closed__5; +x_3 = lean_string_append(x_1, x_2); +return x_3; +} +} lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Char_HasRepr___closed__1; -x_2 = l_Lean_Parser_Term_do___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_do___elambda__1___closed__6; +x_2 = l_Char_HasRepr___closed__1; x_3 = lean_string_append(x_1, x_2); return x_3; } @@ -17477,18 +18452,8 @@ lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__7; -x_2 = l_Char_HasRepr___closed__1; -x_3 = lean_string_append(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_do___elambda__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Term_do___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_do___elambda__1___closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -17499,7 +18464,7 @@ lean_object* l_Lean_Parser_Term_do___elambda__1(lean_object* x_1, lean_object* x _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_3 = l_Lean_Parser_Term_do___elambda__1___closed__4; +x_3 = l_Lean_Parser_Term_do___elambda__1___closed__3; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_inc(x_2); @@ -17539,13 +18504,13 @@ lean_object* x_24; lean_object* x_25; uint8_t x_26; x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = l_Lean_Parser_Term_do___elambda__1___closed__6; +x_25 = l_Lean_Parser_Term_do___elambda__1___closed__5; x_26 = lean_string_dec_eq(x_24, x_25); lean_dec(x_24); if (x_26 == 0) { lean_object* x_27; lean_object* x_28; -x_27 = l_Lean_Parser_Term_do___elambda__1___closed__9; +x_27 = l_Lean_Parser_Term_do___elambda__1___closed__8; x_28 = l_Lean_Parser_ParserState_mkErrorsAt(x_20, x_27, x_19); x_11 = x_28; goto block_18; @@ -17561,7 +18526,7 @@ else { lean_object* x_29; lean_object* x_30; lean_dec(x_23); -x_29 = l_Lean_Parser_Term_do___elambda__1___closed__9; +x_29 = l_Lean_Parser_Term_do___elambda__1___closed__8; x_30 = l_Lean_Parser_ParserState_mkErrorsAt(x_20, x_29, x_19); x_11 = x_30; goto block_18; @@ -17571,7 +18536,7 @@ else { lean_object* x_31; lean_object* x_32; lean_dec(x_21); -x_31 = l_Lean_Parser_Term_do___elambda__1___closed__9; +x_31 = l_Lean_Parser_Term_do___elambda__1___closed__8; x_32 = l_Lean_Parser_ParserState_mkErrorsAt(x_20, x_31, x_19); x_11 = x_32; goto block_18; @@ -17585,7 +18550,7 @@ if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = l_Lean_Parser_Term_doSeq___elambda__1(x_1, x_11); -x_14 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_14 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_15 = l_Lean_Parser_ParserState_mkNode(x_13, x_14, x_10); return x_15; } @@ -17594,7 +18559,7 @@ else lean_object* x_16; lean_object* x_17; lean_dec(x_12); lean_dec(x_1); -x_16 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_16 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_17 = l_Lean_Parser_ParserState_mkNode(x_11, x_16, x_10); return x_17; } @@ -17681,13 +18646,13 @@ lean_object* x_64; lean_object* x_65; uint8_t x_66; x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); -x_65 = l_Lean_Parser_Term_do___elambda__1___closed__6; +x_65 = l_Lean_Parser_Term_do___elambda__1___closed__5; x_66 = lean_string_dec_eq(x_64, x_65); lean_dec(x_64); if (x_66 == 0) { lean_object* x_67; lean_object* x_68; -x_67 = l_Lean_Parser_Term_do___elambda__1___closed__9; +x_67 = l_Lean_Parser_Term_do___elambda__1___closed__8; x_68 = l_Lean_Parser_ParserState_mkErrorsAt(x_60, x_67, x_59); x_47 = x_68; goto block_58; @@ -17703,7 +18668,7 @@ else { lean_object* x_69; lean_object* x_70; lean_dec(x_63); -x_69 = l_Lean_Parser_Term_do___elambda__1___closed__9; +x_69 = l_Lean_Parser_Term_do___elambda__1___closed__8; x_70 = l_Lean_Parser_ParserState_mkErrorsAt(x_60, x_69, x_59); x_47 = x_70; goto block_58; @@ -17713,7 +18678,7 @@ else { lean_object* x_71; lean_object* x_72; lean_dec(x_61); -x_71 = l_Lean_Parser_Term_do___elambda__1___closed__9; +x_71 = l_Lean_Parser_Term_do___elambda__1___closed__8; x_72 = l_Lean_Parser_ParserState_mkErrorsAt(x_60, x_71, x_59); x_47 = x_72; goto block_58; @@ -17727,7 +18692,7 @@ if (lean_obj_tag(x_48) == 0) { lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; x_49 = l_Lean_Parser_Term_doSeq___elambda__1(x_1, x_47); -x_50 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_50 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_51 = l_Lean_Parser_ParserState_mkNode(x_49, x_50, x_46); x_52 = 1; x_53 = l_Lean_Parser_mergeOrElseErrors(x_51, x_38, x_35, x_52); @@ -17739,7 +18704,7 @@ else lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_dec(x_48); lean_dec(x_1); -x_54 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_54 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_55 = l_Lean_Parser_ParserState_mkNode(x_47, x_54, x_46); x_56 = 1; x_57 = l_Lean_Parser_mergeOrElseErrors(x_55, x_38, x_35, x_56); @@ -17767,7 +18732,7 @@ lean_object* _init_l_Lean_Parser_Term_do___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_do___elambda__1___closed__5; x_2 = l_Lean_Parser_symbolInfo(x_1); return x_2; } @@ -17788,7 +18753,7 @@ lean_object* _init_l_Lean_Parser_Term_do___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_2 = l_Lean_Parser_Term_do___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -17808,7 +18773,7 @@ lean_object* _init_l_Lean_Parser_Term_do___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__4; +x_1 = l_Lean_Parser_Term_do___elambda__1___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_do___closed__4; @@ -17849,7 +18814,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_3 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_3 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_4 = 1; x_5 = l_Lean_Parser_Term_do; x_6 = lean_unsigned_to_nat(0u); @@ -17861,8 +18826,8 @@ lean_object* _init_l_Lean_Parser_Term_do_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__1; -x_2 = l_Lean_Parser_Term_do___elambda__1___closed__3; +x_1 = l_Lean_Parser_Term_doExpr___elambda__1___closed__9; +x_2 = l_Lean_Parser_Term_do___elambda__1___closed__2; x_3 = 1; x_4 = lean_box(x_3); x_5 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_formatter___boxed), 8, 3); @@ -17876,7 +18841,7 @@ lean_object* _init_l_Lean_Parser_Term_do_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__5; +x_1 = l_Lean_Parser_Term_do___elambda__1___closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter___boxed), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -17898,7 +18863,7 @@ lean_object* _init_l_Lean_Parser_Term_do_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_2 = l_Lean_Parser_maxPrec; x_3 = l_Lean_Parser_Term_do_formatter___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -17931,7 +18896,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_3 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_4 = l___regBuiltin_Lean_Parser_Term_do_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -17941,7 +18906,7 @@ lean_object* _init_l_Lean_Parser_Term_do_parenthesizer___closed__1() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__3; +x_1 = l_Lean_Parser_Term_do___elambda__1___closed__2; x_2 = 1; x_3 = lean_box(x_2); x_4 = lean_alloc_closure((void*)(l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed), 7, 2); @@ -17954,7 +18919,7 @@ lean_object* _init_l_Lean_Parser_Term_do_parenthesizer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_2 = l_Lean_Parser_maxPrec; x_3 = l_Lean_Parser_Term_doIf_parenthesizer___lambda__1___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -17987,7 +18952,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_Parser_Term_do___elambda__1___closed__2; +x_3 = l_Lean_Parser_Term_do___elambda__1___closed__1; x_4 = l___regBuiltin_Lean_Parser_Term_do_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -19011,6 +19976,48 @@ l_Lean_Parser_Term_doExpr___elambda__1___closed__3 = _init_l_Lean_Parser_Term_do lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__3); l_Lean_Parser_Term_doExpr___elambda__1___closed__4 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__4(); lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__4); +l_Lean_Parser_Term_doExpr___elambda__1___closed__5 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__5); +l_Lean_Parser_Term_doExpr___elambda__1___closed__6 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__6); +l_Lean_Parser_Term_doExpr___elambda__1___closed__7 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__7); +l_Lean_Parser_Term_doExpr___elambda__1___closed__8 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__8); +l_Lean_Parser_Term_doExpr___elambda__1___closed__9 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__9); +l_Lean_Parser_Term_doExpr___elambda__1___closed__10 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__10); +l_Lean_Parser_Term_doExpr___elambda__1___closed__11 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__11(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__11); +l_Lean_Parser_Term_doExpr___elambda__1___closed__12 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__12(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__12); +l_Lean_Parser_Term_doExpr___elambda__1___closed__13 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__13(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__13); +l_Lean_Parser_Term_doExpr___elambda__1___closed__14 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__14(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__14); +l_Lean_Parser_Term_doExpr___elambda__1___closed__15 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__15(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__15); +l_Lean_Parser_Term_doExpr___elambda__1___closed__16 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__16(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__16); +l_Lean_Parser_Term_doExpr___elambda__1___closed__17 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__17(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__17); +l_Lean_Parser_Term_doExpr___elambda__1___closed__18 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__18(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__18); +l_Lean_Parser_Term_doExpr___elambda__1___closed__19 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__19(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__19); +l_Lean_Parser_Term_doExpr___elambda__1___closed__20 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__20(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__20); +l_Lean_Parser_Term_doExpr___elambda__1___closed__21 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__21(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__21); +l_Lean_Parser_Term_doExpr___elambda__1___closed__22 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__22(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__22); +l_Lean_Parser_Term_doExpr___elambda__1___closed__23 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__23(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__23); +l_Lean_Parser_Term_doExpr___elambda__1___closed__24 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__24(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__24); +l_Lean_Parser_Term_doExpr___elambda__1___closed__25 = _init_l_Lean_Parser_Term_doExpr___elambda__1___closed__25(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr___elambda__1___closed__25); l_Lean_Parser_Term_doExpr___closed__1 = _init_l_Lean_Parser_Term_doExpr___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doExpr___closed__1); l_Lean_Parser_Term_doExpr___closed__2 = _init_l_Lean_Parser_Term_doExpr___closed__2(); @@ -19023,8 +20030,6 @@ l_Lean_Parser_Term_doExpr___closed__5 = _init_l_Lean_Parser_Term_doExpr___closed lean_mark_persistent(l_Lean_Parser_Term_doExpr___closed__5); l_Lean_Parser_Term_doExpr___closed__6 = _init_l_Lean_Parser_Term_doExpr___closed__6(); lean_mark_persistent(l_Lean_Parser_Term_doExpr___closed__6); -l_Lean_Parser_Term_doExpr___closed__7 = _init_l_Lean_Parser_Term_doExpr___closed__7(); -lean_mark_persistent(l_Lean_Parser_Term_doExpr___closed__7); l_Lean_Parser_Term_doExpr = _init_l_Lean_Parser_Term_doExpr(); lean_mark_persistent(l_Lean_Parser_Term_doExpr); res = l___regBuiltinParser_Lean_Parser_Term_doExpr(lean_io_mk_world()); @@ -19042,6 +20047,20 @@ l_Lean_Parser_Term_doExpr_formatter___closed__5 = _init_l_Lean_Parser_Term_doExp lean_mark_persistent(l_Lean_Parser_Term_doExpr_formatter___closed__5); l_Lean_Parser_Term_doExpr_formatter___closed__6 = _init_l_Lean_Parser_Term_doExpr_formatter___closed__6(); lean_mark_persistent(l_Lean_Parser_Term_doExpr_formatter___closed__6); +l_Lean_Parser_Term_doExpr_formatter___closed__7 = _init_l_Lean_Parser_Term_doExpr_formatter___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr_formatter___closed__7); +l_Lean_Parser_Term_doExpr_formatter___closed__8 = _init_l_Lean_Parser_Term_doExpr_formatter___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr_formatter___closed__8); +l_Lean_Parser_Term_doExpr_formatter___closed__9 = _init_l_Lean_Parser_Term_doExpr_formatter___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr_formatter___closed__9); +l_Lean_Parser_Term_doExpr_formatter___closed__10 = _init_l_Lean_Parser_Term_doExpr_formatter___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr_formatter___closed__10); +l_Lean_Parser_Term_doExpr_formatter___closed__11 = _init_l_Lean_Parser_Term_doExpr_formatter___closed__11(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr_formatter___closed__11); +l_Lean_Parser_Term_doExpr_formatter___closed__12 = _init_l_Lean_Parser_Term_doExpr_formatter___closed__12(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr_formatter___closed__12); +l_Lean_Parser_Term_doExpr_formatter___closed__13 = _init_l_Lean_Parser_Term_doExpr_formatter___closed__13(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr_formatter___closed__13); l___regBuiltin_Lean_Parser_Term_doExpr_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doExpr_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doExpr_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_doExpr_formatter(lean_io_mk_world()); @@ -19057,6 +20076,10 @@ l_Lean_Parser_Term_doExpr_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_d lean_mark_persistent(l_Lean_Parser_Term_doExpr_parenthesizer___closed__4); l_Lean_Parser_Term_doExpr_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_doExpr_parenthesizer___closed__5(); lean_mark_persistent(l_Lean_Parser_Term_doExpr_parenthesizer___closed__5); +l_Lean_Parser_Term_doExpr_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_doExpr_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr_parenthesizer___closed__6); +l_Lean_Parser_Term_doExpr_parenthesizer___closed__7 = _init_l_Lean_Parser_Term_doExpr_parenthesizer___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_doExpr_parenthesizer___closed__7); l___regBuiltin_Lean_Parser_Term_doExpr_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doExpr_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doExpr_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_doExpr_parenthesizer(lean_io_mk_world()); @@ -19078,8 +20101,6 @@ l_Lean_Parser_Term_do___elambda__1___closed__7 = _init_l_Lean_Parser_Term_do___e lean_mark_persistent(l_Lean_Parser_Term_do___elambda__1___closed__7); l_Lean_Parser_Term_do___elambda__1___closed__8 = _init_l_Lean_Parser_Term_do___elambda__1___closed__8(); lean_mark_persistent(l_Lean_Parser_Term_do___elambda__1___closed__8); -l_Lean_Parser_Term_do___elambda__1___closed__9 = _init_l_Lean_Parser_Term_do___elambda__1___closed__9(); -lean_mark_persistent(l_Lean_Parser_Term_do___elambda__1___closed__9); l_Lean_Parser_Term_do___closed__1 = _init_l_Lean_Parser_Term_do___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_do___closed__1); l_Lean_Parser_Term_do___closed__2 = _init_l_Lean_Parser_Term_do___closed__2();