From cb04d66c2fb5fa04710ebaaa4b605b177745760e Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Mon, 28 Sep 2020 16:41:00 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Lean/Parser/Term.lean | 16 +- stage0/stdlib/Lean/Elab/App.c | 19517 ++++++++++++++------------- stage0/stdlib/Lean/Parser/Do.c | 169 +- stage0/stdlib/Lean/Parser/Tactic.c | 324 +- stage0/stdlib/Lean/Parser/Term.c | 9545 +++++++++---- 5 files changed, 16791 insertions(+), 12780 deletions(-) diff --git a/stage0/src/Lean/Parser/Term.lean b/stage0/src/Lean/Parser/Term.lean index b0fd848fc1..0dd1082c7d 100644 --- a/stage0/src/Lean/Parser/Term.lean +++ b/stage0/src/Lean/Parser/Term.lean @@ -79,9 +79,9 @@ def optIdent : Parser := optional (try (ident >> " : ")) def fromTerm := parser! " from " >> termParser def haveAssign := parser! " := " >> termParser def haveDecl := optIdent >> termParser >> (haveAssign <|> fromTerm <|> byTactic) -@[builtinTermParser] def «have» := parser!:leadPrec "have " >> haveDecl >> "; " >> termParser +@[builtinTermParser] def «have» := parser!:leadPrec withPosition ("have " >> haveDecl) >> optional "; " >> termParser def sufficesDecl := optIdent >> termParser >> fromTerm -@[builtinTermParser] def «suffices» := parser!:leadPrec "suffices " >> sufficesDecl >> "; " >> termParser +@[builtinTermParser] def «suffices» := parser!:leadPrec withPosition ("suffices " >> sufficesDecl) >> optional "; " >> termParser @[builtinTermParser] def «show» := parser!:leadPrec "show " >> termParser >> (fromTerm <|> byTactic) def structInstArrayRef := parser! "[" >> termParser >>"]" def structInstLVal := (ident <|> fieldIdx <|> structInstArrayRef) >> many (group ("." >> (ident <|> fieldIdx)) <|> structInstArrayRef) @@ -156,14 +156,15 @@ def letPatDecl := node `Lean.Parser.Term.letPatDecl $ try (termParser >> pushN def letEqnsDecl := node `Lean.Parser.Term.letEqnsDecl $ letIdLhs >> matchAlts false -- Remark: we use `nodeWithAntiquot` here to make sure anonymous antiquotations (e.g., `$x`) are not `letDecl` def letDecl := nodeWithAntiquot "letDecl" `Lean.Parser.Term.letDecl (notFollowedBy (nonReservedSymbol "rec") >> (letIdDecl <|> letPatDecl <|> letEqnsDecl)) -@[builtinTermParser] def «let» := parser!:leadPrec "let " >> letDecl >> "; " >> termParser -@[builtinTermParser] def «let!» := parser!:leadPrec "let! " >> letDecl >> "; " >> termParser +@[builtinTermParser] def «let» := parser!:leadPrec withPosition ("let " >> letDecl) >> optional "; " >> termParser +@[builtinTermParser] def «let!» := parser!:leadPrec withPosition ("let! " >> letDecl) >> optional "; " >> termParser def attrArg : Parser := ident <|> strLit <|> numLit -- use `rawIdent` because of attribute names such as `instance` def attrInstance := parser! rawIdent >> many attrArg def attributes := parser! "@[" >> sepBy1 attrInstance ", " >> "]" @[builtinTermParser] def «letrec» := - parser!:leadPrec group ("let " >> nonReservedSymbol "rec ") >> sepBy1 (group (optional «attributes» >> letDecl)) ", " >> "; " >> termParser + parser!:leadPrec withPosition (group ("let " >> nonReservedSymbol "rec ") >> sepBy1 (group (optional «attributes» >> letDecl)) ", ") + >> optional "; " >> termParser @[builtinTermParser] def nativeRefl := parser! "nativeRefl! " >> termParser maxPrec @[builtinTermParser] def nativeDecide := parser! "nativeDecide! " >> termParser maxPrec @@ -197,6 +198,7 @@ stx.isAntiquot || stx.isIdent @[builtinTermParser] def dollar := tparser!:0 try (dollarSymbol >> checkWsBefore "expected space") >> termParser 0 @[builtinTermParser] def dollarProj := tparser!:0 " $. " >> (fieldIdx <|> ident) +-- TODO: fix @[builtinTermParser] def «where» := tparser!:0 " where " >> sepBy1 letDecl (group ("; " >> symbol " where ")) @[builtinTermParser] def fcomp := tparser! infixR " ∘ " 90 @@ -249,8 +251,8 @@ stx.isAntiquot || stx.isIdent @[builtinTermParser] def panic := parser!:leadPrec "panic! " >> termParser @[builtinTermParser] def unreachable := parser!:leadPrec "unreachable!" -@[builtinTermParser] def dbgTrace := parser!:leadPrec "dbgTrace! " >> termParser >> "; " >> termParser -@[builtinTermParser] def assert := parser!:leadPrec "assert! " >> termParser >> "; " >> termParser +@[builtinTermParser] def dbgTrace := parser!:leadPrec withPosition ("dbgTrace! " >> termParser) >> optional "; " >> termParser +@[builtinTermParser] def assert := parser!:leadPrec withPosition ("assert! " >> termParser) >> optional "; " >> termParser @[builtinTermParser] def «return» := parser!:leadPrec "return " >> termParser end Term diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 1711ba123a..daaa4b05d8 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -208,6 +208,7 @@ lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); lean_object* l_Array_shrink___main___rarg(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Elab_Term_expandApp___spec__1___closed__7; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_App_21__elabAppFnId___spec__1___rarg(lean_object*); +extern lean_object* l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_copyInfo(lean_object*, lean_object*); lean_object* l_Lean_Meta_instantiateMVars___at_Lean_Elab_Term_MVarErrorContext_logError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4572,7 +4573,7 @@ return x_222; } else { -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; 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_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; 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; x_223 = lean_ctor_get(x_218, 0); lean_inc(x_223); lean_dec(x_218); @@ -4589,41 +4590,43 @@ lean_dec(x_223); x_229 = l_Array_empty___closed__1; x_230 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_228, x_228, x_131, x_229); lean_dec(x_228); -x_231 = l_Lean_nullKind___closed__2; -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_230); -x_233 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_234 = lean_array_push(x_233, x_232); -x_235 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; -x_236 = lean_array_push(x_234, x_235); -x_237 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_236); -x_239 = lean_array_push(x_229, x_238); -x_240 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_239); -x_242 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; -x_243 = lean_array_push(x_242, x_241); -x_244 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_244); -lean_ctor_set(x_245, 1, x_243); -x_246 = l_Lean_Syntax_copyInfo(x_245, x_11); +x_231 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_232 = lean_array_push(x_230, x_231); +x_233 = l_Lean_nullKind___closed__2; +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_232); +x_235 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_236 = lean_array_push(x_235, x_234); +x_237 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; +x_238 = lean_array_push(x_236, x_237); +x_239 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +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 = lean_array_push(x_229, x_240); +x_242 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_241); +x_244 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; +x_245 = lean_array_push(x_244, x_243); +x_246 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_246); +lean_ctor_set(x_247, 1, x_245); +x_248 = l_Lean_Syntax_copyInfo(x_247, x_11); lean_dec(x_11); -x_247 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); -x_248 = lean_nat_sub(x_247, x_131); -lean_dec(x_247); -x_249 = lean_unsigned_to_nat(1u); -x_250 = lean_nat_sub(x_248, x_249); -lean_dec(x_248); -x_251 = l_Lean_Expr_getRevArg_x21___main(x_128, x_250); +x_249 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); +x_250 = lean_nat_sub(x_249, x_131); +lean_dec(x_249); +x_251 = lean_unsigned_to_nat(1u); +x_252 = lean_nat_sub(x_250, x_251); +lean_dec(x_250); +x_253 = l_Lean_Expr_getRevArg_x21___main(x_128, x_252); lean_dec(x_128); -x_252 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_252, 0, x_246); +x_254 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_254, 0, x_248); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -4631,28 +4634,28 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_253 = l___private_Lean_Elab_App_2__elabArg(x_2, x_252, x_251, x_4, x_5, x_6, x_7, x_8, x_9, x_227); -if (lean_obj_tag(x_253) == 0) +x_255 = l___private_Lean_Elab_App_2__elabArg(x_2, x_254, x_253, x_4, x_5, x_6, x_7, x_8, x_9, x_227); +if (lean_obj_tag(x_255) == 0) { -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_254 = lean_ctor_get(x_253, 0); -lean_inc(x_254); -x_255 = lean_ctor_get(x_253, 1); -lean_inc(x_255); -lean_dec(x_253); -lean_inc(x_254); -x_256 = l_Lean_mkApp(x_2, x_254); -x_257 = lean_expr_instantiate1(x_129, x_254); -lean_dec(x_254); +lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_256 = lean_ctor_get(x_255, 0); +lean_inc(x_256); +x_257 = lean_ctor_get(x_255, 1); +lean_inc(x_257); +lean_dec(x_255); +lean_inc(x_256); +x_258 = l_Lean_mkApp(x_2, x_256); +x_259 = lean_expr_instantiate1(x_129, x_256); +lean_dec(x_256); lean_dec(x_129); -x_2 = x_256; -x_3 = x_257; -x_10 = x_255; +x_2 = x_258; +x_3 = x_259; +x_10 = x_257; goto _start; } else { -uint8_t x_259; +uint8_t x_261; lean_dec(x_1); lean_dec(x_129); lean_dec(x_8); @@ -4662,50 +4665,50 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_259 = !lean_is_exclusive(x_253); -if (x_259 == 0) +x_261 = !lean_is_exclusive(x_255); +if (x_261 == 0) { -return x_253; +return x_255; } else { -lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_260 = lean_ctor_get(x_253, 0); -x_261 = lean_ctor_get(x_253, 1); -lean_inc(x_261); -lean_inc(x_260); -lean_dec(x_253); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_260); -lean_ctor_set(x_262, 1, x_261); -return x_262; +lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_262 = lean_ctor_get(x_255, 0); +x_263 = lean_ctor_get(x_255, 1); +lean_inc(x_263); +lean_inc(x_262); +lean_dec(x_255); +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_262); +lean_ctor_set(x_264, 1, x_263); +return x_264; } } } } else { -lean_object* x_263; lean_object* x_264; +lean_object* x_265; lean_object* x_266; lean_dec(x_212); lean_dec(x_1); lean_dec(x_129); lean_dec(x_128); lean_dec(x_11); lean_dec(x_2); -x_263 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; -x_264 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_263, x_4, x_5, x_6, x_7, x_8, x_9, x_144); +x_265 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; +x_266 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_265, x_4, x_5, x_6, x_7, x_8, x_9, x_144); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_264; +return x_266; } } } else { -lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_dec(x_128); lean_dec(x_127); lean_dec(x_22); @@ -4715,30 +4718,30 @@ lean_dec(x_16); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); -x_265 = lean_ctor_get(x_148, 0); -lean_inc(x_265); +x_267 = lean_ctor_get(x_148, 0); +lean_inc(x_267); lean_dec(x_148); -lean_inc(x_265); -x_266 = l_Lean_mkApp(x_2, x_265); -x_267 = lean_expr_instantiate1(x_129, x_265); -lean_dec(x_265); +lean_inc(x_267); +x_268 = l_Lean_mkApp(x_2, x_267); +x_269 = lean_expr_instantiate1(x_129, x_267); +lean_dec(x_267); lean_dec(x_129); -x_2 = x_266; -x_3 = x_267; +x_2 = x_268; +x_3 = x_269; x_10 = x_144; goto _start; } } else { -uint8_t x_269; +uint8_t x_271; lean_dec(x_1); lean_dec(x_129); lean_dec(x_128); -x_269 = l_Array_isEmpty___rarg(x_16); -if (x_269 == 0) +x_271 = l_Array_isEmpty___rarg(x_16); +if (x_271 == 0) { -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_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_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -4746,80 +4749,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_270 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_270, 0, x_127); -x_271 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_272 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_270); -x_273 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_272 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_272, 0, x_127); +x_273 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; x_274 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_274, 0, x_272); -lean_ctor_set(x_274, 1, x_273); -x_275 = x_16; -x_276 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_275); -x_277 = x_276; -x_278 = l_Array_toList___rarg(x_277); -lean_dec(x_277); -x_279 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_278); -x_280 = l_Array_HasRepr___rarg___closed__1; -x_281 = lean_string_append(x_280, x_279); +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_272); +x_275 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_276 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_276, 0, x_274); +lean_ctor_set(x_276, 1, x_275); +x_277 = x_16; +x_278 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_277); +x_279 = x_278; +x_280 = l_Array_toList___rarg(x_279); lean_dec(x_279); -x_282 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_282, 0, x_281); -x_283 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_283, 0, x_282); -x_284 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_284, 0, x_274); -lean_ctor_set(x_284, 1, x_283); -x_285 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_284, x_4, x_5, x_6, x_7, x_8, x_9, x_144); +x_281 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_280); +x_282 = l_Array_HasRepr___rarg___closed__1; +x_283 = lean_string_append(x_282, x_281); +lean_dec(x_281); +x_284 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_284, 0, x_283); +x_285 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_285, 0, x_284); +x_286 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_286, 0, x_276); +lean_ctor_set(x_286, 1, x_285); +x_287 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_286, x_4, x_5, x_6, x_7, x_8, x_9, x_144); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_285; +return x_287; } else { -lean_object* x_286; uint8_t x_287; +lean_object* x_288; uint8_t x_289; lean_dec(x_127); lean_dec(x_16); -x_286 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_287 = l_Lean_checkTraceOption(x_22, x_286); +x_288 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_289 = l_Lean_checkTraceOption(x_22, x_288); lean_dec(x_22); -if (x_287 == 0) +if (x_289 == 0) { -lean_object* x_288; +lean_object* x_290; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_288 = x_144; -goto block_300; +x_290 = x_144; +goto block_302; } else { -lean_object* x_301; lean_object* x_302; -x_301 = lean_ctor_get(x_13, 0); -lean_inc(x_301); +lean_object* x_303; lean_object* x_304; +x_303 = lean_ctor_get(x_13, 0); +lean_inc(x_303); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_302 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_301, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_144); -if (lean_obj_tag(x_302) == 0) +x_304 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_303, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_144); +if (lean_obj_tag(x_304) == 0) { -lean_object* x_303; -x_303 = lean_ctor_get(x_302, 1); -lean_inc(x_303); -lean_dec(x_302); -x_288 = x_303; -goto block_300; +lean_object* x_305; +x_305 = lean_ctor_get(x_304, 1); +lean_inc(x_305); +lean_dec(x_304); +x_290 = x_305; +goto block_302; } else { -uint8_t x_304; +uint8_t x_306; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -4830,44 +4833,44 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_304 = !lean_is_exclusive(x_302); -if (x_304 == 0) +x_306 = !lean_is_exclusive(x_304); +if (x_306 == 0) { -return x_302; +return x_304; } else { -lean_object* x_305; lean_object* x_306; lean_object* x_307; -x_305 = lean_ctor_get(x_302, 0); -x_306 = lean_ctor_get(x_302, 1); -lean_inc(x_306); -lean_inc(x_305); -lean_dec(x_302); -x_307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_307, 0, x_305); -lean_ctor_set(x_307, 1, x_306); -return x_307; +lean_object* x_307; lean_object* x_308; lean_object* x_309; +x_307 = lean_ctor_get(x_304, 0); +x_308 = lean_ctor_get(x_304, 1); +lean_inc(x_308); +lean_inc(x_307); +lean_dec(x_304); +x_309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_309, 0, x_307); +lean_ctor_set(x_309, 1, x_308); +return x_309; } } } -block_300: +block_302: { -lean_object* x_289; +lean_object* x_291; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_289 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_288); +x_291 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_290); lean_dec(x_17); -if (lean_obj_tag(x_289) == 0) +if (lean_obj_tag(x_291) == 0) { -lean_object* x_290; lean_object* x_291; uint8_t x_292; -x_290 = lean_ctor_get(x_289, 1); -lean_inc(x_290); -lean_dec(x_289); +lean_object* x_292; lean_object* x_293; uint8_t x_294; +x_292 = lean_ctor_get(x_291, 1); +lean_inc(x_292); +lean_dec(x_291); lean_inc(x_2); -x_291 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__7(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_290); +x_293 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__7(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_292); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -4875,99 +4878,99 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_292 = !lean_is_exclusive(x_291); -if (x_292 == 0) +x_294 = !lean_is_exclusive(x_293); +if (x_294 == 0) { -lean_object* x_293; -x_293 = lean_ctor_get(x_291, 0); +lean_object* x_295; +x_295 = lean_ctor_get(x_293, 0); +lean_dec(x_295); +lean_ctor_set(x_293, 0, x_2); +return x_293; +} +else +{ +lean_object* x_296; lean_object* x_297; +x_296 = lean_ctor_get(x_293, 1); +lean_inc(x_296); lean_dec(x_293); -lean_ctor_set(x_291, 0, x_2); +x_297 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_297, 0, x_2); +lean_ctor_set(x_297, 1, x_296); +return x_297; +} +} +else +{ +uint8_t x_298; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_298 = !lean_is_exclusive(x_291); +if (x_298 == 0) +{ return x_291; } else { -lean_object* x_294; lean_object* x_295; -x_294 = lean_ctor_get(x_291, 1); -lean_inc(x_294); +lean_object* x_299; lean_object* x_300; lean_object* x_301; +x_299 = lean_ctor_get(x_291, 0); +x_300 = lean_ctor_get(x_291, 1); +lean_inc(x_300); +lean_inc(x_299); lean_dec(x_291); -x_295 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_295, 0, x_2); -lean_ctor_set(x_295, 1, x_294); -return x_295; -} -} -else -{ -uint8_t x_296; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_296 = !lean_is_exclusive(x_289); -if (x_296 == 0) -{ -return x_289; -} -else -{ -lean_object* x_297; lean_object* x_298; lean_object* x_299; -x_297 = lean_ctor_get(x_289, 0); -x_298 = lean_ctor_get(x_289, 1); -lean_inc(x_298); -lean_inc(x_297); -lean_dec(x_289); -x_299 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_299, 0, x_297); -lean_ctor_set(x_299, 1, x_298); -return x_299; +x_301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_301, 0, x_299); +lean_ctor_set(x_301, 1, x_300); +return x_301; } } } } else { -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; +lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_inc(x_2); -x_308 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_308, 0, x_2); -x_309 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_286, x_308, x_4, x_5, x_6, x_7, x_8, x_9, x_144); -x_310 = lean_ctor_get(x_309, 1); -lean_inc(x_310); -lean_dec(x_309); +x_310 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_310, 0, x_2); +x_311 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_288, x_310, x_4, x_5, x_6, x_7, x_8, x_9, x_144); +x_312 = lean_ctor_get(x_311, 1); +lean_inc(x_312); +lean_dec(x_311); if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_311 = x_310; -goto block_323; +x_313 = x_312; +goto block_325; } else { -lean_object* x_324; lean_object* x_325; -x_324 = lean_ctor_get(x_13, 0); -lean_inc(x_324); +lean_object* x_326; lean_object* x_327; +x_326 = lean_ctor_get(x_13, 0); +lean_inc(x_326); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_325 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_324, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_310); -if (lean_obj_tag(x_325) == 0) +x_327 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_326, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_312); +if (lean_obj_tag(x_327) == 0) { -lean_object* x_326; -x_326 = lean_ctor_get(x_325, 1); -lean_inc(x_326); -lean_dec(x_325); -x_311 = x_326; -goto block_323; +lean_object* x_328; +x_328 = lean_ctor_get(x_327, 1); +lean_inc(x_328); +lean_dec(x_327); +x_313 = x_328; +goto block_325; } else { -uint8_t x_327; +uint8_t x_329; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -4978,44 +4981,44 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_327 = !lean_is_exclusive(x_325); -if (x_327 == 0) +x_329 = !lean_is_exclusive(x_327); +if (x_329 == 0) { -return x_325; +return x_327; } else { -lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_328 = lean_ctor_get(x_325, 0); -x_329 = lean_ctor_get(x_325, 1); -lean_inc(x_329); -lean_inc(x_328); -lean_dec(x_325); -x_330 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_330, 0, x_328); -lean_ctor_set(x_330, 1, x_329); -return x_330; +lean_object* x_330; lean_object* x_331; lean_object* x_332; +x_330 = lean_ctor_get(x_327, 0); +x_331 = lean_ctor_get(x_327, 1); +lean_inc(x_331); +lean_inc(x_330); +lean_dec(x_327); +x_332 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_332, 0, x_330); +lean_ctor_set(x_332, 1, x_331); +return x_332; } } } -block_323: +block_325: { -lean_object* x_312; +lean_object* x_314; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_312 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_311); +x_314 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_313); lean_dec(x_17); -if (lean_obj_tag(x_312) == 0) +if (lean_obj_tag(x_314) == 0) { -lean_object* x_313; lean_object* x_314; uint8_t x_315; -x_313 = lean_ctor_get(x_312, 1); -lean_inc(x_313); -lean_dec(x_312); +lean_object* x_315; lean_object* x_316; uint8_t x_317; +x_315 = lean_ctor_get(x_314, 1); +lean_inc(x_315); +lean_dec(x_314); lean_inc(x_2); -x_314 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__8(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_313); +x_316 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__8(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_315); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5023,30 +5026,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_315 = !lean_is_exclusive(x_314); -if (x_315 == 0) +x_317 = !lean_is_exclusive(x_316); +if (x_317 == 0) { -lean_object* x_316; -x_316 = lean_ctor_get(x_314, 0); +lean_object* x_318; +x_318 = lean_ctor_get(x_316, 0); +lean_dec(x_318); +lean_ctor_set(x_316, 0, x_2); +return x_316; +} +else +{ +lean_object* x_319; lean_object* x_320; +x_319 = lean_ctor_get(x_316, 1); +lean_inc(x_319); lean_dec(x_316); -lean_ctor_set(x_314, 0, x_2); -return x_314; -} -else -{ -lean_object* x_317; lean_object* x_318; -x_317 = lean_ctor_get(x_314, 1); -lean_inc(x_317); -lean_dec(x_314); -x_318 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_318, 0, x_2); -lean_ctor_set(x_318, 1, x_317); -return x_318; +x_320 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_320, 0, x_2); +lean_ctor_set(x_320, 1, x_319); +return x_320; } } else { -uint8_t x_319; +uint8_t x_321; lean_dec(x_8); lean_dec(x_19); lean_dec(x_11); @@ -5056,23 +5059,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_319 = !lean_is_exclusive(x_312); -if (x_319 == 0) +x_321 = !lean_is_exclusive(x_314); +if (x_321 == 0) { -return x_312; +return x_314; } else { -lean_object* x_320; lean_object* x_321; lean_object* x_322; -x_320 = lean_ctor_get(x_312, 0); -x_321 = lean_ctor_get(x_312, 1); -lean_inc(x_321); -lean_inc(x_320); -lean_dec(x_312); -x_322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_322, 0, x_320); -lean_ctor_set(x_322, 1, x_321); -return x_322; +lean_object* x_322; lean_object* x_323; lean_object* x_324; +x_322 = lean_ctor_get(x_314, 0); +x_323 = lean_ctor_get(x_314, 1); +lean_inc(x_323); +lean_inc(x_322); +lean_dec(x_314); +x_324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_324, 0, x_322); +lean_ctor_set(x_324, 1, x_323); +return x_324; } } } @@ -5082,12 +5085,12 @@ return x_322; } else { -lean_object* x_331; lean_object* x_332; +lean_object* x_333; lean_object* x_334; lean_dec(x_1); lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_331 = lean_array_fget(x_12, x_15); +x_333 = lean_array_fget(x_12, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -5095,43 +5098,43 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_332 = l___private_Lean_Elab_App_2__elabArg(x_2, x_331, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_144); -if (lean_obj_tag(x_332) == 0) +x_334 = l___private_Lean_Elab_App_2__elabArg(x_2, x_333, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_144); +if (lean_obj_tag(x_334) == 0) { -lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_333 = lean_ctor_get(x_332, 0); -lean_inc(x_333); -x_334 = lean_ctor_get(x_332, 1); -lean_inc(x_334); -lean_dec(x_332); -x_335 = lean_unsigned_to_nat(1u); -x_336 = lean_nat_add(x_15, x_335); +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; +x_335 = lean_ctor_get(x_334, 0); +lean_inc(x_335); +x_336 = lean_ctor_get(x_334, 1); +lean_inc(x_336); +lean_dec(x_334); +x_337 = lean_unsigned_to_nat(1u); +x_338 = lean_nat_add(x_15, x_337); lean_dec(x_15); -x_337 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_337, 0, x_11); -lean_ctor_set(x_337, 1, x_12); -lean_ctor_set(x_337, 2, x_13); -lean_ctor_set(x_337, 3, x_336); -lean_ctor_set(x_337, 4, x_16); -lean_ctor_set(x_337, 5, x_17); -lean_ctor_set(x_337, 6, x_18); -lean_ctor_set(x_337, 7, x_19); -lean_ctor_set_uint8(x_337, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_337, sizeof(void*)*8 + 1, x_145); -lean_inc(x_333); -x_338 = l_Lean_mkApp(x_2, x_333); -x_339 = lean_expr_instantiate1(x_129, x_333); -lean_dec(x_333); +x_339 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_339, 0, x_11); +lean_ctor_set(x_339, 1, x_12); +lean_ctor_set(x_339, 2, x_13); +lean_ctor_set(x_339, 3, x_338); +lean_ctor_set(x_339, 4, x_16); +lean_ctor_set(x_339, 5, x_17); +lean_ctor_set(x_339, 6, x_18); +lean_ctor_set(x_339, 7, x_19); +lean_ctor_set_uint8(x_339, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_339, sizeof(void*)*8 + 1, x_145); +lean_inc(x_335); +x_340 = l_Lean_mkApp(x_2, x_335); +x_341 = lean_expr_instantiate1(x_129, x_335); +lean_dec(x_335); lean_dec(x_129); -x_1 = x_337; -x_2 = x_338; -x_3 = x_339; -x_10 = x_334; +x_1 = x_339; +x_2 = x_340; +x_3 = x_341; +x_10 = x_336; goto _start; } else { -uint8_t x_341; +uint8_t x_343; lean_dec(x_129); lean_dec(x_8); lean_dec(x_19); @@ -5148,30 +5151,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_341 = !lean_is_exclusive(x_332); -if (x_341 == 0) +x_343 = !lean_is_exclusive(x_334); +if (x_343 == 0) { -return x_332; +return x_334; } else { -lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_342 = lean_ctor_get(x_332, 0); -x_343 = lean_ctor_get(x_332, 1); -lean_inc(x_343); -lean_inc(x_342); -lean_dec(x_332); -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_342); -lean_ctor_set(x_344, 1, x_343); -return x_344; +lean_object* x_344; lean_object* x_345; lean_object* x_346; +x_344 = lean_ctor_get(x_334, 0); +x_345 = lean_ctor_get(x_334, 1); +lean_inc(x_345); +lean_inc(x_344); +lean_dec(x_334); +x_346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_346, 0, x_344); +lean_ctor_set(x_346, 1, x_345); +return x_346; } } } } else { -uint8_t x_345; +uint8_t x_347; lean_free_object(x_1); lean_dec(x_129); lean_dec(x_128); @@ -5193,23 +5196,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_345 = !lean_is_exclusive(x_134); -if (x_345 == 0) +x_347 = !lean_is_exclusive(x_134); +if (x_347 == 0) { return x_134; } else { -lean_object* x_346; lean_object* x_347; lean_object* x_348; -x_346 = lean_ctor_get(x_134, 0); -x_347 = lean_ctor_get(x_134, 1); -lean_inc(x_347); -lean_inc(x_346); +lean_object* x_348; lean_object* x_349; lean_object* x_350; +x_348 = lean_ctor_get(x_134, 0); +x_349 = lean_ctor_get(x_134, 1); +lean_inc(x_349); +lean_inc(x_348); lean_dec(x_134); -x_348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_348, 0, x_346); -lean_ctor_set(x_348, 1, x_347); -return x_348; +x_350 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_350, 0, x_348); +lean_ctor_set(x_350, 1, x_349); +return x_350; } } } @@ -5218,11 +5221,11 @@ else lean_dec(x_1); if (lean_obj_tag(x_134) == 0) { -lean_object* x_349; uint8_t x_350; lean_object* x_351; lean_object* x_352; uint8_t x_353; -x_349 = lean_ctor_get(x_134, 1); -lean_inc(x_349); +lean_object* x_351; uint8_t x_352; lean_object* x_353; lean_object* x_354; uint8_t x_355; +x_351 = lean_ctor_get(x_134, 1); +lean_inc(x_351); lean_dec(x_134); -x_350 = 1; +x_352 = 1; lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -5231,43 +5234,43 @@ lean_inc(x_15); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_351 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_351, 0, x_11); -lean_ctor_set(x_351, 1, x_12); -lean_ctor_set(x_351, 2, x_13); -lean_ctor_set(x_351, 3, x_15); -lean_ctor_set(x_351, 4, x_16); -lean_ctor_set(x_351, 5, x_17); -lean_ctor_set(x_351, 6, x_18); -lean_ctor_set(x_351, 7, x_19); -lean_ctor_set_uint8(x_351, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_351, sizeof(void*)*8 + 1, x_350); -x_352 = lean_array_get_size(x_12); -x_353 = lean_nat_dec_lt(x_15, x_352); -lean_dec(x_352); -if (x_353 == 0) +x_353 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_353, 0, x_11); +lean_ctor_set(x_353, 1, x_12); +lean_ctor_set(x_353, 2, x_13); +lean_ctor_set(x_353, 3, x_15); +lean_ctor_set(x_353, 4, x_16); +lean_ctor_set(x_353, 5, x_17); +lean_ctor_set(x_353, 6, x_18); +lean_ctor_set(x_353, 7, x_19); +lean_ctor_set_uint8(x_353, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_353, sizeof(void*)*8 + 1, x_352); +x_354 = lean_array_get_size(x_12); +x_355 = lean_nat_dec_lt(x_15, x_354); +lean_dec(x_354); +if (x_355 == 0) { lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); if (x_14 == 0) { -lean_object* x_354; -x_354 = l_Lean_Expr_getOptParamDefault_x3f(x_128); -if (lean_obj_tag(x_354) == 0) +lean_object* x_356; +x_356 = l_Lean_Expr_getOptParamDefault_x3f(x_128); +if (lean_obj_tag(x_356) == 0) { -lean_object* x_355; -x_355 = l_Lean_Expr_getAutoParamTactic_x3f(x_128); -if (lean_obj_tag(x_355) == 0) +lean_object* x_357; +x_357 = l_Lean_Expr_getAutoParamTactic_x3f(x_128); +if (lean_obj_tag(x_357) == 0) { -uint8_t x_356; -lean_dec(x_351); +uint8_t x_358; +lean_dec(x_353); lean_dec(x_129); lean_dec(x_128); -x_356 = l_Array_isEmpty___rarg(x_16); -if (x_356 == 0) +x_358 = l_Array_isEmpty___rarg(x_16); +if (x_358 == 0) { -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_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_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -5275,80 +5278,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_357 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_357, 0, x_127); -x_358 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_359 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_359, 0, x_358); -lean_ctor_set(x_359, 1, x_357); -x_360 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_359 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_359, 0, x_127); +x_360 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; x_361 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_361, 0, x_359); -lean_ctor_set(x_361, 1, x_360); -x_362 = x_16; -x_363 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_362); -x_364 = x_363; -x_365 = l_Array_toList___rarg(x_364); -lean_dec(x_364); -x_366 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_365); -x_367 = l_Array_HasRepr___rarg___closed__1; -x_368 = lean_string_append(x_367, x_366); +lean_ctor_set(x_361, 0, x_360); +lean_ctor_set(x_361, 1, x_359); +x_362 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_363 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_363, 0, x_361); +lean_ctor_set(x_363, 1, x_362); +x_364 = x_16; +x_365 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_364); +x_366 = x_365; +x_367 = l_Array_toList___rarg(x_366); lean_dec(x_366); -x_369 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_369, 0, x_368); -x_370 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_370, 0, x_369); -x_371 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_371, 0, x_361); -lean_ctor_set(x_371, 1, x_370); -x_372 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_371, x_4, x_5, x_6, x_7, x_8, x_9, x_349); +x_368 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_367); +x_369 = l_Array_HasRepr___rarg___closed__1; +x_370 = lean_string_append(x_369, x_368); +lean_dec(x_368); +x_371 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_371, 0, x_370); +x_372 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_372, 0, x_371); +x_373 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_373, 0, x_363); +lean_ctor_set(x_373, 1, x_372); +x_374 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_373, x_4, x_5, x_6, x_7, x_8, x_9, x_351); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_372; +return x_374; } else { -lean_object* x_373; uint8_t x_374; +lean_object* x_375; uint8_t x_376; lean_dec(x_127); lean_dec(x_16); -x_373 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_374 = l_Lean_checkTraceOption(x_22, x_373); +x_375 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_376 = l_Lean_checkTraceOption(x_22, x_375); lean_dec(x_22); -if (x_374 == 0) +if (x_376 == 0) { -lean_object* x_375; +lean_object* x_377; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_375 = x_349; -goto block_386; +x_377 = x_351; +goto block_388; } else { -lean_object* x_387; lean_object* x_388; -x_387 = lean_ctor_get(x_13, 0); -lean_inc(x_387); +lean_object* x_389; lean_object* x_390; +x_389 = lean_ctor_get(x_13, 0); +lean_inc(x_389); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_388 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_387, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_349); -if (lean_obj_tag(x_388) == 0) +x_390 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_389, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_351); +if (lean_obj_tag(x_390) == 0) { -lean_object* x_389; -x_389 = lean_ctor_get(x_388, 1); -lean_inc(x_389); -lean_dec(x_388); -x_375 = x_389; -goto block_386; +lean_object* x_391; +x_391 = lean_ctor_get(x_390, 1); +lean_inc(x_391); +lean_dec(x_390); +x_377 = x_391; +goto block_388; } else { -lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; +lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -5359,46 +5362,46 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_390 = lean_ctor_get(x_388, 0); -lean_inc(x_390); -x_391 = lean_ctor_get(x_388, 1); -lean_inc(x_391); -if (lean_is_exclusive(x_388)) { - lean_ctor_release(x_388, 0); - lean_ctor_release(x_388, 1); - x_392 = x_388; +x_392 = lean_ctor_get(x_390, 0); +lean_inc(x_392); +x_393 = lean_ctor_get(x_390, 1); +lean_inc(x_393); +if (lean_is_exclusive(x_390)) { + lean_ctor_release(x_390, 0); + lean_ctor_release(x_390, 1); + x_394 = x_390; } else { - lean_dec_ref(x_388); - x_392 = lean_box(0); + lean_dec_ref(x_390); + x_394 = lean_box(0); } -if (lean_is_scalar(x_392)) { - x_393 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_394)) { + x_395 = lean_alloc_ctor(1, 2, 0); } else { - x_393 = x_392; + x_395 = x_394; } -lean_ctor_set(x_393, 0, x_390); -lean_ctor_set(x_393, 1, x_391); -return x_393; +lean_ctor_set(x_395, 0, x_392); +lean_ctor_set(x_395, 1, x_393); +return x_395; } } -block_386: +block_388: { -lean_object* x_376; +lean_object* x_378; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_376 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_375); +x_378 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_377); lean_dec(x_17); -if (lean_obj_tag(x_376) == 0) +if (lean_obj_tag(x_378) == 0) { -lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; -x_377 = lean_ctor_get(x_376, 1); -lean_inc(x_377); -lean_dec(x_376); +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; +x_379 = lean_ctor_get(x_378, 1); +lean_inc(x_379); +lean_dec(x_378); lean_inc(x_2); -x_378 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__5(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_377); +x_380 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__5(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_379); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5406,99 +5409,99 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_379 = lean_ctor_get(x_378, 1); -lean_inc(x_379); +x_381 = lean_ctor_get(x_380, 1); +lean_inc(x_381); +if (lean_is_exclusive(x_380)) { + lean_ctor_release(x_380, 0); + lean_ctor_release(x_380, 1); + x_382 = x_380; +} else { + lean_dec_ref(x_380); + x_382 = lean_box(0); +} +if (lean_is_scalar(x_382)) { + x_383 = lean_alloc_ctor(0, 2, 0); +} else { + x_383 = x_382; +} +lean_ctor_set(x_383, 0, x_2); +lean_ctor_set(x_383, 1, x_381); +return x_383; +} +else +{ +lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_384 = lean_ctor_get(x_378, 0); +lean_inc(x_384); +x_385 = lean_ctor_get(x_378, 1); +lean_inc(x_385); if (lean_is_exclusive(x_378)) { lean_ctor_release(x_378, 0); lean_ctor_release(x_378, 1); - x_380 = x_378; + x_386 = x_378; } else { lean_dec_ref(x_378); - x_380 = lean_box(0); + x_386 = lean_box(0); } -if (lean_is_scalar(x_380)) { - x_381 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_386)) { + x_387 = lean_alloc_ctor(1, 2, 0); } else { - x_381 = x_380; + x_387 = x_386; } -lean_ctor_set(x_381, 0, x_2); -lean_ctor_set(x_381, 1, x_379); -return x_381; -} -else -{ -lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_382 = lean_ctor_get(x_376, 0); -lean_inc(x_382); -x_383 = lean_ctor_get(x_376, 1); -lean_inc(x_383); -if (lean_is_exclusive(x_376)) { - lean_ctor_release(x_376, 0); - lean_ctor_release(x_376, 1); - x_384 = x_376; -} else { - lean_dec_ref(x_376); - x_384 = lean_box(0); -} -if (lean_is_scalar(x_384)) { - x_385 = lean_alloc_ctor(1, 2, 0); -} else { - x_385 = x_384; -} -lean_ctor_set(x_385, 0, x_382); -lean_ctor_set(x_385, 1, x_383); -return x_385; +lean_ctor_set(x_387, 0, x_384); +lean_ctor_set(x_387, 1, x_385); +return x_387; } } } else { -lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; +lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_inc(x_2); -x_394 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_394, 0, x_2); -x_395 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_373, x_394, x_4, x_5, x_6, x_7, x_8, x_9, x_349); -x_396 = lean_ctor_get(x_395, 1); -lean_inc(x_396); -lean_dec(x_395); +x_396 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_396, 0, x_2); +x_397 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_375, x_396, x_4, x_5, x_6, x_7, x_8, x_9, x_351); +x_398 = lean_ctor_get(x_397, 1); +lean_inc(x_398); +lean_dec(x_397); if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_397 = x_396; -goto block_408; +x_399 = x_398; +goto block_410; } else { -lean_object* x_409; lean_object* x_410; -x_409 = lean_ctor_get(x_13, 0); -lean_inc(x_409); +lean_object* x_411; lean_object* x_412; +x_411 = lean_ctor_get(x_13, 0); +lean_inc(x_411); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_410 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_409, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_396); -if (lean_obj_tag(x_410) == 0) +x_412 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_411, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_398); +if (lean_obj_tag(x_412) == 0) { -lean_object* x_411; -x_411 = lean_ctor_get(x_410, 1); -lean_inc(x_411); -lean_dec(x_410); -x_397 = x_411; -goto block_408; +lean_object* x_413; +x_413 = lean_ctor_get(x_412, 1); +lean_inc(x_413); +lean_dec(x_412); +x_399 = x_413; +goto block_410; } else { -lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; +lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -5509,46 +5512,46 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_412 = lean_ctor_get(x_410, 0); -lean_inc(x_412); -x_413 = lean_ctor_get(x_410, 1); -lean_inc(x_413); -if (lean_is_exclusive(x_410)) { - lean_ctor_release(x_410, 0); - lean_ctor_release(x_410, 1); - x_414 = x_410; +x_414 = lean_ctor_get(x_412, 0); +lean_inc(x_414); +x_415 = lean_ctor_get(x_412, 1); +lean_inc(x_415); +if (lean_is_exclusive(x_412)) { + lean_ctor_release(x_412, 0); + lean_ctor_release(x_412, 1); + x_416 = x_412; } else { - lean_dec_ref(x_410); - x_414 = lean_box(0); + lean_dec_ref(x_412); + x_416 = lean_box(0); } -if (lean_is_scalar(x_414)) { - x_415 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_416)) { + x_417 = lean_alloc_ctor(1, 2, 0); } else { - x_415 = x_414; + x_417 = x_416; } -lean_ctor_set(x_415, 0, x_412); -lean_ctor_set(x_415, 1, x_413); -return x_415; +lean_ctor_set(x_417, 0, x_414); +lean_ctor_set(x_417, 1, x_415); +return x_417; } } -block_408: +block_410: { -lean_object* x_398; +lean_object* x_400; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_398 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_397); +x_400 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_399); lean_dec(x_17); -if (lean_obj_tag(x_398) == 0) +if (lean_obj_tag(x_400) == 0) { -lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; -x_399 = lean_ctor_get(x_398, 1); -lean_inc(x_399); -lean_dec(x_398); +lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; +x_401 = lean_ctor_get(x_400, 1); +lean_inc(x_401); +lean_dec(x_400); lean_inc(x_2); -x_400 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__6(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_399); +x_402 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__6(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_401); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -5556,28 +5559,28 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_401 = lean_ctor_get(x_400, 1); -lean_inc(x_401); -if (lean_is_exclusive(x_400)) { - lean_ctor_release(x_400, 0); - lean_ctor_release(x_400, 1); - x_402 = x_400; +x_403 = lean_ctor_get(x_402, 1); +lean_inc(x_403); +if (lean_is_exclusive(x_402)) { + lean_ctor_release(x_402, 0); + lean_ctor_release(x_402, 1); + x_404 = x_402; } else { - lean_dec_ref(x_400); - x_402 = lean_box(0); + lean_dec_ref(x_402); + x_404 = lean_box(0); } -if (lean_is_scalar(x_402)) { - x_403 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_404)) { + x_405 = lean_alloc_ctor(0, 2, 0); } else { - x_403 = x_402; + x_405 = x_404; } -lean_ctor_set(x_403, 0, x_2); -lean_ctor_set(x_403, 1, x_401); -return x_403; +lean_ctor_set(x_405, 0, x_2); +lean_ctor_set(x_405, 1, x_403); +return x_405; } else { -lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; +lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_dec(x_8); lean_dec(x_19); lean_dec(x_11); @@ -5587,26 +5590,26 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_404 = lean_ctor_get(x_398, 0); -lean_inc(x_404); -x_405 = lean_ctor_get(x_398, 1); -lean_inc(x_405); -if (lean_is_exclusive(x_398)) { - lean_ctor_release(x_398, 0); - lean_ctor_release(x_398, 1); - x_406 = x_398; +x_406 = lean_ctor_get(x_400, 0); +lean_inc(x_406); +x_407 = lean_ctor_get(x_400, 1); +lean_inc(x_407); +if (lean_is_exclusive(x_400)) { + lean_ctor_release(x_400, 0); + lean_ctor_release(x_400, 1); + x_408 = x_400; } else { - lean_dec_ref(x_398); - x_406 = lean_box(0); + lean_dec_ref(x_400); + x_408 = lean_box(0); } -if (lean_is_scalar(x_406)) { - x_407 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_408)) { + x_409 = lean_alloc_ctor(1, 2, 0); } else { - x_407 = x_406; + x_409 = x_408; } -lean_ctor_set(x_407, 0, x_404); -lean_ctor_set(x_407, 1, x_405); -return x_407; +lean_ctor_set(x_409, 0, x_406); +lean_ctor_set(x_409, 1, x_407); +return x_409; } } } @@ -5614,7 +5617,7 @@ return x_407; } else { -lean_object* x_416; +lean_object* x_418; lean_dec(x_127); lean_dec(x_22); lean_dec(x_19); @@ -5622,102 +5625,104 @@ lean_dec(x_17); lean_dec(x_16); lean_dec(x_13); lean_dec(x_3); -x_416 = lean_ctor_get(x_355, 0); -lean_inc(x_416); -lean_dec(x_355); -if (lean_obj_tag(x_416) == 4) +x_418 = lean_ctor_get(x_357, 0); +lean_inc(x_418); +lean_dec(x_357); +if (lean_obj_tag(x_418) == 4) { -lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; -x_417 = lean_ctor_get(x_416, 0); -lean_inc(x_417); -lean_dec(x_416); -x_418 = lean_st_ref_get(x_9, x_349); +lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; x_419 = lean_ctor_get(x_418, 0); lean_inc(x_419); -x_420 = lean_ctor_get(x_418, 1); -lean_inc(x_420); lean_dec(x_418); -x_421 = lean_ctor_get(x_419, 0); +x_420 = lean_st_ref_get(x_9, x_351); +x_421 = lean_ctor_get(x_420, 0); lean_inc(x_421); -lean_dec(x_419); -x_422 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_421, x_417); -if (lean_obj_tag(x_422) == 0) +x_422 = lean_ctor_get(x_420, 1); +lean_inc(x_422); +lean_dec(x_420); +x_423 = lean_ctor_get(x_421, 0); +lean_inc(x_423); +lean_dec(x_421); +x_424 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_423, x_419); +if (lean_obj_tag(x_424) == 0) { -lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; -lean_dec(x_351); +lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; +lean_dec(x_353); lean_dec(x_129); lean_dec(x_128); lean_dec(x_11); lean_dec(x_2); -x_423 = lean_ctor_get(x_422, 0); -lean_inc(x_423); -lean_dec(x_422); -x_424 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_424, 0, x_423); -x_425 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_425, 0, x_424); -x_426 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_425, x_4, x_5, x_6, x_7, x_8, x_9, x_420); +x_425 = lean_ctor_get(x_424, 0); +lean_inc(x_425); +lean_dec(x_424); +x_426 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_426, 0, x_425); +x_427 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_427, 0, x_426); +x_428 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_427, x_4, x_5, x_6, x_7, x_8, x_9, x_422); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_426; +return x_428; } else { -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_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; -x_427 = lean_ctor_get(x_422, 0); -lean_inc(x_427); -lean_dec(x_422); -x_428 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_420); -x_429 = lean_ctor_get(x_428, 1); +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_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; +x_429 = lean_ctor_get(x_424, 0); lean_inc(x_429); -lean_dec(x_428); -x_430 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_429); +lean_dec(x_424); +x_430 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_422); x_431 = lean_ctor_get(x_430, 1); lean_inc(x_431); lean_dec(x_430); -x_432 = l_Lean_Syntax_getArgs(x_427); -lean_dec(x_427); -x_433 = l_Array_empty___closed__1; -x_434 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_432, x_432, x_131, x_433); +x_432 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_431); +x_433 = lean_ctor_get(x_432, 1); +lean_inc(x_433); lean_dec(x_432); -x_435 = l_Lean_nullKind___closed__2; -x_436 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_436, 0, x_435); -lean_ctor_set(x_436, 1, x_434); -x_437 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_438 = lean_array_push(x_437, x_436); -x_439 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; -x_440 = lean_array_push(x_438, x_439); -x_441 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -x_442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_442, 0, x_441); -lean_ctor_set(x_442, 1, x_440); -x_443 = lean_array_push(x_433, x_442); -x_444 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -x_445 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_445, 0, x_444); -lean_ctor_set(x_445, 1, x_443); -x_446 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; -x_447 = lean_array_push(x_446, x_445); -x_448 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_434 = l_Lean_Syntax_getArgs(x_429); +lean_dec(x_429); +x_435 = l_Array_empty___closed__1; +x_436 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_434, x_434, x_131, x_435); +lean_dec(x_434); +x_437 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_438 = lean_array_push(x_436, x_437); +x_439 = l_Lean_nullKind___closed__2; +x_440 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_440, 0, x_439); +lean_ctor_set(x_440, 1, x_438); +x_441 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_442 = lean_array_push(x_441, x_440); +x_443 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; +x_444 = lean_array_push(x_442, x_443); +x_445 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_445); +lean_ctor_set(x_446, 1, x_444); +x_447 = lean_array_push(x_435, x_446); +x_448 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; x_449 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_449, 0, x_448); lean_ctor_set(x_449, 1, x_447); -x_450 = l_Lean_Syntax_copyInfo(x_449, x_11); +x_450 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; +x_451 = lean_array_push(x_450, x_449); +x_452 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_453 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_453, 0, x_452); +lean_ctor_set(x_453, 1, x_451); +x_454 = l_Lean_Syntax_copyInfo(x_453, x_11); lean_dec(x_11); -x_451 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); -x_452 = lean_nat_sub(x_451, x_131); -lean_dec(x_451); -x_453 = lean_unsigned_to_nat(1u); -x_454 = lean_nat_sub(x_452, x_453); -lean_dec(x_452); -x_455 = l_Lean_Expr_getRevArg_x21___main(x_128, x_454); +x_455 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); +x_456 = lean_nat_sub(x_455, x_131); +lean_dec(x_455); +x_457 = lean_unsigned_to_nat(1u); +x_458 = lean_nat_sub(x_456, x_457); +lean_dec(x_456); +x_459 = l_Lean_Expr_getRevArg_x21___main(x_128, x_458); lean_dec(x_128); -x_456 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_456, 0, x_450); +x_460 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_460, 0, x_454); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -5725,30 +5730,30 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_457 = l___private_Lean_Elab_App_2__elabArg(x_2, x_456, x_455, x_4, x_5, x_6, x_7, x_8, x_9, x_431); -if (lean_obj_tag(x_457) == 0) +x_461 = l___private_Lean_Elab_App_2__elabArg(x_2, x_460, x_459, x_4, x_5, x_6, x_7, x_8, x_9, x_433); +if (lean_obj_tag(x_461) == 0) { -lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; -x_458 = lean_ctor_get(x_457, 0); -lean_inc(x_458); -x_459 = lean_ctor_get(x_457, 1); -lean_inc(x_459); -lean_dec(x_457); -lean_inc(x_458); -x_460 = l_Lean_mkApp(x_2, x_458); -x_461 = lean_expr_instantiate1(x_129, x_458); -lean_dec(x_458); +lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; +x_462 = lean_ctor_get(x_461, 0); +lean_inc(x_462); +x_463 = lean_ctor_get(x_461, 1); +lean_inc(x_463); +lean_dec(x_461); +lean_inc(x_462); +x_464 = l_Lean_mkApp(x_2, x_462); +x_465 = lean_expr_instantiate1(x_129, x_462); +lean_dec(x_462); lean_dec(x_129); -x_1 = x_351; -x_2 = x_460; -x_3 = x_461; -x_10 = x_459; +x_1 = x_353; +x_2 = x_464; +x_3 = x_465; +x_10 = x_463; goto _start; } else { -lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; -lean_dec(x_351); +lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; +lean_dec(x_353); lean_dec(x_129); lean_dec(x_8); lean_dec(x_9); @@ -5757,52 +5762,52 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_463 = lean_ctor_get(x_457, 0); -lean_inc(x_463); -x_464 = lean_ctor_get(x_457, 1); -lean_inc(x_464); -if (lean_is_exclusive(x_457)) { - lean_ctor_release(x_457, 0); - lean_ctor_release(x_457, 1); - x_465 = x_457; +x_467 = lean_ctor_get(x_461, 0); +lean_inc(x_467); +x_468 = lean_ctor_get(x_461, 1); +lean_inc(x_468); +if (lean_is_exclusive(x_461)) { + lean_ctor_release(x_461, 0); + lean_ctor_release(x_461, 1); + x_469 = x_461; } else { - lean_dec_ref(x_457); - x_465 = lean_box(0); + lean_dec_ref(x_461); + x_469 = lean_box(0); } -if (lean_is_scalar(x_465)) { - x_466 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_469)) { + x_470 = lean_alloc_ctor(1, 2, 0); } else { - x_466 = x_465; + x_470 = x_469; } -lean_ctor_set(x_466, 0, x_463); -lean_ctor_set(x_466, 1, x_464); -return x_466; +lean_ctor_set(x_470, 0, x_467); +lean_ctor_set(x_470, 1, x_468); +return x_470; } } } else { -lean_object* x_467; lean_object* x_468; -lean_dec(x_416); -lean_dec(x_351); +lean_object* x_471; lean_object* x_472; +lean_dec(x_418); +lean_dec(x_353); lean_dec(x_129); lean_dec(x_128); lean_dec(x_11); lean_dec(x_2); -x_467 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; -x_468 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_467, x_4, x_5, x_6, x_7, x_8, x_9, x_349); +x_471 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; +x_472 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_471, x_4, x_5, x_6, x_7, x_8, x_9, x_351); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_468; +return x_472; } } } else { -lean_object* x_469; lean_object* x_470; lean_object* x_471; +lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_dec(x_128); lean_dec(x_127); lean_dec(x_22); @@ -5812,31 +5817,31 @@ lean_dec(x_16); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); -x_469 = lean_ctor_get(x_354, 0); -lean_inc(x_469); -lean_dec(x_354); -lean_inc(x_469); -x_470 = l_Lean_mkApp(x_2, x_469); -x_471 = lean_expr_instantiate1(x_129, x_469); -lean_dec(x_469); +x_473 = lean_ctor_get(x_356, 0); +lean_inc(x_473); +lean_dec(x_356); +lean_inc(x_473); +x_474 = l_Lean_mkApp(x_2, x_473); +x_475 = lean_expr_instantiate1(x_129, x_473); +lean_dec(x_473); lean_dec(x_129); -x_1 = x_351; -x_2 = x_470; -x_3 = x_471; -x_10 = x_349; +x_1 = x_353; +x_2 = x_474; +x_3 = x_475; +x_10 = x_351; goto _start; } } else { -uint8_t x_473; -lean_dec(x_351); +uint8_t x_477; +lean_dec(x_353); lean_dec(x_129); lean_dec(x_128); -x_473 = l_Array_isEmpty___rarg(x_16); -if (x_473 == 0) +x_477 = l_Array_isEmpty___rarg(x_16); +if (x_477 == 0) { -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_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -5844,230 +5849,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_474 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_474, 0, x_127); -x_475 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_476 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_476, 0, x_475); -lean_ctor_set(x_476, 1, x_474); -x_477 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_478 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_478, 0, x_476); -lean_ctor_set(x_478, 1, x_477); -x_479 = x_16; -x_480 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_479); -x_481 = x_480; -x_482 = l_Array_toList___rarg(x_481); -lean_dec(x_481); -x_483 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_482); -x_484 = l_Array_HasRepr___rarg___closed__1; -x_485 = lean_string_append(x_484, x_483); -lean_dec(x_483); -x_486 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_486, 0, x_485); -x_487 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_487, 0, x_486); -x_488 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_488, 0, x_478); -lean_ctor_set(x_488, 1, x_487); -x_489 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_488, x_4, x_5, x_6, x_7, x_8, x_9, x_349); +x_478 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_478, 0, x_127); +x_479 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_480 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_480, 0, x_479); +lean_ctor_set(x_480, 1, x_478); +x_481 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_482 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_482, 0, x_480); +lean_ctor_set(x_482, 1, x_481); +x_483 = x_16; +x_484 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_483); +x_485 = x_484; +x_486 = l_Array_toList___rarg(x_485); +lean_dec(x_485); +x_487 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_486); +x_488 = l_Array_HasRepr___rarg___closed__1; +x_489 = lean_string_append(x_488, x_487); +lean_dec(x_487); +x_490 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_490, 0, x_489); +x_491 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_491, 0, x_490); +x_492 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_492, 0, x_482); +lean_ctor_set(x_492, 1, x_491); +x_493 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_492, x_4, x_5, x_6, x_7, x_8, x_9, x_351); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_489; +return x_493; } else { -lean_object* x_490; uint8_t x_491; +lean_object* x_494; uint8_t x_495; lean_dec(x_127); lean_dec(x_16); -x_490 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_491 = l_Lean_checkTraceOption(x_22, x_490); +x_494 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_495 = l_Lean_checkTraceOption(x_22, x_494); lean_dec(x_22); -if (x_491 == 0) +if (x_495 == 0) { -lean_object* x_492; +lean_object* x_496; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_492 = x_349; -goto block_503; +x_496 = x_351; +goto block_507; } else { -lean_object* x_504; lean_object* x_505; -x_504 = lean_ctor_get(x_13, 0); -lean_inc(x_504); +lean_object* x_508; lean_object* x_509; +x_508 = lean_ctor_get(x_13, 0); +lean_inc(x_508); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_505 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_504, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_349); -if (lean_obj_tag(x_505) == 0) +x_509 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_508, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_351); +if (lean_obj_tag(x_509) == 0) { -lean_object* x_506; -x_506 = lean_ctor_get(x_505, 1); -lean_inc(x_506); -lean_dec(x_505); -x_492 = x_506; -goto block_503; -} -else -{ -lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_507 = lean_ctor_get(x_505, 0); -lean_inc(x_507); -x_508 = lean_ctor_get(x_505, 1); -lean_inc(x_508); -if (lean_is_exclusive(x_505)) { - lean_ctor_release(x_505, 0); - lean_ctor_release(x_505, 1); - x_509 = x_505; -} else { - lean_dec_ref(x_505); - x_509 = lean_box(0); -} -if (lean_is_scalar(x_509)) { - x_510 = lean_alloc_ctor(1, 2, 0); -} else { - x_510 = x_509; -} -lean_ctor_set(x_510, 0, x_507); -lean_ctor_set(x_510, 1, x_508); -return x_510; -} -} -block_503: -{ -lean_object* x_493; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_493 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_492); -lean_dec(x_17); -if (lean_obj_tag(x_493) == 0) -{ -lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; -x_494 = lean_ctor_get(x_493, 1); -lean_inc(x_494); -lean_dec(x_493); -lean_inc(x_2); -x_495 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__7(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_494); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_496 = lean_ctor_get(x_495, 1); -lean_inc(x_496); -if (lean_is_exclusive(x_495)) { - lean_ctor_release(x_495, 0); - lean_ctor_release(x_495, 1); - x_497 = x_495; -} else { - lean_dec_ref(x_495); - x_497 = lean_box(0); -} -if (lean_is_scalar(x_497)) { - x_498 = lean_alloc_ctor(0, 2, 0); -} else { - x_498 = x_497; -} -lean_ctor_set(x_498, 0, x_2); -lean_ctor_set(x_498, 1, x_496); -return x_498; -} -else -{ -lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_499 = lean_ctor_get(x_493, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_493, 1); -lean_inc(x_500); -if (lean_is_exclusive(x_493)) { - lean_ctor_release(x_493, 0); - lean_ctor_release(x_493, 1); - x_501 = x_493; -} else { - lean_dec_ref(x_493); - x_501 = lean_box(0); -} -if (lean_is_scalar(x_501)) { - x_502 = lean_alloc_ctor(1, 2, 0); -} else { - x_502 = x_501; -} -lean_ctor_set(x_502, 0, x_499); -lean_ctor_set(x_502, 1, x_500); -return x_502; -} -} +lean_object* x_510; +x_510 = lean_ctor_get(x_509, 1); +lean_inc(x_510); +lean_dec(x_509); +x_496 = x_510; +goto block_507; } else { lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; -lean_inc(x_2); -x_511 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_511, 0, x_2); -x_512 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_490, x_511, x_4, x_5, x_6, x_7, x_8, x_9, x_349); -x_513 = lean_ctor_get(x_512, 1); -lean_inc(x_513); -lean_dec(x_512); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_514 = x_513; -goto block_525; -} -else -{ -lean_object* x_526; lean_object* x_527; -x_526 = lean_ctor_get(x_13, 0); -lean_inc(x_526); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_527 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_526, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_513); -if (lean_obj_tag(x_527) == 0) -{ -lean_object* x_528; -x_528 = lean_ctor_get(x_527, 1); -lean_inc(x_528); -lean_dec(x_527); -x_514 = x_528; -goto block_525; -} -else -{ -lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -6078,46 +5933,46 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_529 = lean_ctor_get(x_527, 0); -lean_inc(x_529); -x_530 = lean_ctor_get(x_527, 1); -lean_inc(x_530); -if (lean_is_exclusive(x_527)) { - lean_ctor_release(x_527, 0); - lean_ctor_release(x_527, 1); - x_531 = x_527; +x_511 = lean_ctor_get(x_509, 0); +lean_inc(x_511); +x_512 = lean_ctor_get(x_509, 1); +lean_inc(x_512); +if (lean_is_exclusive(x_509)) { + lean_ctor_release(x_509, 0); + lean_ctor_release(x_509, 1); + x_513 = x_509; } else { - lean_dec_ref(x_527); - x_531 = lean_box(0); + lean_dec_ref(x_509); + x_513 = lean_box(0); } -if (lean_is_scalar(x_531)) { - x_532 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_513)) { + x_514 = lean_alloc_ctor(1, 2, 0); } else { - x_532 = x_531; + x_514 = x_513; } -lean_ctor_set(x_532, 0, x_529); -lean_ctor_set(x_532, 1, x_530); -return x_532; +lean_ctor_set(x_514, 0, x_511); +lean_ctor_set(x_514, 1, x_512); +return x_514; } } -block_525: +block_507: { -lean_object* x_515; +lean_object* x_497; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_515 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_514); +x_497 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_496); lean_dec(x_17); -if (lean_obj_tag(x_515) == 0) +if (lean_obj_tag(x_497) == 0) { -lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; -x_516 = lean_ctor_get(x_515, 1); -lean_inc(x_516); -lean_dec(x_515); +lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; +x_498 = lean_ctor_get(x_497, 1); +lean_inc(x_498); +lean_dec(x_497); lean_inc(x_2); -x_517 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__8(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_516); +x_499 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__7(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_498); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6125,28 +5980,28 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_518 = lean_ctor_get(x_517, 1); -lean_inc(x_518); -if (lean_is_exclusive(x_517)) { - lean_ctor_release(x_517, 0); - lean_ctor_release(x_517, 1); - x_519 = x_517; +x_500 = lean_ctor_get(x_499, 1); +lean_inc(x_500); +if (lean_is_exclusive(x_499)) { + lean_ctor_release(x_499, 0); + lean_ctor_release(x_499, 1); + x_501 = x_499; } else { - lean_dec_ref(x_517); - x_519 = lean_box(0); + lean_dec_ref(x_499); + x_501 = lean_box(0); } -if (lean_is_scalar(x_519)) { - x_520 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_501)) { + x_502 = lean_alloc_ctor(0, 2, 0); } else { - x_520 = x_519; + x_502 = x_501; } -lean_ctor_set(x_520, 0, x_2); -lean_ctor_set(x_520, 1, x_518); -return x_520; +lean_ctor_set(x_502, 0, x_2); +lean_ctor_set(x_502, 1, x_500); +return x_502; } else { -lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; +lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_dec(x_8); lean_dec(x_19); lean_dec(x_11); @@ -6156,27 +6011,177 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_521 = lean_ctor_get(x_515, 0); -lean_inc(x_521); -x_522 = lean_ctor_get(x_515, 1); -lean_inc(x_522); -if (lean_is_exclusive(x_515)) { - lean_ctor_release(x_515, 0); - lean_ctor_release(x_515, 1); - x_523 = x_515; +x_503 = lean_ctor_get(x_497, 0); +lean_inc(x_503); +x_504 = lean_ctor_get(x_497, 1); +lean_inc(x_504); +if (lean_is_exclusive(x_497)) { + lean_ctor_release(x_497, 0); + lean_ctor_release(x_497, 1); + x_505 = x_497; } else { - lean_dec_ref(x_515); + lean_dec_ref(x_497); + x_505 = lean_box(0); +} +if (lean_is_scalar(x_505)) { + x_506 = lean_alloc_ctor(1, 2, 0); +} else { + x_506 = x_505; +} +lean_ctor_set(x_506, 0, x_503); +lean_ctor_set(x_506, 1, x_504); +return x_506; +} +} +} +else +{ +lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; +lean_inc(x_2); +x_515 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_515, 0, x_2); +x_516 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_494, x_515, x_4, x_5, x_6, x_7, x_8, x_9, x_351); +x_517 = lean_ctor_get(x_516, 1); +lean_inc(x_517); +lean_dec(x_516); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_518 = x_517; +goto block_529; +} +else +{ +lean_object* x_530; lean_object* x_531; +x_530 = lean_ctor_get(x_13, 0); +lean_inc(x_530); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_531 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_530, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_517); +if (lean_obj_tag(x_531) == 0) +{ +lean_object* x_532; +x_532 = lean_ctor_get(x_531, 1); +lean_inc(x_532); +lean_dec(x_531); +x_518 = x_532; +goto block_529; +} +else +{ +lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_533 = lean_ctor_get(x_531, 0); +lean_inc(x_533); +x_534 = lean_ctor_get(x_531, 1); +lean_inc(x_534); +if (lean_is_exclusive(x_531)) { + lean_ctor_release(x_531, 0); + lean_ctor_release(x_531, 1); + x_535 = x_531; +} else { + lean_dec_ref(x_531); + x_535 = lean_box(0); +} +if (lean_is_scalar(x_535)) { + x_536 = lean_alloc_ctor(1, 2, 0); +} else { + x_536 = x_535; +} +lean_ctor_set(x_536, 0, x_533); +lean_ctor_set(x_536, 1, x_534); +return x_536; +} +} +block_529: +{ +lean_object* x_519; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_519 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_518); +lean_dec(x_17); +if (lean_obj_tag(x_519) == 0) +{ +lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; +x_520 = lean_ctor_get(x_519, 1); +lean_inc(x_520); +lean_dec(x_519); +lean_inc(x_2); +x_521 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__8(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_520); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_522 = lean_ctor_get(x_521, 1); +lean_inc(x_522); +if (lean_is_exclusive(x_521)) { + lean_ctor_release(x_521, 0); + lean_ctor_release(x_521, 1); + x_523 = x_521; +} else { + lean_dec_ref(x_521); x_523 = lean_box(0); } if (lean_is_scalar(x_523)) { - x_524 = lean_alloc_ctor(1, 2, 0); + x_524 = lean_alloc_ctor(0, 2, 0); } else { x_524 = x_523; } -lean_ctor_set(x_524, 0, x_521); +lean_ctor_set(x_524, 0, x_2); lean_ctor_set(x_524, 1, x_522); return x_524; } +else +{ +lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_525 = lean_ctor_get(x_519, 0); +lean_inc(x_525); +x_526 = lean_ctor_get(x_519, 1); +lean_inc(x_526); +if (lean_is_exclusive(x_519)) { + lean_ctor_release(x_519, 0); + lean_ctor_release(x_519, 1); + x_527 = x_519; +} else { + lean_dec_ref(x_519); + x_527 = lean_box(0); +} +if (lean_is_scalar(x_527)) { + x_528 = lean_alloc_ctor(1, 2, 0); +} else { + x_528 = x_527; +} +lean_ctor_set(x_528, 0, x_525); +lean_ctor_set(x_528, 1, x_526); +return x_528; +} } } } @@ -6184,12 +6189,12 @@ return x_524; } else { -lean_object* x_533; lean_object* x_534; -lean_dec(x_351); +lean_object* x_537; lean_object* x_538; +lean_dec(x_353); lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_533 = lean_array_fget(x_12, x_15); +x_537 = lean_array_fget(x_12, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -6197,90 +6202,45 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_534 = l___private_Lean_Elab_App_2__elabArg(x_2, x_533, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_349); -if (lean_obj_tag(x_534) == 0) +x_538 = l___private_Lean_Elab_App_2__elabArg(x_2, x_537, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_351); +if (lean_obj_tag(x_538) == 0) { -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; -x_535 = lean_ctor_get(x_534, 0); -lean_inc(x_535); -x_536 = lean_ctor_get(x_534, 1); -lean_inc(x_536); -lean_dec(x_534); -x_537 = lean_unsigned_to_nat(1u); -x_538 = lean_nat_add(x_15, x_537); +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; +x_539 = lean_ctor_get(x_538, 0); +lean_inc(x_539); +x_540 = lean_ctor_get(x_538, 1); +lean_inc(x_540); +lean_dec(x_538); +x_541 = lean_unsigned_to_nat(1u); +x_542 = lean_nat_add(x_15, x_541); lean_dec(x_15); -x_539 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_539, 0, x_11); -lean_ctor_set(x_539, 1, x_12); -lean_ctor_set(x_539, 2, x_13); -lean_ctor_set(x_539, 3, x_538); -lean_ctor_set(x_539, 4, x_16); -lean_ctor_set(x_539, 5, x_17); -lean_ctor_set(x_539, 6, x_18); -lean_ctor_set(x_539, 7, x_19); -lean_ctor_set_uint8(x_539, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_539, sizeof(void*)*8 + 1, x_350); -lean_inc(x_535); -x_540 = l_Lean_mkApp(x_2, x_535); -x_541 = lean_expr_instantiate1(x_129, x_535); -lean_dec(x_535); +x_543 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_543, 0, x_11); +lean_ctor_set(x_543, 1, x_12); +lean_ctor_set(x_543, 2, x_13); +lean_ctor_set(x_543, 3, x_542); +lean_ctor_set(x_543, 4, x_16); +lean_ctor_set(x_543, 5, x_17); +lean_ctor_set(x_543, 6, x_18); +lean_ctor_set(x_543, 7, x_19); +lean_ctor_set_uint8(x_543, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_543, sizeof(void*)*8 + 1, x_352); +lean_inc(x_539); +x_544 = l_Lean_mkApp(x_2, x_539); +x_545 = lean_expr_instantiate1(x_129, x_539); +lean_dec(x_539); lean_dec(x_129); -x_1 = x_539; -x_2 = x_540; -x_3 = x_541; -x_10 = x_536; +x_1 = x_543; +x_2 = x_544; +x_3 = x_545; +x_10 = x_540; goto _start; } else { -lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; -lean_dec(x_129); -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_543 = lean_ctor_get(x_534, 0); -lean_inc(x_543); -x_544 = lean_ctor_get(x_534, 1); -lean_inc(x_544); -if (lean_is_exclusive(x_534)) { - lean_ctor_release(x_534, 0); - lean_ctor_release(x_534, 1); - x_545 = x_534; -} else { - lean_dec_ref(x_534); - x_545 = lean_box(0); -} -if (lean_is_scalar(x_545)) { - x_546 = lean_alloc_ctor(1, 2, 0); -} else { - x_546 = x_545; -} -lean_ctor_set(x_546, 0, x_543); -lean_ctor_set(x_546, 1, x_544); -return x_546; -} -} -} -else -{ lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_dec(x_129); -lean_dec(x_128); -lean_dec(x_127); lean_dec(x_8); -lean_dec(x_22); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -6294,18 +6254,17 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_547 = lean_ctor_get(x_134, 0); +x_547 = lean_ctor_get(x_538, 0); lean_inc(x_547); -x_548 = lean_ctor_get(x_134, 1); +x_548 = lean_ctor_get(x_538, 1); lean_inc(x_548); -if (lean_is_exclusive(x_134)) { - lean_ctor_release(x_134, 0); - lean_ctor_release(x_134, 1); - x_549 = x_134; +if (lean_is_exclusive(x_538)) { + lean_ctor_release(x_538, 0); + lean_ctor_release(x_538, 1); + x_549 = x_538; } else { - lean_dec_ref(x_134); + lean_dec_ref(x_538); x_549 = lean_box(0); } if (lean_is_scalar(x_549)) { @@ -6319,11 +6278,57 @@ return x_550; } } } +else +{ +lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; +lean_dec(x_129); +lean_dec(x_128); +lean_dec(x_127); +lean_dec(x_8); +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_551 = lean_ctor_get(x_134, 0); +lean_inc(x_551); +x_552 = lean_ctor_get(x_134, 1); +lean_inc(x_552); +if (lean_is_exclusive(x_134)) { + lean_ctor_release(x_134, 0); + lean_ctor_release(x_134, 1); + x_553 = x_134; +} else { + lean_dec_ref(x_134); + x_553 = lean_box(0); +} +if (lean_is_scalar(x_553)) { + x_554 = lean_alloc_ctor(1, 2, 0); +} else { + x_554 = x_553; +} +lean_ctor_set(x_554, 0, x_551); +lean_ctor_set(x_554, 1, x_552); +return x_554; +} +} +} case 1: { if (x_14 == 0) { -lean_object* x_551; lean_object* x_552; uint8_t 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_567; +lean_object* x_555; lean_object* x_556; uint8_t 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_571; lean_dec(x_127); lean_dec(x_28); lean_dec(x_22); @@ -6337,63 +6342,63 @@ if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 5); lean_ctor_release(x_1, 6); lean_ctor_release(x_1, 7); - x_551 = x_1; + x_555 = x_1; } else { lean_dec_ref(x_1); - x_551 = lean_box(0); + x_555 = lean_box(0); } -x_552 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_552, 0, x_128); -x_553 = 0; -x_554 = lean_box(0); +x_556 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_556, 0, x_128); +x_557 = 0; +x_558 = lean_box(0); lean_inc(x_6); -x_555 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_552, x_553, x_554, x_6, x_7, x_8, x_9, x_29); -x_556 = lean_ctor_get(x_555, 0); -lean_inc(x_556); -x_557 = lean_ctor_get(x_555, 1); -lean_inc(x_557); -lean_dec(x_555); +x_559 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_556, x_557, x_558, x_6, x_7, x_8, x_9, x_29); +x_560 = lean_ctor_get(x_559, 0); +lean_inc(x_560); +x_561 = lean_ctor_get(x_559, 1); +lean_inc(x_561); +lean_dec(x_559); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_556); -x_567 = l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__9(x_556, x_4, x_5, x_6, x_7, x_8, x_9, x_557); -if (lean_obj_tag(x_567) == 0) +lean_inc(x_560); +x_571 = l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__9(x_560, x_4, x_5, x_6, x_7, x_8, x_9, x_561); +if (lean_obj_tag(x_571) == 0) { -lean_object* x_568; uint8_t x_569; -x_568 = lean_ctor_get(x_567, 0); -lean_inc(x_568); -x_569 = lean_unbox(x_568); -lean_dec(x_568); -if (x_569 == 0) +lean_object* x_572; uint8_t x_573; +x_572 = lean_ctor_get(x_571, 0); +lean_inc(x_572); +x_573 = lean_unbox(x_572); +lean_dec(x_572); +if (x_573 == 0) { -lean_object* x_570; -x_570 = lean_ctor_get(x_567, 1); -lean_inc(x_570); -lean_dec(x_567); -x_558 = x_18; -x_559 = x_570; -goto block_566; +lean_object* x_574; +x_574 = lean_ctor_get(x_571, 1); +lean_inc(x_574); +lean_dec(x_571); +x_562 = x_18; +x_563 = x_574; +goto block_570; } else { -lean_object* x_571; lean_object* x_572; lean_object* x_573; -x_571 = lean_ctor_get(x_567, 1); -lean_inc(x_571); -lean_dec(x_567); -x_572 = l_Lean_Expr_mvarId_x21(x_556); -x_573 = lean_array_push(x_18, x_572); -x_558 = x_573; -x_559 = x_571; -goto block_566; +lean_object* x_575; lean_object* x_576; lean_object* x_577; +x_575 = lean_ctor_get(x_571, 1); +lean_inc(x_575); +lean_dec(x_571); +x_576 = l_Lean_Expr_mvarId_x21(x_560); +x_577 = lean_array_push(x_18, x_576); +x_562 = x_577; +x_563 = x_575; +goto block_570; } } else { -uint8_t x_574; -lean_dec(x_556); -lean_dec(x_551); +uint8_t x_578; +lean_dec(x_560); +lean_dec(x_555); lean_dec(x_129); lean_dec(x_8); lean_dec(x_19); @@ -6410,108 +6415,108 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_574 = !lean_is_exclusive(x_567); -if (x_574 == 0) +x_578 = !lean_is_exclusive(x_571); +if (x_578 == 0) { -return x_567; +return x_571; } else { -lean_object* x_575; lean_object* x_576; lean_object* x_577; -x_575 = lean_ctor_get(x_567, 0); -x_576 = lean_ctor_get(x_567, 1); -lean_inc(x_576); -lean_inc(x_575); -lean_dec(x_567); -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_575); -lean_ctor_set(x_577, 1, x_576); -return x_577; +lean_object* x_579; lean_object* x_580; lean_object* x_581; +x_579 = lean_ctor_get(x_571, 0); +x_580 = lean_ctor_get(x_571, 1); +lean_inc(x_580); +lean_inc(x_579); +lean_dec(x_571); +x_581 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_581, 0, x_579); +lean_ctor_set(x_581, 1, x_580); +return x_581; } } -block_566: +block_570: { -lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; -x_560 = l_Lean_Expr_mvarId_x21(x_556); -x_561 = lean_array_push(x_19, x_560); -if (lean_is_scalar(x_551)) { - x_562 = lean_alloc_ctor(0, 8, 2); +lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; +x_564 = l_Lean_Expr_mvarId_x21(x_560); +x_565 = lean_array_push(x_19, x_564); +if (lean_is_scalar(x_555)) { + x_566 = lean_alloc_ctor(0, 8, 2); } else { - x_562 = x_551; + x_566 = x_555; } -lean_ctor_set(x_562, 0, x_11); -lean_ctor_set(x_562, 1, x_12); -lean_ctor_set(x_562, 2, x_13); -lean_ctor_set(x_562, 3, x_15); -lean_ctor_set(x_562, 4, x_16); -lean_ctor_set(x_562, 5, x_17); -lean_ctor_set(x_562, 6, x_558); -lean_ctor_set(x_562, 7, x_561); -lean_ctor_set_uint8(x_562, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_562, sizeof(void*)*8 + 1, x_21); -lean_inc(x_556); -x_563 = l_Lean_mkApp(x_2, x_556); -x_564 = lean_expr_instantiate1(x_129, x_556); -lean_dec(x_556); +lean_ctor_set(x_566, 0, x_11); +lean_ctor_set(x_566, 1, x_12); +lean_ctor_set(x_566, 2, x_13); +lean_ctor_set(x_566, 3, x_15); +lean_ctor_set(x_566, 4, x_16); +lean_ctor_set(x_566, 5, x_17); +lean_ctor_set(x_566, 6, x_562); +lean_ctor_set(x_566, 7, x_565); +lean_ctor_set_uint8(x_566, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_566, sizeof(void*)*8 + 1, x_21); +lean_inc(x_560); +x_567 = l_Lean_mkApp(x_2, x_560); +x_568 = lean_expr_instantiate1(x_129, x_560); +lean_dec(x_560); lean_dec(x_129); -x_1 = x_562; -x_2 = x_563; -x_3 = x_564; -x_10 = x_559; +x_1 = x_566; +x_2 = x_567; +x_3 = x_568; +x_10 = x_563; goto _start; } } else { -lean_object* x_578; uint8_t x_579; +lean_object* x_582; uint8_t x_583; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_578 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); -x_579 = !lean_is_exclusive(x_1); -if (x_579 == 0) +x_582 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_583 = !lean_is_exclusive(x_1); +if (x_583 == 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; -x_580 = lean_ctor_get(x_1, 7); -lean_dec(x_580); -x_581 = lean_ctor_get(x_1, 6); -lean_dec(x_581); -x_582 = lean_ctor_get(x_1, 5); -lean_dec(x_582); -x_583 = lean_ctor_get(x_1, 4); -lean_dec(x_583); -x_584 = lean_ctor_get(x_1, 3); +lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; +x_584 = lean_ctor_get(x_1, 7); lean_dec(x_584); -x_585 = lean_ctor_get(x_1, 2); +x_585 = lean_ctor_get(x_1, 6); lean_dec(x_585); -x_586 = lean_ctor_get(x_1, 1); +x_586 = lean_ctor_get(x_1, 5); lean_dec(x_586); -x_587 = lean_ctor_get(x_1, 0); +x_587 = lean_ctor_get(x_1, 4); lean_dec(x_587); -if (lean_obj_tag(x_578) == 0) -{ -lean_object* x_588; lean_object* x_589; uint8_t x_590; -x_588 = lean_ctor_get(x_578, 1); -lean_inc(x_588); -lean_dec(x_578); -x_589 = lean_array_get_size(x_12); -x_590 = lean_nat_dec_lt(x_15, x_589); +x_588 = lean_ctor_get(x_1, 3); +lean_dec(x_588); +x_589 = lean_ctor_get(x_1, 2); lean_dec(x_589); -if (x_590 == 0) +x_590 = lean_ctor_get(x_1, 1); +lean_dec(x_590); +x_591 = lean_ctor_get(x_1, 0); +lean_dec(x_591); +if (lean_obj_tag(x_582) == 0) { -uint8_t x_591; +lean_object* x_592; lean_object* x_593; uint8_t x_594; +x_592 = lean_ctor_get(x_582, 1); +lean_inc(x_592); +lean_dec(x_582); +x_593 = lean_array_get_size(x_12); +x_594 = lean_nat_dec_lt(x_15, x_593); +lean_dec(x_593); +if (x_594 == 0) +{ +uint8_t x_595; lean_free_object(x_1); lean_dec(x_129); lean_dec(x_128); lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); -x_591 = l_Array_isEmpty___rarg(x_16); -if (x_591 == 0) +x_595 = l_Array_isEmpty___rarg(x_16); +if (x_595 == 0) { -lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; +lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -6519,228 +6524,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_592 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_592, 0, x_127); -x_593 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_594 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_594, 0, x_593); -lean_ctor_set(x_594, 1, x_592); -x_595 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_596 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_596, 0, x_594); -lean_ctor_set(x_596, 1, x_595); -x_597 = x_16; -x_598 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_597); -x_599 = x_598; -x_600 = l_Array_toList___rarg(x_599); -lean_dec(x_599); -x_601 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_600); -x_602 = l_Array_HasRepr___rarg___closed__1; -x_603 = lean_string_append(x_602, x_601); -lean_dec(x_601); -x_604 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_604, 0, x_603); -x_605 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_605, 0, x_604); -x_606 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_606, 0, x_596); -lean_ctor_set(x_606, 1, x_605); -x_607 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_606, x_4, x_5, x_6, x_7, x_8, x_9, x_588); +x_596 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_596, 0, x_127); +x_597 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_598 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_598, 0, x_597); +lean_ctor_set(x_598, 1, x_596); +x_599 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_600 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_600, 0, x_598); +lean_ctor_set(x_600, 1, x_599); +x_601 = x_16; +x_602 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_601); +x_603 = x_602; +x_604 = l_Array_toList___rarg(x_603); +lean_dec(x_603); +x_605 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_604); +x_606 = l_Array_HasRepr___rarg___closed__1; +x_607 = lean_string_append(x_606, x_605); +lean_dec(x_605); +x_608 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_608, 0, x_607); +x_609 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_609, 0, x_608); +x_610 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_610, 0, x_600); +lean_ctor_set(x_610, 1, x_609); +x_611 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_610, x_4, x_5, x_6, x_7, x_8, x_9, x_592); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_607; -} -else -{ -lean_object* x_608; uint8_t x_609; -lean_dec(x_127); -lean_dec(x_16); -x_608 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_609 = l_Lean_checkTraceOption(x_22, x_608); -lean_dec(x_22); -if (x_609 == 0) -{ -lean_object* x_610; -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_610 = x_588; -goto block_622; -} -else -{ -lean_object* x_623; lean_object* x_624; -x_623 = lean_ctor_get(x_13, 0); -lean_inc(x_623); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_624 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_623, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_588); -if (lean_obj_tag(x_624) == 0) -{ -lean_object* x_625; -x_625 = lean_ctor_get(x_624, 1); -lean_inc(x_625); -lean_dec(x_624); -x_610 = x_625; -goto block_622; -} -else -{ -uint8_t x_626; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_626 = !lean_is_exclusive(x_624); -if (x_626 == 0) -{ -return x_624; -} -else -{ -lean_object* x_627; lean_object* x_628; lean_object* x_629; -x_627 = lean_ctor_get(x_624, 0); -x_628 = lean_ctor_get(x_624, 1); -lean_inc(x_628); -lean_inc(x_627); -lean_dec(x_624); -x_629 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_629, 0, x_627); -lean_ctor_set(x_629, 1, x_628); -return x_629; -} -} -} -block_622: -{ -lean_object* x_611; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_611 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_610); -lean_dec(x_17); -if (lean_obj_tag(x_611) == 0) -{ -lean_object* x_612; lean_object* x_613; uint8_t x_614; -x_612 = lean_ctor_get(x_611, 1); -lean_inc(x_612); -lean_dec(x_611); -lean_inc(x_2); -x_613 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__10(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_612); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_614 = !lean_is_exclusive(x_613); -if (x_614 == 0) -{ -lean_object* x_615; -x_615 = lean_ctor_get(x_613, 0); -lean_dec(x_615); -lean_ctor_set(x_613, 0, x_2); -return x_613; -} -else -{ -lean_object* x_616; lean_object* x_617; -x_616 = lean_ctor_get(x_613, 1); -lean_inc(x_616); -lean_dec(x_613); -x_617 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_617, 0, x_2); -lean_ctor_set(x_617, 1, x_616); -return x_617; -} -} -else -{ -uint8_t x_618; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_618 = !lean_is_exclusive(x_611); -if (x_618 == 0) -{ return x_611; } else { -lean_object* x_619; lean_object* x_620; lean_object* x_621; -x_619 = lean_ctor_get(x_611, 0); -x_620 = lean_ctor_get(x_611, 1); -lean_inc(x_620); -lean_inc(x_619); -lean_dec(x_611); -x_621 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_621, 0, x_619); -lean_ctor_set(x_621, 1, x_620); -return x_621; -} -} -} -} -else +lean_object* x_612; uint8_t x_613; +lean_dec(x_127); +lean_dec(x_16); +x_612 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_613 = l_Lean_checkTraceOption(x_22, x_612); +lean_dec(x_22); +if (x_613 == 0) { -lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; -lean_inc(x_2); -x_630 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_630, 0, x_2); -x_631 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_608, x_630, x_4, x_5, x_6, x_7, x_8, x_9, x_588); -x_632 = lean_ctor_get(x_631, 1); -lean_inc(x_632); -lean_dec(x_631); +lean_object* x_614; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_633 = x_632; -goto block_645; +x_614 = x_592; +goto block_626; } else { -lean_object* x_646; lean_object* x_647; -x_646 = lean_ctor_get(x_13, 0); -lean_inc(x_646); +lean_object* x_627; lean_object* x_628; +x_627 = lean_ctor_get(x_13, 0); +lean_inc(x_627); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_647 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_646, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_632); -if (lean_obj_tag(x_647) == 0) +x_628 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_627, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_592); +if (lean_obj_tag(x_628) == 0) { -lean_object* x_648; -x_648 = lean_ctor_get(x_647, 1); -lean_inc(x_648); -lean_dec(x_647); -x_633 = x_648; -goto block_645; +lean_object* x_629; +x_629 = lean_ctor_get(x_628, 1); +lean_inc(x_629); +lean_dec(x_628); +x_614 = x_629; +goto block_626; } else { -uint8_t x_649; +uint8_t x_630; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -6751,44 +6608,44 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_649 = !lean_is_exclusive(x_647); -if (x_649 == 0) +x_630 = !lean_is_exclusive(x_628); +if (x_630 == 0) { -return x_647; +return x_628; } else { -lean_object* x_650; lean_object* x_651; lean_object* x_652; -x_650 = lean_ctor_get(x_647, 0); -x_651 = lean_ctor_get(x_647, 1); -lean_inc(x_651); -lean_inc(x_650); -lean_dec(x_647); -x_652 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_652, 0, x_650); -lean_ctor_set(x_652, 1, x_651); -return x_652; +lean_object* x_631; lean_object* x_632; lean_object* x_633; +x_631 = lean_ctor_get(x_628, 0); +x_632 = lean_ctor_get(x_628, 1); +lean_inc(x_632); +lean_inc(x_631); +lean_dec(x_628); +x_633 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_633, 0, x_631); +lean_ctor_set(x_633, 1, x_632); +return x_633; } } } -block_645: +block_626: { -lean_object* x_634; +lean_object* x_615; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_634 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_633); +x_615 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_614); lean_dec(x_17); -if (lean_obj_tag(x_634) == 0) +if (lean_obj_tag(x_615) == 0) { -lean_object* x_635; lean_object* x_636; uint8_t x_637; -x_635 = lean_ctor_get(x_634, 1); -lean_inc(x_635); -lean_dec(x_634); +lean_object* x_616; lean_object* x_617; uint8_t x_618; +x_616 = lean_ctor_get(x_615, 1); +lean_inc(x_616); +lean_dec(x_615); lean_inc(x_2); -x_636 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__11(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_635); +x_617 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__10(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_616); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -6796,30 +6653,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_637 = !lean_is_exclusive(x_636); -if (x_637 == 0) +x_618 = !lean_is_exclusive(x_617); +if (x_618 == 0) { -lean_object* x_638; -x_638 = lean_ctor_get(x_636, 0); -lean_dec(x_638); -lean_ctor_set(x_636, 0, x_2); -return x_636; +lean_object* x_619; +x_619 = lean_ctor_get(x_617, 0); +lean_dec(x_619); +lean_ctor_set(x_617, 0, x_2); +return x_617; } else { -lean_object* x_639; lean_object* x_640; -x_639 = lean_ctor_get(x_636, 1); -lean_inc(x_639); -lean_dec(x_636); -x_640 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_640, 0, x_2); -lean_ctor_set(x_640, 1, x_639); -return x_640; +lean_object* x_620; lean_object* x_621; +x_620 = lean_ctor_get(x_617, 1); +lean_inc(x_620); +lean_dec(x_617); +x_621 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_621, 0, x_2); +lean_ctor_set(x_621, 1, x_620); +return x_621; } } else { -uint8_t x_641; +uint8_t x_622; lean_dec(x_8); lean_dec(x_19); lean_dec(x_11); @@ -6829,36 +6686,184 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_641 = !lean_is_exclusive(x_634); -if (x_641 == 0) +x_622 = !lean_is_exclusive(x_615); +if (x_622 == 0) { -return x_634; +return x_615; } else { -lean_object* x_642; lean_object* x_643; lean_object* x_644; -x_642 = lean_ctor_get(x_634, 0); -x_643 = lean_ctor_get(x_634, 1); +lean_object* x_623; lean_object* x_624; lean_object* x_625; +x_623 = lean_ctor_get(x_615, 0); +x_624 = lean_ctor_get(x_615, 1); +lean_inc(x_624); +lean_inc(x_623); +lean_dec(x_615); +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_623); +lean_ctor_set(x_625, 1, x_624); +return x_625; +} +} +} +} +else +{ +lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; +lean_inc(x_2); +x_634 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_634, 0, x_2); +x_635 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_612, x_634, x_4, x_5, x_6, x_7, x_8, x_9, x_592); +x_636 = lean_ctor_get(x_635, 1); +lean_inc(x_636); +lean_dec(x_635); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_637 = x_636; +goto block_649; +} +else +{ +lean_object* x_650; lean_object* x_651; +x_650 = lean_ctor_get(x_13, 0); +lean_inc(x_650); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_651 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_650, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_636); +if (lean_obj_tag(x_651) == 0) +{ +lean_object* x_652; +x_652 = lean_ctor_get(x_651, 1); +lean_inc(x_652); +lean_dec(x_651); +x_637 = x_652; +goto block_649; +} +else +{ +uint8_t x_653; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_653 = !lean_is_exclusive(x_651); +if (x_653 == 0) +{ +return x_651; +} +else +{ +lean_object* x_654; lean_object* x_655; lean_object* x_656; +x_654 = lean_ctor_get(x_651, 0); +x_655 = lean_ctor_get(x_651, 1); +lean_inc(x_655); +lean_inc(x_654); +lean_dec(x_651); +x_656 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_656, 0, x_654); +lean_ctor_set(x_656, 1, x_655); +return x_656; +} +} +} +block_649: +{ +lean_object* x_638; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_638 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_637); +lean_dec(x_17); +if (lean_obj_tag(x_638) == 0) +{ +lean_object* x_639; lean_object* x_640; uint8_t x_641; +x_639 = lean_ctor_get(x_638, 1); +lean_inc(x_639); +lean_dec(x_638); +lean_inc(x_2); +x_640 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__11(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_639); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_641 = !lean_is_exclusive(x_640); +if (x_641 == 0) +{ +lean_object* x_642; +x_642 = lean_ctor_get(x_640, 0); +lean_dec(x_642); +lean_ctor_set(x_640, 0, x_2); +return x_640; +} +else +{ +lean_object* x_643; lean_object* x_644; +x_643 = lean_ctor_get(x_640, 1); lean_inc(x_643); -lean_inc(x_642); -lean_dec(x_634); -x_644 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_644, 0, x_642); +lean_dec(x_640); +x_644 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_644, 0, x_2); lean_ctor_set(x_644, 1, x_643); return x_644; } } +else +{ +uint8_t x_645; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_645 = !lean_is_exclusive(x_638); +if (x_645 == 0) +{ +return x_638; +} +else +{ +lean_object* x_646; lean_object* x_647; lean_object* x_648; +x_646 = lean_ctor_get(x_638, 0); +x_647 = lean_ctor_get(x_638, 1); +lean_inc(x_647); +lean_inc(x_646); +lean_dec(x_638); +x_648 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_648, 0, x_646); +lean_ctor_set(x_648, 1, x_647); +return x_648; +} +} } } } } else { -lean_object* x_653; lean_object* x_654; +lean_object* x_657; lean_object* x_658; lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_653 = lean_array_fget(x_12, x_15); +x_657 = lean_array_fget(x_12, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -6866,81 +6871,37 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_654 = l___private_Lean_Elab_App_2__elabArg(x_2, x_653, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_588); -if (lean_obj_tag(x_654) == 0) +x_658 = l___private_Lean_Elab_App_2__elabArg(x_2, x_657, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_592); +if (lean_obj_tag(x_658) == 0) { -lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; uint8_t x_659; lean_object* x_660; lean_object* x_661; -x_655 = lean_ctor_get(x_654, 0); -lean_inc(x_655); -x_656 = lean_ctor_get(x_654, 1); -lean_inc(x_656); -lean_dec(x_654); -x_657 = lean_unsigned_to_nat(1u); -x_658 = lean_nat_add(x_15, x_657); +lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; uint8_t x_663; lean_object* x_664; lean_object* x_665; +x_659 = lean_ctor_get(x_658, 0); +lean_inc(x_659); +x_660 = lean_ctor_get(x_658, 1); +lean_inc(x_660); +lean_dec(x_658); +x_661 = lean_unsigned_to_nat(1u); +x_662 = lean_nat_add(x_15, x_661); lean_dec(x_15); -x_659 = 1; -lean_ctor_set(x_1, 3, x_658); -lean_ctor_set_uint8(x_1, sizeof(void*)*8 + 1, x_659); -lean_inc(x_655); -x_660 = l_Lean_mkApp(x_2, x_655); -x_661 = lean_expr_instantiate1(x_129, x_655); -lean_dec(x_655); +x_663 = 1; +lean_ctor_set(x_1, 3, x_662); +lean_ctor_set_uint8(x_1, sizeof(void*)*8 + 1, x_663); +lean_inc(x_659); +x_664 = l_Lean_mkApp(x_2, x_659); +x_665 = lean_expr_instantiate1(x_129, x_659); +lean_dec(x_659); lean_dec(x_129); -x_2 = x_660; -x_3 = x_661; -x_10 = x_656; +x_2 = x_664; +x_3 = x_665; +x_10 = x_660; goto _start; } else { -uint8_t x_663; -lean_free_object(x_1); -lean_dec(x_129); -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_663 = !lean_is_exclusive(x_654); -if (x_663 == 0) -{ -return x_654; -} -else -{ -lean_object* x_664; lean_object* x_665; lean_object* x_666; -x_664 = lean_ctor_get(x_654, 0); -x_665 = lean_ctor_get(x_654, 1); -lean_inc(x_665); -lean_inc(x_664); -lean_dec(x_654); -x_666 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_666, 0, x_664); -lean_ctor_set(x_666, 1, x_665); -return x_666; -} -} -} -} -else -{ uint8_t x_667; lean_free_object(x_1); lean_dec(x_129); -lean_dec(x_128); -lean_dec(x_127); lean_dec(x_8); -lean_dec(x_22); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -6954,21 +6915,20 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_667 = !lean_is_exclusive(x_578); +x_667 = !lean_is_exclusive(x_658); if (x_667 == 0) { -return x_578; +return x_658; } else { lean_object* x_668; lean_object* x_669; lean_object* x_670; -x_668 = lean_ctor_get(x_578, 0); -x_669 = lean_ctor_get(x_578, 1); +x_668 = lean_ctor_get(x_658, 0); +x_669 = lean_ctor_get(x_658, 1); lean_inc(x_669); lean_inc(x_668); -lean_dec(x_578); +lean_dec(x_658); x_670 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_670, 0, x_668); lean_ctor_set(x_670, 1, x_669); @@ -6976,30 +6936,75 @@ return x_670; } } } +} +else +{ +uint8_t x_671; +lean_free_object(x_1); +lean_dec(x_129); +lean_dec(x_128); +lean_dec(x_127); +lean_dec(x_8); +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_671 = !lean_is_exclusive(x_582); +if (x_671 == 0) +{ +return x_582; +} +else +{ +lean_object* x_672; lean_object* x_673; lean_object* x_674; +x_672 = lean_ctor_get(x_582, 0); +x_673 = lean_ctor_get(x_582, 1); +lean_inc(x_673); +lean_inc(x_672); +lean_dec(x_582); +x_674 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_674, 0, x_672); +lean_ctor_set(x_674, 1, x_673); +return x_674; +} +} +} else { lean_dec(x_1); -if (lean_obj_tag(x_578) == 0) +if (lean_obj_tag(x_582) == 0) { -lean_object* x_671; lean_object* x_672; uint8_t x_673; -x_671 = lean_ctor_get(x_578, 1); -lean_inc(x_671); -lean_dec(x_578); -x_672 = lean_array_get_size(x_12); -x_673 = lean_nat_dec_lt(x_15, x_672); -lean_dec(x_672); -if (x_673 == 0) +lean_object* x_675; lean_object* x_676; uint8_t x_677; +x_675 = lean_ctor_get(x_582, 1); +lean_inc(x_675); +lean_dec(x_582); +x_676 = lean_array_get_size(x_12); +x_677 = lean_nat_dec_lt(x_15, x_676); +lean_dec(x_676); +if (x_677 == 0) { -uint8_t x_674; +uint8_t x_678; lean_dec(x_129); lean_dec(x_128); lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); -x_674 = l_Array_isEmpty___rarg(x_16); -if (x_674 == 0) +x_678 = l_Array_isEmpty___rarg(x_16); +if (x_678 == 0) { -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_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_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -7007,230 +7012,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_675 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_675, 0, x_127); -x_676 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_677 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_677, 0, x_676); -lean_ctor_set(x_677, 1, x_675); -x_678 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_679 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_679, 0, x_677); -lean_ctor_set(x_679, 1, x_678); -x_680 = x_16; -x_681 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_680); -x_682 = x_681; -x_683 = l_Array_toList___rarg(x_682); -lean_dec(x_682); -x_684 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_683); -x_685 = l_Array_HasRepr___rarg___closed__1; -x_686 = lean_string_append(x_685, x_684); -lean_dec(x_684); -x_687 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_687, 0, x_686); -x_688 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_688, 0, x_687); -x_689 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_689, 0, x_679); -lean_ctor_set(x_689, 1, x_688); -x_690 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_689, x_4, x_5, x_6, x_7, x_8, x_9, x_671); +x_679 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_679, 0, x_127); +x_680 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_681 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_681, 0, x_680); +lean_ctor_set(x_681, 1, x_679); +x_682 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_683 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_683, 0, x_681); +lean_ctor_set(x_683, 1, x_682); +x_684 = x_16; +x_685 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_684); +x_686 = x_685; +x_687 = l_Array_toList___rarg(x_686); +lean_dec(x_686); +x_688 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_687); +x_689 = l_Array_HasRepr___rarg___closed__1; +x_690 = lean_string_append(x_689, x_688); +lean_dec(x_688); +x_691 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_691, 0, x_690); +x_692 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_692, 0, x_691); +x_693 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_693, 0, x_683); +lean_ctor_set(x_693, 1, x_692); +x_694 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_693, x_4, x_5, x_6, x_7, x_8, x_9, x_675); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_690; +return x_694; } else { -lean_object* x_691; uint8_t x_692; +lean_object* x_695; uint8_t x_696; lean_dec(x_127); lean_dec(x_16); -x_691 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_692 = l_Lean_checkTraceOption(x_22, x_691); +x_695 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_696 = l_Lean_checkTraceOption(x_22, x_695); lean_dec(x_22); -if (x_692 == 0) +if (x_696 == 0) { -lean_object* x_693; +lean_object* x_697; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_693 = x_671; -goto block_704; +x_697 = x_675; +goto block_708; } else { -lean_object* x_705; lean_object* x_706; -x_705 = lean_ctor_get(x_13, 0); -lean_inc(x_705); +lean_object* x_709; lean_object* x_710; +x_709 = lean_ctor_get(x_13, 0); +lean_inc(x_709); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_706 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_705, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_671); -if (lean_obj_tag(x_706) == 0) +x_710 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_709, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_675); +if (lean_obj_tag(x_710) == 0) { -lean_object* x_707; -x_707 = lean_ctor_get(x_706, 1); -lean_inc(x_707); -lean_dec(x_706); -x_693 = x_707; -goto block_704; -} -else -{ -lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_708 = lean_ctor_get(x_706, 0); -lean_inc(x_708); -x_709 = lean_ctor_get(x_706, 1); -lean_inc(x_709); -if (lean_is_exclusive(x_706)) { - lean_ctor_release(x_706, 0); - lean_ctor_release(x_706, 1); - x_710 = x_706; -} else { - lean_dec_ref(x_706); - x_710 = lean_box(0); -} -if (lean_is_scalar(x_710)) { - x_711 = lean_alloc_ctor(1, 2, 0); -} else { - x_711 = x_710; -} -lean_ctor_set(x_711, 0, x_708); -lean_ctor_set(x_711, 1, x_709); -return x_711; -} -} -block_704: -{ -lean_object* x_694; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_694 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_693); -lean_dec(x_17); -if (lean_obj_tag(x_694) == 0) -{ -lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; -x_695 = lean_ctor_get(x_694, 1); -lean_inc(x_695); -lean_dec(x_694); -lean_inc(x_2); -x_696 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__10(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_695); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_697 = lean_ctor_get(x_696, 1); -lean_inc(x_697); -if (lean_is_exclusive(x_696)) { - lean_ctor_release(x_696, 0); - lean_ctor_release(x_696, 1); - x_698 = x_696; -} else { - lean_dec_ref(x_696); - x_698 = lean_box(0); -} -if (lean_is_scalar(x_698)) { - x_699 = lean_alloc_ctor(0, 2, 0); -} else { - x_699 = x_698; -} -lean_ctor_set(x_699, 0, x_2); -lean_ctor_set(x_699, 1, x_697); -return x_699; -} -else -{ -lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_700 = lean_ctor_get(x_694, 0); -lean_inc(x_700); -x_701 = lean_ctor_get(x_694, 1); -lean_inc(x_701); -if (lean_is_exclusive(x_694)) { - lean_ctor_release(x_694, 0); - lean_ctor_release(x_694, 1); - x_702 = x_694; -} else { - lean_dec_ref(x_694); - x_702 = lean_box(0); -} -if (lean_is_scalar(x_702)) { - x_703 = lean_alloc_ctor(1, 2, 0); -} else { - x_703 = x_702; -} -lean_ctor_set(x_703, 0, x_700); -lean_ctor_set(x_703, 1, x_701); -return x_703; -} -} +lean_object* x_711; +x_711 = lean_ctor_get(x_710, 1); +lean_inc(x_711); +lean_dec(x_710); +x_697 = x_711; +goto block_708; } else { lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; -lean_inc(x_2); -x_712 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_712, 0, x_2); -x_713 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_691, x_712, x_4, x_5, x_6, x_7, x_8, x_9, x_671); -x_714 = lean_ctor_get(x_713, 1); -lean_inc(x_714); -lean_dec(x_713); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_715 = x_714; -goto block_726; -} -else -{ -lean_object* x_727; lean_object* x_728; -x_727 = lean_ctor_get(x_13, 0); -lean_inc(x_727); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_728 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_727, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_714); -if (lean_obj_tag(x_728) == 0) -{ -lean_object* x_729; -x_729 = lean_ctor_get(x_728, 1); -lean_inc(x_729); -lean_dec(x_728); -x_715 = x_729; -goto block_726; -} -else -{ -lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -7241,46 +7096,46 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_730 = lean_ctor_get(x_728, 0); -lean_inc(x_730); -x_731 = lean_ctor_get(x_728, 1); -lean_inc(x_731); -if (lean_is_exclusive(x_728)) { - lean_ctor_release(x_728, 0); - lean_ctor_release(x_728, 1); - x_732 = x_728; +x_712 = lean_ctor_get(x_710, 0); +lean_inc(x_712); +x_713 = lean_ctor_get(x_710, 1); +lean_inc(x_713); +if (lean_is_exclusive(x_710)) { + lean_ctor_release(x_710, 0); + lean_ctor_release(x_710, 1); + x_714 = x_710; } else { - lean_dec_ref(x_728); - x_732 = lean_box(0); + lean_dec_ref(x_710); + x_714 = lean_box(0); } -if (lean_is_scalar(x_732)) { - x_733 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_714)) { + x_715 = lean_alloc_ctor(1, 2, 0); } else { - x_733 = x_732; + x_715 = x_714; } -lean_ctor_set(x_733, 0, x_730); -lean_ctor_set(x_733, 1, x_731); -return x_733; +lean_ctor_set(x_715, 0, x_712); +lean_ctor_set(x_715, 1, x_713); +return x_715; } } -block_726: +block_708: { -lean_object* x_716; +lean_object* x_698; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_716 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_715); +x_698 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_697); lean_dec(x_17); -if (lean_obj_tag(x_716) == 0) +if (lean_obj_tag(x_698) == 0) { -lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; -x_717 = lean_ctor_get(x_716, 1); -lean_inc(x_717); -lean_dec(x_716); +lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; +x_699 = lean_ctor_get(x_698, 1); +lean_inc(x_699); +lean_dec(x_698); lean_inc(x_2); -x_718 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__11(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_717); +x_700 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__10(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_699); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -7288,28 +7143,28 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_719 = lean_ctor_get(x_718, 1); -lean_inc(x_719); -if (lean_is_exclusive(x_718)) { - lean_ctor_release(x_718, 0); - lean_ctor_release(x_718, 1); - x_720 = x_718; +x_701 = lean_ctor_get(x_700, 1); +lean_inc(x_701); +if (lean_is_exclusive(x_700)) { + lean_ctor_release(x_700, 0); + lean_ctor_release(x_700, 1); + x_702 = x_700; } else { - lean_dec_ref(x_718); - x_720 = lean_box(0); + lean_dec_ref(x_700); + x_702 = lean_box(0); } -if (lean_is_scalar(x_720)) { - x_721 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_702)) { + x_703 = lean_alloc_ctor(0, 2, 0); } else { - x_721 = x_720; + x_703 = x_702; } -lean_ctor_set(x_721, 0, x_2); -lean_ctor_set(x_721, 1, x_719); -return x_721; +lean_ctor_set(x_703, 0, x_2); +lean_ctor_set(x_703, 1, x_701); +return x_703; } else { -lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; +lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_dec(x_8); lean_dec(x_19); lean_dec(x_11); @@ -7319,38 +7174,188 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_722 = lean_ctor_get(x_716, 0); -lean_inc(x_722); -x_723 = lean_ctor_get(x_716, 1); -lean_inc(x_723); -if (lean_is_exclusive(x_716)) { - lean_ctor_release(x_716, 0); - lean_ctor_release(x_716, 1); - x_724 = x_716; +x_704 = lean_ctor_get(x_698, 0); +lean_inc(x_704); +x_705 = lean_ctor_get(x_698, 1); +lean_inc(x_705); +if (lean_is_exclusive(x_698)) { + lean_ctor_release(x_698, 0); + lean_ctor_release(x_698, 1); + x_706 = x_698; } else { - lean_dec_ref(x_716); + lean_dec_ref(x_698); + x_706 = lean_box(0); +} +if (lean_is_scalar(x_706)) { + x_707 = lean_alloc_ctor(1, 2, 0); +} else { + x_707 = x_706; +} +lean_ctor_set(x_707, 0, x_704); +lean_ctor_set(x_707, 1, x_705); +return x_707; +} +} +} +else +{ +lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; +lean_inc(x_2); +x_716 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_716, 0, x_2); +x_717 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_695, x_716, x_4, x_5, x_6, x_7, x_8, x_9, x_675); +x_718 = lean_ctor_get(x_717, 1); +lean_inc(x_718); +lean_dec(x_717); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_719 = x_718; +goto block_730; +} +else +{ +lean_object* x_731; lean_object* x_732; +x_731 = lean_ctor_get(x_13, 0); +lean_inc(x_731); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_732 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_731, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_718); +if (lean_obj_tag(x_732) == 0) +{ +lean_object* x_733; +x_733 = lean_ctor_get(x_732, 1); +lean_inc(x_733); +lean_dec(x_732); +x_719 = x_733; +goto block_730; +} +else +{ +lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_734 = lean_ctor_get(x_732, 0); +lean_inc(x_734); +x_735 = lean_ctor_get(x_732, 1); +lean_inc(x_735); +if (lean_is_exclusive(x_732)) { + lean_ctor_release(x_732, 0); + lean_ctor_release(x_732, 1); + x_736 = x_732; +} else { + lean_dec_ref(x_732); + x_736 = lean_box(0); +} +if (lean_is_scalar(x_736)) { + x_737 = lean_alloc_ctor(1, 2, 0); +} else { + x_737 = x_736; +} +lean_ctor_set(x_737, 0, x_734); +lean_ctor_set(x_737, 1, x_735); +return x_737; +} +} +block_730: +{ +lean_object* x_720; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_720 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_719); +lean_dec(x_17); +if (lean_obj_tag(x_720) == 0) +{ +lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; +x_721 = lean_ctor_get(x_720, 1); +lean_inc(x_721); +lean_dec(x_720); +lean_inc(x_2); +x_722 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__11(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_721); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_723 = lean_ctor_get(x_722, 1); +lean_inc(x_723); +if (lean_is_exclusive(x_722)) { + lean_ctor_release(x_722, 0); + lean_ctor_release(x_722, 1); + x_724 = x_722; +} else { + lean_dec_ref(x_722); x_724 = lean_box(0); } if (lean_is_scalar(x_724)) { - x_725 = lean_alloc_ctor(1, 2, 0); + x_725 = lean_alloc_ctor(0, 2, 0); } else { x_725 = x_724; } -lean_ctor_set(x_725, 0, x_722); +lean_ctor_set(x_725, 0, x_2); lean_ctor_set(x_725, 1, x_723); return x_725; } +else +{ +lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_726 = lean_ctor_get(x_720, 0); +lean_inc(x_726); +x_727 = lean_ctor_get(x_720, 1); +lean_inc(x_727); +if (lean_is_exclusive(x_720)) { + lean_ctor_release(x_720, 0); + lean_ctor_release(x_720, 1); + x_728 = x_720; +} else { + lean_dec_ref(x_720); + x_728 = lean_box(0); +} +if (lean_is_scalar(x_728)) { + x_729 = lean_alloc_ctor(1, 2, 0); +} else { + x_729 = x_728; +} +lean_ctor_set(x_729, 0, x_726); +lean_ctor_set(x_729, 1, x_727); +return x_729; +} } } } } else { -lean_object* x_734; lean_object* x_735; +lean_object* x_738; lean_object* x_739; lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_734 = lean_array_fget(x_12, x_15); +x_738 = lean_array_fget(x_12, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -7358,91 +7363,46 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_735 = l___private_Lean_Elab_App_2__elabArg(x_2, x_734, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_671); -if (lean_obj_tag(x_735) == 0) +x_739 = l___private_Lean_Elab_App_2__elabArg(x_2, x_738, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_675); +if (lean_obj_tag(x_739) == 0) { -lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; uint8_t x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; -x_736 = lean_ctor_get(x_735, 0); -lean_inc(x_736); -x_737 = lean_ctor_get(x_735, 1); -lean_inc(x_737); -lean_dec(x_735); -x_738 = lean_unsigned_to_nat(1u); -x_739 = lean_nat_add(x_15, x_738); +lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; uint8_t x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; +x_740 = lean_ctor_get(x_739, 0); +lean_inc(x_740); +x_741 = lean_ctor_get(x_739, 1); +lean_inc(x_741); +lean_dec(x_739); +x_742 = lean_unsigned_to_nat(1u); +x_743 = lean_nat_add(x_15, x_742); lean_dec(x_15); -x_740 = 1; -x_741 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_741, 0, x_11); -lean_ctor_set(x_741, 1, x_12); -lean_ctor_set(x_741, 2, x_13); -lean_ctor_set(x_741, 3, x_739); -lean_ctor_set(x_741, 4, x_16); -lean_ctor_set(x_741, 5, x_17); -lean_ctor_set(x_741, 6, x_18); -lean_ctor_set(x_741, 7, x_19); -lean_ctor_set_uint8(x_741, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_741, sizeof(void*)*8 + 1, x_740); -lean_inc(x_736); -x_742 = l_Lean_mkApp(x_2, x_736); -x_743 = lean_expr_instantiate1(x_129, x_736); -lean_dec(x_736); +x_744 = 1; +x_745 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_745, 0, x_11); +lean_ctor_set(x_745, 1, x_12); +lean_ctor_set(x_745, 2, x_13); +lean_ctor_set(x_745, 3, x_743); +lean_ctor_set(x_745, 4, x_16); +lean_ctor_set(x_745, 5, x_17); +lean_ctor_set(x_745, 6, x_18); +lean_ctor_set(x_745, 7, x_19); +lean_ctor_set_uint8(x_745, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_745, sizeof(void*)*8 + 1, x_744); +lean_inc(x_740); +x_746 = l_Lean_mkApp(x_2, x_740); +x_747 = lean_expr_instantiate1(x_129, x_740); +lean_dec(x_740); lean_dec(x_129); -x_1 = x_741; -x_2 = x_742; -x_3 = x_743; -x_10 = x_737; +x_1 = x_745; +x_2 = x_746; +x_3 = x_747; +x_10 = x_741; goto _start; } else { -lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; -lean_dec(x_129); -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_745 = lean_ctor_get(x_735, 0); -lean_inc(x_745); -x_746 = lean_ctor_get(x_735, 1); -lean_inc(x_746); -if (lean_is_exclusive(x_735)) { - lean_ctor_release(x_735, 0); - lean_ctor_release(x_735, 1); - x_747 = x_735; -} else { - lean_dec_ref(x_735); - x_747 = lean_box(0); -} -if (lean_is_scalar(x_747)) { - x_748 = lean_alloc_ctor(1, 2, 0); -} else { - x_748 = x_747; -} -lean_ctor_set(x_748, 0, x_745); -lean_ctor_set(x_748, 1, x_746); -return x_748; -} -} -} -else -{ lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_dec(x_129); -lean_dec(x_128); -lean_dec(x_127); lean_dec(x_8); -lean_dec(x_22); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -7456,18 +7416,17 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_749 = lean_ctor_get(x_578, 0); +x_749 = lean_ctor_get(x_739, 0); lean_inc(x_749); -x_750 = lean_ctor_get(x_578, 1); +x_750 = lean_ctor_get(x_739, 1); lean_inc(x_750); -if (lean_is_exclusive(x_578)) { - lean_ctor_release(x_578, 0); - lean_ctor_release(x_578, 1); - x_751 = x_578; +if (lean_is_exclusive(x_739)) { + lean_ctor_release(x_739, 0); + lean_ctor_release(x_739, 1); + x_751 = x_739; } else { - lean_dec_ref(x_578); + lean_dec_ref(x_739); x_751 = lean_box(0); } if (lean_is_scalar(x_751)) { @@ -7481,43 +7440,89 @@ return x_752; } } } +else +{ +lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; +lean_dec(x_129); +lean_dec(x_128); +lean_dec(x_127); +lean_dec(x_8); +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_753 = lean_ctor_get(x_582, 0); +lean_inc(x_753); +x_754 = lean_ctor_get(x_582, 1); +lean_inc(x_754); +if (lean_is_exclusive(x_582)) { + lean_ctor_release(x_582, 0); + lean_ctor_release(x_582, 1); + x_755 = x_582; +} else { + lean_dec_ref(x_582); + x_755 = lean_box(0); +} +if (lean_is_scalar(x_755)) { + x_756 = lean_alloc_ctor(1, 2, 0); +} else { + x_756 = x_755; +} +lean_ctor_set(x_756, 0, x_753); +lean_ctor_set(x_756, 1, x_754); +return x_756; +} +} +} } case 2: { -lean_object* x_753; uint8_t x_754; +lean_object* x_757; uint8_t x_758; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_753 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); -x_754 = !lean_is_exclusive(x_1); -if (x_754 == 0) +x_757 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_758 = !lean_is_exclusive(x_1); +if (x_758 == 0) { -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; -x_755 = lean_ctor_get(x_1, 7); -lean_dec(x_755); -x_756 = lean_ctor_get(x_1, 6); -lean_dec(x_756); -x_757 = lean_ctor_get(x_1, 5); -lean_dec(x_757); -x_758 = lean_ctor_get(x_1, 4); -lean_dec(x_758); -x_759 = lean_ctor_get(x_1, 3); +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; +x_759 = lean_ctor_get(x_1, 7); lean_dec(x_759); -x_760 = lean_ctor_get(x_1, 2); +x_760 = lean_ctor_get(x_1, 6); lean_dec(x_760); -x_761 = lean_ctor_get(x_1, 1); +x_761 = lean_ctor_get(x_1, 5); lean_dec(x_761); -x_762 = lean_ctor_get(x_1, 0); +x_762 = lean_ctor_get(x_1, 4); lean_dec(x_762); -if (lean_obj_tag(x_753) == 0) +x_763 = lean_ctor_get(x_1, 3); +lean_dec(x_763); +x_764 = lean_ctor_get(x_1, 2); +lean_dec(x_764); +x_765 = lean_ctor_get(x_1, 1); +lean_dec(x_765); +x_766 = lean_ctor_get(x_1, 0); +lean_dec(x_766); +if (lean_obj_tag(x_757) == 0) { -lean_object* x_763; uint8_t x_764; lean_object* x_765; uint8_t x_766; -x_763 = lean_ctor_get(x_753, 1); -lean_inc(x_763); -lean_dec(x_753); -x_764 = 1; +lean_object* x_767; uint8_t x_768; lean_object* x_769; uint8_t x_770; +x_767 = lean_ctor_get(x_757, 1); +lean_inc(x_767); +lean_dec(x_757); +x_768 = 1; lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -7526,33 +7531,33 @@ lean_inc(x_15); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_ctor_set_uint8(x_1, sizeof(void*)*8 + 1, x_764); -x_765 = lean_array_get_size(x_12); -x_766 = lean_nat_dec_lt(x_15, x_765); -lean_dec(x_765); -if (x_766 == 0) +lean_ctor_set_uint8(x_1, sizeof(void*)*8 + 1, x_768); +x_769 = lean_array_get_size(x_12); +x_770 = lean_nat_dec_lt(x_15, x_769); +lean_dec(x_769); +if (x_770 == 0) { lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); if (x_14 == 0) { -lean_object* x_767; -x_767 = l_Lean_Expr_getOptParamDefault_x3f(x_128); -if (lean_obj_tag(x_767) == 0) +lean_object* x_771; +x_771 = l_Lean_Expr_getOptParamDefault_x3f(x_128); +if (lean_obj_tag(x_771) == 0) { -lean_object* x_768; -x_768 = l_Lean_Expr_getAutoParamTactic_x3f(x_128); -if (lean_obj_tag(x_768) == 0) +lean_object* x_772; +x_772 = l_Lean_Expr_getAutoParamTactic_x3f(x_128); +if (lean_obj_tag(x_772) == 0) { -uint8_t x_769; +uint8_t x_773; lean_dec(x_1); lean_dec(x_129); lean_dec(x_128); -x_769 = l_Array_isEmpty___rarg(x_16); -if (x_769 == 0) +x_773 = l_Array_isEmpty___rarg(x_16); +if (x_773 == 0) { -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_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; lean_object* x_789; lean_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -7560,228 +7565,228 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_770 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_770, 0, x_127); -x_771 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_772 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_772, 0, x_771); -lean_ctor_set(x_772, 1, x_770); -x_773 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_774 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_774, 0, x_772); -lean_ctor_set(x_774, 1, x_773); -x_775 = x_16; -x_776 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_775); -x_777 = x_776; -x_778 = l_Array_toList___rarg(x_777); -lean_dec(x_777); -x_779 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_778); -x_780 = l_Array_HasRepr___rarg___closed__1; -x_781 = lean_string_append(x_780, x_779); -lean_dec(x_779); -x_782 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_782, 0, x_781); -x_783 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_783, 0, x_782); -x_784 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_784, 0, x_774); -lean_ctor_set(x_784, 1, x_783); -x_785 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_784, x_4, x_5, x_6, x_7, x_8, x_9, x_763); +x_774 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_774, 0, x_127); +x_775 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_776 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_776, 0, x_775); +lean_ctor_set(x_776, 1, x_774); +x_777 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_778 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_778, 0, x_776); +lean_ctor_set(x_778, 1, x_777); +x_779 = x_16; +x_780 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_779); +x_781 = x_780; +x_782 = l_Array_toList___rarg(x_781); +lean_dec(x_781); +x_783 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_782); +x_784 = l_Array_HasRepr___rarg___closed__1; +x_785 = lean_string_append(x_784, x_783); +lean_dec(x_783); +x_786 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_786, 0, x_785); +x_787 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_787, 0, x_786); +x_788 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_788, 0, x_778); +lean_ctor_set(x_788, 1, x_787); +x_789 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_788, x_4, x_5, x_6, x_7, x_8, x_9, x_767); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_785; -} -else -{ -lean_object* x_786; uint8_t x_787; -lean_dec(x_127); -lean_dec(x_16); -x_786 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_787 = l_Lean_checkTraceOption(x_22, x_786); -lean_dec(x_22); -if (x_787 == 0) -{ -lean_object* x_788; -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_788 = x_763; -goto block_800; -} -else -{ -lean_object* x_801; lean_object* x_802; -x_801 = lean_ctor_get(x_13, 0); -lean_inc(x_801); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_802 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_801, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_763); -if (lean_obj_tag(x_802) == 0) -{ -lean_object* x_803; -x_803 = lean_ctor_get(x_802, 1); -lean_inc(x_803); -lean_dec(x_802); -x_788 = x_803; -goto block_800; -} -else -{ -uint8_t x_804; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_804 = !lean_is_exclusive(x_802); -if (x_804 == 0) -{ -return x_802; -} -else -{ -lean_object* x_805; lean_object* x_806; lean_object* x_807; -x_805 = lean_ctor_get(x_802, 0); -x_806 = lean_ctor_get(x_802, 1); -lean_inc(x_806); -lean_inc(x_805); -lean_dec(x_802); -x_807 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_807, 0, x_805); -lean_ctor_set(x_807, 1, x_806); -return x_807; -} -} -} -block_800: -{ -lean_object* x_789; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_789 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_788); -lean_dec(x_17); -if (lean_obj_tag(x_789) == 0) -{ -lean_object* x_790; lean_object* x_791; uint8_t x_792; -x_790 = lean_ctor_get(x_789, 1); -lean_inc(x_790); -lean_dec(x_789); -lean_inc(x_2); -x_791 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__12(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_790); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_792 = !lean_is_exclusive(x_791); -if (x_792 == 0) -{ -lean_object* x_793; -x_793 = lean_ctor_get(x_791, 0); -lean_dec(x_793); -lean_ctor_set(x_791, 0, x_2); -return x_791; -} -else -{ -lean_object* x_794; lean_object* x_795; -x_794 = lean_ctor_get(x_791, 1); -lean_inc(x_794); -lean_dec(x_791); -x_795 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_795, 0, x_2); -lean_ctor_set(x_795, 1, x_794); -return x_795; -} -} -else -{ -uint8_t x_796; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_796 = !lean_is_exclusive(x_789); -if (x_796 == 0) -{ return x_789; } else { -lean_object* x_797; lean_object* x_798; lean_object* x_799; -x_797 = lean_ctor_get(x_789, 0); -x_798 = lean_ctor_get(x_789, 1); +lean_object* x_790; uint8_t x_791; +lean_dec(x_127); +lean_dec(x_16); +x_790 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_791 = l_Lean_checkTraceOption(x_22, x_790); +lean_dec(x_22); +if (x_791 == 0) +{ +lean_object* x_792; +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_792 = x_767; +goto block_804; +} +else +{ +lean_object* x_805; lean_object* x_806; +x_805 = lean_ctor_get(x_13, 0); +lean_inc(x_805); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_806 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_805, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_767); +if (lean_obj_tag(x_806) == 0) +{ +lean_object* x_807; +x_807 = lean_ctor_get(x_806, 1); +lean_inc(x_807); +lean_dec(x_806); +x_792 = x_807; +goto block_804; +} +else +{ +uint8_t x_808; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_808 = !lean_is_exclusive(x_806); +if (x_808 == 0) +{ +return x_806; +} +else +{ +lean_object* x_809; lean_object* x_810; lean_object* x_811; +x_809 = lean_ctor_get(x_806, 0); +x_810 = lean_ctor_get(x_806, 1); +lean_inc(x_810); +lean_inc(x_809); +lean_dec(x_806); +x_811 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_811, 0, x_809); +lean_ctor_set(x_811, 1, x_810); +return x_811; +} +} +} +block_804: +{ +lean_object* x_793; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_793 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_792); +lean_dec(x_17); +if (lean_obj_tag(x_793) == 0) +{ +lean_object* x_794; lean_object* x_795; uint8_t x_796; +x_794 = lean_ctor_get(x_793, 1); +lean_inc(x_794); +lean_dec(x_793); +lean_inc(x_2); +x_795 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__12(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_794); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_796 = !lean_is_exclusive(x_795); +if (x_796 == 0) +{ +lean_object* x_797; +x_797 = lean_ctor_get(x_795, 0); +lean_dec(x_797); +lean_ctor_set(x_795, 0, x_2); +return x_795; +} +else +{ +lean_object* x_798; lean_object* x_799; +x_798 = lean_ctor_get(x_795, 1); lean_inc(x_798); -lean_inc(x_797); -lean_dec(x_789); -x_799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_799, 0, x_797); +lean_dec(x_795); +x_799 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_799, 0, x_2); lean_ctor_set(x_799, 1, x_798); return x_799; } } +else +{ +uint8_t x_800; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_800 = !lean_is_exclusive(x_793); +if (x_800 == 0) +{ +return x_793; +} +else +{ +lean_object* x_801; lean_object* x_802; lean_object* x_803; +x_801 = lean_ctor_get(x_793, 0); +x_802 = lean_ctor_get(x_793, 1); +lean_inc(x_802); +lean_inc(x_801); +lean_dec(x_793); +x_803 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_803, 0, x_801); +lean_ctor_set(x_803, 1, x_802); +return x_803; +} +} } } else { -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_inc(x_2); -x_808 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_808, 0, x_2); -x_809 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_786, x_808, x_4, x_5, x_6, x_7, x_8, x_9, x_763); -x_810 = lean_ctor_get(x_809, 1); -lean_inc(x_810); -lean_dec(x_809); +x_812 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_812, 0, x_2); +x_813 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_790, x_812, x_4, x_5, x_6, x_7, x_8, x_9, x_767); +x_814 = lean_ctor_get(x_813, 1); +lean_inc(x_814); +lean_dec(x_813); if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_811 = x_810; -goto block_823; +x_815 = x_814; +goto block_827; } else { -lean_object* x_824; lean_object* x_825; -x_824 = lean_ctor_get(x_13, 0); -lean_inc(x_824); +lean_object* x_828; lean_object* x_829; +x_828 = lean_ctor_get(x_13, 0); +lean_inc(x_828); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_825 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_824, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_810); -if (lean_obj_tag(x_825) == 0) +x_829 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_828, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_814); +if (lean_obj_tag(x_829) == 0) { -lean_object* x_826; -x_826 = lean_ctor_get(x_825, 1); -lean_inc(x_826); -lean_dec(x_825); -x_811 = x_826; -goto block_823; +lean_object* x_830; +x_830 = lean_ctor_get(x_829, 1); +lean_inc(x_830); +lean_dec(x_829); +x_815 = x_830; +goto block_827; } else { -uint8_t x_827; +uint8_t x_831; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -7792,110 +7797,110 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_827 = !lean_is_exclusive(x_825); -if (x_827 == 0) +x_831 = !lean_is_exclusive(x_829); +if (x_831 == 0) { -return x_825; +return x_829; } else { -lean_object* x_828; lean_object* x_829; lean_object* x_830; -x_828 = lean_ctor_get(x_825, 0); -x_829 = lean_ctor_get(x_825, 1); -lean_inc(x_829); -lean_inc(x_828); -lean_dec(x_825); -x_830 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_830, 0, x_828); -lean_ctor_set(x_830, 1, x_829); -return x_830; +lean_object* x_832; lean_object* x_833; lean_object* x_834; +x_832 = lean_ctor_get(x_829, 0); +x_833 = lean_ctor_get(x_829, 1); +lean_inc(x_833); +lean_inc(x_832); +lean_dec(x_829); +x_834 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_834, 0, x_832); +lean_ctor_set(x_834, 1, x_833); +return x_834; } } } -block_823: +block_827: { -lean_object* x_812; +lean_object* x_816; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_812 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_811); +x_816 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_815); lean_dec(x_17); -if (lean_obj_tag(x_812) == 0) +if (lean_obj_tag(x_816) == 0) { -lean_object* x_813; lean_object* x_814; uint8_t x_815; -x_813 = lean_ctor_get(x_812, 1); -lean_inc(x_813); -lean_dec(x_812); -lean_inc(x_2); -x_814 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__13(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_813); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_815 = !lean_is_exclusive(x_814); -if (x_815 == 0) -{ -lean_object* x_816; -x_816 = lean_ctor_get(x_814, 0); -lean_dec(x_816); -lean_ctor_set(x_814, 0, x_2); -return x_814; -} -else -{ -lean_object* x_817; lean_object* x_818; -x_817 = lean_ctor_get(x_814, 1); +lean_object* x_817; lean_object* x_818; uint8_t x_819; +x_817 = lean_ctor_get(x_816, 1); lean_inc(x_817); -lean_dec(x_814); -x_818 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_818, 0, x_2); -lean_ctor_set(x_818, 1, x_817); -return x_818; -} -} -else -{ -uint8_t x_819; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); +lean_dec(x_816); +lean_inc(x_2); +x_818 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__13(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_817); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -x_819 = !lean_is_exclusive(x_812); +lean_dec(x_19); +x_819 = !lean_is_exclusive(x_818); if (x_819 == 0) { -return x_812; +lean_object* x_820; +x_820 = lean_ctor_get(x_818, 0); +lean_dec(x_820); +lean_ctor_set(x_818, 0, x_2); +return x_818; } else { -lean_object* x_820; lean_object* x_821; lean_object* x_822; -x_820 = lean_ctor_get(x_812, 0); -x_821 = lean_ctor_get(x_812, 1); +lean_object* x_821; lean_object* x_822; +x_821 = lean_ctor_get(x_818, 1); lean_inc(x_821); -lean_inc(x_820); -lean_dec(x_812); -x_822 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_822, 0, x_820); +lean_dec(x_818); +x_822 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_822, 0, x_2); lean_ctor_set(x_822, 1, x_821); return x_822; } } +else +{ +uint8_t x_823; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_823 = !lean_is_exclusive(x_816); +if (x_823 == 0) +{ +return x_816; +} +else +{ +lean_object* x_824; lean_object* x_825; lean_object* x_826; +x_824 = lean_ctor_get(x_816, 0); +x_825 = lean_ctor_get(x_816, 1); +lean_inc(x_825); +lean_inc(x_824); +lean_dec(x_816); +x_826 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_826, 0, x_824); +lean_ctor_set(x_826, 1, x_825); +return x_826; +} +} } } } } else { -lean_object* x_831; +lean_object* x_835; lean_dec(x_127); lean_dec(x_22); lean_dec(x_19); @@ -7903,102 +7908,104 @@ lean_dec(x_17); lean_dec(x_16); lean_dec(x_13); lean_dec(x_3); -x_831 = lean_ctor_get(x_768, 0); -lean_inc(x_831); -lean_dec(x_768); -if (lean_obj_tag(x_831) == 4) -{ -lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; -x_832 = lean_ctor_get(x_831, 0); -lean_inc(x_832); -lean_dec(x_831); -x_833 = lean_st_ref_get(x_9, x_763); -x_834 = lean_ctor_get(x_833, 0); -lean_inc(x_834); -x_835 = lean_ctor_get(x_833, 1); +x_835 = lean_ctor_get(x_772, 0); lean_inc(x_835); -lean_dec(x_833); -x_836 = lean_ctor_get(x_834, 0); -lean_inc(x_836); -lean_dec(x_834); -x_837 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_836, x_832); -if (lean_obj_tag(x_837) == 0) +lean_dec(x_772); +if (lean_obj_tag(x_835) == 4) { -lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; +lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; +x_836 = lean_ctor_get(x_835, 0); +lean_inc(x_836); +lean_dec(x_835); +x_837 = lean_st_ref_get(x_9, x_767); +x_838 = lean_ctor_get(x_837, 0); +lean_inc(x_838); +x_839 = lean_ctor_get(x_837, 1); +lean_inc(x_839); +lean_dec(x_837); +x_840 = lean_ctor_get(x_838, 0); +lean_inc(x_840); +lean_dec(x_838); +x_841 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_840, x_836); +if (lean_obj_tag(x_841) == 0) +{ +lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_dec(x_1); lean_dec(x_129); lean_dec(x_128); lean_dec(x_11); lean_dec(x_2); -x_838 = lean_ctor_get(x_837, 0); -lean_inc(x_838); -lean_dec(x_837); -x_839 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_839, 0, x_838); -x_840 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_840, 0, x_839); -x_841 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_840, x_4, x_5, x_6, x_7, x_8, x_9, x_835); +x_842 = lean_ctor_get(x_841, 0); +lean_inc(x_842); +lean_dec(x_841); +x_843 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_843, 0, x_842); +x_844 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_844, 0, x_843); +x_845 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_844, x_4, x_5, x_6, x_7, x_8, x_9, x_839); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_841; +return x_845; } else { -lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; 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; -x_842 = lean_ctor_get(x_837, 0); -lean_inc(x_842); -lean_dec(x_837); -x_843 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_835); -x_844 = lean_ctor_get(x_843, 1); -lean_inc(x_844); -lean_dec(x_843); -x_845 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_844); -x_846 = lean_ctor_get(x_845, 1); +lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; 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; +x_846 = lean_ctor_get(x_841, 0); lean_inc(x_846); -lean_dec(x_845); -x_847 = l_Lean_Syntax_getArgs(x_842); -lean_dec(x_842); -x_848 = l_Array_empty___closed__1; -x_849 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_847, x_847, x_131, x_848); +lean_dec(x_841); +x_847 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_839); +x_848 = lean_ctor_get(x_847, 1); +lean_inc(x_848); lean_dec(x_847); -x_850 = l_Lean_nullKind___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_852 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_853 = lean_array_push(x_852, x_851); -x_854 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; +x_849 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_848); +x_850 = lean_ctor_get(x_849, 1); +lean_inc(x_850); +lean_dec(x_849); +x_851 = l_Lean_Syntax_getArgs(x_846); +lean_dec(x_846); +x_852 = l_Array_empty___closed__1; +x_853 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_851, x_851, x_131, x_852); +lean_dec(x_851); +x_854 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; x_855 = lean_array_push(x_853, x_854); -x_856 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_856 = l_Lean_nullKind___closed__2; x_857 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_857, 0, x_856); lean_ctor_set(x_857, 1, x_855); -x_858 = lean_array_push(x_848, x_857); -x_859 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___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___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; -x_862 = lean_array_push(x_861, x_860); -x_863 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -x_864 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_864, 0, x_863); -lean_ctor_set(x_864, 1, x_862); -x_865 = l_Lean_Syntax_copyInfo(x_864, x_11); +x_858 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_859 = lean_array_push(x_858, x_857); +x_860 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; +x_861 = lean_array_push(x_859, x_860); +x_862 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_863 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_863, 0, x_862); +lean_ctor_set(x_863, 1, x_861); +x_864 = lean_array_push(x_852, x_863); +x_865 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___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_App_9__elabAppArgsAux___main___closed__15; +x_868 = lean_array_push(x_867, x_866); +x_869 = l___regBuiltin_Lean_Elab_Term_elabByTactic___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_Lean_Syntax_copyInfo(x_870, x_11); lean_dec(x_11); -x_866 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); -x_867 = lean_nat_sub(x_866, x_131); -lean_dec(x_866); -x_868 = lean_unsigned_to_nat(1u); -x_869 = lean_nat_sub(x_867, x_868); -lean_dec(x_867); -x_870 = l_Lean_Expr_getRevArg_x21___main(x_128, x_869); +x_872 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); +x_873 = lean_nat_sub(x_872, x_131); +lean_dec(x_872); +x_874 = lean_unsigned_to_nat(1u); +x_875 = lean_nat_sub(x_873, x_874); +lean_dec(x_873); +x_876 = l_Lean_Expr_getRevArg_x21___main(x_128, x_875); lean_dec(x_128); -x_871 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_871, 0, x_865); +x_877 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_877, 0, x_871); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -8006,81 +8013,81 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_872 = l___private_Lean_Elab_App_2__elabArg(x_2, x_871, x_870, x_4, x_5, x_6, x_7, x_8, x_9, x_846); -if (lean_obj_tag(x_872) == 0) +x_878 = l___private_Lean_Elab_App_2__elabArg(x_2, x_877, x_876, x_4, x_5, x_6, x_7, x_8, x_9, x_850); +if (lean_obj_tag(x_878) == 0) { -lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; -x_873 = lean_ctor_get(x_872, 0); -lean_inc(x_873); -x_874 = lean_ctor_get(x_872, 1); -lean_inc(x_874); -lean_dec(x_872); -lean_inc(x_873); -x_875 = l_Lean_mkApp(x_2, x_873); -x_876 = lean_expr_instantiate1(x_129, x_873); -lean_dec(x_873); -lean_dec(x_129); -x_2 = x_875; -x_3 = x_876; -x_10 = x_874; -goto _start; -} -else -{ -uint8_t x_878; -lean_dec(x_1); -lean_dec(x_129); -lean_dec(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_878 = !lean_is_exclusive(x_872); -if (x_878 == 0) -{ -return x_872; -} -else -{ -lean_object* x_879; lean_object* x_880; lean_object* x_881; -x_879 = lean_ctor_get(x_872, 0); -x_880 = lean_ctor_get(x_872, 1); -lean_inc(x_880); +lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; +x_879 = lean_ctor_get(x_878, 0); lean_inc(x_879); -lean_dec(x_872); -x_881 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_881, 0, x_879); -lean_ctor_set(x_881, 1, x_880); -return x_881; +x_880 = lean_ctor_get(x_878, 1); +lean_inc(x_880); +lean_dec(x_878); +lean_inc(x_879); +x_881 = l_Lean_mkApp(x_2, x_879); +x_882 = lean_expr_instantiate1(x_129, x_879); +lean_dec(x_879); +lean_dec(x_129); +x_2 = x_881; +x_3 = x_882; +x_10 = x_880; +goto _start; +} +else +{ +uint8_t x_884; +lean_dec(x_1); +lean_dec(x_129); +lean_dec(x_8); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_884 = !lean_is_exclusive(x_878); +if (x_884 == 0) +{ +return x_878; +} +else +{ +lean_object* x_885; lean_object* x_886; lean_object* x_887; +x_885 = lean_ctor_get(x_878, 0); +x_886 = lean_ctor_get(x_878, 1); +lean_inc(x_886); +lean_inc(x_885); +lean_dec(x_878); +x_887 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_887, 0, x_885); +lean_ctor_set(x_887, 1, x_886); +return x_887; } } } } else { -lean_object* x_882; lean_object* x_883; -lean_dec(x_831); +lean_object* x_888; lean_object* x_889; +lean_dec(x_835); lean_dec(x_1); lean_dec(x_129); lean_dec(x_128); lean_dec(x_11); lean_dec(x_2); -x_882 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; -x_883 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_882, x_4, x_5, x_6, x_7, x_8, x_9, x_763); +x_888 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; +x_889 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_888, x_4, x_5, x_6, x_7, x_8, x_9, x_767); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_883; +return x_889; } } } else { -lean_object* x_884; lean_object* x_885; lean_object* x_886; +lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_dec(x_128); lean_dec(x_127); lean_dec(x_22); @@ -8090,30 +8097,30 @@ lean_dec(x_16); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); -x_884 = lean_ctor_get(x_767, 0); -lean_inc(x_884); -lean_dec(x_767); -lean_inc(x_884); -x_885 = l_Lean_mkApp(x_2, x_884); -x_886 = lean_expr_instantiate1(x_129, x_884); -lean_dec(x_884); +x_890 = lean_ctor_get(x_771, 0); +lean_inc(x_890); +lean_dec(x_771); +lean_inc(x_890); +x_891 = l_Lean_mkApp(x_2, x_890); +x_892 = lean_expr_instantiate1(x_129, x_890); +lean_dec(x_890); lean_dec(x_129); -x_2 = x_885; -x_3 = x_886; -x_10 = x_763; +x_2 = x_891; +x_3 = x_892; +x_10 = x_767; goto _start; } } else { -uint8_t x_888; +uint8_t x_894; lean_dec(x_1); lean_dec(x_129); lean_dec(x_128); -x_888 = l_Array_isEmpty___rarg(x_16); -if (x_888 == 0) +x_894 = l_Array_isEmpty___rarg(x_16); +if (x_894 == 0) { -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_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_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -8121,228 +8128,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_889 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_889, 0, x_127); -x_890 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_891 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_891, 0, x_890); -lean_ctor_set(x_891, 1, x_889); -x_892 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_893 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_893, 0, x_891); -lean_ctor_set(x_893, 1, x_892); -x_894 = x_16; -x_895 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_894); -x_896 = x_895; -x_897 = l_Array_toList___rarg(x_896); -lean_dec(x_896); -x_898 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_897); -x_899 = l_Array_HasRepr___rarg___closed__1; -x_900 = lean_string_append(x_899, x_898); -lean_dec(x_898); -x_901 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_901, 0, x_900); -x_902 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_902, 0, x_901); -x_903 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_903, 0, x_893); -lean_ctor_set(x_903, 1, x_902); -x_904 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_903, x_4, x_5, x_6, x_7, x_8, x_9, x_763); +x_895 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_895, 0, x_127); +x_896 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_897 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_897, 0, x_896); +lean_ctor_set(x_897, 1, x_895); +x_898 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_899 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_899, 0, x_897); +lean_ctor_set(x_899, 1, x_898); +x_900 = x_16; +x_901 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_900); +x_902 = x_901; +x_903 = l_Array_toList___rarg(x_902); +lean_dec(x_902); +x_904 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_903); +x_905 = l_Array_HasRepr___rarg___closed__1; +x_906 = lean_string_append(x_905, x_904); +lean_dec(x_904); +x_907 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_907, 0, x_906); +x_908 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_908, 0, x_907); +x_909 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_909, 0, x_899); +lean_ctor_set(x_909, 1, x_908); +x_910 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_909, x_4, x_5, x_6, x_7, x_8, x_9, x_767); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_904; -} -else -{ -lean_object* x_905; uint8_t x_906; -lean_dec(x_127); -lean_dec(x_16); -x_905 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_906 = l_Lean_checkTraceOption(x_22, x_905); -lean_dec(x_22); -if (x_906 == 0) -{ -lean_object* x_907; -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_907 = x_763; -goto block_919; -} -else -{ -lean_object* x_920; lean_object* x_921; -x_920 = lean_ctor_get(x_13, 0); -lean_inc(x_920); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_921 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_920, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_763); -if (lean_obj_tag(x_921) == 0) -{ -lean_object* x_922; -x_922 = lean_ctor_get(x_921, 1); -lean_inc(x_922); -lean_dec(x_921); -x_907 = x_922; -goto block_919; -} -else -{ -uint8_t x_923; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_923 = !lean_is_exclusive(x_921); -if (x_923 == 0) -{ -return x_921; -} -else -{ -lean_object* x_924; lean_object* x_925; lean_object* x_926; -x_924 = lean_ctor_get(x_921, 0); -x_925 = lean_ctor_get(x_921, 1); -lean_inc(x_925); -lean_inc(x_924); -lean_dec(x_921); -x_926 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_926, 0, x_924); -lean_ctor_set(x_926, 1, x_925); -return x_926; -} -} -} -block_919: -{ -lean_object* x_908; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_908 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_907); -lean_dec(x_17); -if (lean_obj_tag(x_908) == 0) -{ -lean_object* x_909; lean_object* x_910; uint8_t x_911; -x_909 = lean_ctor_get(x_908, 1); -lean_inc(x_909); -lean_dec(x_908); -lean_inc(x_2); -x_910 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__14(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_909); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_911 = !lean_is_exclusive(x_910); -if (x_911 == 0) -{ -lean_object* x_912; -x_912 = lean_ctor_get(x_910, 0); -lean_dec(x_912); -lean_ctor_set(x_910, 0, x_2); return x_910; } else { -lean_object* x_913; lean_object* x_914; -x_913 = lean_ctor_get(x_910, 1); -lean_inc(x_913); -lean_dec(x_910); -x_914 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_914, 0, x_2); -lean_ctor_set(x_914, 1, x_913); -return x_914; -} -} -else +lean_object* x_911; uint8_t x_912; +lean_dec(x_127); +lean_dec(x_16); +x_911 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_912 = l_Lean_checkTraceOption(x_22, x_911); +lean_dec(x_22); +if (x_912 == 0) { -uint8_t x_915; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_915 = !lean_is_exclusive(x_908); -if (x_915 == 0) -{ -return x_908; -} -else -{ -lean_object* x_916; lean_object* x_917; lean_object* x_918; -x_916 = lean_ctor_get(x_908, 0); -x_917 = lean_ctor_get(x_908, 1); -lean_inc(x_917); -lean_inc(x_916); -lean_dec(x_908); -x_918 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_918, 0, x_916); -lean_ctor_set(x_918, 1, x_917); -return x_918; -} -} -} -} -else -{ -lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; -lean_inc(x_2); -x_927 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_927, 0, x_2); -x_928 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_905, x_927, x_4, x_5, x_6, x_7, x_8, x_9, x_763); -x_929 = lean_ctor_get(x_928, 1); -lean_inc(x_929); -lean_dec(x_928); +lean_object* x_913; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_930 = x_929; -goto block_942; +x_913 = x_767; +goto block_925; } else { -lean_object* x_943; lean_object* x_944; -x_943 = lean_ctor_get(x_13, 0); -lean_inc(x_943); +lean_object* x_926; lean_object* x_927; +x_926 = lean_ctor_get(x_13, 0); +lean_inc(x_926); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_944 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_943, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_929); -if (lean_obj_tag(x_944) == 0) +x_927 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_926, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_767); +if (lean_obj_tag(x_927) == 0) { -lean_object* x_945; -x_945 = lean_ctor_get(x_944, 1); -lean_inc(x_945); -lean_dec(x_944); -x_930 = x_945; -goto block_942; +lean_object* x_928; +x_928 = lean_ctor_get(x_927, 1); +lean_inc(x_928); +lean_dec(x_927); +x_913 = x_928; +goto block_925; } else { -uint8_t x_946; +uint8_t x_929; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -8353,44 +8212,44 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_946 = !lean_is_exclusive(x_944); -if (x_946 == 0) +x_929 = !lean_is_exclusive(x_927); +if (x_929 == 0) { -return x_944; +return x_927; } else { -lean_object* x_947; lean_object* x_948; lean_object* x_949; -x_947 = lean_ctor_get(x_944, 0); -x_948 = lean_ctor_get(x_944, 1); -lean_inc(x_948); -lean_inc(x_947); -lean_dec(x_944); -x_949 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_949, 0, x_947); -lean_ctor_set(x_949, 1, x_948); -return x_949; +lean_object* x_930; lean_object* x_931; lean_object* x_932; +x_930 = lean_ctor_get(x_927, 0); +x_931 = lean_ctor_get(x_927, 1); +lean_inc(x_931); +lean_inc(x_930); +lean_dec(x_927); +x_932 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_932, 0, x_930); +lean_ctor_set(x_932, 1, x_931); +return x_932; } } } -block_942: +block_925: { -lean_object* x_931; +lean_object* x_914; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_931 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_930); +x_914 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_913); lean_dec(x_17); -if (lean_obj_tag(x_931) == 0) +if (lean_obj_tag(x_914) == 0) { -lean_object* x_932; lean_object* x_933; uint8_t x_934; -x_932 = lean_ctor_get(x_931, 1); -lean_inc(x_932); -lean_dec(x_931); +lean_object* x_915; lean_object* x_916; uint8_t x_917; +x_915 = lean_ctor_get(x_914, 1); +lean_inc(x_915); +lean_dec(x_914); lean_inc(x_2); -x_933 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__15(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_932); +x_916 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__14(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_915); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -8398,30 +8257,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_934 = !lean_is_exclusive(x_933); -if (x_934 == 0) +x_917 = !lean_is_exclusive(x_916); +if (x_917 == 0) { -lean_object* x_935; -x_935 = lean_ctor_get(x_933, 0); -lean_dec(x_935); -lean_ctor_set(x_933, 0, x_2); -return x_933; +lean_object* x_918; +x_918 = lean_ctor_get(x_916, 0); +lean_dec(x_918); +lean_ctor_set(x_916, 0, x_2); +return x_916; } else { -lean_object* x_936; lean_object* x_937; -x_936 = lean_ctor_get(x_933, 1); -lean_inc(x_936); -lean_dec(x_933); -x_937 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_937, 0, x_2); -lean_ctor_set(x_937, 1, x_936); -return x_937; +lean_object* x_919; lean_object* x_920; +x_919 = lean_ctor_get(x_916, 1); +lean_inc(x_919); +lean_dec(x_916); +x_920 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_920, 0, x_2); +lean_ctor_set(x_920, 1, x_919); +return x_920; } } else { -uint8_t x_938; +uint8_t x_921; lean_dec(x_8); lean_dec(x_19); lean_dec(x_11); @@ -8431,23 +8290,171 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_938 = !lean_is_exclusive(x_931); -if (x_938 == 0) +x_921 = !lean_is_exclusive(x_914); +if (x_921 == 0) { -return x_931; +return x_914; } else { -lean_object* x_939; lean_object* x_940; lean_object* x_941; -x_939 = lean_ctor_get(x_931, 0); -x_940 = lean_ctor_get(x_931, 1); -lean_inc(x_940); -lean_inc(x_939); -lean_dec(x_931); -x_941 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_941, 0, x_939); -lean_ctor_set(x_941, 1, x_940); -return x_941; +lean_object* x_922; lean_object* x_923; lean_object* x_924; +x_922 = lean_ctor_get(x_914, 0); +x_923 = lean_ctor_get(x_914, 1); +lean_inc(x_923); +lean_inc(x_922); +lean_dec(x_914); +x_924 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_924, 0, x_922); +lean_ctor_set(x_924, 1, x_923); +return x_924; +} +} +} +} +else +{ +lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; +lean_inc(x_2); +x_933 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_933, 0, x_2); +x_934 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_911, x_933, x_4, x_5, x_6, x_7, x_8, x_9, x_767); +x_935 = lean_ctor_get(x_934, 1); +lean_inc(x_935); +lean_dec(x_934); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_936 = x_935; +goto block_948; +} +else +{ +lean_object* x_949; lean_object* x_950; +x_949 = lean_ctor_get(x_13, 0); +lean_inc(x_949); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_950 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_949, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_935); +if (lean_obj_tag(x_950) == 0) +{ +lean_object* x_951; +x_951 = lean_ctor_get(x_950, 1); +lean_inc(x_951); +lean_dec(x_950); +x_936 = x_951; +goto block_948; +} +else +{ +uint8_t x_952; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_952 = !lean_is_exclusive(x_950); +if (x_952 == 0) +{ +return x_950; +} +else +{ +lean_object* x_953; lean_object* x_954; lean_object* x_955; +x_953 = lean_ctor_get(x_950, 0); +x_954 = lean_ctor_get(x_950, 1); +lean_inc(x_954); +lean_inc(x_953); +lean_dec(x_950); +x_955 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_955, 0, x_953); +lean_ctor_set(x_955, 1, x_954); +return x_955; +} +} +} +block_948: +{ +lean_object* x_937; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_937 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_936); +lean_dec(x_17); +if (lean_obj_tag(x_937) == 0) +{ +lean_object* x_938; lean_object* x_939; uint8_t x_940; +x_938 = lean_ctor_get(x_937, 1); +lean_inc(x_938); +lean_dec(x_937); +lean_inc(x_2); +x_939 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__15(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_938); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_940 = !lean_is_exclusive(x_939); +if (x_940 == 0) +{ +lean_object* x_941; +x_941 = lean_ctor_get(x_939, 0); +lean_dec(x_941); +lean_ctor_set(x_939, 0, x_2); +return x_939; +} +else +{ +lean_object* x_942; lean_object* x_943; +x_942 = lean_ctor_get(x_939, 1); +lean_inc(x_942); +lean_dec(x_939); +x_943 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_943, 0, x_2); +lean_ctor_set(x_943, 1, x_942); +return x_943; +} +} +else +{ +uint8_t x_944; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_944 = !lean_is_exclusive(x_937); +if (x_944 == 0) +{ +return x_937; +} +else +{ +lean_object* x_945; lean_object* x_946; lean_object* x_947; +x_945 = lean_ctor_get(x_937, 0); +x_946 = lean_ctor_get(x_937, 1); +lean_inc(x_946); +lean_inc(x_945); +lean_dec(x_937); +x_947 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_947, 0, x_945); +lean_ctor_set(x_947, 1, x_946); +return x_947; } } } @@ -8457,12 +8464,12 @@ return x_941; } else { -lean_object* x_950; lean_object* x_951; +lean_object* x_956; lean_object* x_957; lean_dec(x_1); lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_950 = lean_array_fget(x_12, x_15); +x_956 = lean_array_fget(x_12, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -8470,43 +8477,43 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_951 = l___private_Lean_Elab_App_2__elabArg(x_2, x_950, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_763); -if (lean_obj_tag(x_951) == 0) +x_957 = l___private_Lean_Elab_App_2__elabArg(x_2, x_956, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_767); +if (lean_obj_tag(x_957) == 0) { -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; -x_952 = lean_ctor_get(x_951, 0); -lean_inc(x_952); -x_953 = lean_ctor_get(x_951, 1); -lean_inc(x_953); -lean_dec(x_951); -x_954 = lean_unsigned_to_nat(1u); -x_955 = lean_nat_add(x_15, x_954); +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_958 = lean_ctor_get(x_957, 0); +lean_inc(x_958); +x_959 = lean_ctor_get(x_957, 1); +lean_inc(x_959); +lean_dec(x_957); +x_960 = lean_unsigned_to_nat(1u); +x_961 = lean_nat_add(x_15, x_960); lean_dec(x_15); -x_956 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_956, 0, x_11); -lean_ctor_set(x_956, 1, x_12); -lean_ctor_set(x_956, 2, x_13); -lean_ctor_set(x_956, 3, x_955); -lean_ctor_set(x_956, 4, x_16); -lean_ctor_set(x_956, 5, x_17); -lean_ctor_set(x_956, 6, x_18); -lean_ctor_set(x_956, 7, x_19); -lean_ctor_set_uint8(x_956, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_956, sizeof(void*)*8 + 1, x_764); -lean_inc(x_952); -x_957 = l_Lean_mkApp(x_2, x_952); -x_958 = lean_expr_instantiate1(x_129, x_952); -lean_dec(x_952); +x_962 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_962, 0, x_11); +lean_ctor_set(x_962, 1, x_12); +lean_ctor_set(x_962, 2, x_13); +lean_ctor_set(x_962, 3, x_961); +lean_ctor_set(x_962, 4, x_16); +lean_ctor_set(x_962, 5, x_17); +lean_ctor_set(x_962, 6, x_18); +lean_ctor_set(x_962, 7, x_19); +lean_ctor_set_uint8(x_962, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_962, sizeof(void*)*8 + 1, x_768); +lean_inc(x_958); +x_963 = l_Lean_mkApp(x_2, x_958); +x_964 = lean_expr_instantiate1(x_129, x_958); +lean_dec(x_958); lean_dec(x_129); -x_1 = x_956; -x_2 = x_957; -x_3 = x_958; -x_10 = x_953; +x_1 = x_962; +x_2 = x_963; +x_3 = x_964; +x_10 = x_959; goto _start; } else { -uint8_t x_960; +uint8_t x_966; lean_dec(x_129); lean_dec(x_8); lean_dec(x_19); @@ -8523,30 +8530,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_960 = !lean_is_exclusive(x_951); -if (x_960 == 0) +x_966 = !lean_is_exclusive(x_957); +if (x_966 == 0) { -return x_951; +return x_957; } else { -lean_object* x_961; lean_object* x_962; lean_object* x_963; -x_961 = lean_ctor_get(x_951, 0); -x_962 = lean_ctor_get(x_951, 1); -lean_inc(x_962); -lean_inc(x_961); -lean_dec(x_951); -x_963 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_963, 0, x_961); -lean_ctor_set(x_963, 1, x_962); -return x_963; +lean_object* x_967; lean_object* x_968; lean_object* x_969; +x_967 = lean_ctor_get(x_957, 0); +x_968 = lean_ctor_get(x_957, 1); +lean_inc(x_968); +lean_inc(x_967); +lean_dec(x_957); +x_969 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_969, 0, x_967); +lean_ctor_set(x_969, 1, x_968); +return x_969; } } } } else { -uint8_t x_964; +uint8_t x_970; lean_free_object(x_1); lean_dec(x_129); lean_dec(x_128); @@ -8568,36 +8575,36 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_964 = !lean_is_exclusive(x_753); -if (x_964 == 0) +x_970 = !lean_is_exclusive(x_757); +if (x_970 == 0) { -return x_753; +return x_757; } else { -lean_object* x_965; lean_object* x_966; lean_object* x_967; -x_965 = lean_ctor_get(x_753, 0); -x_966 = lean_ctor_get(x_753, 1); -lean_inc(x_966); -lean_inc(x_965); -lean_dec(x_753); -x_967 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_967, 0, x_965); -lean_ctor_set(x_967, 1, x_966); -return x_967; +lean_object* x_971; lean_object* x_972; lean_object* x_973; +x_971 = lean_ctor_get(x_757, 0); +x_972 = lean_ctor_get(x_757, 1); +lean_inc(x_972); +lean_inc(x_971); +lean_dec(x_757); +x_973 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_973, 0, x_971); +lean_ctor_set(x_973, 1, x_972); +return x_973; } } } else { lean_dec(x_1); -if (lean_obj_tag(x_753) == 0) +if (lean_obj_tag(x_757) == 0) { -lean_object* x_968; uint8_t x_969; lean_object* x_970; lean_object* x_971; uint8_t x_972; -x_968 = lean_ctor_get(x_753, 1); -lean_inc(x_968); -lean_dec(x_753); -x_969 = 1; +lean_object* x_974; uint8_t x_975; lean_object* x_976; lean_object* x_977; uint8_t x_978; +x_974 = lean_ctor_get(x_757, 1); +lean_inc(x_974); +lean_dec(x_757); +x_975 = 1; lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -8606,43 +8613,43 @@ lean_inc(x_15); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_970 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_970, 0, x_11); -lean_ctor_set(x_970, 1, x_12); -lean_ctor_set(x_970, 2, x_13); -lean_ctor_set(x_970, 3, x_15); -lean_ctor_set(x_970, 4, x_16); -lean_ctor_set(x_970, 5, x_17); -lean_ctor_set(x_970, 6, x_18); -lean_ctor_set(x_970, 7, x_19); -lean_ctor_set_uint8(x_970, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_970, sizeof(void*)*8 + 1, x_969); -x_971 = lean_array_get_size(x_12); -x_972 = lean_nat_dec_lt(x_15, x_971); -lean_dec(x_971); -if (x_972 == 0) +x_976 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_976, 0, x_11); +lean_ctor_set(x_976, 1, x_12); +lean_ctor_set(x_976, 2, x_13); +lean_ctor_set(x_976, 3, x_15); +lean_ctor_set(x_976, 4, x_16); +lean_ctor_set(x_976, 5, x_17); +lean_ctor_set(x_976, 6, x_18); +lean_ctor_set(x_976, 7, x_19); +lean_ctor_set_uint8(x_976, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_976, sizeof(void*)*8 + 1, x_975); +x_977 = lean_array_get_size(x_12); +x_978 = lean_nat_dec_lt(x_15, x_977); +lean_dec(x_977); +if (x_978 == 0) { lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); if (x_14 == 0) { -lean_object* x_973; -x_973 = l_Lean_Expr_getOptParamDefault_x3f(x_128); -if (lean_obj_tag(x_973) == 0) +lean_object* x_979; +x_979 = l_Lean_Expr_getOptParamDefault_x3f(x_128); +if (lean_obj_tag(x_979) == 0) { -lean_object* x_974; -x_974 = l_Lean_Expr_getAutoParamTactic_x3f(x_128); -if (lean_obj_tag(x_974) == 0) +lean_object* x_980; +x_980 = l_Lean_Expr_getAutoParamTactic_x3f(x_128); +if (lean_obj_tag(x_980) == 0) { -uint8_t x_975; -lean_dec(x_970); +uint8_t x_981; +lean_dec(x_976); lean_dec(x_129); lean_dec(x_128); -x_975 = l_Array_isEmpty___rarg(x_16); -if (x_975 == 0) +x_981 = l_Array_isEmpty___rarg(x_16); +if (x_981 == 0) { -lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; +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_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -8650,80 +8657,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_976 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_976, 0, x_127); -x_977 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_978 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_978, 0, x_977); -lean_ctor_set(x_978, 1, x_976); -x_979 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_980 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_980, 0, x_978); -lean_ctor_set(x_980, 1, x_979); -x_981 = x_16; -x_982 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_981); -x_983 = x_982; -x_984 = l_Array_toList___rarg(x_983); -lean_dec(x_983); -x_985 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_984); -x_986 = l_Array_HasRepr___rarg___closed__1; -x_987 = lean_string_append(x_986, x_985); -lean_dec(x_985); -x_988 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_988, 0, x_987); -x_989 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_989, 0, x_988); -x_990 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_990, 0, x_980); -lean_ctor_set(x_990, 1, x_989); -x_991 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_990, x_4, x_5, x_6, x_7, x_8, x_9, x_968); +x_982 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_982, 0, x_127); +x_983 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_984 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_984, 0, x_983); +lean_ctor_set(x_984, 1, x_982); +x_985 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_986 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_986, 0, x_984); +lean_ctor_set(x_986, 1, x_985); +x_987 = x_16; +x_988 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_987); +x_989 = x_988; +x_990 = l_Array_toList___rarg(x_989); +lean_dec(x_989); +x_991 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_990); +x_992 = l_Array_HasRepr___rarg___closed__1; +x_993 = lean_string_append(x_992, x_991); +lean_dec(x_991); +x_994 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_994, 0, x_993); +x_995 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_995, 0, x_994); +x_996 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_996, 0, x_986); +lean_ctor_set(x_996, 1, x_995); +x_997 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_996, x_4, x_5, x_6, x_7, x_8, x_9, x_974); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_991; +return x_997; } else { -lean_object* x_992; uint8_t x_993; +lean_object* x_998; uint8_t x_999; lean_dec(x_127); lean_dec(x_16); -x_992 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_993 = l_Lean_checkTraceOption(x_22, x_992); +x_998 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_999 = l_Lean_checkTraceOption(x_22, x_998); lean_dec(x_22); -if (x_993 == 0) +if (x_999 == 0) { -lean_object* x_994; +lean_object* x_1000; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_994 = x_968; -goto block_1005; +x_1000 = x_974; +goto block_1011; } else { -lean_object* x_1006; lean_object* x_1007; -x_1006 = lean_ctor_get(x_13, 0); -lean_inc(x_1006); +lean_object* x_1012; lean_object* x_1013; +x_1012 = lean_ctor_get(x_13, 0); +lean_inc(x_1012); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1007 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1006, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_968); -if (lean_obj_tag(x_1007) == 0) +x_1013 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1012, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_974); +if (lean_obj_tag(x_1013) == 0) { -lean_object* x_1008; -x_1008 = lean_ctor_get(x_1007, 1); -lean_inc(x_1008); -lean_dec(x_1007); -x_994 = x_1008; -goto block_1005; +lean_object* x_1014; +x_1014 = lean_ctor_get(x_1013, 1); +lean_inc(x_1014); +lean_dec(x_1013); +x_1000 = x_1014; +goto block_1011; } else { -lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; +lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -8734,196 +8741,46 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1009 = lean_ctor_get(x_1007, 0); -lean_inc(x_1009); -x_1010 = lean_ctor_get(x_1007, 1); -lean_inc(x_1010); -if (lean_is_exclusive(x_1007)) { - lean_ctor_release(x_1007, 0); - lean_ctor_release(x_1007, 1); - x_1011 = x_1007; -} else { - lean_dec_ref(x_1007); - x_1011 = lean_box(0); -} -if (lean_is_scalar(x_1011)) { - x_1012 = lean_alloc_ctor(1, 2, 0); -} else { - x_1012 = x_1011; -} -lean_ctor_set(x_1012, 0, x_1009); -lean_ctor_set(x_1012, 1, x_1010); -return x_1012; -} -} -block_1005: -{ -lean_object* x_995; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_995 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_994); -lean_dec(x_17); -if (lean_obj_tag(x_995) == 0) -{ -lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; -x_996 = lean_ctor_get(x_995, 1); -lean_inc(x_996); -lean_dec(x_995); -lean_inc(x_2); -x_997 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__12(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_996); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_998 = lean_ctor_get(x_997, 1); -lean_inc(x_998); -if (lean_is_exclusive(x_997)) { - lean_ctor_release(x_997, 0); - lean_ctor_release(x_997, 1); - x_999 = x_997; -} else { - lean_dec_ref(x_997); - x_999 = lean_box(0); -} -if (lean_is_scalar(x_999)) { - x_1000 = lean_alloc_ctor(0, 2, 0); -} else { - x_1000 = x_999; -} -lean_ctor_set(x_1000, 0, x_2); -lean_ctor_set(x_1000, 1, x_998); -return x_1000; -} -else -{ -lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1001 = lean_ctor_get(x_995, 0); -lean_inc(x_1001); -x_1002 = lean_ctor_get(x_995, 1); -lean_inc(x_1002); -if (lean_is_exclusive(x_995)) { - lean_ctor_release(x_995, 0); - lean_ctor_release(x_995, 1); - x_1003 = x_995; -} else { - lean_dec_ref(x_995); - x_1003 = lean_box(0); -} -if (lean_is_scalar(x_1003)) { - x_1004 = lean_alloc_ctor(1, 2, 0); -} else { - x_1004 = x_1003; -} -lean_ctor_set(x_1004, 0, x_1001); -lean_ctor_set(x_1004, 1, x_1002); -return x_1004; -} -} -} -else -{ -lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; -lean_inc(x_2); -x_1013 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1013, 0, x_2); -x_1014 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_992, x_1013, x_4, x_5, x_6, x_7, x_8, x_9, x_968); -x_1015 = lean_ctor_get(x_1014, 1); +x_1015 = lean_ctor_get(x_1013, 0); lean_inc(x_1015); -lean_dec(x_1014); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_1016 = x_1015; -goto block_1027; -} -else -{ -lean_object* x_1028; lean_object* x_1029; -x_1028 = lean_ctor_get(x_13, 0); -lean_inc(x_1028); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_1029 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1028, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1015); -if (lean_obj_tag(x_1029) == 0) -{ -lean_object* x_1030; -x_1030 = lean_ctor_get(x_1029, 1); -lean_inc(x_1030); -lean_dec(x_1029); -x_1016 = x_1030; -goto block_1027; -} -else -{ -lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1031 = lean_ctor_get(x_1029, 0); -lean_inc(x_1031); -x_1032 = lean_ctor_get(x_1029, 1); -lean_inc(x_1032); -if (lean_is_exclusive(x_1029)) { - lean_ctor_release(x_1029, 0); - lean_ctor_release(x_1029, 1); - x_1033 = x_1029; +x_1016 = lean_ctor_get(x_1013, 1); +lean_inc(x_1016); +if (lean_is_exclusive(x_1013)) { + lean_ctor_release(x_1013, 0); + lean_ctor_release(x_1013, 1); + x_1017 = x_1013; } else { - lean_dec_ref(x_1029); - x_1033 = lean_box(0); + lean_dec_ref(x_1013); + x_1017 = lean_box(0); } -if (lean_is_scalar(x_1033)) { - x_1034 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1017)) { + x_1018 = lean_alloc_ctor(1, 2, 0); } else { - x_1034 = x_1033; + x_1018 = x_1017; } -lean_ctor_set(x_1034, 0, x_1031); -lean_ctor_set(x_1034, 1, x_1032); -return x_1034; +lean_ctor_set(x_1018, 0, x_1015); +lean_ctor_set(x_1018, 1, x_1016); +return x_1018; } } -block_1027: +block_1011: { -lean_object* x_1017; +lean_object* x_1001; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_1017 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1016); +x_1001 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1000); lean_dec(x_17); -if (lean_obj_tag(x_1017) == 0) +if (lean_obj_tag(x_1001) == 0) { -lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; -x_1018 = lean_ctor_get(x_1017, 1); -lean_inc(x_1018); -lean_dec(x_1017); +lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; +x_1002 = lean_ctor_get(x_1001, 1); +lean_inc(x_1002); +lean_dec(x_1001); lean_inc(x_2); -x_1019 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__13(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1018); +x_1003 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__12(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1002); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -8931,28 +8788,28 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_1020 = lean_ctor_get(x_1019, 1); -lean_inc(x_1020); -if (lean_is_exclusive(x_1019)) { - lean_ctor_release(x_1019, 0); - lean_ctor_release(x_1019, 1); - x_1021 = x_1019; +x_1004 = lean_ctor_get(x_1003, 1); +lean_inc(x_1004); +if (lean_is_exclusive(x_1003)) { + lean_ctor_release(x_1003, 0); + lean_ctor_release(x_1003, 1); + x_1005 = x_1003; } else { - lean_dec_ref(x_1019); - x_1021 = lean_box(0); + lean_dec_ref(x_1003); + x_1005 = lean_box(0); } -if (lean_is_scalar(x_1021)) { - x_1022 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1005)) { + x_1006 = lean_alloc_ctor(0, 2, 0); } else { - x_1022 = x_1021; + x_1006 = x_1005; } -lean_ctor_set(x_1022, 0, x_2); -lean_ctor_set(x_1022, 1, x_1020); -return x_1022; +lean_ctor_set(x_1006, 0, x_2); +lean_ctor_set(x_1006, 1, x_1004); +return x_1006; } else { -lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; +lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_dec(x_8); lean_dec(x_19); lean_dec(x_11); @@ -8962,137 +8819,289 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1023 = lean_ctor_get(x_1017, 0); -lean_inc(x_1023); -x_1024 = lean_ctor_get(x_1017, 1); -lean_inc(x_1024); -if (lean_is_exclusive(x_1017)) { - lean_ctor_release(x_1017, 0); - lean_ctor_release(x_1017, 1); - x_1025 = x_1017; +x_1007 = lean_ctor_get(x_1001, 0); +lean_inc(x_1007); +x_1008 = lean_ctor_get(x_1001, 1); +lean_inc(x_1008); +if (lean_is_exclusive(x_1001)) { + lean_ctor_release(x_1001, 0); + lean_ctor_release(x_1001, 1); + x_1009 = x_1001; } else { - lean_dec_ref(x_1017); - x_1025 = lean_box(0); + lean_dec_ref(x_1001); + x_1009 = lean_box(0); } -if (lean_is_scalar(x_1025)) { - x_1026 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1009)) { + x_1010 = lean_alloc_ctor(1, 2, 0); } else { - x_1026 = x_1025; -} -lean_ctor_set(x_1026, 0, x_1023); -lean_ctor_set(x_1026, 1, x_1024); -return x_1026; -} + x_1010 = x_1009; } +lean_ctor_set(x_1010, 0, x_1007); +lean_ctor_set(x_1010, 1, x_1008); +return x_1010; } } } else { -lean_object* x_1035; -lean_dec(x_127); -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_3); -x_1035 = lean_ctor_get(x_974, 0); -lean_inc(x_1035); -lean_dec(x_974); -if (lean_obj_tag(x_1035) == 4) +lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; +lean_inc(x_2); +x_1019 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1019, 0, x_2); +x_1020 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_998, x_1019, x_4, x_5, x_6, x_7, x_8, x_9, x_974); +x_1021 = lean_ctor_get(x_1020, 1); +lean_inc(x_1021); +lean_dec(x_1020); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; -x_1036 = lean_ctor_get(x_1035, 0); +lean_dec(x_3); +x_1022 = x_1021; +goto block_1033; +} +else +{ +lean_object* x_1034; lean_object* x_1035; +x_1034 = lean_ctor_get(x_13, 0); +lean_inc(x_1034); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_1035 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1034, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1021); +if (lean_obj_tag(x_1035) == 0) +{ +lean_object* x_1036; +x_1036 = lean_ctor_get(x_1035, 1); lean_inc(x_1036); lean_dec(x_1035); -x_1037 = lean_st_ref_get(x_9, x_968); -x_1038 = lean_ctor_get(x_1037, 0); -lean_inc(x_1038); -x_1039 = lean_ctor_get(x_1037, 1); -lean_inc(x_1039); -lean_dec(x_1037); -x_1040 = lean_ctor_get(x_1038, 0); -lean_inc(x_1040); -lean_dec(x_1038); -x_1041 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_1040, x_1036); -if (lean_obj_tag(x_1041) == 0) +x_1022 = x_1036; +goto block_1033; +} +else { -lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; -lean_dec(x_970); -lean_dec(x_129); -lean_dec(x_128); +lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_17); lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); +x_1037 = lean_ctor_get(x_1035, 0); +lean_inc(x_1037); +x_1038 = lean_ctor_get(x_1035, 1); +lean_inc(x_1038); +if (lean_is_exclusive(x_1035)) { + lean_ctor_release(x_1035, 0); + lean_ctor_release(x_1035, 1); + x_1039 = x_1035; +} else { + lean_dec_ref(x_1035); + x_1039 = lean_box(0); +} +if (lean_is_scalar(x_1039)) { + x_1040 = lean_alloc_ctor(1, 2, 0); +} else { + x_1040 = x_1039; +} +lean_ctor_set(x_1040, 0, x_1037); +lean_ctor_set(x_1040, 1, x_1038); +return x_1040; +} +} +block_1033: +{ +lean_object* x_1023; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_1023 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1022); +lean_dec(x_17); +if (lean_obj_tag(x_1023) == 0) +{ +lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; +x_1024 = lean_ctor_get(x_1023, 1); +lean_inc(x_1024); +lean_dec(x_1023); +lean_inc(x_2); +x_1025 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__13(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1024); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1026 = lean_ctor_get(x_1025, 1); +lean_inc(x_1026); +if (lean_is_exclusive(x_1025)) { + lean_ctor_release(x_1025, 0); + lean_ctor_release(x_1025, 1); + x_1027 = x_1025; +} else { + lean_dec_ref(x_1025); + x_1027 = lean_box(0); +} +if (lean_is_scalar(x_1027)) { + x_1028 = lean_alloc_ctor(0, 2, 0); +} else { + x_1028 = x_1027; +} +lean_ctor_set(x_1028, 0, x_2); +lean_ctor_set(x_1028, 1, x_1026); +return x_1028; +} +else +{ +lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1029 = lean_ctor_get(x_1023, 0); +lean_inc(x_1029); +x_1030 = lean_ctor_get(x_1023, 1); +lean_inc(x_1030); +if (lean_is_exclusive(x_1023)) { + lean_ctor_release(x_1023, 0); + lean_ctor_release(x_1023, 1); + x_1031 = x_1023; +} else { + lean_dec_ref(x_1023); + x_1031 = lean_box(0); +} +if (lean_is_scalar(x_1031)) { + x_1032 = lean_alloc_ctor(1, 2, 0); +} else { + x_1032 = x_1031; +} +lean_ctor_set(x_1032, 0, x_1029); +lean_ctor_set(x_1032, 1, x_1030); +return x_1032; +} +} +} +} +} +else +{ +lean_object* x_1041; +lean_dec(x_127); +lean_dec(x_22); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_13); +lean_dec(x_3); +x_1041 = lean_ctor_get(x_980, 0); +lean_inc(x_1041); +lean_dec(x_980); +if (lean_obj_tag(x_1041) == 4) +{ +lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; x_1042 = lean_ctor_get(x_1041, 0); lean_inc(x_1042); lean_dec(x_1041); -x_1043 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1043, 0, x_1042); -x_1044 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1044, 0, x_1043); -x_1045 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1044, x_4, x_5, x_6, x_7, x_8, x_9, x_1039); +x_1043 = lean_st_ref_get(x_9, x_974); +x_1044 = lean_ctor_get(x_1043, 0); +lean_inc(x_1044); +x_1045 = lean_ctor_get(x_1043, 1); +lean_inc(x_1045); +lean_dec(x_1043); +x_1046 = lean_ctor_get(x_1044, 0); +lean_inc(x_1046); +lean_dec(x_1044); +x_1047 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_1046, x_1042); +if (lean_obj_tag(x_1047) == 0) +{ +lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; +lean_dec(x_976); +lean_dec(x_129); +lean_dec(x_128); +lean_dec(x_11); +lean_dec(x_2); +x_1048 = lean_ctor_get(x_1047, 0); +lean_inc(x_1048); +lean_dec(x_1047); +x_1049 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1049, 0, x_1048); +x_1050 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1050, 0, x_1049); +x_1051 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1050, x_4, x_5, x_6, x_7, x_8, x_9, x_1045); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1045; +return x_1051; } else { -lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; -x_1046 = lean_ctor_get(x_1041, 0); -lean_inc(x_1046); -lean_dec(x_1041); -x_1047 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1039); -x_1048 = lean_ctor_get(x_1047, 1); -lean_inc(x_1048); +lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; +x_1052 = lean_ctor_get(x_1047, 0); +lean_inc(x_1052); lean_dec(x_1047); -x_1049 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1048); -x_1050 = lean_ctor_get(x_1049, 1); -lean_inc(x_1050); -lean_dec(x_1049); -x_1051 = l_Lean_Syntax_getArgs(x_1046); -lean_dec(x_1046); -x_1052 = l_Array_empty___closed__1; -x_1053 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1051, x_1051, x_131, x_1052); -lean_dec(x_1051); -x_1054 = l_Lean_nullKind___closed__2; -x_1055 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1055, 0, x_1054); -lean_ctor_set(x_1055, 1, x_1053); -x_1056 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_1057 = lean_array_push(x_1056, x_1055); -x_1058 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; -x_1059 = lean_array_push(x_1057, x_1058); -x_1060 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -x_1061 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1061, 0, x_1060); -lean_ctor_set(x_1061, 1, x_1059); -x_1062 = lean_array_push(x_1052, x_1061); -x_1063 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -x_1064 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1064, 0, x_1063); -lean_ctor_set(x_1064, 1, x_1062); -x_1065 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; -x_1066 = lean_array_push(x_1065, x_1064); -x_1067 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -x_1068 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1068, 0, x_1067); -lean_ctor_set(x_1068, 1, x_1066); -x_1069 = l_Lean_Syntax_copyInfo(x_1068, x_11); +x_1053 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1045); +x_1054 = lean_ctor_get(x_1053, 1); +lean_inc(x_1054); +lean_dec(x_1053); +x_1055 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1054); +x_1056 = lean_ctor_get(x_1055, 1); +lean_inc(x_1056); +lean_dec(x_1055); +x_1057 = l_Lean_Syntax_getArgs(x_1052); +lean_dec(x_1052); +x_1058 = l_Array_empty___closed__1; +x_1059 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1057, x_1057, x_131, x_1058); +lean_dec(x_1057); +x_1060 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_1061 = lean_array_push(x_1059, x_1060); +x_1062 = l_Lean_nullKind___closed__2; +x_1063 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1063, 0, x_1062); +lean_ctor_set(x_1063, 1, x_1061); +x_1064 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_1065 = lean_array_push(x_1064, x_1063); +x_1066 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; +x_1067 = lean_array_push(x_1065, x_1066); +x_1068 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_1069 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1069, 0, x_1068); +lean_ctor_set(x_1069, 1, x_1067); +x_1070 = lean_array_push(x_1058, x_1069); +x_1071 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +x_1072 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1072, 0, x_1071); +lean_ctor_set(x_1072, 1, x_1070); +x_1073 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; +x_1074 = lean_array_push(x_1073, x_1072); +x_1075 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_1076 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1076, 0, x_1075); +lean_ctor_set(x_1076, 1, x_1074); +x_1077 = l_Lean_Syntax_copyInfo(x_1076, x_11); lean_dec(x_11); -x_1070 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); -x_1071 = lean_nat_sub(x_1070, x_131); -lean_dec(x_1070); -x_1072 = lean_unsigned_to_nat(1u); -x_1073 = lean_nat_sub(x_1071, x_1072); -lean_dec(x_1071); -x_1074 = l_Lean_Expr_getRevArg_x21___main(x_128, x_1073); +x_1078 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); +x_1079 = lean_nat_sub(x_1078, x_131); +lean_dec(x_1078); +x_1080 = lean_unsigned_to_nat(1u); +x_1081 = lean_nat_sub(x_1079, x_1080); +lean_dec(x_1079); +x_1082 = l_Lean_Expr_getRevArg_x21___main(x_128, x_1081); lean_dec(x_128); -x_1075 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1075, 0, x_1069); +x_1083 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1083, 0, x_1077); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -9100,30 +9109,30 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_1076 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1075, x_1074, x_4, x_5, x_6, x_7, x_8, x_9, x_1050); -if (lean_obj_tag(x_1076) == 0) +x_1084 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1083, x_1082, x_4, x_5, x_6, x_7, x_8, x_9, x_1056); +if (lean_obj_tag(x_1084) == 0) { -lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; -x_1077 = lean_ctor_get(x_1076, 0); -lean_inc(x_1077); -x_1078 = lean_ctor_get(x_1076, 1); -lean_inc(x_1078); -lean_dec(x_1076); -lean_inc(x_1077); -x_1079 = l_Lean_mkApp(x_2, x_1077); -x_1080 = lean_expr_instantiate1(x_129, x_1077); -lean_dec(x_1077); +lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; +x_1085 = lean_ctor_get(x_1084, 0); +lean_inc(x_1085); +x_1086 = lean_ctor_get(x_1084, 1); +lean_inc(x_1086); +lean_dec(x_1084); +lean_inc(x_1085); +x_1087 = l_Lean_mkApp(x_2, x_1085); +x_1088 = lean_expr_instantiate1(x_129, x_1085); +lean_dec(x_1085); lean_dec(x_129); -x_1 = x_970; -x_2 = x_1079; -x_3 = x_1080; -x_10 = x_1078; +x_1 = x_976; +x_2 = x_1087; +x_3 = x_1088; +x_10 = x_1086; goto _start; } else { -lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; -lean_dec(x_970); +lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; +lean_dec(x_976); lean_dec(x_129); lean_dec(x_8); lean_dec(x_9); @@ -9132,52 +9141,52 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1082 = lean_ctor_get(x_1076, 0); -lean_inc(x_1082); -x_1083 = lean_ctor_get(x_1076, 1); -lean_inc(x_1083); -if (lean_is_exclusive(x_1076)) { - lean_ctor_release(x_1076, 0); - lean_ctor_release(x_1076, 1); - x_1084 = x_1076; +x_1090 = lean_ctor_get(x_1084, 0); +lean_inc(x_1090); +x_1091 = lean_ctor_get(x_1084, 1); +lean_inc(x_1091); +if (lean_is_exclusive(x_1084)) { + lean_ctor_release(x_1084, 0); + lean_ctor_release(x_1084, 1); + x_1092 = x_1084; } else { - lean_dec_ref(x_1076); - x_1084 = lean_box(0); + lean_dec_ref(x_1084); + x_1092 = lean_box(0); } -if (lean_is_scalar(x_1084)) { - x_1085 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1092)) { + x_1093 = lean_alloc_ctor(1, 2, 0); } else { - x_1085 = x_1084; + x_1093 = x_1092; } -lean_ctor_set(x_1085, 0, x_1082); -lean_ctor_set(x_1085, 1, x_1083); -return x_1085; +lean_ctor_set(x_1093, 0, x_1090); +lean_ctor_set(x_1093, 1, x_1091); +return x_1093; } } } else { -lean_object* x_1086; lean_object* x_1087; -lean_dec(x_1035); -lean_dec(x_970); +lean_object* x_1094; lean_object* x_1095; +lean_dec(x_1041); +lean_dec(x_976); lean_dec(x_129); lean_dec(x_128); lean_dec(x_11); lean_dec(x_2); -x_1086 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; -x_1087 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1086, x_4, x_5, x_6, x_7, x_8, x_9, x_968); +x_1094 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; +x_1095 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1094, x_4, x_5, x_6, x_7, x_8, x_9, x_974); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1087; +return x_1095; } } } else { -lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; +lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_dec(x_128); lean_dec(x_127); lean_dec(x_22); @@ -9187,31 +9196,31 @@ lean_dec(x_16); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); -x_1088 = lean_ctor_get(x_973, 0); -lean_inc(x_1088); -lean_dec(x_973); -lean_inc(x_1088); -x_1089 = l_Lean_mkApp(x_2, x_1088); -x_1090 = lean_expr_instantiate1(x_129, x_1088); -lean_dec(x_1088); +x_1096 = lean_ctor_get(x_979, 0); +lean_inc(x_1096); +lean_dec(x_979); +lean_inc(x_1096); +x_1097 = l_Lean_mkApp(x_2, x_1096); +x_1098 = lean_expr_instantiate1(x_129, x_1096); +lean_dec(x_1096); lean_dec(x_129); -x_1 = x_970; -x_2 = x_1089; -x_3 = x_1090; -x_10 = x_968; +x_1 = x_976; +x_2 = x_1097; +x_3 = x_1098; +x_10 = x_974; goto _start; } } else { -uint8_t x_1092; -lean_dec(x_970); +uint8_t x_1100; +lean_dec(x_976); lean_dec(x_129); lean_dec(x_128); -x_1092 = l_Array_isEmpty___rarg(x_16); -if (x_1092 == 0) +x_1100 = l_Array_isEmpty___rarg(x_16); +if (x_1100 == 0) { -lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; +lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -9219,83 +9228,161 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_1093 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1093, 0, x_127); -x_1094 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_1095 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1095, 0, x_1094); -lean_ctor_set(x_1095, 1, x_1093); -x_1096 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_1097 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1097, 0, x_1095); -lean_ctor_set(x_1097, 1, x_1096); -x_1098 = x_16; -x_1099 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1098); -x_1100 = x_1099; -x_1101 = l_Array_toList___rarg(x_1100); -lean_dec(x_1100); -x_1102 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1101); -x_1103 = l_Array_HasRepr___rarg___closed__1; -x_1104 = lean_string_append(x_1103, x_1102); -lean_dec(x_1102); -x_1105 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1105, 0, x_1104); -x_1106 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1106, 0, x_1105); -x_1107 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1107, 0, x_1097); -lean_ctor_set(x_1107, 1, x_1106); -x_1108 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1107, x_4, x_5, x_6, x_7, x_8, x_9, x_968); +x_1101 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1101, 0, x_127); +x_1102 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_1103 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1103, 0, x_1102); +lean_ctor_set(x_1103, 1, x_1101); +x_1104 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_1105 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1105, 0, x_1103); +lean_ctor_set(x_1105, 1, x_1104); +x_1106 = x_16; +x_1107 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1106); +x_1108 = x_1107; +x_1109 = l_Array_toList___rarg(x_1108); +lean_dec(x_1108); +x_1110 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1109); +x_1111 = l_Array_HasRepr___rarg___closed__1; +x_1112 = lean_string_append(x_1111, x_1110); +lean_dec(x_1110); +x_1113 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1113, 0, x_1112); +x_1114 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1114, 0, x_1113); +x_1115 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1115, 0, x_1105); +lean_ctor_set(x_1115, 1, x_1114); +x_1116 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1115, x_4, x_5, x_6, x_7, x_8, x_9, x_974); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1108; +return x_1116; } else { -lean_object* x_1109; uint8_t x_1110; +lean_object* x_1117; uint8_t x_1118; lean_dec(x_127); lean_dec(x_16); -x_1109 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_1110 = l_Lean_checkTraceOption(x_22, x_1109); +x_1117 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_1118 = l_Lean_checkTraceOption(x_22, x_1117); lean_dec(x_22); -if (x_1110 == 0) +if (x_1118 == 0) { -lean_object* x_1111; +lean_object* x_1119; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_1111 = x_968; -goto block_1122; +x_1119 = x_974; +goto block_1130; } else { -lean_object* x_1123; lean_object* x_1124; -x_1123 = lean_ctor_get(x_13, 0); -lean_inc(x_1123); +lean_object* x_1131; lean_object* x_1132; +x_1131 = lean_ctor_get(x_13, 0); +lean_inc(x_1131); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1124 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1123, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_968); -if (lean_obj_tag(x_1124) == 0) +x_1132 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1131, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_974); +if (lean_obj_tag(x_1132) == 0) { -lean_object* x_1125; -x_1125 = lean_ctor_get(x_1124, 1); -lean_inc(x_1125); -lean_dec(x_1124); -x_1111 = x_1125; -goto block_1122; +lean_object* x_1133; +x_1133 = lean_ctor_get(x_1132, 1); +lean_inc(x_1133); +lean_dec(x_1132); +x_1119 = x_1133; +goto block_1130; +} +else +{ +lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1134 = lean_ctor_get(x_1132, 0); +lean_inc(x_1134); +x_1135 = lean_ctor_get(x_1132, 1); +lean_inc(x_1135); +if (lean_is_exclusive(x_1132)) { + lean_ctor_release(x_1132, 0); + lean_ctor_release(x_1132, 1); + x_1136 = x_1132; +} else { + lean_dec_ref(x_1132); + x_1136 = lean_box(0); +} +if (lean_is_scalar(x_1136)) { + x_1137 = lean_alloc_ctor(1, 2, 0); +} else { + x_1137 = x_1136; +} +lean_ctor_set(x_1137, 0, x_1134); +lean_ctor_set(x_1137, 1, x_1135); +return x_1137; +} +} +block_1130: +{ +lean_object* x_1120; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_1120 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1119); +lean_dec(x_17); +if (lean_obj_tag(x_1120) == 0) +{ +lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; +x_1121 = lean_ctor_get(x_1120, 1); +lean_inc(x_1121); +lean_dec(x_1120); +lean_inc(x_2); +x_1122 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__14(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1121); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1123 = lean_ctor_get(x_1122, 1); +lean_inc(x_1123); +if (lean_is_exclusive(x_1122)) { + lean_ctor_release(x_1122, 0); + lean_ctor_release(x_1122, 1); + x_1124 = x_1122; +} else { + lean_dec_ref(x_1122); + x_1124 = lean_box(0); +} +if (lean_is_scalar(x_1124)) { + x_1125 = lean_alloc_ctor(0, 2, 0); +} else { + x_1125 = x_1124; +} +lean_ctor_set(x_1125, 0, x_2); +lean_ctor_set(x_1125, 1, x_1123); +return x_1125; } else { lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_dec(x_8); lean_dec(x_19); -lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -9303,16 +9390,16 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1126 = lean_ctor_get(x_1124, 0); +x_1126 = lean_ctor_get(x_1120, 0); lean_inc(x_1126); -x_1127 = lean_ctor_get(x_1124, 1); +x_1127 = lean_ctor_get(x_1120, 1); lean_inc(x_1127); -if (lean_is_exclusive(x_1124)) { - lean_ctor_release(x_1124, 0); - lean_ctor_release(x_1124, 1); - x_1128 = x_1124; +if (lean_is_exclusive(x_1120)) { + lean_ctor_release(x_1120, 0); + lean_ctor_release(x_1120, 1); + x_1128 = x_1120; } else { - lean_dec_ref(x_1124); + lean_dec_ref(x_1120); x_1128 = lean_box(0); } if (lean_is_scalar(x_1128)) { @@ -9325,55 +9412,49 @@ lean_ctor_set(x_1129, 1, x_1127); return x_1129; } } -block_1122: +} +else { -lean_object* x_1112; +lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; +lean_inc(x_2); +x_1138 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1138, 0, x_2); +x_1139 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1117, x_1138, x_4, x_5, x_6, x_7, x_8, x_9, x_974); +x_1140 = lean_ctor_get(x_1139, 1); +lean_inc(x_1140); +lean_dec(x_1139); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_1141 = x_1140; +goto block_1152; +} +else +{ +lean_object* x_1153; lean_object* x_1154; +x_1153 = lean_ctor_get(x_13, 0); +lean_inc(x_1153); +lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_4); -x_1112 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1111); -lean_dec(x_17); -if (lean_obj_tag(x_1112) == 0) +x_1154 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1153, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1140); +if (lean_obj_tag(x_1154) == 0) { -lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; -x_1113 = lean_ctor_get(x_1112, 1); -lean_inc(x_1113); -lean_dec(x_1112); -lean_inc(x_2); -x_1114 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__14(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1113); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1115 = lean_ctor_get(x_1114, 1); -lean_inc(x_1115); -if (lean_is_exclusive(x_1114)) { - lean_ctor_release(x_1114, 0); - lean_ctor_release(x_1114, 1); - x_1116 = x_1114; -} else { - lean_dec_ref(x_1114); - x_1116 = lean_box(0); -} -if (lean_is_scalar(x_1116)) { - x_1117 = lean_alloc_ctor(0, 2, 0); -} else { - x_1117 = x_1116; -} -lean_ctor_set(x_1117, 0, x_2); -lean_ctor_set(x_1117, 1, x_1115); -return x_1117; +lean_object* x_1155; +x_1155 = lean_ctor_get(x_1154, 1); +lean_inc(x_1155); +lean_dec(x_1154); +x_1141 = x_1155; +goto block_1152; } else { -lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; +lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_dec(x_8); lean_dec(x_19); +lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -9381,71 +9462,77 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1118 = lean_ctor_get(x_1112, 0); -lean_inc(x_1118); -x_1119 = lean_ctor_get(x_1112, 1); -lean_inc(x_1119); -if (lean_is_exclusive(x_1112)) { - lean_ctor_release(x_1112, 0); - lean_ctor_release(x_1112, 1); - x_1120 = x_1112; +x_1156 = lean_ctor_get(x_1154, 0); +lean_inc(x_1156); +x_1157 = lean_ctor_get(x_1154, 1); +lean_inc(x_1157); +if (lean_is_exclusive(x_1154)) { + lean_ctor_release(x_1154, 0); + lean_ctor_release(x_1154, 1); + x_1158 = x_1154; } else { - lean_dec_ref(x_1112); - x_1120 = lean_box(0); + lean_dec_ref(x_1154); + x_1158 = lean_box(0); } -if (lean_is_scalar(x_1120)) { - x_1121 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1158)) { + x_1159 = lean_alloc_ctor(1, 2, 0); } else { - x_1121 = x_1120; + x_1159 = x_1158; } -lean_ctor_set(x_1121, 0, x_1118); -lean_ctor_set(x_1121, 1, x_1119); -return x_1121; +lean_ctor_set(x_1159, 0, x_1156); +lean_ctor_set(x_1159, 1, x_1157); +return x_1159; } } -} -else +block_1152: { -lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; -lean_inc(x_2); -x_1130 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1130, 0, x_2); -x_1131 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1109, x_1130, x_4, x_5, x_6, x_7, x_8, x_9, x_968); -x_1132 = lean_ctor_get(x_1131, 1); -lean_inc(x_1132); -lean_dec(x_1131); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_1133 = x_1132; -goto block_1144; -} -else -{ -lean_object* x_1145; lean_object* x_1146; -x_1145 = lean_ctor_get(x_13, 0); -lean_inc(x_1145); -lean_dec(x_13); +lean_object* x_1142; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1146 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1145, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1132); -if (lean_obj_tag(x_1146) == 0) +lean_inc(x_4); +x_1142 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1141); +lean_dec(x_17); +if (lean_obj_tag(x_1142) == 0) { -lean_object* x_1147; -x_1147 = lean_ctor_get(x_1146, 1); -lean_inc(x_1147); -lean_dec(x_1146); -x_1133 = x_1147; -goto block_1144; +lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; +x_1143 = lean_ctor_get(x_1142, 1); +lean_inc(x_1143); +lean_dec(x_1142); +lean_inc(x_2); +x_1144 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__15(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1143); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1145 = lean_ctor_get(x_1144, 1); +lean_inc(x_1145); +if (lean_is_exclusive(x_1144)) { + lean_ctor_release(x_1144, 0); + lean_ctor_release(x_1144, 1); + x_1146 = x_1144; +} else { + lean_dec_ref(x_1144); + x_1146 = lean_box(0); +} +if (lean_is_scalar(x_1146)) { + x_1147 = lean_alloc_ctor(0, 2, 0); +} else { + x_1147 = x_1146; +} +lean_ctor_set(x_1147, 0, x_2); +lean_ctor_set(x_1147, 1, x_1145); +return x_1147; } else { lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_dec(x_8); lean_dec(x_19); -lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -9453,16 +9540,16 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1148 = lean_ctor_get(x_1146, 0); +x_1148 = lean_ctor_get(x_1142, 0); lean_inc(x_1148); -x_1149 = lean_ctor_get(x_1146, 1); +x_1149 = lean_ctor_get(x_1142, 1); lean_inc(x_1149); -if (lean_is_exclusive(x_1146)) { - lean_ctor_release(x_1146, 0); - lean_ctor_release(x_1146, 1); - x_1150 = x_1146; +if (lean_is_exclusive(x_1142)) { + lean_ctor_release(x_1142, 0); + lean_ctor_release(x_1142, 1); + x_1150 = x_1142; } else { - lean_dec_ref(x_1146); + lean_dec_ref(x_1142); x_1150 = lean_box(0); } if (lean_is_scalar(x_1150)) { @@ -9475,96 +9562,18 @@ lean_ctor_set(x_1151, 1, x_1149); return x_1151; } } -block_1144: -{ -lean_object* x_1134; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_1134 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1133); -lean_dec(x_17); -if (lean_obj_tag(x_1134) == 0) -{ -lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; -x_1135 = lean_ctor_get(x_1134, 1); -lean_inc(x_1135); -lean_dec(x_1134); -lean_inc(x_2); -x_1136 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__15(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1135); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1137 = lean_ctor_get(x_1136, 1); -lean_inc(x_1137); -if (lean_is_exclusive(x_1136)) { - lean_ctor_release(x_1136, 0); - lean_ctor_release(x_1136, 1); - x_1138 = x_1136; -} else { - lean_dec_ref(x_1136); - x_1138 = lean_box(0); -} -if (lean_is_scalar(x_1138)) { - x_1139 = lean_alloc_ctor(0, 2, 0); -} else { - x_1139 = x_1138; -} -lean_ctor_set(x_1139, 0, x_2); -lean_ctor_set(x_1139, 1, x_1137); -return x_1139; -} -else -{ -lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1140 = lean_ctor_get(x_1134, 0); -lean_inc(x_1140); -x_1141 = lean_ctor_get(x_1134, 1); -lean_inc(x_1141); -if (lean_is_exclusive(x_1134)) { - lean_ctor_release(x_1134, 0); - lean_ctor_release(x_1134, 1); - x_1142 = x_1134; -} else { - lean_dec_ref(x_1134); - x_1142 = lean_box(0); -} -if (lean_is_scalar(x_1142)) { - x_1143 = lean_alloc_ctor(1, 2, 0); -} else { - x_1143 = x_1142; -} -lean_ctor_set(x_1143, 0, x_1140); -lean_ctor_set(x_1143, 1, x_1141); -return x_1143; -} -} } } } } else { -lean_object* x_1152; lean_object* x_1153; -lean_dec(x_970); +lean_object* x_1160; lean_object* x_1161; +lean_dec(x_976); lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_1152 = lean_array_fget(x_12, x_15); +x_1160 = lean_array_fget(x_12, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -9572,43 +9581,43 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_1153 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1152, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_968); -if (lean_obj_tag(x_1153) == 0) +x_1161 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1160, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_974); +if (lean_obj_tag(x_1161) == 0) { -lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; -x_1154 = lean_ctor_get(x_1153, 0); -lean_inc(x_1154); -x_1155 = lean_ctor_get(x_1153, 1); -lean_inc(x_1155); -lean_dec(x_1153); -x_1156 = lean_unsigned_to_nat(1u); -x_1157 = lean_nat_add(x_15, x_1156); +lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; +x_1162 = lean_ctor_get(x_1161, 0); +lean_inc(x_1162); +x_1163 = lean_ctor_get(x_1161, 1); +lean_inc(x_1163); +lean_dec(x_1161); +x_1164 = lean_unsigned_to_nat(1u); +x_1165 = lean_nat_add(x_15, x_1164); lean_dec(x_15); -x_1158 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_1158, 0, x_11); -lean_ctor_set(x_1158, 1, x_12); -lean_ctor_set(x_1158, 2, x_13); -lean_ctor_set(x_1158, 3, x_1157); -lean_ctor_set(x_1158, 4, x_16); -lean_ctor_set(x_1158, 5, x_17); -lean_ctor_set(x_1158, 6, x_18); -lean_ctor_set(x_1158, 7, x_19); -lean_ctor_set_uint8(x_1158, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_1158, sizeof(void*)*8 + 1, x_969); -lean_inc(x_1154); -x_1159 = l_Lean_mkApp(x_2, x_1154); -x_1160 = lean_expr_instantiate1(x_129, x_1154); -lean_dec(x_1154); +x_1166 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_1166, 0, x_11); +lean_ctor_set(x_1166, 1, x_12); +lean_ctor_set(x_1166, 2, x_13); +lean_ctor_set(x_1166, 3, x_1165); +lean_ctor_set(x_1166, 4, x_16); +lean_ctor_set(x_1166, 5, x_17); +lean_ctor_set(x_1166, 6, x_18); +lean_ctor_set(x_1166, 7, x_19); +lean_ctor_set_uint8(x_1166, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_1166, sizeof(void*)*8 + 1, x_975); +lean_inc(x_1162); +x_1167 = l_Lean_mkApp(x_2, x_1162); +x_1168 = lean_expr_instantiate1(x_129, x_1162); +lean_dec(x_1162); lean_dec(x_129); -x_1 = x_1158; -x_2 = x_1159; -x_3 = x_1160; -x_10 = x_1155; +x_1 = x_1166; +x_2 = x_1167; +x_3 = x_1168; +x_10 = x_1163; goto _start; } else { -lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; +lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_dec(x_129); lean_dec(x_8); lean_dec(x_19); @@ -9625,32 +9634,32 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1162 = lean_ctor_get(x_1153, 0); -lean_inc(x_1162); -x_1163 = lean_ctor_get(x_1153, 1); -lean_inc(x_1163); -if (lean_is_exclusive(x_1153)) { - lean_ctor_release(x_1153, 0); - lean_ctor_release(x_1153, 1); - x_1164 = x_1153; +x_1170 = lean_ctor_get(x_1161, 0); +lean_inc(x_1170); +x_1171 = lean_ctor_get(x_1161, 1); +lean_inc(x_1171); +if (lean_is_exclusive(x_1161)) { + lean_ctor_release(x_1161, 0); + lean_ctor_release(x_1161, 1); + x_1172 = x_1161; } else { - lean_dec_ref(x_1153); - x_1164 = lean_box(0); + lean_dec_ref(x_1161); + x_1172 = lean_box(0); } -if (lean_is_scalar(x_1164)) { - x_1165 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1172)) { + x_1173 = lean_alloc_ctor(1, 2, 0); } else { - x_1165 = x_1164; + x_1173 = x_1172; } -lean_ctor_set(x_1165, 0, x_1162); -lean_ctor_set(x_1165, 1, x_1163); -return x_1165; +lean_ctor_set(x_1173, 0, x_1170); +lean_ctor_set(x_1173, 1, x_1171); +return x_1173; } } } else { -lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; +lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_dec(x_129); lean_dec(x_128); lean_dec(x_127); @@ -9671,26 +9680,26 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1166 = lean_ctor_get(x_753, 0); -lean_inc(x_1166); -x_1167 = lean_ctor_get(x_753, 1); -lean_inc(x_1167); -if (lean_is_exclusive(x_753)) { - lean_ctor_release(x_753, 0); - lean_ctor_release(x_753, 1); - x_1168 = x_753; +x_1174 = lean_ctor_get(x_757, 0); +lean_inc(x_1174); +x_1175 = lean_ctor_get(x_757, 1); +lean_inc(x_1175); +if (lean_is_exclusive(x_757)) { + lean_ctor_release(x_757, 0); + lean_ctor_release(x_757, 1); + x_1176 = x_757; } else { - lean_dec_ref(x_753); - x_1168 = lean_box(0); + lean_dec_ref(x_757); + x_1176 = lean_box(0); } -if (lean_is_scalar(x_1168)) { - x_1169 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1176)) { + x_1177 = lean_alloc_ctor(1, 2, 0); } else { - x_1169 = x_1168; + x_1177 = x_1176; } -lean_ctor_set(x_1169, 0, x_1166); -lean_ctor_set(x_1169, 1, x_1167); -return x_1169; +lean_ctor_set(x_1177, 0, x_1174); +lean_ctor_set(x_1177, 1, x_1175); +return x_1177; } } } @@ -9698,150 +9707,150 @@ case 3: { if (x_14 == 0) { -uint8_t x_1170; +uint8_t x_1178; lean_dec(x_127); lean_dec(x_28); lean_dec(x_22); lean_dec(x_3); -x_1170 = !lean_is_exclusive(x_1); -if (x_1170 == 0) +x_1178 = !lean_is_exclusive(x_1); +if (x_1178 == 0) { -lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; uint8_t x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; -x_1171 = lean_ctor_get(x_1, 7); -lean_dec(x_1171); -x_1172 = lean_ctor_get(x_1, 6); -lean_dec(x_1172); -x_1173 = lean_ctor_get(x_1, 5); -lean_dec(x_1173); -x_1174 = lean_ctor_get(x_1, 4); -lean_dec(x_1174); -x_1175 = lean_ctor_get(x_1, 3); -lean_dec(x_1175); -x_1176 = lean_ctor_get(x_1, 2); -lean_dec(x_1176); -x_1177 = lean_ctor_get(x_1, 1); -lean_dec(x_1177); -x_1178 = lean_ctor_get(x_1, 0); -lean_dec(x_1178); -x_1179 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1179, 0, x_128); -x_1180 = 1; -x_1181 = lean_box(0); -lean_inc(x_6); -x_1182 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_1179, x_1180, x_1181, x_6, x_7, x_8, x_9, x_29); -x_1183 = lean_ctor_get(x_1182, 0); -lean_inc(x_1183); -x_1184 = lean_ctor_get(x_1182, 1); -lean_inc(x_1184); +lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; uint8_t x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; +x_1179 = lean_ctor_get(x_1, 7); +lean_dec(x_1179); +x_1180 = lean_ctor_get(x_1, 6); +lean_dec(x_1180); +x_1181 = lean_ctor_get(x_1, 5); +lean_dec(x_1181); +x_1182 = lean_ctor_get(x_1, 4); lean_dec(x_1182); -x_1185 = l_Lean_Expr_mvarId_x21(x_1183); -x_1186 = lean_array_push(x_17, x_1185); -lean_ctor_set(x_1, 5, x_1186); -lean_inc(x_1183); -x_1187 = l_Lean_mkApp(x_2, x_1183); -x_1188 = lean_expr_instantiate1(x_129, x_1183); +x_1183 = lean_ctor_get(x_1, 3); lean_dec(x_1183); -lean_dec(x_129); -x_2 = x_1187; -x_3 = x_1188; -x_10 = x_1184; -goto _start; -} -else -{ -lean_object* x_1190; uint8_t x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; -lean_dec(x_1); -x_1190 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1190, 0, x_128); -x_1191 = 1; -x_1192 = lean_box(0); +x_1184 = lean_ctor_get(x_1, 2); +lean_dec(x_1184); +x_1185 = lean_ctor_get(x_1, 1); +lean_dec(x_1185); +x_1186 = lean_ctor_get(x_1, 0); +lean_dec(x_1186); +x_1187 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1187, 0, x_128); +x_1188 = 1; +x_1189 = lean_box(0); lean_inc(x_6); -x_1193 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_1190, x_1191, x_1192, x_6, x_7, x_8, x_9, x_29); -x_1194 = lean_ctor_get(x_1193, 0); -lean_inc(x_1194); -x_1195 = lean_ctor_get(x_1193, 1); -lean_inc(x_1195); -lean_dec(x_1193); -x_1196 = l_Lean_Expr_mvarId_x21(x_1194); -x_1197 = lean_array_push(x_17, x_1196); -x_1198 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_1198, 0, x_11); -lean_ctor_set(x_1198, 1, x_12); -lean_ctor_set(x_1198, 2, x_13); -lean_ctor_set(x_1198, 3, x_15); -lean_ctor_set(x_1198, 4, x_16); -lean_ctor_set(x_1198, 5, x_1197); -lean_ctor_set(x_1198, 6, x_18); -lean_ctor_set(x_1198, 7, x_19); -lean_ctor_set_uint8(x_1198, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_1198, sizeof(void*)*8 + 1, x_21); -lean_inc(x_1194); -x_1199 = l_Lean_mkApp(x_2, x_1194); -x_1200 = lean_expr_instantiate1(x_129, x_1194); -lean_dec(x_1194); +x_1190 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_1187, x_1188, x_1189, x_6, x_7, x_8, x_9, x_29); +x_1191 = lean_ctor_get(x_1190, 0); +lean_inc(x_1191); +x_1192 = lean_ctor_get(x_1190, 1); +lean_inc(x_1192); +lean_dec(x_1190); +x_1193 = l_Lean_Expr_mvarId_x21(x_1191); +x_1194 = lean_array_push(x_17, x_1193); +lean_ctor_set(x_1, 5, x_1194); +lean_inc(x_1191); +x_1195 = l_Lean_mkApp(x_2, x_1191); +x_1196 = lean_expr_instantiate1(x_129, x_1191); +lean_dec(x_1191); lean_dec(x_129); -x_1 = x_1198; -x_2 = x_1199; -x_3 = x_1200; -x_10 = x_1195; +x_2 = x_1195; +x_3 = x_1196; +x_10 = x_1192; +goto _start; +} +else +{ +lean_object* x_1198; uint8_t x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; +lean_dec(x_1); +x_1198 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1198, 0, x_128); +x_1199 = 1; +x_1200 = lean_box(0); +lean_inc(x_6); +x_1201 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_1198, x_1199, x_1200, x_6, x_7, x_8, x_9, x_29); +x_1202 = lean_ctor_get(x_1201, 0); +lean_inc(x_1202); +x_1203 = lean_ctor_get(x_1201, 1); +lean_inc(x_1203); +lean_dec(x_1201); +x_1204 = l_Lean_Expr_mvarId_x21(x_1202); +x_1205 = lean_array_push(x_17, x_1204); +x_1206 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_1206, 0, x_11); +lean_ctor_set(x_1206, 1, x_12); +lean_ctor_set(x_1206, 2, x_13); +lean_ctor_set(x_1206, 3, x_15); +lean_ctor_set(x_1206, 4, x_16); +lean_ctor_set(x_1206, 5, x_1205); +lean_ctor_set(x_1206, 6, x_18); +lean_ctor_set(x_1206, 7, x_19); +lean_ctor_set_uint8(x_1206, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_1206, sizeof(void*)*8 + 1, x_21); +lean_inc(x_1202); +x_1207 = l_Lean_mkApp(x_2, x_1202); +x_1208 = lean_expr_instantiate1(x_129, x_1202); +lean_dec(x_1202); +lean_dec(x_129); +x_1 = x_1206; +x_2 = x_1207; +x_3 = x_1208; +x_10 = x_1203; goto _start; } } else { -uint8_t x_1202; -x_1202 = l___private_Lean_Elab_App_8__nextArgIsHole(x_1); -if (x_1202 == 0) +uint8_t x_1210; +x_1210 = l___private_Lean_Elab_App_8__nextArgIsHole(x_1); +if (x_1210 == 0) { -lean_object* x_1203; uint8_t x_1204; +lean_object* x_1211; uint8_t x_1212; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_1203 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); -x_1204 = !lean_is_exclusive(x_1); -if (x_1204 == 0) +x_1211 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_1212 = !lean_is_exclusive(x_1); +if (x_1212 == 0) { -lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; -x_1205 = lean_ctor_get(x_1, 7); -lean_dec(x_1205); -x_1206 = lean_ctor_get(x_1, 6); -lean_dec(x_1206); -x_1207 = lean_ctor_get(x_1, 5); -lean_dec(x_1207); -x_1208 = lean_ctor_get(x_1, 4); -lean_dec(x_1208); -x_1209 = lean_ctor_get(x_1, 3); -lean_dec(x_1209); -x_1210 = lean_ctor_get(x_1, 2); -lean_dec(x_1210); -x_1211 = lean_ctor_get(x_1, 1); -lean_dec(x_1211); -x_1212 = lean_ctor_get(x_1, 0); -lean_dec(x_1212); -if (lean_obj_tag(x_1203) == 0) -{ -lean_object* x_1213; lean_object* x_1214; uint8_t x_1215; -x_1213 = lean_ctor_get(x_1203, 1); -lean_inc(x_1213); -lean_dec(x_1203); -x_1214 = lean_array_get_size(x_12); -x_1215 = lean_nat_dec_lt(x_15, x_1214); +lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; +x_1213 = lean_ctor_get(x_1, 7); +lean_dec(x_1213); +x_1214 = lean_ctor_get(x_1, 6); lean_dec(x_1214); -if (x_1215 == 0) +x_1215 = lean_ctor_get(x_1, 5); +lean_dec(x_1215); +x_1216 = lean_ctor_get(x_1, 4); +lean_dec(x_1216); +x_1217 = lean_ctor_get(x_1, 3); +lean_dec(x_1217); +x_1218 = lean_ctor_get(x_1, 2); +lean_dec(x_1218); +x_1219 = lean_ctor_get(x_1, 1); +lean_dec(x_1219); +x_1220 = lean_ctor_get(x_1, 0); +lean_dec(x_1220); +if (lean_obj_tag(x_1211) == 0) { -uint8_t x_1216; +lean_object* x_1221; lean_object* x_1222; uint8_t x_1223; +x_1221 = lean_ctor_get(x_1211, 1); +lean_inc(x_1221); +lean_dec(x_1211); +x_1222 = lean_array_get_size(x_12); +x_1223 = lean_nat_dec_lt(x_15, x_1222); +lean_dec(x_1222); +if (x_1223 == 0) +{ +uint8_t x_1224; lean_free_object(x_1); lean_dec(x_129); lean_dec(x_128); lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); -x_1216 = l_Array_isEmpty___rarg(x_16); -if (x_1216 == 0) +x_1224 = l_Array_isEmpty___rarg(x_16); +if (x_1224 == 0) { -lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; +lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -9849,80 +9858,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_1217 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1217, 0, x_127); -x_1218 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_1219 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1219, 0, x_1218); -lean_ctor_set(x_1219, 1, x_1217); -x_1220 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_1221 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1221, 0, x_1219); -lean_ctor_set(x_1221, 1, x_1220); -x_1222 = x_16; -x_1223 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1222); -x_1224 = x_1223; -x_1225 = l_Array_toList___rarg(x_1224); -lean_dec(x_1224); -x_1226 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1225); -x_1227 = l_Array_HasRepr___rarg___closed__1; -x_1228 = lean_string_append(x_1227, x_1226); -lean_dec(x_1226); -x_1229 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1229, 0, x_1228); -x_1230 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1230, 0, x_1229); -x_1231 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1231, 0, x_1221); -lean_ctor_set(x_1231, 1, x_1230); -x_1232 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1231, x_4, x_5, x_6, x_7, x_8, x_9, x_1213); +x_1225 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1225, 0, x_127); +x_1226 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_1227 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1227, 0, x_1226); +lean_ctor_set(x_1227, 1, x_1225); +x_1228 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_1229 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1229, 0, x_1227); +lean_ctor_set(x_1229, 1, x_1228); +x_1230 = x_16; +x_1231 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1230); +x_1232 = x_1231; +x_1233 = l_Array_toList___rarg(x_1232); +lean_dec(x_1232); +x_1234 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1233); +x_1235 = l_Array_HasRepr___rarg___closed__1; +x_1236 = lean_string_append(x_1235, x_1234); +lean_dec(x_1234); +x_1237 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1237, 0, x_1236); +x_1238 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1238, 0, x_1237); +x_1239 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1239, 0, x_1229); +lean_ctor_set(x_1239, 1, x_1238); +x_1240 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1239, x_4, x_5, x_6, x_7, x_8, x_9, x_1221); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1232; +return x_1240; } else { -lean_object* x_1233; uint8_t x_1234; +lean_object* x_1241; uint8_t x_1242; lean_dec(x_127); lean_dec(x_16); -x_1233 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_1234 = l_Lean_checkTraceOption(x_22, x_1233); +x_1241 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_1242 = l_Lean_checkTraceOption(x_22, x_1241); lean_dec(x_22); -if (x_1234 == 0) +if (x_1242 == 0) { -lean_object* x_1235; +lean_object* x_1243; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_1235 = x_1213; -goto block_1247; +x_1243 = x_1221; +goto block_1255; } else { -lean_object* x_1248; lean_object* x_1249; -x_1248 = lean_ctor_get(x_13, 0); -lean_inc(x_1248); +lean_object* x_1256; lean_object* x_1257; +x_1256 = lean_ctor_get(x_13, 0); +lean_inc(x_1256); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1249 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1248, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1213); -if (lean_obj_tag(x_1249) == 0) +x_1257 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1256, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1221); +if (lean_obj_tag(x_1257) == 0) { -lean_object* x_1250; -x_1250 = lean_ctor_get(x_1249, 1); -lean_inc(x_1250); -lean_dec(x_1249); -x_1235 = x_1250; -goto block_1247; +lean_object* x_1258; +x_1258 = lean_ctor_get(x_1257, 1); +lean_inc(x_1258); +lean_dec(x_1257); +x_1243 = x_1258; +goto block_1255; } else { -uint8_t x_1251; +uint8_t x_1259; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -9933,19 +9942,97 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1251 = !lean_is_exclusive(x_1249); +x_1259 = !lean_is_exclusive(x_1257); +if (x_1259 == 0) +{ +return x_1257; +} +else +{ +lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; +x_1260 = lean_ctor_get(x_1257, 0); +x_1261 = lean_ctor_get(x_1257, 1); +lean_inc(x_1261); +lean_inc(x_1260); +lean_dec(x_1257); +x_1262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1262, 0, x_1260); +lean_ctor_set(x_1262, 1, x_1261); +return x_1262; +} +} +} +block_1255: +{ +lean_object* x_1244; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_1244 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1243); +lean_dec(x_17); +if (lean_obj_tag(x_1244) == 0) +{ +lean_object* x_1245; lean_object* x_1246; uint8_t x_1247; +x_1245 = lean_ctor_get(x_1244, 1); +lean_inc(x_1245); +lean_dec(x_1244); +lean_inc(x_2); +x_1246 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__16(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1245); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1247 = !lean_is_exclusive(x_1246); +if (x_1247 == 0) +{ +lean_object* x_1248; +x_1248 = lean_ctor_get(x_1246, 0); +lean_dec(x_1248); +lean_ctor_set(x_1246, 0, x_2); +return x_1246; +} +else +{ +lean_object* x_1249; lean_object* x_1250; +x_1249 = lean_ctor_get(x_1246, 1); +lean_inc(x_1249); +lean_dec(x_1246); +x_1250 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1250, 0, x_2); +lean_ctor_set(x_1250, 1, x_1249); +return x_1250; +} +} +else +{ +uint8_t x_1251; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1251 = !lean_is_exclusive(x_1244); if (x_1251 == 0) { -return x_1249; +return x_1244; } else { lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; -x_1252 = lean_ctor_get(x_1249, 0); -x_1253 = lean_ctor_get(x_1249, 1); +x_1252 = lean_ctor_get(x_1244, 0); +x_1253 = lean_ctor_get(x_1244, 1); lean_inc(x_1253); lean_inc(x_1252); -lean_dec(x_1249); +lean_dec(x_1244); x_1254 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1254, 0, x_1252); lean_ctor_set(x_1254, 1, x_1253); @@ -9953,57 +10040,49 @@ return x_1254; } } } -block_1247: +} +else { -lean_object* x_1236; +lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; +lean_inc(x_2); +x_1263 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1263, 0, x_2); +x_1264 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1241, x_1263, x_4, x_5, x_6, x_7, x_8, x_9, x_1221); +x_1265 = lean_ctor_get(x_1264, 1); +lean_inc(x_1265); +lean_dec(x_1264); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_1266 = x_1265; +goto block_1278; +} +else +{ +lean_object* x_1279; lean_object* x_1280; +x_1279 = lean_ctor_get(x_13, 0); +lean_inc(x_1279); +lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_4); -x_1236 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1235); +x_1280 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1279, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1265); +if (lean_obj_tag(x_1280) == 0) +{ +lean_object* x_1281; +x_1281 = lean_ctor_get(x_1280, 1); +lean_inc(x_1281); +lean_dec(x_1280); +x_1266 = x_1281; +goto block_1278; +} +else +{ +uint8_t x_1282; +lean_dec(x_8); +lean_dec(x_19); lean_dec(x_17); -if (lean_obj_tag(x_1236) == 0) -{ -lean_object* x_1237; lean_object* x_1238; uint8_t x_1239; -x_1237 = lean_ctor_get(x_1236, 1); -lean_inc(x_1237); -lean_dec(x_1236); -lean_inc(x_2); -x_1238 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__16(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1237); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1239 = !lean_is_exclusive(x_1238); -if (x_1239 == 0) -{ -lean_object* x_1240; -x_1240 = lean_ctor_get(x_1238, 0); -lean_dec(x_1240); -lean_ctor_set(x_1238, 0, x_2); -return x_1238; -} -else -{ -lean_object* x_1241; lean_object* x_1242; -x_1241 = lean_ctor_get(x_1238, 1); -lean_inc(x_1241); -lean_dec(x_1238); -x_1242 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1242, 0, x_2); -lean_ctor_set(x_1242, 1, x_1241); -return x_1242; -} -} -else -{ -uint8_t x_1243; -lean_dec(x_8); -lean_dec(x_19); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -10011,69 +10090,77 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1243 = !lean_is_exclusive(x_1236); -if (x_1243 == 0) +x_1282 = !lean_is_exclusive(x_1280); +if (x_1282 == 0) { -return x_1236; +return x_1280; } else { -lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; -x_1244 = lean_ctor_get(x_1236, 0); -x_1245 = lean_ctor_get(x_1236, 1); -lean_inc(x_1245); -lean_inc(x_1244); -lean_dec(x_1236); -x_1246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1246, 0, x_1244); -lean_ctor_set(x_1246, 1, x_1245); -return x_1246; +lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; +x_1283 = lean_ctor_get(x_1280, 0); +x_1284 = lean_ctor_get(x_1280, 1); +lean_inc(x_1284); +lean_inc(x_1283); +lean_dec(x_1280); +x_1285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1285, 0, x_1283); +lean_ctor_set(x_1285, 1, x_1284); +return x_1285; } } } -} -else +block_1278: { -lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; -lean_inc(x_2); -x_1255 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1255, 0, x_2); -x_1256 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1233, x_1255, x_4, x_5, x_6, x_7, x_8, x_9, x_1213); -x_1257 = lean_ctor_get(x_1256, 1); -lean_inc(x_1257); -lean_dec(x_1256); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_1258 = x_1257; -goto block_1270; -} -else -{ -lean_object* x_1271; lean_object* x_1272; -x_1271 = lean_ctor_get(x_13, 0); -lean_inc(x_1271); -lean_dec(x_13); +lean_object* x_1267; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1272 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1271, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1257); -if (lean_obj_tag(x_1272) == 0) +lean_inc(x_4); +x_1267 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1266); +lean_dec(x_17); +if (lean_obj_tag(x_1267) == 0) { -lean_object* x_1273; -x_1273 = lean_ctor_get(x_1272, 1); -lean_inc(x_1273); -lean_dec(x_1272); -x_1258 = x_1273; -goto block_1270; +lean_object* x_1268; lean_object* x_1269; uint8_t x_1270; +x_1268 = lean_ctor_get(x_1267, 1); +lean_inc(x_1268); +lean_dec(x_1267); +lean_inc(x_2); +x_1269 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__17(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1268); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1270 = !lean_is_exclusive(x_1269); +if (x_1270 == 0) +{ +lean_object* x_1271; +x_1271 = lean_ctor_get(x_1269, 0); +lean_dec(x_1271); +lean_ctor_set(x_1269, 0, x_2); +return x_1269; +} +else +{ +lean_object* x_1272; lean_object* x_1273; +x_1272 = lean_ctor_get(x_1269, 1); +lean_inc(x_1272); +lean_dec(x_1269); +x_1273 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1273, 0, x_2); +lean_ctor_set(x_1273, 1, x_1272); +return x_1273; +} } else { uint8_t x_1274; lean_dec(x_8); lean_dec(x_19); -lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -10081,19 +10168,19 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1274 = !lean_is_exclusive(x_1272); +x_1274 = !lean_is_exclusive(x_1267); if (x_1274 == 0) { -return x_1272; +return x_1267; } else { lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; -x_1275 = lean_ctor_get(x_1272, 0); -x_1276 = lean_ctor_get(x_1272, 1); +x_1275 = lean_ctor_get(x_1267, 0); +x_1276 = lean_ctor_get(x_1267, 1); lean_inc(x_1276); lean_inc(x_1275); -lean_dec(x_1272); +lean_dec(x_1267); x_1277 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1277, 0, x_1275); lean_ctor_set(x_1277, 1, x_1276); @@ -10101,94 +10188,16 @@ return x_1277; } } } -block_1270: -{ -lean_object* x_1259; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_1259 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1258); -lean_dec(x_17); -if (lean_obj_tag(x_1259) == 0) -{ -lean_object* x_1260; lean_object* x_1261; uint8_t x_1262; -x_1260 = lean_ctor_get(x_1259, 1); -lean_inc(x_1260); -lean_dec(x_1259); -lean_inc(x_2); -x_1261 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__17(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1260); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1262 = !lean_is_exclusive(x_1261); -if (x_1262 == 0) -{ -lean_object* x_1263; -x_1263 = lean_ctor_get(x_1261, 0); -lean_dec(x_1263); -lean_ctor_set(x_1261, 0, x_2); -return x_1261; -} -else -{ -lean_object* x_1264; lean_object* x_1265; -x_1264 = lean_ctor_get(x_1261, 1); -lean_inc(x_1264); -lean_dec(x_1261); -x_1265 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1265, 0, x_2); -lean_ctor_set(x_1265, 1, x_1264); -return x_1265; -} -} -else -{ -uint8_t x_1266; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1266 = !lean_is_exclusive(x_1259); -if (x_1266 == 0) -{ -return x_1259; -} -else -{ -lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; -x_1267 = lean_ctor_get(x_1259, 0); -x_1268 = lean_ctor_get(x_1259, 1); -lean_inc(x_1268); -lean_inc(x_1267); -lean_dec(x_1259); -x_1269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1269, 0, x_1267); -lean_ctor_set(x_1269, 1, x_1268); -return x_1269; -} -} -} } } } else { -lean_object* x_1278; lean_object* x_1279; +lean_object* x_1286; lean_object* x_1287; lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_1278 = lean_array_fget(x_12, x_15); +x_1286 = lean_array_fget(x_12, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -10196,34 +10205,34 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_1279 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1278, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_1213); -if (lean_obj_tag(x_1279) == 0) +x_1287 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1286, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_1221); +if (lean_obj_tag(x_1287) == 0) { -lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; uint8_t x_1284; lean_object* x_1285; lean_object* x_1286; -x_1280 = lean_ctor_get(x_1279, 0); -lean_inc(x_1280); -x_1281 = lean_ctor_get(x_1279, 1); -lean_inc(x_1281); -lean_dec(x_1279); -x_1282 = lean_unsigned_to_nat(1u); -x_1283 = lean_nat_add(x_15, x_1282); +lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; uint8_t x_1292; lean_object* x_1293; lean_object* x_1294; +x_1288 = lean_ctor_get(x_1287, 0); +lean_inc(x_1288); +x_1289 = lean_ctor_get(x_1287, 1); +lean_inc(x_1289); +lean_dec(x_1287); +x_1290 = lean_unsigned_to_nat(1u); +x_1291 = lean_nat_add(x_15, x_1290); lean_dec(x_15); -x_1284 = 1; -lean_ctor_set(x_1, 3, x_1283); -lean_ctor_set_uint8(x_1, sizeof(void*)*8 + 1, x_1284); -lean_inc(x_1280); -x_1285 = l_Lean_mkApp(x_2, x_1280); -x_1286 = lean_expr_instantiate1(x_129, x_1280); -lean_dec(x_1280); +x_1292 = 1; +lean_ctor_set(x_1, 3, x_1291); +lean_ctor_set_uint8(x_1, sizeof(void*)*8 + 1, x_1292); +lean_inc(x_1288); +x_1293 = l_Lean_mkApp(x_2, x_1288); +x_1294 = lean_expr_instantiate1(x_129, x_1288); +lean_dec(x_1288); lean_dec(x_129); -x_2 = x_1285; -x_3 = x_1286; -x_10 = x_1281; +x_2 = x_1293; +x_3 = x_1294; +x_10 = x_1289; goto _start; } else { -uint8_t x_1288; +uint8_t x_1296; lean_free_object(x_1); lean_dec(x_129); lean_dec(x_8); @@ -10241,30 +10250,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1288 = !lean_is_exclusive(x_1279); -if (x_1288 == 0) +x_1296 = !lean_is_exclusive(x_1287); +if (x_1296 == 0) { -return x_1279; +return x_1287; } else { -lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; -x_1289 = lean_ctor_get(x_1279, 0); -x_1290 = lean_ctor_get(x_1279, 1); -lean_inc(x_1290); -lean_inc(x_1289); -lean_dec(x_1279); -x_1291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1291, 0, x_1289); -lean_ctor_set(x_1291, 1, x_1290); -return x_1291; +lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; +x_1297 = lean_ctor_get(x_1287, 0); +x_1298 = lean_ctor_get(x_1287, 1); +lean_inc(x_1298); +lean_inc(x_1297); +lean_dec(x_1287); +x_1299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1299, 0, x_1297); +lean_ctor_set(x_1299, 1, x_1298); +return x_1299; } } } } else { -uint8_t x_1292; +uint8_t x_1300; lean_free_object(x_1); lean_dec(x_129); lean_dec(x_128); @@ -10286,50 +10295,50 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1292 = !lean_is_exclusive(x_1203); -if (x_1292 == 0) +x_1300 = !lean_is_exclusive(x_1211); +if (x_1300 == 0) { -return x_1203; +return x_1211; } else { -lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; -x_1293 = lean_ctor_get(x_1203, 0); -x_1294 = lean_ctor_get(x_1203, 1); -lean_inc(x_1294); -lean_inc(x_1293); -lean_dec(x_1203); -x_1295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1295, 0, x_1293); -lean_ctor_set(x_1295, 1, x_1294); -return x_1295; +lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; +x_1301 = lean_ctor_get(x_1211, 0); +x_1302 = lean_ctor_get(x_1211, 1); +lean_inc(x_1302); +lean_inc(x_1301); +lean_dec(x_1211); +x_1303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1303, 0, x_1301); +lean_ctor_set(x_1303, 1, x_1302); +return x_1303; } } } else { lean_dec(x_1); -if (lean_obj_tag(x_1203) == 0) +if (lean_obj_tag(x_1211) == 0) { -lean_object* x_1296; lean_object* x_1297; uint8_t x_1298; -x_1296 = lean_ctor_get(x_1203, 1); -lean_inc(x_1296); -lean_dec(x_1203); -x_1297 = lean_array_get_size(x_12); -x_1298 = lean_nat_dec_lt(x_15, x_1297); -lean_dec(x_1297); -if (x_1298 == 0) +lean_object* x_1304; lean_object* x_1305; uint8_t x_1306; +x_1304 = lean_ctor_get(x_1211, 1); +lean_inc(x_1304); +lean_dec(x_1211); +x_1305 = lean_array_get_size(x_12); +x_1306 = lean_nat_dec_lt(x_15, x_1305); +lean_dec(x_1305); +if (x_1306 == 0) { -uint8_t x_1299; +uint8_t x_1307; lean_dec(x_129); lean_dec(x_128); lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); -x_1299 = l_Array_isEmpty___rarg(x_16); -if (x_1299 == 0) +x_1307 = l_Array_isEmpty___rarg(x_16); +if (x_1307 == 0) { -lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; +lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -10337,80 +10346,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_1300 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1300, 0, x_127); -x_1301 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_1302 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1302, 0, x_1301); -lean_ctor_set(x_1302, 1, x_1300); -x_1303 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_1304 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1304, 0, x_1302); -lean_ctor_set(x_1304, 1, x_1303); -x_1305 = x_16; -x_1306 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1305); -x_1307 = x_1306; -x_1308 = l_Array_toList___rarg(x_1307); -lean_dec(x_1307); -x_1309 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1308); -x_1310 = l_Array_HasRepr___rarg___closed__1; -x_1311 = lean_string_append(x_1310, x_1309); -lean_dec(x_1309); -x_1312 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1312, 0, x_1311); -x_1313 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1313, 0, x_1312); -x_1314 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1314, 0, x_1304); -lean_ctor_set(x_1314, 1, x_1313); -x_1315 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1314, x_4, x_5, x_6, x_7, x_8, x_9, x_1296); +x_1308 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1308, 0, x_127); +x_1309 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_1310 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1310, 0, x_1309); +lean_ctor_set(x_1310, 1, x_1308); +x_1311 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_1312 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1312, 0, x_1310); +lean_ctor_set(x_1312, 1, x_1311); +x_1313 = x_16; +x_1314 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1313); +x_1315 = x_1314; +x_1316 = l_Array_toList___rarg(x_1315); +lean_dec(x_1315); +x_1317 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1316); +x_1318 = l_Array_HasRepr___rarg___closed__1; +x_1319 = lean_string_append(x_1318, x_1317); +lean_dec(x_1317); +x_1320 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1320, 0, x_1319); +x_1321 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1321, 0, x_1320); +x_1322 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1322, 0, x_1312); +lean_ctor_set(x_1322, 1, x_1321); +x_1323 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1322, x_4, x_5, x_6, x_7, x_8, x_9, x_1304); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1315; +return x_1323; } else { -lean_object* x_1316; uint8_t x_1317; +lean_object* x_1324; uint8_t x_1325; lean_dec(x_127); lean_dec(x_16); -x_1316 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_1317 = l_Lean_checkTraceOption(x_22, x_1316); +x_1324 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_1325 = l_Lean_checkTraceOption(x_22, x_1324); lean_dec(x_22); -if (x_1317 == 0) +if (x_1325 == 0) { -lean_object* x_1318; +lean_object* x_1326; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_1318 = x_1296; -goto block_1329; +x_1326 = x_1304; +goto block_1337; } else { -lean_object* x_1330; lean_object* x_1331; -x_1330 = lean_ctor_get(x_13, 0); -lean_inc(x_1330); +lean_object* x_1338; lean_object* x_1339; +x_1338 = lean_ctor_get(x_13, 0); +lean_inc(x_1338); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1331 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1330, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1296); -if (lean_obj_tag(x_1331) == 0) +x_1339 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1338, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1304); +if (lean_obj_tag(x_1339) == 0) { -lean_object* x_1332; -x_1332 = lean_ctor_get(x_1331, 1); -lean_inc(x_1332); -lean_dec(x_1331); -x_1318 = x_1332; -goto block_1329; +lean_object* x_1340; +x_1340 = lean_ctor_get(x_1339, 1); +lean_inc(x_1340); +lean_dec(x_1339); +x_1326 = x_1340; +goto block_1337; } else { -lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; +lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -10421,16 +10430,94 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1333 = lean_ctor_get(x_1331, 0); -lean_inc(x_1333); -x_1334 = lean_ctor_get(x_1331, 1); -lean_inc(x_1334); -if (lean_is_exclusive(x_1331)) { - lean_ctor_release(x_1331, 0); - lean_ctor_release(x_1331, 1); - x_1335 = x_1331; +x_1341 = lean_ctor_get(x_1339, 0); +lean_inc(x_1341); +x_1342 = lean_ctor_get(x_1339, 1); +lean_inc(x_1342); +if (lean_is_exclusive(x_1339)) { + lean_ctor_release(x_1339, 0); + lean_ctor_release(x_1339, 1); + x_1343 = x_1339; } else { - lean_dec_ref(x_1331); + lean_dec_ref(x_1339); + x_1343 = lean_box(0); +} +if (lean_is_scalar(x_1343)) { + x_1344 = lean_alloc_ctor(1, 2, 0); +} else { + x_1344 = x_1343; +} +lean_ctor_set(x_1344, 0, x_1341); +lean_ctor_set(x_1344, 1, x_1342); +return x_1344; +} +} +block_1337: +{ +lean_object* x_1327; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_1327 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1326); +lean_dec(x_17); +if (lean_obj_tag(x_1327) == 0) +{ +lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; +x_1328 = lean_ctor_get(x_1327, 1); +lean_inc(x_1328); +lean_dec(x_1327); +lean_inc(x_2); +x_1329 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__16(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1328); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1330 = lean_ctor_get(x_1329, 1); +lean_inc(x_1330); +if (lean_is_exclusive(x_1329)) { + lean_ctor_release(x_1329, 0); + lean_ctor_release(x_1329, 1); + x_1331 = x_1329; +} else { + lean_dec_ref(x_1329); + x_1331 = lean_box(0); +} +if (lean_is_scalar(x_1331)) { + x_1332 = lean_alloc_ctor(0, 2, 0); +} else { + x_1332 = x_1331; +} +lean_ctor_set(x_1332, 0, x_2); +lean_ctor_set(x_1332, 1, x_1330); +return x_1332; +} +else +{ +lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1333 = lean_ctor_get(x_1327, 0); +lean_inc(x_1333); +x_1334 = lean_ctor_get(x_1327, 1); +lean_inc(x_1334); +if (lean_is_exclusive(x_1327)) { + lean_ctor_release(x_1327, 0); + lean_ctor_release(x_1327, 1); + x_1335 = x_1327; +} else { + lean_dec_ref(x_1327); x_1335 = lean_box(0); } if (lean_is_scalar(x_1335)) { @@ -10443,55 +10530,49 @@ lean_ctor_set(x_1336, 1, x_1334); return x_1336; } } -block_1329: +} +else { -lean_object* x_1319; +lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; +lean_inc(x_2); +x_1345 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1345, 0, x_2); +x_1346 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1324, x_1345, x_4, x_5, x_6, x_7, x_8, x_9, x_1304); +x_1347 = lean_ctor_get(x_1346, 1); +lean_inc(x_1347); +lean_dec(x_1346); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_1348 = x_1347; +goto block_1359; +} +else +{ +lean_object* x_1360; lean_object* x_1361; +x_1360 = lean_ctor_get(x_13, 0); +lean_inc(x_1360); +lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_4); -x_1319 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1318); -lean_dec(x_17); -if (lean_obj_tag(x_1319) == 0) +x_1361 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1360, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1347); +if (lean_obj_tag(x_1361) == 0) { -lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; -x_1320 = lean_ctor_get(x_1319, 1); -lean_inc(x_1320); -lean_dec(x_1319); -lean_inc(x_2); -x_1321 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__16(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1320); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1322 = lean_ctor_get(x_1321, 1); -lean_inc(x_1322); -if (lean_is_exclusive(x_1321)) { - lean_ctor_release(x_1321, 0); - lean_ctor_release(x_1321, 1); - x_1323 = x_1321; -} else { - lean_dec_ref(x_1321); - x_1323 = lean_box(0); -} -if (lean_is_scalar(x_1323)) { - x_1324 = lean_alloc_ctor(0, 2, 0); -} else { - x_1324 = x_1323; -} -lean_ctor_set(x_1324, 0, x_2); -lean_ctor_set(x_1324, 1, x_1322); -return x_1324; +lean_object* x_1362; +x_1362 = lean_ctor_get(x_1361, 1); +lean_inc(x_1362); +lean_dec(x_1361); +x_1348 = x_1362; +goto block_1359; } else { -lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; +lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_dec(x_8); lean_dec(x_19); +lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -10499,71 +10580,77 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1325 = lean_ctor_get(x_1319, 0); -lean_inc(x_1325); -x_1326 = lean_ctor_get(x_1319, 1); -lean_inc(x_1326); -if (lean_is_exclusive(x_1319)) { - lean_ctor_release(x_1319, 0); - lean_ctor_release(x_1319, 1); - x_1327 = x_1319; +x_1363 = lean_ctor_get(x_1361, 0); +lean_inc(x_1363); +x_1364 = lean_ctor_get(x_1361, 1); +lean_inc(x_1364); +if (lean_is_exclusive(x_1361)) { + lean_ctor_release(x_1361, 0); + lean_ctor_release(x_1361, 1); + x_1365 = x_1361; } else { - lean_dec_ref(x_1319); - x_1327 = lean_box(0); + lean_dec_ref(x_1361); + x_1365 = lean_box(0); } -if (lean_is_scalar(x_1327)) { - x_1328 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1365)) { + x_1366 = lean_alloc_ctor(1, 2, 0); } else { - x_1328 = x_1327; + x_1366 = x_1365; } -lean_ctor_set(x_1328, 0, x_1325); -lean_ctor_set(x_1328, 1, x_1326); -return x_1328; +lean_ctor_set(x_1366, 0, x_1363); +lean_ctor_set(x_1366, 1, x_1364); +return x_1366; } } -} -else +block_1359: { -lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; -lean_inc(x_2); -x_1337 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1337, 0, x_2); -x_1338 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1316, x_1337, x_4, x_5, x_6, x_7, x_8, x_9, x_1296); -x_1339 = lean_ctor_get(x_1338, 1); -lean_inc(x_1339); -lean_dec(x_1338); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_1340 = x_1339; -goto block_1351; -} -else -{ -lean_object* x_1352; lean_object* x_1353; -x_1352 = lean_ctor_get(x_13, 0); -lean_inc(x_1352); -lean_dec(x_13); +lean_object* x_1349; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1353 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1352, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1339); -if (lean_obj_tag(x_1353) == 0) +lean_inc(x_4); +x_1349 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1348); +lean_dec(x_17); +if (lean_obj_tag(x_1349) == 0) { -lean_object* x_1354; -x_1354 = lean_ctor_get(x_1353, 1); -lean_inc(x_1354); -lean_dec(x_1353); -x_1340 = x_1354; -goto block_1351; +lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; +x_1350 = lean_ctor_get(x_1349, 1); +lean_inc(x_1350); +lean_dec(x_1349); +lean_inc(x_2); +x_1351 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__17(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1350); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1352 = lean_ctor_get(x_1351, 1); +lean_inc(x_1352); +if (lean_is_exclusive(x_1351)) { + lean_ctor_release(x_1351, 0); + lean_ctor_release(x_1351, 1); + x_1353 = x_1351; +} else { + lean_dec_ref(x_1351); + x_1353 = lean_box(0); +} +if (lean_is_scalar(x_1353)) { + x_1354 = lean_alloc_ctor(0, 2, 0); +} else { + x_1354 = x_1353; +} +lean_ctor_set(x_1354, 0, x_2); +lean_ctor_set(x_1354, 1, x_1352); +return x_1354; } else { lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_dec(x_8); lean_dec(x_19); -lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -10571,16 +10658,16 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1355 = lean_ctor_get(x_1353, 0); +x_1355 = lean_ctor_get(x_1349, 0); lean_inc(x_1355); -x_1356 = lean_ctor_get(x_1353, 1); +x_1356 = lean_ctor_get(x_1349, 1); lean_inc(x_1356); -if (lean_is_exclusive(x_1353)) { - lean_ctor_release(x_1353, 0); - lean_ctor_release(x_1353, 1); - x_1357 = x_1353; +if (lean_is_exclusive(x_1349)) { + lean_ctor_release(x_1349, 0); + lean_ctor_release(x_1349, 1); + x_1357 = x_1349; } else { - lean_dec_ref(x_1353); + lean_dec_ref(x_1349); x_1357 = lean_box(0); } if (lean_is_scalar(x_1357)) { @@ -10593,94 +10680,16 @@ lean_ctor_set(x_1358, 1, x_1356); return x_1358; } } -block_1351: -{ -lean_object* x_1341; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_1341 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1340); -lean_dec(x_17); -if (lean_obj_tag(x_1341) == 0) -{ -lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; -x_1342 = lean_ctor_get(x_1341, 1); -lean_inc(x_1342); -lean_dec(x_1341); -lean_inc(x_2); -x_1343 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__17(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1342); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1344 = lean_ctor_get(x_1343, 1); -lean_inc(x_1344); -if (lean_is_exclusive(x_1343)) { - lean_ctor_release(x_1343, 0); - lean_ctor_release(x_1343, 1); - x_1345 = x_1343; -} else { - lean_dec_ref(x_1343); - x_1345 = lean_box(0); -} -if (lean_is_scalar(x_1345)) { - x_1346 = lean_alloc_ctor(0, 2, 0); -} else { - x_1346 = x_1345; -} -lean_ctor_set(x_1346, 0, x_2); -lean_ctor_set(x_1346, 1, x_1344); -return x_1346; -} -else -{ -lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1347 = lean_ctor_get(x_1341, 0); -lean_inc(x_1347); -x_1348 = lean_ctor_get(x_1341, 1); -lean_inc(x_1348); -if (lean_is_exclusive(x_1341)) { - lean_ctor_release(x_1341, 0); - lean_ctor_release(x_1341, 1); - x_1349 = x_1341; -} else { - lean_dec_ref(x_1341); - x_1349 = lean_box(0); -} -if (lean_is_scalar(x_1349)) { - x_1350 = lean_alloc_ctor(1, 2, 0); -} else { - x_1350 = x_1349; -} -lean_ctor_set(x_1350, 0, x_1347); -lean_ctor_set(x_1350, 1, x_1348); -return x_1350; -} -} } } } else { -lean_object* x_1359; lean_object* x_1360; +lean_object* x_1367; lean_object* x_1368; lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_1359 = lean_array_fget(x_12, x_15); +x_1367 = lean_array_fget(x_12, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -10688,44 +10697,44 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_1360 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1359, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_1296); -if (lean_obj_tag(x_1360) == 0) +x_1368 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1367, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_1304); +if (lean_obj_tag(x_1368) == 0) { -lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; uint8_t x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; -x_1361 = lean_ctor_get(x_1360, 0); -lean_inc(x_1361); -x_1362 = lean_ctor_get(x_1360, 1); -lean_inc(x_1362); -lean_dec(x_1360); -x_1363 = lean_unsigned_to_nat(1u); -x_1364 = lean_nat_add(x_15, x_1363); +lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; uint8_t x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; +x_1369 = lean_ctor_get(x_1368, 0); +lean_inc(x_1369); +x_1370 = lean_ctor_get(x_1368, 1); +lean_inc(x_1370); +lean_dec(x_1368); +x_1371 = lean_unsigned_to_nat(1u); +x_1372 = lean_nat_add(x_15, x_1371); lean_dec(x_15); -x_1365 = 1; -x_1366 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_1366, 0, x_11); -lean_ctor_set(x_1366, 1, x_12); -lean_ctor_set(x_1366, 2, x_13); -lean_ctor_set(x_1366, 3, x_1364); -lean_ctor_set(x_1366, 4, x_16); -lean_ctor_set(x_1366, 5, x_17); -lean_ctor_set(x_1366, 6, x_18); -lean_ctor_set(x_1366, 7, x_19); -lean_ctor_set_uint8(x_1366, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_1366, sizeof(void*)*8 + 1, x_1365); -lean_inc(x_1361); -x_1367 = l_Lean_mkApp(x_2, x_1361); -x_1368 = lean_expr_instantiate1(x_129, x_1361); -lean_dec(x_1361); +x_1373 = 1; +x_1374 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_1374, 0, x_11); +lean_ctor_set(x_1374, 1, x_12); +lean_ctor_set(x_1374, 2, x_13); +lean_ctor_set(x_1374, 3, x_1372); +lean_ctor_set(x_1374, 4, x_16); +lean_ctor_set(x_1374, 5, x_17); +lean_ctor_set(x_1374, 6, x_18); +lean_ctor_set(x_1374, 7, x_19); +lean_ctor_set_uint8(x_1374, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_1374, sizeof(void*)*8 + 1, x_1373); +lean_inc(x_1369); +x_1375 = l_Lean_mkApp(x_2, x_1369); +x_1376 = lean_expr_instantiate1(x_129, x_1369); +lean_dec(x_1369); lean_dec(x_129); -x_1 = x_1366; -x_2 = x_1367; -x_3 = x_1368; -x_10 = x_1362; +x_1 = x_1374; +x_2 = x_1375; +x_3 = x_1376; +x_10 = x_1370; goto _start; } else { -lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; +lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_dec(x_129); lean_dec(x_8); lean_dec(x_19); @@ -10742,32 +10751,32 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1370 = lean_ctor_get(x_1360, 0); -lean_inc(x_1370); -x_1371 = lean_ctor_get(x_1360, 1); -lean_inc(x_1371); -if (lean_is_exclusive(x_1360)) { - lean_ctor_release(x_1360, 0); - lean_ctor_release(x_1360, 1); - x_1372 = x_1360; +x_1378 = lean_ctor_get(x_1368, 0); +lean_inc(x_1378); +x_1379 = lean_ctor_get(x_1368, 1); +lean_inc(x_1379); +if (lean_is_exclusive(x_1368)) { + lean_ctor_release(x_1368, 0); + lean_ctor_release(x_1368, 1); + x_1380 = x_1368; } else { - lean_dec_ref(x_1360); - x_1372 = lean_box(0); + lean_dec_ref(x_1368); + x_1380 = lean_box(0); } -if (lean_is_scalar(x_1372)) { - x_1373 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1380)) { + x_1381 = lean_alloc_ctor(1, 2, 0); } else { - x_1373 = x_1372; + x_1381 = x_1380; } -lean_ctor_set(x_1373, 0, x_1370); -lean_ctor_set(x_1373, 1, x_1371); -return x_1373; +lean_ctor_set(x_1381, 0, x_1378); +lean_ctor_set(x_1381, 1, x_1379); +return x_1381; } } } else { -lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; +lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_dec(x_129); lean_dec(x_128); lean_dec(x_127); @@ -10788,124 +10797,124 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1374 = lean_ctor_get(x_1203, 0); -lean_inc(x_1374); -x_1375 = lean_ctor_get(x_1203, 1); -lean_inc(x_1375); -if (lean_is_exclusive(x_1203)) { - lean_ctor_release(x_1203, 0); - lean_ctor_release(x_1203, 1); - x_1376 = x_1203; +x_1382 = lean_ctor_get(x_1211, 0); +lean_inc(x_1382); +x_1383 = lean_ctor_get(x_1211, 1); +lean_inc(x_1383); +if (lean_is_exclusive(x_1211)) { + lean_ctor_release(x_1211, 0); + lean_ctor_release(x_1211, 1); + x_1384 = x_1211; } else { - lean_dec_ref(x_1203); - x_1376 = lean_box(0); + lean_dec_ref(x_1211); + x_1384 = lean_box(0); } -if (lean_is_scalar(x_1376)) { - x_1377 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1384)) { + x_1385 = lean_alloc_ctor(1, 2, 0); } else { - x_1377 = x_1376; + x_1385 = x_1384; } -lean_ctor_set(x_1377, 0, x_1374); -lean_ctor_set(x_1377, 1, x_1375); -return x_1377; +lean_ctor_set(x_1385, 0, x_1382); +lean_ctor_set(x_1385, 1, x_1383); +return x_1385; } } } else { -uint8_t x_1378; +uint8_t x_1386; lean_dec(x_127); lean_dec(x_28); lean_dec(x_22); lean_dec(x_3); -x_1378 = !lean_is_exclusive(x_1); -if (x_1378 == 0) +x_1386 = !lean_is_exclusive(x_1); +if (x_1386 == 0) { -lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; uint8_t x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; -x_1379 = lean_ctor_get(x_1, 7); -lean_dec(x_1379); -x_1380 = lean_ctor_get(x_1, 6); -lean_dec(x_1380); -x_1381 = lean_ctor_get(x_1, 5); -lean_dec(x_1381); -x_1382 = lean_ctor_get(x_1, 4); -lean_dec(x_1382); -x_1383 = lean_ctor_get(x_1, 3); -lean_dec(x_1383); -x_1384 = lean_ctor_get(x_1, 2); -lean_dec(x_1384); -x_1385 = lean_ctor_get(x_1, 1); -lean_dec(x_1385); -x_1386 = lean_ctor_get(x_1, 0); -lean_dec(x_1386); -x_1387 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1387, 0, x_128); -x_1388 = 1; -x_1389 = lean_box(0); -lean_inc(x_6); -x_1390 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_1387, x_1388, x_1389, x_6, x_7, x_8, x_9, x_29); -x_1391 = lean_ctor_get(x_1390, 0); -lean_inc(x_1391); -x_1392 = lean_ctor_get(x_1390, 1); -lean_inc(x_1392); +lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; uint8_t x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; +x_1387 = lean_ctor_get(x_1, 7); +lean_dec(x_1387); +x_1388 = lean_ctor_get(x_1, 6); +lean_dec(x_1388); +x_1389 = lean_ctor_get(x_1, 5); +lean_dec(x_1389); +x_1390 = lean_ctor_get(x_1, 4); lean_dec(x_1390); -x_1393 = lean_unsigned_to_nat(1u); -x_1394 = lean_nat_add(x_15, x_1393); -lean_dec(x_15); -x_1395 = l_Lean_Expr_mvarId_x21(x_1391); -x_1396 = lean_array_push(x_17, x_1395); -lean_ctor_set(x_1, 5, x_1396); -lean_ctor_set(x_1, 3, x_1394); -lean_inc(x_1391); -x_1397 = l_Lean_mkApp(x_2, x_1391); -x_1398 = lean_expr_instantiate1(x_129, x_1391); +x_1391 = lean_ctor_get(x_1, 3); lean_dec(x_1391); +x_1392 = lean_ctor_get(x_1, 2); +lean_dec(x_1392); +x_1393 = lean_ctor_get(x_1, 1); +lean_dec(x_1393); +x_1394 = lean_ctor_get(x_1, 0); +lean_dec(x_1394); +x_1395 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1395, 0, x_128); +x_1396 = 1; +x_1397 = lean_box(0); +lean_inc(x_6); +x_1398 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_1395, x_1396, x_1397, x_6, x_7, x_8, x_9, x_29); +x_1399 = lean_ctor_get(x_1398, 0); +lean_inc(x_1399); +x_1400 = lean_ctor_get(x_1398, 1); +lean_inc(x_1400); +lean_dec(x_1398); +x_1401 = lean_unsigned_to_nat(1u); +x_1402 = lean_nat_add(x_15, x_1401); +lean_dec(x_15); +x_1403 = l_Lean_Expr_mvarId_x21(x_1399); +x_1404 = lean_array_push(x_17, x_1403); +lean_ctor_set(x_1, 5, x_1404); +lean_ctor_set(x_1, 3, x_1402); +lean_inc(x_1399); +x_1405 = l_Lean_mkApp(x_2, x_1399); +x_1406 = lean_expr_instantiate1(x_129, x_1399); +lean_dec(x_1399); lean_dec(x_129); -x_2 = x_1397; -x_3 = x_1398; -x_10 = x_1392; +x_2 = x_1405; +x_3 = x_1406; +x_10 = x_1400; goto _start; } else { -lean_object* x_1400; uint8_t x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; +lean_object* x_1408; uint8_t x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_dec(x_1); -x_1400 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1400, 0, x_128); -x_1401 = 1; -x_1402 = lean_box(0); +x_1408 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1408, 0, x_128); +x_1409 = 1; +x_1410 = lean_box(0); lean_inc(x_6); -x_1403 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_1400, x_1401, x_1402, x_6, x_7, x_8, x_9, x_29); -x_1404 = lean_ctor_get(x_1403, 0); -lean_inc(x_1404); -x_1405 = lean_ctor_get(x_1403, 1); -lean_inc(x_1405); -lean_dec(x_1403); -x_1406 = lean_unsigned_to_nat(1u); -x_1407 = lean_nat_add(x_15, x_1406); +x_1411 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_1408, x_1409, x_1410, x_6, x_7, x_8, x_9, x_29); +x_1412 = lean_ctor_get(x_1411, 0); +lean_inc(x_1412); +x_1413 = lean_ctor_get(x_1411, 1); +lean_inc(x_1413); +lean_dec(x_1411); +x_1414 = lean_unsigned_to_nat(1u); +x_1415 = lean_nat_add(x_15, x_1414); lean_dec(x_15); -x_1408 = l_Lean_Expr_mvarId_x21(x_1404); -x_1409 = lean_array_push(x_17, x_1408); -x_1410 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_1410, 0, x_11); -lean_ctor_set(x_1410, 1, x_12); -lean_ctor_set(x_1410, 2, x_13); -lean_ctor_set(x_1410, 3, x_1407); -lean_ctor_set(x_1410, 4, x_16); -lean_ctor_set(x_1410, 5, x_1409); -lean_ctor_set(x_1410, 6, x_18); -lean_ctor_set(x_1410, 7, x_19); -lean_ctor_set_uint8(x_1410, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_1410, sizeof(void*)*8 + 1, x_21); -lean_inc(x_1404); -x_1411 = l_Lean_mkApp(x_2, x_1404); -x_1412 = lean_expr_instantiate1(x_129, x_1404); -lean_dec(x_1404); +x_1416 = l_Lean_Expr_mvarId_x21(x_1412); +x_1417 = lean_array_push(x_17, x_1416); +x_1418 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_1418, 0, x_11); +lean_ctor_set(x_1418, 1, x_12); +lean_ctor_set(x_1418, 2, x_13); +lean_ctor_set(x_1418, 3, x_1415); +lean_ctor_set(x_1418, 4, x_16); +lean_ctor_set(x_1418, 5, x_1417); +lean_ctor_set(x_1418, 6, x_18); +lean_ctor_set(x_1418, 7, x_19); +lean_ctor_set_uint8(x_1418, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_1418, sizeof(void*)*8 + 1, x_21); +lean_inc(x_1412); +x_1419 = l_Lean_mkApp(x_2, x_1412); +x_1420 = lean_expr_instantiate1(x_129, x_1412); +lean_dec(x_1412); lean_dec(x_129); -x_1 = x_1410; -x_2 = x_1411; -x_3 = x_1412; -x_10 = x_1405; +x_1 = x_1418; +x_2 = x_1419; +x_3 = x_1420; +x_10 = x_1413; goto _start; } } @@ -10913,40 +10922,40 @@ goto _start; } default: { -lean_object* x_1414; uint8_t x_1415; +lean_object* x_1422; uint8_t x_1423; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_1414 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); -x_1415 = !lean_is_exclusive(x_1); -if (x_1415 == 0) +x_1422 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +x_1423 = !lean_is_exclusive(x_1); +if (x_1423 == 0) { -lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; -x_1416 = lean_ctor_get(x_1, 7); -lean_dec(x_1416); -x_1417 = lean_ctor_get(x_1, 6); -lean_dec(x_1417); -x_1418 = lean_ctor_get(x_1, 5); -lean_dec(x_1418); -x_1419 = lean_ctor_get(x_1, 4); -lean_dec(x_1419); -x_1420 = lean_ctor_get(x_1, 3); -lean_dec(x_1420); -x_1421 = lean_ctor_get(x_1, 2); -lean_dec(x_1421); -x_1422 = lean_ctor_get(x_1, 1); +lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; +x_1424 = lean_ctor_get(x_1, 7); +lean_dec(x_1424); +x_1425 = lean_ctor_get(x_1, 6); +lean_dec(x_1425); +x_1426 = lean_ctor_get(x_1, 5); +lean_dec(x_1426); +x_1427 = lean_ctor_get(x_1, 4); +lean_dec(x_1427); +x_1428 = lean_ctor_get(x_1, 3); +lean_dec(x_1428); +x_1429 = lean_ctor_get(x_1, 2); +lean_dec(x_1429); +x_1430 = lean_ctor_get(x_1, 1); +lean_dec(x_1430); +x_1431 = lean_ctor_get(x_1, 0); +lean_dec(x_1431); +if (lean_obj_tag(x_1422) == 0) +{ +lean_object* x_1432; uint8_t x_1433; lean_object* x_1434; uint8_t x_1435; +x_1432 = lean_ctor_get(x_1422, 1); +lean_inc(x_1432); lean_dec(x_1422); -x_1423 = lean_ctor_get(x_1, 0); -lean_dec(x_1423); -if (lean_obj_tag(x_1414) == 0) -{ -lean_object* x_1424; uint8_t x_1425; lean_object* x_1426; uint8_t x_1427; -x_1424 = lean_ctor_get(x_1414, 1); -lean_inc(x_1424); -lean_dec(x_1414); -x_1425 = 1; +x_1433 = 1; lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -10955,33 +10964,33 @@ lean_inc(x_15); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -lean_ctor_set_uint8(x_1, sizeof(void*)*8 + 1, x_1425); -x_1426 = lean_array_get_size(x_12); -x_1427 = lean_nat_dec_lt(x_15, x_1426); -lean_dec(x_1426); -if (x_1427 == 0) +lean_ctor_set_uint8(x_1, sizeof(void*)*8 + 1, x_1433); +x_1434 = lean_array_get_size(x_12); +x_1435 = lean_nat_dec_lt(x_15, x_1434); +lean_dec(x_1434); +if (x_1435 == 0) { lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); if (x_14 == 0) { -lean_object* x_1428; -x_1428 = l_Lean_Expr_getOptParamDefault_x3f(x_128); -if (lean_obj_tag(x_1428) == 0) +lean_object* x_1436; +x_1436 = l_Lean_Expr_getOptParamDefault_x3f(x_128); +if (lean_obj_tag(x_1436) == 0) { -lean_object* x_1429; -x_1429 = l_Lean_Expr_getAutoParamTactic_x3f(x_128); -if (lean_obj_tag(x_1429) == 0) +lean_object* x_1437; +x_1437 = l_Lean_Expr_getAutoParamTactic_x3f(x_128); +if (lean_obj_tag(x_1437) == 0) { -uint8_t x_1430; +uint8_t x_1438; lean_dec(x_1); lean_dec(x_129); lean_dec(x_128); -x_1430 = l_Array_isEmpty___rarg(x_16); -if (x_1430 == 0) +x_1438 = l_Array_isEmpty___rarg(x_16); +if (x_1438 == 0) { -lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; +lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -10989,80 +10998,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_1431 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1431, 0, x_127); -x_1432 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_1433 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1433, 0, x_1432); -lean_ctor_set(x_1433, 1, x_1431); -x_1434 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_1435 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1435, 0, x_1433); -lean_ctor_set(x_1435, 1, x_1434); -x_1436 = x_16; -x_1437 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1436); -x_1438 = x_1437; -x_1439 = l_Array_toList___rarg(x_1438); -lean_dec(x_1438); -x_1440 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1439); -x_1441 = l_Array_HasRepr___rarg___closed__1; -x_1442 = lean_string_append(x_1441, x_1440); -lean_dec(x_1440); -x_1443 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1443, 0, x_1442); -x_1444 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1444, 0, x_1443); -x_1445 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1445, 0, x_1435); -lean_ctor_set(x_1445, 1, x_1444); -x_1446 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1445, x_4, x_5, x_6, x_7, x_8, x_9, x_1424); +x_1439 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1439, 0, x_127); +x_1440 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_1441 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1441, 0, x_1440); +lean_ctor_set(x_1441, 1, x_1439); +x_1442 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_1443 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1443, 0, x_1441); +lean_ctor_set(x_1443, 1, x_1442); +x_1444 = x_16; +x_1445 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1444); +x_1446 = x_1445; +x_1447 = l_Array_toList___rarg(x_1446); +lean_dec(x_1446); +x_1448 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1447); +x_1449 = l_Array_HasRepr___rarg___closed__1; +x_1450 = lean_string_append(x_1449, x_1448); +lean_dec(x_1448); +x_1451 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1451, 0, x_1450); +x_1452 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1452, 0, x_1451); +x_1453 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1453, 0, x_1443); +lean_ctor_set(x_1453, 1, x_1452); +x_1454 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1453, x_4, x_5, x_6, x_7, x_8, x_9, x_1432); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1446; +return x_1454; } else { -lean_object* x_1447; uint8_t x_1448; +lean_object* x_1455; uint8_t x_1456; lean_dec(x_127); lean_dec(x_16); -x_1447 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_1448 = l_Lean_checkTraceOption(x_22, x_1447); +x_1455 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_1456 = l_Lean_checkTraceOption(x_22, x_1455); lean_dec(x_22); -if (x_1448 == 0) +if (x_1456 == 0) { -lean_object* x_1449; +lean_object* x_1457; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_1449 = x_1424; -goto block_1461; +x_1457 = x_1432; +goto block_1469; } else { -lean_object* x_1462; lean_object* x_1463; -x_1462 = lean_ctor_get(x_13, 0); -lean_inc(x_1462); +lean_object* x_1470; lean_object* x_1471; +x_1470 = lean_ctor_get(x_13, 0); +lean_inc(x_1470); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1463 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1462, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1424); -if (lean_obj_tag(x_1463) == 0) +x_1471 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1470, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1432); +if (lean_obj_tag(x_1471) == 0) { -lean_object* x_1464; -x_1464 = lean_ctor_get(x_1463, 1); -lean_inc(x_1464); -lean_dec(x_1463); -x_1449 = x_1464; -goto block_1461; +lean_object* x_1472; +x_1472 = lean_ctor_get(x_1471, 1); +lean_inc(x_1472); +lean_dec(x_1471); +x_1457 = x_1472; +goto block_1469; } else { -uint8_t x_1465; +uint8_t x_1473; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -11073,19 +11082,97 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1465 = !lean_is_exclusive(x_1463); +x_1473 = !lean_is_exclusive(x_1471); +if (x_1473 == 0) +{ +return x_1471; +} +else +{ +lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; +x_1474 = lean_ctor_get(x_1471, 0); +x_1475 = lean_ctor_get(x_1471, 1); +lean_inc(x_1475); +lean_inc(x_1474); +lean_dec(x_1471); +x_1476 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1476, 0, x_1474); +lean_ctor_set(x_1476, 1, x_1475); +return x_1476; +} +} +} +block_1469: +{ +lean_object* x_1458; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_1458 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1457); +lean_dec(x_17); +if (lean_obj_tag(x_1458) == 0) +{ +lean_object* x_1459; lean_object* x_1460; uint8_t x_1461; +x_1459 = lean_ctor_get(x_1458, 1); +lean_inc(x_1459); +lean_dec(x_1458); +lean_inc(x_2); +x_1460 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__18(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1459); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1461 = !lean_is_exclusive(x_1460); +if (x_1461 == 0) +{ +lean_object* x_1462; +x_1462 = lean_ctor_get(x_1460, 0); +lean_dec(x_1462); +lean_ctor_set(x_1460, 0, x_2); +return x_1460; +} +else +{ +lean_object* x_1463; lean_object* x_1464; +x_1463 = lean_ctor_get(x_1460, 1); +lean_inc(x_1463); +lean_dec(x_1460); +x_1464 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1464, 0, x_2); +lean_ctor_set(x_1464, 1, x_1463); +return x_1464; +} +} +else +{ +uint8_t x_1465; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1465 = !lean_is_exclusive(x_1458); if (x_1465 == 0) { -return x_1463; +return x_1458; } else { lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; -x_1466 = lean_ctor_get(x_1463, 0); -x_1467 = lean_ctor_get(x_1463, 1); +x_1466 = lean_ctor_get(x_1458, 0); +x_1467 = lean_ctor_get(x_1458, 1); lean_inc(x_1467); lean_inc(x_1466); -lean_dec(x_1463); +lean_dec(x_1458); x_1468 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1468, 0, x_1466); lean_ctor_set(x_1468, 1, x_1467); @@ -11093,57 +11180,49 @@ return x_1468; } } } -block_1461: +} +else { -lean_object* x_1450; +lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; +lean_inc(x_2); +x_1477 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1477, 0, x_2); +x_1478 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1455, x_1477, x_4, x_5, x_6, x_7, x_8, x_9, x_1432); +x_1479 = lean_ctor_get(x_1478, 1); +lean_inc(x_1479); +lean_dec(x_1478); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_1480 = x_1479; +goto block_1492; +} +else +{ +lean_object* x_1493; lean_object* x_1494; +x_1493 = lean_ctor_get(x_13, 0); +lean_inc(x_1493); +lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_4); -x_1450 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1449); +x_1494 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1493, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1479); +if (lean_obj_tag(x_1494) == 0) +{ +lean_object* x_1495; +x_1495 = lean_ctor_get(x_1494, 1); +lean_inc(x_1495); +lean_dec(x_1494); +x_1480 = x_1495; +goto block_1492; +} +else +{ +uint8_t x_1496; +lean_dec(x_8); +lean_dec(x_19); lean_dec(x_17); -if (lean_obj_tag(x_1450) == 0) -{ -lean_object* x_1451; lean_object* x_1452; uint8_t x_1453; -x_1451 = lean_ctor_get(x_1450, 1); -lean_inc(x_1451); -lean_dec(x_1450); -lean_inc(x_2); -x_1452 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__18(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1451); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1453 = !lean_is_exclusive(x_1452); -if (x_1453 == 0) -{ -lean_object* x_1454; -x_1454 = lean_ctor_get(x_1452, 0); -lean_dec(x_1454); -lean_ctor_set(x_1452, 0, x_2); -return x_1452; -} -else -{ -lean_object* x_1455; lean_object* x_1456; -x_1455 = lean_ctor_get(x_1452, 1); -lean_inc(x_1455); -lean_dec(x_1452); -x_1456 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1456, 0, x_2); -lean_ctor_set(x_1456, 1, x_1455); -return x_1456; -} -} -else -{ -uint8_t x_1457; -lean_dec(x_8); -lean_dec(x_19); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -11151,69 +11230,77 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1457 = !lean_is_exclusive(x_1450); -if (x_1457 == 0) +x_1496 = !lean_is_exclusive(x_1494); +if (x_1496 == 0) { -return x_1450; +return x_1494; } else { -lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; -x_1458 = lean_ctor_get(x_1450, 0); -x_1459 = lean_ctor_get(x_1450, 1); -lean_inc(x_1459); -lean_inc(x_1458); -lean_dec(x_1450); -x_1460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1460, 0, x_1458); -lean_ctor_set(x_1460, 1, x_1459); -return x_1460; +lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; +x_1497 = lean_ctor_get(x_1494, 0); +x_1498 = lean_ctor_get(x_1494, 1); +lean_inc(x_1498); +lean_inc(x_1497); +lean_dec(x_1494); +x_1499 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1499, 0, x_1497); +lean_ctor_set(x_1499, 1, x_1498); +return x_1499; } } } -} -else +block_1492: { -lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; -lean_inc(x_2); -x_1469 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1469, 0, x_2); -x_1470 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1447, x_1469, x_4, x_5, x_6, x_7, x_8, x_9, x_1424); -x_1471 = lean_ctor_get(x_1470, 1); -lean_inc(x_1471); -lean_dec(x_1470); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_1472 = x_1471; -goto block_1484; -} -else -{ -lean_object* x_1485; lean_object* x_1486; -x_1485 = lean_ctor_get(x_13, 0); -lean_inc(x_1485); -lean_dec(x_13); +lean_object* x_1481; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1486 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1485, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1471); -if (lean_obj_tag(x_1486) == 0) +lean_inc(x_4); +x_1481 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1480); +lean_dec(x_17); +if (lean_obj_tag(x_1481) == 0) { -lean_object* x_1487; -x_1487 = lean_ctor_get(x_1486, 1); -lean_inc(x_1487); -lean_dec(x_1486); -x_1472 = x_1487; -goto block_1484; +lean_object* x_1482; lean_object* x_1483; uint8_t x_1484; +x_1482 = lean_ctor_get(x_1481, 1); +lean_inc(x_1482); +lean_dec(x_1481); +lean_inc(x_2); +x_1483 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__19(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1482); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1484 = !lean_is_exclusive(x_1483); +if (x_1484 == 0) +{ +lean_object* x_1485; +x_1485 = lean_ctor_get(x_1483, 0); +lean_dec(x_1485); +lean_ctor_set(x_1483, 0, x_2); +return x_1483; +} +else +{ +lean_object* x_1486; lean_object* x_1487; +x_1486 = lean_ctor_get(x_1483, 1); +lean_inc(x_1486); +lean_dec(x_1483); +x_1487 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1487, 0, x_2); +lean_ctor_set(x_1487, 1, x_1486); +return x_1487; +} } else { uint8_t x_1488; lean_dec(x_8); lean_dec(x_19); -lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -11221,19 +11308,19 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1488 = !lean_is_exclusive(x_1486); +x_1488 = !lean_is_exclusive(x_1481); if (x_1488 == 0) { -return x_1486; +return x_1481; } else { lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; -x_1489 = lean_ctor_get(x_1486, 0); -x_1490 = lean_ctor_get(x_1486, 1); +x_1489 = lean_ctor_get(x_1481, 0); +x_1490 = lean_ctor_get(x_1481, 1); lean_inc(x_1490); lean_inc(x_1489); -lean_dec(x_1486); +lean_dec(x_1481); x_1491 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1491, 0, x_1489); lean_ctor_set(x_1491, 1, x_1490); @@ -11241,90 +11328,12 @@ return x_1491; } } } -block_1484: -{ -lean_object* x_1473; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_1473 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1472); -lean_dec(x_17); -if (lean_obj_tag(x_1473) == 0) -{ -lean_object* x_1474; lean_object* x_1475; uint8_t x_1476; -x_1474 = lean_ctor_get(x_1473, 1); -lean_inc(x_1474); -lean_dec(x_1473); -lean_inc(x_2); -x_1475 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__19(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1474); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1476 = !lean_is_exclusive(x_1475); -if (x_1476 == 0) -{ -lean_object* x_1477; -x_1477 = lean_ctor_get(x_1475, 0); -lean_dec(x_1477); -lean_ctor_set(x_1475, 0, x_2); -return x_1475; -} -else -{ -lean_object* x_1478; lean_object* x_1479; -x_1478 = lean_ctor_get(x_1475, 1); -lean_inc(x_1478); -lean_dec(x_1475); -x_1479 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1479, 0, x_2); -lean_ctor_set(x_1479, 1, x_1478); -return x_1479; -} -} -else -{ -uint8_t x_1480; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1480 = !lean_is_exclusive(x_1473); -if (x_1480 == 0) -{ -return x_1473; -} -else -{ -lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; -x_1481 = lean_ctor_get(x_1473, 0); -x_1482 = lean_ctor_get(x_1473, 1); -lean_inc(x_1482); -lean_inc(x_1481); -lean_dec(x_1473); -x_1483 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1483, 0, x_1481); -lean_ctor_set(x_1483, 1, x_1482); -return x_1483; -} -} -} } } } else { -lean_object* x_1492; +lean_object* x_1500; lean_dec(x_127); lean_dec(x_22); lean_dec(x_19); @@ -11332,102 +11341,104 @@ lean_dec(x_17); lean_dec(x_16); lean_dec(x_13); lean_dec(x_3); -x_1492 = lean_ctor_get(x_1429, 0); -lean_inc(x_1492); -lean_dec(x_1429); -if (lean_obj_tag(x_1492) == 4) +x_1500 = lean_ctor_get(x_1437, 0); +lean_inc(x_1500); +lean_dec(x_1437); +if (lean_obj_tag(x_1500) == 4) { -lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; -x_1493 = lean_ctor_get(x_1492, 0); -lean_inc(x_1493); -lean_dec(x_1492); -x_1494 = lean_st_ref_get(x_9, x_1424); -x_1495 = lean_ctor_get(x_1494, 0); -lean_inc(x_1495); -x_1496 = lean_ctor_get(x_1494, 1); -lean_inc(x_1496); -lean_dec(x_1494); -x_1497 = lean_ctor_get(x_1495, 0); -lean_inc(x_1497); -lean_dec(x_1495); -x_1498 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_1497, x_1493); -if (lean_obj_tag(x_1498) == 0) +lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; +x_1501 = lean_ctor_get(x_1500, 0); +lean_inc(x_1501); +lean_dec(x_1500); +x_1502 = lean_st_ref_get(x_9, x_1432); +x_1503 = lean_ctor_get(x_1502, 0); +lean_inc(x_1503); +x_1504 = lean_ctor_get(x_1502, 1); +lean_inc(x_1504); +lean_dec(x_1502); +x_1505 = lean_ctor_get(x_1503, 0); +lean_inc(x_1505); +lean_dec(x_1503); +x_1506 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_1505, x_1501); +if (lean_obj_tag(x_1506) == 0) { -lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; +lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_dec(x_1); lean_dec(x_129); lean_dec(x_128); lean_dec(x_11); lean_dec(x_2); -x_1499 = lean_ctor_get(x_1498, 0); -lean_inc(x_1499); -lean_dec(x_1498); -x_1500 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1500, 0, x_1499); -x_1501 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1501, 0, x_1500); -x_1502 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1501, x_4, x_5, x_6, x_7, x_8, x_9, x_1496); +x_1507 = lean_ctor_get(x_1506, 0); +lean_inc(x_1507); +lean_dec(x_1506); +x_1508 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1508, 0, x_1507); +x_1509 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1509, 0, x_1508); +x_1510 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1509, x_4, x_5, x_6, x_7, x_8, x_9, x_1504); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1502; +return x_1510; } else { -lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; -x_1503 = lean_ctor_get(x_1498, 0); -lean_inc(x_1503); -lean_dec(x_1498); -x_1504 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1496); -x_1505 = lean_ctor_get(x_1504, 1); -lean_inc(x_1505); -lean_dec(x_1504); -x_1506 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1505); -x_1507 = lean_ctor_get(x_1506, 1); -lean_inc(x_1507); +lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; +x_1511 = lean_ctor_get(x_1506, 0); +lean_inc(x_1511); lean_dec(x_1506); -x_1508 = l_Lean_Syntax_getArgs(x_1503); -lean_dec(x_1503); -x_1509 = l_Array_empty___closed__1; -x_1510 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1508, x_1508, x_131, x_1509); -lean_dec(x_1508); -x_1511 = l_Lean_nullKind___closed__2; -x_1512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1512, 0, x_1511); -lean_ctor_set(x_1512, 1, x_1510); -x_1513 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_1514 = lean_array_push(x_1513, x_1512); -x_1515 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; -x_1516 = lean_array_push(x_1514, x_1515); -x_1517 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -x_1518 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1518, 0, x_1517); -lean_ctor_set(x_1518, 1, x_1516); -x_1519 = lean_array_push(x_1509, x_1518); -x_1520 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -x_1521 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1521, 0, x_1520); -lean_ctor_set(x_1521, 1, x_1519); -x_1522 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; -x_1523 = lean_array_push(x_1522, x_1521); -x_1524 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -x_1525 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1525, 0, x_1524); -lean_ctor_set(x_1525, 1, x_1523); -x_1526 = l_Lean_Syntax_copyInfo(x_1525, x_11); +x_1512 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1504); +x_1513 = lean_ctor_get(x_1512, 1); +lean_inc(x_1513); +lean_dec(x_1512); +x_1514 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1513); +x_1515 = lean_ctor_get(x_1514, 1); +lean_inc(x_1515); +lean_dec(x_1514); +x_1516 = l_Lean_Syntax_getArgs(x_1511); +lean_dec(x_1511); +x_1517 = l_Array_empty___closed__1; +x_1518 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1516, x_1516, x_131, x_1517); +lean_dec(x_1516); +x_1519 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_1520 = lean_array_push(x_1518, x_1519); +x_1521 = l_Lean_nullKind___closed__2; +x_1522 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1522, 0, x_1521); +lean_ctor_set(x_1522, 1, x_1520); +x_1523 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_1524 = lean_array_push(x_1523, x_1522); +x_1525 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; +x_1526 = lean_array_push(x_1524, x_1525); +x_1527 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_1528 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1528, 0, x_1527); +lean_ctor_set(x_1528, 1, x_1526); +x_1529 = lean_array_push(x_1517, x_1528); +x_1530 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +x_1531 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1531, 0, x_1530); +lean_ctor_set(x_1531, 1, x_1529); +x_1532 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; +x_1533 = lean_array_push(x_1532, x_1531); +x_1534 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_1535 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1535, 0, x_1534); +lean_ctor_set(x_1535, 1, x_1533); +x_1536 = l_Lean_Syntax_copyInfo(x_1535, x_11); lean_dec(x_11); -x_1527 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); -x_1528 = lean_nat_sub(x_1527, x_131); -lean_dec(x_1527); -x_1529 = lean_unsigned_to_nat(1u); -x_1530 = lean_nat_sub(x_1528, x_1529); -lean_dec(x_1528); -x_1531 = l_Lean_Expr_getRevArg_x21___main(x_128, x_1530); +x_1537 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); +x_1538 = lean_nat_sub(x_1537, x_131); +lean_dec(x_1537); +x_1539 = lean_unsigned_to_nat(1u); +x_1540 = lean_nat_sub(x_1538, x_1539); +lean_dec(x_1538); +x_1541 = l_Lean_Expr_getRevArg_x21___main(x_128, x_1540); lean_dec(x_128); -x_1532 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1532, 0, x_1526); +x_1542 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1542, 0, x_1536); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -11435,424 +11446,198 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_1533 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1532, x_1531, x_4, x_5, x_6, x_7, x_8, x_9, x_1507); -if (lean_obj_tag(x_1533) == 0) +x_1543 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1542, x_1541, x_4, x_5, x_6, x_7, x_8, x_9, x_1515); +if (lean_obj_tag(x_1543) == 0) { -lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; -x_1534 = lean_ctor_get(x_1533, 0); -lean_inc(x_1534); -x_1535 = lean_ctor_get(x_1533, 1); -lean_inc(x_1535); -lean_dec(x_1533); -lean_inc(x_1534); -x_1536 = l_Lean_mkApp(x_2, x_1534); -x_1537 = lean_expr_instantiate1(x_129, x_1534); -lean_dec(x_1534); -lean_dec(x_129); -x_2 = x_1536; -x_3 = x_1537; -x_10 = x_1535; -goto _start; -} -else -{ -uint8_t x_1539; -lean_dec(x_1); -lean_dec(x_129); -lean_dec(x_8); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1539 = !lean_is_exclusive(x_1533); -if (x_1539 == 0) -{ -return x_1533; -} -else -{ -lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; -x_1540 = lean_ctor_get(x_1533, 0); -x_1541 = lean_ctor_get(x_1533, 1); -lean_inc(x_1541); -lean_inc(x_1540); -lean_dec(x_1533); -x_1542 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1542, 0, x_1540); -lean_ctor_set(x_1542, 1, x_1541); -return x_1542; -} -} -} -} -else -{ -lean_object* x_1543; lean_object* x_1544; -lean_dec(x_1492); -lean_dec(x_1); -lean_dec(x_129); -lean_dec(x_128); -lean_dec(x_11); -lean_dec(x_2); -x_1543 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; -x_1544 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1543, x_4, x_5, x_6, x_7, x_8, x_9, x_1424); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_1544; -} -} -} -else -{ -lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_3); -x_1545 = lean_ctor_get(x_1428, 0); +lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; +x_1544 = lean_ctor_get(x_1543, 0); +lean_inc(x_1544); +x_1545 = lean_ctor_get(x_1543, 1); lean_inc(x_1545); -lean_dec(x_1428); -lean_inc(x_1545); -x_1546 = l_Lean_mkApp(x_2, x_1545); -x_1547 = lean_expr_instantiate1(x_129, x_1545); -lean_dec(x_1545); +lean_dec(x_1543); +lean_inc(x_1544); +x_1546 = l_Lean_mkApp(x_2, x_1544); +x_1547 = lean_expr_instantiate1(x_129, x_1544); +lean_dec(x_1544); lean_dec(x_129); x_2 = x_1546; x_3 = x_1547; -x_10 = x_1424; +x_10 = x_1545; goto _start; } -} else { uint8_t x_1549; lean_dec(x_1); lean_dec(x_129); -lean_dec(x_128); -x_1549 = l_Array_isEmpty___rarg(x_16); +lean_dec(x_8); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1549 = !lean_is_exclusive(x_1543); if (x_1549 == 0) { -lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; -lean_dec(x_22); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_13); +return x_1543; +} +else +{ +lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; +x_1550 = lean_ctor_get(x_1543, 0); +x_1551 = lean_ctor_get(x_1543, 1); +lean_inc(x_1551); +lean_inc(x_1550); +lean_dec(x_1543); +x_1552 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1552, 0, x_1550); +lean_ctor_set(x_1552, 1, x_1551); +return x_1552; +} +} +} +} +else +{ +lean_object* x_1553; lean_object* x_1554; +lean_dec(x_1500); +lean_dec(x_1); +lean_dec(x_129); +lean_dec(x_128); lean_dec(x_11); -lean_dec(x_3); lean_dec(x_2); -x_1550 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1550, 0, x_127); -x_1551 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_1552 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1552, 0, x_1551); -lean_ctor_set(x_1552, 1, x_1550); -x_1553 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_1554 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1554, 0, x_1552); -lean_ctor_set(x_1554, 1, x_1553); -x_1555 = x_16; -x_1556 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1555); -x_1557 = x_1556; -x_1558 = l_Array_toList___rarg(x_1557); -lean_dec(x_1557); -x_1559 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1558); -x_1560 = l_Array_HasRepr___rarg___closed__1; -x_1561 = lean_string_append(x_1560, x_1559); -lean_dec(x_1559); -x_1562 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1562, 0, x_1561); -x_1563 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1563, 0, x_1562); -x_1564 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1564, 0, x_1554); -lean_ctor_set(x_1564, 1, x_1563); -x_1565 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1564, x_4, x_5, x_6, x_7, x_8, x_9, x_1424); +x_1553 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; +x_1554 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1553, x_4, x_5, x_6, x_7, x_8, x_9, x_1432); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1565; +return x_1554; +} +} } else { -lean_object* x_1566; uint8_t x_1567; +lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; +lean_dec(x_128); lean_dec(x_127); -lean_dec(x_16); -x_1566 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_1567 = l_Lean_checkTraceOption(x_22, x_1566); lean_dec(x_22); -if (x_1567 == 0) -{ -lean_object* x_1568; -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_1568 = x_1424; -goto block_1580; -} -else -{ -lean_object* x_1581; lean_object* x_1582; -x_1581 = lean_ctor_get(x_13, 0); -lean_inc(x_1581); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_16); lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_1582 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1581, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1424); -if (lean_obj_tag(x_1582) == 0) -{ -lean_object* x_1583; -x_1583 = lean_ctor_get(x_1582, 1); -lean_inc(x_1583); -lean_dec(x_1582); -x_1568 = x_1583; -goto block_1580; -} -else -{ -uint8_t x_1584; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_17); lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1584 = !lean_is_exclusive(x_1582); -if (x_1584 == 0) -{ -return x_1582; +lean_dec(x_3); +x_1555 = lean_ctor_get(x_1436, 0); +lean_inc(x_1555); +lean_dec(x_1436); +lean_inc(x_1555); +x_1556 = l_Lean_mkApp(x_2, x_1555); +x_1557 = lean_expr_instantiate1(x_129, x_1555); +lean_dec(x_1555); +lean_dec(x_129); +x_2 = x_1556; +x_3 = x_1557; +x_10 = x_1432; +goto _start; +} } else { -lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; -x_1585 = lean_ctor_get(x_1582, 0); -x_1586 = lean_ctor_get(x_1582, 1); -lean_inc(x_1586); -lean_inc(x_1585); -lean_dec(x_1582); -x_1587 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1587, 0, x_1585); -lean_ctor_set(x_1587, 1, x_1586); -return x_1587; -} -} -} -block_1580: +uint8_t x_1559; +lean_dec(x_1); +lean_dec(x_129); +lean_dec(x_128); +x_1559 = l_Array_isEmpty___rarg(x_16); +if (x_1559 == 0) { -lean_object* x_1569; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_1569 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1568); +lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; +lean_dec(x_22); +lean_dec(x_19); lean_dec(x_17); -if (lean_obj_tag(x_1569) == 0) -{ -lean_object* x_1570; lean_object* x_1571; uint8_t x_1572; -x_1570 = lean_ctor_get(x_1569, 1); -lean_inc(x_1570); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +x_1560 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1560, 0, x_127); +x_1561 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_1562 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1562, 0, x_1561); +lean_ctor_set(x_1562, 1, x_1560); +x_1563 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_1564 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1564, 0, x_1562); +lean_ctor_set(x_1564, 1, x_1563); +x_1565 = x_16; +x_1566 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1565); +x_1567 = x_1566; +x_1568 = l_Array_toList___rarg(x_1567); +lean_dec(x_1567); +x_1569 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1568); +x_1570 = l_Array_HasRepr___rarg___closed__1; +x_1571 = lean_string_append(x_1570, x_1569); lean_dec(x_1569); -lean_inc(x_2); -x_1571 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__20(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1570); +x_1572 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1572, 0, x_1571); +x_1573 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1573, 0, x_1572); +x_1574 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1574, 0, x_1564); +lean_ctor_set(x_1574, 1, x_1573); +x_1575 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1574, x_4, x_5, x_6, x_7, x_8, x_9, x_1432); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1572 = !lean_is_exclusive(x_1571); -if (x_1572 == 0) -{ -lean_object* x_1573; -x_1573 = lean_ctor_get(x_1571, 0); -lean_dec(x_1573); -lean_ctor_set(x_1571, 0, x_2); -return x_1571; -} -else -{ -lean_object* x_1574; lean_object* x_1575; -x_1574 = lean_ctor_get(x_1571, 1); -lean_inc(x_1574); -lean_dec(x_1571); -x_1575 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1575, 0, x_2); -lean_ctor_set(x_1575, 1, x_1574); return x_1575; } -} else { -uint8_t x_1576; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1576 = !lean_is_exclusive(x_1569); -if (x_1576 == 0) +lean_object* x_1576; uint8_t x_1577; +lean_dec(x_127); +lean_dec(x_16); +x_1576 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_1577 = l_Lean_checkTraceOption(x_22, x_1576); +lean_dec(x_22); +if (x_1577 == 0) { -return x_1569; -} -else -{ -lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; -x_1577 = lean_ctor_get(x_1569, 0); -x_1578 = lean_ctor_get(x_1569, 1); -lean_inc(x_1578); -lean_inc(x_1577); -lean_dec(x_1569); -x_1579 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1579, 0, x_1577); -lean_ctor_set(x_1579, 1, x_1578); -return x_1579; -} -} -} -} -else -{ -lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; -lean_inc(x_2); -x_1588 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1588, 0, x_2); -x_1589 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1566, x_1588, x_4, x_5, x_6, x_7, x_8, x_9, x_1424); -x_1590 = lean_ctor_get(x_1589, 1); -lean_inc(x_1590); -lean_dec(x_1589); +lean_object* x_1578; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_1591 = x_1590; -goto block_1603; +x_1578 = x_1432; +goto block_1590; } else { -lean_object* x_1604; lean_object* x_1605; -x_1604 = lean_ctor_get(x_13, 0); -lean_inc(x_1604); +lean_object* x_1591; lean_object* x_1592; +x_1591 = lean_ctor_get(x_13, 0); +lean_inc(x_1591); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1605 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1604, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1590); -if (lean_obj_tag(x_1605) == 0) -{ -lean_object* x_1606; -x_1606 = lean_ctor_get(x_1605, 1); -lean_inc(x_1606); -lean_dec(x_1605); -x_1591 = x_1606; -goto block_1603; -} -else -{ -uint8_t x_1607; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1607 = !lean_is_exclusive(x_1605); -if (x_1607 == 0) -{ -return x_1605; -} -else -{ -lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; -x_1608 = lean_ctor_get(x_1605, 0); -x_1609 = lean_ctor_get(x_1605, 1); -lean_inc(x_1609); -lean_inc(x_1608); -lean_dec(x_1605); -x_1610 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1610, 0, x_1608); -lean_ctor_set(x_1610, 1, x_1609); -return x_1610; -} -} -} -block_1603: -{ -lean_object* x_1592; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_1592 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1591); -lean_dec(x_17); +x_1592 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1591, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1432); if (lean_obj_tag(x_1592) == 0) { -lean_object* x_1593; lean_object* x_1594; uint8_t x_1595; +lean_object* x_1593; x_1593 = lean_ctor_get(x_1592, 1); lean_inc(x_1593); lean_dec(x_1592); -lean_inc(x_2); -x_1594 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__21(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1593); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1595 = !lean_is_exclusive(x_1594); -if (x_1595 == 0) -{ -lean_object* x_1596; -x_1596 = lean_ctor_get(x_1594, 0); -lean_dec(x_1596); -lean_ctor_set(x_1594, 0, x_2); -return x_1594; +x_1578 = x_1593; +goto block_1590; } else { -lean_object* x_1597; lean_object* x_1598; -x_1597 = lean_ctor_get(x_1594, 1); -lean_inc(x_1597); -lean_dec(x_1594); -x_1598 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1598, 0, x_2); -lean_ctor_set(x_1598, 1, x_1597); -return x_1598; -} -} -else -{ -uint8_t x_1599; +uint8_t x_1594; lean_dec(x_8); lean_dec(x_19); +lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -11860,24 +11645,250 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1599 = !lean_is_exclusive(x_1592); -if (x_1599 == 0) +x_1594 = !lean_is_exclusive(x_1592); +if (x_1594 == 0) { return x_1592; } else { -lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; -x_1600 = lean_ctor_get(x_1592, 0); -x_1601 = lean_ctor_get(x_1592, 1); -lean_inc(x_1601); -lean_inc(x_1600); +lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; +x_1595 = lean_ctor_get(x_1592, 0); +x_1596 = lean_ctor_get(x_1592, 1); +lean_inc(x_1596); +lean_inc(x_1595); lean_dec(x_1592); -x_1602 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1602, 0, x_1600); -lean_ctor_set(x_1602, 1, x_1601); +x_1597 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1597, 0, x_1595); +lean_ctor_set(x_1597, 1, x_1596); +return x_1597; +} +} +} +block_1590: +{ +lean_object* x_1579; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_1579 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1578); +lean_dec(x_17); +if (lean_obj_tag(x_1579) == 0) +{ +lean_object* x_1580; lean_object* x_1581; uint8_t x_1582; +x_1580 = lean_ctor_get(x_1579, 1); +lean_inc(x_1580); +lean_dec(x_1579); +lean_inc(x_2); +x_1581 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__20(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1580); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1582 = !lean_is_exclusive(x_1581); +if (x_1582 == 0) +{ +lean_object* x_1583; +x_1583 = lean_ctor_get(x_1581, 0); +lean_dec(x_1583); +lean_ctor_set(x_1581, 0, x_2); +return x_1581; +} +else +{ +lean_object* x_1584; lean_object* x_1585; +x_1584 = lean_ctor_get(x_1581, 1); +lean_inc(x_1584); +lean_dec(x_1581); +x_1585 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1585, 0, x_2); +lean_ctor_set(x_1585, 1, x_1584); +return x_1585; +} +} +else +{ +uint8_t x_1586; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1586 = !lean_is_exclusive(x_1579); +if (x_1586 == 0) +{ +return x_1579; +} +else +{ +lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; +x_1587 = lean_ctor_get(x_1579, 0); +x_1588 = lean_ctor_get(x_1579, 1); +lean_inc(x_1588); +lean_inc(x_1587); +lean_dec(x_1579); +x_1589 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1589, 0, x_1587); +lean_ctor_set(x_1589, 1, x_1588); +return x_1589; +} +} +} +} +else +{ +lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; +lean_inc(x_2); +x_1598 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1598, 0, x_2); +x_1599 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1576, x_1598, x_4, x_5, x_6, x_7, x_8, x_9, x_1432); +x_1600 = lean_ctor_get(x_1599, 1); +lean_inc(x_1600); +lean_dec(x_1599); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_1601 = x_1600; +goto block_1613; +} +else +{ +lean_object* x_1614; lean_object* x_1615; +x_1614 = lean_ctor_get(x_13, 0); +lean_inc(x_1614); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_1615 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1614, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1600); +if (lean_obj_tag(x_1615) == 0) +{ +lean_object* x_1616; +x_1616 = lean_ctor_get(x_1615, 1); +lean_inc(x_1616); +lean_dec(x_1615); +x_1601 = x_1616; +goto block_1613; +} +else +{ +uint8_t x_1617; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1617 = !lean_is_exclusive(x_1615); +if (x_1617 == 0) +{ +return x_1615; +} +else +{ +lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; +x_1618 = lean_ctor_get(x_1615, 0); +x_1619 = lean_ctor_get(x_1615, 1); +lean_inc(x_1619); +lean_inc(x_1618); +lean_dec(x_1615); +x_1620 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1620, 0, x_1618); +lean_ctor_set(x_1620, 1, x_1619); +return x_1620; +} +} +} +block_1613: +{ +lean_object* x_1602; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_1602 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1601); +lean_dec(x_17); +if (lean_obj_tag(x_1602) == 0) +{ +lean_object* x_1603; lean_object* x_1604; uint8_t x_1605; +x_1603 = lean_ctor_get(x_1602, 1); +lean_inc(x_1603); +lean_dec(x_1602); +lean_inc(x_2); +x_1604 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__21(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1603); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1605 = !lean_is_exclusive(x_1604); +if (x_1605 == 0) +{ +lean_object* x_1606; +x_1606 = lean_ctor_get(x_1604, 0); +lean_dec(x_1606); +lean_ctor_set(x_1604, 0, x_2); +return x_1604; +} +else +{ +lean_object* x_1607; lean_object* x_1608; +x_1607 = lean_ctor_get(x_1604, 1); +lean_inc(x_1607); +lean_dec(x_1604); +x_1608 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1608, 0, x_2); +lean_ctor_set(x_1608, 1, x_1607); +return x_1608; +} +} +else +{ +uint8_t x_1609; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1609 = !lean_is_exclusive(x_1602); +if (x_1609 == 0) +{ return x_1602; } +else +{ +lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; +x_1610 = lean_ctor_get(x_1602, 0); +x_1611 = lean_ctor_get(x_1602, 1); +lean_inc(x_1611); +lean_inc(x_1610); +lean_dec(x_1602); +x_1612 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1612, 0, x_1610); +lean_ctor_set(x_1612, 1, x_1611); +return x_1612; +} } } } @@ -11886,12 +11897,12 @@ return x_1602; } else { -lean_object* x_1611; lean_object* x_1612; +lean_object* x_1621; lean_object* x_1622; lean_dec(x_1); lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_1611 = lean_array_fget(x_12, x_15); +x_1621 = lean_array_fget(x_12, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -11899,43 +11910,43 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_1612 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1611, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_1424); -if (lean_obj_tag(x_1612) == 0) +x_1622 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1621, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_1432); +if (lean_obj_tag(x_1622) == 0) { -lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; -x_1613 = lean_ctor_get(x_1612, 0); -lean_inc(x_1613); -x_1614 = lean_ctor_get(x_1612, 1); -lean_inc(x_1614); -lean_dec(x_1612); -x_1615 = lean_unsigned_to_nat(1u); -x_1616 = lean_nat_add(x_15, x_1615); +lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; +x_1623 = lean_ctor_get(x_1622, 0); +lean_inc(x_1623); +x_1624 = lean_ctor_get(x_1622, 1); +lean_inc(x_1624); +lean_dec(x_1622); +x_1625 = lean_unsigned_to_nat(1u); +x_1626 = lean_nat_add(x_15, x_1625); lean_dec(x_15); -x_1617 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_1617, 0, x_11); -lean_ctor_set(x_1617, 1, x_12); -lean_ctor_set(x_1617, 2, x_13); -lean_ctor_set(x_1617, 3, x_1616); -lean_ctor_set(x_1617, 4, x_16); -lean_ctor_set(x_1617, 5, x_17); -lean_ctor_set(x_1617, 6, x_18); -lean_ctor_set(x_1617, 7, x_19); -lean_ctor_set_uint8(x_1617, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_1617, sizeof(void*)*8 + 1, x_1425); -lean_inc(x_1613); -x_1618 = l_Lean_mkApp(x_2, x_1613); -x_1619 = lean_expr_instantiate1(x_129, x_1613); -lean_dec(x_1613); +x_1627 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_1627, 0, x_11); +lean_ctor_set(x_1627, 1, x_12); +lean_ctor_set(x_1627, 2, x_13); +lean_ctor_set(x_1627, 3, x_1626); +lean_ctor_set(x_1627, 4, x_16); +lean_ctor_set(x_1627, 5, x_17); +lean_ctor_set(x_1627, 6, x_18); +lean_ctor_set(x_1627, 7, x_19); +lean_ctor_set_uint8(x_1627, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_1627, sizeof(void*)*8 + 1, x_1433); +lean_inc(x_1623); +x_1628 = l_Lean_mkApp(x_2, x_1623); +x_1629 = lean_expr_instantiate1(x_129, x_1623); +lean_dec(x_1623); lean_dec(x_129); -x_1 = x_1617; -x_2 = x_1618; -x_3 = x_1619; -x_10 = x_1614; +x_1 = x_1627; +x_2 = x_1628; +x_3 = x_1629; +x_10 = x_1624; goto _start; } else { -uint8_t x_1621; +uint8_t x_1631; lean_dec(x_129); lean_dec(x_8); lean_dec(x_19); @@ -11952,30 +11963,30 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1621 = !lean_is_exclusive(x_1612); -if (x_1621 == 0) +x_1631 = !lean_is_exclusive(x_1622); +if (x_1631 == 0) { -return x_1612; +return x_1622; } else { -lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; -x_1622 = lean_ctor_get(x_1612, 0); -x_1623 = lean_ctor_get(x_1612, 1); -lean_inc(x_1623); -lean_inc(x_1622); -lean_dec(x_1612); -x_1624 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1624, 0, x_1622); -lean_ctor_set(x_1624, 1, x_1623); -return x_1624; +lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; +x_1632 = lean_ctor_get(x_1622, 0); +x_1633 = lean_ctor_get(x_1622, 1); +lean_inc(x_1633); +lean_inc(x_1632); +lean_dec(x_1622); +x_1634 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1634, 0, x_1632); +lean_ctor_set(x_1634, 1, x_1633); +return x_1634; } } } } else { -uint8_t x_1625; +uint8_t x_1635; lean_free_object(x_1); lean_dec(x_129); lean_dec(x_128); @@ -11997,36 +12008,36 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1625 = !lean_is_exclusive(x_1414); -if (x_1625 == 0) +x_1635 = !lean_is_exclusive(x_1422); +if (x_1635 == 0) { -return x_1414; +return x_1422; } else { -lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; -x_1626 = lean_ctor_get(x_1414, 0); -x_1627 = lean_ctor_get(x_1414, 1); -lean_inc(x_1627); -lean_inc(x_1626); -lean_dec(x_1414); -x_1628 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1628, 0, x_1626); -lean_ctor_set(x_1628, 1, x_1627); -return x_1628; +lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; +x_1636 = lean_ctor_get(x_1422, 0); +x_1637 = lean_ctor_get(x_1422, 1); +lean_inc(x_1637); +lean_inc(x_1636); +lean_dec(x_1422); +x_1638 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1638, 0, x_1636); +lean_ctor_set(x_1638, 1, x_1637); +return x_1638; } } } else { lean_dec(x_1); -if (lean_obj_tag(x_1414) == 0) +if (lean_obj_tag(x_1422) == 0) { -lean_object* x_1629; uint8_t x_1630; lean_object* x_1631; lean_object* x_1632; uint8_t x_1633; -x_1629 = lean_ctor_get(x_1414, 1); -lean_inc(x_1629); -lean_dec(x_1414); -x_1630 = 1; +lean_object* x_1639; uint8_t x_1640; lean_object* x_1641; lean_object* x_1642; uint8_t x_1643; +x_1639 = lean_ctor_get(x_1422, 1); +lean_inc(x_1639); +lean_dec(x_1422); +x_1640 = 1; lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -12035,43 +12046,43 @@ lean_inc(x_15); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -x_1631 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_1631, 0, x_11); -lean_ctor_set(x_1631, 1, x_12); -lean_ctor_set(x_1631, 2, x_13); -lean_ctor_set(x_1631, 3, x_15); -lean_ctor_set(x_1631, 4, x_16); -lean_ctor_set(x_1631, 5, x_17); -lean_ctor_set(x_1631, 6, x_18); -lean_ctor_set(x_1631, 7, x_19); -lean_ctor_set_uint8(x_1631, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_1631, sizeof(void*)*8 + 1, x_1630); -x_1632 = lean_array_get_size(x_12); -x_1633 = lean_nat_dec_lt(x_15, x_1632); -lean_dec(x_1632); -if (x_1633 == 0) +x_1641 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_1641, 0, x_11); +lean_ctor_set(x_1641, 1, x_12); +lean_ctor_set(x_1641, 2, x_13); +lean_ctor_set(x_1641, 3, x_15); +lean_ctor_set(x_1641, 4, x_16); +lean_ctor_set(x_1641, 5, x_17); +lean_ctor_set(x_1641, 6, x_18); +lean_ctor_set(x_1641, 7, x_19); +lean_ctor_set_uint8(x_1641, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_1641, sizeof(void*)*8 + 1, x_1640); +x_1642 = lean_array_get_size(x_12); +x_1643 = lean_nat_dec_lt(x_15, x_1642); +lean_dec(x_1642); +if (x_1643 == 0) { lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); if (x_14 == 0) { -lean_object* x_1634; -x_1634 = l_Lean_Expr_getOptParamDefault_x3f(x_128); -if (lean_obj_tag(x_1634) == 0) +lean_object* x_1644; +x_1644 = l_Lean_Expr_getOptParamDefault_x3f(x_128); +if (lean_obj_tag(x_1644) == 0) { -lean_object* x_1635; -x_1635 = l_Lean_Expr_getAutoParamTactic_x3f(x_128); -if (lean_obj_tag(x_1635) == 0) +lean_object* x_1645; +x_1645 = l_Lean_Expr_getAutoParamTactic_x3f(x_128); +if (lean_obj_tag(x_1645) == 0) { -uint8_t x_1636; -lean_dec(x_1631); +uint8_t x_1646; +lean_dec(x_1641); lean_dec(x_129); lean_dec(x_128); -x_1636 = l_Array_isEmpty___rarg(x_16); -if (x_1636 == 0) +x_1646 = l_Array_isEmpty___rarg(x_16); +if (x_1646 == 0) { -lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; +lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; lean_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -12079,280 +12090,130 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_1637 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1637, 0, x_127); -x_1638 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_1639 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1639, 0, x_1638); -lean_ctor_set(x_1639, 1, x_1637); -x_1640 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_1641 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1641, 0, x_1639); -lean_ctor_set(x_1641, 1, x_1640); -x_1642 = x_16; -x_1643 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1642); -x_1644 = x_1643; -x_1645 = l_Array_toList___rarg(x_1644); -lean_dec(x_1644); -x_1646 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1645); -x_1647 = l_Array_HasRepr___rarg___closed__1; -x_1648 = lean_string_append(x_1647, x_1646); -lean_dec(x_1646); -x_1649 = lean_alloc_ctor(2, 1, 0); +x_1647 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1647, 0, x_127); +x_1648 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_1649 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_1649, 0, x_1648); -x_1650 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1650, 0, x_1649); +lean_ctor_set(x_1649, 1, x_1647); +x_1650 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; x_1651 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1651, 0, x_1641); +lean_ctor_set(x_1651, 0, x_1649); lean_ctor_set(x_1651, 1, x_1650); -x_1652 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1651, x_4, x_5, x_6, x_7, x_8, x_9, x_1629); +x_1652 = x_16; +x_1653 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1652); +x_1654 = x_1653; +x_1655 = l_Array_toList___rarg(x_1654); +lean_dec(x_1654); +x_1656 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1655); +x_1657 = l_Array_HasRepr___rarg___closed__1; +x_1658 = lean_string_append(x_1657, x_1656); +lean_dec(x_1656); +x_1659 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1659, 0, x_1658); +x_1660 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1660, 0, x_1659); +x_1661 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1661, 0, x_1651); +lean_ctor_set(x_1661, 1, x_1660); +x_1662 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1661, x_4, x_5, x_6, x_7, x_8, x_9, x_1639); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1652; +return x_1662; } else { -lean_object* x_1653; uint8_t x_1654; +lean_object* x_1663; uint8_t x_1664; lean_dec(x_127); lean_dec(x_16); -x_1653 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_1654 = l_Lean_checkTraceOption(x_22, x_1653); +x_1663 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_1664 = l_Lean_checkTraceOption(x_22, x_1663); lean_dec(x_22); -if (x_1654 == 0) +if (x_1664 == 0) { -lean_object* x_1655; +lean_object* x_1665; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_1655 = x_1629; -goto block_1666; +x_1665 = x_1639; +goto block_1676; } else { -lean_object* x_1667; lean_object* x_1668; -x_1667 = lean_ctor_get(x_13, 0); -lean_inc(x_1667); +lean_object* x_1677; lean_object* x_1678; +x_1677 = lean_ctor_get(x_13, 0); +lean_inc(x_1677); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1668 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1667, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1629); -if (lean_obj_tag(x_1668) == 0) -{ -lean_object* x_1669; -x_1669 = lean_ctor_get(x_1668, 1); -lean_inc(x_1669); -lean_dec(x_1668); -x_1655 = x_1669; -goto block_1666; -} -else -{ -lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1670 = lean_ctor_get(x_1668, 0); -lean_inc(x_1670); -x_1671 = lean_ctor_get(x_1668, 1); -lean_inc(x_1671); -if (lean_is_exclusive(x_1668)) { - lean_ctor_release(x_1668, 0); - lean_ctor_release(x_1668, 1); - x_1672 = x_1668; -} else { - lean_dec_ref(x_1668); - x_1672 = lean_box(0); -} -if (lean_is_scalar(x_1672)) { - x_1673 = lean_alloc_ctor(1, 2, 0); -} else { - x_1673 = x_1672; -} -lean_ctor_set(x_1673, 0, x_1670); -lean_ctor_set(x_1673, 1, x_1671); -return x_1673; -} -} -block_1666: -{ -lean_object* x_1656; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_1656 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1655); -lean_dec(x_17); -if (lean_obj_tag(x_1656) == 0) -{ -lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; -x_1657 = lean_ctor_get(x_1656, 1); -lean_inc(x_1657); -lean_dec(x_1656); -lean_inc(x_2); -x_1658 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__18(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1657); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1659 = lean_ctor_get(x_1658, 1); -lean_inc(x_1659); -if (lean_is_exclusive(x_1658)) { - lean_ctor_release(x_1658, 0); - lean_ctor_release(x_1658, 1); - x_1660 = x_1658; -} else { - lean_dec_ref(x_1658); - x_1660 = lean_box(0); -} -if (lean_is_scalar(x_1660)) { - x_1661 = lean_alloc_ctor(0, 2, 0); -} else { - x_1661 = x_1660; -} -lean_ctor_set(x_1661, 0, x_2); -lean_ctor_set(x_1661, 1, x_1659); -return x_1661; -} -else -{ -lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1662 = lean_ctor_get(x_1656, 0); -lean_inc(x_1662); -x_1663 = lean_ctor_get(x_1656, 1); -lean_inc(x_1663); -if (lean_is_exclusive(x_1656)) { - lean_ctor_release(x_1656, 0); - lean_ctor_release(x_1656, 1); - x_1664 = x_1656; -} else { - lean_dec_ref(x_1656); - x_1664 = lean_box(0); -} -if (lean_is_scalar(x_1664)) { - x_1665 = lean_alloc_ctor(1, 2, 0); -} else { - x_1665 = x_1664; -} -lean_ctor_set(x_1665, 0, x_1662); -lean_ctor_set(x_1665, 1, x_1663); -return x_1665; -} -} -} -else -{ -lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; -lean_inc(x_2); -x_1674 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1674, 0, x_2); -x_1675 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1653, x_1674, x_4, x_5, x_6, x_7, x_8, x_9, x_1629); -x_1676 = lean_ctor_get(x_1675, 1); -lean_inc(x_1676); -lean_dec(x_1675); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_1677 = x_1676; -goto block_1688; -} -else -{ -lean_object* x_1689; lean_object* x_1690; -x_1689 = lean_ctor_get(x_13, 0); -lean_inc(x_1689); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -x_1690 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1689, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1676); -if (lean_obj_tag(x_1690) == 0) -{ -lean_object* x_1691; -x_1691 = lean_ctor_get(x_1690, 1); -lean_inc(x_1691); -lean_dec(x_1690); -x_1677 = x_1691; -goto block_1688; -} -else -{ -lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1692 = lean_ctor_get(x_1690, 0); -lean_inc(x_1692); -x_1693 = lean_ctor_get(x_1690, 1); -lean_inc(x_1693); -if (lean_is_exclusive(x_1690)) { - lean_ctor_release(x_1690, 0); - lean_ctor_release(x_1690, 1); - x_1694 = x_1690; -} else { - lean_dec_ref(x_1690); - x_1694 = lean_box(0); -} -if (lean_is_scalar(x_1694)) { - x_1695 = lean_alloc_ctor(1, 2, 0); -} else { - x_1695 = x_1694; -} -lean_ctor_set(x_1695, 0, x_1692); -lean_ctor_set(x_1695, 1, x_1693); -return x_1695; -} -} -block_1688: -{ -lean_object* x_1678; -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_1678 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1677); -lean_dec(x_17); +x_1678 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1677, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1639); if (lean_obj_tag(x_1678) == 0) { -lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; +lean_object* x_1679; x_1679 = lean_ctor_get(x_1678, 1); lean_inc(x_1679); lean_dec(x_1678); +x_1665 = x_1679; +goto block_1676; +} +else +{ +lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1680 = lean_ctor_get(x_1678, 0); +lean_inc(x_1680); +x_1681 = lean_ctor_get(x_1678, 1); +lean_inc(x_1681); +if (lean_is_exclusive(x_1678)) { + lean_ctor_release(x_1678, 0); + lean_ctor_release(x_1678, 1); + x_1682 = x_1678; +} else { + lean_dec_ref(x_1678); + x_1682 = lean_box(0); +} +if (lean_is_scalar(x_1682)) { + x_1683 = lean_alloc_ctor(1, 2, 0); +} else { + x_1683 = x_1682; +} +lean_ctor_set(x_1683, 0, x_1680); +lean_ctor_set(x_1683, 1, x_1681); +return x_1683; +} +} +block_1676: +{ +lean_object* x_1666; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_1666 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1665); +lean_dec(x_17); +if (lean_obj_tag(x_1666) == 0) +{ +lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; +x_1667 = lean_ctor_get(x_1666, 1); +lean_inc(x_1667); +lean_dec(x_1666); lean_inc(x_2); -x_1680 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__19(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1679); +x_1668 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__18(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1667); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12360,28 +12221,178 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_1681 = lean_ctor_get(x_1680, 1); -lean_inc(x_1681); -if (lean_is_exclusive(x_1680)) { - lean_ctor_release(x_1680, 0); - lean_ctor_release(x_1680, 1); - x_1682 = x_1680; +x_1669 = lean_ctor_get(x_1668, 1); +lean_inc(x_1669); +if (lean_is_exclusive(x_1668)) { + lean_ctor_release(x_1668, 0); + lean_ctor_release(x_1668, 1); + x_1670 = x_1668; } else { - lean_dec_ref(x_1680); - x_1682 = lean_box(0); + lean_dec_ref(x_1668); + x_1670 = lean_box(0); } -if (lean_is_scalar(x_1682)) { - x_1683 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1670)) { + x_1671 = lean_alloc_ctor(0, 2, 0); } else { - x_1683 = x_1682; + x_1671 = x_1670; +} +lean_ctor_set(x_1671, 0, x_2); +lean_ctor_set(x_1671, 1, x_1669); +return x_1671; +} +else +{ +lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1672 = lean_ctor_get(x_1666, 0); +lean_inc(x_1672); +x_1673 = lean_ctor_get(x_1666, 1); +lean_inc(x_1673); +if (lean_is_exclusive(x_1666)) { + lean_ctor_release(x_1666, 0); + lean_ctor_release(x_1666, 1); + x_1674 = x_1666; +} else { + lean_dec_ref(x_1666); + x_1674 = lean_box(0); +} +if (lean_is_scalar(x_1674)) { + x_1675 = lean_alloc_ctor(1, 2, 0); +} else { + x_1675 = x_1674; +} +lean_ctor_set(x_1675, 0, x_1672); +lean_ctor_set(x_1675, 1, x_1673); +return x_1675; +} } -lean_ctor_set(x_1683, 0, x_2); -lean_ctor_set(x_1683, 1, x_1681); -return x_1683; } else { lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; +lean_inc(x_2); +x_1684 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1684, 0, x_2); +x_1685 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1663, x_1684, x_4, x_5, x_6, x_7, x_8, x_9, x_1639); +x_1686 = lean_ctor_get(x_1685, 1); +lean_inc(x_1686); +lean_dec(x_1685); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_1687 = x_1686; +goto block_1698; +} +else +{ +lean_object* x_1699; lean_object* x_1700; +x_1699 = lean_ctor_get(x_13, 0); +lean_inc(x_1699); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_1700 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1699, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1686); +if (lean_obj_tag(x_1700) == 0) +{ +lean_object* x_1701; +x_1701 = lean_ctor_get(x_1700, 1); +lean_inc(x_1701); +lean_dec(x_1700); +x_1687 = x_1701; +goto block_1698; +} +else +{ +lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1702 = lean_ctor_get(x_1700, 0); +lean_inc(x_1702); +x_1703 = lean_ctor_get(x_1700, 1); +lean_inc(x_1703); +if (lean_is_exclusive(x_1700)) { + lean_ctor_release(x_1700, 0); + lean_ctor_release(x_1700, 1); + x_1704 = x_1700; +} else { + lean_dec_ref(x_1700); + x_1704 = lean_box(0); +} +if (lean_is_scalar(x_1704)) { + x_1705 = lean_alloc_ctor(1, 2, 0); +} else { + x_1705 = x_1704; +} +lean_ctor_set(x_1705, 0, x_1702); +lean_ctor_set(x_1705, 1, x_1703); +return x_1705; +} +} +block_1698: +{ +lean_object* x_1688; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_1688 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1687); +lean_dec(x_17); +if (lean_obj_tag(x_1688) == 0) +{ +lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; +x_1689 = lean_ctor_get(x_1688, 1); +lean_inc(x_1689); +lean_dec(x_1688); +lean_inc(x_2); +x_1690 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__19(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1689); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_1691 = lean_ctor_get(x_1690, 1); +lean_inc(x_1691); +if (lean_is_exclusive(x_1690)) { + lean_ctor_release(x_1690, 0); + lean_ctor_release(x_1690, 1); + x_1692 = x_1690; +} else { + lean_dec_ref(x_1690); + x_1692 = lean_box(0); +} +if (lean_is_scalar(x_1692)) { + x_1693 = lean_alloc_ctor(0, 2, 0); +} else { + x_1693 = x_1692; +} +lean_ctor_set(x_1693, 0, x_2); +lean_ctor_set(x_1693, 1, x_1691); +return x_1693; +} +else +{ +lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_dec(x_8); lean_dec(x_19); lean_dec(x_11); @@ -12391,26 +12402,26 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1684 = lean_ctor_get(x_1678, 0); -lean_inc(x_1684); -x_1685 = lean_ctor_get(x_1678, 1); -lean_inc(x_1685); -if (lean_is_exclusive(x_1678)) { - lean_ctor_release(x_1678, 0); - lean_ctor_release(x_1678, 1); - x_1686 = x_1678; +x_1694 = lean_ctor_get(x_1688, 0); +lean_inc(x_1694); +x_1695 = lean_ctor_get(x_1688, 1); +lean_inc(x_1695); +if (lean_is_exclusive(x_1688)) { + lean_ctor_release(x_1688, 0); + lean_ctor_release(x_1688, 1); + x_1696 = x_1688; } else { - lean_dec_ref(x_1678); - x_1686 = lean_box(0); + lean_dec_ref(x_1688); + x_1696 = lean_box(0); } -if (lean_is_scalar(x_1686)) { - x_1687 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1696)) { + x_1697 = lean_alloc_ctor(1, 2, 0); } else { - x_1687 = x_1686; + x_1697 = x_1696; } -lean_ctor_set(x_1687, 0, x_1684); -lean_ctor_set(x_1687, 1, x_1685); -return x_1687; +lean_ctor_set(x_1697, 0, x_1694); +lean_ctor_set(x_1697, 1, x_1695); +return x_1697; } } } @@ -12418,7 +12429,7 @@ return x_1687; } else { -lean_object* x_1696; +lean_object* x_1706; lean_dec(x_127); lean_dec(x_22); lean_dec(x_19); @@ -12426,102 +12437,104 @@ lean_dec(x_17); lean_dec(x_16); lean_dec(x_13); lean_dec(x_3); -x_1696 = lean_ctor_get(x_1635, 0); -lean_inc(x_1696); -lean_dec(x_1635); -if (lean_obj_tag(x_1696) == 4) +x_1706 = lean_ctor_get(x_1645, 0); +lean_inc(x_1706); +lean_dec(x_1645); +if (lean_obj_tag(x_1706) == 4) { -lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; -x_1697 = lean_ctor_get(x_1696, 0); -lean_inc(x_1697); -lean_dec(x_1696); -x_1698 = lean_st_ref_get(x_9, x_1629); -x_1699 = lean_ctor_get(x_1698, 0); -lean_inc(x_1699); -x_1700 = lean_ctor_get(x_1698, 1); -lean_inc(x_1700); -lean_dec(x_1698); -x_1701 = lean_ctor_get(x_1699, 0); -lean_inc(x_1701); -lean_dec(x_1699); -x_1702 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_1701, x_1697); -if (lean_obj_tag(x_1702) == 0) +lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; +x_1707 = lean_ctor_get(x_1706, 0); +lean_inc(x_1707); +lean_dec(x_1706); +x_1708 = lean_st_ref_get(x_9, x_1639); +x_1709 = lean_ctor_get(x_1708, 0); +lean_inc(x_1709); +x_1710 = lean_ctor_get(x_1708, 1); +lean_inc(x_1710); +lean_dec(x_1708); +x_1711 = lean_ctor_get(x_1709, 0); +lean_inc(x_1711); +lean_dec(x_1709); +x_1712 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_1711, x_1707); +if (lean_obj_tag(x_1712) == 0) { -lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; -lean_dec(x_1631); +lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; +lean_dec(x_1641); lean_dec(x_129); lean_dec(x_128); lean_dec(x_11); lean_dec(x_2); -x_1703 = lean_ctor_get(x_1702, 0); -lean_inc(x_1703); -lean_dec(x_1702); -x_1704 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1704, 0, x_1703); -x_1705 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1705, 0, x_1704); -x_1706 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1705, x_4, x_5, x_6, x_7, x_8, x_9, x_1700); +x_1713 = lean_ctor_get(x_1712, 0); +lean_inc(x_1713); +lean_dec(x_1712); +x_1714 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1714, 0, x_1713); +x_1715 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1715, 0, x_1714); +x_1716 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1715, x_4, x_5, x_6, x_7, x_8, x_9, x_1710); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1706; +return x_1716; } else { -lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; -x_1707 = lean_ctor_get(x_1702, 0); -lean_inc(x_1707); -lean_dec(x_1702); -x_1708 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1700); -x_1709 = lean_ctor_get(x_1708, 1); -lean_inc(x_1709); -lean_dec(x_1708); -x_1710 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1709); -x_1711 = lean_ctor_get(x_1710, 1); -lean_inc(x_1711); -lean_dec(x_1710); -x_1712 = l_Lean_Syntax_getArgs(x_1707); -lean_dec(x_1707); -x_1713 = l_Array_empty___closed__1; -x_1714 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1712, x_1712, x_131, x_1713); +lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; +x_1717 = lean_ctor_get(x_1712, 0); +lean_inc(x_1717); lean_dec(x_1712); -x_1715 = l_Lean_nullKind___closed__2; -x_1716 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1716, 0, x_1715); -lean_ctor_set(x_1716, 1, x_1714); -x_1717 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_1718 = lean_array_push(x_1717, x_1716); -x_1719 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; -x_1720 = lean_array_push(x_1718, x_1719); -x_1721 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -x_1722 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1722, 0, x_1721); -lean_ctor_set(x_1722, 1, x_1720); -x_1723 = lean_array_push(x_1713, x_1722); -x_1724 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -x_1725 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1725, 0, x_1724); -lean_ctor_set(x_1725, 1, x_1723); -x_1726 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; -x_1727 = lean_array_push(x_1726, x_1725); -x_1728 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -x_1729 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1729, 0, x_1728); -lean_ctor_set(x_1729, 1, x_1727); -x_1730 = l_Lean_Syntax_copyInfo(x_1729, x_11); +x_1718 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_8, x_9, x_1710); +x_1719 = lean_ctor_get(x_1718, 1); +lean_inc(x_1719); +lean_dec(x_1718); +x_1720 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_1719); +x_1721 = lean_ctor_get(x_1720, 1); +lean_inc(x_1721); +lean_dec(x_1720); +x_1722 = l_Lean_Syntax_getArgs(x_1717); +lean_dec(x_1717); +x_1723 = l_Array_empty___closed__1; +x_1724 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1722, x_1722, x_131, x_1723); +lean_dec(x_1722); +x_1725 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_1726 = lean_array_push(x_1724, x_1725); +x_1727 = l_Lean_nullKind___closed__2; +x_1728 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1728, 0, x_1727); +lean_ctor_set(x_1728, 1, x_1726); +x_1729 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_1730 = lean_array_push(x_1729, x_1728); +x_1731 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; +x_1732 = lean_array_push(x_1730, x_1731); +x_1733 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_1734 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1734, 0, x_1733); +lean_ctor_set(x_1734, 1, x_1732); +x_1735 = lean_array_push(x_1723, x_1734); +x_1736 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +x_1737 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1737, 0, x_1736); +lean_ctor_set(x_1737, 1, x_1735); +x_1738 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; +x_1739 = lean_array_push(x_1738, x_1737); +x_1740 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_1741 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1741, 0, x_1740); +lean_ctor_set(x_1741, 1, x_1739); +x_1742 = l_Lean_Syntax_copyInfo(x_1741, x_11); lean_dec(x_11); -x_1731 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); -x_1732 = lean_nat_sub(x_1731, x_131); -lean_dec(x_1731); -x_1733 = lean_unsigned_to_nat(1u); -x_1734 = lean_nat_sub(x_1732, x_1733); -lean_dec(x_1732); -x_1735 = l_Lean_Expr_getRevArg_x21___main(x_128, x_1734); +x_1743 = l_Lean_Expr_getAppNumArgsAux___main(x_128, x_131); +x_1744 = lean_nat_sub(x_1743, x_131); +lean_dec(x_1743); +x_1745 = lean_unsigned_to_nat(1u); +x_1746 = lean_nat_sub(x_1744, x_1745); +lean_dec(x_1744); +x_1747 = l_Lean_Expr_getRevArg_x21___main(x_128, x_1746); lean_dec(x_128); -x_1736 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1736, 0, x_1730); +x_1748 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1748, 0, x_1742); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -12529,30 +12542,30 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_1737 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1736, x_1735, x_4, x_5, x_6, x_7, x_8, x_9, x_1711); -if (lean_obj_tag(x_1737) == 0) +x_1749 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1748, x_1747, x_4, x_5, x_6, x_7, x_8, x_9, x_1721); +if (lean_obj_tag(x_1749) == 0) { -lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; -x_1738 = lean_ctor_get(x_1737, 0); -lean_inc(x_1738); -x_1739 = lean_ctor_get(x_1737, 1); -lean_inc(x_1739); -lean_dec(x_1737); -lean_inc(x_1738); -x_1740 = l_Lean_mkApp(x_2, x_1738); -x_1741 = lean_expr_instantiate1(x_129, x_1738); -lean_dec(x_1738); +lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; +x_1750 = lean_ctor_get(x_1749, 0); +lean_inc(x_1750); +x_1751 = lean_ctor_get(x_1749, 1); +lean_inc(x_1751); +lean_dec(x_1749); +lean_inc(x_1750); +x_1752 = l_Lean_mkApp(x_2, x_1750); +x_1753 = lean_expr_instantiate1(x_129, x_1750); +lean_dec(x_1750); lean_dec(x_129); -x_1 = x_1631; -x_2 = x_1740; -x_3 = x_1741; -x_10 = x_1739; +x_1 = x_1641; +x_2 = x_1752; +x_3 = x_1753; +x_10 = x_1751; goto _start; } else { -lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; -lean_dec(x_1631); +lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; +lean_dec(x_1641); lean_dec(x_129); lean_dec(x_8); lean_dec(x_9); @@ -12561,52 +12574,52 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1743 = lean_ctor_get(x_1737, 0); -lean_inc(x_1743); -x_1744 = lean_ctor_get(x_1737, 1); -lean_inc(x_1744); -if (lean_is_exclusive(x_1737)) { - lean_ctor_release(x_1737, 0); - lean_ctor_release(x_1737, 1); - x_1745 = x_1737; +x_1755 = lean_ctor_get(x_1749, 0); +lean_inc(x_1755); +x_1756 = lean_ctor_get(x_1749, 1); +lean_inc(x_1756); +if (lean_is_exclusive(x_1749)) { + lean_ctor_release(x_1749, 0); + lean_ctor_release(x_1749, 1); + x_1757 = x_1749; } else { - lean_dec_ref(x_1737); - x_1745 = lean_box(0); + lean_dec_ref(x_1749); + x_1757 = lean_box(0); } -if (lean_is_scalar(x_1745)) { - x_1746 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1757)) { + x_1758 = lean_alloc_ctor(1, 2, 0); } else { - x_1746 = x_1745; + x_1758 = x_1757; } -lean_ctor_set(x_1746, 0, x_1743); -lean_ctor_set(x_1746, 1, x_1744); -return x_1746; +lean_ctor_set(x_1758, 0, x_1755); +lean_ctor_set(x_1758, 1, x_1756); +return x_1758; } } } else { -lean_object* x_1747; lean_object* x_1748; -lean_dec(x_1696); -lean_dec(x_1631); +lean_object* x_1759; lean_object* x_1760; +lean_dec(x_1706); +lean_dec(x_1641); lean_dec(x_129); lean_dec(x_128); lean_dec(x_11); lean_dec(x_2); -x_1747 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; -x_1748 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1747, x_4, x_5, x_6, x_7, x_8, x_9, x_1629); +x_1759 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; +x_1760 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1759, x_4, x_5, x_6, x_7, x_8, x_9, x_1639); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1748; +return x_1760; } } } else { -lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; +lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_dec(x_128); lean_dec(x_127); lean_dec(x_22); @@ -12616,31 +12629,31 @@ lean_dec(x_16); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); -x_1749 = lean_ctor_get(x_1634, 0); -lean_inc(x_1749); -lean_dec(x_1634); -lean_inc(x_1749); -x_1750 = l_Lean_mkApp(x_2, x_1749); -x_1751 = lean_expr_instantiate1(x_129, x_1749); -lean_dec(x_1749); +x_1761 = lean_ctor_get(x_1644, 0); +lean_inc(x_1761); +lean_dec(x_1644); +lean_inc(x_1761); +x_1762 = l_Lean_mkApp(x_2, x_1761); +x_1763 = lean_expr_instantiate1(x_129, x_1761); +lean_dec(x_1761); lean_dec(x_129); -x_1 = x_1631; -x_2 = x_1750; -x_3 = x_1751; -x_10 = x_1629; +x_1 = x_1641; +x_2 = x_1762; +x_3 = x_1763; +x_10 = x_1639; goto _start; } } else { -uint8_t x_1753; -lean_dec(x_1631); +uint8_t x_1765; +lean_dec(x_1641); lean_dec(x_129); lean_dec(x_128); -x_1753 = l_Array_isEmpty___rarg(x_16); -if (x_1753 == 0) +x_1765 = l_Array_isEmpty___rarg(x_16); +if (x_1765 == 0) { -lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; +lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_dec(x_22); lean_dec(x_19); lean_dec(x_17); @@ -12648,80 +12661,80 @@ lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_1754 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1754, 0, x_127); -x_1755 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_1756 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1756, 0, x_1755); -lean_ctor_set(x_1756, 1, x_1754); -x_1757 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_1758 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1758, 0, x_1756); -lean_ctor_set(x_1758, 1, x_1757); -x_1759 = x_16; -x_1760 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1759); -x_1761 = x_1760; -x_1762 = l_Array_toList___rarg(x_1761); -lean_dec(x_1761); -x_1763 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1762); -x_1764 = l_Array_HasRepr___rarg___closed__1; -x_1765 = lean_string_append(x_1764, x_1763); -lean_dec(x_1763); -x_1766 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1766, 0, x_1765); -x_1767 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1767, 0, x_1766); +x_1766 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1766, 0, x_127); +x_1767 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; x_1768 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_1768, 0, x_1758); -lean_ctor_set(x_1768, 1, x_1767); -x_1769 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1768, x_4, x_5, x_6, x_7, x_8, x_9, x_1629); +lean_ctor_set(x_1768, 0, x_1767); +lean_ctor_set(x_1768, 1, x_1766); +x_1769 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_1770 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1770, 0, x_1768); +lean_ctor_set(x_1770, 1, x_1769); +x_1771 = x_16; +x_1772 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_131, x_1771); +x_1773 = x_1772; +x_1774 = l_Array_toList___rarg(x_1773); +lean_dec(x_1773); +x_1775 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_1774); +x_1776 = l_Array_HasRepr___rarg___closed__1; +x_1777 = lean_string_append(x_1776, x_1775); +lean_dec(x_1775); +x_1778 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1778, 0, x_1777); +x_1779 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1779, 0, x_1778); +x_1780 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_1780, 0, x_1770); +lean_ctor_set(x_1780, 1, x_1779); +x_1781 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_1780, x_4, x_5, x_6, x_7, x_8, x_9, x_1639); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_1769; +return x_1781; } else { -lean_object* x_1770; uint8_t x_1771; +lean_object* x_1782; uint8_t x_1783; lean_dec(x_127); lean_dec(x_16); -x_1770 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_1771 = l_Lean_checkTraceOption(x_22, x_1770); +x_1782 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_1783 = l_Lean_checkTraceOption(x_22, x_1782); lean_dec(x_22); -if (x_1771 == 0) +if (x_1783 == 0) { -lean_object* x_1772; +lean_object* x_1784; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_1772 = x_1629; -goto block_1783; +x_1784 = x_1639; +goto block_1795; } else { -lean_object* x_1784; lean_object* x_1785; -x_1784 = lean_ctor_get(x_13, 0); -lean_inc(x_1784); +lean_object* x_1796; lean_object* x_1797; +x_1796 = lean_ctor_get(x_13, 0); +lean_inc(x_1796); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1785 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1784, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1629); -if (lean_obj_tag(x_1785) == 0) +x_1797 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1796, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1639); +if (lean_obj_tag(x_1797) == 0) { -lean_object* x_1786; -x_1786 = lean_ctor_get(x_1785, 1); -lean_inc(x_1786); -lean_dec(x_1785); -x_1772 = x_1786; -goto block_1783; +lean_object* x_1798; +x_1798 = lean_ctor_get(x_1797, 1); +lean_inc(x_1798); +lean_dec(x_1797); +x_1784 = x_1798; +goto block_1795; } else { -lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; +lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -12732,46 +12745,46 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1787 = lean_ctor_get(x_1785, 0); -lean_inc(x_1787); -x_1788 = lean_ctor_get(x_1785, 1); -lean_inc(x_1788); -if (lean_is_exclusive(x_1785)) { - lean_ctor_release(x_1785, 0); - lean_ctor_release(x_1785, 1); - x_1789 = x_1785; +x_1799 = lean_ctor_get(x_1797, 0); +lean_inc(x_1799); +x_1800 = lean_ctor_get(x_1797, 1); +lean_inc(x_1800); +if (lean_is_exclusive(x_1797)) { + lean_ctor_release(x_1797, 0); + lean_ctor_release(x_1797, 1); + x_1801 = x_1797; } else { - lean_dec_ref(x_1785); - x_1789 = lean_box(0); + lean_dec_ref(x_1797); + x_1801 = lean_box(0); } -if (lean_is_scalar(x_1789)) { - x_1790 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1801)) { + x_1802 = lean_alloc_ctor(1, 2, 0); } else { - x_1790 = x_1789; + x_1802 = x_1801; } -lean_ctor_set(x_1790, 0, x_1787); -lean_ctor_set(x_1790, 1, x_1788); -return x_1790; +lean_ctor_set(x_1802, 0, x_1799); +lean_ctor_set(x_1802, 1, x_1800); +return x_1802; } } -block_1783: +block_1795: { -lean_object* x_1773; +lean_object* x_1785; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_1773 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1772); +x_1785 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1784); lean_dec(x_17); -if (lean_obj_tag(x_1773) == 0) +if (lean_obj_tag(x_1785) == 0) { -lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; -x_1774 = lean_ctor_get(x_1773, 1); -lean_inc(x_1774); -lean_dec(x_1773); +lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; +x_1786 = lean_ctor_get(x_1785, 1); +lean_inc(x_1786); +lean_dec(x_1785); lean_inc(x_2); -x_1775 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__20(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1774); +x_1787 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__20(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1786); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12779,99 +12792,99 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_1776 = lean_ctor_get(x_1775, 1); -lean_inc(x_1776); -if (lean_is_exclusive(x_1775)) { - lean_ctor_release(x_1775, 0); - lean_ctor_release(x_1775, 1); - x_1777 = x_1775; +x_1788 = lean_ctor_get(x_1787, 1); +lean_inc(x_1788); +if (lean_is_exclusive(x_1787)) { + lean_ctor_release(x_1787, 0); + lean_ctor_release(x_1787, 1); + x_1789 = x_1787; } else { - lean_dec_ref(x_1775); - x_1777 = lean_box(0); + lean_dec_ref(x_1787); + x_1789 = lean_box(0); } -if (lean_is_scalar(x_1777)) { - x_1778 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1789)) { + x_1790 = lean_alloc_ctor(0, 2, 0); } else { - x_1778 = x_1777; -} -lean_ctor_set(x_1778, 0, x_2); -lean_ctor_set(x_1778, 1, x_1776); -return x_1778; -} -else -{ -lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; -lean_dec(x_8); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1779 = lean_ctor_get(x_1773, 0); -lean_inc(x_1779); -x_1780 = lean_ctor_get(x_1773, 1); -lean_inc(x_1780); -if (lean_is_exclusive(x_1773)) { - lean_ctor_release(x_1773, 0); - lean_ctor_release(x_1773, 1); - x_1781 = x_1773; -} else { - lean_dec_ref(x_1773); - x_1781 = lean_box(0); -} -if (lean_is_scalar(x_1781)) { - x_1782 = lean_alloc_ctor(1, 2, 0); -} else { - x_1782 = x_1781; -} -lean_ctor_set(x_1782, 0, x_1779); -lean_ctor_set(x_1782, 1, x_1780); -return x_1782; -} + x_1790 = x_1789; } +lean_ctor_set(x_1790, 0, x_2); +lean_ctor_set(x_1790, 1, x_1788); +return x_1790; } else { lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; -lean_inc(x_2); -x_1791 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1791, 0, x_2); -x_1792 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1770, x_1791, x_4, x_5, x_6, x_7, x_8, x_9, x_1629); -x_1793 = lean_ctor_get(x_1792, 1); -lean_inc(x_1793); -lean_dec(x_1792); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_1794 = x_1793; -goto block_1805; +lean_dec(x_8); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1791 = lean_ctor_get(x_1785, 0); +lean_inc(x_1791); +x_1792 = lean_ctor_get(x_1785, 1); +lean_inc(x_1792); +if (lean_is_exclusive(x_1785)) { + lean_ctor_release(x_1785, 0); + lean_ctor_release(x_1785, 1); + x_1793 = x_1785; +} else { + lean_dec_ref(x_1785); + x_1793 = lean_box(0); +} +if (lean_is_scalar(x_1793)) { + x_1794 = lean_alloc_ctor(1, 2, 0); +} else { + x_1794 = x_1793; +} +lean_ctor_set(x_1794, 0, x_1791); +lean_ctor_set(x_1794, 1, x_1792); +return x_1794; +} +} } else { -lean_object* x_1806; lean_object* x_1807; -x_1806 = lean_ctor_get(x_13, 0); -lean_inc(x_1806); +lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; +lean_inc(x_2); +x_1803 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1803, 0, x_2); +x_1804 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1782, x_1803, x_4, x_5, x_6, x_7, x_8, x_9, x_1639); +x_1805 = lean_ctor_get(x_1804, 1); +lean_inc(x_1805); +lean_dec(x_1804); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_1806 = x_1805; +goto block_1817; +} +else +{ +lean_object* x_1818; lean_object* x_1819; +x_1818 = lean_ctor_get(x_13, 0); +lean_inc(x_1818); lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_1807 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1806, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1793); -if (lean_obj_tag(x_1807) == 0) +x_1819 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1818, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_1805); +if (lean_obj_tag(x_1819) == 0) { -lean_object* x_1808; -x_1808 = lean_ctor_get(x_1807, 1); -lean_inc(x_1808); -lean_dec(x_1807); -x_1794 = x_1808; -goto block_1805; +lean_object* x_1820; +x_1820 = lean_ctor_get(x_1819, 1); +lean_inc(x_1820); +lean_dec(x_1819); +x_1806 = x_1820; +goto block_1817; } else { -lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; +lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_dec(x_8); lean_dec(x_19); lean_dec(x_17); @@ -12882,46 +12895,46 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1809 = lean_ctor_get(x_1807, 0); -lean_inc(x_1809); -x_1810 = lean_ctor_get(x_1807, 1); -lean_inc(x_1810); -if (lean_is_exclusive(x_1807)) { - lean_ctor_release(x_1807, 0); - lean_ctor_release(x_1807, 1); - x_1811 = x_1807; +x_1821 = lean_ctor_get(x_1819, 0); +lean_inc(x_1821); +x_1822 = lean_ctor_get(x_1819, 1); +lean_inc(x_1822); +if (lean_is_exclusive(x_1819)) { + lean_ctor_release(x_1819, 0); + lean_ctor_release(x_1819, 1); + x_1823 = x_1819; } else { - lean_dec_ref(x_1807); - x_1811 = lean_box(0); + lean_dec_ref(x_1819); + x_1823 = lean_box(0); } -if (lean_is_scalar(x_1811)) { - x_1812 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1823)) { + x_1824 = lean_alloc_ctor(1, 2, 0); } else { - x_1812 = x_1811; + x_1824 = x_1823; } -lean_ctor_set(x_1812, 0, x_1809); -lean_ctor_set(x_1812, 1, x_1810); -return x_1812; +lean_ctor_set(x_1824, 0, x_1821); +lean_ctor_set(x_1824, 1, x_1822); +return x_1824; } } -block_1805: +block_1817: { -lean_object* x_1795; +lean_object* x_1807; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_1795 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1794); +x_1807 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1806); lean_dec(x_17); -if (lean_obj_tag(x_1795) == 0) +if (lean_obj_tag(x_1807) == 0) { -lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; -x_1796 = lean_ctor_get(x_1795, 1); -lean_inc(x_1796); -lean_dec(x_1795); +lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; +x_1808 = lean_ctor_get(x_1807, 1); +lean_inc(x_1808); +lean_dec(x_1807); lean_inc(x_2); -x_1797 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__21(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1796); +x_1809 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__21(x_2, x_11, x_19, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_1808); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12929,28 +12942,28 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_1798 = lean_ctor_get(x_1797, 1); -lean_inc(x_1798); -if (lean_is_exclusive(x_1797)) { - lean_ctor_release(x_1797, 0); - lean_ctor_release(x_1797, 1); - x_1799 = x_1797; +x_1810 = lean_ctor_get(x_1809, 1); +lean_inc(x_1810); +if (lean_is_exclusive(x_1809)) { + lean_ctor_release(x_1809, 0); + lean_ctor_release(x_1809, 1); + x_1811 = x_1809; } else { - lean_dec_ref(x_1797); - x_1799 = lean_box(0); + lean_dec_ref(x_1809); + x_1811 = lean_box(0); } -if (lean_is_scalar(x_1799)) { - x_1800 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1811)) { + x_1812 = lean_alloc_ctor(0, 2, 0); } else { - x_1800 = x_1799; + x_1812 = x_1811; } -lean_ctor_set(x_1800, 0, x_2); -lean_ctor_set(x_1800, 1, x_1798); -return x_1800; +lean_ctor_set(x_1812, 0, x_2); +lean_ctor_set(x_1812, 1, x_1810); +return x_1812; } else { -lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; +lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_dec(x_8); lean_dec(x_19); lean_dec(x_11); @@ -12960,26 +12973,26 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1801 = lean_ctor_get(x_1795, 0); -lean_inc(x_1801); -x_1802 = lean_ctor_get(x_1795, 1); -lean_inc(x_1802); -if (lean_is_exclusive(x_1795)) { - lean_ctor_release(x_1795, 0); - lean_ctor_release(x_1795, 1); - x_1803 = x_1795; +x_1813 = lean_ctor_get(x_1807, 0); +lean_inc(x_1813); +x_1814 = lean_ctor_get(x_1807, 1); +lean_inc(x_1814); +if (lean_is_exclusive(x_1807)) { + lean_ctor_release(x_1807, 0); + lean_ctor_release(x_1807, 1); + x_1815 = x_1807; } else { - lean_dec_ref(x_1795); - x_1803 = lean_box(0); + lean_dec_ref(x_1807); + x_1815 = lean_box(0); } -if (lean_is_scalar(x_1803)) { - x_1804 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1815)) { + x_1816 = lean_alloc_ctor(1, 2, 0); } else { - x_1804 = x_1803; + x_1816 = x_1815; } -lean_ctor_set(x_1804, 0, x_1801); -lean_ctor_set(x_1804, 1, x_1802); -return x_1804; +lean_ctor_set(x_1816, 0, x_1813); +lean_ctor_set(x_1816, 1, x_1814); +return x_1816; } } } @@ -12988,12 +13001,12 @@ return x_1804; } else { -lean_object* x_1813; lean_object* x_1814; -lean_dec(x_1631); +lean_object* x_1825; lean_object* x_1826; +lean_dec(x_1641); lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_1813 = lean_array_fget(x_12, x_15); +x_1825 = lean_array_fget(x_12, x_15); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -13001,43 +13014,43 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_1814 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1813, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_1629); -if (lean_obj_tag(x_1814) == 0) +x_1826 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1825, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_1639); +if (lean_obj_tag(x_1826) == 0) { -lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; -x_1815 = lean_ctor_get(x_1814, 0); -lean_inc(x_1815); -x_1816 = lean_ctor_get(x_1814, 1); -lean_inc(x_1816); -lean_dec(x_1814); -x_1817 = lean_unsigned_to_nat(1u); -x_1818 = lean_nat_add(x_15, x_1817); +lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; +x_1827 = lean_ctor_get(x_1826, 0); +lean_inc(x_1827); +x_1828 = lean_ctor_get(x_1826, 1); +lean_inc(x_1828); +lean_dec(x_1826); +x_1829 = lean_unsigned_to_nat(1u); +x_1830 = lean_nat_add(x_15, x_1829); lean_dec(x_15); -x_1819 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_1819, 0, x_11); -lean_ctor_set(x_1819, 1, x_12); -lean_ctor_set(x_1819, 2, x_13); -lean_ctor_set(x_1819, 3, x_1818); -lean_ctor_set(x_1819, 4, x_16); -lean_ctor_set(x_1819, 5, x_17); -lean_ctor_set(x_1819, 6, x_18); -lean_ctor_set(x_1819, 7, x_19); -lean_ctor_set_uint8(x_1819, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_1819, sizeof(void*)*8 + 1, x_1630); -lean_inc(x_1815); -x_1820 = l_Lean_mkApp(x_2, x_1815); -x_1821 = lean_expr_instantiate1(x_129, x_1815); -lean_dec(x_1815); +x_1831 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_1831, 0, x_11); +lean_ctor_set(x_1831, 1, x_12); +lean_ctor_set(x_1831, 2, x_13); +lean_ctor_set(x_1831, 3, x_1830); +lean_ctor_set(x_1831, 4, x_16); +lean_ctor_set(x_1831, 5, x_17); +lean_ctor_set(x_1831, 6, x_18); +lean_ctor_set(x_1831, 7, x_19); +lean_ctor_set_uint8(x_1831, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_1831, sizeof(void*)*8 + 1, x_1640); +lean_inc(x_1827); +x_1832 = l_Lean_mkApp(x_2, x_1827); +x_1833 = lean_expr_instantiate1(x_129, x_1827); +lean_dec(x_1827); lean_dec(x_129); -x_1 = x_1819; -x_2 = x_1820; -x_3 = x_1821; -x_10 = x_1816; +x_1 = x_1831; +x_2 = x_1832; +x_3 = x_1833; +x_10 = x_1828; goto _start; } else { -lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; +lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_dec(x_129); lean_dec(x_8); lean_dec(x_19); @@ -13054,32 +13067,32 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1823 = lean_ctor_get(x_1814, 0); -lean_inc(x_1823); -x_1824 = lean_ctor_get(x_1814, 1); -lean_inc(x_1824); -if (lean_is_exclusive(x_1814)) { - lean_ctor_release(x_1814, 0); - lean_ctor_release(x_1814, 1); - x_1825 = x_1814; +x_1835 = lean_ctor_get(x_1826, 0); +lean_inc(x_1835); +x_1836 = lean_ctor_get(x_1826, 1); +lean_inc(x_1836); +if (lean_is_exclusive(x_1826)) { + lean_ctor_release(x_1826, 0); + lean_ctor_release(x_1826, 1); + x_1837 = x_1826; } else { - lean_dec_ref(x_1814); - x_1825 = lean_box(0); + lean_dec_ref(x_1826); + x_1837 = lean_box(0); } -if (lean_is_scalar(x_1825)) { - x_1826 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1837)) { + x_1838 = lean_alloc_ctor(1, 2, 0); } else { - x_1826 = x_1825; + x_1838 = x_1837; } -lean_ctor_set(x_1826, 0, x_1823); -lean_ctor_set(x_1826, 1, x_1824); -return x_1826; +lean_ctor_set(x_1838, 0, x_1835); +lean_ctor_set(x_1838, 1, x_1836); +return x_1838; } } } else { -lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; +lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_dec(x_129); lean_dec(x_128); lean_dec(x_127); @@ -13100,26 +13113,26 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1827 = lean_ctor_get(x_1414, 0); -lean_inc(x_1827); -x_1828 = lean_ctor_get(x_1414, 1); -lean_inc(x_1828); -if (lean_is_exclusive(x_1414)) { - lean_ctor_release(x_1414, 0); - lean_ctor_release(x_1414, 1); - x_1829 = x_1414; +x_1839 = lean_ctor_get(x_1422, 0); +lean_inc(x_1839); +x_1840 = lean_ctor_get(x_1422, 1); +lean_inc(x_1840); +if (lean_is_exclusive(x_1422)) { + lean_ctor_release(x_1422, 0); + lean_ctor_release(x_1422, 1); + x_1841 = x_1422; } else { - lean_dec_ref(x_1414); - x_1829 = lean_box(0); + lean_dec_ref(x_1422); + x_1841 = lean_box(0); } -if (lean_is_scalar(x_1829)) { - x_1830 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1841)) { + x_1842 = lean_alloc_ctor(1, 2, 0); } else { - x_1830 = x_1829; + x_1842 = x_1841; } -lean_ctor_set(x_1830, 0, x_1827); -lean_ctor_set(x_1830, 1, x_1828); -return x_1830; +lean_ctor_set(x_1842, 0, x_1839); +lean_ctor_set(x_1842, 1, x_1840); +return x_1842; } } } @@ -13127,20 +13140,20 @@ return x_1830; } else { -lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; +lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_dec(x_127); lean_dec(x_22); lean_dec(x_3); -x_1831 = lean_ctor_get(x_132, 0); -lean_inc(x_1831); +x_1843 = lean_ctor_get(x_132, 0); +lean_inc(x_1843); lean_dec(x_132); -x_1832 = l_Lean_Elab_Term_NamedArg_inhabited; -x_1833 = lean_array_get(x_1832, x_16, x_1831); -x_1834 = l_Array_eraseIdx___rarg(x_16, x_1831); -lean_dec(x_1831); -x_1835 = lean_ctor_get(x_1833, 1); -lean_inc(x_1835); -lean_dec(x_1833); +x_1844 = l_Lean_Elab_Term_NamedArg_inhabited; +x_1845 = lean_array_get(x_1844, x_16, x_1843); +x_1846 = l_Array_eraseIdx___rarg(x_16, x_1843); +lean_dec(x_1843); +x_1847 = lean_ctor_get(x_1845, 1); +lean_inc(x_1847); +lean_dec(x_1845); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); @@ -13148,66 +13161,66 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_1836 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1835, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_29); -if (lean_obj_tag(x_1836) == 0) +x_1848 = l___private_Lean_Elab_App_2__elabArg(x_2, x_1847, x_128, x_4, x_5, x_6, x_7, x_8, x_9, x_29); +if (lean_obj_tag(x_1848) == 0) { -lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; uint8_t x_1840; -x_1837 = lean_ctor_get(x_1836, 0); -lean_inc(x_1837); -x_1838 = lean_ctor_get(x_1836, 1); -lean_inc(x_1838); -lean_dec(x_1836); +lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; uint8_t x_1852; +x_1849 = lean_ctor_get(x_1848, 0); +lean_inc(x_1849); +x_1850 = lean_ctor_get(x_1848, 1); +lean_inc(x_1850); +lean_dec(x_1848); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_1839 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_1838); -x_1840 = !lean_is_exclusive(x_1); -if (x_1840 == 0) +x_1851 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_28, x_4, x_5, x_6, x_7, x_8, x_9, x_1850); +x_1852 = !lean_is_exclusive(x_1); +if (x_1852 == 0) { -lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; -x_1841 = lean_ctor_get(x_1, 7); -lean_dec(x_1841); -x_1842 = lean_ctor_get(x_1, 6); -lean_dec(x_1842); -x_1843 = lean_ctor_get(x_1, 5); -lean_dec(x_1843); -x_1844 = lean_ctor_get(x_1, 4); -lean_dec(x_1844); -x_1845 = lean_ctor_get(x_1, 3); -lean_dec(x_1845); -x_1846 = lean_ctor_get(x_1, 2); -lean_dec(x_1846); -x_1847 = lean_ctor_get(x_1, 1); -lean_dec(x_1847); -x_1848 = lean_ctor_get(x_1, 0); -lean_dec(x_1848); -if (lean_obj_tag(x_1839) == 0) +lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; +x_1853 = lean_ctor_get(x_1, 7); +lean_dec(x_1853); +x_1854 = lean_ctor_get(x_1, 6); +lean_dec(x_1854); +x_1855 = lean_ctor_get(x_1, 5); +lean_dec(x_1855); +x_1856 = lean_ctor_get(x_1, 4); +lean_dec(x_1856); +x_1857 = lean_ctor_get(x_1, 3); +lean_dec(x_1857); +x_1858 = lean_ctor_get(x_1, 2); +lean_dec(x_1858); +x_1859 = lean_ctor_get(x_1, 1); +lean_dec(x_1859); +x_1860 = lean_ctor_get(x_1, 0); +lean_dec(x_1860); +if (lean_obj_tag(x_1851) == 0) { -lean_object* x_1849; uint8_t x_1850; lean_object* x_1851; lean_object* x_1852; -x_1849 = lean_ctor_get(x_1839, 1); +lean_object* x_1861; uint8_t x_1862; lean_object* x_1863; lean_object* x_1864; +x_1861 = lean_ctor_get(x_1851, 1); +lean_inc(x_1861); +lean_dec(x_1851); +x_1862 = 1; +lean_ctor_set(x_1, 4, x_1846); +lean_ctor_set_uint8(x_1, sizeof(void*)*8 + 1, x_1862); lean_inc(x_1849); -lean_dec(x_1839); -x_1850 = 1; -lean_ctor_set(x_1, 4, x_1834); -lean_ctor_set_uint8(x_1, sizeof(void*)*8 + 1, x_1850); -lean_inc(x_1837); -x_1851 = l_Lean_mkApp(x_2, x_1837); -x_1852 = lean_expr_instantiate1(x_129, x_1837); -lean_dec(x_1837); +x_1863 = l_Lean_mkApp(x_2, x_1849); +x_1864 = lean_expr_instantiate1(x_129, x_1849); +lean_dec(x_1849); lean_dec(x_129); -x_2 = x_1851; -x_3 = x_1852; -x_10 = x_1849; +x_2 = x_1863; +x_3 = x_1864; +x_10 = x_1861; goto _start; } else { -uint8_t x_1854; +uint8_t x_1866; lean_free_object(x_1); -lean_dec(x_1837); -lean_dec(x_1834); +lean_dec(x_1849); +lean_dec(x_1846); lean_dec(x_129); lean_dec(x_8); lean_dec(x_19); @@ -13223,63 +13236,63 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1854 = !lean_is_exclusive(x_1839); -if (x_1854 == 0) +x_1866 = !lean_is_exclusive(x_1851); +if (x_1866 == 0) { -return x_1839; +return x_1851; } else { -lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; -x_1855 = lean_ctor_get(x_1839, 0); -x_1856 = lean_ctor_get(x_1839, 1); -lean_inc(x_1856); -lean_inc(x_1855); -lean_dec(x_1839); -x_1857 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1857, 0, x_1855); -lean_ctor_set(x_1857, 1, x_1856); -return x_1857; +lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; +x_1867 = lean_ctor_get(x_1851, 0); +x_1868 = lean_ctor_get(x_1851, 1); +lean_inc(x_1868); +lean_inc(x_1867); +lean_dec(x_1851); +x_1869 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1869, 0, x_1867); +lean_ctor_set(x_1869, 1, x_1868); +return x_1869; } } } else { lean_dec(x_1); -if (lean_obj_tag(x_1839) == 0) +if (lean_obj_tag(x_1851) == 0) { -lean_object* x_1858; uint8_t x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; -x_1858 = lean_ctor_get(x_1839, 1); -lean_inc(x_1858); -lean_dec(x_1839); -x_1859 = 1; -x_1860 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_1860, 0, x_11); -lean_ctor_set(x_1860, 1, x_12); -lean_ctor_set(x_1860, 2, x_13); -lean_ctor_set(x_1860, 3, x_15); -lean_ctor_set(x_1860, 4, x_1834); -lean_ctor_set(x_1860, 5, x_17); -lean_ctor_set(x_1860, 6, x_18); -lean_ctor_set(x_1860, 7, x_19); -lean_ctor_set_uint8(x_1860, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_1860, sizeof(void*)*8 + 1, x_1859); -lean_inc(x_1837); -x_1861 = l_Lean_mkApp(x_2, x_1837); -x_1862 = lean_expr_instantiate1(x_129, x_1837); -lean_dec(x_1837); +lean_object* x_1870; uint8_t x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; +x_1870 = lean_ctor_get(x_1851, 1); +lean_inc(x_1870); +lean_dec(x_1851); +x_1871 = 1; +x_1872 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_1872, 0, x_11); +lean_ctor_set(x_1872, 1, x_12); +lean_ctor_set(x_1872, 2, x_13); +lean_ctor_set(x_1872, 3, x_15); +lean_ctor_set(x_1872, 4, x_1846); +lean_ctor_set(x_1872, 5, x_17); +lean_ctor_set(x_1872, 6, x_18); +lean_ctor_set(x_1872, 7, x_19); +lean_ctor_set_uint8(x_1872, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_1872, sizeof(void*)*8 + 1, x_1871); +lean_inc(x_1849); +x_1873 = l_Lean_mkApp(x_2, x_1849); +x_1874 = lean_expr_instantiate1(x_129, x_1849); +lean_dec(x_1849); lean_dec(x_129); -x_1 = x_1860; -x_2 = x_1861; -x_3 = x_1862; -x_10 = x_1858; +x_1 = x_1872; +x_2 = x_1873; +x_3 = x_1874; +x_10 = x_1870; goto _start; } else { -lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; -lean_dec(x_1837); -lean_dec(x_1834); +lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; +lean_dec(x_1849); +lean_dec(x_1846); lean_dec(x_129); lean_dec(x_8); lean_dec(x_19); @@ -13295,33 +13308,33 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1864 = lean_ctor_get(x_1839, 0); -lean_inc(x_1864); -x_1865 = lean_ctor_get(x_1839, 1); -lean_inc(x_1865); -if (lean_is_exclusive(x_1839)) { - lean_ctor_release(x_1839, 0); - lean_ctor_release(x_1839, 1); - x_1866 = x_1839; +x_1876 = lean_ctor_get(x_1851, 0); +lean_inc(x_1876); +x_1877 = lean_ctor_get(x_1851, 1); +lean_inc(x_1877); +if (lean_is_exclusive(x_1851)) { + lean_ctor_release(x_1851, 0); + lean_ctor_release(x_1851, 1); + x_1878 = x_1851; } else { - lean_dec_ref(x_1839); - x_1866 = lean_box(0); + lean_dec_ref(x_1851); + x_1878 = lean_box(0); } -if (lean_is_scalar(x_1866)) { - x_1867 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1878)) { + x_1879 = lean_alloc_ctor(1, 2, 0); } else { - x_1867 = x_1866; + x_1879 = x_1878; } -lean_ctor_set(x_1867, 0, x_1864); -lean_ctor_set(x_1867, 1, x_1865); -return x_1867; +lean_ctor_set(x_1879, 0, x_1876); +lean_ctor_set(x_1879, 1, x_1877); +return x_1879; } } } else { -uint8_t x_1868; -lean_dec(x_1834); +uint8_t x_1880; +lean_dec(x_1846); lean_dec(x_129); lean_dec(x_28); lean_dec(x_8); @@ -13339,33 +13352,33 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_1868 = !lean_is_exclusive(x_1836); -if (x_1868 == 0) +x_1880 = !lean_is_exclusive(x_1848); +if (x_1880 == 0) { -return x_1836; +return x_1848; } else { -lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; -x_1869 = lean_ctor_get(x_1836, 0); -x_1870 = lean_ctor_get(x_1836, 1); -lean_inc(x_1870); -lean_inc(x_1869); -lean_dec(x_1836); -x_1871 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1871, 0, x_1869); -lean_ctor_set(x_1871, 1, x_1870); -return x_1871; +lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; +x_1881 = lean_ctor_get(x_1848, 0); +x_1882 = lean_ctor_get(x_1848, 1); +lean_inc(x_1882); +lean_inc(x_1881); +lean_dec(x_1848); +x_1883 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1883, 0, x_1881); +lean_ctor_set(x_1883, 1, x_1882); +return x_1883; } } } } else { -lean_object* x_1872; +lean_object* x_1884; lean_dec(x_1); -x_1872 = lean_box(0); -x_30 = x_1872; +x_1884 = lean_box(0); +x_30 = x_1884; goto block_126; } block_126: @@ -13980,7 +13993,7 @@ return x_72; } else { -uint8_t x_1873; +uint8_t x_1885; lean_dec(x_8); lean_dec(x_22); lean_dec(x_19); @@ -13999,91 +14012,91 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_1873 = !lean_is_exclusive(x_27); -if (x_1873 == 0) +x_1885 = !lean_is_exclusive(x_27); +if (x_1885 == 0) { return x_27; } else { -lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; -x_1874 = lean_ctor_get(x_27, 0); -x_1875 = lean_ctor_get(x_27, 1); -lean_inc(x_1875); -lean_inc(x_1874); +lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; +x_1886 = lean_ctor_get(x_27, 0); +x_1887 = lean_ctor_get(x_27, 1); +lean_inc(x_1887); +lean_inc(x_1886); lean_dec(x_27); -x_1876 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1876, 0, x_1874); -lean_ctor_set(x_1876, 1, x_1875); -return x_1876; +x_1888 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1888, 0, x_1886); +lean_ctor_set(x_1888, 1, x_1887); +return x_1888; } } } else { -uint8_t x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; -x_1877 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 1); -x_1878 = lean_ctor_get(x_8, 0); -x_1879 = lean_ctor_get(x_8, 1); -x_1880 = lean_ctor_get(x_8, 2); -x_1881 = lean_ctor_get(x_8, 3); -lean_inc(x_1881); -lean_inc(x_1880); -lean_inc(x_1879); -lean_inc(x_1878); +uint8_t x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; +x_1889 = lean_ctor_get_uint8(x_1, sizeof(void*)*8 + 1); +x_1890 = lean_ctor_get(x_8, 0); +x_1891 = lean_ctor_get(x_8, 1); +x_1892 = lean_ctor_get(x_8, 2); +x_1893 = lean_ctor_get(x_8, 3); +lean_inc(x_1893); +lean_inc(x_1892); +lean_inc(x_1891); +lean_inc(x_1890); lean_dec(x_8); -x_1882 = l_Lean_replaceRef(x_11, x_1881); -x_1883 = l_Lean_replaceRef(x_1882, x_1881); -lean_dec(x_1882); -x_1884 = l_Lean_replaceRef(x_1883, x_1881); -lean_dec(x_1881); -lean_dec(x_1883); -lean_inc(x_1878); -x_1885 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1885, 0, x_1878); -lean_ctor_set(x_1885, 1, x_1879); -lean_ctor_set(x_1885, 2, x_1880); -lean_ctor_set(x_1885, 3, x_1884); +x_1894 = l_Lean_replaceRef(x_11, x_1893); +x_1895 = l_Lean_replaceRef(x_1894, x_1893); +lean_dec(x_1894); +x_1896 = l_Lean_replaceRef(x_1895, x_1893); +lean_dec(x_1893); +lean_dec(x_1895); +lean_inc(x_1890); +x_1897 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_1897, 0, x_1890); +lean_ctor_set(x_1897, 1, x_1891); +lean_ctor_set(x_1897, 2, x_1892); +lean_ctor_set(x_1897, 3, x_1896); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_3); -x_1886 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_10); -if (lean_obj_tag(x_1886) == 0) +x_1898 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_10); +if (lean_obj_tag(x_1898) == 0) { -lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; -x_1887 = lean_ctor_get(x_1886, 0); -lean_inc(x_1887); -x_1888 = lean_ctor_get(x_1886, 1); -lean_inc(x_1888); -lean_dec(x_1886); -if (lean_obj_tag(x_1887) == 7) +lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; +x_1899 = lean_ctor_get(x_1898, 0); +lean_inc(x_1899); +x_1900 = lean_ctor_get(x_1898, 1); +lean_inc(x_1900); +lean_dec(x_1898); +if (lean_obj_tag(x_1899) == 7) { -lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; uint64_t x_1987; lean_object* x_1988; lean_object* x_1989; -x_1984 = lean_ctor_get(x_1887, 0); -lean_inc(x_1984); -x_1985 = lean_ctor_get(x_1887, 1); -lean_inc(x_1985); -x_1986 = lean_ctor_get(x_1887, 2); -lean_inc(x_1986); -x_1987 = lean_ctor_get_uint64(x_1887, sizeof(void*)*3); -x_1988 = lean_unsigned_to_nat(0u); -x_1989 = l_Array_findIdxAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__3(x_1984, x_16, x_1988); -if (lean_obj_tag(x_1989) == 0) +lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; uint64_t x_1999; lean_object* x_2000; lean_object* x_2001; +x_1996 = lean_ctor_get(x_1899, 0); +lean_inc(x_1996); +x_1997 = lean_ctor_get(x_1899, 1); +lean_inc(x_1997); +x_1998 = lean_ctor_get(x_1899, 2); +lean_inc(x_1998); +x_1999 = lean_ctor_get_uint64(x_1899, sizeof(void*)*3); +x_2000 = lean_unsigned_to_nat(0u); +x_2001 = l_Array_findIdxAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__3(x_1996, x_16, x_2000); +if (lean_obj_tag(x_2001) == 0) { -uint8_t x_1990; -x_1990 = (uint8_t)((x_1987 << 24) >> 61); -switch (x_1990) { +uint8_t x_2002; +x_2002 = (uint8_t)((x_1999 << 24) >> 61); +switch (x_2002) { case 0: { -lean_object* x_1991; lean_object* x_1992; +lean_object* x_2003; lean_object* x_2004; lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_1991 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1887, x_4, x_5, x_6, x_7, x_1885, x_9, x_1888); +x_2003 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1899, x_4, x_5, x_6, x_7, x_1897, x_9, x_1900); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); @@ -14093,18 +14106,18 @@ if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 5); lean_ctor_release(x_1, 6); lean_ctor_release(x_1, 7); - x_1992 = x_1; + x_2004 = x_1; } else { lean_dec_ref(x_1); - x_1992 = lean_box(0); + x_2004 = lean_box(0); } -if (lean_obj_tag(x_1991) == 0) +if (lean_obj_tag(x_2003) == 0) { -lean_object* x_1993; uint8_t x_1994; lean_object* x_1995; lean_object* x_1996; uint8_t x_1997; -x_1993 = lean_ctor_get(x_1991, 1); -lean_inc(x_1993); -lean_dec(x_1991); -x_1994 = 1; +lean_object* x_2005; uint8_t x_2006; lean_object* x_2007; lean_object* x_2008; uint8_t x_2009; +x_2005 = lean_ctor_get(x_2003, 1); +lean_inc(x_2005); +lean_dec(x_2003); +x_2006 = 1; lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -14113,129 +14126,129 @@ lean_inc(x_15); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -if (lean_is_scalar(x_1992)) { - x_1995 = lean_alloc_ctor(0, 8, 2); +if (lean_is_scalar(x_2004)) { + x_2007 = lean_alloc_ctor(0, 8, 2); } else { - x_1995 = x_1992; + x_2007 = x_2004; } -lean_ctor_set(x_1995, 0, x_11); -lean_ctor_set(x_1995, 1, x_12); -lean_ctor_set(x_1995, 2, x_13); -lean_ctor_set(x_1995, 3, x_15); -lean_ctor_set(x_1995, 4, x_16); -lean_ctor_set(x_1995, 5, x_17); -lean_ctor_set(x_1995, 6, x_18); -lean_ctor_set(x_1995, 7, x_19); -lean_ctor_set_uint8(x_1995, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_1995, sizeof(void*)*8 + 1, x_1994); -x_1996 = lean_array_get_size(x_12); -x_1997 = lean_nat_dec_lt(x_15, x_1996); -lean_dec(x_1996); -if (x_1997 == 0) +lean_ctor_set(x_2007, 0, x_11); +lean_ctor_set(x_2007, 1, x_12); +lean_ctor_set(x_2007, 2, x_13); +lean_ctor_set(x_2007, 3, x_15); +lean_ctor_set(x_2007, 4, x_16); +lean_ctor_set(x_2007, 5, x_17); +lean_ctor_set(x_2007, 6, x_18); +lean_ctor_set(x_2007, 7, x_19); +lean_ctor_set_uint8(x_2007, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2007, sizeof(void*)*8 + 1, x_2006); +x_2008 = lean_array_get_size(x_12); +x_2009 = lean_nat_dec_lt(x_15, x_2008); +lean_dec(x_2008); +if (x_2009 == 0) { lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); if (x_14 == 0) { -lean_object* x_1998; -x_1998 = l_Lean_Expr_getOptParamDefault_x3f(x_1985); -if (lean_obj_tag(x_1998) == 0) +lean_object* x_2010; +x_2010 = l_Lean_Expr_getOptParamDefault_x3f(x_1997); +if (lean_obj_tag(x_2010) == 0) { -lean_object* x_1999; -x_1999 = l_Lean_Expr_getAutoParamTactic_x3f(x_1985); -if (lean_obj_tag(x_1999) == 0) +lean_object* x_2011; +x_2011 = l_Lean_Expr_getAutoParamTactic_x3f(x_1997); +if (lean_obj_tag(x_2011) == 0) { -uint8_t x_2000; -lean_dec(x_1995); -lean_dec(x_1986); -lean_dec(x_1985); -x_2000 = l_Array_isEmpty___rarg(x_16); -if (x_2000 == 0) +uint8_t x_2012; +lean_dec(x_2007); +lean_dec(x_1998); +lean_dec(x_1997); +x_2012 = l_Array_isEmpty___rarg(x_16); +if (x_2012 == 0) { -lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; -lean_dec(x_1878); +lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_2001 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_2001, 0, x_1984); -x_2002 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_2003 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2003, 0, x_2002); -lean_ctor_set(x_2003, 1, x_2001); -x_2004 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_2005 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2005, 0, x_2003); -lean_ctor_set(x_2005, 1, x_2004); -x_2006 = x_16; -x_2007 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_1988, x_2006); -x_2008 = x_2007; -x_2009 = l_Array_toList___rarg(x_2008); -lean_dec(x_2008); -x_2010 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2009); -x_2011 = l_Array_HasRepr___rarg___closed__1; -x_2012 = lean_string_append(x_2011, x_2010); -lean_dec(x_2010); -x_2013 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2013, 0, x_2012); -x_2014 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2014, 0, x_2013); +x_2013 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_2013, 0, x_1996); +x_2014 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; x_2015 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2015, 0, x_2005); -lean_ctor_set(x_2015, 1, x_2014); -x_2016 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2015, x_4, x_5, x_6, x_7, x_1885, x_9, x_1993); +lean_ctor_set(x_2015, 0, x_2014); +lean_ctor_set(x_2015, 1, x_2013); +x_2016 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_2017 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2017, 0, x_2015); +lean_ctor_set(x_2017, 1, x_2016); +x_2018 = x_16; +x_2019 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_2000, x_2018); +x_2020 = x_2019; +x_2021 = l_Array_toList___rarg(x_2020); +lean_dec(x_2020); +x_2022 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2021); +x_2023 = l_Array_HasRepr___rarg___closed__1; +x_2024 = lean_string_append(x_2023, x_2022); +lean_dec(x_2022); +x_2025 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2025, 0, x_2024); +x_2026 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2026, 0, x_2025); +x_2027 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2027, 0, x_2017); +lean_ctor_set(x_2027, 1, x_2026); +x_2028 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2027, x_4, x_5, x_6, x_7, x_1897, x_9, x_2005); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2016; +return x_2028; } else { -lean_object* x_2017; uint8_t x_2018; -lean_dec(x_1984); +lean_object* x_2029; uint8_t x_2030; +lean_dec(x_1996); lean_dec(x_16); -x_2017 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_2018 = l_Lean_checkTraceOption(x_1878, x_2017); -lean_dec(x_1878); -if (x_2018 == 0) +x_2029 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_2030 = l_Lean_checkTraceOption(x_1890, x_2029); +lean_dec(x_1890); +if (x_2030 == 0) { -lean_object* x_2019; +lean_object* x_2031; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_2019 = x_1993; -goto block_2030; +x_2031 = x_2005; +goto block_2042; } else { -lean_object* x_2031; lean_object* x_2032; -x_2031 = lean_ctor_get(x_13, 0); -lean_inc(x_2031); +lean_object* x_2043; lean_object* x_2044; +x_2043 = lean_ctor_get(x_13, 0); +lean_inc(x_2043); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_2032 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2031, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_1993); -if (lean_obj_tag(x_2032) == 0) +x_2044 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2043, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2005); +if (lean_obj_tag(x_2044) == 0) { -lean_object* x_2033; -x_2033 = lean_ctor_get(x_2032, 1); -lean_inc(x_2033); -lean_dec(x_2032); -x_2019 = x_2033; -goto block_2030; +lean_object* x_2045; +x_2045 = lean_ctor_get(x_2044, 1); +lean_inc(x_2045); +lean_dec(x_2044); +x_2031 = x_2045; +goto block_2042; } else { -lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; -lean_dec(x_1885); +lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_17); lean_dec(x_11); @@ -14245,147 +14258,147 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2034 = lean_ctor_get(x_2032, 0); -lean_inc(x_2034); -x_2035 = lean_ctor_get(x_2032, 1); -lean_inc(x_2035); -if (lean_is_exclusive(x_2032)) { - lean_ctor_release(x_2032, 0); - lean_ctor_release(x_2032, 1); - x_2036 = x_2032; +x_2046 = lean_ctor_get(x_2044, 0); +lean_inc(x_2046); +x_2047 = lean_ctor_get(x_2044, 1); +lean_inc(x_2047); +if (lean_is_exclusive(x_2044)) { + lean_ctor_release(x_2044, 0); + lean_ctor_release(x_2044, 1); + x_2048 = x_2044; } else { - lean_dec_ref(x_2032); - x_2036 = lean_box(0); + lean_dec_ref(x_2044); + x_2048 = lean_box(0); } -if (lean_is_scalar(x_2036)) { - x_2037 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2048)) { + x_2049 = lean_alloc_ctor(1, 2, 0); } else { - x_2037 = x_2036; + x_2049 = x_2048; } -lean_ctor_set(x_2037, 0, x_2034); -lean_ctor_set(x_2037, 1, x_2035); -return x_2037; +lean_ctor_set(x_2049, 0, x_2046); +lean_ctor_set(x_2049, 1, x_2047); +return x_2049; } } -block_2030: +block_2042: { -lean_object* x_2020; +lean_object* x_2032; lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_2020 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2019); +x_2032 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2031); lean_dec(x_17); -if (lean_obj_tag(x_2020) == 0) +if (lean_obj_tag(x_2032) == 0) { -lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; -x_2021 = lean_ctor_get(x_2020, 1); -lean_inc(x_2021); -lean_dec(x_2020); +lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; +x_2033 = lean_ctor_get(x_2032, 1); +lean_inc(x_2033); +lean_dec(x_2032); lean_inc(x_2); -x_2022 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__5(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2021); +x_2034 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__5(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2033); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_2023 = lean_ctor_get(x_2022, 1); -lean_inc(x_2023); -if (lean_is_exclusive(x_2022)) { - lean_ctor_release(x_2022, 0); - lean_ctor_release(x_2022, 1); - x_2024 = x_2022; +x_2035 = lean_ctor_get(x_2034, 1); +lean_inc(x_2035); +if (lean_is_exclusive(x_2034)) { + lean_ctor_release(x_2034, 0); + lean_ctor_release(x_2034, 1); + x_2036 = x_2034; } else { - lean_dec_ref(x_2022); - x_2024 = lean_box(0); + lean_dec_ref(x_2034); + x_2036 = lean_box(0); } -if (lean_is_scalar(x_2024)) { - x_2025 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_2036)) { + x_2037 = lean_alloc_ctor(0, 2, 0); } else { - x_2025 = x_2024; -} -lean_ctor_set(x_2025, 0, x_2); -lean_ctor_set(x_2025, 1, x_2023); -return x_2025; -} -else -{ -lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2026 = lean_ctor_get(x_2020, 0); -lean_inc(x_2026); -x_2027 = lean_ctor_get(x_2020, 1); -lean_inc(x_2027); -if (lean_is_exclusive(x_2020)) { - lean_ctor_release(x_2020, 0); - lean_ctor_release(x_2020, 1); - x_2028 = x_2020; -} else { - lean_dec_ref(x_2020); - x_2028 = lean_box(0); -} -if (lean_is_scalar(x_2028)) { - x_2029 = lean_alloc_ctor(1, 2, 0); -} else { - x_2029 = x_2028; -} -lean_ctor_set(x_2029, 0, x_2026); -lean_ctor_set(x_2029, 1, x_2027); -return x_2029; -} + x_2037 = x_2036; } +lean_ctor_set(x_2037, 0, x_2); +lean_ctor_set(x_2037, 1, x_2035); +return x_2037; } else { lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2038 = lean_ctor_get(x_2032, 0); +lean_inc(x_2038); +x_2039 = lean_ctor_get(x_2032, 1); +lean_inc(x_2039); +if (lean_is_exclusive(x_2032)) { + lean_ctor_release(x_2032, 0); + lean_ctor_release(x_2032, 1); + x_2040 = x_2032; +} else { + lean_dec_ref(x_2032); + x_2040 = lean_box(0); +} +if (lean_is_scalar(x_2040)) { + x_2041 = lean_alloc_ctor(1, 2, 0); +} else { + x_2041 = x_2040; +} +lean_ctor_set(x_2041, 0, x_2038); +lean_ctor_set(x_2041, 1, x_2039); +return x_2041; +} +} +} +else +{ +lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_inc(x_2); -x_2038 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2038, 0, x_2); -x_2039 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2017, x_2038, x_4, x_5, x_6, x_7, x_1885, x_9, x_1993); -x_2040 = lean_ctor_get(x_2039, 1); -lean_inc(x_2040); -lean_dec(x_2039); +x_2050 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2050, 0, x_2); +x_2051 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2029, x_2050, x_4, x_5, x_6, x_7, x_1897, x_9, x_2005); +x_2052 = lean_ctor_get(x_2051, 1); +lean_inc(x_2052); +lean_dec(x_2051); if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_2041 = x_2040; -goto block_2052; +x_2053 = x_2052; +goto block_2064; } else { -lean_object* x_2053; lean_object* x_2054; -x_2053 = lean_ctor_get(x_13, 0); -lean_inc(x_2053); +lean_object* x_2065; lean_object* x_2066; +x_2065 = lean_ctor_get(x_13, 0); +lean_inc(x_2065); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_2054 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2053, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2040); -if (lean_obj_tag(x_2054) == 0) +x_2066 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2065, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2052); +if (lean_obj_tag(x_2066) == 0) { -lean_object* x_2055; -x_2055 = lean_ctor_get(x_2054, 1); -lean_inc(x_2055); -lean_dec(x_2054); -x_2041 = x_2055; -goto block_2052; +lean_object* x_2067; +x_2067 = lean_ctor_get(x_2066, 1); +lean_inc(x_2067); +lean_dec(x_2066); +x_2053 = x_2067; +goto block_2064; } else { -lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; -lean_dec(x_1885); +lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_17); lean_dec(x_11); @@ -14395,76 +14408,76 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2056 = lean_ctor_get(x_2054, 0); -lean_inc(x_2056); -x_2057 = lean_ctor_get(x_2054, 1); -lean_inc(x_2057); -if (lean_is_exclusive(x_2054)) { - lean_ctor_release(x_2054, 0); - lean_ctor_release(x_2054, 1); - x_2058 = x_2054; +x_2068 = lean_ctor_get(x_2066, 0); +lean_inc(x_2068); +x_2069 = lean_ctor_get(x_2066, 1); +lean_inc(x_2069); +if (lean_is_exclusive(x_2066)) { + lean_ctor_release(x_2066, 0); + lean_ctor_release(x_2066, 1); + x_2070 = x_2066; } else { - lean_dec_ref(x_2054); - x_2058 = lean_box(0); + lean_dec_ref(x_2066); + x_2070 = lean_box(0); } -if (lean_is_scalar(x_2058)) { - x_2059 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2070)) { + x_2071 = lean_alloc_ctor(1, 2, 0); } else { - x_2059 = x_2058; + x_2071 = x_2070; } -lean_ctor_set(x_2059, 0, x_2056); -lean_ctor_set(x_2059, 1, x_2057); -return x_2059; +lean_ctor_set(x_2071, 0, x_2068); +lean_ctor_set(x_2071, 1, x_2069); +return x_2071; } } -block_2052: +block_2064: { -lean_object* x_2042; +lean_object* x_2054; lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_2042 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2041); +x_2054 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2053); lean_dec(x_17); -if (lean_obj_tag(x_2042) == 0) +if (lean_obj_tag(x_2054) == 0) { -lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; -x_2043 = lean_ctor_get(x_2042, 1); -lean_inc(x_2043); -lean_dec(x_2042); +lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; +x_2055 = lean_ctor_get(x_2054, 1); +lean_inc(x_2055); +lean_dec(x_2054); lean_inc(x_2); -x_2044 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__6(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2043); +x_2056 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__6(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2055); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_2045 = lean_ctor_get(x_2044, 1); -lean_inc(x_2045); -if (lean_is_exclusive(x_2044)) { - lean_ctor_release(x_2044, 0); - lean_ctor_release(x_2044, 1); - x_2046 = x_2044; +x_2057 = lean_ctor_get(x_2056, 1); +lean_inc(x_2057); +if (lean_is_exclusive(x_2056)) { + lean_ctor_release(x_2056, 0); + lean_ctor_release(x_2056, 1); + x_2058 = x_2056; } else { - lean_dec_ref(x_2044); - x_2046 = lean_box(0); + lean_dec_ref(x_2056); + x_2058 = lean_box(0); } -if (lean_is_scalar(x_2046)) { - x_2047 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_2058)) { + x_2059 = lean_alloc_ctor(0, 2, 0); } else { - x_2047 = x_2046; + x_2059 = x_2058; } -lean_ctor_set(x_2047, 0, x_2); -lean_ctor_set(x_2047, 1, x_2045); -return x_2047; +lean_ctor_set(x_2059, 0, x_2); +lean_ctor_set(x_2059, 1, x_2057); +return x_2059; } else { -lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; -lean_dec(x_1885); +lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_11); lean_dec(x_9); @@ -14473,26 +14486,26 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2048 = lean_ctor_get(x_2042, 0); -lean_inc(x_2048); -x_2049 = lean_ctor_get(x_2042, 1); -lean_inc(x_2049); -if (lean_is_exclusive(x_2042)) { - lean_ctor_release(x_2042, 0); - lean_ctor_release(x_2042, 1); - x_2050 = x_2042; +x_2060 = lean_ctor_get(x_2054, 0); +lean_inc(x_2060); +x_2061 = lean_ctor_get(x_2054, 1); +lean_inc(x_2061); +if (lean_is_exclusive(x_2054)) { + lean_ctor_release(x_2054, 0); + lean_ctor_release(x_2054, 1); + x_2062 = x_2054; } else { - lean_dec_ref(x_2042); - x_2050 = lean_box(0); + lean_dec_ref(x_2054); + x_2062 = lean_box(0); } -if (lean_is_scalar(x_2050)) { - x_2051 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2062)) { + x_2063 = lean_alloc_ctor(1, 2, 0); } else { - x_2051 = x_2050; + x_2063 = x_2062; } -lean_ctor_set(x_2051, 0, x_2048); -lean_ctor_set(x_2051, 1, x_2049); -return x_2051; +lean_ctor_set(x_2063, 0, x_2060); +lean_ctor_set(x_2063, 1, x_2061); +return x_2063; } } } @@ -14500,543 +14513,317 @@ return x_2051; } else { -lean_object* x_2060; -lean_dec(x_1984); -lean_dec(x_1878); +lean_object* x_2072; +lean_dec(x_1996); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_16); lean_dec(x_13); lean_dec(x_3); -x_2060 = lean_ctor_get(x_1999, 0); -lean_inc(x_2060); -lean_dec(x_1999); -if (lean_obj_tag(x_2060) == 4) +x_2072 = lean_ctor_get(x_2011, 0); +lean_inc(x_2072); +lean_dec(x_2011); +if (lean_obj_tag(x_2072) == 4) { -lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; -x_2061 = lean_ctor_get(x_2060, 0); -lean_inc(x_2061); -lean_dec(x_2060); -x_2062 = lean_st_ref_get(x_9, x_1993); -x_2063 = lean_ctor_get(x_2062, 0); -lean_inc(x_2063); -x_2064 = lean_ctor_get(x_2062, 1); -lean_inc(x_2064); -lean_dec(x_2062); -x_2065 = lean_ctor_get(x_2063, 0); -lean_inc(x_2065); -lean_dec(x_2063); -x_2066 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_2065, x_2061); -if (lean_obj_tag(x_2066) == 0) +lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; +x_2073 = lean_ctor_get(x_2072, 0); +lean_inc(x_2073); +lean_dec(x_2072); +x_2074 = lean_st_ref_get(x_9, x_2005); +x_2075 = lean_ctor_get(x_2074, 0); +lean_inc(x_2075); +x_2076 = lean_ctor_get(x_2074, 1); +lean_inc(x_2076); +lean_dec(x_2074); +x_2077 = lean_ctor_get(x_2075, 0); +lean_inc(x_2077); +lean_dec(x_2075); +x_2078 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_2077, x_2073); +if (lean_obj_tag(x_2078) == 0) { -lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; -lean_dec(x_1995); -lean_dec(x_1986); -lean_dec(x_1985); +lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; +lean_dec(x_2007); +lean_dec(x_1998); +lean_dec(x_1997); lean_dec(x_11); lean_dec(x_2); -x_2067 = lean_ctor_get(x_2066, 0); -lean_inc(x_2067); -lean_dec(x_2066); -x_2068 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2068, 0, x_2067); -x_2069 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2069, 0, x_2068); -x_2070 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2069, x_4, x_5, x_6, x_7, x_1885, x_9, x_2064); +x_2079 = lean_ctor_get(x_2078, 0); +lean_inc(x_2079); +lean_dec(x_2078); +x_2080 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2080, 0, x_2079); +x_2081 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2081, 0, x_2080); +x_2082 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2081, x_4, x_5, x_6, x_7, x_1897, x_9, x_2076); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2070; +return x_2082; } else { -lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; -x_2071 = lean_ctor_get(x_2066, 0); -lean_inc(x_2071); -lean_dec(x_2066); -x_2072 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_1885, x_9, x_2064); -x_2073 = lean_ctor_get(x_2072, 1); -lean_inc(x_2073); -lean_dec(x_2072); -x_2074 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2073); -x_2075 = lean_ctor_get(x_2074, 1); -lean_inc(x_2075); -lean_dec(x_2074); -x_2076 = l_Lean_Syntax_getArgs(x_2071); -lean_dec(x_2071); -x_2077 = l_Array_empty___closed__1; -x_2078 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2076, x_2076, x_1988, x_2077); -lean_dec(x_2076); -x_2079 = l_Lean_nullKind___closed__2; -x_2080 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2080, 0, x_2079); -lean_ctor_set(x_2080, 1, x_2078); -x_2081 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_2082 = lean_array_push(x_2081, x_2080); -x_2083 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; -x_2084 = lean_array_push(x_2082, x_2083); -x_2085 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -x_2086 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2086, 0, x_2085); -lean_ctor_set(x_2086, 1, x_2084); -x_2087 = lean_array_push(x_2077, x_2086); -x_2088 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -x_2089 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2089, 0, x_2088); -lean_ctor_set(x_2089, 1, x_2087); -x_2090 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; -x_2091 = lean_array_push(x_2090, x_2089); -x_2092 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -x_2093 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2093, 0, x_2092); -lean_ctor_set(x_2093, 1, x_2091); -x_2094 = l_Lean_Syntax_copyInfo(x_2093, x_11); +lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; +x_2083 = lean_ctor_get(x_2078, 0); +lean_inc(x_2083); +lean_dec(x_2078); +x_2084 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_1897, x_9, x_2076); +x_2085 = lean_ctor_get(x_2084, 1); +lean_inc(x_2085); +lean_dec(x_2084); +x_2086 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2085); +x_2087 = lean_ctor_get(x_2086, 1); +lean_inc(x_2087); +lean_dec(x_2086); +x_2088 = l_Lean_Syntax_getArgs(x_2083); +lean_dec(x_2083); +x_2089 = l_Array_empty___closed__1; +x_2090 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2088, x_2088, x_2000, x_2089); +lean_dec(x_2088); +x_2091 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_2092 = lean_array_push(x_2090, x_2091); +x_2093 = l_Lean_nullKind___closed__2; +x_2094 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2094, 0, x_2093); +lean_ctor_set(x_2094, 1, x_2092); +x_2095 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_2096 = lean_array_push(x_2095, x_2094); +x_2097 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; +x_2098 = lean_array_push(x_2096, x_2097); +x_2099 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_2100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2100, 0, x_2099); +lean_ctor_set(x_2100, 1, x_2098); +x_2101 = lean_array_push(x_2089, x_2100); +x_2102 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +x_2103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2103, 0, x_2102); +lean_ctor_set(x_2103, 1, x_2101); +x_2104 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; +x_2105 = lean_array_push(x_2104, x_2103); +x_2106 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_2107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2107, 0, x_2106); +lean_ctor_set(x_2107, 1, x_2105); +x_2108 = l_Lean_Syntax_copyInfo(x_2107, x_11); lean_dec(x_11); -x_2095 = l_Lean_Expr_getAppNumArgsAux___main(x_1985, x_1988); -x_2096 = lean_nat_sub(x_2095, x_1988); -lean_dec(x_2095); -x_2097 = lean_unsigned_to_nat(1u); -x_2098 = lean_nat_sub(x_2096, x_2097); -lean_dec(x_2096); -x_2099 = l_Lean_Expr_getRevArg_x21___main(x_1985, x_2098); -lean_dec(x_1985); -x_2100 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2100, 0, x_2094); +x_2109 = l_Lean_Expr_getAppNumArgsAux___main(x_1997, x_2000); +x_2110 = lean_nat_sub(x_2109, x_2000); +lean_dec(x_2109); +x_2111 = lean_unsigned_to_nat(1u); +x_2112 = lean_nat_sub(x_2110, x_2111); +lean_dec(x_2110); +x_2113 = l_Lean_Expr_getRevArg_x21___main(x_1997, x_2112); +lean_dec(x_1997); +x_2114 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2114, 0, x_2108); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_2101 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2100, x_2099, x_4, x_5, x_6, x_7, x_1885, x_9, x_2075); -if (lean_obj_tag(x_2101) == 0) +x_2115 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2114, x_2113, x_4, x_5, x_6, x_7, x_1897, x_9, x_2087); +if (lean_obj_tag(x_2115) == 0) { -lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; -x_2102 = lean_ctor_get(x_2101, 0); -lean_inc(x_2102); -x_2103 = lean_ctor_get(x_2101, 1); -lean_inc(x_2103); -lean_dec(x_2101); -lean_inc(x_2102); -x_2104 = l_Lean_mkApp(x_2, x_2102); -x_2105 = lean_expr_instantiate1(x_1986, x_2102); -lean_dec(x_2102); -lean_dec(x_1986); -x_1 = x_1995; -x_2 = x_2104; -x_3 = x_2105; -x_8 = x_1885; -x_10 = x_2103; +lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; +x_2116 = lean_ctor_get(x_2115, 0); +lean_inc(x_2116); +x_2117 = lean_ctor_get(x_2115, 1); +lean_inc(x_2117); +lean_dec(x_2115); +lean_inc(x_2116); +x_2118 = l_Lean_mkApp(x_2, x_2116); +x_2119 = lean_expr_instantiate1(x_1998, x_2116); +lean_dec(x_2116); +lean_dec(x_1998); +x_1 = x_2007; +x_2 = x_2118; +x_3 = x_2119; +x_8 = x_1897; +x_10 = x_2117; goto _start; } else { -lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; -lean_dec(x_1995); -lean_dec(x_1986); -lean_dec(x_1885); +lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; +lean_dec(x_2007); +lean_dec(x_1998); +lean_dec(x_1897); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2107 = lean_ctor_get(x_2101, 0); -lean_inc(x_2107); -x_2108 = lean_ctor_get(x_2101, 1); -lean_inc(x_2108); -if (lean_is_exclusive(x_2101)) { - lean_ctor_release(x_2101, 0); - lean_ctor_release(x_2101, 1); - x_2109 = x_2101; +x_2121 = lean_ctor_get(x_2115, 0); +lean_inc(x_2121); +x_2122 = lean_ctor_get(x_2115, 1); +lean_inc(x_2122); +if (lean_is_exclusive(x_2115)) { + lean_ctor_release(x_2115, 0); + lean_ctor_release(x_2115, 1); + x_2123 = x_2115; } else { - lean_dec_ref(x_2101); - x_2109 = lean_box(0); + lean_dec_ref(x_2115); + x_2123 = lean_box(0); } -if (lean_is_scalar(x_2109)) { - x_2110 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2123)) { + x_2124 = lean_alloc_ctor(1, 2, 0); } else { - x_2110 = x_2109; + x_2124 = x_2123; } -lean_ctor_set(x_2110, 0, x_2107); -lean_ctor_set(x_2110, 1, x_2108); -return x_2110; +lean_ctor_set(x_2124, 0, x_2121); +lean_ctor_set(x_2124, 1, x_2122); +return x_2124; } } } else { -lean_object* x_2111; lean_object* x_2112; -lean_dec(x_2060); -lean_dec(x_1995); -lean_dec(x_1986); -lean_dec(x_1985); +lean_object* x_2125; lean_object* x_2126; +lean_dec(x_2072); +lean_dec(x_2007); +lean_dec(x_1998); +lean_dec(x_1997); lean_dec(x_11); lean_dec(x_2); -x_2111 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; -x_2112 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2111, x_4, x_5, x_6, x_7, x_1885, x_9, x_1993); +x_2125 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; +x_2126 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2125, x_4, x_5, x_6, x_7, x_1897, x_9, x_2005); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2112; +return x_2126; } } } else { -lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; -lean_dec(x_1985); -lean_dec(x_1984); -lean_dec(x_1878); +lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; +lean_dec(x_1997); +lean_dec(x_1996); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_16); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); -x_2113 = lean_ctor_get(x_1998, 0); -lean_inc(x_2113); +x_2127 = lean_ctor_get(x_2010, 0); +lean_inc(x_2127); +lean_dec(x_2010); +lean_inc(x_2127); +x_2128 = l_Lean_mkApp(x_2, x_2127); +x_2129 = lean_expr_instantiate1(x_1998, x_2127); +lean_dec(x_2127); lean_dec(x_1998); -lean_inc(x_2113); -x_2114 = l_Lean_mkApp(x_2, x_2113); -x_2115 = lean_expr_instantiate1(x_1986, x_2113); -lean_dec(x_2113); -lean_dec(x_1986); -x_1 = x_1995; -x_2 = x_2114; -x_3 = x_2115; -x_8 = x_1885; -x_10 = x_1993; +x_1 = x_2007; +x_2 = x_2128; +x_3 = x_2129; +x_8 = x_1897; +x_10 = x_2005; goto _start; } } else { -uint8_t x_2117; -lean_dec(x_1995); -lean_dec(x_1986); -lean_dec(x_1985); -x_2117 = l_Array_isEmpty___rarg(x_16); -if (x_2117 == 0) +uint8_t x_2131; +lean_dec(x_2007); +lean_dec(x_1998); +lean_dec(x_1997); +x_2131 = l_Array_isEmpty___rarg(x_16); +if (x_2131 == 0) { -lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; lean_object* x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; -lean_dec(x_1878); +lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; lean_object* x_2147; +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_2118 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_2118, 0, x_1984); -x_2119 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_2120 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2120, 0, x_2119); -lean_ctor_set(x_2120, 1, x_2118); -x_2121 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_2122 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2122, 0, x_2120); -lean_ctor_set(x_2122, 1, x_2121); -x_2123 = x_16; -x_2124 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_1988, x_2123); -x_2125 = x_2124; -x_2126 = l_Array_toList___rarg(x_2125); -lean_dec(x_2125); -x_2127 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2126); -x_2128 = l_Array_HasRepr___rarg___closed__1; -x_2129 = lean_string_append(x_2128, x_2127); -lean_dec(x_2127); -x_2130 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2130, 0, x_2129); -x_2131 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2131, 0, x_2130); -x_2132 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2132, 0, x_2122); -lean_ctor_set(x_2132, 1, x_2131); -x_2133 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2132, x_4, x_5, x_6, x_7, x_1885, x_9, x_1993); +x_2132 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_2132, 0, x_1996); +x_2133 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_2134 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2134, 0, x_2133); +lean_ctor_set(x_2134, 1, x_2132); +x_2135 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_2136 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2136, 0, x_2134); +lean_ctor_set(x_2136, 1, x_2135); +x_2137 = x_16; +x_2138 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_2000, x_2137); +x_2139 = x_2138; +x_2140 = l_Array_toList___rarg(x_2139); +lean_dec(x_2139); +x_2141 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2140); +x_2142 = l_Array_HasRepr___rarg___closed__1; +x_2143 = lean_string_append(x_2142, x_2141); +lean_dec(x_2141); +x_2144 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2144, 0, x_2143); +x_2145 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2145, 0, x_2144); +x_2146 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2146, 0, x_2136); +lean_ctor_set(x_2146, 1, x_2145); +x_2147 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2146, x_4, x_5, x_6, x_7, x_1897, x_9, x_2005); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2133; +return x_2147; } else { -lean_object* x_2134; uint8_t x_2135; -lean_dec(x_1984); +lean_object* x_2148; uint8_t x_2149; +lean_dec(x_1996); lean_dec(x_16); -x_2134 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_2135 = l_Lean_checkTraceOption(x_1878, x_2134); -lean_dec(x_1878); -if (x_2135 == 0) -{ -lean_object* x_2136; -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_2136 = x_1993; -goto block_2147; -} -else -{ -lean_object* x_2148; lean_object* x_2149; -x_2148 = lean_ctor_get(x_13, 0); -lean_inc(x_2148); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -x_2149 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2148, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_1993); -if (lean_obj_tag(x_2149) == 0) +x_2148 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_2149 = l_Lean_checkTraceOption(x_1890, x_2148); +lean_dec(x_1890); +if (x_2149 == 0) { lean_object* x_2150; -x_2150 = lean_ctor_get(x_2149, 1); -lean_inc(x_2150); -lean_dec(x_2149); -x_2136 = x_2150; -goto block_2147; -} -else -{ -lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2151 = lean_ctor_get(x_2149, 0); -lean_inc(x_2151); -x_2152 = lean_ctor_get(x_2149, 1); -lean_inc(x_2152); -if (lean_is_exclusive(x_2149)) { - lean_ctor_release(x_2149, 0); - lean_ctor_release(x_2149, 1); - x_2153 = x_2149; -} else { - lean_dec_ref(x_2149); - x_2153 = lean_box(0); -} -if (lean_is_scalar(x_2153)) { - x_2154 = lean_alloc_ctor(1, 2, 0); -} else { - x_2154 = x_2153; -} -lean_ctor_set(x_2154, 0, x_2151); -lean_ctor_set(x_2154, 1, x_2152); -return x_2154; -} -} -block_2147: -{ -lean_object* x_2137; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2137 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2136); -lean_dec(x_17); -if (lean_obj_tag(x_2137) == 0) -{ -lean_object* x_2138; lean_object* x_2139; lean_object* x_2140; lean_object* x_2141; lean_object* x_2142; -x_2138 = lean_ctor_get(x_2137, 1); -lean_inc(x_2138); -lean_dec(x_2137); -lean_inc(x_2); -x_2139 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__7(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2138); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2140 = lean_ctor_get(x_2139, 1); -lean_inc(x_2140); -if (lean_is_exclusive(x_2139)) { - lean_ctor_release(x_2139, 0); - lean_ctor_release(x_2139, 1); - x_2141 = x_2139; -} else { - lean_dec_ref(x_2139); - x_2141 = lean_box(0); -} -if (lean_is_scalar(x_2141)) { - x_2142 = lean_alloc_ctor(0, 2, 0); -} else { - x_2142 = x_2141; -} -lean_ctor_set(x_2142, 0, x_2); -lean_ctor_set(x_2142, 1, x_2140); -return x_2142; -} -else -{ -lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2143 = lean_ctor_get(x_2137, 0); -lean_inc(x_2143); -x_2144 = lean_ctor_get(x_2137, 1); -lean_inc(x_2144); -if (lean_is_exclusive(x_2137)) { - lean_ctor_release(x_2137, 0); - lean_ctor_release(x_2137, 1); - x_2145 = x_2137; -} else { - lean_dec_ref(x_2137); - x_2145 = lean_box(0); -} -if (lean_is_scalar(x_2145)) { - x_2146 = lean_alloc_ctor(1, 2, 0); -} else { - x_2146 = x_2145; -} -lean_ctor_set(x_2146, 0, x_2143); -lean_ctor_set(x_2146, 1, x_2144); -return x_2146; -} -} -} -else -{ -lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; -lean_inc(x_2); -x_2155 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2155, 0, x_2); -x_2156 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2134, x_2155, x_4, x_5, x_6, x_7, x_1885, x_9, x_1993); -x_2157 = lean_ctor_get(x_2156, 1); -lean_inc(x_2157); -lean_dec(x_2156); if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_2158 = x_2157; -goto block_2169; +x_2150 = x_2005; +goto block_2161; } else { -lean_object* x_2170; lean_object* x_2171; -x_2170 = lean_ctor_get(x_13, 0); -lean_inc(x_2170); +lean_object* x_2162; lean_object* x_2163; +x_2162 = lean_ctor_get(x_13, 0); +lean_inc(x_2162); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_2171 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2170, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2157); -if (lean_obj_tag(x_2171) == 0) +x_2163 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2162, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2005); +if (lean_obj_tag(x_2163) == 0) { -lean_object* x_2172; -x_2172 = lean_ctor_get(x_2171, 1); -lean_inc(x_2172); -lean_dec(x_2171); -x_2158 = x_2172; -goto block_2169; -} -else -{ -lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2173 = lean_ctor_get(x_2171, 0); -lean_inc(x_2173); -x_2174 = lean_ctor_get(x_2171, 1); -lean_inc(x_2174); -if (lean_is_exclusive(x_2171)) { - lean_ctor_release(x_2171, 0); - lean_ctor_release(x_2171, 1); - x_2175 = x_2171; -} else { - lean_dec_ref(x_2171); - x_2175 = lean_box(0); -} -if (lean_is_scalar(x_2175)) { - x_2176 = lean_alloc_ctor(1, 2, 0); -} else { - x_2176 = x_2175; -} -lean_ctor_set(x_2176, 0, x_2173); -lean_ctor_set(x_2176, 1, x_2174); -return x_2176; -} -} -block_2169: -{ -lean_object* x_2159; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2159 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2158); -lean_dec(x_17); -if (lean_obj_tag(x_2159) == 0) -{ -lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; -x_2160 = lean_ctor_get(x_2159, 1); -lean_inc(x_2160); -lean_dec(x_2159); -lean_inc(x_2); -x_2161 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__8(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2160); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2162 = lean_ctor_get(x_2161, 1); -lean_inc(x_2162); -if (lean_is_exclusive(x_2161)) { - lean_ctor_release(x_2161, 0); - lean_ctor_release(x_2161, 1); - x_2163 = x_2161; -} else { - lean_dec_ref(x_2161); - x_2163 = lean_box(0); -} -if (lean_is_scalar(x_2163)) { - x_2164 = lean_alloc_ctor(0, 2, 0); -} else { - x_2164 = x_2163; -} -lean_ctor_set(x_2164, 0, x_2); -lean_ctor_set(x_2164, 1, x_2162); -return x_2164; +lean_object* x_2164; +x_2164 = lean_ctor_get(x_2163, 1); +lean_inc(x_2164); +lean_dec(x_2163); +x_2150 = x_2164; +goto block_2161; } else { lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_19); +lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -15044,16 +14831,16 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2165 = lean_ctor_get(x_2159, 0); +x_2165 = lean_ctor_get(x_2163, 0); lean_inc(x_2165); -x_2166 = lean_ctor_get(x_2159, 1); +x_2166 = lean_ctor_get(x_2163, 1); lean_inc(x_2166); -if (lean_is_exclusive(x_2159)) { - lean_ctor_release(x_2159, 0); - lean_ctor_release(x_2159, 1); - x_2167 = x_2159; +if (lean_is_exclusive(x_2163)) { + lean_ctor_release(x_2163, 0); + lean_ctor_release(x_2163, 1); + x_2167 = x_2163; } else { - lean_dec_ref(x_2159); + lean_dec_ref(x_2163); x_2167 = lean_box(0); } if (lean_is_scalar(x_2167)) { @@ -15066,72 +14853,55 @@ lean_ctor_set(x_2168, 1, x_2166); return x_2168; } } -} -} -} -} -else +block_2161: { -lean_object* x_2177; lean_object* x_2178; -lean_dec(x_1995); -lean_dec(x_1984); -lean_dec(x_1878); -lean_dec(x_3); -x_2177 = lean_array_fget(x_12, x_15); +lean_object* x_2151; lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_5); lean_inc(x_4); -lean_inc(x_2); -x_2178 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2177, x_1985, x_4, x_5, x_6, x_7, x_1885, x_9, x_1993); -if (lean_obj_tag(x_2178) == 0) +x_2151 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2150); +lean_dec(x_17); +if (lean_obj_tag(x_2151) == 0) { -lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; -x_2179 = lean_ctor_get(x_2178, 0); -lean_inc(x_2179); -x_2180 = lean_ctor_get(x_2178, 1); -lean_inc(x_2180); -lean_dec(x_2178); -x_2181 = lean_unsigned_to_nat(1u); -x_2182 = lean_nat_add(x_15, x_2181); -lean_dec(x_15); -x_2183 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_2183, 0, x_11); -lean_ctor_set(x_2183, 1, x_12); -lean_ctor_set(x_2183, 2, x_13); -lean_ctor_set(x_2183, 3, x_2182); -lean_ctor_set(x_2183, 4, x_16); -lean_ctor_set(x_2183, 5, x_17); -lean_ctor_set(x_2183, 6, x_18); -lean_ctor_set(x_2183, 7, x_19); -lean_ctor_set_uint8(x_2183, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2183, sizeof(void*)*8 + 1, x_1994); -lean_inc(x_2179); -x_2184 = l_Lean_mkApp(x_2, x_2179); -x_2185 = lean_expr_instantiate1(x_1986, x_2179); -lean_dec(x_2179); -lean_dec(x_1986); -x_1 = x_2183; -x_2 = x_2184; -x_3 = x_2185; -x_8 = x_1885; -x_10 = x_2180; -goto _start; +lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; +x_2152 = lean_ctor_get(x_2151, 1); +lean_inc(x_2152); +lean_dec(x_2151); +lean_inc(x_2); +x_2153 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__7(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2152); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2154 = lean_ctor_get(x_2153, 1); +lean_inc(x_2154); +if (lean_is_exclusive(x_2153)) { + lean_ctor_release(x_2153, 0); + lean_ctor_release(x_2153, 1); + x_2155 = x_2153; +} else { + lean_dec_ref(x_2153); + x_2155 = lean_box(0); +} +if (lean_is_scalar(x_2155)) { + x_2156 = lean_alloc_ctor(0, 2, 0); +} else { + x_2156 = x_2155; +} +lean_ctor_set(x_2156, 0, x_2); +lean_ctor_set(x_2156, 1, x_2154); +return x_2156; } else { -lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; -lean_dec(x_1986); -lean_dec(x_1885); +lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; +lean_dec(x_1897); lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -15139,16 +14909,88 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2187 = lean_ctor_get(x_2178, 0); -lean_inc(x_2187); -x_2188 = lean_ctor_get(x_2178, 1); -lean_inc(x_2188); -if (lean_is_exclusive(x_2178)) { - lean_ctor_release(x_2178, 0); - lean_ctor_release(x_2178, 1); - x_2189 = x_2178; +x_2157 = lean_ctor_get(x_2151, 0); +lean_inc(x_2157); +x_2158 = lean_ctor_get(x_2151, 1); +lean_inc(x_2158); +if (lean_is_exclusive(x_2151)) { + lean_ctor_release(x_2151, 0); + lean_ctor_release(x_2151, 1); + x_2159 = x_2151; } else { - lean_dec_ref(x_2178); + lean_dec_ref(x_2151); + x_2159 = lean_box(0); +} +if (lean_is_scalar(x_2159)) { + x_2160 = lean_alloc_ctor(1, 2, 0); +} else { + x_2160 = x_2159; +} +lean_ctor_set(x_2160, 0, x_2157); +lean_ctor_set(x_2160, 1, x_2158); +return x_2160; +} +} +} +else +{ +lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; +lean_inc(x_2); +x_2169 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2169, 0, x_2); +x_2170 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2148, x_2169, x_4, x_5, x_6, x_7, x_1897, x_9, x_2005); +x_2171 = lean_ctor_get(x_2170, 1); +lean_inc(x_2171); +lean_dec(x_2170); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_2172 = x_2171; +goto block_2183; +} +else +{ +lean_object* x_2184; lean_object* x_2185; +x_2184 = lean_ctor_get(x_13, 0); +lean_inc(x_2184); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +x_2185 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2184, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2171); +if (lean_obj_tag(x_2185) == 0) +{ +lean_object* x_2186; +x_2186 = lean_ctor_get(x_2185, 1); +lean_inc(x_2186); +lean_dec(x_2185); +x_2172 = x_2186; +goto block_2183; +} +else +{ +lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2187 = lean_ctor_get(x_2185, 0); +lean_inc(x_2187); +x_2188 = lean_ctor_get(x_2185, 1); +lean_inc(x_2188); +if (lean_is_exclusive(x_2185)) { + lean_ctor_release(x_2185, 0); + lean_ctor_release(x_2185, 1); + x_2189 = x_2185; +} else { + lean_dec_ref(x_2185); x_2189 = lean_box(0); } if (lean_is_scalar(x_2189)) { @@ -15161,16 +15003,189 @@ lean_ctor_set(x_2190, 1, x_2188); return x_2190; } } +block_2183: +{ +lean_object* x_2173; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2173 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2172); +lean_dec(x_17); +if (lean_obj_tag(x_2173) == 0) +{ +lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; +x_2174 = lean_ctor_get(x_2173, 1); +lean_inc(x_2174); +lean_dec(x_2173); +lean_inc(x_2); +x_2175 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__8(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2174); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2176 = lean_ctor_get(x_2175, 1); +lean_inc(x_2176); +if (lean_is_exclusive(x_2175)) { + lean_ctor_release(x_2175, 0); + lean_ctor_release(x_2175, 1); + x_2177 = x_2175; +} else { + lean_dec_ref(x_2175); + x_2177 = lean_box(0); +} +if (lean_is_scalar(x_2177)) { + x_2178 = lean_alloc_ctor(0, 2, 0); +} else { + x_2178 = x_2177; +} +lean_ctor_set(x_2178, 0, x_2); +lean_ctor_set(x_2178, 1, x_2176); +return x_2178; } else { -lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; -lean_dec(x_1992); -lean_dec(x_1986); -lean_dec(x_1985); -lean_dec(x_1984); -lean_dec(x_1885); -lean_dec(x_1878); +lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; lean_object* x_2182; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2179 = lean_ctor_get(x_2173, 0); +lean_inc(x_2179); +x_2180 = lean_ctor_get(x_2173, 1); +lean_inc(x_2180); +if (lean_is_exclusive(x_2173)) { + lean_ctor_release(x_2173, 0); + lean_ctor_release(x_2173, 1); + x_2181 = x_2173; +} else { + lean_dec_ref(x_2173); + x_2181 = lean_box(0); +} +if (lean_is_scalar(x_2181)) { + x_2182 = lean_alloc_ctor(1, 2, 0); +} else { + x_2182 = x_2181; +} +lean_ctor_set(x_2182, 0, x_2179); +lean_ctor_set(x_2182, 1, x_2180); +return x_2182; +} +} +} +} +} +} +else +{ +lean_object* x_2191; lean_object* x_2192; +lean_dec(x_2007); +lean_dec(x_1996); +lean_dec(x_1890); +lean_dec(x_3); +x_2191 = lean_array_fget(x_12, x_15); +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_2); +x_2192 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2191, x_1997, x_4, x_5, x_6, x_7, x_1897, x_9, x_2005); +if (lean_obj_tag(x_2192) == 0) +{ +lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; +x_2193 = lean_ctor_get(x_2192, 0); +lean_inc(x_2193); +x_2194 = lean_ctor_get(x_2192, 1); +lean_inc(x_2194); +lean_dec(x_2192); +x_2195 = lean_unsigned_to_nat(1u); +x_2196 = lean_nat_add(x_15, x_2195); +lean_dec(x_15); +x_2197 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_2197, 0, x_11); +lean_ctor_set(x_2197, 1, x_12); +lean_ctor_set(x_2197, 2, x_13); +lean_ctor_set(x_2197, 3, x_2196); +lean_ctor_set(x_2197, 4, x_16); +lean_ctor_set(x_2197, 5, x_17); +lean_ctor_set(x_2197, 6, x_18); +lean_ctor_set(x_2197, 7, x_19); +lean_ctor_set_uint8(x_2197, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2197, sizeof(void*)*8 + 1, x_2006); +lean_inc(x_2193); +x_2198 = l_Lean_mkApp(x_2, x_2193); +x_2199 = lean_expr_instantiate1(x_1998, x_2193); +lean_dec(x_2193); +lean_dec(x_1998); +x_1 = x_2197; +x_2 = x_2198; +x_3 = x_2199; +x_8 = x_1897; +x_10 = x_2194; +goto _start; +} +else +{ +lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; +lean_dec(x_1998); +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2201 = lean_ctor_get(x_2192, 0); +lean_inc(x_2201); +x_2202 = lean_ctor_get(x_2192, 1); +lean_inc(x_2202); +if (lean_is_exclusive(x_2192)) { + lean_ctor_release(x_2192, 0); + lean_ctor_release(x_2192, 1); + x_2203 = x_2192; +} else { + lean_dec_ref(x_2192); + x_2203 = lean_box(0); +} +if (lean_is_scalar(x_2203)) { + x_2204 = lean_alloc_ctor(1, 2, 0); +} else { + x_2204 = x_2203; +} +lean_ctor_set(x_2204, 0, x_2201); +lean_ctor_set(x_2204, 1, x_2202); +return x_2204; +} +} +} +else +{ +lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; +lean_dec(x_2004); +lean_dec(x_1998); +lean_dec(x_1997); +lean_dec(x_1996); +lean_dec(x_1897); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -15186,36 +15201,36 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2191 = lean_ctor_get(x_1991, 0); -lean_inc(x_2191); -x_2192 = lean_ctor_get(x_1991, 1); -lean_inc(x_2192); -if (lean_is_exclusive(x_1991)) { - lean_ctor_release(x_1991, 0); - lean_ctor_release(x_1991, 1); - x_2193 = x_1991; +x_2205 = lean_ctor_get(x_2003, 0); +lean_inc(x_2205); +x_2206 = lean_ctor_get(x_2003, 1); +lean_inc(x_2206); +if (lean_is_exclusive(x_2003)) { + lean_ctor_release(x_2003, 0); + lean_ctor_release(x_2003, 1); + x_2207 = x_2003; } else { - lean_dec_ref(x_1991); - x_2193 = lean_box(0); + lean_dec_ref(x_2003); + x_2207 = lean_box(0); } -if (lean_is_scalar(x_2193)) { - x_2194 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2207)) { + x_2208 = lean_alloc_ctor(1, 2, 0); } else { - x_2194 = x_2193; + x_2208 = x_2207; } -lean_ctor_set(x_2194, 0, x_2191); -lean_ctor_set(x_2194, 1, x_2192); -return x_2194; +lean_ctor_set(x_2208, 0, x_2205); +lean_ctor_set(x_2208, 1, x_2206); +return x_2208; } } case 1: { if (x_14 == 0) { -lean_object* x_2195; lean_object* x_2196; uint8_t x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2211; -lean_dec(x_1984); -lean_dec(x_1887); -lean_dec(x_1878); +lean_object* x_2209; lean_object* x_2210; uint8_t x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2225; +lean_dec(x_1996); +lean_dec(x_1899); +lean_dec(x_1890); lean_dec(x_3); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); @@ -15226,65 +15241,65 @@ if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 5); lean_ctor_release(x_1, 6); lean_ctor_release(x_1, 7); - x_2195 = x_1; + x_2209 = x_1; } else { lean_dec_ref(x_1); - x_2195 = lean_box(0); + x_2209 = lean_box(0); } -x_2196 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2196, 0, x_1985); -x_2197 = 0; -x_2198 = lean_box(0); +x_2210 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2210, 0, x_1997); +x_2211 = 0; +x_2212 = lean_box(0); lean_inc(x_6); -x_2199 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_2196, x_2197, x_2198, x_6, x_7, x_1885, x_9, x_1888); -x_2200 = lean_ctor_get(x_2199, 0); -lean_inc(x_2200); -x_2201 = lean_ctor_get(x_2199, 1); -lean_inc(x_2201); -lean_dec(x_2199); +x_2213 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_2210, x_2211, x_2212, x_6, x_7, x_1897, x_9, x_1900); +x_2214 = lean_ctor_get(x_2213, 0); +lean_inc(x_2214); +x_2215 = lean_ctor_get(x_2213, 1); +lean_inc(x_2215); +lean_dec(x_2213); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_2200); -x_2211 = l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__9(x_2200, x_4, x_5, x_6, x_7, x_1885, x_9, x_2201); -if (lean_obj_tag(x_2211) == 0) -{ -lean_object* x_2212; uint8_t x_2213; -x_2212 = lean_ctor_get(x_2211, 0); -lean_inc(x_2212); -x_2213 = lean_unbox(x_2212); -lean_dec(x_2212); -if (x_2213 == 0) -{ -lean_object* x_2214; -x_2214 = lean_ctor_get(x_2211, 1); lean_inc(x_2214); -lean_dec(x_2211); -x_2202 = x_18; -x_2203 = x_2214; -goto block_2210; +x_2225 = l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__9(x_2214, x_4, x_5, x_6, x_7, x_1897, x_9, x_2215); +if (lean_obj_tag(x_2225) == 0) +{ +lean_object* x_2226; uint8_t x_2227; +x_2226 = lean_ctor_get(x_2225, 0); +lean_inc(x_2226); +x_2227 = lean_unbox(x_2226); +lean_dec(x_2226); +if (x_2227 == 0) +{ +lean_object* x_2228; +x_2228 = lean_ctor_get(x_2225, 1); +lean_inc(x_2228); +lean_dec(x_2225); +x_2216 = x_18; +x_2217 = x_2228; +goto block_2224; } else { -lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; -x_2215 = lean_ctor_get(x_2211, 1); -lean_inc(x_2215); -lean_dec(x_2211); -x_2216 = l_Lean_Expr_mvarId_x21(x_2200); -x_2217 = lean_array_push(x_18, x_2216); -x_2202 = x_2217; -x_2203 = x_2215; -goto block_2210; +lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; +x_2229 = lean_ctor_get(x_2225, 1); +lean_inc(x_2229); +lean_dec(x_2225); +x_2230 = l_Lean_Expr_mvarId_x21(x_2214); +x_2231 = lean_array_push(x_18, x_2230); +x_2216 = x_2231; +x_2217 = x_2229; +goto block_2224; } } else { -lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; -lean_dec(x_2200); -lean_dec(x_2195); -lean_dec(x_1986); -lean_dec(x_1885); +lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; +lean_dec(x_2214); +lean_dec(x_2209); +lean_dec(x_1998); +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -15299,69 +15314,69 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2218 = lean_ctor_get(x_2211, 0); -lean_inc(x_2218); -x_2219 = lean_ctor_get(x_2211, 1); -lean_inc(x_2219); -if (lean_is_exclusive(x_2211)) { - lean_ctor_release(x_2211, 0); - lean_ctor_release(x_2211, 1); - x_2220 = x_2211; +x_2232 = lean_ctor_get(x_2225, 0); +lean_inc(x_2232); +x_2233 = lean_ctor_get(x_2225, 1); +lean_inc(x_2233); +if (lean_is_exclusive(x_2225)) { + lean_ctor_release(x_2225, 0); + lean_ctor_release(x_2225, 1); + x_2234 = x_2225; } else { - lean_dec_ref(x_2211); - x_2220 = lean_box(0); + lean_dec_ref(x_2225); + x_2234 = lean_box(0); } -if (lean_is_scalar(x_2220)) { - x_2221 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2234)) { + x_2235 = lean_alloc_ctor(1, 2, 0); } else { - x_2221 = x_2220; + x_2235 = x_2234; } -lean_ctor_set(x_2221, 0, x_2218); -lean_ctor_set(x_2221, 1, x_2219); -return x_2221; +lean_ctor_set(x_2235, 0, x_2232); +lean_ctor_set(x_2235, 1, x_2233); +return x_2235; } -block_2210: +block_2224: { -lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; -x_2204 = l_Lean_Expr_mvarId_x21(x_2200); -x_2205 = lean_array_push(x_19, x_2204); -if (lean_is_scalar(x_2195)) { - x_2206 = lean_alloc_ctor(0, 8, 2); +lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; +x_2218 = l_Lean_Expr_mvarId_x21(x_2214); +x_2219 = lean_array_push(x_19, x_2218); +if (lean_is_scalar(x_2209)) { + x_2220 = lean_alloc_ctor(0, 8, 2); } else { - x_2206 = x_2195; + x_2220 = x_2209; } -lean_ctor_set(x_2206, 0, x_11); -lean_ctor_set(x_2206, 1, x_12); -lean_ctor_set(x_2206, 2, x_13); -lean_ctor_set(x_2206, 3, x_15); -lean_ctor_set(x_2206, 4, x_16); -lean_ctor_set(x_2206, 5, x_17); -lean_ctor_set(x_2206, 6, x_2202); -lean_ctor_set(x_2206, 7, x_2205); -lean_ctor_set_uint8(x_2206, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2206, sizeof(void*)*8 + 1, x_1877); -lean_inc(x_2200); -x_2207 = l_Lean_mkApp(x_2, x_2200); -x_2208 = lean_expr_instantiate1(x_1986, x_2200); -lean_dec(x_2200); -lean_dec(x_1986); -x_1 = x_2206; -x_2 = x_2207; -x_3 = x_2208; -x_8 = x_1885; -x_10 = x_2203; +lean_ctor_set(x_2220, 0, x_11); +lean_ctor_set(x_2220, 1, x_12); +lean_ctor_set(x_2220, 2, x_13); +lean_ctor_set(x_2220, 3, x_15); +lean_ctor_set(x_2220, 4, x_16); +lean_ctor_set(x_2220, 5, x_17); +lean_ctor_set(x_2220, 6, x_2216); +lean_ctor_set(x_2220, 7, x_2219); +lean_ctor_set_uint8(x_2220, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2220, sizeof(void*)*8 + 1, x_1889); +lean_inc(x_2214); +x_2221 = l_Lean_mkApp(x_2, x_2214); +x_2222 = lean_expr_instantiate1(x_1998, x_2214); +lean_dec(x_2214); +lean_dec(x_1998); +x_1 = x_2220; +x_2 = x_2221; +x_3 = x_2222; +x_8 = x_1897; +x_10 = x_2217; goto _start; } } else { -lean_object* x_2222; lean_object* x_2223; +lean_object* x_2236; lean_object* x_2237; lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_2222 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1887, x_4, x_5, x_6, x_7, x_1885, x_9, x_1888); +x_2236 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1899, x_4, x_5, x_6, x_7, x_1897, x_9, x_1900); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); @@ -15371,345 +15386,117 @@ if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 5); lean_ctor_release(x_1, 6); lean_ctor_release(x_1, 7); - x_2223 = x_1; + x_2237 = x_1; } else { lean_dec_ref(x_1); - x_2223 = lean_box(0); + x_2237 = lean_box(0); } -if (lean_obj_tag(x_2222) == 0) +if (lean_obj_tag(x_2236) == 0) { -lean_object* x_2224; lean_object* x_2225; uint8_t x_2226; -x_2224 = lean_ctor_get(x_2222, 1); -lean_inc(x_2224); -lean_dec(x_2222); -x_2225 = lean_array_get_size(x_12); -x_2226 = lean_nat_dec_lt(x_15, x_2225); -lean_dec(x_2225); -if (x_2226 == 0) +lean_object* x_2238; lean_object* x_2239; uint8_t x_2240; +x_2238 = lean_ctor_get(x_2236, 1); +lean_inc(x_2238); +lean_dec(x_2236); +x_2239 = lean_array_get_size(x_12); +x_2240 = lean_nat_dec_lt(x_15, x_2239); +lean_dec(x_2239); +if (x_2240 == 0) { -uint8_t x_2227; -lean_dec(x_2223); -lean_dec(x_1986); -lean_dec(x_1985); +uint8_t x_2241; +lean_dec(x_2237); +lean_dec(x_1998); +lean_dec(x_1997); lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); -x_2227 = l_Array_isEmpty___rarg(x_16); -if (x_2227 == 0) +x_2241 = l_Array_isEmpty___rarg(x_16); +if (x_2241 == 0) { -lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; -lean_dec(x_1878); +lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_2228 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_2228, 0, x_1984); -x_2229 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_2230 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2230, 0, x_2229); -lean_ctor_set(x_2230, 1, x_2228); -x_2231 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_2232 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2232, 0, x_2230); -lean_ctor_set(x_2232, 1, x_2231); -x_2233 = x_16; -x_2234 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_1988, x_2233); -x_2235 = x_2234; -x_2236 = l_Array_toList___rarg(x_2235); -lean_dec(x_2235); -x_2237 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2236); -x_2238 = l_Array_HasRepr___rarg___closed__1; -x_2239 = lean_string_append(x_2238, x_2237); -lean_dec(x_2237); -x_2240 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2240, 0, x_2239); -x_2241 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2241, 0, x_2240); -x_2242 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2242, 0, x_2232); -lean_ctor_set(x_2242, 1, x_2241); -x_2243 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2242, x_4, x_5, x_6, x_7, x_1885, x_9, x_2224); +x_2242 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_2242, 0, x_1996); +x_2243 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_2244 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2244, 0, x_2243); +lean_ctor_set(x_2244, 1, x_2242); +x_2245 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_2246 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2246, 0, x_2244); +lean_ctor_set(x_2246, 1, x_2245); +x_2247 = x_16; +x_2248 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_2000, x_2247); +x_2249 = x_2248; +x_2250 = l_Array_toList___rarg(x_2249); +lean_dec(x_2249); +x_2251 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2250); +x_2252 = l_Array_HasRepr___rarg___closed__1; +x_2253 = lean_string_append(x_2252, x_2251); +lean_dec(x_2251); +x_2254 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2254, 0, x_2253); +x_2255 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2255, 0, x_2254); +x_2256 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2256, 0, x_2246); +lean_ctor_set(x_2256, 1, x_2255); +x_2257 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2256, x_4, x_5, x_6, x_7, x_1897, x_9, x_2238); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2243; +return x_2257; } else { -lean_object* x_2244; uint8_t x_2245; -lean_dec(x_1984); +lean_object* x_2258; uint8_t x_2259; +lean_dec(x_1996); lean_dec(x_16); -x_2244 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_2245 = l_Lean_checkTraceOption(x_1878, x_2244); -lean_dec(x_1878); -if (x_2245 == 0) -{ -lean_object* x_2246; -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_2246 = x_2224; -goto block_2257; -} -else -{ -lean_object* x_2258; lean_object* x_2259; -x_2258 = lean_ctor_get(x_13, 0); -lean_inc(x_2258); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -x_2259 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2258, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2224); -if (lean_obj_tag(x_2259) == 0) +x_2258 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_2259 = l_Lean_checkTraceOption(x_1890, x_2258); +lean_dec(x_1890); +if (x_2259 == 0) { lean_object* x_2260; -x_2260 = lean_ctor_get(x_2259, 1); -lean_inc(x_2260); -lean_dec(x_2259); -x_2246 = x_2260; -goto block_2257; -} -else -{ -lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2261 = lean_ctor_get(x_2259, 0); -lean_inc(x_2261); -x_2262 = lean_ctor_get(x_2259, 1); -lean_inc(x_2262); -if (lean_is_exclusive(x_2259)) { - lean_ctor_release(x_2259, 0); - lean_ctor_release(x_2259, 1); - x_2263 = x_2259; -} else { - lean_dec_ref(x_2259); - x_2263 = lean_box(0); -} -if (lean_is_scalar(x_2263)) { - x_2264 = lean_alloc_ctor(1, 2, 0); -} else { - x_2264 = x_2263; -} -lean_ctor_set(x_2264, 0, x_2261); -lean_ctor_set(x_2264, 1, x_2262); -return x_2264; -} -} -block_2257: -{ -lean_object* x_2247; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2247 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2246); -lean_dec(x_17); -if (lean_obj_tag(x_2247) == 0) -{ -lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; -x_2248 = lean_ctor_get(x_2247, 1); -lean_inc(x_2248); -lean_dec(x_2247); -lean_inc(x_2); -x_2249 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__10(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2248); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2250 = lean_ctor_get(x_2249, 1); -lean_inc(x_2250); -if (lean_is_exclusive(x_2249)) { - lean_ctor_release(x_2249, 0); - lean_ctor_release(x_2249, 1); - x_2251 = x_2249; -} else { - lean_dec_ref(x_2249); - x_2251 = lean_box(0); -} -if (lean_is_scalar(x_2251)) { - x_2252 = lean_alloc_ctor(0, 2, 0); -} else { - x_2252 = x_2251; -} -lean_ctor_set(x_2252, 0, x_2); -lean_ctor_set(x_2252, 1, x_2250); -return x_2252; -} -else -{ -lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2253 = lean_ctor_get(x_2247, 0); -lean_inc(x_2253); -x_2254 = lean_ctor_get(x_2247, 1); -lean_inc(x_2254); -if (lean_is_exclusive(x_2247)) { - lean_ctor_release(x_2247, 0); - lean_ctor_release(x_2247, 1); - x_2255 = x_2247; -} else { - lean_dec_ref(x_2247); - x_2255 = lean_box(0); -} -if (lean_is_scalar(x_2255)) { - x_2256 = lean_alloc_ctor(1, 2, 0); -} else { - x_2256 = x_2255; -} -lean_ctor_set(x_2256, 0, x_2253); -lean_ctor_set(x_2256, 1, x_2254); -return x_2256; -} -} -} -else -{ -lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; -lean_inc(x_2); -x_2265 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2265, 0, x_2); -x_2266 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2244, x_2265, x_4, x_5, x_6, x_7, x_1885, x_9, x_2224); -x_2267 = lean_ctor_get(x_2266, 1); -lean_inc(x_2267); -lean_dec(x_2266); if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_2268 = x_2267; -goto block_2279; +x_2260 = x_2238; +goto block_2271; } else { -lean_object* x_2280; lean_object* x_2281; -x_2280 = lean_ctor_get(x_13, 0); -lean_inc(x_2280); +lean_object* x_2272; lean_object* x_2273; +x_2272 = lean_ctor_get(x_13, 0); +lean_inc(x_2272); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_2281 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2280, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2267); -if (lean_obj_tag(x_2281) == 0) +x_2273 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2272, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2238); +if (lean_obj_tag(x_2273) == 0) { -lean_object* x_2282; -x_2282 = lean_ctor_get(x_2281, 1); -lean_inc(x_2282); -lean_dec(x_2281); -x_2268 = x_2282; -goto block_2279; -} -else -{ -lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2283 = lean_ctor_get(x_2281, 0); -lean_inc(x_2283); -x_2284 = lean_ctor_get(x_2281, 1); -lean_inc(x_2284); -if (lean_is_exclusive(x_2281)) { - lean_ctor_release(x_2281, 0); - lean_ctor_release(x_2281, 1); - x_2285 = x_2281; -} else { - lean_dec_ref(x_2281); - x_2285 = lean_box(0); -} -if (lean_is_scalar(x_2285)) { - x_2286 = lean_alloc_ctor(1, 2, 0); -} else { - x_2286 = x_2285; -} -lean_ctor_set(x_2286, 0, x_2283); -lean_ctor_set(x_2286, 1, x_2284); -return x_2286; -} -} -block_2279: -{ -lean_object* x_2269; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2269 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2268); -lean_dec(x_17); -if (lean_obj_tag(x_2269) == 0) -{ -lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; -x_2270 = lean_ctor_get(x_2269, 1); -lean_inc(x_2270); -lean_dec(x_2269); -lean_inc(x_2); -x_2271 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__11(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2270); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2272 = lean_ctor_get(x_2271, 1); -lean_inc(x_2272); -if (lean_is_exclusive(x_2271)) { - lean_ctor_release(x_2271, 0); - lean_ctor_release(x_2271, 1); - x_2273 = x_2271; -} else { - lean_dec_ref(x_2271); - x_2273 = lean_box(0); -} -if (lean_is_scalar(x_2273)) { - x_2274 = lean_alloc_ctor(0, 2, 0); -} else { - x_2274 = x_2273; -} -lean_ctor_set(x_2274, 0, x_2); -lean_ctor_set(x_2274, 1, x_2272); -return x_2274; +lean_object* x_2274; +x_2274 = lean_ctor_get(x_2273, 1); +lean_inc(x_2274); +lean_dec(x_2273); +x_2260 = x_2274; +goto block_2271; } else { lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_19); +lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -15717,16 +15504,16 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2275 = lean_ctor_get(x_2269, 0); +x_2275 = lean_ctor_get(x_2273, 0); lean_inc(x_2275); -x_2276 = lean_ctor_get(x_2269, 1); +x_2276 = lean_ctor_get(x_2273, 1); lean_inc(x_2276); -if (lean_is_exclusive(x_2269)) { - lean_ctor_release(x_2269, 0); - lean_ctor_release(x_2269, 1); - x_2277 = x_2269; +if (lean_is_exclusive(x_2273)) { + lean_ctor_release(x_2273, 0); + lean_ctor_release(x_2273, 1); + x_2277 = x_2273; } else { - lean_dec_ref(x_2269); + lean_dec_ref(x_2273); x_2277 = lean_box(0); } if (lean_is_scalar(x_2277)) { @@ -15739,69 +15526,297 @@ lean_ctor_set(x_2278, 1, x_2276); return x_2278; } } +block_2271: +{ +lean_object* x_2261; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2261 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2260); +lean_dec(x_17); +if (lean_obj_tag(x_2261) == 0) +{ +lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; +x_2262 = lean_ctor_get(x_2261, 1); +lean_inc(x_2262); +lean_dec(x_2261); +lean_inc(x_2); +x_2263 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__10(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2262); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2264 = lean_ctor_get(x_2263, 1); +lean_inc(x_2264); +if (lean_is_exclusive(x_2263)) { + lean_ctor_release(x_2263, 0); + lean_ctor_release(x_2263, 1); + x_2265 = x_2263; +} else { + lean_dec_ref(x_2263); + x_2265 = lean_box(0); +} +if (lean_is_scalar(x_2265)) { + x_2266 = lean_alloc_ctor(0, 2, 0); +} else { + x_2266 = x_2265; +} +lean_ctor_set(x_2266, 0, x_2); +lean_ctor_set(x_2266, 1, x_2264); +return x_2266; +} +else +{ +lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2267 = lean_ctor_get(x_2261, 0); +lean_inc(x_2267); +x_2268 = lean_ctor_get(x_2261, 1); +lean_inc(x_2268); +if (lean_is_exclusive(x_2261)) { + lean_ctor_release(x_2261, 0); + lean_ctor_release(x_2261, 1); + x_2269 = x_2261; +} else { + lean_dec_ref(x_2261); + x_2269 = lean_box(0); +} +if (lean_is_scalar(x_2269)) { + x_2270 = lean_alloc_ctor(1, 2, 0); +} else { + x_2270 = x_2269; +} +lean_ctor_set(x_2270, 0, x_2267); +lean_ctor_set(x_2270, 1, x_2268); +return x_2270; } } } else { -lean_object* x_2287; lean_object* x_2288; -lean_dec(x_1984); -lean_dec(x_1878); +lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; +lean_inc(x_2); +x_2279 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2279, 0, x_2); +x_2280 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2258, x_2279, x_4, x_5, x_6, x_7, x_1897, x_9, x_2238); +x_2281 = lean_ctor_get(x_2280, 1); +lean_inc(x_2281); +lean_dec(x_2280); +if (lean_obj_tag(x_13) == 0) +{ lean_dec(x_3); -x_2287 = lean_array_fget(x_12, x_15); +x_2282 = x_2281; +goto block_2293; +} +else +{ +lean_object* x_2294; lean_object* x_2295; +x_2294 = lean_ctor_get(x_13, 0); +lean_inc(x_2294); +lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +x_2295 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2294, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2281); +if (lean_obj_tag(x_2295) == 0) +{ +lean_object* x_2296; +x_2296 = lean_ctor_get(x_2295, 1); +lean_inc(x_2296); +lean_dec(x_2295); +x_2282 = x_2296; +goto block_2293; +} +else +{ +lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2297 = lean_ctor_get(x_2295, 0); +lean_inc(x_2297); +x_2298 = lean_ctor_get(x_2295, 1); +lean_inc(x_2298); +if (lean_is_exclusive(x_2295)) { + lean_ctor_release(x_2295, 0); + lean_ctor_release(x_2295, 1); + x_2299 = x_2295; +} else { + lean_dec_ref(x_2295); + x_2299 = lean_box(0); +} +if (lean_is_scalar(x_2299)) { + x_2300 = lean_alloc_ctor(1, 2, 0); +} else { + x_2300 = x_2299; +} +lean_ctor_set(x_2300, 0, x_2297); +lean_ctor_set(x_2300, 1, x_2298); +return x_2300; +} +} +block_2293: +{ +lean_object* x_2283; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2283 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2282); +lean_dec(x_17); +if (lean_obj_tag(x_2283) == 0) +{ +lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; +x_2284 = lean_ctor_get(x_2283, 1); +lean_inc(x_2284); +lean_dec(x_2283); +lean_inc(x_2); +x_2285 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__11(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2284); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2286 = lean_ctor_get(x_2285, 1); +lean_inc(x_2286); +if (lean_is_exclusive(x_2285)) { + lean_ctor_release(x_2285, 0); + lean_ctor_release(x_2285, 1); + x_2287 = x_2285; +} else { + lean_dec_ref(x_2285); + x_2287 = lean_box(0); +} +if (lean_is_scalar(x_2287)) { + x_2288 = lean_alloc_ctor(0, 2, 0); +} else { + x_2288 = x_2287; +} +lean_ctor_set(x_2288, 0, x_2); +lean_ctor_set(x_2288, 1, x_2286); +return x_2288; +} +else +{ +lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2289 = lean_ctor_get(x_2283, 0); +lean_inc(x_2289); +x_2290 = lean_ctor_get(x_2283, 1); +lean_inc(x_2290); +if (lean_is_exclusive(x_2283)) { + lean_ctor_release(x_2283, 0); + lean_ctor_release(x_2283, 1); + x_2291 = x_2283; +} else { + lean_dec_ref(x_2283); + x_2291 = lean_box(0); +} +if (lean_is_scalar(x_2291)) { + x_2292 = lean_alloc_ctor(1, 2, 0); +} else { + x_2292 = x_2291; +} +lean_ctor_set(x_2292, 0, x_2289); +lean_ctor_set(x_2292, 1, x_2290); +return x_2292; +} +} +} +} +} +else +{ +lean_object* x_2301; lean_object* x_2302; +lean_dec(x_1996); +lean_dec(x_1890); +lean_dec(x_3); +x_2301 = lean_array_fget(x_12, x_15); +lean_inc(x_9); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_2288 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2287, x_1985, x_4, x_5, x_6, x_7, x_1885, x_9, x_2224); -if (lean_obj_tag(x_2288) == 0) +x_2302 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2301, x_1997, x_4, x_5, x_6, x_7, x_1897, x_9, x_2238); +if (lean_obj_tag(x_2302) == 0) { -lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; uint8_t x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; -x_2289 = lean_ctor_get(x_2288, 0); -lean_inc(x_2289); -x_2290 = lean_ctor_get(x_2288, 1); -lean_inc(x_2290); -lean_dec(x_2288); -x_2291 = lean_unsigned_to_nat(1u); -x_2292 = lean_nat_add(x_15, x_2291); +lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; uint8_t x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; +x_2303 = lean_ctor_get(x_2302, 0); +lean_inc(x_2303); +x_2304 = lean_ctor_get(x_2302, 1); +lean_inc(x_2304); +lean_dec(x_2302); +x_2305 = lean_unsigned_to_nat(1u); +x_2306 = lean_nat_add(x_15, x_2305); lean_dec(x_15); -x_2293 = 1; -if (lean_is_scalar(x_2223)) { - x_2294 = lean_alloc_ctor(0, 8, 2); +x_2307 = 1; +if (lean_is_scalar(x_2237)) { + x_2308 = lean_alloc_ctor(0, 8, 2); } else { - x_2294 = x_2223; + x_2308 = x_2237; } -lean_ctor_set(x_2294, 0, x_11); -lean_ctor_set(x_2294, 1, x_12); -lean_ctor_set(x_2294, 2, x_13); -lean_ctor_set(x_2294, 3, x_2292); -lean_ctor_set(x_2294, 4, x_16); -lean_ctor_set(x_2294, 5, x_17); -lean_ctor_set(x_2294, 6, x_18); -lean_ctor_set(x_2294, 7, x_19); -lean_ctor_set_uint8(x_2294, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2294, sizeof(void*)*8 + 1, x_2293); -lean_inc(x_2289); -x_2295 = l_Lean_mkApp(x_2, x_2289); -x_2296 = lean_expr_instantiate1(x_1986, x_2289); -lean_dec(x_2289); -lean_dec(x_1986); -x_1 = x_2294; -x_2 = x_2295; -x_3 = x_2296; -x_8 = x_1885; -x_10 = x_2290; +lean_ctor_set(x_2308, 0, x_11); +lean_ctor_set(x_2308, 1, x_12); +lean_ctor_set(x_2308, 2, x_13); +lean_ctor_set(x_2308, 3, x_2306); +lean_ctor_set(x_2308, 4, x_16); +lean_ctor_set(x_2308, 5, x_17); +lean_ctor_set(x_2308, 6, x_18); +lean_ctor_set(x_2308, 7, x_19); +lean_ctor_set_uint8(x_2308, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2308, sizeof(void*)*8 + 1, x_2307); +lean_inc(x_2303); +x_2309 = l_Lean_mkApp(x_2, x_2303); +x_2310 = lean_expr_instantiate1(x_1998, x_2303); +lean_dec(x_2303); +lean_dec(x_1998); +x_1 = x_2308; +x_2 = x_2309; +x_3 = x_2310; +x_8 = x_1897; +x_10 = x_2304; goto _start; } else { -lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; -lean_dec(x_2223); -lean_dec(x_1986); -lean_dec(x_1885); +lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; +lean_dec(x_2237); +lean_dec(x_1998); +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -15816,38 +15831,38 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2298 = lean_ctor_get(x_2288, 0); -lean_inc(x_2298); -x_2299 = lean_ctor_get(x_2288, 1); -lean_inc(x_2299); -if (lean_is_exclusive(x_2288)) { - lean_ctor_release(x_2288, 0); - lean_ctor_release(x_2288, 1); - x_2300 = x_2288; +x_2312 = lean_ctor_get(x_2302, 0); +lean_inc(x_2312); +x_2313 = lean_ctor_get(x_2302, 1); +lean_inc(x_2313); +if (lean_is_exclusive(x_2302)) { + lean_ctor_release(x_2302, 0); + lean_ctor_release(x_2302, 1); + x_2314 = x_2302; } else { - lean_dec_ref(x_2288); - x_2300 = lean_box(0); + lean_dec_ref(x_2302); + x_2314 = lean_box(0); } -if (lean_is_scalar(x_2300)) { - x_2301 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2314)) { + x_2315 = lean_alloc_ctor(1, 2, 0); } else { - x_2301 = x_2300; + x_2315 = x_2314; } -lean_ctor_set(x_2301, 0, x_2298); -lean_ctor_set(x_2301, 1, x_2299); -return x_2301; +lean_ctor_set(x_2315, 0, x_2312); +lean_ctor_set(x_2315, 1, x_2313); +return x_2315; } } } else { -lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; -lean_dec(x_2223); -lean_dec(x_1986); -lean_dec(x_1985); -lean_dec(x_1984); -lean_dec(x_1885); -lean_dec(x_1878); +lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; +lean_dec(x_2237); +lean_dec(x_1998); +lean_dec(x_1997); +lean_dec(x_1996); +lean_dec(x_1897); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -15863,38 +15878,38 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2302 = lean_ctor_get(x_2222, 0); -lean_inc(x_2302); -x_2303 = lean_ctor_get(x_2222, 1); -lean_inc(x_2303); -if (lean_is_exclusive(x_2222)) { - lean_ctor_release(x_2222, 0); - lean_ctor_release(x_2222, 1); - x_2304 = x_2222; +x_2316 = lean_ctor_get(x_2236, 0); +lean_inc(x_2316); +x_2317 = lean_ctor_get(x_2236, 1); +lean_inc(x_2317); +if (lean_is_exclusive(x_2236)) { + lean_ctor_release(x_2236, 0); + lean_ctor_release(x_2236, 1); + x_2318 = x_2236; } else { - lean_dec_ref(x_2222); - x_2304 = lean_box(0); + lean_dec_ref(x_2236); + x_2318 = lean_box(0); } -if (lean_is_scalar(x_2304)) { - x_2305 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2318)) { + x_2319 = lean_alloc_ctor(1, 2, 0); } else { - x_2305 = x_2304; + x_2319 = x_2318; } -lean_ctor_set(x_2305, 0, x_2302); -lean_ctor_set(x_2305, 1, x_2303); -return x_2305; +lean_ctor_set(x_2319, 0, x_2316); +lean_ctor_set(x_2319, 1, x_2317); +return x_2319; } } } case 2: { -lean_object* x_2306; lean_object* x_2307; +lean_object* x_2320; lean_object* x_2321; lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_2306 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1887, x_4, x_5, x_6, x_7, x_1885, x_9, x_1888); +x_2320 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1899, x_4, x_5, x_6, x_7, x_1897, x_9, x_1900); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); @@ -15904,18 +15919,18 @@ if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 5); lean_ctor_release(x_1, 6); lean_ctor_release(x_1, 7); - x_2307 = x_1; + x_2321 = x_1; } else { lean_dec_ref(x_1); - x_2307 = lean_box(0); + x_2321 = lean_box(0); } -if (lean_obj_tag(x_2306) == 0) +if (lean_obj_tag(x_2320) == 0) { -lean_object* x_2308; uint8_t x_2309; lean_object* x_2310; lean_object* x_2311; uint8_t x_2312; -x_2308 = lean_ctor_get(x_2306, 1); -lean_inc(x_2308); -lean_dec(x_2306); -x_2309 = 1; +lean_object* x_2322; uint8_t x_2323; lean_object* x_2324; lean_object* x_2325; uint8_t x_2326; +x_2322 = lean_ctor_get(x_2320, 1); +lean_inc(x_2322); +lean_dec(x_2320); +x_2323 = 1; lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -15924,359 +15939,131 @@ lean_inc(x_15); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -if (lean_is_scalar(x_2307)) { - x_2310 = lean_alloc_ctor(0, 8, 2); +if (lean_is_scalar(x_2321)) { + x_2324 = lean_alloc_ctor(0, 8, 2); } else { - x_2310 = x_2307; + x_2324 = x_2321; } -lean_ctor_set(x_2310, 0, x_11); -lean_ctor_set(x_2310, 1, x_12); -lean_ctor_set(x_2310, 2, x_13); -lean_ctor_set(x_2310, 3, x_15); -lean_ctor_set(x_2310, 4, x_16); -lean_ctor_set(x_2310, 5, x_17); -lean_ctor_set(x_2310, 6, x_18); -lean_ctor_set(x_2310, 7, x_19); -lean_ctor_set_uint8(x_2310, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2310, sizeof(void*)*8 + 1, x_2309); -x_2311 = lean_array_get_size(x_12); -x_2312 = lean_nat_dec_lt(x_15, x_2311); -lean_dec(x_2311); -if (x_2312 == 0) +lean_ctor_set(x_2324, 0, x_11); +lean_ctor_set(x_2324, 1, x_12); +lean_ctor_set(x_2324, 2, x_13); +lean_ctor_set(x_2324, 3, x_15); +lean_ctor_set(x_2324, 4, x_16); +lean_ctor_set(x_2324, 5, x_17); +lean_ctor_set(x_2324, 6, x_18); +lean_ctor_set(x_2324, 7, x_19); +lean_ctor_set_uint8(x_2324, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2324, sizeof(void*)*8 + 1, x_2323); +x_2325 = lean_array_get_size(x_12); +x_2326 = lean_nat_dec_lt(x_15, x_2325); +lean_dec(x_2325); +if (x_2326 == 0) { lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); if (x_14 == 0) { -lean_object* x_2313; -x_2313 = l_Lean_Expr_getOptParamDefault_x3f(x_1985); -if (lean_obj_tag(x_2313) == 0) +lean_object* x_2327; +x_2327 = l_Lean_Expr_getOptParamDefault_x3f(x_1997); +if (lean_obj_tag(x_2327) == 0) { -lean_object* x_2314; -x_2314 = l_Lean_Expr_getAutoParamTactic_x3f(x_1985); -if (lean_obj_tag(x_2314) == 0) +lean_object* x_2328; +x_2328 = l_Lean_Expr_getAutoParamTactic_x3f(x_1997); +if (lean_obj_tag(x_2328) == 0) { -uint8_t x_2315; -lean_dec(x_2310); -lean_dec(x_1986); -lean_dec(x_1985); -x_2315 = l_Array_isEmpty___rarg(x_16); -if (x_2315 == 0) +uint8_t x_2329; +lean_dec(x_2324); +lean_dec(x_1998); +lean_dec(x_1997); +x_2329 = l_Array_isEmpty___rarg(x_16); +if (x_2329 == 0) { -lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; -lean_dec(x_1878); +lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_2316 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_2316, 0, x_1984); -x_2317 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_2318 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2318, 0, x_2317); -lean_ctor_set(x_2318, 1, x_2316); -x_2319 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_2320 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2320, 0, x_2318); -lean_ctor_set(x_2320, 1, x_2319); -x_2321 = x_16; -x_2322 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_1988, x_2321); -x_2323 = x_2322; -x_2324 = l_Array_toList___rarg(x_2323); -lean_dec(x_2323); -x_2325 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2324); -x_2326 = l_Array_HasRepr___rarg___closed__1; -x_2327 = lean_string_append(x_2326, x_2325); -lean_dec(x_2325); -x_2328 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2328, 0, x_2327); -x_2329 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2329, 0, x_2328); -x_2330 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2330, 0, x_2320); -lean_ctor_set(x_2330, 1, x_2329); -x_2331 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2330, x_4, x_5, x_6, x_7, x_1885, x_9, x_2308); +x_2330 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_2330, 0, x_1996); +x_2331 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_2332 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2332, 0, x_2331); +lean_ctor_set(x_2332, 1, x_2330); +x_2333 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_2334 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2334, 0, x_2332); +lean_ctor_set(x_2334, 1, x_2333); +x_2335 = x_16; +x_2336 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_2000, x_2335); +x_2337 = x_2336; +x_2338 = l_Array_toList___rarg(x_2337); +lean_dec(x_2337); +x_2339 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2338); +x_2340 = l_Array_HasRepr___rarg___closed__1; +x_2341 = lean_string_append(x_2340, x_2339); +lean_dec(x_2339); +x_2342 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2342, 0, x_2341); +x_2343 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2343, 0, x_2342); +x_2344 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2344, 0, x_2334); +lean_ctor_set(x_2344, 1, x_2343); +x_2345 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2344, x_4, x_5, x_6, x_7, x_1897, x_9, x_2322); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2331; +return x_2345; } else { -lean_object* x_2332; uint8_t x_2333; -lean_dec(x_1984); +lean_object* x_2346; uint8_t x_2347; +lean_dec(x_1996); lean_dec(x_16); -x_2332 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_2333 = l_Lean_checkTraceOption(x_1878, x_2332); -lean_dec(x_1878); -if (x_2333 == 0) -{ -lean_object* x_2334; -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_2334 = x_2308; -goto block_2345; -} -else -{ -lean_object* x_2346; lean_object* x_2347; -x_2346 = lean_ctor_get(x_13, 0); -lean_inc(x_2346); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -x_2347 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2346, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2308); -if (lean_obj_tag(x_2347) == 0) +x_2346 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_2347 = l_Lean_checkTraceOption(x_1890, x_2346); +lean_dec(x_1890); +if (x_2347 == 0) { lean_object* x_2348; -x_2348 = lean_ctor_get(x_2347, 1); -lean_inc(x_2348); -lean_dec(x_2347); -x_2334 = x_2348; -goto block_2345; -} -else -{ -lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2349 = lean_ctor_get(x_2347, 0); -lean_inc(x_2349); -x_2350 = lean_ctor_get(x_2347, 1); -lean_inc(x_2350); -if (lean_is_exclusive(x_2347)) { - lean_ctor_release(x_2347, 0); - lean_ctor_release(x_2347, 1); - x_2351 = x_2347; -} else { - lean_dec_ref(x_2347); - x_2351 = lean_box(0); -} -if (lean_is_scalar(x_2351)) { - x_2352 = lean_alloc_ctor(1, 2, 0); -} else { - x_2352 = x_2351; -} -lean_ctor_set(x_2352, 0, x_2349); -lean_ctor_set(x_2352, 1, x_2350); -return x_2352; -} -} -block_2345: -{ -lean_object* x_2335; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2335 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2334); -lean_dec(x_17); -if (lean_obj_tag(x_2335) == 0) -{ -lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; -x_2336 = lean_ctor_get(x_2335, 1); -lean_inc(x_2336); -lean_dec(x_2335); -lean_inc(x_2); -x_2337 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__12(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2336); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2338 = lean_ctor_get(x_2337, 1); -lean_inc(x_2338); -if (lean_is_exclusive(x_2337)) { - lean_ctor_release(x_2337, 0); - lean_ctor_release(x_2337, 1); - x_2339 = x_2337; -} else { - lean_dec_ref(x_2337); - x_2339 = lean_box(0); -} -if (lean_is_scalar(x_2339)) { - x_2340 = lean_alloc_ctor(0, 2, 0); -} else { - x_2340 = x_2339; -} -lean_ctor_set(x_2340, 0, x_2); -lean_ctor_set(x_2340, 1, x_2338); -return x_2340; -} -else -{ -lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2341 = lean_ctor_get(x_2335, 0); -lean_inc(x_2341); -x_2342 = lean_ctor_get(x_2335, 1); -lean_inc(x_2342); -if (lean_is_exclusive(x_2335)) { - lean_ctor_release(x_2335, 0); - lean_ctor_release(x_2335, 1); - x_2343 = x_2335; -} else { - lean_dec_ref(x_2335); - x_2343 = lean_box(0); -} -if (lean_is_scalar(x_2343)) { - x_2344 = lean_alloc_ctor(1, 2, 0); -} else { - x_2344 = x_2343; -} -lean_ctor_set(x_2344, 0, x_2341); -lean_ctor_set(x_2344, 1, x_2342); -return x_2344; -} -} -} -else -{ -lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; -lean_inc(x_2); -x_2353 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2353, 0, x_2); -x_2354 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2332, x_2353, x_4, x_5, x_6, x_7, x_1885, x_9, x_2308); -x_2355 = lean_ctor_get(x_2354, 1); -lean_inc(x_2355); -lean_dec(x_2354); if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_2356 = x_2355; -goto block_2367; +x_2348 = x_2322; +goto block_2359; } else { -lean_object* x_2368; lean_object* x_2369; -x_2368 = lean_ctor_get(x_13, 0); -lean_inc(x_2368); +lean_object* x_2360; lean_object* x_2361; +x_2360 = lean_ctor_get(x_13, 0); +lean_inc(x_2360); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_2369 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2368, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2355); -if (lean_obj_tag(x_2369) == 0) +x_2361 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2360, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2322); +if (lean_obj_tag(x_2361) == 0) { -lean_object* x_2370; -x_2370 = lean_ctor_get(x_2369, 1); -lean_inc(x_2370); -lean_dec(x_2369); -x_2356 = x_2370; -goto block_2367; -} -else -{ -lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2371 = lean_ctor_get(x_2369, 0); -lean_inc(x_2371); -x_2372 = lean_ctor_get(x_2369, 1); -lean_inc(x_2372); -if (lean_is_exclusive(x_2369)) { - lean_ctor_release(x_2369, 0); - lean_ctor_release(x_2369, 1); - x_2373 = x_2369; -} else { - lean_dec_ref(x_2369); - x_2373 = lean_box(0); -} -if (lean_is_scalar(x_2373)) { - x_2374 = lean_alloc_ctor(1, 2, 0); -} else { - x_2374 = x_2373; -} -lean_ctor_set(x_2374, 0, x_2371); -lean_ctor_set(x_2374, 1, x_2372); -return x_2374; -} -} -block_2367: -{ -lean_object* x_2357; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2357 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2356); -lean_dec(x_17); -if (lean_obj_tag(x_2357) == 0) -{ -lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; -x_2358 = lean_ctor_get(x_2357, 1); -lean_inc(x_2358); -lean_dec(x_2357); -lean_inc(x_2); -x_2359 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__13(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2358); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2360 = lean_ctor_get(x_2359, 1); -lean_inc(x_2360); -if (lean_is_exclusive(x_2359)) { - lean_ctor_release(x_2359, 0); - lean_ctor_release(x_2359, 1); - x_2361 = x_2359; -} else { - lean_dec_ref(x_2359); - x_2361 = lean_box(0); -} -if (lean_is_scalar(x_2361)) { - x_2362 = lean_alloc_ctor(0, 2, 0); -} else { - x_2362 = x_2361; -} -lean_ctor_set(x_2362, 0, x_2); -lean_ctor_set(x_2362, 1, x_2360); -return x_2362; +lean_object* x_2362; +x_2362 = lean_ctor_get(x_2361, 1); +lean_inc(x_2362); +lean_dec(x_2361); +x_2348 = x_2362; +goto block_2359; } else { lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_19); +lean_dec(x_17); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); @@ -16284,16 +16071,16 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2363 = lean_ctor_get(x_2357, 0); +x_2363 = lean_ctor_get(x_2361, 0); lean_inc(x_2363); -x_2364 = lean_ctor_get(x_2357, 1); +x_2364 = lean_ctor_get(x_2361, 1); lean_inc(x_2364); -if (lean_is_exclusive(x_2357)) { - lean_ctor_release(x_2357, 0); - lean_ctor_release(x_2357, 1); - x_2365 = x_2357; +if (lean_is_exclusive(x_2361)) { + lean_ctor_release(x_2361, 0); + lean_ctor_release(x_2361, 1); + x_2365 = x_2361; } else { - lean_dec_ref(x_2357); + lean_dec_ref(x_2361); x_2365 = lean_box(0); } if (lean_is_scalar(x_2365)) { @@ -16306,575 +16093,805 @@ lean_ctor_set(x_2366, 1, x_2364); return x_2366; } } +block_2359: +{ +lean_object* x_2349; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2349 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2348); +lean_dec(x_17); +if (lean_obj_tag(x_2349) == 0) +{ +lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; +x_2350 = lean_ctor_get(x_2349, 1); +lean_inc(x_2350); +lean_dec(x_2349); +lean_inc(x_2); +x_2351 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__12(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2350); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2352 = lean_ctor_get(x_2351, 1); +lean_inc(x_2352); +if (lean_is_exclusive(x_2351)) { + lean_ctor_release(x_2351, 0); + lean_ctor_release(x_2351, 1); + x_2353 = x_2351; +} else { + lean_dec_ref(x_2351); + x_2353 = lean_box(0); +} +if (lean_is_scalar(x_2353)) { + x_2354 = lean_alloc_ctor(0, 2, 0); +} else { + x_2354 = x_2353; +} +lean_ctor_set(x_2354, 0, x_2); +lean_ctor_set(x_2354, 1, x_2352); +return x_2354; +} +else +{ +lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2355 = lean_ctor_get(x_2349, 0); +lean_inc(x_2355); +x_2356 = lean_ctor_get(x_2349, 1); +lean_inc(x_2356); +if (lean_is_exclusive(x_2349)) { + lean_ctor_release(x_2349, 0); + lean_ctor_release(x_2349, 1); + x_2357 = x_2349; +} else { + lean_dec_ref(x_2349); + x_2357 = lean_box(0); +} +if (lean_is_scalar(x_2357)) { + x_2358 = lean_alloc_ctor(1, 2, 0); +} else { + x_2358 = x_2357; +} +lean_ctor_set(x_2358, 0, x_2355); +lean_ctor_set(x_2358, 1, x_2356); +return x_2358; } } } else { -lean_object* x_2375; -lean_dec(x_1984); -lean_dec(x_1878); +lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; +lean_inc(x_2); +x_2367 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2367, 0, x_2); +x_2368 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2346, x_2367, x_4, x_5, x_6, x_7, x_1897, x_9, x_2322); +x_2369 = lean_ctor_get(x_2368, 1); +lean_inc(x_2369); +lean_dec(x_2368); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_2370 = x_2369; +goto block_2381; +} +else +{ +lean_object* x_2382; lean_object* x_2383; +x_2382 = lean_ctor_get(x_13, 0); +lean_inc(x_2382); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +x_2383 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2382, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2369); +if (lean_obj_tag(x_2383) == 0) +{ +lean_object* x_2384; +x_2384 = lean_ctor_get(x_2383, 1); +lean_inc(x_2384); +lean_dec(x_2383); +x_2370 = x_2384; +goto block_2381; +} +else +{ +lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2385 = lean_ctor_get(x_2383, 0); +lean_inc(x_2385); +x_2386 = lean_ctor_get(x_2383, 1); +lean_inc(x_2386); +if (lean_is_exclusive(x_2383)) { + lean_ctor_release(x_2383, 0); + lean_ctor_release(x_2383, 1); + x_2387 = x_2383; +} else { + lean_dec_ref(x_2383); + x_2387 = lean_box(0); +} +if (lean_is_scalar(x_2387)) { + x_2388 = lean_alloc_ctor(1, 2, 0); +} else { + x_2388 = x_2387; +} +lean_ctor_set(x_2388, 0, x_2385); +lean_ctor_set(x_2388, 1, x_2386); +return x_2388; +} +} +block_2381: +{ +lean_object* x_2371; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2371 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2370); +lean_dec(x_17); +if (lean_obj_tag(x_2371) == 0) +{ +lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; +x_2372 = lean_ctor_get(x_2371, 1); +lean_inc(x_2372); +lean_dec(x_2371); +lean_inc(x_2); +x_2373 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__13(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2372); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2374 = lean_ctor_get(x_2373, 1); +lean_inc(x_2374); +if (lean_is_exclusive(x_2373)) { + lean_ctor_release(x_2373, 0); + lean_ctor_release(x_2373, 1); + x_2375 = x_2373; +} else { + lean_dec_ref(x_2373); + x_2375 = lean_box(0); +} +if (lean_is_scalar(x_2375)) { + x_2376 = lean_alloc_ctor(0, 2, 0); +} else { + x_2376 = x_2375; +} +lean_ctor_set(x_2376, 0, x_2); +lean_ctor_set(x_2376, 1, x_2374); +return x_2376; +} +else +{ +lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2377 = lean_ctor_get(x_2371, 0); +lean_inc(x_2377); +x_2378 = lean_ctor_get(x_2371, 1); +lean_inc(x_2378); +if (lean_is_exclusive(x_2371)) { + lean_ctor_release(x_2371, 0); + lean_ctor_release(x_2371, 1); + x_2379 = x_2371; +} else { + lean_dec_ref(x_2371); + x_2379 = lean_box(0); +} +if (lean_is_scalar(x_2379)) { + x_2380 = lean_alloc_ctor(1, 2, 0); +} else { + x_2380 = x_2379; +} +lean_ctor_set(x_2380, 0, x_2377); +lean_ctor_set(x_2380, 1, x_2378); +return x_2380; +} +} +} +} +} +else +{ +lean_object* x_2389; +lean_dec(x_1996); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_16); lean_dec(x_13); lean_dec(x_3); -x_2375 = lean_ctor_get(x_2314, 0); -lean_inc(x_2375); -lean_dec(x_2314); -if (lean_obj_tag(x_2375) == 4) +x_2389 = lean_ctor_get(x_2328, 0); +lean_inc(x_2389); +lean_dec(x_2328); +if (lean_obj_tag(x_2389) == 4) { -lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; -x_2376 = lean_ctor_get(x_2375, 0); -lean_inc(x_2376); -lean_dec(x_2375); -x_2377 = lean_st_ref_get(x_9, x_2308); -x_2378 = lean_ctor_get(x_2377, 0); -lean_inc(x_2378); -x_2379 = lean_ctor_get(x_2377, 1); -lean_inc(x_2379); -lean_dec(x_2377); -x_2380 = lean_ctor_get(x_2378, 0); -lean_inc(x_2380); -lean_dec(x_2378); -x_2381 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_2380, x_2376); -if (lean_obj_tag(x_2381) == 0) -{ -lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; -lean_dec(x_2310); -lean_dec(x_1986); -lean_dec(x_1985); -lean_dec(x_11); -lean_dec(x_2); -x_2382 = lean_ctor_get(x_2381, 0); -lean_inc(x_2382); -lean_dec(x_2381); -x_2383 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2383, 0, x_2382); -x_2384 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2384, 0, x_2383); -x_2385 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2384, x_4, x_5, x_6, x_7, x_1885, x_9, x_2379); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -return x_2385; -} -else -{ -lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; -x_2386 = lean_ctor_get(x_2381, 0); -lean_inc(x_2386); -lean_dec(x_2381); -x_2387 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_1885, x_9, x_2379); -x_2388 = lean_ctor_get(x_2387, 1); -lean_inc(x_2388); -lean_dec(x_2387); -x_2389 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2388); -x_2390 = lean_ctor_get(x_2389, 1); +lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; +x_2390 = lean_ctor_get(x_2389, 0); lean_inc(x_2390); lean_dec(x_2389); -x_2391 = l_Lean_Syntax_getArgs(x_2386); -lean_dec(x_2386); -x_2392 = l_Array_empty___closed__1; -x_2393 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2391, x_2391, x_1988, x_2392); +x_2391 = lean_st_ref_get(x_9, x_2322); +x_2392 = lean_ctor_get(x_2391, 0); +lean_inc(x_2392); +x_2393 = lean_ctor_get(x_2391, 1); +lean_inc(x_2393); lean_dec(x_2391); -x_2394 = l_Lean_nullKind___closed__2; -x_2395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2395, 0, x_2394); -lean_ctor_set(x_2395, 1, x_2393); -x_2396 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_2397 = lean_array_push(x_2396, x_2395); -x_2398 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; -x_2399 = lean_array_push(x_2397, x_2398); -x_2400 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -x_2401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2401, 0, x_2400); -lean_ctor_set(x_2401, 1, x_2399); -x_2402 = lean_array_push(x_2392, x_2401); -x_2403 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -x_2404 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2404, 0, x_2403); -lean_ctor_set(x_2404, 1, x_2402); -x_2405 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; -x_2406 = lean_array_push(x_2405, x_2404); -x_2407 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -x_2408 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2408, 0, x_2407); -lean_ctor_set(x_2408, 1, x_2406); -x_2409 = l_Lean_Syntax_copyInfo(x_2408, x_11); +x_2394 = lean_ctor_get(x_2392, 0); +lean_inc(x_2394); +lean_dec(x_2392); +x_2395 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_2394, x_2390); +if (lean_obj_tag(x_2395) == 0) +{ +lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; +lean_dec(x_2324); +lean_dec(x_1998); +lean_dec(x_1997); lean_dec(x_11); -x_2410 = l_Lean_Expr_getAppNumArgsAux___main(x_1985, x_1988); -x_2411 = lean_nat_sub(x_2410, x_1988); -lean_dec(x_2410); -x_2412 = lean_unsigned_to_nat(1u); -x_2413 = lean_nat_sub(x_2411, x_2412); -lean_dec(x_2411); -x_2414 = l_Lean_Expr_getRevArg_x21___main(x_1985, x_2413); -lean_dec(x_1985); -x_2415 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2415, 0, x_2409); +lean_dec(x_2); +x_2396 = lean_ctor_get(x_2395, 0); +lean_inc(x_2396); +lean_dec(x_2395); +x_2397 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2397, 0, x_2396); +x_2398 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2398, 0, x_2397); +x_2399 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2398, x_4, x_5, x_6, x_7, x_1897, x_9, x_2393); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +return x_2399; +} +else +{ +lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; +x_2400 = lean_ctor_get(x_2395, 0); +lean_inc(x_2400); +lean_dec(x_2395); +x_2401 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_1897, x_9, x_2393); +x_2402 = lean_ctor_get(x_2401, 1); +lean_inc(x_2402); +lean_dec(x_2401); +x_2403 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2402); +x_2404 = lean_ctor_get(x_2403, 1); +lean_inc(x_2404); +lean_dec(x_2403); +x_2405 = l_Lean_Syntax_getArgs(x_2400); +lean_dec(x_2400); +x_2406 = l_Array_empty___closed__1; +x_2407 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2405, x_2405, x_2000, x_2406); +lean_dec(x_2405); +x_2408 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_2409 = lean_array_push(x_2407, x_2408); +x_2410 = l_Lean_nullKind___closed__2; +x_2411 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2411, 0, x_2410); +lean_ctor_set(x_2411, 1, x_2409); +x_2412 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_2413 = lean_array_push(x_2412, x_2411); +x_2414 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; +x_2415 = lean_array_push(x_2413, x_2414); +x_2416 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_2417 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2417, 0, x_2416); +lean_ctor_set(x_2417, 1, x_2415); +x_2418 = lean_array_push(x_2406, x_2417); +x_2419 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +x_2420 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2420, 0, x_2419); +lean_ctor_set(x_2420, 1, x_2418); +x_2421 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; +x_2422 = lean_array_push(x_2421, x_2420); +x_2423 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_2424 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2424, 0, x_2423); +lean_ctor_set(x_2424, 1, x_2422); +x_2425 = l_Lean_Syntax_copyInfo(x_2424, x_11); +lean_dec(x_11); +x_2426 = l_Lean_Expr_getAppNumArgsAux___main(x_1997, x_2000); +x_2427 = lean_nat_sub(x_2426, x_2000); +lean_dec(x_2426); +x_2428 = lean_unsigned_to_nat(1u); +x_2429 = lean_nat_sub(x_2427, x_2428); +lean_dec(x_2427); +x_2430 = l_Lean_Expr_getRevArg_x21___main(x_1997, x_2429); +lean_dec(x_1997); +x_2431 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2431, 0, x_2425); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_2416 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2415, x_2414, x_4, x_5, x_6, x_7, x_1885, x_9, x_2390); -if (lean_obj_tag(x_2416) == 0) +x_2432 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2431, x_2430, x_4, x_5, x_6, x_7, x_1897, x_9, x_2404); +if (lean_obj_tag(x_2432) == 0) { -lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; lean_object* x_2420; -x_2417 = lean_ctor_get(x_2416, 0); -lean_inc(x_2417); -x_2418 = lean_ctor_get(x_2416, 1); -lean_inc(x_2418); -lean_dec(x_2416); -lean_inc(x_2417); -x_2419 = l_Lean_mkApp(x_2, x_2417); -x_2420 = lean_expr_instantiate1(x_1986, x_2417); -lean_dec(x_2417); -lean_dec(x_1986); -x_1 = x_2310; -x_2 = x_2419; -x_3 = x_2420; -x_8 = x_1885; -x_10 = x_2418; +lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; +x_2433 = lean_ctor_get(x_2432, 0); +lean_inc(x_2433); +x_2434 = lean_ctor_get(x_2432, 1); +lean_inc(x_2434); +lean_dec(x_2432); +lean_inc(x_2433); +x_2435 = l_Lean_mkApp(x_2, x_2433); +x_2436 = lean_expr_instantiate1(x_1998, x_2433); +lean_dec(x_2433); +lean_dec(x_1998); +x_1 = x_2324; +x_2 = x_2435; +x_3 = x_2436; +x_8 = x_1897; +x_10 = x_2434; goto _start; } else { -lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; -lean_dec(x_2310); -lean_dec(x_1986); -lean_dec(x_1885); +lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; +lean_dec(x_2324); +lean_dec(x_1998); +lean_dec(x_1897); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2422 = lean_ctor_get(x_2416, 0); -lean_inc(x_2422); -x_2423 = lean_ctor_get(x_2416, 1); -lean_inc(x_2423); -if (lean_is_exclusive(x_2416)) { - lean_ctor_release(x_2416, 0); - lean_ctor_release(x_2416, 1); - x_2424 = x_2416; +x_2438 = lean_ctor_get(x_2432, 0); +lean_inc(x_2438); +x_2439 = lean_ctor_get(x_2432, 1); +lean_inc(x_2439); +if (lean_is_exclusive(x_2432)) { + lean_ctor_release(x_2432, 0); + lean_ctor_release(x_2432, 1); + x_2440 = x_2432; } else { - lean_dec_ref(x_2416); - x_2424 = lean_box(0); + lean_dec_ref(x_2432); + x_2440 = lean_box(0); } -if (lean_is_scalar(x_2424)) { - x_2425 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2440)) { + x_2441 = lean_alloc_ctor(1, 2, 0); } else { - x_2425 = x_2424; + x_2441 = x_2440; } -lean_ctor_set(x_2425, 0, x_2422); -lean_ctor_set(x_2425, 1, x_2423); -return x_2425; +lean_ctor_set(x_2441, 0, x_2438); +lean_ctor_set(x_2441, 1, x_2439); +return x_2441; } } } else { -lean_object* x_2426; lean_object* x_2427; -lean_dec(x_2375); -lean_dec(x_2310); -lean_dec(x_1986); -lean_dec(x_1985); +lean_object* x_2442; lean_object* x_2443; +lean_dec(x_2389); +lean_dec(x_2324); +lean_dec(x_1998); +lean_dec(x_1997); lean_dec(x_11); lean_dec(x_2); -x_2426 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; -x_2427 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2426, x_4, x_5, x_6, x_7, x_1885, x_9, x_2308); +x_2442 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; +x_2443 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2442, x_4, x_5, x_6, x_7, x_1897, x_9, x_2322); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2427; +return x_2443; } } } else { -lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; -lean_dec(x_1985); -lean_dec(x_1984); -lean_dec(x_1878); +lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; +lean_dec(x_1997); +lean_dec(x_1996); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_16); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); -x_2428 = lean_ctor_get(x_2313, 0); -lean_inc(x_2428); -lean_dec(x_2313); -lean_inc(x_2428); -x_2429 = l_Lean_mkApp(x_2, x_2428); -x_2430 = lean_expr_instantiate1(x_1986, x_2428); -lean_dec(x_2428); -lean_dec(x_1986); -x_1 = x_2310; -x_2 = x_2429; -x_3 = x_2430; -x_8 = x_1885; -x_10 = x_2308; +x_2444 = lean_ctor_get(x_2327, 0); +lean_inc(x_2444); +lean_dec(x_2327); +lean_inc(x_2444); +x_2445 = l_Lean_mkApp(x_2, x_2444); +x_2446 = lean_expr_instantiate1(x_1998, x_2444); +lean_dec(x_2444); +lean_dec(x_1998); +x_1 = x_2324; +x_2 = x_2445; +x_3 = x_2446; +x_8 = x_1897; +x_10 = x_2322; goto _start; } } else { -uint8_t x_2432; -lean_dec(x_2310); -lean_dec(x_1986); -lean_dec(x_1985); -x_2432 = l_Array_isEmpty___rarg(x_16); -if (x_2432 == 0) +uint8_t x_2448; +lean_dec(x_2324); +lean_dec(x_1998); +lean_dec(x_1997); +x_2448 = l_Array_isEmpty___rarg(x_16); +if (x_2448 == 0) { -lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; -lean_dec(x_1878); +lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_2433 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_2433, 0, x_1984); -x_2434 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_2435 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2435, 0, x_2434); -lean_ctor_set(x_2435, 1, x_2433); -x_2436 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_2437 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2437, 0, x_2435); -lean_ctor_set(x_2437, 1, x_2436); -x_2438 = x_16; -x_2439 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_1988, x_2438); -x_2440 = x_2439; -x_2441 = l_Array_toList___rarg(x_2440); -lean_dec(x_2440); -x_2442 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2441); -x_2443 = l_Array_HasRepr___rarg___closed__1; -x_2444 = lean_string_append(x_2443, x_2442); -lean_dec(x_2442); -x_2445 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2445, 0, x_2444); -x_2446 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2446, 0, x_2445); -x_2447 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2447, 0, x_2437); -lean_ctor_set(x_2447, 1, x_2446); -x_2448 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2447, x_4, x_5, x_6, x_7, x_1885, x_9, x_2308); +x_2449 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_2449, 0, x_1996); +x_2450 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_2451 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2451, 0, x_2450); +lean_ctor_set(x_2451, 1, x_2449); +x_2452 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_2453 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2453, 0, x_2451); +lean_ctor_set(x_2453, 1, x_2452); +x_2454 = x_16; +x_2455 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_2000, x_2454); +x_2456 = x_2455; +x_2457 = l_Array_toList___rarg(x_2456); +lean_dec(x_2456); +x_2458 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2457); +x_2459 = l_Array_HasRepr___rarg___closed__1; +x_2460 = lean_string_append(x_2459, x_2458); +lean_dec(x_2458); +x_2461 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2461, 0, x_2460); +x_2462 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2462, 0, x_2461); +x_2463 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2463, 0, x_2453); +lean_ctor_set(x_2463, 1, x_2462); +x_2464 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2463, x_4, x_5, x_6, x_7, x_1897, x_9, x_2322); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2448; +return x_2464; } else { -lean_object* x_2449; uint8_t x_2450; -lean_dec(x_1984); +lean_object* x_2465; uint8_t x_2466; +lean_dec(x_1996); lean_dec(x_16); -x_2449 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_2450 = l_Lean_checkTraceOption(x_1878, x_2449); -lean_dec(x_1878); -if (x_2450 == 0) +x_2465 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_2466 = l_Lean_checkTraceOption(x_1890, x_2465); +lean_dec(x_1890); +if (x_2466 == 0) { -lean_object* x_2451; +lean_object* x_2467; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_2451 = x_2308; -goto block_2462; +x_2467 = x_2322; +goto block_2478; } else { -lean_object* x_2463; lean_object* x_2464; -x_2463 = lean_ctor_get(x_13, 0); -lean_inc(x_2463); +lean_object* x_2479; lean_object* x_2480; +x_2479 = lean_ctor_get(x_13, 0); +lean_inc(x_2479); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_2464 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2463, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2308); -if (lean_obj_tag(x_2464) == 0) +x_2480 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2479, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2322); +if (lean_obj_tag(x_2480) == 0) { -lean_object* x_2465; -x_2465 = lean_ctor_get(x_2464, 1); -lean_inc(x_2465); -lean_dec(x_2464); -x_2451 = x_2465; -goto block_2462; -} -else -{ -lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2466 = lean_ctor_get(x_2464, 0); -lean_inc(x_2466); -x_2467 = lean_ctor_get(x_2464, 1); -lean_inc(x_2467); -if (lean_is_exclusive(x_2464)) { - lean_ctor_release(x_2464, 0); - lean_ctor_release(x_2464, 1); - x_2468 = x_2464; -} else { - lean_dec_ref(x_2464); - x_2468 = lean_box(0); -} -if (lean_is_scalar(x_2468)) { - x_2469 = lean_alloc_ctor(1, 2, 0); -} else { - x_2469 = x_2468; -} -lean_ctor_set(x_2469, 0, x_2466); -lean_ctor_set(x_2469, 1, x_2467); -return x_2469; -} -} -block_2462: -{ -lean_object* x_2452; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2452 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2451); -lean_dec(x_17); -if (lean_obj_tag(x_2452) == 0) -{ -lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; -x_2453 = lean_ctor_get(x_2452, 1); -lean_inc(x_2453); -lean_dec(x_2452); -lean_inc(x_2); -x_2454 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__14(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2453); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2455 = lean_ctor_get(x_2454, 1); -lean_inc(x_2455); -if (lean_is_exclusive(x_2454)) { - lean_ctor_release(x_2454, 0); - lean_ctor_release(x_2454, 1); - x_2456 = x_2454; -} else { - lean_dec_ref(x_2454); - x_2456 = lean_box(0); -} -if (lean_is_scalar(x_2456)) { - x_2457 = lean_alloc_ctor(0, 2, 0); -} else { - x_2457 = x_2456; -} -lean_ctor_set(x_2457, 0, x_2); -lean_ctor_set(x_2457, 1, x_2455); -return x_2457; -} -else -{ -lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2458 = lean_ctor_get(x_2452, 0); -lean_inc(x_2458); -x_2459 = lean_ctor_get(x_2452, 1); -lean_inc(x_2459); -if (lean_is_exclusive(x_2452)) { - lean_ctor_release(x_2452, 0); - lean_ctor_release(x_2452, 1); - x_2460 = x_2452; -} else { - lean_dec_ref(x_2452); - x_2460 = lean_box(0); -} -if (lean_is_scalar(x_2460)) { - x_2461 = lean_alloc_ctor(1, 2, 0); -} else { - x_2461 = x_2460; -} -lean_ctor_set(x_2461, 0, x_2458); -lean_ctor_set(x_2461, 1, x_2459); -return x_2461; -} -} -} -else -{ -lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; -lean_inc(x_2); -x_2470 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2470, 0, x_2); -x_2471 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2449, x_2470, x_4, x_5, x_6, x_7, x_1885, x_9, x_2308); -x_2472 = lean_ctor_get(x_2471, 1); -lean_inc(x_2472); -lean_dec(x_2471); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_2473 = x_2472; -goto block_2484; -} -else -{ -lean_object* x_2485; lean_object* x_2486; -x_2485 = lean_ctor_get(x_13, 0); -lean_inc(x_2485); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -x_2486 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2485, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2472); -if (lean_obj_tag(x_2486) == 0) -{ -lean_object* x_2487; -x_2487 = lean_ctor_get(x_2486, 1); -lean_inc(x_2487); -lean_dec(x_2486); -x_2473 = x_2487; -goto block_2484; -} -else -{ -lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2488 = lean_ctor_get(x_2486, 0); -lean_inc(x_2488); -x_2489 = lean_ctor_get(x_2486, 1); -lean_inc(x_2489); -if (lean_is_exclusive(x_2486)) { - lean_ctor_release(x_2486, 0); - lean_ctor_release(x_2486, 1); - x_2490 = x_2486; -} else { - lean_dec_ref(x_2486); - x_2490 = lean_box(0); -} -if (lean_is_scalar(x_2490)) { - x_2491 = lean_alloc_ctor(1, 2, 0); -} else { - x_2491 = x_2490; -} -lean_ctor_set(x_2491, 0, x_2488); -lean_ctor_set(x_2491, 1, x_2489); -return x_2491; -} -} -block_2484: -{ -lean_object* x_2474; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2474 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2473); -lean_dec(x_17); -if (lean_obj_tag(x_2474) == 0) -{ -lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; -x_2475 = lean_ctor_get(x_2474, 1); -lean_inc(x_2475); -lean_dec(x_2474); -lean_inc(x_2); -x_2476 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__15(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2475); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2477 = lean_ctor_get(x_2476, 1); -lean_inc(x_2477); -if (lean_is_exclusive(x_2476)) { - lean_ctor_release(x_2476, 0); - lean_ctor_release(x_2476, 1); - x_2478 = x_2476; -} else { - lean_dec_ref(x_2476); - x_2478 = lean_box(0); -} -if (lean_is_scalar(x_2478)) { - x_2479 = lean_alloc_ctor(0, 2, 0); -} else { - x_2479 = x_2478; -} -lean_ctor_set(x_2479, 0, x_2); -lean_ctor_set(x_2479, 1, x_2477); -return x_2479; -} -else -{ -lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2480 = lean_ctor_get(x_2474, 0); -lean_inc(x_2480); -x_2481 = lean_ctor_get(x_2474, 1); +lean_object* x_2481; +x_2481 = lean_ctor_get(x_2480, 1); lean_inc(x_2481); -if (lean_is_exclusive(x_2474)) { - lean_ctor_release(x_2474, 0); - lean_ctor_release(x_2474, 1); - x_2482 = x_2474; -} else { - lean_dec_ref(x_2474); - x_2482 = lean_box(0); +lean_dec(x_2480); +x_2467 = x_2481; +goto block_2478; } -if (lean_is_scalar(x_2482)) { - x_2483 = lean_alloc_ctor(1, 2, 0); +else +{ +lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2482 = lean_ctor_get(x_2480, 0); +lean_inc(x_2482); +x_2483 = lean_ctor_get(x_2480, 1); +lean_inc(x_2483); +if (lean_is_exclusive(x_2480)) { + lean_ctor_release(x_2480, 0); + lean_ctor_release(x_2480, 1); + x_2484 = x_2480; } else { - x_2483 = x_2482; + lean_dec_ref(x_2480); + x_2484 = lean_box(0); } -lean_ctor_set(x_2483, 0, x_2480); -lean_ctor_set(x_2483, 1, x_2481); -return x_2483; +if (lean_is_scalar(x_2484)) { + x_2485 = lean_alloc_ctor(1, 2, 0); +} else { + x_2485 = x_2484; +} +lean_ctor_set(x_2485, 0, x_2482); +lean_ctor_set(x_2485, 1, x_2483); +return x_2485; +} +} +block_2478: +{ +lean_object* x_2468; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2468 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2467); +lean_dec(x_17); +if (lean_obj_tag(x_2468) == 0) +{ +lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; +x_2469 = lean_ctor_get(x_2468, 1); +lean_inc(x_2469); +lean_dec(x_2468); +lean_inc(x_2); +x_2470 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__14(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2469); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2471 = lean_ctor_get(x_2470, 1); +lean_inc(x_2471); +if (lean_is_exclusive(x_2470)) { + lean_ctor_release(x_2470, 0); + lean_ctor_release(x_2470, 1); + x_2472 = x_2470; +} else { + lean_dec_ref(x_2470); + x_2472 = lean_box(0); +} +if (lean_is_scalar(x_2472)) { + x_2473 = lean_alloc_ctor(0, 2, 0); +} else { + x_2473 = x_2472; +} +lean_ctor_set(x_2473, 0, x_2); +lean_ctor_set(x_2473, 1, x_2471); +return x_2473; +} +else +{ +lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2474 = lean_ctor_get(x_2468, 0); +lean_inc(x_2474); +x_2475 = lean_ctor_get(x_2468, 1); +lean_inc(x_2475); +if (lean_is_exclusive(x_2468)) { + lean_ctor_release(x_2468, 0); + lean_ctor_release(x_2468, 1); + x_2476 = x_2468; +} else { + lean_dec_ref(x_2468); + x_2476 = lean_box(0); +} +if (lean_is_scalar(x_2476)) { + x_2477 = lean_alloc_ctor(1, 2, 0); +} else { + x_2477 = x_2476; +} +lean_ctor_set(x_2477, 0, x_2474); +lean_ctor_set(x_2477, 1, x_2475); +return x_2477; +} +} +} +else +{ +lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; +lean_inc(x_2); +x_2486 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2486, 0, x_2); +x_2487 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2465, x_2486, x_4, x_5, x_6, x_7, x_1897, x_9, x_2322); +x_2488 = lean_ctor_get(x_2487, 1); +lean_inc(x_2488); +lean_dec(x_2487); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_2489 = x_2488; +goto block_2500; +} +else +{ +lean_object* x_2501; lean_object* x_2502; +x_2501 = lean_ctor_get(x_13, 0); +lean_inc(x_2501); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +x_2502 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2501, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2488); +if (lean_obj_tag(x_2502) == 0) +{ +lean_object* x_2503; +x_2503 = lean_ctor_get(x_2502, 1); +lean_inc(x_2503); +lean_dec(x_2502); +x_2489 = x_2503; +goto block_2500; +} +else +{ +lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2504 = lean_ctor_get(x_2502, 0); +lean_inc(x_2504); +x_2505 = lean_ctor_get(x_2502, 1); +lean_inc(x_2505); +if (lean_is_exclusive(x_2502)) { + lean_ctor_release(x_2502, 0); + lean_ctor_release(x_2502, 1); + x_2506 = x_2502; +} else { + lean_dec_ref(x_2502); + x_2506 = lean_box(0); +} +if (lean_is_scalar(x_2506)) { + x_2507 = lean_alloc_ctor(1, 2, 0); +} else { + x_2507 = x_2506; +} +lean_ctor_set(x_2507, 0, x_2504); +lean_ctor_set(x_2507, 1, x_2505); +return x_2507; +} +} +block_2500: +{ +lean_object* x_2490; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2490 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2489); +lean_dec(x_17); +if (lean_obj_tag(x_2490) == 0) +{ +lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; +x_2491 = lean_ctor_get(x_2490, 1); +lean_inc(x_2491); +lean_dec(x_2490); +lean_inc(x_2); +x_2492 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__15(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2491); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2493 = lean_ctor_get(x_2492, 1); +lean_inc(x_2493); +if (lean_is_exclusive(x_2492)) { + lean_ctor_release(x_2492, 0); + lean_ctor_release(x_2492, 1); + x_2494 = x_2492; +} else { + lean_dec_ref(x_2492); + x_2494 = lean_box(0); +} +if (lean_is_scalar(x_2494)) { + x_2495 = lean_alloc_ctor(0, 2, 0); +} else { + x_2495 = x_2494; +} +lean_ctor_set(x_2495, 0, x_2); +lean_ctor_set(x_2495, 1, x_2493); +return x_2495; +} +else +{ +lean_object* x_2496; lean_object* x_2497; lean_object* x_2498; lean_object* x_2499; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2496 = lean_ctor_get(x_2490, 0); +lean_inc(x_2496); +x_2497 = lean_ctor_get(x_2490, 1); +lean_inc(x_2497); +if (lean_is_exclusive(x_2490)) { + lean_ctor_release(x_2490, 0); + lean_ctor_release(x_2490, 1); + x_2498 = x_2490; +} else { + lean_dec_ref(x_2490); + x_2498 = lean_box(0); +} +if (lean_is_scalar(x_2498)) { + x_2499 = lean_alloc_ctor(1, 2, 0); +} else { + x_2499 = x_2498; +} +lean_ctor_set(x_2499, 0, x_2496); +lean_ctor_set(x_2499, 1, x_2497); +return x_2499; } } } @@ -16883,59 +16900,59 @@ return x_2483; } else { -lean_object* x_2492; lean_object* x_2493; -lean_dec(x_2310); -lean_dec(x_1984); -lean_dec(x_1878); +lean_object* x_2508; lean_object* x_2509; +lean_dec(x_2324); +lean_dec(x_1996); +lean_dec(x_1890); lean_dec(x_3); -x_2492 = lean_array_fget(x_12, x_15); +x_2508 = lean_array_fget(x_12, x_15); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_2493 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2492, x_1985, x_4, x_5, x_6, x_7, x_1885, x_9, x_2308); -if (lean_obj_tag(x_2493) == 0) +x_2509 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2508, x_1997, x_4, x_5, x_6, x_7, x_1897, x_9, x_2322); +if (lean_obj_tag(x_2509) == 0) { -lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; lean_object* x_2497; lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; -x_2494 = lean_ctor_get(x_2493, 0); -lean_inc(x_2494); -x_2495 = lean_ctor_get(x_2493, 1); -lean_inc(x_2495); -lean_dec(x_2493); -x_2496 = lean_unsigned_to_nat(1u); -x_2497 = lean_nat_add(x_15, x_2496); +lean_object* x_2510; lean_object* x_2511; lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; +x_2510 = lean_ctor_get(x_2509, 0); +lean_inc(x_2510); +x_2511 = lean_ctor_get(x_2509, 1); +lean_inc(x_2511); +lean_dec(x_2509); +x_2512 = lean_unsigned_to_nat(1u); +x_2513 = lean_nat_add(x_15, x_2512); lean_dec(x_15); -x_2498 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_2498, 0, x_11); -lean_ctor_set(x_2498, 1, x_12); -lean_ctor_set(x_2498, 2, x_13); -lean_ctor_set(x_2498, 3, x_2497); -lean_ctor_set(x_2498, 4, x_16); -lean_ctor_set(x_2498, 5, x_17); -lean_ctor_set(x_2498, 6, x_18); -lean_ctor_set(x_2498, 7, x_19); -lean_ctor_set_uint8(x_2498, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2498, sizeof(void*)*8 + 1, x_2309); -lean_inc(x_2494); -x_2499 = l_Lean_mkApp(x_2, x_2494); -x_2500 = lean_expr_instantiate1(x_1986, x_2494); -lean_dec(x_2494); -lean_dec(x_1986); -x_1 = x_2498; -x_2 = x_2499; -x_3 = x_2500; -x_8 = x_1885; -x_10 = x_2495; +x_2514 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_2514, 0, x_11); +lean_ctor_set(x_2514, 1, x_12); +lean_ctor_set(x_2514, 2, x_13); +lean_ctor_set(x_2514, 3, x_2513); +lean_ctor_set(x_2514, 4, x_16); +lean_ctor_set(x_2514, 5, x_17); +lean_ctor_set(x_2514, 6, x_18); +lean_ctor_set(x_2514, 7, x_19); +lean_ctor_set_uint8(x_2514, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2514, sizeof(void*)*8 + 1, x_2323); +lean_inc(x_2510); +x_2515 = l_Lean_mkApp(x_2, x_2510); +x_2516 = lean_expr_instantiate1(x_1998, x_2510); +lean_dec(x_2510); +lean_dec(x_1998); +x_1 = x_2514; +x_2 = x_2515; +x_3 = x_2516; +x_8 = x_1897; +x_10 = x_2511; goto _start; } else { -lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; -lean_dec(x_1986); -lean_dec(x_1885); +lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; +lean_dec(x_1998); +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -16950,38 +16967,38 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2502 = lean_ctor_get(x_2493, 0); -lean_inc(x_2502); -x_2503 = lean_ctor_get(x_2493, 1); -lean_inc(x_2503); -if (lean_is_exclusive(x_2493)) { - lean_ctor_release(x_2493, 0); - lean_ctor_release(x_2493, 1); - x_2504 = x_2493; +x_2518 = lean_ctor_get(x_2509, 0); +lean_inc(x_2518); +x_2519 = lean_ctor_get(x_2509, 1); +lean_inc(x_2519); +if (lean_is_exclusive(x_2509)) { + lean_ctor_release(x_2509, 0); + lean_ctor_release(x_2509, 1); + x_2520 = x_2509; } else { - lean_dec_ref(x_2493); - x_2504 = lean_box(0); + lean_dec_ref(x_2509); + x_2520 = lean_box(0); } -if (lean_is_scalar(x_2504)) { - x_2505 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2520)) { + x_2521 = lean_alloc_ctor(1, 2, 0); } else { - x_2505 = x_2504; + x_2521 = x_2520; } -lean_ctor_set(x_2505, 0, x_2502); -lean_ctor_set(x_2505, 1, x_2503); -return x_2505; +lean_ctor_set(x_2521, 0, x_2518); +lean_ctor_set(x_2521, 1, x_2519); +return x_2521; } } } else { -lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; -lean_dec(x_2307); -lean_dec(x_1986); -lean_dec(x_1985); -lean_dec(x_1984); -lean_dec(x_1885); -lean_dec(x_1878); +lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; +lean_dec(x_2321); +lean_dec(x_1998); +lean_dec(x_1997); +lean_dec(x_1996); +lean_dec(x_1897); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -16997,36 +17014,36 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2506 = lean_ctor_get(x_2306, 0); -lean_inc(x_2506); -x_2507 = lean_ctor_get(x_2306, 1); -lean_inc(x_2507); -if (lean_is_exclusive(x_2306)) { - lean_ctor_release(x_2306, 0); - lean_ctor_release(x_2306, 1); - x_2508 = x_2306; +x_2522 = lean_ctor_get(x_2320, 0); +lean_inc(x_2522); +x_2523 = lean_ctor_get(x_2320, 1); +lean_inc(x_2523); +if (lean_is_exclusive(x_2320)) { + lean_ctor_release(x_2320, 0); + lean_ctor_release(x_2320, 1); + x_2524 = x_2320; } else { - lean_dec_ref(x_2306); - x_2508 = lean_box(0); + lean_dec_ref(x_2320); + x_2524 = lean_box(0); } -if (lean_is_scalar(x_2508)) { - x_2509 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2524)) { + x_2525 = lean_alloc_ctor(1, 2, 0); } else { - x_2509 = x_2508; + x_2525 = x_2524; } -lean_ctor_set(x_2509, 0, x_2506); -lean_ctor_set(x_2509, 1, x_2507); -return x_2509; +lean_ctor_set(x_2525, 0, x_2522); +lean_ctor_set(x_2525, 1, x_2523); +return x_2525; } } case 3: { if (x_14 == 0) { -lean_object* x_2510; lean_object* x_2511; uint8_t x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; -lean_dec(x_1984); -lean_dec(x_1887); -lean_dec(x_1878); +lean_object* x_2526; lean_object* x_2527; uint8_t x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; +lean_dec(x_1996); +lean_dec(x_1899); +lean_dec(x_1890); lean_dec(x_3); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); @@ -17037,64 +17054,64 @@ if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 5); lean_ctor_release(x_1, 6); lean_ctor_release(x_1, 7); - x_2510 = x_1; + x_2526 = x_1; } else { lean_dec_ref(x_1); - x_2510 = lean_box(0); + x_2526 = lean_box(0); } -x_2511 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2511, 0, x_1985); -x_2512 = 1; -x_2513 = lean_box(0); +x_2527 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2527, 0, x_1997); +x_2528 = 1; +x_2529 = lean_box(0); lean_inc(x_6); -x_2514 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_2511, x_2512, x_2513, x_6, x_7, x_1885, x_9, x_1888); -x_2515 = lean_ctor_get(x_2514, 0); -lean_inc(x_2515); -x_2516 = lean_ctor_get(x_2514, 1); -lean_inc(x_2516); -lean_dec(x_2514); -x_2517 = l_Lean_Expr_mvarId_x21(x_2515); -x_2518 = lean_array_push(x_17, x_2517); -if (lean_is_scalar(x_2510)) { - x_2519 = lean_alloc_ctor(0, 8, 2); +x_2530 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_2527, x_2528, x_2529, x_6, x_7, x_1897, x_9, x_1900); +x_2531 = lean_ctor_get(x_2530, 0); +lean_inc(x_2531); +x_2532 = lean_ctor_get(x_2530, 1); +lean_inc(x_2532); +lean_dec(x_2530); +x_2533 = l_Lean_Expr_mvarId_x21(x_2531); +x_2534 = lean_array_push(x_17, x_2533); +if (lean_is_scalar(x_2526)) { + x_2535 = lean_alloc_ctor(0, 8, 2); } else { - x_2519 = x_2510; + x_2535 = x_2526; } -lean_ctor_set(x_2519, 0, x_11); -lean_ctor_set(x_2519, 1, x_12); -lean_ctor_set(x_2519, 2, x_13); -lean_ctor_set(x_2519, 3, x_15); -lean_ctor_set(x_2519, 4, x_16); -lean_ctor_set(x_2519, 5, x_2518); -lean_ctor_set(x_2519, 6, x_18); -lean_ctor_set(x_2519, 7, x_19); -lean_ctor_set_uint8(x_2519, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2519, sizeof(void*)*8 + 1, x_1877); -lean_inc(x_2515); -x_2520 = l_Lean_mkApp(x_2, x_2515); -x_2521 = lean_expr_instantiate1(x_1986, x_2515); -lean_dec(x_2515); -lean_dec(x_1986); -x_1 = x_2519; -x_2 = x_2520; -x_3 = x_2521; -x_8 = x_1885; -x_10 = x_2516; +lean_ctor_set(x_2535, 0, x_11); +lean_ctor_set(x_2535, 1, x_12); +lean_ctor_set(x_2535, 2, x_13); +lean_ctor_set(x_2535, 3, x_15); +lean_ctor_set(x_2535, 4, x_16); +lean_ctor_set(x_2535, 5, x_2534); +lean_ctor_set(x_2535, 6, x_18); +lean_ctor_set(x_2535, 7, x_19); +lean_ctor_set_uint8(x_2535, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2535, sizeof(void*)*8 + 1, x_1889); +lean_inc(x_2531); +x_2536 = l_Lean_mkApp(x_2, x_2531); +x_2537 = lean_expr_instantiate1(x_1998, x_2531); +lean_dec(x_2531); +lean_dec(x_1998); +x_1 = x_2535; +x_2 = x_2536; +x_3 = x_2537; +x_8 = x_1897; +x_10 = x_2532; goto _start; } else { -uint8_t x_2523; -x_2523 = l___private_Lean_Elab_App_8__nextArgIsHole(x_1); -if (x_2523 == 0) +uint8_t x_2539; +x_2539 = l___private_Lean_Elab_App_8__nextArgIsHole(x_1); +if (x_2539 == 0) { -lean_object* x_2524; lean_object* x_2525; +lean_object* x_2540; lean_object* x_2541; lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_2524 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1887, x_4, x_5, x_6, x_7, x_1885, x_9, x_1888); +x_2540 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1899, x_4, x_5, x_6, x_7, x_1897, x_9, x_1900); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); @@ -17104,372 +17121,372 @@ if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 5); lean_ctor_release(x_1, 6); lean_ctor_release(x_1, 7); - x_2525 = x_1; + x_2541 = x_1; } else { lean_dec_ref(x_1); - x_2525 = lean_box(0); + x_2541 = lean_box(0); } -if (lean_obj_tag(x_2524) == 0) +if (lean_obj_tag(x_2540) == 0) { -lean_object* x_2526; lean_object* x_2527; uint8_t x_2528; -x_2526 = lean_ctor_get(x_2524, 1); -lean_inc(x_2526); -lean_dec(x_2524); -x_2527 = lean_array_get_size(x_12); -x_2528 = lean_nat_dec_lt(x_15, x_2527); -lean_dec(x_2527); -if (x_2528 == 0) +lean_object* x_2542; lean_object* x_2543; uint8_t x_2544; +x_2542 = lean_ctor_get(x_2540, 1); +lean_inc(x_2542); +lean_dec(x_2540); +x_2543 = lean_array_get_size(x_12); +x_2544 = lean_nat_dec_lt(x_15, x_2543); +lean_dec(x_2543); +if (x_2544 == 0) { -uint8_t x_2529; -lean_dec(x_2525); -lean_dec(x_1986); -lean_dec(x_1985); +uint8_t x_2545; +lean_dec(x_2541); +lean_dec(x_1998); +lean_dec(x_1997); lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); -x_2529 = l_Array_isEmpty___rarg(x_16); -if (x_2529 == 0) +x_2545 = l_Array_isEmpty___rarg(x_16); +if (x_2545 == 0) { -lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; -lean_dec(x_1878); +lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_2530 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_2530, 0, x_1984); -x_2531 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_2532 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2532, 0, x_2531); -lean_ctor_set(x_2532, 1, x_2530); -x_2533 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_2534 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2534, 0, x_2532); -lean_ctor_set(x_2534, 1, x_2533); -x_2535 = x_16; -x_2536 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_1988, x_2535); -x_2537 = x_2536; -x_2538 = l_Array_toList___rarg(x_2537); -lean_dec(x_2537); -x_2539 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2538); -x_2540 = l_Array_HasRepr___rarg___closed__1; -x_2541 = lean_string_append(x_2540, x_2539); -lean_dec(x_2539); -x_2542 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2542, 0, x_2541); -x_2543 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2543, 0, x_2542); -x_2544 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2544, 0, x_2534); -lean_ctor_set(x_2544, 1, x_2543); -x_2545 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2544, x_4, x_5, x_6, x_7, x_1885, x_9, x_2526); +x_2546 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_2546, 0, x_1996); +x_2547 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_2548 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2548, 0, x_2547); +lean_ctor_set(x_2548, 1, x_2546); +x_2549 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_2550 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2550, 0, x_2548); +lean_ctor_set(x_2550, 1, x_2549); +x_2551 = x_16; +x_2552 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_2000, x_2551); +x_2553 = x_2552; +x_2554 = l_Array_toList___rarg(x_2553); +lean_dec(x_2553); +x_2555 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2554); +x_2556 = l_Array_HasRepr___rarg___closed__1; +x_2557 = lean_string_append(x_2556, x_2555); +lean_dec(x_2555); +x_2558 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2558, 0, x_2557); +x_2559 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2559, 0, x_2558); +x_2560 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2560, 0, x_2550); +lean_ctor_set(x_2560, 1, x_2559); +x_2561 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2560, x_4, x_5, x_6, x_7, x_1897, x_9, x_2542); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2545; +return x_2561; } else { -lean_object* x_2546; uint8_t x_2547; -lean_dec(x_1984); +lean_object* x_2562; uint8_t x_2563; +lean_dec(x_1996); lean_dec(x_16); -x_2546 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_2547 = l_Lean_checkTraceOption(x_1878, x_2546); -lean_dec(x_1878); -if (x_2547 == 0) +x_2562 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_2563 = l_Lean_checkTraceOption(x_1890, x_2562); +lean_dec(x_1890); +if (x_2563 == 0) { -lean_object* x_2548; +lean_object* x_2564; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_2548 = x_2526; -goto block_2559; +x_2564 = x_2542; +goto block_2575; } else { -lean_object* x_2560; lean_object* x_2561; -x_2560 = lean_ctor_get(x_13, 0); -lean_inc(x_2560); +lean_object* x_2576; lean_object* x_2577; +x_2576 = lean_ctor_get(x_13, 0); +lean_inc(x_2576); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_2561 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2560, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2526); -if (lean_obj_tag(x_2561) == 0) +x_2577 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2576, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2542); +if (lean_obj_tag(x_2577) == 0) { -lean_object* x_2562; -x_2562 = lean_ctor_get(x_2561, 1); -lean_inc(x_2562); -lean_dec(x_2561); -x_2548 = x_2562; -goto block_2559; -} -else -{ -lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2563 = lean_ctor_get(x_2561, 0); -lean_inc(x_2563); -x_2564 = lean_ctor_get(x_2561, 1); -lean_inc(x_2564); -if (lean_is_exclusive(x_2561)) { - lean_ctor_release(x_2561, 0); - lean_ctor_release(x_2561, 1); - x_2565 = x_2561; -} else { - lean_dec_ref(x_2561); - x_2565 = lean_box(0); -} -if (lean_is_scalar(x_2565)) { - x_2566 = lean_alloc_ctor(1, 2, 0); -} else { - x_2566 = x_2565; -} -lean_ctor_set(x_2566, 0, x_2563); -lean_ctor_set(x_2566, 1, x_2564); -return x_2566; -} -} -block_2559: -{ -lean_object* x_2549; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2549 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2548); -lean_dec(x_17); -if (lean_obj_tag(x_2549) == 0) -{ -lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; -x_2550 = lean_ctor_get(x_2549, 1); -lean_inc(x_2550); -lean_dec(x_2549); -lean_inc(x_2); -x_2551 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__16(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2550); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2552 = lean_ctor_get(x_2551, 1); -lean_inc(x_2552); -if (lean_is_exclusive(x_2551)) { - lean_ctor_release(x_2551, 0); - lean_ctor_release(x_2551, 1); - x_2553 = x_2551; -} else { - lean_dec_ref(x_2551); - x_2553 = lean_box(0); -} -if (lean_is_scalar(x_2553)) { - x_2554 = lean_alloc_ctor(0, 2, 0); -} else { - x_2554 = x_2553; -} -lean_ctor_set(x_2554, 0, x_2); -lean_ctor_set(x_2554, 1, x_2552); -return x_2554; -} -else -{ -lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2555 = lean_ctor_get(x_2549, 0); -lean_inc(x_2555); -x_2556 = lean_ctor_get(x_2549, 1); -lean_inc(x_2556); -if (lean_is_exclusive(x_2549)) { - lean_ctor_release(x_2549, 0); - lean_ctor_release(x_2549, 1); - x_2557 = x_2549; -} else { - lean_dec_ref(x_2549); - x_2557 = lean_box(0); -} -if (lean_is_scalar(x_2557)) { - x_2558 = lean_alloc_ctor(1, 2, 0); -} else { - x_2558 = x_2557; -} -lean_ctor_set(x_2558, 0, x_2555); -lean_ctor_set(x_2558, 1, x_2556); -return x_2558; -} -} -} -else -{ -lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; -lean_inc(x_2); -x_2567 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2567, 0, x_2); -x_2568 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2546, x_2567, x_4, x_5, x_6, x_7, x_1885, x_9, x_2526); -x_2569 = lean_ctor_get(x_2568, 1); -lean_inc(x_2569); -lean_dec(x_2568); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_2570 = x_2569; -goto block_2581; -} -else -{ -lean_object* x_2582; lean_object* x_2583; -x_2582 = lean_ctor_get(x_13, 0); -lean_inc(x_2582); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -x_2583 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2582, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2569); -if (lean_obj_tag(x_2583) == 0) -{ -lean_object* x_2584; -x_2584 = lean_ctor_get(x_2583, 1); -lean_inc(x_2584); -lean_dec(x_2583); -x_2570 = x_2584; -goto block_2581; -} -else -{ -lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2585 = lean_ctor_get(x_2583, 0); -lean_inc(x_2585); -x_2586 = lean_ctor_get(x_2583, 1); -lean_inc(x_2586); -if (lean_is_exclusive(x_2583)) { - lean_ctor_release(x_2583, 0); - lean_ctor_release(x_2583, 1); - x_2587 = x_2583; -} else { - lean_dec_ref(x_2583); - x_2587 = lean_box(0); -} -if (lean_is_scalar(x_2587)) { - x_2588 = lean_alloc_ctor(1, 2, 0); -} else { - x_2588 = x_2587; -} -lean_ctor_set(x_2588, 0, x_2585); -lean_ctor_set(x_2588, 1, x_2586); -return x_2588; -} -} -block_2581: -{ -lean_object* x_2571; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2571 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2570); -lean_dec(x_17); -if (lean_obj_tag(x_2571) == 0) -{ -lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; -x_2572 = lean_ctor_get(x_2571, 1); -lean_inc(x_2572); -lean_dec(x_2571); -lean_inc(x_2); -x_2573 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__17(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2572); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2574 = lean_ctor_get(x_2573, 1); -lean_inc(x_2574); -if (lean_is_exclusive(x_2573)) { - lean_ctor_release(x_2573, 0); - lean_ctor_release(x_2573, 1); - x_2575 = x_2573; -} else { - lean_dec_ref(x_2573); - x_2575 = lean_box(0); -} -if (lean_is_scalar(x_2575)) { - x_2576 = lean_alloc_ctor(0, 2, 0); -} else { - x_2576 = x_2575; -} -lean_ctor_set(x_2576, 0, x_2); -lean_ctor_set(x_2576, 1, x_2574); -return x_2576; -} -else -{ -lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2577 = lean_ctor_get(x_2571, 0); -lean_inc(x_2577); -x_2578 = lean_ctor_get(x_2571, 1); +lean_object* x_2578; +x_2578 = lean_ctor_get(x_2577, 1); lean_inc(x_2578); -if (lean_is_exclusive(x_2571)) { - lean_ctor_release(x_2571, 0); - lean_ctor_release(x_2571, 1); - x_2579 = x_2571; -} else { - lean_dec_ref(x_2571); - x_2579 = lean_box(0); +lean_dec(x_2577); +x_2564 = x_2578; +goto block_2575; } -if (lean_is_scalar(x_2579)) { - x_2580 = lean_alloc_ctor(1, 2, 0); +else +{ +lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2579 = lean_ctor_get(x_2577, 0); +lean_inc(x_2579); +x_2580 = lean_ctor_get(x_2577, 1); +lean_inc(x_2580); +if (lean_is_exclusive(x_2577)) { + lean_ctor_release(x_2577, 0); + lean_ctor_release(x_2577, 1); + x_2581 = x_2577; } else { - x_2580 = x_2579; + lean_dec_ref(x_2577); + x_2581 = lean_box(0); } -lean_ctor_set(x_2580, 0, x_2577); -lean_ctor_set(x_2580, 1, x_2578); -return x_2580; +if (lean_is_scalar(x_2581)) { + x_2582 = lean_alloc_ctor(1, 2, 0); +} else { + x_2582 = x_2581; +} +lean_ctor_set(x_2582, 0, x_2579); +lean_ctor_set(x_2582, 1, x_2580); +return x_2582; +} +} +block_2575: +{ +lean_object* x_2565; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2565 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2564); +lean_dec(x_17); +if (lean_obj_tag(x_2565) == 0) +{ +lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; +x_2566 = lean_ctor_get(x_2565, 1); +lean_inc(x_2566); +lean_dec(x_2565); +lean_inc(x_2); +x_2567 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__16(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2566); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2568 = lean_ctor_get(x_2567, 1); +lean_inc(x_2568); +if (lean_is_exclusive(x_2567)) { + lean_ctor_release(x_2567, 0); + lean_ctor_release(x_2567, 1); + x_2569 = x_2567; +} else { + lean_dec_ref(x_2567); + x_2569 = lean_box(0); +} +if (lean_is_scalar(x_2569)) { + x_2570 = lean_alloc_ctor(0, 2, 0); +} else { + x_2570 = x_2569; +} +lean_ctor_set(x_2570, 0, x_2); +lean_ctor_set(x_2570, 1, x_2568); +return x_2570; +} +else +{ +lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2571 = lean_ctor_get(x_2565, 0); +lean_inc(x_2571); +x_2572 = lean_ctor_get(x_2565, 1); +lean_inc(x_2572); +if (lean_is_exclusive(x_2565)) { + lean_ctor_release(x_2565, 0); + lean_ctor_release(x_2565, 1); + x_2573 = x_2565; +} else { + lean_dec_ref(x_2565); + x_2573 = lean_box(0); +} +if (lean_is_scalar(x_2573)) { + x_2574 = lean_alloc_ctor(1, 2, 0); +} else { + x_2574 = x_2573; +} +lean_ctor_set(x_2574, 0, x_2571); +lean_ctor_set(x_2574, 1, x_2572); +return x_2574; +} +} +} +else +{ +lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; +lean_inc(x_2); +x_2583 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2583, 0, x_2); +x_2584 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2562, x_2583, x_4, x_5, x_6, x_7, x_1897, x_9, x_2542); +x_2585 = lean_ctor_get(x_2584, 1); +lean_inc(x_2585); +lean_dec(x_2584); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_2586 = x_2585; +goto block_2597; +} +else +{ +lean_object* x_2598; lean_object* x_2599; +x_2598 = lean_ctor_get(x_13, 0); +lean_inc(x_2598); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +x_2599 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2598, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2585); +if (lean_obj_tag(x_2599) == 0) +{ +lean_object* x_2600; +x_2600 = lean_ctor_get(x_2599, 1); +lean_inc(x_2600); +lean_dec(x_2599); +x_2586 = x_2600; +goto block_2597; +} +else +{ +lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2601 = lean_ctor_get(x_2599, 0); +lean_inc(x_2601); +x_2602 = lean_ctor_get(x_2599, 1); +lean_inc(x_2602); +if (lean_is_exclusive(x_2599)) { + lean_ctor_release(x_2599, 0); + lean_ctor_release(x_2599, 1); + x_2603 = x_2599; +} else { + lean_dec_ref(x_2599); + x_2603 = lean_box(0); +} +if (lean_is_scalar(x_2603)) { + x_2604 = lean_alloc_ctor(1, 2, 0); +} else { + x_2604 = x_2603; +} +lean_ctor_set(x_2604, 0, x_2601); +lean_ctor_set(x_2604, 1, x_2602); +return x_2604; +} +} +block_2597: +{ +lean_object* x_2587; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2587 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2586); +lean_dec(x_17); +if (lean_obj_tag(x_2587) == 0) +{ +lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; +x_2588 = lean_ctor_get(x_2587, 1); +lean_inc(x_2588); +lean_dec(x_2587); +lean_inc(x_2); +x_2589 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__17(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2588); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2590 = lean_ctor_get(x_2589, 1); +lean_inc(x_2590); +if (lean_is_exclusive(x_2589)) { + lean_ctor_release(x_2589, 0); + lean_ctor_release(x_2589, 1); + x_2591 = x_2589; +} else { + lean_dec_ref(x_2589); + x_2591 = lean_box(0); +} +if (lean_is_scalar(x_2591)) { + x_2592 = lean_alloc_ctor(0, 2, 0); +} else { + x_2592 = x_2591; +} +lean_ctor_set(x_2592, 0, x_2); +lean_ctor_set(x_2592, 1, x_2590); +return x_2592; +} +else +{ +lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2593 = lean_ctor_get(x_2587, 0); +lean_inc(x_2593); +x_2594 = lean_ctor_get(x_2587, 1); +lean_inc(x_2594); +if (lean_is_exclusive(x_2587)) { + lean_ctor_release(x_2587, 0); + lean_ctor_release(x_2587, 1); + x_2595 = x_2587; +} else { + lean_dec_ref(x_2587); + x_2595 = lean_box(0); +} +if (lean_is_scalar(x_2595)) { + x_2596 = lean_alloc_ctor(1, 2, 0); +} else { + x_2596 = x_2595; +} +lean_ctor_set(x_2596, 0, x_2593); +lean_ctor_set(x_2596, 1, x_2594); +return x_2596; } } } @@ -17477,64 +17494,64 @@ return x_2580; } else { -lean_object* x_2589; lean_object* x_2590; -lean_dec(x_1984); -lean_dec(x_1878); +lean_object* x_2605; lean_object* x_2606; +lean_dec(x_1996); +lean_dec(x_1890); lean_dec(x_3); -x_2589 = lean_array_fget(x_12, x_15); +x_2605 = lean_array_fget(x_12, x_15); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_2590 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2589, x_1985, x_4, x_5, x_6, x_7, x_1885, x_9, x_2526); -if (lean_obj_tag(x_2590) == 0) +x_2606 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2605, x_1997, x_4, x_5, x_6, x_7, x_1897, x_9, x_2542); +if (lean_obj_tag(x_2606) == 0) { -lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; uint8_t x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; -x_2591 = lean_ctor_get(x_2590, 0); -lean_inc(x_2591); -x_2592 = lean_ctor_get(x_2590, 1); -lean_inc(x_2592); -lean_dec(x_2590); -x_2593 = lean_unsigned_to_nat(1u); -x_2594 = lean_nat_add(x_15, x_2593); +lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; lean_object* x_2610; uint8_t x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; +x_2607 = lean_ctor_get(x_2606, 0); +lean_inc(x_2607); +x_2608 = lean_ctor_get(x_2606, 1); +lean_inc(x_2608); +lean_dec(x_2606); +x_2609 = lean_unsigned_to_nat(1u); +x_2610 = lean_nat_add(x_15, x_2609); lean_dec(x_15); -x_2595 = 1; -if (lean_is_scalar(x_2525)) { - x_2596 = lean_alloc_ctor(0, 8, 2); +x_2611 = 1; +if (lean_is_scalar(x_2541)) { + x_2612 = lean_alloc_ctor(0, 8, 2); } else { - x_2596 = x_2525; + x_2612 = x_2541; } -lean_ctor_set(x_2596, 0, x_11); -lean_ctor_set(x_2596, 1, x_12); -lean_ctor_set(x_2596, 2, x_13); -lean_ctor_set(x_2596, 3, x_2594); -lean_ctor_set(x_2596, 4, x_16); -lean_ctor_set(x_2596, 5, x_17); -lean_ctor_set(x_2596, 6, x_18); -lean_ctor_set(x_2596, 7, x_19); -lean_ctor_set_uint8(x_2596, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2596, sizeof(void*)*8 + 1, x_2595); -lean_inc(x_2591); -x_2597 = l_Lean_mkApp(x_2, x_2591); -x_2598 = lean_expr_instantiate1(x_1986, x_2591); -lean_dec(x_2591); -lean_dec(x_1986); -x_1 = x_2596; -x_2 = x_2597; -x_3 = x_2598; -x_8 = x_1885; -x_10 = x_2592; +lean_ctor_set(x_2612, 0, x_11); +lean_ctor_set(x_2612, 1, x_12); +lean_ctor_set(x_2612, 2, x_13); +lean_ctor_set(x_2612, 3, x_2610); +lean_ctor_set(x_2612, 4, x_16); +lean_ctor_set(x_2612, 5, x_17); +lean_ctor_set(x_2612, 6, x_18); +lean_ctor_set(x_2612, 7, x_19); +lean_ctor_set_uint8(x_2612, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2612, sizeof(void*)*8 + 1, x_2611); +lean_inc(x_2607); +x_2613 = l_Lean_mkApp(x_2, x_2607); +x_2614 = lean_expr_instantiate1(x_1998, x_2607); +lean_dec(x_2607); +lean_dec(x_1998); +x_1 = x_2612; +x_2 = x_2613; +x_3 = x_2614; +x_8 = x_1897; +x_10 = x_2608; goto _start; } else { -lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; -lean_dec(x_2525); -lean_dec(x_1986); -lean_dec(x_1885); +lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; +lean_dec(x_2541); +lean_dec(x_1998); +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -17549,38 +17566,38 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2600 = lean_ctor_get(x_2590, 0); -lean_inc(x_2600); -x_2601 = lean_ctor_get(x_2590, 1); -lean_inc(x_2601); -if (lean_is_exclusive(x_2590)) { - lean_ctor_release(x_2590, 0); - lean_ctor_release(x_2590, 1); - x_2602 = x_2590; +x_2616 = lean_ctor_get(x_2606, 0); +lean_inc(x_2616); +x_2617 = lean_ctor_get(x_2606, 1); +lean_inc(x_2617); +if (lean_is_exclusive(x_2606)) { + lean_ctor_release(x_2606, 0); + lean_ctor_release(x_2606, 1); + x_2618 = x_2606; } else { - lean_dec_ref(x_2590); - x_2602 = lean_box(0); + lean_dec_ref(x_2606); + x_2618 = lean_box(0); } -if (lean_is_scalar(x_2602)) { - x_2603 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2618)) { + x_2619 = lean_alloc_ctor(1, 2, 0); } else { - x_2603 = x_2602; + x_2619 = x_2618; } -lean_ctor_set(x_2603, 0, x_2600); -lean_ctor_set(x_2603, 1, x_2601); -return x_2603; +lean_ctor_set(x_2619, 0, x_2616); +lean_ctor_set(x_2619, 1, x_2617); +return x_2619; } } } else { -lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; -lean_dec(x_2525); -lean_dec(x_1986); -lean_dec(x_1985); -lean_dec(x_1984); -lean_dec(x_1885); -lean_dec(x_1878); +lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; +lean_dec(x_2541); +lean_dec(x_1998); +lean_dec(x_1997); +lean_dec(x_1996); +lean_dec(x_1897); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -17596,103 +17613,35 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2604 = lean_ctor_get(x_2524, 0); -lean_inc(x_2604); -x_2605 = lean_ctor_get(x_2524, 1); -lean_inc(x_2605); -if (lean_is_exclusive(x_2524)) { - lean_ctor_release(x_2524, 0); - lean_ctor_release(x_2524, 1); - x_2606 = x_2524; +x_2620 = lean_ctor_get(x_2540, 0); +lean_inc(x_2620); +x_2621 = lean_ctor_get(x_2540, 1); +lean_inc(x_2621); +if (lean_is_exclusive(x_2540)) { + lean_ctor_release(x_2540, 0); + lean_ctor_release(x_2540, 1); + x_2622 = x_2540; } else { - lean_dec_ref(x_2524); - x_2606 = lean_box(0); + lean_dec_ref(x_2540); + x_2622 = lean_box(0); } -if (lean_is_scalar(x_2606)) { - x_2607 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2622)) { + x_2623 = lean_alloc_ctor(1, 2, 0); } else { - x_2607 = x_2606; + x_2623 = x_2622; } -lean_ctor_set(x_2607, 0, x_2604); -lean_ctor_set(x_2607, 1, x_2605); -return x_2607; +lean_ctor_set(x_2623, 0, x_2620); +lean_ctor_set(x_2623, 1, x_2621); +return x_2623; } } else { -lean_object* x_2608; lean_object* x_2609; uint8_t x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; -lean_dec(x_1984); -lean_dec(x_1887); -lean_dec(x_1878); +lean_object* x_2624; lean_object* x_2625; uint8_t x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; +lean_dec(x_1996); +lean_dec(x_1899); +lean_dec(x_1890); lean_dec(x_3); -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - lean_ctor_release(x_1, 2); - lean_ctor_release(x_1, 3); - lean_ctor_release(x_1, 4); - lean_ctor_release(x_1, 5); - lean_ctor_release(x_1, 6); - lean_ctor_release(x_1, 7); - x_2608 = x_1; -} else { - lean_dec_ref(x_1); - x_2608 = lean_box(0); -} -x_2609 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2609, 0, x_1985); -x_2610 = 1; -x_2611 = lean_box(0); -lean_inc(x_6); -x_2612 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_2609, x_2610, x_2611, x_6, x_7, x_1885, x_9, x_1888); -x_2613 = lean_ctor_get(x_2612, 0); -lean_inc(x_2613); -x_2614 = lean_ctor_get(x_2612, 1); -lean_inc(x_2614); -lean_dec(x_2612); -x_2615 = lean_unsigned_to_nat(1u); -x_2616 = lean_nat_add(x_15, x_2615); -lean_dec(x_15); -x_2617 = l_Lean_Expr_mvarId_x21(x_2613); -x_2618 = lean_array_push(x_17, x_2617); -if (lean_is_scalar(x_2608)) { - x_2619 = lean_alloc_ctor(0, 8, 2); -} else { - x_2619 = x_2608; -} -lean_ctor_set(x_2619, 0, x_11); -lean_ctor_set(x_2619, 1, x_12); -lean_ctor_set(x_2619, 2, x_13); -lean_ctor_set(x_2619, 3, x_2616); -lean_ctor_set(x_2619, 4, x_16); -lean_ctor_set(x_2619, 5, x_2618); -lean_ctor_set(x_2619, 6, x_18); -lean_ctor_set(x_2619, 7, x_19); -lean_ctor_set_uint8(x_2619, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2619, sizeof(void*)*8 + 1, x_1877); -lean_inc(x_2613); -x_2620 = l_Lean_mkApp(x_2, x_2613); -x_2621 = lean_expr_instantiate1(x_1986, x_2613); -lean_dec(x_2613); -lean_dec(x_1986); -x_1 = x_2619; -x_2 = x_2620; -x_3 = x_2621; -x_8 = x_1885; -x_10 = x_2614; -goto _start; -} -} -} -default: -{ -lean_object* x_2623; lean_object* x_2624; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_1); -x_2623 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1887, x_4, x_5, x_6, x_7, x_1885, x_9, x_1888); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); @@ -17707,13 +17656,81 @@ if (lean_is_exclusive(x_1)) { lean_dec_ref(x_1); x_2624 = lean_box(0); } -if (lean_obj_tag(x_2623) == 0) -{ -lean_object* x_2625; uint8_t x_2626; lean_object* x_2627; lean_object* x_2628; uint8_t x_2629; -x_2625 = lean_ctor_get(x_2623, 1); -lean_inc(x_2625); -lean_dec(x_2623); +x_2625 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2625, 0, x_1997); x_2626 = 1; +x_2627 = lean_box(0); +lean_inc(x_6); +x_2628 = l___private_Lean_Meta_Basic_4__mkFreshExprMVarImpl(x_2625, x_2626, x_2627, x_6, x_7, x_1897, x_9, x_1900); +x_2629 = lean_ctor_get(x_2628, 0); +lean_inc(x_2629); +x_2630 = lean_ctor_get(x_2628, 1); +lean_inc(x_2630); +lean_dec(x_2628); +x_2631 = lean_unsigned_to_nat(1u); +x_2632 = lean_nat_add(x_15, x_2631); +lean_dec(x_15); +x_2633 = l_Lean_Expr_mvarId_x21(x_2629); +x_2634 = lean_array_push(x_17, x_2633); +if (lean_is_scalar(x_2624)) { + x_2635 = lean_alloc_ctor(0, 8, 2); +} else { + x_2635 = x_2624; +} +lean_ctor_set(x_2635, 0, x_11); +lean_ctor_set(x_2635, 1, x_12); +lean_ctor_set(x_2635, 2, x_13); +lean_ctor_set(x_2635, 3, x_2632); +lean_ctor_set(x_2635, 4, x_16); +lean_ctor_set(x_2635, 5, x_2634); +lean_ctor_set(x_2635, 6, x_18); +lean_ctor_set(x_2635, 7, x_19); +lean_ctor_set_uint8(x_2635, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2635, sizeof(void*)*8 + 1, x_1889); +lean_inc(x_2629); +x_2636 = l_Lean_mkApp(x_2, x_2629); +x_2637 = lean_expr_instantiate1(x_1998, x_2629); +lean_dec(x_2629); +lean_dec(x_1998); +x_1 = x_2635; +x_2 = x_2636; +x_3 = x_2637; +x_8 = x_1897; +x_10 = x_2630; +goto _start; +} +} +} +default: +{ +lean_object* x_2639; lean_object* x_2640; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_2639 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1899, x_4, x_5, x_6, x_7, x_1897, x_9, x_1900); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + lean_ctor_release(x_1, 2); + lean_ctor_release(x_1, 3); + lean_ctor_release(x_1, 4); + lean_ctor_release(x_1, 5); + lean_ctor_release(x_1, 6); + lean_ctor_release(x_1, 7); + x_2640 = x_1; +} else { + lean_dec_ref(x_1); + x_2640 = lean_box(0); +} +if (lean_obj_tag(x_2639) == 0) +{ +lean_object* x_2641; uint8_t x_2642; lean_object* x_2643; lean_object* x_2644; uint8_t x_2645; +x_2641 = lean_ctor_get(x_2639, 1); +lean_inc(x_2641); +lean_dec(x_2639); +x_2642 = 1; lean_inc(x_19); lean_inc(x_18); lean_inc(x_17); @@ -17722,386 +17739,386 @@ lean_inc(x_15); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); -if (lean_is_scalar(x_2624)) { - x_2627 = lean_alloc_ctor(0, 8, 2); +if (lean_is_scalar(x_2640)) { + x_2643 = lean_alloc_ctor(0, 8, 2); } else { - x_2627 = x_2624; + x_2643 = x_2640; } -lean_ctor_set(x_2627, 0, x_11); -lean_ctor_set(x_2627, 1, x_12); -lean_ctor_set(x_2627, 2, x_13); -lean_ctor_set(x_2627, 3, x_15); -lean_ctor_set(x_2627, 4, x_16); -lean_ctor_set(x_2627, 5, x_17); -lean_ctor_set(x_2627, 6, x_18); -lean_ctor_set(x_2627, 7, x_19); -lean_ctor_set_uint8(x_2627, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2627, sizeof(void*)*8 + 1, x_2626); -x_2628 = lean_array_get_size(x_12); -x_2629 = lean_nat_dec_lt(x_15, x_2628); -lean_dec(x_2628); -if (x_2629 == 0) +lean_ctor_set(x_2643, 0, x_11); +lean_ctor_set(x_2643, 1, x_12); +lean_ctor_set(x_2643, 2, x_13); +lean_ctor_set(x_2643, 3, x_15); +lean_ctor_set(x_2643, 4, x_16); +lean_ctor_set(x_2643, 5, x_17); +lean_ctor_set(x_2643, 6, x_18); +lean_ctor_set(x_2643, 7, x_19); +lean_ctor_set_uint8(x_2643, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2643, sizeof(void*)*8 + 1, x_2642); +x_2644 = lean_array_get_size(x_12); +x_2645 = lean_nat_dec_lt(x_15, x_2644); +lean_dec(x_2644); +if (x_2645 == 0) { lean_dec(x_18); lean_dec(x_15); lean_dec(x_12); if (x_14 == 0) { -lean_object* x_2630; -x_2630 = l_Lean_Expr_getOptParamDefault_x3f(x_1985); -if (lean_obj_tag(x_2630) == 0) +lean_object* x_2646; +x_2646 = l_Lean_Expr_getOptParamDefault_x3f(x_1997); +if (lean_obj_tag(x_2646) == 0) { -lean_object* x_2631; -x_2631 = l_Lean_Expr_getAutoParamTactic_x3f(x_1985); -if (lean_obj_tag(x_2631) == 0) +lean_object* x_2647; +x_2647 = l_Lean_Expr_getAutoParamTactic_x3f(x_1997); +if (lean_obj_tag(x_2647) == 0) { -uint8_t x_2632; -lean_dec(x_2627); -lean_dec(x_1986); -lean_dec(x_1985); -x_2632 = l_Array_isEmpty___rarg(x_16); -if (x_2632 == 0) +uint8_t x_2648; +lean_dec(x_2643); +lean_dec(x_1998); +lean_dec(x_1997); +x_2648 = l_Array_isEmpty___rarg(x_16); +if (x_2648 == 0) { -lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; lean_object* x_2648; -lean_dec(x_1878); +lean_object* x_2649; lean_object* x_2650; lean_object* x_2651; lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; lean_object* x_2657; lean_object* x_2658; lean_object* x_2659; lean_object* x_2660; lean_object* x_2661; lean_object* x_2662; lean_object* x_2663; lean_object* x_2664; +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_2633 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_2633, 0, x_1984); -x_2634 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_2635 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2635, 0, x_2634); -lean_ctor_set(x_2635, 1, x_2633); -x_2636 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_2637 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2637, 0, x_2635); -lean_ctor_set(x_2637, 1, x_2636); -x_2638 = x_16; -x_2639 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_1988, x_2638); -x_2640 = x_2639; -x_2641 = l_Array_toList___rarg(x_2640); -lean_dec(x_2640); -x_2642 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2641); -x_2643 = l_Array_HasRepr___rarg___closed__1; -x_2644 = lean_string_append(x_2643, x_2642); -lean_dec(x_2642); -x_2645 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2645, 0, x_2644); -x_2646 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2646, 0, x_2645); -x_2647 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2647, 0, x_2637); -lean_ctor_set(x_2647, 1, x_2646); -x_2648 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2647, x_4, x_5, x_6, x_7, x_1885, x_9, x_2625); +x_2649 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_2649, 0, x_1996); +x_2650 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_2651 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2651, 0, x_2650); +lean_ctor_set(x_2651, 1, x_2649); +x_2652 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_2653 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2653, 0, x_2651); +lean_ctor_set(x_2653, 1, x_2652); +x_2654 = x_16; +x_2655 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_2000, x_2654); +x_2656 = x_2655; +x_2657 = l_Array_toList___rarg(x_2656); +lean_dec(x_2656); +x_2658 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2657); +x_2659 = l_Array_HasRepr___rarg___closed__1; +x_2660 = lean_string_append(x_2659, x_2658); +lean_dec(x_2658); +x_2661 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2661, 0, x_2660); +x_2662 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2662, 0, x_2661); +x_2663 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2663, 0, x_2653); +lean_ctor_set(x_2663, 1, x_2662); +x_2664 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2663, x_4, x_5, x_6, x_7, x_1897, x_9, x_2641); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2648; +return x_2664; } else { -lean_object* x_2649; uint8_t x_2650; -lean_dec(x_1984); +lean_object* x_2665; uint8_t x_2666; +lean_dec(x_1996); lean_dec(x_16); -x_2649 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_2650 = l_Lean_checkTraceOption(x_1878, x_2649); -lean_dec(x_1878); -if (x_2650 == 0) +x_2665 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_2666 = l_Lean_checkTraceOption(x_1890, x_2665); +lean_dec(x_1890); +if (x_2666 == 0) { -lean_object* x_2651; +lean_object* x_2667; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_2651 = x_2625; -goto block_2662; +x_2667 = x_2641; +goto block_2678; } else { -lean_object* x_2663; lean_object* x_2664; -x_2663 = lean_ctor_get(x_13, 0); -lean_inc(x_2663); +lean_object* x_2679; lean_object* x_2680; +x_2679 = lean_ctor_get(x_13, 0); +lean_inc(x_2679); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_2664 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2663, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2625); -if (lean_obj_tag(x_2664) == 0) +x_2680 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2679, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2641); +if (lean_obj_tag(x_2680) == 0) { -lean_object* x_2665; -x_2665 = lean_ctor_get(x_2664, 1); -lean_inc(x_2665); -lean_dec(x_2664); -x_2651 = x_2665; -goto block_2662; -} -else -{ -lean_object* x_2666; lean_object* x_2667; lean_object* x_2668; lean_object* x_2669; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2666 = lean_ctor_get(x_2664, 0); -lean_inc(x_2666); -x_2667 = lean_ctor_get(x_2664, 1); -lean_inc(x_2667); -if (lean_is_exclusive(x_2664)) { - lean_ctor_release(x_2664, 0); - lean_ctor_release(x_2664, 1); - x_2668 = x_2664; -} else { - lean_dec_ref(x_2664); - x_2668 = lean_box(0); -} -if (lean_is_scalar(x_2668)) { - x_2669 = lean_alloc_ctor(1, 2, 0); -} else { - x_2669 = x_2668; -} -lean_ctor_set(x_2669, 0, x_2666); -lean_ctor_set(x_2669, 1, x_2667); -return x_2669; -} -} -block_2662: -{ -lean_object* x_2652; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2652 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2651); -lean_dec(x_17); -if (lean_obj_tag(x_2652) == 0) -{ -lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; lean_object* x_2657; -x_2653 = lean_ctor_get(x_2652, 1); -lean_inc(x_2653); -lean_dec(x_2652); -lean_inc(x_2); -x_2654 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__18(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2653); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2655 = lean_ctor_get(x_2654, 1); -lean_inc(x_2655); -if (lean_is_exclusive(x_2654)) { - lean_ctor_release(x_2654, 0); - lean_ctor_release(x_2654, 1); - x_2656 = x_2654; -} else { - lean_dec_ref(x_2654); - x_2656 = lean_box(0); -} -if (lean_is_scalar(x_2656)) { - x_2657 = lean_alloc_ctor(0, 2, 0); -} else { - x_2657 = x_2656; -} -lean_ctor_set(x_2657, 0, x_2); -lean_ctor_set(x_2657, 1, x_2655); -return x_2657; -} -else -{ -lean_object* x_2658; lean_object* x_2659; lean_object* x_2660; lean_object* x_2661; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2658 = lean_ctor_get(x_2652, 0); -lean_inc(x_2658); -x_2659 = lean_ctor_get(x_2652, 1); -lean_inc(x_2659); -if (lean_is_exclusive(x_2652)) { - lean_ctor_release(x_2652, 0); - lean_ctor_release(x_2652, 1); - x_2660 = x_2652; -} else { - lean_dec_ref(x_2652); - x_2660 = lean_box(0); -} -if (lean_is_scalar(x_2660)) { - x_2661 = lean_alloc_ctor(1, 2, 0); -} else { - x_2661 = x_2660; -} -lean_ctor_set(x_2661, 0, x_2658); -lean_ctor_set(x_2661, 1, x_2659); -return x_2661; -} -} -} -else -{ -lean_object* x_2670; lean_object* x_2671; lean_object* x_2672; lean_object* x_2673; -lean_inc(x_2); -x_2670 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2670, 0, x_2); -x_2671 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2649, x_2670, x_4, x_5, x_6, x_7, x_1885, x_9, x_2625); -x_2672 = lean_ctor_get(x_2671, 1); -lean_inc(x_2672); -lean_dec(x_2671); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_2673 = x_2672; -goto block_2684; -} -else -{ -lean_object* x_2685; lean_object* x_2686; -x_2685 = lean_ctor_get(x_13, 0); -lean_inc(x_2685); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -x_2686 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2685, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2672); -if (lean_obj_tag(x_2686) == 0) -{ -lean_object* x_2687; -x_2687 = lean_ctor_get(x_2686, 1); -lean_inc(x_2687); -lean_dec(x_2686); -x_2673 = x_2687; -goto block_2684; -} -else -{ -lean_object* x_2688; lean_object* x_2689; lean_object* x_2690; lean_object* x_2691; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2688 = lean_ctor_get(x_2686, 0); -lean_inc(x_2688); -x_2689 = lean_ctor_get(x_2686, 1); -lean_inc(x_2689); -if (lean_is_exclusive(x_2686)) { - lean_ctor_release(x_2686, 0); - lean_ctor_release(x_2686, 1); - x_2690 = x_2686; -} else { - lean_dec_ref(x_2686); - x_2690 = lean_box(0); -} -if (lean_is_scalar(x_2690)) { - x_2691 = lean_alloc_ctor(1, 2, 0); -} else { - x_2691 = x_2690; -} -lean_ctor_set(x_2691, 0, x_2688); -lean_ctor_set(x_2691, 1, x_2689); -return x_2691; -} -} -block_2684: -{ -lean_object* x_2674; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2674 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2673); -lean_dec(x_17); -if (lean_obj_tag(x_2674) == 0) -{ -lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; -x_2675 = lean_ctor_get(x_2674, 1); -lean_inc(x_2675); -lean_dec(x_2674); -lean_inc(x_2); -x_2676 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__19(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2675); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2677 = lean_ctor_get(x_2676, 1); -lean_inc(x_2677); -if (lean_is_exclusive(x_2676)) { - lean_ctor_release(x_2676, 0); - lean_ctor_release(x_2676, 1); - x_2678 = x_2676; -} else { - lean_dec_ref(x_2676); - x_2678 = lean_box(0); -} -if (lean_is_scalar(x_2678)) { - x_2679 = lean_alloc_ctor(0, 2, 0); -} else { - x_2679 = x_2678; -} -lean_ctor_set(x_2679, 0, x_2); -lean_ctor_set(x_2679, 1, x_2677); -return x_2679; -} -else -{ -lean_object* x_2680; lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2680 = lean_ctor_get(x_2674, 0); -lean_inc(x_2680); -x_2681 = lean_ctor_get(x_2674, 1); +lean_object* x_2681; +x_2681 = lean_ctor_get(x_2680, 1); lean_inc(x_2681); -if (lean_is_exclusive(x_2674)) { - lean_ctor_release(x_2674, 0); - lean_ctor_release(x_2674, 1); - x_2682 = x_2674; -} else { - lean_dec_ref(x_2674); - x_2682 = lean_box(0); +lean_dec(x_2680); +x_2667 = x_2681; +goto block_2678; } -if (lean_is_scalar(x_2682)) { - x_2683 = lean_alloc_ctor(1, 2, 0); +else +{ +lean_object* x_2682; lean_object* x_2683; lean_object* x_2684; lean_object* x_2685; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2682 = lean_ctor_get(x_2680, 0); +lean_inc(x_2682); +x_2683 = lean_ctor_get(x_2680, 1); +lean_inc(x_2683); +if (lean_is_exclusive(x_2680)) { + lean_ctor_release(x_2680, 0); + lean_ctor_release(x_2680, 1); + x_2684 = x_2680; } else { - x_2683 = x_2682; + lean_dec_ref(x_2680); + x_2684 = lean_box(0); } -lean_ctor_set(x_2683, 0, x_2680); -lean_ctor_set(x_2683, 1, x_2681); -return x_2683; +if (lean_is_scalar(x_2684)) { + x_2685 = lean_alloc_ctor(1, 2, 0); +} else { + x_2685 = x_2684; +} +lean_ctor_set(x_2685, 0, x_2682); +lean_ctor_set(x_2685, 1, x_2683); +return x_2685; +} +} +block_2678: +{ +lean_object* x_2668; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2668 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2667); +lean_dec(x_17); +if (lean_obj_tag(x_2668) == 0) +{ +lean_object* x_2669; lean_object* x_2670; lean_object* x_2671; lean_object* x_2672; lean_object* x_2673; +x_2669 = lean_ctor_get(x_2668, 1); +lean_inc(x_2669); +lean_dec(x_2668); +lean_inc(x_2); +x_2670 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__18(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2669); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2671 = lean_ctor_get(x_2670, 1); +lean_inc(x_2671); +if (lean_is_exclusive(x_2670)) { + lean_ctor_release(x_2670, 0); + lean_ctor_release(x_2670, 1); + x_2672 = x_2670; +} else { + lean_dec_ref(x_2670); + x_2672 = lean_box(0); +} +if (lean_is_scalar(x_2672)) { + x_2673 = lean_alloc_ctor(0, 2, 0); +} else { + x_2673 = x_2672; +} +lean_ctor_set(x_2673, 0, x_2); +lean_ctor_set(x_2673, 1, x_2671); +return x_2673; +} +else +{ +lean_object* x_2674; lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2674 = lean_ctor_get(x_2668, 0); +lean_inc(x_2674); +x_2675 = lean_ctor_get(x_2668, 1); +lean_inc(x_2675); +if (lean_is_exclusive(x_2668)) { + lean_ctor_release(x_2668, 0); + lean_ctor_release(x_2668, 1); + x_2676 = x_2668; +} else { + lean_dec_ref(x_2668); + x_2676 = lean_box(0); +} +if (lean_is_scalar(x_2676)) { + x_2677 = lean_alloc_ctor(1, 2, 0); +} else { + x_2677 = x_2676; +} +lean_ctor_set(x_2677, 0, x_2674); +lean_ctor_set(x_2677, 1, x_2675); +return x_2677; +} +} +} +else +{ +lean_object* x_2686; lean_object* x_2687; lean_object* x_2688; lean_object* x_2689; +lean_inc(x_2); +x_2686 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2686, 0, x_2); +x_2687 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2665, x_2686, x_4, x_5, x_6, x_7, x_1897, x_9, x_2641); +x_2688 = lean_ctor_get(x_2687, 1); +lean_inc(x_2688); +lean_dec(x_2687); +if (lean_obj_tag(x_13) == 0) +{ +lean_dec(x_3); +x_2689 = x_2688; +goto block_2700; +} +else +{ +lean_object* x_2701; lean_object* x_2702; +x_2701 = lean_ctor_get(x_13, 0); +lean_inc(x_2701); +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +x_2702 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2701, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2688); +if (lean_obj_tag(x_2702) == 0) +{ +lean_object* x_2703; +x_2703 = lean_ctor_get(x_2702, 1); +lean_inc(x_2703); +lean_dec(x_2702); +x_2689 = x_2703; +goto block_2700; +} +else +{ +lean_object* x_2704; lean_object* x_2705; lean_object* x_2706; lean_object* x_2707; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2704 = lean_ctor_get(x_2702, 0); +lean_inc(x_2704); +x_2705 = lean_ctor_get(x_2702, 1); +lean_inc(x_2705); +if (lean_is_exclusive(x_2702)) { + lean_ctor_release(x_2702, 0); + lean_ctor_release(x_2702, 1); + x_2706 = x_2702; +} else { + lean_dec_ref(x_2702); + x_2706 = lean_box(0); +} +if (lean_is_scalar(x_2706)) { + x_2707 = lean_alloc_ctor(1, 2, 0); +} else { + x_2707 = x_2706; +} +lean_ctor_set(x_2707, 0, x_2704); +lean_ctor_set(x_2707, 1, x_2705); +return x_2707; +} +} +block_2700: +{ +lean_object* x_2690; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2690 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2689); +lean_dec(x_17); +if (lean_obj_tag(x_2690) == 0) +{ +lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; lean_object* x_2694; lean_object* x_2695; +x_2691 = lean_ctor_get(x_2690, 1); +lean_inc(x_2691); +lean_dec(x_2690); +lean_inc(x_2); +x_2692 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__19(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2691); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2693 = lean_ctor_get(x_2692, 1); +lean_inc(x_2693); +if (lean_is_exclusive(x_2692)) { + lean_ctor_release(x_2692, 0); + lean_ctor_release(x_2692, 1); + x_2694 = x_2692; +} else { + lean_dec_ref(x_2692); + x_2694 = lean_box(0); +} +if (lean_is_scalar(x_2694)) { + x_2695 = lean_alloc_ctor(0, 2, 0); +} else { + x_2695 = x_2694; +} +lean_ctor_set(x_2695, 0, x_2); +lean_ctor_set(x_2695, 1, x_2693); +return x_2695; +} +else +{ +lean_object* x_2696; lean_object* x_2697; lean_object* x_2698; lean_object* x_2699; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2696 = lean_ctor_get(x_2690, 0); +lean_inc(x_2696); +x_2697 = lean_ctor_get(x_2690, 1); +lean_inc(x_2697); +if (lean_is_exclusive(x_2690)) { + lean_ctor_release(x_2690, 0); + lean_ctor_release(x_2690, 1); + x_2698 = x_2690; +} else { + lean_dec_ref(x_2690); + x_2698 = lean_box(0); +} +if (lean_is_scalar(x_2698)) { + x_2699 = lean_alloc_ctor(1, 2, 0); +} else { + x_2699 = x_2698; +} +lean_ctor_set(x_2699, 0, x_2696); +lean_ctor_set(x_2699, 1, x_2697); +return x_2699; } } } @@ -18109,313 +18126,315 @@ return x_2683; } else { -lean_object* x_2692; -lean_dec(x_1984); -lean_dec(x_1878); +lean_object* x_2708; +lean_dec(x_1996); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_16); lean_dec(x_13); lean_dec(x_3); -x_2692 = lean_ctor_get(x_2631, 0); -lean_inc(x_2692); -lean_dec(x_2631); -if (lean_obj_tag(x_2692) == 4) +x_2708 = lean_ctor_get(x_2647, 0); +lean_inc(x_2708); +lean_dec(x_2647); +if (lean_obj_tag(x_2708) == 4) { -lean_object* x_2693; lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; lean_object* x_2697; lean_object* x_2698; -x_2693 = lean_ctor_get(x_2692, 0); -lean_inc(x_2693); -lean_dec(x_2692); -x_2694 = lean_st_ref_get(x_9, x_2625); -x_2695 = lean_ctor_get(x_2694, 0); -lean_inc(x_2695); -x_2696 = lean_ctor_get(x_2694, 1); -lean_inc(x_2696); -lean_dec(x_2694); -x_2697 = lean_ctor_get(x_2695, 0); -lean_inc(x_2697); -lean_dec(x_2695); -x_2698 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_2697, x_2693); -if (lean_obj_tag(x_2698) == 0) +lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; +x_2709 = lean_ctor_get(x_2708, 0); +lean_inc(x_2709); +lean_dec(x_2708); +x_2710 = lean_st_ref_get(x_9, x_2641); +x_2711 = lean_ctor_get(x_2710, 0); +lean_inc(x_2711); +x_2712 = lean_ctor_get(x_2710, 1); +lean_inc(x_2712); +lean_dec(x_2710); +x_2713 = lean_ctor_get(x_2711, 0); +lean_inc(x_2713); +lean_dec(x_2711); +x_2714 = l___private_Lean_Elab_Util_2__evalSyntaxConstantUnsafe(x_2713, x_2709); +if (lean_obj_tag(x_2714) == 0) { -lean_object* x_2699; lean_object* x_2700; lean_object* x_2701; lean_object* x_2702; -lean_dec(x_2627); -lean_dec(x_1986); -lean_dec(x_1985); +lean_object* x_2715; lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; +lean_dec(x_2643); +lean_dec(x_1998); +lean_dec(x_1997); lean_dec(x_11); lean_dec(x_2); -x_2699 = lean_ctor_get(x_2698, 0); -lean_inc(x_2699); -lean_dec(x_2698); -x_2700 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2700, 0, x_2699); -x_2701 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2701, 0, x_2700); -x_2702 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2701, x_4, x_5, x_6, x_7, x_1885, x_9, x_2696); +x_2715 = lean_ctor_get(x_2714, 0); +lean_inc(x_2715); +lean_dec(x_2714); +x_2716 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2716, 0, x_2715); +x_2717 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2717, 0, x_2716); +x_2718 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2717, x_4, x_5, x_6, x_7, x_1897, x_9, x_2712); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2702; +return x_2718; } else { -lean_object* x_2703; lean_object* x_2704; lean_object* x_2705; lean_object* x_2706; lean_object* x_2707; lean_object* x_2708; lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; lean_object* x_2715; lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; lean_object* x_2719; lean_object* x_2720; lean_object* x_2721; lean_object* x_2722; lean_object* x_2723; lean_object* x_2724; lean_object* x_2725; lean_object* x_2726; lean_object* x_2727; lean_object* x_2728; lean_object* x_2729; lean_object* x_2730; lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; -x_2703 = lean_ctor_get(x_2698, 0); -lean_inc(x_2703); -lean_dec(x_2698); -x_2704 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_1885, x_9, x_2696); -x_2705 = lean_ctor_get(x_2704, 1); -lean_inc(x_2705); -lean_dec(x_2704); -x_2706 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2705); -x_2707 = lean_ctor_get(x_2706, 1); -lean_inc(x_2707); -lean_dec(x_2706); -x_2708 = l_Lean_Syntax_getArgs(x_2703); -lean_dec(x_2703); -x_2709 = l_Array_empty___closed__1; -x_2710 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2708, x_2708, x_1988, x_2709); -lean_dec(x_2708); -x_2711 = l_Lean_nullKind___closed__2; -x_2712 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2712, 0, x_2711); -lean_ctor_set(x_2712, 1, x_2710); -x_2713 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; -x_2714 = lean_array_push(x_2713, x_2712); -x_2715 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; -x_2716 = lean_array_push(x_2714, x_2715); -x_2717 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -x_2718 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2718, 0, x_2717); -lean_ctor_set(x_2718, 1, x_2716); -x_2719 = lean_array_push(x_2709, x_2718); -x_2720 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; -x_2721 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2721, 0, x_2720); -lean_ctor_set(x_2721, 1, x_2719); -x_2722 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; -x_2723 = lean_array_push(x_2722, x_2721); -x_2724 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -x_2725 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2725, 0, x_2724); -lean_ctor_set(x_2725, 1, x_2723); -x_2726 = l_Lean_Syntax_copyInfo(x_2725, x_11); +lean_object* x_2719; lean_object* x_2720; lean_object* x_2721; lean_object* x_2722; lean_object* x_2723; lean_object* x_2724; lean_object* x_2725; lean_object* x_2726; lean_object* x_2727; lean_object* x_2728; lean_object* x_2729; lean_object* x_2730; lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; lean_object* x_2734; lean_object* x_2735; lean_object* x_2736; lean_object* x_2737; lean_object* x_2738; lean_object* x_2739; lean_object* x_2740; lean_object* x_2741; lean_object* x_2742; lean_object* x_2743; lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; lean_object* x_2748; lean_object* x_2749; lean_object* x_2750; lean_object* x_2751; +x_2719 = lean_ctor_get(x_2714, 0); +lean_inc(x_2719); +lean_dec(x_2714); +x_2720 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5, x_6, x_7, x_1897, x_9, x_2712); +x_2721 = lean_ctor_get(x_2720, 1); +lean_inc(x_2721); +lean_dec(x_2720); +x_2722 = l_Lean_Elab_Term_getMainModule___rarg(x_9, x_2721); +x_2723 = lean_ctor_get(x_2722, 1); +lean_inc(x_2723); +lean_dec(x_2722); +x_2724 = l_Lean_Syntax_getArgs(x_2719); +lean_dec(x_2719); +x_2725 = l_Array_empty___closed__1; +x_2726 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2724, x_2724, x_2000, x_2725); +lean_dec(x_2724); +x_2727 = l___private_Lean_Elab_Quotation_2__quoteSyntax___main___closed__42; +x_2728 = lean_array_push(x_2726, x_2727); +x_2729 = l_Lean_nullKind___closed__2; +x_2730 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2730, 0, x_2729); +lean_ctor_set(x_2730, 1, x_2728); +x_2731 = l_Lean_Elab_Term_quoteAutoTactic___main___closed__4; +x_2732 = lean_array_push(x_2731, x_2730); +x_2733 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__16; +x_2734 = lean_array_push(x_2732, x_2733); +x_2735 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_2736 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2736, 0, x_2735); +lean_ctor_set(x_2736, 1, x_2734); +x_2737 = lean_array_push(x_2725, x_2736); +x_2738 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__2; +x_2739 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2739, 0, x_2738); +lean_ctor_set(x_2739, 1, x_2737); +x_2740 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__15; +x_2741 = lean_array_push(x_2740, x_2739); +x_2742 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_2743 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2743, 0, x_2742); +lean_ctor_set(x_2743, 1, x_2741); +x_2744 = l_Lean_Syntax_copyInfo(x_2743, x_11); lean_dec(x_11); -x_2727 = l_Lean_Expr_getAppNumArgsAux___main(x_1985, x_1988); -x_2728 = lean_nat_sub(x_2727, x_1988); -lean_dec(x_2727); -x_2729 = lean_unsigned_to_nat(1u); -x_2730 = lean_nat_sub(x_2728, x_2729); -lean_dec(x_2728); -x_2731 = l_Lean_Expr_getRevArg_x21___main(x_1985, x_2730); -lean_dec(x_1985); -x_2732 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2732, 0, x_2726); +x_2745 = l_Lean_Expr_getAppNumArgsAux___main(x_1997, x_2000); +x_2746 = lean_nat_sub(x_2745, x_2000); +lean_dec(x_2745); +x_2747 = lean_unsigned_to_nat(1u); +x_2748 = lean_nat_sub(x_2746, x_2747); +lean_dec(x_2746); +x_2749 = l_Lean_Expr_getRevArg_x21___main(x_1997, x_2748); +lean_dec(x_1997); +x_2750 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2750, 0, x_2744); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_2733 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2732, x_2731, x_4, x_5, x_6, x_7, x_1885, x_9, x_2707); -if (lean_obj_tag(x_2733) == 0) +x_2751 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2750, x_2749, x_4, x_5, x_6, x_7, x_1897, x_9, x_2723); +if (lean_obj_tag(x_2751) == 0) { -lean_object* x_2734; lean_object* x_2735; lean_object* x_2736; lean_object* x_2737; -x_2734 = lean_ctor_get(x_2733, 0); -lean_inc(x_2734); -x_2735 = lean_ctor_get(x_2733, 1); -lean_inc(x_2735); -lean_dec(x_2733); -lean_inc(x_2734); -x_2736 = l_Lean_mkApp(x_2, x_2734); -x_2737 = lean_expr_instantiate1(x_1986, x_2734); -lean_dec(x_2734); -lean_dec(x_1986); -x_1 = x_2627; -x_2 = x_2736; -x_3 = x_2737; -x_8 = x_1885; -x_10 = x_2735; +lean_object* x_2752; lean_object* x_2753; lean_object* x_2754; lean_object* x_2755; +x_2752 = lean_ctor_get(x_2751, 0); +lean_inc(x_2752); +x_2753 = lean_ctor_get(x_2751, 1); +lean_inc(x_2753); +lean_dec(x_2751); +lean_inc(x_2752); +x_2754 = l_Lean_mkApp(x_2, x_2752); +x_2755 = lean_expr_instantiate1(x_1998, x_2752); +lean_dec(x_2752); +lean_dec(x_1998); +x_1 = x_2643; +x_2 = x_2754; +x_3 = x_2755; +x_8 = x_1897; +x_10 = x_2753; goto _start; } else { -lean_object* x_2739; lean_object* x_2740; lean_object* x_2741; lean_object* x_2742; -lean_dec(x_2627); -lean_dec(x_1986); -lean_dec(x_1885); +lean_object* x_2757; lean_object* x_2758; lean_object* x_2759; lean_object* x_2760; +lean_dec(x_2643); +lean_dec(x_1998); +lean_dec(x_1897); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2739 = lean_ctor_get(x_2733, 0); -lean_inc(x_2739); -x_2740 = lean_ctor_get(x_2733, 1); -lean_inc(x_2740); -if (lean_is_exclusive(x_2733)) { - lean_ctor_release(x_2733, 0); - lean_ctor_release(x_2733, 1); - x_2741 = x_2733; +x_2757 = lean_ctor_get(x_2751, 0); +lean_inc(x_2757); +x_2758 = lean_ctor_get(x_2751, 1); +lean_inc(x_2758); +if (lean_is_exclusive(x_2751)) { + lean_ctor_release(x_2751, 0); + lean_ctor_release(x_2751, 1); + x_2759 = x_2751; } else { - lean_dec_ref(x_2733); - x_2741 = lean_box(0); + lean_dec_ref(x_2751); + x_2759 = lean_box(0); } -if (lean_is_scalar(x_2741)) { - x_2742 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2759)) { + x_2760 = lean_alloc_ctor(1, 2, 0); } else { - x_2742 = x_2741; + x_2760 = x_2759; } -lean_ctor_set(x_2742, 0, x_2739); -lean_ctor_set(x_2742, 1, x_2740); -return x_2742; +lean_ctor_set(x_2760, 0, x_2757); +lean_ctor_set(x_2760, 1, x_2758); +return x_2760; } } } else { -lean_object* x_2743; lean_object* x_2744; -lean_dec(x_2692); -lean_dec(x_2627); -lean_dec(x_1986); -lean_dec(x_1985); +lean_object* x_2761; lean_object* x_2762; +lean_dec(x_2708); +lean_dec(x_2643); +lean_dec(x_1998); +lean_dec(x_1997); lean_dec(x_11); lean_dec(x_2); -x_2743 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; -x_2744 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2743, x_4, x_5, x_6, x_7, x_1885, x_9, x_2625); +x_2761 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__12; +x_2762 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2761, x_4, x_5, x_6, x_7, x_1897, x_9, x_2641); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2744; +return x_2762; } } } else { -lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; -lean_dec(x_1985); -lean_dec(x_1984); -lean_dec(x_1878); +lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; +lean_dec(x_1997); +lean_dec(x_1996); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_16); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); -x_2745 = lean_ctor_get(x_2630, 0); -lean_inc(x_2745); -lean_dec(x_2630); -lean_inc(x_2745); -x_2746 = l_Lean_mkApp(x_2, x_2745); -x_2747 = lean_expr_instantiate1(x_1986, x_2745); -lean_dec(x_2745); -lean_dec(x_1986); -x_1 = x_2627; -x_2 = x_2746; -x_3 = x_2747; -x_8 = x_1885; -x_10 = x_2625; +x_2763 = lean_ctor_get(x_2646, 0); +lean_inc(x_2763); +lean_dec(x_2646); +lean_inc(x_2763); +x_2764 = l_Lean_mkApp(x_2, x_2763); +x_2765 = lean_expr_instantiate1(x_1998, x_2763); +lean_dec(x_2763); +lean_dec(x_1998); +x_1 = x_2643; +x_2 = x_2764; +x_3 = x_2765; +x_8 = x_1897; +x_10 = x_2641; goto _start; } } else { -uint8_t x_2749; -lean_dec(x_2627); -lean_dec(x_1986); -lean_dec(x_1985); -x_2749 = l_Array_isEmpty___rarg(x_16); -if (x_2749 == 0) +uint8_t x_2767; +lean_dec(x_2643); +lean_dec(x_1998); +lean_dec(x_1997); +x_2767 = l_Array_isEmpty___rarg(x_16); +if (x_2767 == 0) { -lean_object* x_2750; lean_object* x_2751; lean_object* x_2752; lean_object* x_2753; lean_object* x_2754; lean_object* x_2755; lean_object* x_2756; lean_object* x_2757; lean_object* x_2758; lean_object* x_2759; lean_object* x_2760; lean_object* x_2761; lean_object* x_2762; lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; -lean_dec(x_1878); +lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; lean_object* x_2772; lean_object* x_2773; lean_object* x_2774; lean_object* x_2775; lean_object* x_2776; lean_object* x_2777; lean_object* x_2778; lean_object* x_2779; lean_object* x_2780; lean_object* x_2781; lean_object* x_2782; lean_object* x_2783; +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_17); lean_dec(x_13); lean_dec(x_11); lean_dec(x_3); lean_dec(x_2); -x_2750 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_2750, 0, x_1984); -x_2751 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; -x_2752 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2752, 0, x_2751); -lean_ctor_set(x_2752, 1, x_2750); -x_2753 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; -x_2754 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2754, 0, x_2752); -lean_ctor_set(x_2754, 1, x_2753); -x_2755 = x_16; -x_2756 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_1988, x_2755); -x_2757 = x_2756; -x_2758 = l_Array_toList___rarg(x_2757); -lean_dec(x_2757); -x_2759 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2758); -x_2760 = l_Array_HasRepr___rarg___closed__1; -x_2761 = lean_string_append(x_2760, x_2759); -lean_dec(x_2759); -x_2762 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2762, 0, x_2761); -x_2763 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2763, 0, x_2762); -x_2764 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_2764, 0, x_2754); -lean_ctor_set(x_2764, 1, x_2763); -x_2765 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2764, x_4, x_5, x_6, x_7, x_1885, x_9, x_2625); +x_2768 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_2768, 0, x_1996); +x_2769 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__6; +x_2770 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2770, 0, x_2769); +lean_ctor_set(x_2770, 1, x_2768); +x_2771 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__9; +x_2772 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2772, 0, x_2770); +lean_ctor_set(x_2772, 1, x_2771); +x_2773 = x_16; +x_2774 = l_Array_umapMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__4(x_2000, x_2773); +x_2775 = x_2774; +x_2776 = l_Array_toList___rarg(x_2775); +lean_dec(x_2775); +x_2777 = l_List_toString___at_Lean_OpenDecl_HasToString___spec__2(x_2776); +x_2778 = l_Array_HasRepr___rarg___closed__1; +x_2779 = lean_string_append(x_2778, x_2777); +lean_dec(x_2777); +x_2780 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2780, 0, x_2779); +x_2781 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2781, 0, x_2780); +x_2782 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_2782, 0, x_2772); +lean_ctor_set(x_2782, 1, x_2781); +x_2783 = l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(x_2782, x_4, x_5, x_6, x_7, x_1897, x_9, x_2641); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_2765; +return x_2783; } else { -lean_object* x_2766; uint8_t x_2767; -lean_dec(x_1984); +lean_object* x_2784; uint8_t x_2785; +lean_dec(x_1996); lean_dec(x_16); -x_2766 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_2767 = l_Lean_checkTraceOption(x_1878, x_2766); -lean_dec(x_1878); -if (x_2767 == 0) +x_2784 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_2785 = l_Lean_checkTraceOption(x_1890, x_2784); +lean_dec(x_1890); +if (x_2785 == 0) { -lean_object* x_2768; +lean_object* x_2786; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_2768 = x_2625; -goto block_2779; +x_2786 = x_2641; +goto block_2797; } else { -lean_object* x_2780; lean_object* x_2781; -x_2780 = lean_ctor_get(x_13, 0); -lean_inc(x_2780); +lean_object* x_2798; lean_object* x_2799; +x_2798 = lean_ctor_get(x_13, 0); +lean_inc(x_2798); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_2781 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2780, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2625); -if (lean_obj_tag(x_2781) == 0) +x_2799 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2798, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2641); +if (lean_obj_tag(x_2799) == 0) { -lean_object* x_2782; -x_2782 = lean_ctor_get(x_2781, 1); -lean_inc(x_2782); -lean_dec(x_2781); -x_2768 = x_2782; -goto block_2779; +lean_object* x_2800; +x_2800 = lean_ctor_get(x_2799, 1); +lean_inc(x_2800); +lean_dec(x_2799); +x_2786 = x_2800; +goto block_2797; } else { -lean_object* x_2783; lean_object* x_2784; lean_object* x_2785; lean_object* x_2786; -lean_dec(x_1885); +lean_object* x_2801; lean_object* x_2802; lean_object* x_2803; lean_object* x_2804; +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_17); lean_dec(x_11); @@ -18425,76 +18444,76 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2783 = lean_ctor_get(x_2781, 0); -lean_inc(x_2783); -x_2784 = lean_ctor_get(x_2781, 1); -lean_inc(x_2784); -if (lean_is_exclusive(x_2781)) { - lean_ctor_release(x_2781, 0); - lean_ctor_release(x_2781, 1); - x_2785 = x_2781; +x_2801 = lean_ctor_get(x_2799, 0); +lean_inc(x_2801); +x_2802 = lean_ctor_get(x_2799, 1); +lean_inc(x_2802); +if (lean_is_exclusive(x_2799)) { + lean_ctor_release(x_2799, 0); + lean_ctor_release(x_2799, 1); + x_2803 = x_2799; } else { - lean_dec_ref(x_2781); - x_2785 = lean_box(0); + lean_dec_ref(x_2799); + x_2803 = lean_box(0); } -if (lean_is_scalar(x_2785)) { - x_2786 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2803)) { + x_2804 = lean_alloc_ctor(1, 2, 0); } else { - x_2786 = x_2785; + x_2804 = x_2803; } -lean_ctor_set(x_2786, 0, x_2783); -lean_ctor_set(x_2786, 1, x_2784); -return x_2786; +lean_ctor_set(x_2804, 0, x_2801); +lean_ctor_set(x_2804, 1, x_2802); +return x_2804; } } -block_2779: +block_2797: { -lean_object* x_2769; +lean_object* x_2787; lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_2769 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2768); +x_2787 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2786); lean_dec(x_17); -if (lean_obj_tag(x_2769) == 0) +if (lean_obj_tag(x_2787) == 0) { -lean_object* x_2770; lean_object* x_2771; lean_object* x_2772; lean_object* x_2773; lean_object* x_2774; -x_2770 = lean_ctor_get(x_2769, 1); -lean_inc(x_2770); -lean_dec(x_2769); +lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; lean_object* x_2791; lean_object* x_2792; +x_2788 = lean_ctor_get(x_2787, 1); +lean_inc(x_2788); +lean_dec(x_2787); lean_inc(x_2); -x_2771 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__20(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2770); +x_2789 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__20(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2788); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_2772 = lean_ctor_get(x_2771, 1); -lean_inc(x_2772); -if (lean_is_exclusive(x_2771)) { - lean_ctor_release(x_2771, 0); - lean_ctor_release(x_2771, 1); - x_2773 = x_2771; +x_2790 = lean_ctor_get(x_2789, 1); +lean_inc(x_2790); +if (lean_is_exclusive(x_2789)) { + lean_ctor_release(x_2789, 0); + lean_ctor_release(x_2789, 1); + x_2791 = x_2789; } else { - lean_dec_ref(x_2771); - x_2773 = lean_box(0); + lean_dec_ref(x_2789); + x_2791 = lean_box(0); } -if (lean_is_scalar(x_2773)) { - x_2774 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_2791)) { + x_2792 = lean_alloc_ctor(0, 2, 0); } else { - x_2774 = x_2773; + x_2792 = x_2791; } -lean_ctor_set(x_2774, 0, x_2); -lean_ctor_set(x_2774, 1, x_2772); -return x_2774; +lean_ctor_set(x_2792, 0, x_2); +lean_ctor_set(x_2792, 1, x_2790); +return x_2792; } else { -lean_object* x_2775; lean_object* x_2776; lean_object* x_2777; lean_object* x_2778; -lean_dec(x_1885); +lean_object* x_2793; lean_object* x_2794; lean_object* x_2795; lean_object* x_2796; +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_11); lean_dec(x_9); @@ -18503,308 +18522,88 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2775 = lean_ctor_get(x_2769, 0); -lean_inc(x_2775); -x_2776 = lean_ctor_get(x_2769, 1); -lean_inc(x_2776); -if (lean_is_exclusive(x_2769)) { - lean_ctor_release(x_2769, 0); - lean_ctor_release(x_2769, 1); - x_2777 = x_2769; +x_2793 = lean_ctor_get(x_2787, 0); +lean_inc(x_2793); +x_2794 = lean_ctor_get(x_2787, 1); +lean_inc(x_2794); +if (lean_is_exclusive(x_2787)) { + lean_ctor_release(x_2787, 0); + lean_ctor_release(x_2787, 1); + x_2795 = x_2787; } else { - lean_dec_ref(x_2769); - x_2777 = lean_box(0); + lean_dec_ref(x_2787); + x_2795 = lean_box(0); } -if (lean_is_scalar(x_2777)) { - x_2778 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2795)) { + x_2796 = lean_alloc_ctor(1, 2, 0); } else { - x_2778 = x_2777; + x_2796 = x_2795; } -lean_ctor_set(x_2778, 0, x_2775); -lean_ctor_set(x_2778, 1, x_2776); -return x_2778; +lean_ctor_set(x_2796, 0, x_2793); +lean_ctor_set(x_2796, 1, x_2794); +return x_2796; } } } else { -lean_object* x_2787; lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; -lean_inc(x_2); -x_2787 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2787, 0, x_2); -x_2788 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2766, x_2787, x_4, x_5, x_6, x_7, x_1885, x_9, x_2625); -x_2789 = lean_ctor_get(x_2788, 1); -lean_inc(x_2789); -lean_dec(x_2788); -if (lean_obj_tag(x_13) == 0) -{ -lean_dec(x_3); -x_2790 = x_2789; -goto block_2801; -} -else -{ -lean_object* x_2802; lean_object* x_2803; -x_2802 = lean_ctor_get(x_13, 0); -lean_inc(x_2802); -lean_dec(x_13); -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -x_2803 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2802, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_2789); -if (lean_obj_tag(x_2803) == 0) -{ -lean_object* x_2804; -x_2804 = lean_ctor_get(x_2803, 1); -lean_inc(x_2804); -lean_dec(x_2803); -x_2790 = x_2804; -goto block_2801; -} -else -{ lean_object* x_2805; lean_object* x_2806; lean_object* x_2807; lean_object* x_2808; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2805 = lean_ctor_get(x_2803, 0); -lean_inc(x_2805); -x_2806 = lean_ctor_get(x_2803, 1); -lean_inc(x_2806); -if (lean_is_exclusive(x_2803)) { - lean_ctor_release(x_2803, 0); - lean_ctor_release(x_2803, 1); - x_2807 = x_2803; -} else { - lean_dec_ref(x_2803); - x_2807 = lean_box(0); -} -if (lean_is_scalar(x_2807)) { - x_2808 = lean_alloc_ctor(1, 2, 0); -} else { - x_2808 = x_2807; -} -lean_ctor_set(x_2808, 0, x_2805); -lean_ctor_set(x_2808, 1, x_2806); -return x_2808; -} -} -block_2801: -{ -lean_object* x_2791; -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_2791 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2790); -lean_dec(x_17); -if (lean_obj_tag(x_2791) == 0) -{ -lean_object* x_2792; lean_object* x_2793; lean_object* x_2794; lean_object* x_2795; lean_object* x_2796; -x_2792 = lean_ctor_get(x_2791, 1); -lean_inc(x_2792); -lean_dec(x_2791); lean_inc(x_2); -x_2793 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__21(x_2, x_11, x_19, x_1988, x_4, x_5, x_6, x_7, x_1885, x_9, x_2792); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_2794 = lean_ctor_get(x_2793, 1); -lean_inc(x_2794); -if (lean_is_exclusive(x_2793)) { - lean_ctor_release(x_2793, 0); - lean_ctor_release(x_2793, 1); - x_2795 = x_2793; -} else { - lean_dec_ref(x_2793); - x_2795 = lean_box(0); -} -if (lean_is_scalar(x_2795)) { - x_2796 = lean_alloc_ctor(0, 2, 0); -} else { - x_2796 = x_2795; -} -lean_ctor_set(x_2796, 0, x_2); -lean_ctor_set(x_2796, 1, x_2794); -return x_2796; -} -else +x_2805 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2805, 0, x_2); +x_2806 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_2784, x_2805, x_4, x_5, x_6, x_7, x_1897, x_9, x_2641); +x_2807 = lean_ctor_get(x_2806, 1); +lean_inc(x_2807); +lean_dec(x_2806); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_2797; lean_object* x_2798; lean_object* x_2799; lean_object* x_2800; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2797 = lean_ctor_get(x_2791, 0); -lean_inc(x_2797); -x_2798 = lean_ctor_get(x_2791, 1); -lean_inc(x_2798); -if (lean_is_exclusive(x_2791)) { - lean_ctor_release(x_2791, 0); - lean_ctor_release(x_2791, 1); - x_2799 = x_2791; -} else { - lean_dec_ref(x_2791); - x_2799 = lean_box(0); -} -if (lean_is_scalar(x_2799)) { - x_2800 = lean_alloc_ctor(1, 2, 0); -} else { - x_2800 = x_2799; -} -lean_ctor_set(x_2800, 0, x_2797); -lean_ctor_set(x_2800, 1, x_2798); -return x_2800; -} -} -} -} -} -} -else -{ -lean_object* x_2809; lean_object* x_2810; -lean_dec(x_2627); -lean_dec(x_1984); -lean_dec(x_1878); lean_dec(x_3); -x_2809 = lean_array_fget(x_12, x_15); -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_2); -x_2810 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2809, x_1985, x_4, x_5, x_6, x_7, x_1885, x_9, x_2625); -if (lean_obj_tag(x_2810) == 0) -{ -lean_object* x_2811; lean_object* x_2812; lean_object* x_2813; lean_object* x_2814; lean_object* x_2815; lean_object* x_2816; lean_object* x_2817; -x_2811 = lean_ctor_get(x_2810, 0); -lean_inc(x_2811); -x_2812 = lean_ctor_get(x_2810, 1); -lean_inc(x_2812); -lean_dec(x_2810); -x_2813 = lean_unsigned_to_nat(1u); -x_2814 = lean_nat_add(x_15, x_2813); -lean_dec(x_15); -x_2815 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_2815, 0, x_11); -lean_ctor_set(x_2815, 1, x_12); -lean_ctor_set(x_2815, 2, x_13); -lean_ctor_set(x_2815, 3, x_2814); -lean_ctor_set(x_2815, 4, x_16); -lean_ctor_set(x_2815, 5, x_17); -lean_ctor_set(x_2815, 6, x_18); -lean_ctor_set(x_2815, 7, x_19); -lean_ctor_set_uint8(x_2815, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2815, sizeof(void*)*8 + 1, x_2626); -lean_inc(x_2811); -x_2816 = l_Lean_mkApp(x_2, x_2811); -x_2817 = lean_expr_instantiate1(x_1986, x_2811); -lean_dec(x_2811); -lean_dec(x_1986); -x_1 = x_2815; -x_2 = x_2816; -x_3 = x_2817; -x_8 = x_1885; -x_10 = x_2812; -goto _start; +x_2808 = x_2807; +goto block_2819; } else { -lean_object* x_2819; lean_object* x_2820; lean_object* x_2821; lean_object* x_2822; -lean_dec(x_1986); -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_2819 = lean_ctor_get(x_2810, 0); -lean_inc(x_2819); -x_2820 = lean_ctor_get(x_2810, 1); +lean_object* x_2820; lean_object* x_2821; +x_2820 = lean_ctor_get(x_13, 0); lean_inc(x_2820); -if (lean_is_exclusive(x_2810)) { - lean_ctor_release(x_2810, 0); - lean_ctor_release(x_2810, 1); - x_2821 = x_2810; -} else { - lean_dec_ref(x_2810); - x_2821 = lean_box(0); -} -if (lean_is_scalar(x_2821)) { - x_2822 = lean_alloc_ctor(1, 2, 0); -} else { - x_2822 = x_2821; -} -lean_ctor_set(x_2822, 0, x_2819); -lean_ctor_set(x_2822, 1, x_2820); -return x_2822; -} -} +lean_dec(x_13); +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +x_2821 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_2820, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_2807); +if (lean_obj_tag(x_2821) == 0) +{ +lean_object* x_2822; +x_2822 = lean_ctor_get(x_2821, 1); +lean_inc(x_2822); +lean_dec(x_2821); +x_2808 = x_2822; +goto block_2819; } else { lean_object* x_2823; lean_object* x_2824; lean_object* x_2825; lean_object* x_2826; -lean_dec(x_2624); -lean_dec(x_1986); -lean_dec(x_1985); -lean_dec(x_1984); -lean_dec(x_1885); -lean_dec(x_1878); +lean_dec(x_1897); lean_dec(x_19); -lean_dec(x_18); lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_2); -x_2823 = lean_ctor_get(x_2623, 0); +x_2823 = lean_ctor_get(x_2821, 0); lean_inc(x_2823); -x_2824 = lean_ctor_get(x_2623, 1); +x_2824 = lean_ctor_get(x_2821, 1); lean_inc(x_2824); -if (lean_is_exclusive(x_2623)) { - lean_ctor_release(x_2623, 0); - lean_ctor_release(x_2623, 1); - x_2825 = x_2623; +if (lean_is_exclusive(x_2821)) { + lean_ctor_release(x_2821, 0); + lean_ctor_release(x_2821, 1); + x_2825 = x_2821; } else { - lean_dec_ref(x_2623); + lean_dec_ref(x_2821); x_2825 = lean_box(0); } if (lean_is_scalar(x_2825)) { @@ -18817,46 +18616,266 @@ lean_ctor_set(x_2826, 1, x_2824); return x_2826; } } +block_2819: +{ +lean_object* x_2809; +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_2809 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2808); +lean_dec(x_17); +if (lean_obj_tag(x_2809) == 0) +{ +lean_object* x_2810; lean_object* x_2811; lean_object* x_2812; lean_object* x_2813; lean_object* x_2814; +x_2810 = lean_ctor_get(x_2809, 1); +lean_inc(x_2810); +lean_dec(x_2809); +lean_inc(x_2); +x_2811 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__21(x_2, x_11, x_19, x_2000, x_4, x_5, x_6, x_7, x_1897, x_9, x_2810); +lean_dec(x_9); +lean_dec(x_1897); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_19); +x_2812 = lean_ctor_get(x_2811, 1); +lean_inc(x_2812); +if (lean_is_exclusive(x_2811)) { + lean_ctor_release(x_2811, 0); + lean_ctor_release(x_2811, 1); + x_2813 = x_2811; +} else { + lean_dec_ref(x_2811); + x_2813 = lean_box(0); +} +if (lean_is_scalar(x_2813)) { + x_2814 = lean_alloc_ctor(0, 2, 0); +} else { + x_2814 = x_2813; +} +lean_ctor_set(x_2814, 0, x_2); +lean_ctor_set(x_2814, 1, x_2812); +return x_2814; +} +else +{ +lean_object* x_2815; lean_object* x_2816; lean_object* x_2817; lean_object* x_2818; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2815 = lean_ctor_get(x_2809, 0); +lean_inc(x_2815); +x_2816 = lean_ctor_get(x_2809, 1); +lean_inc(x_2816); +if (lean_is_exclusive(x_2809)) { + lean_ctor_release(x_2809, 0); + lean_ctor_release(x_2809, 1); + x_2817 = x_2809; +} else { + lean_dec_ref(x_2809); + x_2817 = lean_box(0); +} +if (lean_is_scalar(x_2817)) { + x_2818 = lean_alloc_ctor(1, 2, 0); +} else { + x_2818 = x_2817; +} +lean_ctor_set(x_2818, 0, x_2815); +lean_ctor_set(x_2818, 1, x_2816); +return x_2818; +} +} +} +} } } else { -lean_object* x_2827; lean_object* x_2828; lean_object* x_2829; lean_object* x_2830; lean_object* x_2831; lean_object* x_2832; -lean_dec(x_1984); -lean_dec(x_1878); +lean_object* x_2827; lean_object* x_2828; +lean_dec(x_2643); +lean_dec(x_1996); +lean_dec(x_1890); lean_dec(x_3); -x_2827 = lean_ctor_get(x_1989, 0); -lean_inc(x_2827); -lean_dec(x_1989); -x_2828 = l_Lean_Elab_Term_NamedArg_inhabited; -x_2829 = lean_array_get(x_2828, x_16, x_2827); -x_2830 = l_Array_eraseIdx___rarg(x_16, x_2827); -lean_dec(x_2827); -x_2831 = lean_ctor_get(x_2829, 1); -lean_inc(x_2831); -lean_dec(x_2829); +x_2827 = lean_array_fget(x_12, x_15); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_2832 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2831, x_1985, x_4, x_5, x_6, x_7, x_1885, x_9, x_1888); -if (lean_obj_tag(x_2832) == 0) +x_2828 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2827, x_1997, x_4, x_5, x_6, x_7, x_1897, x_9, x_2641); +if (lean_obj_tag(x_2828) == 0) { -lean_object* x_2833; lean_object* x_2834; lean_object* x_2835; lean_object* x_2836; -x_2833 = lean_ctor_get(x_2832, 0); -lean_inc(x_2833); -x_2834 = lean_ctor_get(x_2832, 1); -lean_inc(x_2834); -lean_dec(x_2832); +lean_object* x_2829; lean_object* x_2830; lean_object* x_2831; lean_object* x_2832; lean_object* x_2833; lean_object* x_2834; lean_object* x_2835; +x_2829 = lean_ctor_get(x_2828, 0); +lean_inc(x_2829); +x_2830 = lean_ctor_get(x_2828, 1); +lean_inc(x_2830); +lean_dec(x_2828); +x_2831 = lean_unsigned_to_nat(1u); +x_2832 = lean_nat_add(x_15, x_2831); +lean_dec(x_15); +x_2833 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_2833, 0, x_11); +lean_ctor_set(x_2833, 1, x_12); +lean_ctor_set(x_2833, 2, x_13); +lean_ctor_set(x_2833, 3, x_2832); +lean_ctor_set(x_2833, 4, x_16); +lean_ctor_set(x_2833, 5, x_17); +lean_ctor_set(x_2833, 6, x_18); +lean_ctor_set(x_2833, 7, x_19); +lean_ctor_set_uint8(x_2833, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2833, sizeof(void*)*8 + 1, x_2642); +lean_inc(x_2829); +x_2834 = l_Lean_mkApp(x_2, x_2829); +x_2835 = lean_expr_instantiate1(x_1998, x_2829); +lean_dec(x_2829); +lean_dec(x_1998); +x_1 = x_2833; +x_2 = x_2834; +x_3 = x_2835; +x_8 = x_1897; +x_10 = x_2830; +goto _start; +} +else +{ +lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; +lean_dec(x_1998); +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_2837 = lean_ctor_get(x_2828, 0); +lean_inc(x_2837); +x_2838 = lean_ctor_get(x_2828, 1); +lean_inc(x_2838); +if (lean_is_exclusive(x_2828)) { + lean_ctor_release(x_2828, 0); + lean_ctor_release(x_2828, 1); + x_2839 = x_2828; +} else { + lean_dec_ref(x_2828); + x_2839 = lean_box(0); +} +if (lean_is_scalar(x_2839)) { + x_2840 = lean_alloc_ctor(1, 2, 0); +} else { + x_2840 = x_2839; +} +lean_ctor_set(x_2840, 0, x_2837); +lean_ctor_set(x_2840, 1, x_2838); +return x_2840; +} +} +} +else +{ +lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; lean_object* x_2844; +lean_dec(x_2640); +lean_dec(x_1998); +lean_dec(x_1997); +lean_dec(x_1996); +lean_dec(x_1897); +lean_dec(x_1890); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_2841 = lean_ctor_get(x_2639, 0); +lean_inc(x_2841); +x_2842 = lean_ctor_get(x_2639, 1); +lean_inc(x_2842); +if (lean_is_exclusive(x_2639)) { + lean_ctor_release(x_2639, 0); + lean_ctor_release(x_2639, 1); + x_2843 = x_2639; +} else { + lean_dec_ref(x_2639); + x_2843 = lean_box(0); +} +if (lean_is_scalar(x_2843)) { + x_2844 = lean_alloc_ctor(1, 2, 0); +} else { + x_2844 = x_2843; +} +lean_ctor_set(x_2844, 0, x_2841); +lean_ctor_set(x_2844, 1, x_2842); +return x_2844; +} +} +} +} +else +{ +lean_object* x_2845; lean_object* x_2846; lean_object* x_2847; lean_object* x_2848; lean_object* x_2849; lean_object* x_2850; +lean_dec(x_1996); +lean_dec(x_1890); +lean_dec(x_3); +x_2845 = lean_ctor_get(x_2001, 0); +lean_inc(x_2845); +lean_dec(x_2001); +x_2846 = l_Lean_Elab_Term_NamedArg_inhabited; +x_2847 = lean_array_get(x_2846, x_16, x_2845); +x_2848 = l_Array_eraseIdx___rarg(x_16, x_2845); +lean_dec(x_2845); +x_2849 = lean_ctor_get(x_2847, 1); +lean_inc(x_2849); +lean_dec(x_2847); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_2); +x_2850 = l___private_Lean_Elab_App_2__elabArg(x_2, x_2849, x_1997, x_4, x_5, x_6, x_7, x_1897, x_9, x_1900); +if (lean_obj_tag(x_2850) == 0) +{ +lean_object* x_2851; lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; +x_2851 = lean_ctor_get(x_2850, 0); +lean_inc(x_2851); +x_2852 = lean_ctor_get(x_2850, 1); +lean_inc(x_2852); +lean_dec(x_2850); +lean_inc(x_9); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); -x_2835 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1887, x_4, x_5, x_6, x_7, x_1885, x_9, x_2834); +x_2853 = l___private_Lean_Elab_App_7__propagateExpectedType(x_1, x_1899, x_4, x_5, x_6, x_7, x_1897, x_9, x_2852); if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); @@ -18866,53 +18885,53 @@ if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 5); lean_ctor_release(x_1, 6); lean_ctor_release(x_1, 7); - x_2836 = x_1; + x_2854 = x_1; } else { lean_dec_ref(x_1); - x_2836 = lean_box(0); + x_2854 = lean_box(0); } -if (lean_obj_tag(x_2835) == 0) +if (lean_obj_tag(x_2853) == 0) { -lean_object* x_2837; uint8_t x_2838; lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; -x_2837 = lean_ctor_get(x_2835, 1); -lean_inc(x_2837); -lean_dec(x_2835); -x_2838 = 1; -if (lean_is_scalar(x_2836)) { - x_2839 = lean_alloc_ctor(0, 8, 2); +lean_object* x_2855; uint8_t x_2856; lean_object* x_2857; lean_object* x_2858; lean_object* x_2859; +x_2855 = lean_ctor_get(x_2853, 1); +lean_inc(x_2855); +lean_dec(x_2853); +x_2856 = 1; +if (lean_is_scalar(x_2854)) { + x_2857 = lean_alloc_ctor(0, 8, 2); } else { - x_2839 = x_2836; + x_2857 = x_2854; } -lean_ctor_set(x_2839, 0, x_11); -lean_ctor_set(x_2839, 1, x_12); -lean_ctor_set(x_2839, 2, x_13); -lean_ctor_set(x_2839, 3, x_15); -lean_ctor_set(x_2839, 4, x_2830); -lean_ctor_set(x_2839, 5, x_17); -lean_ctor_set(x_2839, 6, x_18); -lean_ctor_set(x_2839, 7, x_19); -lean_ctor_set_uint8(x_2839, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_2839, sizeof(void*)*8 + 1, x_2838); -lean_inc(x_2833); -x_2840 = l_Lean_mkApp(x_2, x_2833); -x_2841 = lean_expr_instantiate1(x_1986, x_2833); -lean_dec(x_2833); -lean_dec(x_1986); -x_1 = x_2839; -x_2 = x_2840; -x_3 = x_2841; -x_8 = x_1885; -x_10 = x_2837; +lean_ctor_set(x_2857, 0, x_11); +lean_ctor_set(x_2857, 1, x_12); +lean_ctor_set(x_2857, 2, x_13); +lean_ctor_set(x_2857, 3, x_15); +lean_ctor_set(x_2857, 4, x_2848); +lean_ctor_set(x_2857, 5, x_17); +lean_ctor_set(x_2857, 6, x_18); +lean_ctor_set(x_2857, 7, x_19); +lean_ctor_set_uint8(x_2857, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_2857, sizeof(void*)*8 + 1, x_2856); +lean_inc(x_2851); +x_2858 = l_Lean_mkApp(x_2, x_2851); +x_2859 = lean_expr_instantiate1(x_1998, x_2851); +lean_dec(x_2851); +lean_dec(x_1998); +x_1 = x_2857; +x_2 = x_2858; +x_3 = x_2859; +x_8 = x_1897; +x_10 = x_2855; goto _start; } else { -lean_object* x_2843; lean_object* x_2844; lean_object* x_2845; lean_object* x_2846; -lean_dec(x_2836); -lean_dec(x_2833); -lean_dec(x_2830); -lean_dec(x_1986); -lean_dec(x_1885); +lean_object* x_2861; lean_object* x_2862; lean_object* x_2863; lean_object* x_2864; +lean_dec(x_2854); +lean_dec(x_2851); +lean_dec(x_2848); +lean_dec(x_1998); +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -18926,35 +18945,35 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_2843 = lean_ctor_get(x_2835, 0); -lean_inc(x_2843); -x_2844 = lean_ctor_get(x_2835, 1); -lean_inc(x_2844); -if (lean_is_exclusive(x_2835)) { - lean_ctor_release(x_2835, 0); - lean_ctor_release(x_2835, 1); - x_2845 = x_2835; +x_2861 = lean_ctor_get(x_2853, 0); +lean_inc(x_2861); +x_2862 = lean_ctor_get(x_2853, 1); +lean_inc(x_2862); +if (lean_is_exclusive(x_2853)) { + lean_ctor_release(x_2853, 0); + lean_ctor_release(x_2853, 1); + x_2863 = x_2853; } else { - lean_dec_ref(x_2835); - x_2845 = lean_box(0); + lean_dec_ref(x_2853); + x_2863 = lean_box(0); } -if (lean_is_scalar(x_2845)) { - x_2846 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2863)) { + x_2864 = lean_alloc_ctor(1, 2, 0); } else { - x_2846 = x_2845; + x_2864 = x_2863; } -lean_ctor_set(x_2846, 0, x_2843); -lean_ctor_set(x_2846, 1, x_2844); -return x_2846; +lean_ctor_set(x_2864, 0, x_2861); +lean_ctor_set(x_2864, 1, x_2862); +return x_2864; } } else { -lean_object* x_2847; lean_object* x_2848; lean_object* x_2849; lean_object* x_2850; -lean_dec(x_2830); -lean_dec(x_1986); -lean_dec(x_1887); -lean_dec(x_1885); +lean_object* x_2865; lean_object* x_2866; lean_object* x_2867; lean_object* x_2868; +lean_dec(x_2848); +lean_dec(x_1998); +lean_dec(x_1899); +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -18969,110 +18988,110 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_2847 = lean_ctor_get(x_2832, 0); -lean_inc(x_2847); -x_2848 = lean_ctor_get(x_2832, 1); -lean_inc(x_2848); -if (lean_is_exclusive(x_2832)) { - lean_ctor_release(x_2832, 0); - lean_ctor_release(x_2832, 1); - x_2849 = x_2832; +x_2865 = lean_ctor_get(x_2850, 0); +lean_inc(x_2865); +x_2866 = lean_ctor_get(x_2850, 1); +lean_inc(x_2866); +if (lean_is_exclusive(x_2850)) { + lean_ctor_release(x_2850, 0); + lean_ctor_release(x_2850, 1); + x_2867 = x_2850; } else { - lean_dec_ref(x_2832); - x_2849 = lean_box(0); + lean_dec_ref(x_2850); + x_2867 = lean_box(0); } -if (lean_is_scalar(x_2849)) { - x_2850 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2867)) { + x_2868 = lean_alloc_ctor(1, 2, 0); } else { - x_2850 = x_2849; + x_2868 = x_2867; } -lean_ctor_set(x_2850, 0, x_2847); -lean_ctor_set(x_2850, 1, x_2848); -return x_2850; +lean_ctor_set(x_2868, 0, x_2865); +lean_ctor_set(x_2868, 1, x_2866); +return x_2868; } } } else { -lean_object* x_2851; +lean_object* x_2869; lean_dec(x_1); -x_2851 = lean_box(0); -x_1889 = x_2851; -goto block_1983; +x_2869 = lean_box(0); +x_1901 = x_2869; +goto block_1995; } -block_1983: +block_1995: { -lean_object* x_1890; uint8_t x_1933; -lean_dec(x_1889); -x_1933 = l_Array_isEmpty___rarg(x_16); -if (x_1933 == 0) +lean_object* x_1902; uint8_t x_1945; +lean_dec(x_1901); +x_1945 = l_Array_isEmpty___rarg(x_16); +if (x_1945 == 0) { -lean_object* x_1934; -lean_dec(x_1878); +lean_object* x_1946; +lean_dec(x_1890); lean_dec(x_3); -x_1934 = lean_box(0); -x_1890 = x_1934; -goto block_1932; +x_1946 = lean_box(0); +x_1902 = x_1946; +goto block_1944; } else { -lean_object* x_1935; uint8_t x_1936; -x_1935 = lean_array_get_size(x_12); -x_1936 = lean_nat_dec_eq(x_15, x_1935); -lean_dec(x_1935); -if (x_1936 == 0) +lean_object* x_1947; uint8_t x_1948; +x_1947 = lean_array_get_size(x_12); +x_1948 = lean_nat_dec_eq(x_15, x_1947); +lean_dec(x_1947); +if (x_1948 == 0) { -lean_object* x_1937; -lean_dec(x_1878); +lean_object* x_1949; +lean_dec(x_1890); lean_dec(x_3); -x_1937 = lean_box(0); -x_1890 = x_1937; -goto block_1932; +x_1949 = lean_box(0); +x_1902 = x_1949; +goto block_1944; } else { -lean_object* x_1938; uint8_t x_1939; -lean_dec(x_1887); +lean_object* x_1950; uint8_t x_1951; +lean_dec(x_1899); lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); lean_dec(x_12); -x_1938 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; -x_1939 = l_Lean_checkTraceOption(x_1878, x_1938); -lean_dec(x_1878); -if (x_1939 == 0) +x_1950 = l___private_Lean_Elab_App_9__elabAppArgsAux___main___closed__3; +x_1951 = l_Lean_checkTraceOption(x_1890, x_1950); +lean_dec(x_1890); +if (x_1951 == 0) { -lean_object* x_1940; +lean_object* x_1952; if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_1940 = x_1888; -goto block_1952; +x_1952 = x_1900; +goto block_1964; } else { -lean_object* x_1953; lean_object* x_1954; -x_1953 = lean_ctor_get(x_13, 0); -lean_inc(x_1953); +lean_object* x_1965; lean_object* x_1966; +x_1965 = lean_ctor_get(x_13, 0); +lean_inc(x_1965); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_1954 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1953, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_1888); -if (lean_obj_tag(x_1954) == 0) +x_1966 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1965, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_1900); +if (lean_obj_tag(x_1966) == 0) { -lean_object* x_1955; -x_1955 = lean_ctor_get(x_1954, 1); -lean_inc(x_1955); -lean_dec(x_1954); -x_1940 = x_1955; -goto block_1952; +lean_object* x_1967; +x_1967 = lean_ctor_get(x_1966, 1); +lean_inc(x_1967); +lean_dec(x_1966); +x_1952 = x_1967; +goto block_1964; } else { -lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; -lean_dec(x_1885); +lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_17); lean_dec(x_11); @@ -19082,228 +19101,228 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1956 = lean_ctor_get(x_1954, 0); -lean_inc(x_1956); -x_1957 = lean_ctor_get(x_1954, 1); -lean_inc(x_1957); -if (lean_is_exclusive(x_1954)) { - lean_ctor_release(x_1954, 0); - lean_ctor_release(x_1954, 1); - x_1958 = x_1954; +x_1968 = lean_ctor_get(x_1966, 0); +lean_inc(x_1968); +x_1969 = lean_ctor_get(x_1966, 1); +lean_inc(x_1969); +if (lean_is_exclusive(x_1966)) { + lean_ctor_release(x_1966, 0); + lean_ctor_release(x_1966, 1); + x_1970 = x_1966; } else { - lean_dec_ref(x_1954); - x_1958 = lean_box(0); + lean_dec_ref(x_1966); + x_1970 = lean_box(0); } -if (lean_is_scalar(x_1958)) { - x_1959 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1970)) { + x_1971 = lean_alloc_ctor(1, 2, 0); } else { - x_1959 = x_1958; + x_1971 = x_1970; } -lean_ctor_set(x_1959, 0, x_1956); -lean_ctor_set(x_1959, 1, x_1957); -return x_1959; +lean_ctor_set(x_1971, 0, x_1968); +lean_ctor_set(x_1971, 1, x_1969); +return x_1971; } } -block_1952: +block_1964: { -lean_object* x_1941; lean_object* x_1942; -x_1941 = lean_unsigned_to_nat(0u); +lean_object* x_1953; lean_object* x_1954; +x_1953 = lean_unsigned_to_nat(0u); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_1942 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1941, x_4, x_5, x_6, x_7, x_1885, x_9, x_1940); +x_1954 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1953, x_4, x_5, x_6, x_7, x_1897, x_9, x_1952); lean_dec(x_17); -if (lean_obj_tag(x_1942) == 0) +if (lean_obj_tag(x_1954) == 0) { -lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; -x_1943 = lean_ctor_get(x_1942, 1); -lean_inc(x_1943); -lean_dec(x_1942); +lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; +x_1955 = lean_ctor_get(x_1954, 1); +lean_inc(x_1955); +lean_dec(x_1954); lean_inc(x_2); -x_1944 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__1(x_2, x_11, x_19, x_1941, x_4, x_5, x_6, x_7, x_1885, x_9, x_1943); +x_1956 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__1(x_2, x_11, x_19, x_1953, x_4, x_5, x_6, x_7, x_1897, x_9, x_1955); lean_dec(x_9); -lean_dec(x_1885); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_19); -x_1945 = lean_ctor_get(x_1944, 1); -lean_inc(x_1945); -if (lean_is_exclusive(x_1944)) { - lean_ctor_release(x_1944, 0); - lean_ctor_release(x_1944, 1); - x_1946 = x_1944; +x_1957 = lean_ctor_get(x_1956, 1); +lean_inc(x_1957); +if (lean_is_exclusive(x_1956)) { + lean_ctor_release(x_1956, 0); + lean_ctor_release(x_1956, 1); + x_1958 = x_1956; } else { - lean_dec_ref(x_1944); - x_1946 = lean_box(0); + lean_dec_ref(x_1956); + x_1958 = lean_box(0); } -if (lean_is_scalar(x_1946)) { - x_1947 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_1958)) { + x_1959 = lean_alloc_ctor(0, 2, 0); } else { - x_1947 = x_1946; -} -lean_ctor_set(x_1947, 0, x_2); -lean_ctor_set(x_1947, 1, x_1945); -return x_1947; -} -else -{ -lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1948 = lean_ctor_get(x_1942, 0); -lean_inc(x_1948); -x_1949 = lean_ctor_get(x_1942, 1); -lean_inc(x_1949); -if (lean_is_exclusive(x_1942)) { - lean_ctor_release(x_1942, 0); - lean_ctor_release(x_1942, 1); - x_1950 = x_1942; -} else { - lean_dec_ref(x_1942); - x_1950 = lean_box(0); -} -if (lean_is_scalar(x_1950)) { - x_1951 = lean_alloc_ctor(1, 2, 0); -} else { - x_1951 = x_1950; -} -lean_ctor_set(x_1951, 0, x_1948); -lean_ctor_set(x_1951, 1, x_1949); -return x_1951; -} + x_1959 = x_1958; } +lean_ctor_set(x_1959, 0, x_2); +lean_ctor_set(x_1959, 1, x_1957); +return x_1959; } else { lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1960 = lean_ctor_get(x_1954, 0); +lean_inc(x_1960); +x_1961 = lean_ctor_get(x_1954, 1); +lean_inc(x_1961); +if (lean_is_exclusive(x_1954)) { + lean_ctor_release(x_1954, 0); + lean_ctor_release(x_1954, 1); + x_1962 = x_1954; +} else { + lean_dec_ref(x_1954); + x_1962 = lean_box(0); +} +if (lean_is_scalar(x_1962)) { + x_1963 = lean_alloc_ctor(1, 2, 0); +} else { + x_1963 = x_1962; +} +lean_ctor_set(x_1963, 0, x_1960); +lean_ctor_set(x_1963, 1, x_1961); +return x_1963; +} +} +} +else +{ +lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_inc(x_2); -x_1960 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_1960, 0, x_2); -x_1961 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1938, x_1960, x_4, x_5, x_6, x_7, x_1885, x_9, x_1888); -x_1962 = lean_ctor_get(x_1961, 1); -lean_inc(x_1962); -lean_dec(x_1961); +x_1972 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_1972, 0, x_2); +x_1973 = l_Lean_Elab_logTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_1950, x_1972, x_4, x_5, x_6, x_7, x_1897, x_9, x_1900); +x_1974 = lean_ctor_get(x_1973, 1); +lean_inc(x_1974); +lean_dec(x_1973); if (lean_obj_tag(x_13) == 0) { lean_dec(x_3); -x_1963 = x_1962; -goto block_1975; +x_1975 = x_1974; +goto block_1987; } else { -lean_object* x_1976; lean_object* x_1977; -x_1976 = lean_ctor_get(x_13, 0); -lean_inc(x_1976); +lean_object* x_1988; lean_object* x_1989; +x_1988 = lean_ctor_get(x_13, 0); +lean_inc(x_1988); lean_dec(x_13); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_1977 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1976, x_3, x_4, x_5, x_6, x_7, x_1885, x_9, x_1962); +x_1989 = l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_isDefEqNoConstantApprox___spec__1(x_1988, x_3, x_4, x_5, x_6, x_7, x_1897, x_9, x_1974); +if (lean_obj_tag(x_1989) == 0) +{ +lean_object* x_1990; +x_1990 = lean_ctor_get(x_1989, 1); +lean_inc(x_1990); +lean_dec(x_1989); +x_1975 = x_1990; +goto block_1987; +} +else +{ +lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_17); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1991 = lean_ctor_get(x_1989, 0); +lean_inc(x_1991); +x_1992 = lean_ctor_get(x_1989, 1); +lean_inc(x_1992); +if (lean_is_exclusive(x_1989)) { + lean_ctor_release(x_1989, 0); + lean_ctor_release(x_1989, 1); + x_1993 = x_1989; +} else { + lean_dec_ref(x_1989); + x_1993 = lean_box(0); +} +if (lean_is_scalar(x_1993)) { + x_1994 = lean_alloc_ctor(1, 2, 0); +} else { + x_1994 = x_1993; +} +lean_ctor_set(x_1994, 0, x_1991); +lean_ctor_set(x_1994, 1, x_1992); +return x_1994; +} +} +block_1987: +{ +lean_object* x_1976; lean_object* x_1977; +x_1976 = lean_unsigned_to_nat(0u); +lean_inc(x_9); +lean_inc(x_1897); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_4); +x_1977 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1976, x_4, x_5, x_6, x_7, x_1897, x_9, x_1975); +lean_dec(x_17); if (lean_obj_tag(x_1977) == 0) { -lean_object* x_1978; +lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; x_1978 = lean_ctor_get(x_1977, 1); lean_inc(x_1978); lean_dec(x_1977); -x_1963 = x_1978; -goto block_1975; -} -else -{ -lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_17); -lean_dec(x_11); +lean_inc(x_2); +x_1979 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__2(x_2, x_11, x_19, x_1976, x_4, x_5, x_6, x_7, x_1897, x_9, x_1978); lean_dec(x_9); +lean_dec(x_1897); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -x_1979 = lean_ctor_get(x_1977, 0); -lean_inc(x_1979); -x_1980 = lean_ctor_get(x_1977, 1); +lean_dec(x_19); +x_1980 = lean_ctor_get(x_1979, 1); lean_inc(x_1980); -if (lean_is_exclusive(x_1977)) { - lean_ctor_release(x_1977, 0); - lean_ctor_release(x_1977, 1); - x_1981 = x_1977; +if (lean_is_exclusive(x_1979)) { + lean_ctor_release(x_1979, 0); + lean_ctor_release(x_1979, 1); + x_1981 = x_1979; } else { - lean_dec_ref(x_1977); + lean_dec_ref(x_1979); x_1981 = lean_box(0); } if (lean_is_scalar(x_1981)) { - x_1982 = lean_alloc_ctor(1, 2, 0); + x_1982 = lean_alloc_ctor(0, 2, 0); } else { x_1982 = x_1981; } -lean_ctor_set(x_1982, 0, x_1979); +lean_ctor_set(x_1982, 0, x_2); lean_ctor_set(x_1982, 1, x_1980); return x_1982; } -} -block_1975: -{ -lean_object* x_1964; lean_object* x_1965; -x_1964 = lean_unsigned_to_nat(0u); -lean_inc(x_9); -lean_inc(x_1885); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_4); -x_1965 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1964, x_4, x_5, x_6, x_7, x_1885, x_9, x_1963); -lean_dec(x_17); -if (lean_obj_tag(x_1965) == 0) -{ -lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; -x_1966 = lean_ctor_get(x_1965, 1); -lean_inc(x_1966); -lean_dec(x_1965); -lean_inc(x_2); -x_1967 = l_Array_forMAux___main___at___private_Lean_Elab_App_9__elabAppArgsAux___main___spec__2(x_2, x_11, x_19, x_1964, x_4, x_5, x_6, x_7, x_1885, x_9, x_1966); -lean_dec(x_9); -lean_dec(x_1885); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_19); -x_1968 = lean_ctor_get(x_1967, 1); -lean_inc(x_1968); -if (lean_is_exclusive(x_1967)) { - lean_ctor_release(x_1967, 0); - lean_ctor_release(x_1967, 1); - x_1969 = x_1967; -} else { - lean_dec_ref(x_1967); - x_1969 = lean_box(0); -} -if (lean_is_scalar(x_1969)) { - x_1970 = lean_alloc_ctor(0, 2, 0); -} else { - x_1970 = x_1969; -} -lean_ctor_set(x_1970, 0, x_2); -lean_ctor_set(x_1970, 1, x_1968); -return x_1970; -} else { -lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; -lean_dec(x_1885); +lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; +lean_dec(x_1897); lean_dec(x_19); lean_dec(x_11); lean_dec(x_9); @@ -19312,266 +19331,160 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_1971 = lean_ctor_get(x_1965, 0); -lean_inc(x_1971); -x_1972 = lean_ctor_get(x_1965, 1); -lean_inc(x_1972); -if (lean_is_exclusive(x_1965)) { - lean_ctor_release(x_1965, 0); - lean_ctor_release(x_1965, 1); - x_1973 = x_1965; +x_1983 = lean_ctor_get(x_1977, 0); +lean_inc(x_1983); +x_1984 = lean_ctor_get(x_1977, 1); +lean_inc(x_1984); +if (lean_is_exclusive(x_1977)) { + lean_ctor_release(x_1977, 0); + lean_ctor_release(x_1977, 1); + x_1985 = x_1977; } else { - lean_dec_ref(x_1965); - x_1973 = lean_box(0); + lean_dec_ref(x_1977); + x_1985 = lean_box(0); } -if (lean_is_scalar(x_1973)) { - x_1974 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1985)) { + x_1986 = lean_alloc_ctor(1, 2, 0); } else { - x_1974 = x_1973; + x_1986 = x_1985; } -lean_ctor_set(x_1974, 0, x_1971); -lean_ctor_set(x_1974, 1, x_1972); -return x_1974; +lean_ctor_set(x_1986, 0, x_1983); +lean_ctor_set(x_1986, 1, x_1984); +return x_1986; } } } } } -block_1932: +block_1944: { -lean_object* x_1891; lean_object* x_1892; -lean_dec(x_1890); -x_1891 = lean_unsigned_to_nat(0u); +lean_object* x_1903; lean_object* x_1904; +lean_dec(x_1902); +x_1903 = lean_unsigned_to_nat(0u); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_1892 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1891, x_4, x_5, x_6, x_7, x_1885, x_9, x_1888); +x_1904 = l_Array_forMAux___main___at_Lean_Elab_Term_synthesizeAppInstMVars___spec__1(x_17, x_1903, x_4, x_5, x_6, x_7, x_1897, x_9, x_1900); lean_dec(x_17); -if (lean_obj_tag(x_1892) == 0) +if (lean_obj_tag(x_1904) == 0) { -lean_object* x_1893; uint8_t x_1894; lean_object* x_1895; lean_object* x_1896; -x_1893 = lean_ctor_get(x_1892, 1); -lean_inc(x_1893); -lean_dec(x_1892); -x_1894 = 1; -x_1895 = lean_box(0); +lean_object* x_1905; uint8_t x_1906; lean_object* x_1907; lean_object* x_1908; +x_1905 = lean_ctor_get(x_1904, 1); +lean_inc(x_1905); +lean_dec(x_1904); +x_1906 = 1; +x_1907 = lean_box(0); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_1896 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_1894, x_1895, x_4, x_5, x_6, x_7, x_1885, x_9, x_1893); -if (lean_obj_tag(x_1896) == 0) +x_1908 = l___private_Lean_Elab_SyntheticMVars_11__synthesizeSyntheticMVarsAux___main(x_1906, x_1907, x_4, x_5, x_6, x_7, x_1897, x_9, x_1905); +if (lean_obj_tag(x_1908) == 0) { -lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; -x_1897 = lean_ctor_get(x_1896, 1); -lean_inc(x_1897); -lean_dec(x_1896); -x_1898 = l_Array_empty___closed__1; -x_1899 = lean_alloc_ctor(0, 8, 2); -lean_ctor_set(x_1899, 0, x_11); -lean_ctor_set(x_1899, 1, x_12); -lean_ctor_set(x_1899, 2, x_13); -lean_ctor_set(x_1899, 3, x_15); -lean_ctor_set(x_1899, 4, x_16); -lean_ctor_set(x_1899, 5, x_1898); -lean_ctor_set(x_1899, 6, x_18); -lean_ctor_set(x_1899, 7, x_19); -lean_ctor_set_uint8(x_1899, sizeof(void*)*8, x_14); -lean_ctor_set_uint8(x_1899, sizeof(void*)*8 + 1, x_1877); +lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; +x_1909 = lean_ctor_get(x_1908, 1); +lean_inc(x_1909); +lean_dec(x_1908); +x_1910 = l_Array_empty___closed__1; +x_1911 = lean_alloc_ctor(0, 8, 2); +lean_ctor_set(x_1911, 0, x_11); +lean_ctor_set(x_1911, 1, x_12); +lean_ctor_set(x_1911, 2, x_13); +lean_ctor_set(x_1911, 3, x_15); +lean_ctor_set(x_1911, 4, x_16); +lean_ctor_set(x_1911, 5, x_1910); +lean_ctor_set(x_1911, 6, x_18); +lean_ctor_set(x_1911, 7, x_19); +lean_ctor_set_uint8(x_1911, sizeof(void*)*8, x_14); +lean_ctor_set_uint8(x_1911, sizeof(void*)*8 + 1, x_1889); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -x_1900 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_1887, x_4, x_5, x_6, x_7, x_1885, x_9, x_1897); -if (lean_obj_tag(x_1900) == 0) +x_1912 = l_Lean_Meta_whnfForall___at___private_Lean_Elab_Term_16__useImplicitLambda_x3f___spec__1(x_1899, x_4, x_5, x_6, x_7, x_1897, x_9, x_1909); +if (lean_obj_tag(x_1912) == 0) { -lean_object* x_1901; -x_1901 = lean_ctor_get(x_1900, 0); -lean_inc(x_1901); -if (lean_obj_tag(x_1901) == 7) +lean_object* x_1913; +x_1913 = lean_ctor_get(x_1912, 0); +lean_inc(x_1913); +if (lean_obj_tag(x_1913) == 7) { -lean_object* x_1902; -x_1902 = lean_ctor_get(x_1900, 1); -lean_inc(x_1902); -lean_dec(x_1900); -x_1 = x_1899; -x_3 = x_1901; -x_8 = x_1885; -x_10 = x_1902; +lean_object* x_1914; +x_1914 = lean_ctor_get(x_1912, 1); +lean_inc(x_1914); +lean_dec(x_1912); +x_1 = x_1911; +x_3 = x_1913; +x_8 = x_1897; +x_10 = x_1914; goto _start; } else { -lean_object* x_1904; lean_object* x_1905; -x_1904 = lean_ctor_get(x_1900, 1); -lean_inc(x_1904); -lean_dec(x_1900); +lean_object* x_1916; lean_object* x_1917; +x_1916 = lean_ctor_get(x_1912, 1); +lean_inc(x_1916); +lean_dec(x_1912); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); lean_inc(x_4); -x_1905 = l___private_Lean_Elab_App_3__tryCoeFun(x_1901, x_2, x_4, x_5, x_6, x_7, x_1885, x_9, x_1904); -if (lean_obj_tag(x_1905) == 0) +x_1917 = l___private_Lean_Elab_App_3__tryCoeFun(x_1913, x_2, x_4, x_5, x_6, x_7, x_1897, x_9, x_1916); +if (lean_obj_tag(x_1917) == 0) { -lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; -x_1906 = lean_ctor_get(x_1905, 0); -lean_inc(x_1906); -x_1907 = lean_ctor_get(x_1905, 1); -lean_inc(x_1907); -lean_dec(x_1905); +lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; +x_1918 = lean_ctor_get(x_1917, 0); +lean_inc(x_1918); +x_1919 = lean_ctor_get(x_1917, 1); +lean_inc(x_1919); +lean_dec(x_1917); lean_inc(x_9); -lean_inc(x_1885); +lean_inc(x_1897); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_1906); -x_1908 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_1906, x_4, x_5, x_6, x_7, x_1885, x_9, x_1907); -if (lean_obj_tag(x_1908) == 0) +lean_inc(x_1918); +x_1920 = l_Lean_Meta_inferType___at_Lean_Elab_Term_throwTypeMismatchError___spec__2(x_1918, x_4, x_5, x_6, x_7, x_1897, x_9, x_1919); +if (lean_obj_tag(x_1920) == 0) { -lean_object* x_1909; lean_object* x_1910; -x_1909 = lean_ctor_get(x_1908, 0); -lean_inc(x_1909); -x_1910 = lean_ctor_get(x_1908, 1); -lean_inc(x_1910); -lean_dec(x_1908); -x_1 = x_1899; -x_2 = x_1906; -x_3 = x_1909; -x_8 = x_1885; -x_10 = x_1910; -goto _start; -} -else -{ -lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; -lean_dec(x_1906); -lean_dec(x_1899); -lean_dec(x_1885); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1912 = lean_ctor_get(x_1908, 0); -lean_inc(x_1912); -x_1913 = lean_ctor_get(x_1908, 1); -lean_inc(x_1913); -if (lean_is_exclusive(x_1908)) { - lean_ctor_release(x_1908, 0); - lean_ctor_release(x_1908, 1); - x_1914 = x_1908; -} else { - lean_dec_ref(x_1908); - x_1914 = lean_box(0); -} -if (lean_is_scalar(x_1914)) { - x_1915 = lean_alloc_ctor(1, 2, 0); -} else { - x_1915 = x_1914; -} -lean_ctor_set(x_1915, 0, x_1912); -lean_ctor_set(x_1915, 1, x_1913); -return x_1915; -} -} -else -{ -lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; -lean_dec(x_1899); -lean_dec(x_1885); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1916 = lean_ctor_get(x_1905, 0); -lean_inc(x_1916); -x_1917 = lean_ctor_get(x_1905, 1); -lean_inc(x_1917); -if (lean_is_exclusive(x_1905)) { - lean_ctor_release(x_1905, 0); - lean_ctor_release(x_1905, 1); - x_1918 = x_1905; -} else { - lean_dec_ref(x_1905); - x_1918 = lean_box(0); -} -if (lean_is_scalar(x_1918)) { - x_1919 = lean_alloc_ctor(1, 2, 0); -} else { - x_1919 = x_1918; -} -lean_ctor_set(x_1919, 0, x_1916); -lean_ctor_set(x_1919, 1, x_1917); -return x_1919; -} -} -} -else -{ -lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; -lean_dec(x_1899); -lean_dec(x_1885); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -x_1920 = lean_ctor_get(x_1900, 0); -lean_inc(x_1920); -x_1921 = lean_ctor_get(x_1900, 1); +lean_object* x_1921; lean_object* x_1922; +x_1921 = lean_ctor_get(x_1920, 0); lean_inc(x_1921); -if (lean_is_exclusive(x_1900)) { - lean_ctor_release(x_1900, 0); - lean_ctor_release(x_1900, 1); - x_1922 = x_1900; -} else { - lean_dec_ref(x_1900); - x_1922 = lean_box(0); -} -if (lean_is_scalar(x_1922)) { - x_1923 = lean_alloc_ctor(1, 2, 0); -} else { - x_1923 = x_1922; -} -lean_ctor_set(x_1923, 0, x_1920); -lean_ctor_set(x_1923, 1, x_1921); -return x_1923; -} +x_1922 = lean_ctor_get(x_1920, 1); +lean_inc(x_1922); +lean_dec(x_1920); +x_1 = x_1911; +x_2 = x_1918; +x_3 = x_1921; +x_8 = x_1897; +x_10 = x_1922; +goto _start; } else { lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; -lean_dec(x_1887); -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); +lean_dec(x_1918); +lean_dec(x_1911); +lean_dec(x_1897); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -x_1924 = lean_ctor_get(x_1896, 0); +x_1924 = lean_ctor_get(x_1920, 0); lean_inc(x_1924); -x_1925 = lean_ctor_get(x_1896, 1); +x_1925 = lean_ctor_get(x_1920, 1); lean_inc(x_1925); -if (lean_is_exclusive(x_1896)) { - lean_ctor_release(x_1896, 0); - lean_ctor_release(x_1896, 1); - x_1926 = x_1896; +if (lean_is_exclusive(x_1920)) { + lean_ctor_release(x_1920, 0); + lean_ctor_release(x_1920, 1); + x_1926 = x_1920; } else { - lean_dec_ref(x_1896); + lean_dec_ref(x_1920); x_1926 = lean_box(0); } if (lean_is_scalar(x_1926)) { @@ -19587,31 +19500,23 @@ return x_1927; else { lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; -lean_dec(x_1887); -lean_dec(x_1885); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); +lean_dec(x_1911); +lean_dec(x_1897); lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -x_1928 = lean_ctor_get(x_1892, 0); +x_1928 = lean_ctor_get(x_1917, 0); lean_inc(x_1928); -x_1929 = lean_ctor_get(x_1892, 1); +x_1929 = lean_ctor_get(x_1917, 1); lean_inc(x_1929); -if (lean_is_exclusive(x_1892)) { - lean_ctor_release(x_1892, 0); - lean_ctor_release(x_1892, 1); - x_1930 = x_1892; +if (lean_is_exclusive(x_1917)) { + lean_ctor_release(x_1917, 0); + lean_ctor_release(x_1917, 1); + x_1930 = x_1917; } else { - lean_dec_ref(x_1892); + lean_dec_ref(x_1917); x_1930 = lean_box(0); } if (lean_is_scalar(x_1930)) { @@ -19625,12 +19530,126 @@ return x_1931; } } } +else +{ +lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; +lean_dec(x_1911); +lean_dec(x_1897); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1932 = lean_ctor_get(x_1912, 0); +lean_inc(x_1932); +x_1933 = lean_ctor_get(x_1912, 1); +lean_inc(x_1933); +if (lean_is_exclusive(x_1912)) { + lean_ctor_release(x_1912, 0); + lean_ctor_release(x_1912, 1); + x_1934 = x_1912; +} else { + lean_dec_ref(x_1912); + x_1934 = lean_box(0); +} +if (lean_is_scalar(x_1934)) { + x_1935 = lean_alloc_ctor(1, 2, 0); +} else { + x_1935 = x_1934; +} +lean_ctor_set(x_1935, 0, x_1932); +lean_ctor_set(x_1935, 1, x_1933); +return x_1935; +} } else { -lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; lean_object* x_2855; -lean_dec(x_1885); -lean_dec(x_1878); +lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; +lean_dec(x_1899); +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1936 = lean_ctor_get(x_1908, 0); +lean_inc(x_1936); +x_1937 = lean_ctor_get(x_1908, 1); +lean_inc(x_1937); +if (lean_is_exclusive(x_1908)) { + lean_ctor_release(x_1908, 0); + lean_ctor_release(x_1908, 1); + x_1938 = x_1908; +} else { + lean_dec_ref(x_1908); + x_1938 = lean_box(0); +} +if (lean_is_scalar(x_1938)) { + x_1939 = lean_alloc_ctor(1, 2, 0); +} else { + x_1939 = x_1938; +} +lean_ctor_set(x_1939, 0, x_1936); +lean_ctor_set(x_1939, 1, x_1937); +return x_1939; +} +} +else +{ +lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; +lean_dec(x_1899); +lean_dec(x_1897); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_1940 = lean_ctor_get(x_1904, 0); +lean_inc(x_1940); +x_1941 = lean_ctor_get(x_1904, 1); +lean_inc(x_1941); +if (lean_is_exclusive(x_1904)) { + lean_ctor_release(x_1904, 0); + lean_ctor_release(x_1904, 1); + x_1942 = x_1904; +} else { + lean_dec_ref(x_1904); + x_1942 = lean_box(0); +} +if (lean_is_scalar(x_1942)) { + x_1943 = lean_alloc_ctor(1, 2, 0); +} else { + x_1943 = x_1942; +} +lean_ctor_set(x_1943, 0, x_1940); +lean_ctor_set(x_1943, 1, x_1941); +return x_1943; +} +} +} +} +else +{ +lean_object* x_2870; lean_object* x_2871; lean_object* x_2872; lean_object* x_2873; +lean_dec(x_1897); +lean_dec(x_1890); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -19647,26 +19666,26 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_2852 = lean_ctor_get(x_1886, 0); -lean_inc(x_2852); -x_2853 = lean_ctor_get(x_1886, 1); -lean_inc(x_2853); -if (lean_is_exclusive(x_1886)) { - lean_ctor_release(x_1886, 0); - lean_ctor_release(x_1886, 1); - x_2854 = x_1886; +x_2870 = lean_ctor_get(x_1898, 0); +lean_inc(x_2870); +x_2871 = lean_ctor_get(x_1898, 1); +lean_inc(x_2871); +if (lean_is_exclusive(x_1898)) { + lean_ctor_release(x_1898, 0); + lean_ctor_release(x_1898, 1); + x_2872 = x_1898; } else { - lean_dec_ref(x_1886); - x_2854 = lean_box(0); + lean_dec_ref(x_1898); + x_2872 = lean_box(0); } -if (lean_is_scalar(x_2854)) { - x_2855 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2872)) { + x_2873 = lean_alloc_ctor(1, 2, 0); } else { - x_2855 = x_2854; + x_2873 = x_2872; } -lean_ctor_set(x_2855, 0, x_2852); -lean_ctor_set(x_2855, 1, x_2853); -return x_2855; +lean_ctor_set(x_2873, 0, x_2870); +lean_ctor_set(x_2873, 1, x_2871); +return x_2873; } } } diff --git a/stage0/stdlib/Lean/Parser/Do.c b/stage0/stdlib/Lean/Parser/Do.c index 2e941a2615..e713f4ffee 100644 --- a/stage0/stdlib/Lean/Parser/Do.c +++ b/stage0/stdlib/Lean/Parser/Do.c @@ -24,11 +24,9 @@ lean_object* l_Lean_Parser_Term_liftMethod_parenthesizer(lean_object*, lean_obje lean_object* l_Lean_Parser_Term_doSeqBracketed_formatter___closed__2; lean_object* l_Lean_Parser_Term_doIf_parenthesizer___closed__9; lean_object* l_Lean_Parser_many1Indent_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Term_have_formatter___closed__2; lean_object* l_Lean_Parser_Term_doPat_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_doElemParser(lean_object*); lean_object* l_Lean_Parser_Term_doSeqBracketed___closed__1; -lean_object* l_Lean_Parser_Term_doLet___closed__6; lean_object* l_Lean_Parser_Term_doMatch_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_doSeqBracketed___closed__2; extern lean_object* l_Lean_Parser_manyAux___main___closed__1; @@ -81,6 +79,7 @@ lean_object* l_Lean_Parser_Term_doExpr___closed__4; extern lean_object* l_Lean_Parser_many1Indent_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doMatchAlt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_liftMethod(lean_object*); +extern lean_object* l_Lean_Parser_Term_have___closed__2; extern lean_object* l_Lean_Parser_Term_if_formatter___closed__3; lean_object* l_Lean_Parser_Term_doExpr_formatter___closed__10; lean_object* l_Lean_Parser_Term_do___elambda__1___closed__1; @@ -136,7 +135,6 @@ extern lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_do___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_doMatch___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_liftMethod___elambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_doLet_formatter___closed__3; lean_object* l_Lean_Parser_Term_doMatchAlts___elambda__1___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_do(lean_object*); lean_object* l_Lean_Parser_Term_doMatchAlt___closed__1; @@ -240,6 +238,7 @@ lean_object* l_Lean_Parser_Term_doMatchAlt___elambda__1(lean_object*, lean_objec extern lean_object* l_Lean_Parser_Term_if___closed__3; extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; lean_object* l_Lean_Parser_Term_liftMethod_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_let___closed__2; lean_object* l_Lean_Parser_Term_leftArrow_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doSeq_formatter___closed__1; lean_object* l_Lean_Parser_Term_break___elambda__1(lean_object*, lean_object*); @@ -315,7 +314,6 @@ uint8_t l_Lean_Parser_tryAnti(lean_object*, lean_object*); lean_object* l_Lean_Parser_optionaInfo(lean_object*); lean_object* l_Lean_Parser_Term_doSeq; extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__6; -extern lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_sepBy1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doMatch___closed__3; lean_object* l_Lean_Parser_Term_do___closed__6; @@ -324,7 +322,6 @@ lean_object* l_Lean_Parser_Term_doHave_formatter___closed__1; lean_object* l_Lean_Parser_Term_doId___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doSeqIndent___closed__4; lean_object* l_Lean_Parser_Term_doLetArrow___closed__6; -extern lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doId_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__13; lean_object* l_Lean_PrettyPrinter_Formatter_unicodeSymbol_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -334,14 +331,12 @@ extern lean_object* l_Lean_Parser_many1Indent_formatter___closed__1; lean_object* l_Lean_Parser_Term_doIf___closed__3; extern lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doMatchAlts_formatter___closed__4; -lean_object* l_Lean_Parser_Term_doLet_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doFor_formatter___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_doIf(lean_object*); lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_doPat_formatter___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_break_formatter(lean_object*); lean_object* l_Lean_Parser_doElemParser_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_doHave_parenthesizer___closed__3; extern lean_object* l_Char_HasRepr___closed__1; lean_object* l_Lean_Parser_Term_doSeqIndent___closed__5; lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__24; @@ -446,7 +441,6 @@ lean_object* l_Lean_Parser_ParserState_restore(lean_object*, lean_object*, lean_ lean_object* l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_doMatchAlts___elambda__1___spec__1(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doMatch___closed__8; 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; @@ -488,6 +482,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_Lean_Parser_Term_doSeqBracketed_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__22; +extern lean_object* l_Lean_Parser_Term_let_formatter___closed__4; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_doFor___closed__6; lean_object* l_Lean_Parser_Term_doIf_parenthesizer___closed__16; @@ -523,7 +518,6 @@ lean_object* l_Lean_Parser_Term_doFor___closed__10; lean_object* l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doLetArrow_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doLetArrow___closed__7; -extern lean_object* l_Lean_Parser_Term_haveDecl; extern lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doHave___closed__4; lean_object* l_Lean_Parser_Term_liftMethod_parenthesizer___closed__1; @@ -565,7 +559,6 @@ lean_object* l_Lean_Parser_Term_doId___closed__7; lean_object* l_Lean_Parser_Term_doId_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doSeqBracketed_parenthesizer___closed__4; extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__9; -extern lean_object* l_Lean_Parser_Term_have___closed__1; lean_object* l_Lean_Parser_Term_doExpr_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_doMatchAlts___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doExpr_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -584,7 +577,6 @@ lean_object* l_Lean_Parser_Term_continue___closed__1; lean_object* l_Lean_Parser_Term_doPat___elambda__1___closed__5; extern lean_object* l_Lean_Parser_Term_if___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__11; -extern lean_object* l_Lean_Parser_Term_let_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_doMatch_parenthesizer(lean_object*); extern lean_object* l_Lean_Parser_Term_matchAlts___closed__9; lean_object* l_Lean_Parser_Term_doIf_parenthesizer___closed__3; @@ -656,13 +648,13 @@ lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doLet___closed__4; lean_object* l_Lean_Parser_Term_break_formatter___closed__3; lean_object* l_Lean_Parser_Term_doMatchAlt_formatter___closed__1; +extern lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doMatch_formatter___closed__3; 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_doIf_formatter___closed__7; lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__21; -lean_object* l_Lean_Parser_Term_doHave___closed__6; extern lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_matchAlts___spec__2___closed__5; lean_object* l_Lean_Parser_Term_doPat_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_doLet___closed__2; @@ -763,6 +755,7 @@ lean_object* l_Lean_Parser_Term_leftArrow___elambda__1(lean_object*, lean_object lean_object* l_Lean_Parser_Term_continue_formatter___closed__3; 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_have_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_doMatchAlts___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_break___closed__2; lean_object* l_Lean_Parser_Term_doExpr___elambda__1___closed__17; @@ -3390,48 +3383,36 @@ return x_76; lean_object* _init_l_Lean_Parser_Term_doLet___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_letDecl; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_let___closed__1; -x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_let___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Term_doLet___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; +x_1 = l_Lean_Parser_epsilonInfo; x_2 = l_Lean_Parser_Term_doLet___closed__1; -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_doLet___closed__3() { _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_doLet___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_doLet___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_doLet___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_doLet___closed__3; +x_3 = l_Lean_Parser_Term_doLet___closed__2; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_doLet___closed__5() { +lean_object* _init_l_Lean_Parser_Term_doLet___closed__4() { _start: { lean_object* x_1; @@ -3439,12 +3420,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doLet___elambda__1), 2, 0); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_doLet___closed__6() { +lean_object* _init_l_Lean_Parser_Term_doLet___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doLet___closed__4; -x_2 = l_Lean_Parser_Term_doLet___closed__5; +x_1 = l_Lean_Parser_Term_doLet___closed__3; +x_2 = l_Lean_Parser_Term_doLet___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -3455,7 +3436,7 @@ lean_object* _init_l_Lean_Parser_Term_doLet() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_doLet___closed__6; +x_1 = l_Lean_Parser_Term_doLet___closed__5; return x_1; } } @@ -3490,22 +3471,10 @@ return x_5; lean_object* _init_l_Lean_Parser_Term_doLet_formatter___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_let_formatter___closed__2; -x_2 = l_Lean_Parser_Term_let_formatter___closed__3; -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_doLet_formatter___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doLet_formatter___closed__2; +x_3 = l_Lean_Parser_Term_let_formatter___closed__4; 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); @@ -3518,7 +3487,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doLet_formatter___closed__1; -x_7 = l_Lean_Parser_Term_doLet_formatter___closed__3; +x_7 = l_Lean_Parser_Term_doLet_formatter___closed__2; 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; } @@ -3558,22 +3527,10 @@ return x_4; lean_object* _init_l_Lean_Parser_Term_doLet_parenthesizer___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Term_let_parenthesizer___closed__2; -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_doLet_parenthesizer___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doLet___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doLet_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Term_let_parenthesizer___closed__3; 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); @@ -3586,7 +3543,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doLet_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_doLet_parenthesizer___closed__3; +x_7 = l_Lean_Parser_Term_doLet_parenthesizer___closed__2; 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; } @@ -6380,48 +6337,36 @@ return x_74; lean_object* _init_l_Lean_Parser_Term_doHave___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_haveDecl; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_have___closed__1; -x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doHave___elambda__1___closed__2; +x_2 = l_Lean_Parser_Term_have___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Term_doHave___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doHave___elambda__1___closed__2; +x_1 = l_Lean_Parser_epsilonInfo; x_2 = l_Lean_Parser_Term_doHave___closed__1; -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_doHave___closed__3() { _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_doHave___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_doHave___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_doHave___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_doHave___closed__3; +x_3 = l_Lean_Parser_Term_doHave___closed__2; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_doHave___closed__5() { +lean_object* _init_l_Lean_Parser_Term_doHave___closed__4() { _start: { lean_object* x_1; @@ -6429,12 +6374,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doHave___elambda__1), 2, 0); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_doHave___closed__6() { +lean_object* _init_l_Lean_Parser_Term_doHave___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doHave___closed__4; -x_2 = l_Lean_Parser_Term_doHave___closed__5; +x_1 = l_Lean_Parser_Term_doHave___closed__3; +x_2 = l_Lean_Parser_Term_doHave___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -6445,7 +6390,7 @@ lean_object* _init_l_Lean_Parser_Term_doHave() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_doHave___closed__6; +x_1 = l_Lean_Parser_Term_doHave___closed__5; return x_1; } } @@ -6480,22 +6425,10 @@ return x_5; lean_object* _init_l_Lean_Parser_Term_doHave_formatter___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_have_formatter___closed__2; -x_2 = l_Lean_Parser_Term_have_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_doHave_formatter___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doHave___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doHave_formatter___closed__2; +x_3 = l_Lean_Parser_Term_have_formatter___closed__4; 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); @@ -6508,7 +6441,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doHave_formatter___closed__1; -x_7 = l_Lean_Parser_Term_doHave_formatter___closed__3; +x_7 = l_Lean_Parser_Term_doHave_formatter___closed__2; 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; } @@ -6548,22 +6481,10 @@ return x_4; lean_object* _init_l_Lean_Parser_Term_doHave_parenthesizer___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Term_have_parenthesizer___closed__2; -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_doHave_parenthesizer___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doHave___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doHave_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Term_have_parenthesizer___closed__3; 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); @@ -6576,7 +6497,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doHave_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_doHave_parenthesizer___closed__3; +x_7 = l_Lean_Parser_Term_doHave_parenthesizer___closed__2; 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; } @@ -17565,8 +17486,6 @@ l_Lean_Parser_Term_doLet___closed__4 = _init_l_Lean_Parser_Term_doLet___closed__ lean_mark_persistent(l_Lean_Parser_Term_doLet___closed__4); l_Lean_Parser_Term_doLet___closed__5 = _init_l_Lean_Parser_Term_doLet___closed__5(); lean_mark_persistent(l_Lean_Parser_Term_doLet___closed__5); -l_Lean_Parser_Term_doLet___closed__6 = _init_l_Lean_Parser_Term_doLet___closed__6(); -lean_mark_persistent(l_Lean_Parser_Term_doLet___closed__6); l_Lean_Parser_Term_doLet = _init_l_Lean_Parser_Term_doLet(); lean_mark_persistent(l_Lean_Parser_Term_doLet); res = l___regBuiltinParser_Lean_Parser_Term_doLet(lean_io_mk_world()); @@ -17576,8 +17495,6 @@ l_Lean_Parser_Term_doLet_formatter___closed__1 = _init_l_Lean_Parser_Term_doLet_ lean_mark_persistent(l_Lean_Parser_Term_doLet_formatter___closed__1); l_Lean_Parser_Term_doLet_formatter___closed__2 = _init_l_Lean_Parser_Term_doLet_formatter___closed__2(); lean_mark_persistent(l_Lean_Parser_Term_doLet_formatter___closed__2); -l_Lean_Parser_Term_doLet_formatter___closed__3 = _init_l_Lean_Parser_Term_doLet_formatter___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_doLet_formatter___closed__3); l___regBuiltin_Lean_Parser_Term_doLet_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doLet_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doLet_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_doLet_formatter(lean_io_mk_world()); @@ -17587,8 +17504,6 @@ l_Lean_Parser_Term_doLet_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_do lean_mark_persistent(l_Lean_Parser_Term_doLet_parenthesizer___closed__1); l_Lean_Parser_Term_doLet_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_doLet_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Term_doLet_parenthesizer___closed__2); -l_Lean_Parser_Term_doLet_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_doLet_parenthesizer___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_doLet_parenthesizer___closed__3); l___regBuiltin_Lean_Parser_Term_doLet_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doLet_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doLet_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_doLet_parenthesizer(lean_io_mk_world()); @@ -17795,8 +17710,6 @@ l_Lean_Parser_Term_doHave___closed__4 = _init_l_Lean_Parser_Term_doHave___closed lean_mark_persistent(l_Lean_Parser_Term_doHave___closed__4); l_Lean_Parser_Term_doHave___closed__5 = _init_l_Lean_Parser_Term_doHave___closed__5(); lean_mark_persistent(l_Lean_Parser_Term_doHave___closed__5); -l_Lean_Parser_Term_doHave___closed__6 = _init_l_Lean_Parser_Term_doHave___closed__6(); -lean_mark_persistent(l_Lean_Parser_Term_doHave___closed__6); l_Lean_Parser_Term_doHave = _init_l_Lean_Parser_Term_doHave(); lean_mark_persistent(l_Lean_Parser_Term_doHave); res = l___regBuiltinParser_Lean_Parser_Term_doHave(lean_io_mk_world()); @@ -17806,8 +17719,6 @@ l_Lean_Parser_Term_doHave_formatter___closed__1 = _init_l_Lean_Parser_Term_doHav lean_mark_persistent(l_Lean_Parser_Term_doHave_formatter___closed__1); l_Lean_Parser_Term_doHave_formatter___closed__2 = _init_l_Lean_Parser_Term_doHave_formatter___closed__2(); lean_mark_persistent(l_Lean_Parser_Term_doHave_formatter___closed__2); -l_Lean_Parser_Term_doHave_formatter___closed__3 = _init_l_Lean_Parser_Term_doHave_formatter___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_doHave_formatter___closed__3); l___regBuiltin_Lean_Parser_Term_doHave_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doHave_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doHave_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_doHave_formatter(lean_io_mk_world()); @@ -17817,8 +17728,6 @@ l_Lean_Parser_Term_doHave_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_d lean_mark_persistent(l_Lean_Parser_Term_doHave_parenthesizer___closed__1); l_Lean_Parser_Term_doHave_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_doHave_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Term_doHave_parenthesizer___closed__2); -l_Lean_Parser_Term_doHave_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_doHave_parenthesizer___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_doHave_parenthesizer___closed__3); l___regBuiltin_Lean_Parser_Term_doHave_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doHave_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doHave_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_doHave_parenthesizer(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/Parser/Tactic.c b/stage0/stdlib/Lean/Parser/Tactic.c index 3516eaee9b..4305bf4aef 100644 --- a/stage0/stdlib/Lean/Parser/Tactic.c +++ b/stage0/stdlib/Lean/Parser/Tactic.c @@ -17,7 +17,6 @@ lean_object* l_Lean_Parser_Tactic_location___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_locationWildcard___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_orelse___closed__4; lean_object* l_Lean_Parser_Tactic_intros___elambda__1___closed__7; -lean_object* l_Lean_Parser_Tactic_let_parenthesizer___closed__3; extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__1; @@ -50,7 +49,6 @@ lean_object* l_Lean_Parser_Tactic_induction___closed__1; lean_object* l_Lean_Parser_Tactic_skip_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_intros_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_generalize___closed__8; -extern lean_object* l_Lean_Parser_Term_have_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_cases___closed__6; lean_object* l___regBuiltin_Lean_Parser_Tactic_allGoals_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_rewrite_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -71,7 +69,6 @@ lean_object* l_Lean_Parser_Tactic_withIds___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_skip_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_revert___closed__2; lean_object* l_Lean_Parser_Tactic_admit___elambda__1___closed__2; -extern lean_object* l_Lean_Parser_Term_suffices___closed__1; lean_object* l_Lean_Parser_Tactic_changeWith_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_rewrite_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_let___elambda__1(lean_object*, lean_object*); @@ -100,6 +97,7 @@ lean_object* l_Lean_Parser_Tactic_induction_formatter___closed__10; lean_object* l_Lean_Parser_Tactic_admit_formatter___closed__3; extern lean_object* l_Lean_Parser_Term_explicit___closed__2; lean_object* l_Lean_Parser_Tactic_traceState_parenthesizer___closed__1; +extern lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_have(lean_object*); extern lean_object* l_Lean_Parser_Term_matchAlt___closed__3; lean_object* l_Lean_Parser_Tactic_nestedTactic; @@ -130,6 +128,7 @@ lean_object* l_Lean_Parser_Tactic_matchAlts_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_orelse___closed__1; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__6; lean_object* l___regBuiltin_Lean_Parser_Tactic_orelse_parenthesizer___closed__1; +extern lean_object* l_Lean_Parser_Term_suffices___closed__2; lean_object* l_Lean_Parser_Tactic_underscore___closed__2; lean_object* l_Lean_Parser_Tactic_location___closed__7; lean_object* l_Lean_Parser_Tactic_rwRule___elambda__1___closed__9; @@ -164,6 +163,7 @@ lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__8; lean_object* l_Lean_Parser_Tactic_skip___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_exact_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__5; +extern lean_object* l_Lean_Parser_Term_have___closed__2; lean_object* l_Lean_Parser_Tactic_induction___closed__2; lean_object* l___regBuiltin_Lean_Parser_Tactic_apply_parenthesizer___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_admit(lean_object*); @@ -306,7 +306,6 @@ lean_object* l_Lean_Parser_Tactic_inductionAlt_formatter(lean_object*, lean_obje lean_object* l_Lean_Parser_Tactic_rewrite___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__7; lean_object* l___regBuiltin_Lean_Parser_Tactic_rewriteSeq_parenthesizer(lean_object*); -extern lean_object* l_Lean_Parser_Term_let_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_clear___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_change_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_paren___elambda__1(lean_object*, lean_object*); @@ -318,7 +317,6 @@ lean_object* l_Lean_Parser_Tactic_location_formatter___closed__5; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_refine___closed__5; lean_object* l_Lean_Parser_Tactic_majorPremise___elambda__1(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_rwRule_formatter___closed__5; 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_Tactic_failIfSuccess___elambda__1___closed__1; @@ -365,7 +363,6 @@ lean_object* l_Lean_Parser_Tactic_generalize_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_matchAlt___closed__4; lean_object* l_Lean_PrettyPrinter_Formatter_try_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_done_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_have___closed__6; lean_object* l_Lean_Parser_Tactic_location_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_cases___closed__3; @@ -373,7 +370,6 @@ extern lean_object* l_Lean_Parser_Term_eq___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_inductionAlts_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_failIfSuccess___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_clear_formatter___closed__4; -lean_object* l_Lean_Parser_Tactic_suffices___closed__6; lean_object* l_Lean_Parser_Tactic_change_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_Parser_Tactic_orelse_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_usingRec; @@ -397,6 +393,7 @@ lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_objec lean_object* l_Lean_Parser_Tactic_assumption_parenthesizer___closed__1; lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_generalize___closed__3; +extern lean_object* l_Lean_Parser_Term_let_x21_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_orelse___closed__5; lean_object* l_Lean_Parser_Tactic_withIds; lean_object* l_Lean_Parser_Tactic_suffices___closed__4; @@ -476,7 +473,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_optional_formatter(lean_object*, lea lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__7; extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_cases_formatter___closed__1; -lean_object* l_Lean_Parser_Tactic_suffices_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_rwRuleSeq_formatter___closed__5; lean_object* l_Lean_Parser_Tactic_subst___closed__1; lean_object* l_Lean_Parser_Tactic_withIds_formatter___closed__1; @@ -527,6 +523,7 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_rewriteSeq_formatter(lean_object* lean_object* l_Lean_Parser_Tactic_assumption; lean_object* l_Lean_Parser_Tactic_skip_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_intros___elambda__1(lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_let___closed__2; lean_object* l_Lean_Parser_Tactic_cases___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_subst___closed__2; lean_object* l_Lean_Parser_Tactic_rewrite; @@ -545,7 +542,6 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_injection_parenthesizer___closed_ lean_object* l_Lean_Parser_Tactic_changeWith_formatter___closed__5; lean_object* l_Lean_Parser_Tactic_refine_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_failIfSuccess_formatter___closed__1; -extern lean_object* l_Lean_Parser_Term_let___closed__1; lean_object* l_Lean_Parser_Tactic_generalize_parenthesizer___closed__8; lean_object* l_Lean_Parser_Tactic_location_formatter___closed__6; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__10; @@ -641,7 +637,6 @@ lean_object* l_Lean_Parser_Tactic_apply___closed__3; lean_object* l_Lean_Parser_Tactic_generalize_parenthesizer___closed__4; lean_object* l_Lean_Parser_Tactic_clear___closed__5; lean_object* l_Lean_Parser_Tactic_generalizingVars_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_let_x21_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_locationHyp___closed__5; lean_object* l_Lean_Parser_Tactic_show___closed__6; lean_object* l_Lean_Parser_Tactic_location_formatter___closed__1; @@ -724,8 +719,6 @@ lean_object* l_Lean_Parser_Tactic_locationHyp_formatter___closed__1; lean_object* l_Lean_Parser_optionaInfo(lean_object*); extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_cases___closed__2; -extern lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__2; -extern lean_object* l_Lean_Parser_Term_sufficesDecl; lean_object* l_Lean_PrettyPrinter_Parenthesizer_sepBy1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_generalize___elambda__1(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Tactic_suffices_parenthesizer(lean_object*); @@ -739,7 +732,6 @@ lean_object* l_Lean_Parser_Tactic_induction_formatter___closed__7; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_changeWith(lean_object*); lean_object* l_Lean_Parser_Tactic_induction___closed__7; lean_object* l_Lean_Parser_Tactic_revert___closed__5; -extern lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_node_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__9; extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_tactic_parenthesizer___lambda__1___closed__5; @@ -1095,6 +1087,7 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_refine_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_intros___closed__9; lean_object* l_Lean_Parser_Tactic_withIds___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_location___closed__9; +extern lean_object* l_Lean_Parser_Term_let_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_case_parenthesizer___closed__1; lean_object* l_Lean_Parser_nodeWithAntiquot_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_injection___elambda__1___closed__1; @@ -1158,7 +1151,6 @@ lean_object* l_Lean_Parser_Tactic_locationTarget_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_skip___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_matchAlt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__2; -extern lean_object* l_Lean_Parser_Term_haveDecl; lean_object* l___regBuiltin_Lean_Parser_Tactic_nestedTactic_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_generalize___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_match___closed__5; @@ -1170,7 +1162,6 @@ lean_object* l_Lean_Parser_Tactic_suffices___elambda__1(lean_object*, lean_objec lean_object* l_Lean_Parser_Tactic_induction___closed__6; lean_object* l_Lean_Parser_Tactic_admit___closed__6; lean_object* l_Lean_Parser_Tactic_subst_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_have_formatter___closed__3; extern lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Term_tupleTail___elambda__1___spec__2___closed__1; lean_object* l_Lean_Parser_Tactic_orelse_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_skip_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1198,7 +1189,6 @@ lean_object* l_Lean_Parser_Tactic_injection_formatter(lean_object*, lean_object* lean_object* l_Lean_Parser_Tactic_cases___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_rwRule___elambda__1___closed__12; lean_object* l_Lean_Parser_Tactic_intro___elambda__1___closed__4; -lean_object* l_Lean_Parser_Tactic_have_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_have___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_revert___elambda__1___closed__3; @@ -1219,7 +1209,6 @@ lean_object* l_Lean_Parser_Tactic_generalize_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_revert___closed__7; lean_object* l_Lean_Parser_Tactic_matchAlt_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_allGoals___closed__5; -extern lean_object* l_Lean_Parser_Term_suffices_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_match_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_paren___closed__6; extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__9; @@ -1233,10 +1222,8 @@ lean_object* l_Lean_Parser_Tactic_show_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_rewriteSeq___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_rwRule_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_refine_x21___elambda__1___closed__7; -lean_object* l_Lean_Parser_Tactic_let___closed__6; lean_object* l_Lean_Parser_Tactic_cases_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_Term_have___elambda__1___closed__9; -extern lean_object* l_Lean_Parser_Term_have___closed__1; extern lean_object* l_Lean_Parser_darrow___closed__2; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__4; lean_object* l_Lean_Parser_Tactic_assumption_formatter___closed__2; @@ -1262,7 +1249,6 @@ extern lean_object* l_Lean_Parser_Tactic_tacticSeq; lean_object* l_Lean_Parser_Tactic_revert___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_apply___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_exact_parenthesizer___closed__2; -lean_object* l_Lean_Parser_Tactic_let_x21___closed__6; lean_object* l_Lean_Parser_Tactic_match___elambda__1___closed__1; lean_object* l___regBuiltin_Lean_Parser_Tactic_changeWith_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_case___closed__8; @@ -1282,7 +1268,6 @@ lean_object* l_Lean_Parser_Tactic_done___closed__1; lean_object* l_Lean_Parser_Tactic_locationWildcard___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__7; lean_object* l___regBuiltin_Lean_Parser_Tactic_show_parenthesizer(lean_object*); -extern lean_object* l_Lean_Parser_Term_let_formatter___closed__3; lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser_Tactic_inductionAlts___elambda__1___spec__2(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_rwRule___elambda__1___closed__11; extern lean_object* l_Lean_Parser_Term_matchAlts___closed__9; @@ -1373,7 +1358,6 @@ lean_object* l_Lean_Parser_Tactic_done___closed__4; lean_object* l_Lean_Parser_Tactic_locationHyp___elambda__1___closed__4; lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Parser_Tactic_allGoals_formatter___closed__2; -lean_object* l_Lean_Parser_Tactic_let_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_traceState_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_withIds_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_change_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1404,6 +1388,7 @@ lean_object* l_Lean_Parser_Tactic_let___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_intro_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_show___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_generalize_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_refine_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_injection_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_generalize___closed__7; @@ -1447,6 +1432,7 @@ lean_object* l_Lean_Parser_Tactic_generalize_formatter___closed__8; lean_object* l_Lean_Parser_Tactic_change___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_matchAlt___closed__3; +extern lean_object* l_Lean_Parser_Term_suffices_formatter___closed__4; extern lean_object* l_Lean_Parser_Term_have_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_changeWith___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_intros_formatter(lean_object*); @@ -1517,7 +1503,6 @@ lean_object* l_Lean_Parser_Tactic_refine_x21___closed__5; lean_object* l_Lean_Parser_Tactic_cases_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_altRHS___closed__2; lean_object* l_Lean_Parser_Tactic_clear_formatter___closed__1; -extern lean_object* l_Lean_Parser_Term_let_x21___closed__1; lean_object* l_Lean_Parser_Tactic_rwRuleSeq_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Tactic_rewrite_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_locationHyp___closed__2; @@ -1557,7 +1542,6 @@ lean_object* l_Lean_Parser_Tactic_rewrite_formatter___closed__9; lean_object* l_Lean_Parser_Tactic_matchAlts_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_exact___elambda__1___closed__7; lean_object* l_Lean_Parser_Tactic_rewriteSeq_parenthesizer___closed__2; -extern lean_object* l_Lean_Parser_Term_suffices_formatter___closed__3; lean_object* l_Lean_Parser_Tactic_allGoals_formatter___closed__4; extern lean_object* l_Lean_Parser_Term_show___elambda__1___closed__9; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_skip(lean_object*); @@ -1596,7 +1580,6 @@ lean_object* l_Lean_Parser_Tactic_done___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Tactic_introMatch_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Tactic_matchAlt___closed__5; lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); -extern lean_object* l_Lean_Parser_Term_let_x21_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_intro_formatter___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_orelse(lean_object*); lean_object* l_Lean_Parser_Tactic_rwRuleSeq_parenthesizer___closed__3; @@ -1659,6 +1642,7 @@ lean_object* l___regBuiltin_Lean_Parser_Tactic_admit_formatter(lean_object*); lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__4; lean_object* l___regBuiltin_Lean_Parser_Tactic_apply_parenthesizer(lean_object*); lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_refine(lean_object*); lean_object* l_Lean_Parser_Tactic_withAlts_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_inductionAlt_formatter___closed__2; @@ -1684,6 +1668,7 @@ lean_object* l_Lean_Parser_Tactic_refine_x21___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_nonReservedSymbol_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_matchAlts_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_rewrite_formatter___closed__4; +extern lean_object* l_Lean_Parser_Term_let_x21___closed__2; lean_object* l_Lean_Parser_Tactic_induction___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_case___elambda__1___closed__6; lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1694,7 +1679,6 @@ lean_object* l_Lean_Parser_Tactic_introMatch___elambda__1___closed__4; lean_object* l_Lean_Parser_Tactic_traceState___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_locationTarget___elambda__1___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_try_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_suffices_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_changeWith___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_paren___closed__7; lean_object* l___regBuiltin_Lean_Parser_Tactic_clear_formatter(lean_object*); @@ -28459,48 +28443,36 @@ return x_74; lean_object* _init_l_Lean_Parser_Tactic_have___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_haveDecl; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_have___closed__1; -x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_have___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Tactic_have___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; +x_1 = l_Lean_Parser_epsilonInfo; x_2 = l_Lean_Parser_Tactic_have___closed__1; -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_Tactic_have___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Tactic_have___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Tactic_have___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Tactic_have___closed__3; +x_3 = l_Lean_Parser_Tactic_have___closed__2; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Tactic_have___closed__5() { +lean_object* _init_l_Lean_Parser_Tactic_have___closed__4() { _start: { lean_object* x_1; @@ -28508,12 +28480,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_have___elambda__1), 2, 0); return x_1; } } -lean_object* _init_l_Lean_Parser_Tactic_have___closed__6() { +lean_object* _init_l_Lean_Parser_Tactic_have___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_have___closed__4; -x_2 = l_Lean_Parser_Tactic_have___closed__5; +x_1 = l_Lean_Parser_Tactic_have___closed__3; +x_2 = l_Lean_Parser_Tactic_have___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -28524,7 +28496,7 @@ lean_object* _init_l_Lean_Parser_Tactic_have() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_have___closed__6; +x_1 = l_Lean_Parser_Tactic_have___closed__5; return x_1; } } @@ -28559,22 +28531,10 @@ return x_5; lean_object* _init_l_Lean_Parser_Tactic_have_formatter___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_have_formatter___closed__2; -x_2 = l_Lean_Parser_Term_have_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_Tactic_have_formatter___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_have_formatter___closed__2; +x_3 = l_Lean_Parser_Term_have_formatter___closed__4; 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); @@ -28587,7 +28547,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Tactic_have_formatter___closed__1; -x_7 = l_Lean_Parser_Tactic_have_formatter___closed__3; +x_7 = l_Lean_Parser_Tactic_have_formatter___closed__2; 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; } @@ -28627,22 +28587,10 @@ return x_4; lean_object* _init_l_Lean_Parser_Tactic_have_parenthesizer___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Term_have_parenthesizer___closed__2; -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_Tactic_have_parenthesizer___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_have___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_have_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Term_have_parenthesizer___closed__3; 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); @@ -28655,7 +28603,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Tactic_have_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Tactic_have_parenthesizer___closed__3; +x_7 = l_Lean_Parser_Tactic_have_parenthesizer___closed__2; 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; } @@ -28981,48 +28929,36 @@ return x_74; lean_object* _init_l_Lean_Parser_Tactic_suffices___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_sufficesDecl; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_suffices___closed__1; -x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_suffices___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_suffices___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Tactic_suffices___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_suffices___elambda__1___closed__1; +x_1 = l_Lean_Parser_epsilonInfo; x_2 = l_Lean_Parser_Tactic_suffices___closed__1; -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_Tactic_suffices___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Tactic_suffices___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Tactic_suffices___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_suffices___elambda__1___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Tactic_suffices___closed__3; +x_3 = l_Lean_Parser_Tactic_suffices___closed__2; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Tactic_suffices___closed__5() { +lean_object* _init_l_Lean_Parser_Tactic_suffices___closed__4() { _start: { lean_object* x_1; @@ -29030,12 +28966,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_suffices___elambda__1), 2, return x_1; } } -lean_object* _init_l_Lean_Parser_Tactic_suffices___closed__6() { +lean_object* _init_l_Lean_Parser_Tactic_suffices___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_suffices___closed__4; -x_2 = l_Lean_Parser_Tactic_suffices___closed__5; +x_1 = l_Lean_Parser_Tactic_suffices___closed__3; +x_2 = l_Lean_Parser_Tactic_suffices___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -29046,7 +28982,7 @@ lean_object* _init_l_Lean_Parser_Tactic_suffices() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_suffices___closed__6; +x_1 = l_Lean_Parser_Tactic_suffices___closed__5; return x_1; } } @@ -29081,22 +29017,10 @@ return x_5; lean_object* _init_l_Lean_Parser_Tactic_suffices_formatter___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_suffices_formatter___closed__2; -x_2 = l_Lean_Parser_Term_suffices_formatter___closed__3; -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_Tactic_suffices_formatter___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_suffices___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_suffices_formatter___closed__2; +x_3 = l_Lean_Parser_Term_suffices_formatter___closed__4; 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); @@ -29109,7 +29033,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Tactic_suffices_formatter___closed__1; -x_7 = l_Lean_Parser_Tactic_suffices_formatter___closed__3; +x_7 = l_Lean_Parser_Tactic_suffices_formatter___closed__2; 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; } @@ -29149,22 +29073,10 @@ return x_4; lean_object* _init_l_Lean_Parser_Tactic_suffices_parenthesizer___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Term_suffices_parenthesizer___closed__2; -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_Tactic_suffices_parenthesizer___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_suffices___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_suffices_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Term_suffices_parenthesizer___closed__3; 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); @@ -29177,7 +29089,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Tactic_suffices_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Tactic_suffices_parenthesizer___closed__3; +x_7 = l_Lean_Parser_Tactic_suffices_parenthesizer___closed__2; 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; } @@ -30026,48 +29938,36 @@ return x_76; lean_object* _init_l_Lean_Parser_Tactic_let___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_letDecl; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_let___closed__1; -x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_let___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_let___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Tactic_let___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_let___elambda__1___closed__1; +x_1 = l_Lean_Parser_epsilonInfo; x_2 = l_Lean_Parser_Tactic_let___closed__1; -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_Tactic_let___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Tactic_let___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Tactic_let___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_let___elambda__1___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Tactic_let___closed__3; +x_3 = l_Lean_Parser_Tactic_let___closed__2; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Tactic_let___closed__5() { +lean_object* _init_l_Lean_Parser_Tactic_let___closed__4() { _start: { lean_object* x_1; @@ -30075,12 +29975,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_let___elambda__1), 2, 0); return x_1; } } -lean_object* _init_l_Lean_Parser_Tactic_let___closed__6() { +lean_object* _init_l_Lean_Parser_Tactic_let___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_let___closed__4; -x_2 = l_Lean_Parser_Tactic_let___closed__5; +x_1 = l_Lean_Parser_Tactic_let___closed__3; +x_2 = l_Lean_Parser_Tactic_let___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -30091,7 +29991,7 @@ lean_object* _init_l_Lean_Parser_Tactic_let() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_let___closed__6; +x_1 = l_Lean_Parser_Tactic_let___closed__5; return x_1; } } @@ -30126,22 +30026,10 @@ return x_5; lean_object* _init_l_Lean_Parser_Tactic_let_formatter___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_let_formatter___closed__2; -x_2 = l_Lean_Parser_Term_let_formatter___closed__3; -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_Tactic_let_formatter___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_let___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_let_formatter___closed__2; +x_3 = l_Lean_Parser_Term_let_formatter___closed__4; 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); @@ -30154,7 +30042,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Tactic_let_formatter___closed__1; -x_7 = l_Lean_Parser_Tactic_let_formatter___closed__3; +x_7 = l_Lean_Parser_Tactic_let_formatter___closed__2; 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; } @@ -30194,22 +30082,10 @@ return x_4; lean_object* _init_l_Lean_Parser_Tactic_let_parenthesizer___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Term_let_parenthesizer___closed__2; -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_Tactic_let_parenthesizer___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_let___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_let_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Term_let_parenthesizer___closed__3; 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); @@ -30222,7 +30098,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Tactic_let_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Tactic_let_parenthesizer___closed__3; +x_7 = l_Lean_Parser_Tactic_let_parenthesizer___closed__2; 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; } @@ -30557,48 +30433,36 @@ return x_76; lean_object* _init_l_Lean_Parser_Tactic_let_x21___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_letDecl; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_let_x21___closed__1; -x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_let_x21___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_let_x21___closed__2; +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +return x_3; } } lean_object* _init_l_Lean_Parser_Tactic_let_x21___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_let_x21___elambda__1___closed__1; +x_1 = l_Lean_Parser_epsilonInfo; x_2 = l_Lean_Parser_Tactic_let_x21___closed__1; -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_Tactic_let_x21___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; -x_2 = l_Lean_Parser_Tactic_let_x21___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Tactic_let_x21___closed__4() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_let_x21___elambda__1___closed__3; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Tactic_let_x21___closed__3; +x_3 = l_Lean_Parser_Tactic_let_x21___closed__2; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Tactic_let_x21___closed__5() { +lean_object* _init_l_Lean_Parser_Tactic_let_x21___closed__4() { _start: { lean_object* x_1; @@ -30606,12 +30470,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Tactic_let_x21___elambda__1), 2, return x_1; } } -lean_object* _init_l_Lean_Parser_Tactic_let_x21___closed__6() { +lean_object* _init_l_Lean_Parser_Tactic_let_x21___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_let_x21___closed__4; -x_2 = l_Lean_Parser_Tactic_let_x21___closed__5; +x_1 = l_Lean_Parser_Tactic_let_x21___closed__3; +x_2 = l_Lean_Parser_Tactic_let_x21___closed__4; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -30622,7 +30486,7 @@ lean_object* _init_l_Lean_Parser_Tactic_let_x21() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_let_x21___closed__6; +x_1 = l_Lean_Parser_Tactic_let_x21___closed__5; return x_1; } } @@ -30657,22 +30521,10 @@ return x_5; lean_object* _init_l_Lean_Parser_Tactic_let_x21_formatter___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_let_x21_formatter___closed__2; -x_2 = l_Lean_Parser_Term_let_formatter___closed__3; -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_Tactic_let_x21_formatter___closed__3() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_let_x21___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_let_x21_formatter___closed__2; +x_3 = l_Lean_Parser_Term_let_x21_formatter___closed__3; 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); @@ -30685,7 +30537,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Tactic_let_x21_formatter___closed__1; -x_7 = l_Lean_Parser_Tactic_let_x21_formatter___closed__3; +x_7 = l_Lean_Parser_Tactic_let_x21_formatter___closed__2; 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; } @@ -30728,7 +30580,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_let_x21___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_let_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Term_let_parenthesizer___closed__3; 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); @@ -33252,8 +33104,6 @@ l_Lean_Parser_Tactic_have___closed__4 = _init_l_Lean_Parser_Tactic_have___closed lean_mark_persistent(l_Lean_Parser_Tactic_have___closed__4); l_Lean_Parser_Tactic_have___closed__5 = _init_l_Lean_Parser_Tactic_have___closed__5(); lean_mark_persistent(l_Lean_Parser_Tactic_have___closed__5); -l_Lean_Parser_Tactic_have___closed__6 = _init_l_Lean_Parser_Tactic_have___closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_have___closed__6); l_Lean_Parser_Tactic_have = _init_l_Lean_Parser_Tactic_have(); lean_mark_persistent(l_Lean_Parser_Tactic_have); res = l___regBuiltinParser_Lean_Parser_Tactic_have(lean_io_mk_world()); @@ -33263,8 +33113,6 @@ l_Lean_Parser_Tactic_have_formatter___closed__1 = _init_l_Lean_Parser_Tactic_hav lean_mark_persistent(l_Lean_Parser_Tactic_have_formatter___closed__1); l_Lean_Parser_Tactic_have_formatter___closed__2 = _init_l_Lean_Parser_Tactic_have_formatter___closed__2(); lean_mark_persistent(l_Lean_Parser_Tactic_have_formatter___closed__2); -l_Lean_Parser_Tactic_have_formatter___closed__3 = _init_l_Lean_Parser_Tactic_have_formatter___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_have_formatter___closed__3); l___regBuiltin_Lean_Parser_Tactic_have_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_have_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_have_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Tactic_have_formatter(lean_io_mk_world()); @@ -33274,8 +33122,6 @@ l_Lean_Parser_Tactic_have_parenthesizer___closed__1 = _init_l_Lean_Parser_Tactic lean_mark_persistent(l_Lean_Parser_Tactic_have_parenthesizer___closed__1); l_Lean_Parser_Tactic_have_parenthesizer___closed__2 = _init_l_Lean_Parser_Tactic_have_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Tactic_have_parenthesizer___closed__2); -l_Lean_Parser_Tactic_have_parenthesizer___closed__3 = _init_l_Lean_Parser_Tactic_have_parenthesizer___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_have_parenthesizer___closed__3); l___regBuiltin_Lean_Parser_Tactic_have_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_have_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_have_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Tactic_have_parenthesizer(lean_io_mk_world()); @@ -33297,8 +33143,6 @@ l_Lean_Parser_Tactic_suffices___closed__4 = _init_l_Lean_Parser_Tactic_suffices_ lean_mark_persistent(l_Lean_Parser_Tactic_suffices___closed__4); l_Lean_Parser_Tactic_suffices___closed__5 = _init_l_Lean_Parser_Tactic_suffices___closed__5(); lean_mark_persistent(l_Lean_Parser_Tactic_suffices___closed__5); -l_Lean_Parser_Tactic_suffices___closed__6 = _init_l_Lean_Parser_Tactic_suffices___closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_suffices___closed__6); l_Lean_Parser_Tactic_suffices = _init_l_Lean_Parser_Tactic_suffices(); lean_mark_persistent(l_Lean_Parser_Tactic_suffices); res = l___regBuiltinParser_Lean_Parser_Tactic_suffices(lean_io_mk_world()); @@ -33308,8 +33152,6 @@ l_Lean_Parser_Tactic_suffices_formatter___closed__1 = _init_l_Lean_Parser_Tactic lean_mark_persistent(l_Lean_Parser_Tactic_suffices_formatter___closed__1); l_Lean_Parser_Tactic_suffices_formatter___closed__2 = _init_l_Lean_Parser_Tactic_suffices_formatter___closed__2(); lean_mark_persistent(l_Lean_Parser_Tactic_suffices_formatter___closed__2); -l_Lean_Parser_Tactic_suffices_formatter___closed__3 = _init_l_Lean_Parser_Tactic_suffices_formatter___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_suffices_formatter___closed__3); l___regBuiltin_Lean_Parser_Tactic_suffices_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_suffices_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_suffices_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Tactic_suffices_formatter(lean_io_mk_world()); @@ -33319,8 +33161,6 @@ l_Lean_Parser_Tactic_suffices_parenthesizer___closed__1 = _init_l_Lean_Parser_Ta lean_mark_persistent(l_Lean_Parser_Tactic_suffices_parenthesizer___closed__1); l_Lean_Parser_Tactic_suffices_parenthesizer___closed__2 = _init_l_Lean_Parser_Tactic_suffices_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Tactic_suffices_parenthesizer___closed__2); -l_Lean_Parser_Tactic_suffices_parenthesizer___closed__3 = _init_l_Lean_Parser_Tactic_suffices_parenthesizer___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_suffices_parenthesizer___closed__3); l___regBuiltin_Lean_Parser_Tactic_suffices_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_suffices_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_suffices_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Tactic_suffices_parenthesizer(lean_io_mk_world()); @@ -33385,8 +33225,6 @@ l_Lean_Parser_Tactic_let___closed__4 = _init_l_Lean_Parser_Tactic_let___closed__ lean_mark_persistent(l_Lean_Parser_Tactic_let___closed__4); l_Lean_Parser_Tactic_let___closed__5 = _init_l_Lean_Parser_Tactic_let___closed__5(); lean_mark_persistent(l_Lean_Parser_Tactic_let___closed__5); -l_Lean_Parser_Tactic_let___closed__6 = _init_l_Lean_Parser_Tactic_let___closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_let___closed__6); l_Lean_Parser_Tactic_let = _init_l_Lean_Parser_Tactic_let(); lean_mark_persistent(l_Lean_Parser_Tactic_let); res = l___regBuiltinParser_Lean_Parser_Tactic_let(lean_io_mk_world()); @@ -33396,8 +33234,6 @@ l_Lean_Parser_Tactic_let_formatter___closed__1 = _init_l_Lean_Parser_Tactic_let_ lean_mark_persistent(l_Lean_Parser_Tactic_let_formatter___closed__1); l_Lean_Parser_Tactic_let_formatter___closed__2 = _init_l_Lean_Parser_Tactic_let_formatter___closed__2(); lean_mark_persistent(l_Lean_Parser_Tactic_let_formatter___closed__2); -l_Lean_Parser_Tactic_let_formatter___closed__3 = _init_l_Lean_Parser_Tactic_let_formatter___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_let_formatter___closed__3); l___regBuiltin_Lean_Parser_Tactic_let_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_let_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_let_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Tactic_let_formatter(lean_io_mk_world()); @@ -33407,8 +33243,6 @@ l_Lean_Parser_Tactic_let_parenthesizer___closed__1 = _init_l_Lean_Parser_Tactic_ lean_mark_persistent(l_Lean_Parser_Tactic_let_parenthesizer___closed__1); l_Lean_Parser_Tactic_let_parenthesizer___closed__2 = _init_l_Lean_Parser_Tactic_let_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Tactic_let_parenthesizer___closed__2); -l_Lean_Parser_Tactic_let_parenthesizer___closed__3 = _init_l_Lean_Parser_Tactic_let_parenthesizer___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_let_parenthesizer___closed__3); l___regBuiltin_Lean_Parser_Tactic_let_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_let_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_let_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Tactic_let_parenthesizer(lean_io_mk_world()); @@ -33430,8 +33264,6 @@ l_Lean_Parser_Tactic_let_x21___closed__4 = _init_l_Lean_Parser_Tactic_let_x21___ lean_mark_persistent(l_Lean_Parser_Tactic_let_x21___closed__4); l_Lean_Parser_Tactic_let_x21___closed__5 = _init_l_Lean_Parser_Tactic_let_x21___closed__5(); lean_mark_persistent(l_Lean_Parser_Tactic_let_x21___closed__5); -l_Lean_Parser_Tactic_let_x21___closed__6 = _init_l_Lean_Parser_Tactic_let_x21___closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_let_x21___closed__6); l_Lean_Parser_Tactic_let_x21 = _init_l_Lean_Parser_Tactic_let_x21(); lean_mark_persistent(l_Lean_Parser_Tactic_let_x21); res = l___regBuiltinParser_Lean_Parser_Tactic_let_x21(lean_io_mk_world()); @@ -33441,8 +33273,6 @@ l_Lean_Parser_Tactic_let_x21_formatter___closed__1 = _init_l_Lean_Parser_Tactic_ lean_mark_persistent(l_Lean_Parser_Tactic_let_x21_formatter___closed__1); l_Lean_Parser_Tactic_let_x21_formatter___closed__2 = _init_l_Lean_Parser_Tactic_let_x21_formatter___closed__2(); lean_mark_persistent(l_Lean_Parser_Tactic_let_x21_formatter___closed__2); -l_Lean_Parser_Tactic_let_x21_formatter___closed__3 = _init_l_Lean_Parser_Tactic_let_x21_formatter___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_let_x21_formatter___closed__3); l___regBuiltin_Lean_Parser_Tactic_let_x21_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Tactic_let_x21_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Tactic_let_x21_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Tactic_let_x21_formatter(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index d8be1dbf3f..7766bceb32 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -49,6 +49,7 @@ lean_object* l_Lean_Parser_Term_uminus_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter___closed__5; lean_object* l_Lean_Parser_Term_not; lean_object* l_Lean_Parser_Term_where_formatter___closed__5; +lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_letrec_formatter___closed__4; lean_object* l_Lean_Parser_Term_paren_formatter___closed__5; lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__5; @@ -106,6 +107,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_lt_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_bindOp___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_manyAux___main___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_forall_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_if___closed__13; lean_object* l_Lean_Parser_Term_byTactic_formatter___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_sub(lean_object*); @@ -221,6 +223,7 @@ lean_object* l_Lean_Parser_Term_dollar___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Level_num_parenthesizer___closed__1; extern lean_object* l_addParenHeuristic___closed__2; lean_object* l_Lean_Parser_Term_instBinder_parenthesizer___closed__1; +lean_object* l_Lean_Parser_Term_let_x21___closed__8; lean_object* l___regBuiltinParser_Lean_Parser_Term_add(lean_object*); lean_object* l_Lean_Parser_Term_byTactic___closed__4; lean_object* l_Lean_Parser_Term_if_parenthesizer___closed__6; @@ -316,6 +319,7 @@ lean_object* l_Lean_Parser_Term_attributes_formatter___closed__6; lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_ne_formatter___closed__1; lean_object* l_Lean_Parser_Term_unreachable___closed__6; +lean_object* l_Lean_Parser_Term_let_formatter___closed__7; lean_object* l_Lean_Parser_tacticParser_formatter___boxed(lean_object*); lean_object* l_Lean_Parser_Term_letDecl_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_haveAssign___closed__2; @@ -540,6 +544,7 @@ lean_object* l_Lean_Parser_Term_letrec___closed__7; lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_forall_formatter___closed__5; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed; +lean_object* l_Lean_Parser_Term_suffices_formatter___closed__7; lean_object* l_Lean_Parser_Term_binderTactic___closed__7; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_show___elambda__1___closed__2; @@ -1070,7 +1075,9 @@ lean_object* l___regBuiltin_Lean_Parser_Term_let_formatter(lean_object*); lean_object* l_Lean_Parser_Term_cdot___closed__1; extern lean_object* l_Lean_Parser_fieldIdx___closed__4; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__4; +lean_object* l_Lean_Parser_Term_assert___closed__8; lean_object* l_Lean_Parser_Term_assert_formatter___closed__1; +lean_object* l_Lean_Parser_Term_let_x21_formatter___closed__6; lean_object* l_Lean_Parser_Term_syntheticHole___closed__1; lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_borrowed_parenthesizer___closed__1; @@ -1410,6 +1417,7 @@ lean_object* l_Lean_Parser_charLit_formatter___closed__2; lean_object* l_Lean_Parser_Term_let___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_explicitUniv_formatter___closed__1; lean_object* l_Lean_Parser_Term_optType; +lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_paren_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__1; @@ -1579,6 +1587,7 @@ lean_object* l_Lean_Parser_Term_match___closed__5; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkWsBeforeFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ne___closed__4; +lean_object* l_Lean_Parser_Term_letrec_formatter___closed__13; lean_object* l_Lean_Parser_Term_le___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_div___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_borrowed___elambda__1(lean_object*, lean_object*); @@ -2682,6 +2691,7 @@ lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_modN___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_map___elambda__1(lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_le(lean_object*); +lean_object* l_Lean_Parser_Term_let_x21_formatter___closed__5; lean_object* l_Lean_Parser_Term_match_formatter___closed__2; lean_object* l_Lean_Parser_Term_seqRight; lean_object* l_Lean_Parser_Term_anonymousCtor_formatter___closed__6; @@ -2739,6 +2749,7 @@ extern lean_object* l_Lean_myMacro____x40_Lean_Util_Trace___hyg_45____closed__20 lean_object* l_Lean_Parser_Term_subtype___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_map_formatter___closed__1; lean_object* l_Lean_Parser_Term_sub___closed__1; +lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_typeSpec_parenthesizer___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_show(lean_object*); lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; @@ -3076,6 +3087,7 @@ lean_object* l_Lean_Parser_Term_forall_formatter___closed__3; lean_object* l_Lean_Parser_Term_letEqnsDecl___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__5; lean_object* l_Lean_Parser_Term_letrec___closed__5; +lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_instBinder_formatter___closed__2; lean_object* l_Lean_Parser_Term_let_formatter___closed__3; lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer___closed__2; @@ -3148,6 +3160,7 @@ lean_object* l_Lean_Parser_Term_append___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_show_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_tupleTail___closed__2; lean_object* l_Lean_Parser_Term_structInstLVal___closed__11; +lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__6; lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_attrArg; lean_object* l_Lean_Parser_Term_dollar___closed__4; @@ -3217,6 +3230,7 @@ lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_prod_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_structInst_formatter___closed__7; lean_object* l_Lean_Parser_Term_panic___closed__5; +lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_optType_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3229,6 +3243,7 @@ lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_cdot_formatter(lean_object*); lean_object* l_Lean_Parser_Term_explicit_formatter___closed__3; lean_object* l_Lean_Parser_Term_not___closed__1; +lean_object* l_Lean_Parser_Term_assert_formatter___closed__5; lean_object* l_Lean_Parser_Tactic_seq1___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__3; lean_object* l___regBuiltin_Lean_Parser_Level_quot_parenthesizer(lean_object*); @@ -3471,6 +3486,7 @@ lean_object* l___private_Lean_Parser_Basic_2__sepByFnAux___main___at_Lean_Parser lean_object* l_Lean_Parser_Term_unicodeInfixR___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_num_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_andthen___closed__1; +lean_object* l_Lean_Parser_Term_have_formatter___closed__8; lean_object* l_Lean_Parser_Term_nativeRefl_formatter___closed__3; lean_object* l_Lean_Parser_Term_and___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_decide___elambda__1___closed__7; @@ -3491,6 +3507,7 @@ lean_object* l_Lean_Parser_Term_have___elambda__1___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_bor_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_optExprPrecedence_parenthesizer___closed__2; +lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__11; lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__5; @@ -3533,6 +3550,7 @@ lean_object* l_Lean_Parser_Term_dollarProj___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_parenSpecial_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_match_formatter___closed__10; lean_object* l_Lean_Parser_Term_gt___closed__4; +lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_seq_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_let_x21___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_explicit; @@ -3545,6 +3563,7 @@ lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_fun_formatter___closed__1; lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__4; +lean_object* l_Lean_Parser_Term_assert_formatter___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Term_arrow(lean_object*); lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_modN___closed__3; @@ -21097,308 +21116,38 @@ 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_45; lean_object* x_46; lean_object* x_47; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; 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_45 = lean_ctor_get(x_7, 1); -lean_inc(x_45); -lean_inc(x_1); -x_46 = l_Lean_Parser_tokenFn(x_1, x_7); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_inc(x_48); -x_49 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_48); -lean_dec(x_48); -if (lean_obj_tag(x_49) == 2) -{ -lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_Parser_Term_have___elambda__1___closed__6; -x_52 = lean_string_dec_eq(x_50, x_51); -lean_dec(x_50); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; -x_53 = l_Lean_Parser_Term_have___elambda__1___closed__9; -x_54 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_53, x_45); -x_11 = x_54; -goto block_44; -} -else -{ -lean_dec(x_45); -x_11 = x_46; -goto block_44; -} -} -else -{ -lean_object* x_55; lean_object* x_56; -lean_dec(x_49); -x_55 = l_Lean_Parser_Term_have___elambda__1___closed__9; -x_56 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_55, x_45); -x_11 = x_56; -goto block_44; -} -} -else -{ -lean_object* x_57; lean_object* x_58; -lean_dec(x_47); -x_57 = l_Lean_Parser_Term_have___elambda__1___closed__9; -x_58 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_57, x_45); -x_11 = x_58; -goto block_44; -} -block_44: -{ -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_inc(x_1); -x_13 = l_Lean_Parser_Term_haveDecl___elambda__1(x_1, x_11); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_inc(x_1); -x_16 = l_Lean_Parser_tokenFn(x_1, x_13); -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; -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -x_19 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_18); -lean_dec(x_18); -if (lean_obj_tag(x_19) == 2) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; -x_22 = lean_string_dec_eq(x_20, x_21); -lean_dec(x_20); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_1); -x_23 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_24 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_23, x_15); -x_25 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_26 = l_Lean_Parser_ParserState_mkNode(x_24, x_25, x_10); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_15); -x_27 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_28 = lean_unsigned_to_nat(0u); -x_29 = l_Lean_Parser_categoryParser___elambda__1(x_27, x_28, x_1, x_16); -x_30 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_10); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_19); -lean_dec(x_1); -x_32 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_33 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_32, x_15); -x_34 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_35 = l_Lean_Parser_ParserState_mkNode(x_33, x_34, x_10); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_17); -lean_dec(x_1); -x_36 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_37 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_36, x_15); -x_38 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_39 = l_Lean_Parser_ParserState_mkNode(x_37, x_38, x_10); -return x_39; -} -} -else -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_14); -lean_dec(x_1); -x_40 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_41 = l_Lean_Parser_ParserState_mkNode(x_13, x_40, x_10); -return x_41; -} -} -else -{ -lean_object* x_42; lean_object* x_43; -lean_dec(x_12); -lean_dec(x_1); -x_42 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_43 = l_Lean_Parser_ParserState_mkNode(x_11, x_42, x_10); -return x_43; -} -} -} -else -{ -lean_dec(x_8); -lean_dec(x_1); -return x_7; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_59 = lean_ctor_get(x_2, 0); -lean_inc(x_59); -x_60 = lean_array_get_size(x_59); -lean_dec(x_59); -x_61 = lean_ctor_get(x_2, 1); -lean_inc(x_61); -lean_inc(x_1); -x_62 = lean_apply_2(x_4, x_1, x_2); -x_63 = lean_ctor_get(x_62, 3); -lean_inc(x_63); -if (lean_obj_tag(x_63) == 0) -{ -lean_dec(x_61); -lean_dec(x_60); -lean_dec(x_1); -return x_62; -} -else -{ -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -x_66 = lean_nat_dec_eq(x_65, x_61); -lean_dec(x_65); -if (x_66 == 0) -{ -lean_dec(x_64); -lean_dec(x_61); -lean_dec(x_60); -lean_dec(x_1); -return x_62; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -lean_inc(x_61); -x_67 = l_Lean_Parser_ParserState_restore(x_62, x_60, x_61); -lean_dec(x_60); -x_68 = l_Lean_Parser_leadPrec; -x_69 = l_Lean_Parser_checkPrecFn(x_68, x_1, x_67); -x_70 = lean_ctor_get(x_69, 3); +x_68 = lean_ctor_get(x_1, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_1, 1); +lean_inc(x_69); +x_70 = lean_ctor_get(x_1, 2); lean_inc(x_70); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_71 = lean_ctor_get(x_69, 0); +x_71 = lean_ctor_get(x_1, 3); lean_inc(x_71); -x_72 = lean_array_get_size(x_71); -lean_dec(x_71); -x_119 = lean_ctor_get(x_69, 1); -lean_inc(x_119); -lean_inc(x_1); -x_120 = l_Lean_Parser_tokenFn(x_1, x_69); -x_121 = lean_ctor_get(x_120, 3); -lean_inc(x_121); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_120, 0); -lean_inc(x_122); -x_123 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_122); -lean_dec(x_122); -if (lean_obj_tag(x_123) == 2) -{ -lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_125 = l_Lean_Parser_Term_have___elambda__1___closed__6; -x_126 = lean_string_dec_eq(x_124, x_125); -lean_dec(x_124); -if (x_126 == 0) -{ -lean_object* x_127; lean_object* x_128; -x_127 = l_Lean_Parser_Term_have___elambda__1___closed__9; -x_128 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_127, x_119); -x_73 = x_128; -goto block_118; -} -else -{ -lean_dec(x_119); -x_73 = x_120; -goto block_118; -} -} -else -{ -lean_object* x_129; lean_object* x_130; -lean_dec(x_123); -x_129 = l_Lean_Parser_Term_have___elambda__1___closed__9; -x_130 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_129, x_119); -x_73 = x_130; -goto block_118; -} -} -else -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_121); -x_131 = l_Lean_Parser_Term_have___elambda__1___closed__9; -x_132 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_131, x_119); -x_73 = x_132; -goto block_118; -} -block_118: -{ -lean_object* x_74; -x_74 = lean_ctor_get(x_73, 3); +x_72 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_73 = lean_ctor_get(x_68, 2); +lean_inc(x_73); +x_74 = lean_ctor_get(x_7, 1); lean_inc(x_74); -if (lean_obj_tag(x_74) == 0) -{ -lean_object* x_75; lean_object* x_76; -lean_inc(x_1); -x_75 = l_Lean_Parser_Term_haveDecl___elambda__1(x_1, x_73); -x_76 = lean_ctor_get(x_75, 3); -lean_inc(x_76); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_74); +x_75 = l_Lean_FileMap_toPosition(x_73, x_74); +lean_dec(x_73); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_77, 0, x_68); +lean_ctor_set(x_77, 1, x_69); +lean_ctor_set(x_77, 2, x_70); +lean_ctor_set(x_77, 3, x_71); +lean_ctor_set(x_77, 4, x_76); +lean_ctor_set_uint8(x_77, sizeof(void*)*5, x_72); lean_inc(x_77); -lean_inc(x_1); -x_78 = l_Lean_Parser_tokenFn(x_1, x_75); +x_78 = l_Lean_Parser_tokenFn(x_77, x_7); x_79 = lean_ctor_get(x_78, 3); lean_inc(x_79); if (lean_obj_tag(x_79) == 0) @@ -21414,103 +21163,923 @@ lean_object* x_82; lean_object* x_83; uint8_t x_84; x_82 = lean_ctor_get(x_81, 1); lean_inc(x_82); lean_dec(x_81); -x_83 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_83 = l_Lean_Parser_Term_have___elambda__1___closed__6; x_84 = lean_string_dec_eq(x_82, x_83); lean_dec(x_82); if (x_84 == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; -lean_dec(x_1); -x_85 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_86 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_85, x_77); -x_87 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_88 = l_Lean_Parser_ParserState_mkNode(x_86, x_87, x_72); -x_89 = 1; -x_90 = l_Lean_Parser_mergeOrElseErrors(x_88, x_64, x_61, x_89); -lean_dec(x_61); -return x_90; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; +lean_object* x_85; lean_object* x_86; lean_dec(x_77); -x_91 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_92 = lean_unsigned_to_nat(0u); -x_93 = l_Lean_Parser_categoryParser___elambda__1(x_91, x_92, x_1, x_78); -x_94 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_95 = l_Lean_Parser_ParserState_mkNode(x_93, x_94, x_72); -x_96 = 1; -x_97 = l_Lean_Parser_mergeOrElseErrors(x_95, x_64, x_61, x_96); -lean_dec(x_61); -return x_97; -} +x_85 = l_Lean_Parser_Term_have___elambda__1___closed__9; +x_86 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_85, x_74); +x_11 = x_86; +goto block_67; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; -lean_dec(x_81); -lean_dec(x_1); -x_98 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_99 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_98, x_77); -x_100 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_101 = l_Lean_Parser_ParserState_mkNode(x_99, x_100, x_72); -x_102 = 1; -x_103 = l_Lean_Parser_mergeOrElseErrors(x_101, x_64, x_61, x_102); -lean_dec(x_61); -return x_103; -} -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; -lean_dec(x_79); -lean_dec(x_1); -x_104 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_105 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_104, x_77); -x_106 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_107 = l_Lean_Parser_ParserState_mkNode(x_105, x_106, x_72); -x_108 = 1; -x_109 = l_Lean_Parser_mergeOrElseErrors(x_107, x_64, x_61, x_108); -lean_dec(x_61); -return x_109; -} -} -else -{ -lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; -lean_dec(x_76); -lean_dec(x_1); -x_110 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_111 = l_Lean_Parser_ParserState_mkNode(x_75, x_110, x_72); -x_112 = 1; -x_113 = l_Lean_Parser_mergeOrElseErrors(x_111, x_64, x_61, x_112); -lean_dec(x_61); -return x_113; -} -} -else -{ -lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; +lean_object* x_87; lean_dec(x_74); +x_87 = l_Lean_Parser_Term_haveDecl___elambda__1(x_77, x_78); +x_11 = x_87; +goto block_67; +} +} +else +{ +lean_object* x_88; lean_object* x_89; +lean_dec(x_81); +lean_dec(x_77); +x_88 = l_Lean_Parser_Term_have___elambda__1___closed__9; +x_89 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_88, x_74); +x_11 = x_89; +goto block_67; +} +} +else +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_79); +lean_dec(x_77); +x_90 = l_Lean_Parser_Term_have___elambda__1___closed__9; +x_91 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_90, x_74); +x_11 = x_91; +goto block_67; +} +block_67: +{ +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_52; lean_object* x_53; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_inc(x_1); +x_52 = l_Lean_Parser_tokenFn(x_1, x_11); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +x_55 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_54); +lean_dec(x_54); +if (lean_obj_tag(x_55) == 2) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_58 = lean_string_dec_eq(x_56, x_57); +lean_dec(x_56); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_60 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_59, x_15); +x_16 = x_60; +goto block_51; +} +else +{ +x_16 = x_52; +goto block_51; +} +} +else +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_55); +x_61 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_61, x_15); +x_16 = x_62; +goto block_51; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_53); +x_63 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_63, x_15); +x_16 = x_64; +goto block_51; +} +block_51: +{ +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_dec(x_15); +x_18 = l_Lean_nullKind; +x_19 = l_Lean_Parser_ParserState_mkNode(x_16, x_18, x_14); +x_20 = lean_ctor_get(x_19, 3); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Parser_categoryParser___elambda__1(x_21, x_22, x_1, x_19); +x_24 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_20); lean_dec(x_1); -x_114 = l_Lean_Parser_Term_have___elambda__1___closed__2; -x_115 = l_Lean_Parser_ParserState_mkNode(x_73, x_114, x_72); -x_116 = 1; -x_117 = l_Lean_Parser_mergeOrElseErrors(x_115, x_64, x_61, x_116); -lean_dec(x_61); -return x_117; +x_26 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_27 = l_Lean_Parser_ParserState_mkNode(x_19, x_26, x_10); +return x_27; +} +} +else +{ +lean_object* x_28; uint8_t x_29; +lean_dec(x_17); +x_28 = lean_ctor_get(x_16, 1); +lean_inc(x_28); +x_29 = lean_nat_dec_eq(x_28, x_15); +lean_dec(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_15); +x_30 = l_Lean_nullKind; +x_31 = l_Lean_Parser_ParserState_mkNode(x_16, x_30, x_14); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_34 = lean_unsigned_to_nat(0u); +x_35 = l_Lean_Parser_categoryParser___elambda__1(x_33, x_34, x_1, x_31); +x_36 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_10); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_32); +lean_dec(x_1); +x_38 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_39 = l_Lean_Parser_ParserState_mkNode(x_31, x_38, x_10); +return x_39; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = l_Lean_Parser_ParserState_restore(x_16, x_14, x_15); +x_41 = l_Lean_nullKind; +x_42 = l_Lean_Parser_ParserState_mkNode(x_40, x_41, x_14); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_45 = lean_unsigned_to_nat(0u); +x_46 = l_Lean_Parser_categoryParser___elambda__1(x_44, x_45, x_1, x_42); +x_47 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_48 = l_Lean_Parser_ParserState_mkNode(x_46, x_47, x_10); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_43); +lean_dec(x_1); +x_49 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_50 = l_Lean_Parser_ParserState_mkNode(x_42, x_49, x_10); +return x_50; +} +} } } } else { -uint8_t x_133; lean_object* x_134; -lean_dec(x_70); +lean_object* x_65; lean_object* x_66; +lean_dec(x_12); lean_dec(x_1); -x_133 = 1; -x_134 = l_Lean_Parser_mergeOrElseErrors(x_69, x_64, x_61, x_133); -lean_dec(x_61); -return x_134; +x_65 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_66 = l_Lean_Parser_ParserState_mkNode(x_11, x_65, x_10); +return x_66; +} +} +} +else +{ +lean_dec(x_8); +lean_dec(x_1); +return x_7; +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_92 = lean_ctor_get(x_2, 0); +lean_inc(x_92); +x_93 = lean_array_get_size(x_92); +lean_dec(x_92); +x_94 = lean_ctor_get(x_2, 1); +lean_inc(x_94); +lean_inc(x_1); +x_95 = lean_apply_2(x_4, x_1, x_2); +x_96 = lean_ctor_get(x_95, 3); +lean_inc(x_96); +if (lean_obj_tag(x_96) == 0) +{ +lean_dec(x_94); +lean_dec(x_93); +lean_dec(x_1); +return x_95; +} +else +{ +uint8_t x_97; +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_98 = lean_ctor_get(x_96, 0); +x_99 = lean_ctor_get(x_95, 1); +lean_inc(x_99); +x_100 = lean_nat_dec_eq(x_99, x_94); +lean_dec(x_99); +if (x_100 == 0) +{ +lean_free_object(x_96); +lean_dec(x_98); +lean_dec(x_94); +lean_dec(x_93); +lean_dec(x_1); +return x_95; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_inc(x_94); +x_101 = l_Lean_Parser_ParserState_restore(x_95, x_93, x_94); +lean_dec(x_93); +x_102 = l_Lean_Parser_leadPrec; +x_103 = l_Lean_Parser_checkPrecFn(x_102, x_1, x_101); +x_104 = lean_ctor_get(x_103, 3); +lean_inc(x_104); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t 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; +x_105 = lean_ctor_get(x_103, 0); +lean_inc(x_105); +x_106 = lean_array_get_size(x_105); +lean_dec(x_105); +x_178 = lean_ctor_get(x_1, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_1, 1); +lean_inc(x_179); +x_180 = lean_ctor_get(x_1, 2); +lean_inc(x_180); +x_181 = lean_ctor_get(x_1, 3); +lean_inc(x_181); +x_182 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_183 = lean_ctor_get(x_178, 2); +lean_inc(x_183); +x_184 = lean_ctor_get(x_103, 1); +lean_inc(x_184); +lean_inc(x_184); +x_185 = l_Lean_FileMap_toPosition(x_183, x_184); +lean_dec(x_183); +lean_ctor_set(x_96, 0, x_185); +x_186 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_186, 0, x_178); +lean_ctor_set(x_186, 1, x_179); +lean_ctor_set(x_186, 2, x_180); +lean_ctor_set(x_186, 3, x_181); +lean_ctor_set(x_186, 4, x_96); +lean_ctor_set_uint8(x_186, sizeof(void*)*5, x_182); +lean_inc(x_186); +x_187 = l_Lean_Parser_tokenFn(x_186, x_103); +x_188 = lean_ctor_get(x_187, 3); +lean_inc(x_188); +if (lean_obj_tag(x_188) == 0) +{ +lean_object* x_189; lean_object* x_190; +x_189 = lean_ctor_get(x_187, 0); +lean_inc(x_189); +x_190 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_189); +lean_dec(x_189); +if (lean_obj_tag(x_190) == 2) +{ +lean_object* x_191; lean_object* x_192; uint8_t x_193; +x_191 = lean_ctor_get(x_190, 1); +lean_inc(x_191); +lean_dec(x_190); +x_192 = l_Lean_Parser_Term_have___elambda__1___closed__6; +x_193 = lean_string_dec_eq(x_191, x_192); +lean_dec(x_191); +if (x_193 == 0) +{ +lean_object* x_194; lean_object* x_195; +lean_dec(x_186); +x_194 = l_Lean_Parser_Term_have___elambda__1___closed__9; +x_195 = l_Lean_Parser_ParserState_mkErrorsAt(x_187, x_194, x_184); +x_107 = x_195; +goto block_177; +} +else +{ +lean_object* x_196; +lean_dec(x_184); +x_196 = l_Lean_Parser_Term_haveDecl___elambda__1(x_186, x_187); +x_107 = x_196; +goto block_177; +} +} +else +{ +lean_object* x_197; lean_object* x_198; +lean_dec(x_190); +lean_dec(x_186); +x_197 = l_Lean_Parser_Term_have___elambda__1___closed__9; +x_198 = l_Lean_Parser_ParserState_mkErrorsAt(x_187, x_197, x_184); +x_107 = x_198; +goto block_177; +} +} +else +{ +lean_object* x_199; lean_object* x_200; +lean_dec(x_188); +lean_dec(x_186); +x_199 = l_Lean_Parser_Term_have___elambda__1___closed__9; +x_200 = l_Lean_Parser_ParserState_mkErrorsAt(x_187, x_199, x_184); +x_107 = x_200; +goto block_177; +} +block_177: +{ +lean_object* x_108; +x_108 = lean_ctor_get(x_107, 3); +lean_inc(x_108); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_160; lean_object* x_161; +x_109 = lean_ctor_get(x_107, 0); +lean_inc(x_109); +x_110 = lean_array_get_size(x_109); +lean_dec(x_109); +x_111 = lean_ctor_get(x_107, 1); +lean_inc(x_111); +lean_inc(x_1); +x_160 = l_Lean_Parser_tokenFn(x_1, x_107); +x_161 = lean_ctor_get(x_160, 3); +lean_inc(x_161); +if (lean_obj_tag(x_161) == 0) +{ +lean_object* x_162; lean_object* x_163; +x_162 = lean_ctor_get(x_160, 0); +lean_inc(x_162); +x_163 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_162); +lean_dec(x_162); +if (lean_obj_tag(x_163) == 2) +{ +lean_object* x_164; lean_object* x_165; uint8_t x_166; +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +lean_dec(x_163); +x_165 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_166 = lean_string_dec_eq(x_164, x_165); +lean_dec(x_164); +if (x_166 == 0) +{ +lean_object* x_167; lean_object* x_168; +x_167 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_111); +x_168 = l_Lean_Parser_ParserState_mkErrorsAt(x_160, x_167, x_111); +x_112 = x_168; +goto block_159; +} +else +{ +x_112 = x_160; +goto block_159; +} +} +else +{ +lean_object* x_169; lean_object* x_170; +lean_dec(x_163); +x_169 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_111); +x_170 = l_Lean_Parser_ParserState_mkErrorsAt(x_160, x_169, x_111); +x_112 = x_170; +goto block_159; +} +} +else +{ +lean_object* x_171; lean_object* x_172; +lean_dec(x_161); +x_171 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_111); +x_172 = l_Lean_Parser_ParserState_mkErrorsAt(x_160, x_171, x_111); +x_112 = x_172; +goto block_159; +} +block_159: +{ +lean_object* x_113; +x_113 = lean_ctor_get(x_112, 3); +lean_inc(x_113); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_111); +x_114 = l_Lean_nullKind; +x_115 = l_Lean_Parser_ParserState_mkNode(x_112, x_114, x_110); +x_116 = lean_ctor_get(x_115, 3); +lean_inc(x_116); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; +x_117 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_118 = lean_unsigned_to_nat(0u); +x_119 = l_Lean_Parser_categoryParser___elambda__1(x_117, x_118, x_1, x_115); +x_120 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_121 = l_Lean_Parser_ParserState_mkNode(x_119, x_120, x_106); +x_122 = 1; +x_123 = l_Lean_Parser_mergeOrElseErrors(x_121, x_98, x_94, x_122); +lean_dec(x_94); +return x_123; +} +else +{ +lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; +lean_dec(x_116); +lean_dec(x_1); +x_124 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_125 = l_Lean_Parser_ParserState_mkNode(x_115, x_124, x_106); +x_126 = 1; +x_127 = l_Lean_Parser_mergeOrElseErrors(x_125, x_98, x_94, x_126); +lean_dec(x_94); +return x_127; +} +} +else +{ +lean_object* x_128; uint8_t x_129; +lean_dec(x_113); +x_128 = lean_ctor_get(x_112, 1); +lean_inc(x_128); +x_129 = lean_nat_dec_eq(x_128, x_111); +lean_dec(x_128); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_111); +x_130 = l_Lean_nullKind; +x_131 = l_Lean_Parser_ParserState_mkNode(x_112, x_130, x_110); +x_132 = lean_ctor_get(x_131, 3); +lean_inc(x_132); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; lean_object* x_139; +x_133 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_134 = lean_unsigned_to_nat(0u); +x_135 = l_Lean_Parser_categoryParser___elambda__1(x_133, x_134, x_1, x_131); +x_136 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_137 = l_Lean_Parser_ParserState_mkNode(x_135, x_136, x_106); +x_138 = 1; +x_139 = l_Lean_Parser_mergeOrElseErrors(x_137, x_98, x_94, x_138); +lean_dec(x_94); +return x_139; +} +else +{ +lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; +lean_dec(x_132); +lean_dec(x_1); +x_140 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_141 = l_Lean_Parser_ParserState_mkNode(x_131, x_140, x_106); +x_142 = 1; +x_143 = l_Lean_Parser_mergeOrElseErrors(x_141, x_98, x_94, x_142); +lean_dec(x_94); +return x_143; +} +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_144 = l_Lean_Parser_ParserState_restore(x_112, x_110, x_111); +x_145 = l_Lean_nullKind; +x_146 = l_Lean_Parser_ParserState_mkNode(x_144, x_145, x_110); +x_147 = lean_ctor_get(x_146, 3); +lean_inc(x_147); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; +x_148 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_149 = lean_unsigned_to_nat(0u); +x_150 = l_Lean_Parser_categoryParser___elambda__1(x_148, x_149, x_1, x_146); +x_151 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_152 = l_Lean_Parser_ParserState_mkNode(x_150, x_151, x_106); +x_153 = 1; +x_154 = l_Lean_Parser_mergeOrElseErrors(x_152, x_98, x_94, x_153); +lean_dec(x_94); +return x_154; +} +else +{ +lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; +lean_dec(x_147); +lean_dec(x_1); +x_155 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_156 = l_Lean_Parser_ParserState_mkNode(x_146, x_155, x_106); +x_157 = 1; +x_158 = l_Lean_Parser_mergeOrElseErrors(x_156, x_98, x_94, x_157); +lean_dec(x_94); +return x_158; +} +} +} +} +} +else +{ +lean_object* x_173; lean_object* x_174; uint8_t x_175; lean_object* x_176; +lean_dec(x_108); +lean_dec(x_1); +x_173 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_174 = l_Lean_Parser_ParserState_mkNode(x_107, x_173, x_106); +x_175 = 1; +x_176 = l_Lean_Parser_mergeOrElseErrors(x_174, x_98, x_94, x_175); +lean_dec(x_94); +return x_176; +} +} +} +else +{ +uint8_t x_201; lean_object* x_202; +lean_dec(x_104); +lean_free_object(x_96); +lean_dec(x_1); +x_201 = 1; +x_202 = l_Lean_Parser_mergeOrElseErrors(x_103, x_98, x_94, x_201); +lean_dec(x_94); +return x_202; +} +} +} +else +{ +lean_object* x_203; lean_object* x_204; uint8_t x_205; +x_203 = lean_ctor_get(x_96, 0); +lean_inc(x_203); +lean_dec(x_96); +x_204 = lean_ctor_get(x_95, 1); +lean_inc(x_204); +x_205 = lean_nat_dec_eq(x_204, x_94); +lean_dec(x_204); +if (x_205 == 0) +{ +lean_dec(x_203); +lean_dec(x_94); +lean_dec(x_93); +lean_dec(x_1); +return x_95; +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +lean_inc(x_94); +x_206 = l_Lean_Parser_ParserState_restore(x_95, x_93, x_94); +lean_dec(x_93); +x_207 = l_Lean_Parser_leadPrec; +x_208 = l_Lean_Parser_checkPrecFn(x_207, x_1, x_206); +x_209 = lean_ctor_get(x_208, 3); +lean_inc(x_209); +if (lean_obj_tag(x_209) == 0) +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t 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; +x_210 = lean_ctor_get(x_208, 0); +lean_inc(x_210); +x_211 = lean_array_get_size(x_210); +lean_dec(x_210); +x_283 = lean_ctor_get(x_1, 0); +lean_inc(x_283); +x_284 = lean_ctor_get(x_1, 1); +lean_inc(x_284); +x_285 = lean_ctor_get(x_1, 2); +lean_inc(x_285); +x_286 = lean_ctor_get(x_1, 3); +lean_inc(x_286); +x_287 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_288 = lean_ctor_get(x_283, 2); +lean_inc(x_288); +x_289 = lean_ctor_get(x_208, 1); +lean_inc(x_289); +lean_inc(x_289); +x_290 = l_Lean_FileMap_toPosition(x_288, x_289); +lean_dec(x_288); +x_291 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_291, 0, x_290); +x_292 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_292, 0, x_283); +lean_ctor_set(x_292, 1, x_284); +lean_ctor_set(x_292, 2, x_285); +lean_ctor_set(x_292, 3, x_286); +lean_ctor_set(x_292, 4, x_291); +lean_ctor_set_uint8(x_292, sizeof(void*)*5, x_287); +lean_inc(x_292); +x_293 = l_Lean_Parser_tokenFn(x_292, x_208); +x_294 = lean_ctor_get(x_293, 3); +lean_inc(x_294); +if (lean_obj_tag(x_294) == 0) +{ +lean_object* x_295; lean_object* x_296; +x_295 = lean_ctor_get(x_293, 0); +lean_inc(x_295); +x_296 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_295); +lean_dec(x_295); +if (lean_obj_tag(x_296) == 2) +{ +lean_object* x_297; lean_object* x_298; uint8_t x_299; +x_297 = lean_ctor_get(x_296, 1); +lean_inc(x_297); +lean_dec(x_296); +x_298 = l_Lean_Parser_Term_have___elambda__1___closed__6; +x_299 = lean_string_dec_eq(x_297, x_298); +lean_dec(x_297); +if (x_299 == 0) +{ +lean_object* x_300; lean_object* x_301; +lean_dec(x_292); +x_300 = l_Lean_Parser_Term_have___elambda__1___closed__9; +x_301 = l_Lean_Parser_ParserState_mkErrorsAt(x_293, x_300, x_289); +x_212 = x_301; +goto block_282; +} +else +{ +lean_object* x_302; +lean_dec(x_289); +x_302 = l_Lean_Parser_Term_haveDecl___elambda__1(x_292, x_293); +x_212 = x_302; +goto block_282; +} +} +else +{ +lean_object* x_303; lean_object* x_304; +lean_dec(x_296); +lean_dec(x_292); +x_303 = l_Lean_Parser_Term_have___elambda__1___closed__9; +x_304 = l_Lean_Parser_ParserState_mkErrorsAt(x_293, x_303, x_289); +x_212 = x_304; +goto block_282; +} +} +else +{ +lean_object* x_305; lean_object* x_306; +lean_dec(x_294); +lean_dec(x_292); +x_305 = l_Lean_Parser_Term_have___elambda__1___closed__9; +x_306 = l_Lean_Parser_ParserState_mkErrorsAt(x_293, x_305, x_289); +x_212 = x_306; +goto block_282; +} +block_282: +{ +lean_object* x_213; +x_213 = lean_ctor_get(x_212, 3); +lean_inc(x_213); +if (lean_obj_tag(x_213) == 0) +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_265; lean_object* x_266; +x_214 = lean_ctor_get(x_212, 0); +lean_inc(x_214); +x_215 = lean_array_get_size(x_214); +lean_dec(x_214); +x_216 = lean_ctor_get(x_212, 1); +lean_inc(x_216); +lean_inc(x_1); +x_265 = l_Lean_Parser_tokenFn(x_1, x_212); +x_266 = lean_ctor_get(x_265, 3); +lean_inc(x_266); +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_267; lean_object* x_268; +x_267 = lean_ctor_get(x_265, 0); +lean_inc(x_267); +x_268 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_267); +lean_dec(x_267); +if (lean_obj_tag(x_268) == 2) +{ +lean_object* x_269; lean_object* x_270; uint8_t x_271; +x_269 = lean_ctor_get(x_268, 1); +lean_inc(x_269); +lean_dec(x_268); +x_270 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_271 = lean_string_dec_eq(x_269, x_270); +lean_dec(x_269); +if (x_271 == 0) +{ +lean_object* x_272; lean_object* x_273; +x_272 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_216); +x_273 = l_Lean_Parser_ParserState_mkErrorsAt(x_265, x_272, x_216); +x_217 = x_273; +goto block_264; +} +else +{ +x_217 = x_265; +goto block_264; +} +} +else +{ +lean_object* x_274; lean_object* x_275; +lean_dec(x_268); +x_274 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_216); +x_275 = l_Lean_Parser_ParserState_mkErrorsAt(x_265, x_274, x_216); +x_217 = x_275; +goto block_264; +} +} +else +{ +lean_object* x_276; lean_object* x_277; +lean_dec(x_266); +x_276 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_216); +x_277 = l_Lean_Parser_ParserState_mkErrorsAt(x_265, x_276, x_216); +x_217 = x_277; +goto block_264; +} +block_264: +{ +lean_object* x_218; +x_218 = lean_ctor_get(x_217, 3); +lean_inc(x_218); +if (lean_obj_tag(x_218) == 0) +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; +lean_dec(x_216); +x_219 = l_Lean_nullKind; +x_220 = l_Lean_Parser_ParserState_mkNode(x_217, x_219, x_215); +x_221 = lean_ctor_get(x_220, 3); +lean_inc(x_221); +if (lean_obj_tag(x_221) == 0) +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; lean_object* x_228; +x_222 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_223 = lean_unsigned_to_nat(0u); +x_224 = l_Lean_Parser_categoryParser___elambda__1(x_222, x_223, x_1, x_220); +x_225 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_226 = l_Lean_Parser_ParserState_mkNode(x_224, x_225, x_211); +x_227 = 1; +x_228 = l_Lean_Parser_mergeOrElseErrors(x_226, x_203, x_94, x_227); +lean_dec(x_94); +return x_228; +} +else +{ +lean_object* x_229; lean_object* x_230; uint8_t x_231; lean_object* x_232; +lean_dec(x_221); +lean_dec(x_1); +x_229 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_230 = l_Lean_Parser_ParserState_mkNode(x_220, x_229, x_211); +x_231 = 1; +x_232 = l_Lean_Parser_mergeOrElseErrors(x_230, x_203, x_94, x_231); +lean_dec(x_94); +return x_232; +} +} +else +{ +lean_object* x_233; uint8_t x_234; +lean_dec(x_218); +x_233 = lean_ctor_get(x_217, 1); +lean_inc(x_233); +x_234 = lean_nat_dec_eq(x_233, x_216); +lean_dec(x_233); +if (x_234 == 0) +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; +lean_dec(x_216); +x_235 = l_Lean_nullKind; +x_236 = l_Lean_Parser_ParserState_mkNode(x_217, x_235, x_215); +x_237 = lean_ctor_get(x_236, 3); +lean_inc(x_237); +if (lean_obj_tag(x_237) == 0) +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; lean_object* x_244; +x_238 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_239 = lean_unsigned_to_nat(0u); +x_240 = l_Lean_Parser_categoryParser___elambda__1(x_238, x_239, x_1, x_236); +x_241 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_242 = l_Lean_Parser_ParserState_mkNode(x_240, x_241, x_211); +x_243 = 1; +x_244 = l_Lean_Parser_mergeOrElseErrors(x_242, x_203, x_94, x_243); +lean_dec(x_94); +return x_244; +} +else +{ +lean_object* x_245; lean_object* x_246; uint8_t x_247; lean_object* x_248; +lean_dec(x_237); +lean_dec(x_1); +x_245 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_246 = l_Lean_Parser_ParserState_mkNode(x_236, x_245, x_211); +x_247 = 1; +x_248 = l_Lean_Parser_mergeOrElseErrors(x_246, x_203, x_94, x_247); +lean_dec(x_94); +return x_248; +} +} +else +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +x_249 = l_Lean_Parser_ParserState_restore(x_217, x_215, x_216); +x_250 = l_Lean_nullKind; +x_251 = l_Lean_Parser_ParserState_mkNode(x_249, x_250, x_215); +x_252 = lean_ctor_get(x_251, 3); +lean_inc(x_252); +if (lean_obj_tag(x_252) == 0) +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; lean_object* x_259; +x_253 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_254 = lean_unsigned_to_nat(0u); +x_255 = l_Lean_Parser_categoryParser___elambda__1(x_253, x_254, x_1, x_251); +x_256 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_257 = l_Lean_Parser_ParserState_mkNode(x_255, x_256, x_211); +x_258 = 1; +x_259 = l_Lean_Parser_mergeOrElseErrors(x_257, x_203, x_94, x_258); +lean_dec(x_94); +return x_259; +} +else +{ +lean_object* x_260; lean_object* x_261; uint8_t x_262; lean_object* x_263; +lean_dec(x_252); +lean_dec(x_1); +x_260 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_261 = l_Lean_Parser_ParserState_mkNode(x_251, x_260, x_211); +x_262 = 1; +x_263 = l_Lean_Parser_mergeOrElseErrors(x_261, x_203, x_94, x_262); +lean_dec(x_94); +return x_263; +} +} +} +} +} +else +{ +lean_object* x_278; lean_object* x_279; uint8_t x_280; lean_object* x_281; +lean_dec(x_213); +lean_dec(x_1); +x_278 = l_Lean_Parser_Term_have___elambda__1___closed__2; +x_279 = l_Lean_Parser_ParserState_mkNode(x_212, x_278, x_211); +x_280 = 1; +x_281 = l_Lean_Parser_mergeOrElseErrors(x_279, x_203, x_94, x_280); +lean_dec(x_94); +return x_281; +} +} +} +else +{ +uint8_t x_307; lean_object* x_308; +lean_dec(x_209); +lean_dec(x_1); +x_307 = 1; +x_308 = l_Lean_Parser_mergeOrElseErrors(x_208, x_203, x_94, x_307); +lean_dec(x_94); +return x_308; +} } } } @@ -21530,10 +22099,10 @@ lean_object* _init_l_Lean_Parser_Term_have___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_typeAscription___closed__2; +x_1 = l_Lean_Parser_Term_haveDecl; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Tactic_tacticSeq1Indented___closed__2; +x_3 = l_Lean_Parser_Term_have___closed__1; x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } @@ -21542,11 +22111,11 @@ lean_object* _init_l_Lean_Parser_Term_have___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_haveDecl; +x_1 = l_Lean_Parser_Term_typeAscription___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_have___closed__2; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +x_3 = l_Lean_Parser_Tactic_tacticSeq1Indented___closed__3; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } } @@ -21554,7 +22123,7 @@ lean_object* _init_l_Lean_Parser_Term_have___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_have___closed__1; +x_1 = l_Lean_Parser_Term_have___closed__2; x_2 = l_Lean_Parser_Term_have___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -21845,28 +22414,16 @@ return x_2; lean_object* _init_l_Lean_Parser_Term_have_formatter___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__3; -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); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_Parser_Term_have_formatter___closed__4() { -_start: -{ lean_object* x_1; x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveDecl_formatter), 5, 0); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_have_formatter___closed__5() { +lean_object* _init_l_Lean_Parser_Term_have_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_have_formatter___closed__4; +x_1 = l_Lean_Parser_Term_have_formatter___closed__2; x_2 = l_Lean_Parser_Term_have_formatter___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -21874,12 +22431,22 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } +lean_object* _init_l_Lean_Parser_Term_have_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_have_formatter___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} lean_object* _init_l_Lean_Parser_Term_have_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_have_formatter___closed__2; -x_2 = l_Lean_Parser_Term_have_formatter___closed__5; +x_1 = l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__4; +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); lean_closure_set(x_3, 1, x_2); @@ -21889,10 +22456,22 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_have_formatter___closed__7() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_have_formatter___closed__5; +x_2 = l_Lean_Parser_Term_have_formatter___closed__6; +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_have_formatter___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_have___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_have_formatter___closed__6; +x_3 = l_Lean_Parser_Term_have_formatter___closed__7; 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); @@ -21905,7 +22484,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_have_formatter___closed__1; -x_7 = l_Lean_Parser_Term_have_formatter___closed__7; +x_7 = l_Lean_Parser_Term_have_formatter___closed__8; 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; } @@ -22090,8 +22669,8 @@ lean_object* _init_l_Lean_Parser_Term_have_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_have_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_have_parenthesizer___closed__2; 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); @@ -22101,22 +22680,44 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_have_parenthesizer___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_have_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_have_parenthesizer___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Term_have_parenthesizer___closed__3; +x_1 = l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__3; +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_have_parenthesizer___closed__5() { +lean_object* _init_l_Lean_Parser_Term_have_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_have_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Term_have_parenthesizer___closed__5; +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_have_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_have___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_have_parenthesizer___closed__4; +x_3 = l_Lean_Parser_Term_have_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); @@ -22129,7 +22730,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_have_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_have_parenthesizer___closed__5; +x_7 = l_Lean_Parser_Term_have_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; } @@ -22353,308 +22954,38 @@ 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_45; lean_object* x_46; lean_object* x_47; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; 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_45 = lean_ctor_get(x_7, 1); -lean_inc(x_45); -lean_inc(x_1); -x_46 = l_Lean_Parser_tokenFn(x_1, x_7); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_inc(x_48); -x_49 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_48); -lean_dec(x_48); -if (lean_obj_tag(x_49) == 2) -{ -lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_Parser_Term_suffices___elambda__1___closed__6; -x_52 = lean_string_dec_eq(x_50, x_51); -lean_dec(x_50); -if (x_52 == 0) -{ -lean_object* x_53; lean_object* x_54; -x_53 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; -x_54 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_53, x_45); -x_11 = x_54; -goto block_44; -} -else -{ -lean_dec(x_45); -x_11 = x_46; -goto block_44; -} -} -else -{ -lean_object* x_55; lean_object* x_56; -lean_dec(x_49); -x_55 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; -x_56 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_55, x_45); -x_11 = x_56; -goto block_44; -} -} -else -{ -lean_object* x_57; lean_object* x_58; -lean_dec(x_47); -x_57 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; -x_58 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_57, x_45); -x_11 = x_58; -goto block_44; -} -block_44: -{ -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_inc(x_1); -x_13 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_1, x_11); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_inc(x_1); -x_16 = l_Lean_Parser_tokenFn(x_1, x_13); -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; -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -x_19 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_18); -lean_dec(x_18); -if (lean_obj_tag(x_19) == 2) -{ -lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; -x_22 = lean_string_dec_eq(x_20, x_21); -lean_dec(x_20); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -lean_dec(x_1); -x_23 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_24 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_23, x_15); -x_25 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_26 = l_Lean_Parser_ParserState_mkNode(x_24, x_25, x_10); -return x_26; -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_15); -x_27 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_28 = lean_unsigned_to_nat(0u); -x_29 = l_Lean_Parser_categoryParser___elambda__1(x_27, x_28, x_1, x_16); -x_30 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_10); -return x_31; -} -} -else -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_19); -lean_dec(x_1); -x_32 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_33 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_32, x_15); -x_34 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_35 = l_Lean_Parser_ParserState_mkNode(x_33, x_34, x_10); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_17); -lean_dec(x_1); -x_36 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_37 = l_Lean_Parser_ParserState_mkErrorsAt(x_16, x_36, x_15); -x_38 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_39 = l_Lean_Parser_ParserState_mkNode(x_37, x_38, x_10); -return x_39; -} -} -else -{ -lean_object* x_40; lean_object* x_41; -lean_dec(x_14); -lean_dec(x_1); -x_40 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_41 = l_Lean_Parser_ParserState_mkNode(x_13, x_40, x_10); -return x_41; -} -} -else -{ -lean_object* x_42; lean_object* x_43; -lean_dec(x_12); -lean_dec(x_1); -x_42 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_43 = l_Lean_Parser_ParserState_mkNode(x_11, x_42, x_10); -return x_43; -} -} -} -else -{ -lean_dec(x_8); -lean_dec(x_1); -return x_7; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_59 = lean_ctor_get(x_2, 0); -lean_inc(x_59); -x_60 = lean_array_get_size(x_59); -lean_dec(x_59); -x_61 = lean_ctor_get(x_2, 1); -lean_inc(x_61); -lean_inc(x_1); -x_62 = lean_apply_2(x_4, x_1, x_2); -x_63 = lean_ctor_get(x_62, 3); -lean_inc(x_63); -if (lean_obj_tag(x_63) == 0) -{ -lean_dec(x_61); -lean_dec(x_60); -lean_dec(x_1); -return x_62; -} -else -{ -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -x_66 = lean_nat_dec_eq(x_65, x_61); -lean_dec(x_65); -if (x_66 == 0) -{ -lean_dec(x_64); -lean_dec(x_61); -lean_dec(x_60); -lean_dec(x_1); -return x_62; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -lean_inc(x_61); -x_67 = l_Lean_Parser_ParserState_restore(x_62, x_60, x_61); -lean_dec(x_60); -x_68 = l_Lean_Parser_leadPrec; -x_69 = l_Lean_Parser_checkPrecFn(x_68, x_1, x_67); -x_70 = lean_ctor_get(x_69, 3); +x_68 = lean_ctor_get(x_1, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_1, 1); +lean_inc(x_69); +x_70 = lean_ctor_get(x_1, 2); lean_inc(x_70); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_71 = lean_ctor_get(x_69, 0); +x_71 = lean_ctor_get(x_1, 3); lean_inc(x_71); -x_72 = lean_array_get_size(x_71); -lean_dec(x_71); -x_119 = lean_ctor_get(x_69, 1); -lean_inc(x_119); -lean_inc(x_1); -x_120 = l_Lean_Parser_tokenFn(x_1, x_69); -x_121 = lean_ctor_get(x_120, 3); -lean_inc(x_121); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_120, 0); -lean_inc(x_122); -x_123 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_122); -lean_dec(x_122); -if (lean_obj_tag(x_123) == 2) -{ -lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_125 = l_Lean_Parser_Term_suffices___elambda__1___closed__6; -x_126 = lean_string_dec_eq(x_124, x_125); -lean_dec(x_124); -if (x_126 == 0) -{ -lean_object* x_127; lean_object* x_128; -x_127 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; -x_128 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_127, x_119); -x_73 = x_128; -goto block_118; -} -else -{ -lean_dec(x_119); -x_73 = x_120; -goto block_118; -} -} -else -{ -lean_object* x_129; lean_object* x_130; -lean_dec(x_123); -x_129 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; -x_130 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_129, x_119); -x_73 = x_130; -goto block_118; -} -} -else -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_121); -x_131 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; -x_132 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_131, x_119); -x_73 = x_132; -goto block_118; -} -block_118: -{ -lean_object* x_74; -x_74 = lean_ctor_get(x_73, 3); +x_72 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_73 = lean_ctor_get(x_68, 2); +lean_inc(x_73); +x_74 = lean_ctor_get(x_7, 1); lean_inc(x_74); -if (lean_obj_tag(x_74) == 0) -{ -lean_object* x_75; lean_object* x_76; -lean_inc(x_1); -x_75 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_1, x_73); -x_76 = lean_ctor_get(x_75, 3); -lean_inc(x_76); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_74); +x_75 = l_Lean_FileMap_toPosition(x_73, x_74); +lean_dec(x_73); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_77, 0, x_68); +lean_ctor_set(x_77, 1, x_69); +lean_ctor_set(x_77, 2, x_70); +lean_ctor_set(x_77, 3, x_71); +lean_ctor_set(x_77, 4, x_76); +lean_ctor_set_uint8(x_77, sizeof(void*)*5, x_72); lean_inc(x_77); -lean_inc(x_1); -x_78 = l_Lean_Parser_tokenFn(x_1, x_75); +x_78 = l_Lean_Parser_tokenFn(x_77, x_7); x_79 = lean_ctor_get(x_78, 3); lean_inc(x_79); if (lean_obj_tag(x_79) == 0) @@ -22670,103 +23001,923 @@ lean_object* x_82; lean_object* x_83; uint8_t x_84; x_82 = lean_ctor_get(x_81, 1); lean_inc(x_82); lean_dec(x_81); -x_83 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_83 = l_Lean_Parser_Term_suffices___elambda__1___closed__6; x_84 = lean_string_dec_eq(x_82, x_83); lean_dec(x_82); if (x_84 == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; -lean_dec(x_1); -x_85 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_86 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_85, x_77); -x_87 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_88 = l_Lean_Parser_ParserState_mkNode(x_86, x_87, x_72); -x_89 = 1; -x_90 = l_Lean_Parser_mergeOrElseErrors(x_88, x_64, x_61, x_89); -lean_dec(x_61); -return x_90; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; +lean_object* x_85; lean_object* x_86; lean_dec(x_77); -x_91 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_92 = lean_unsigned_to_nat(0u); -x_93 = l_Lean_Parser_categoryParser___elambda__1(x_91, x_92, x_1, x_78); -x_94 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_95 = l_Lean_Parser_ParserState_mkNode(x_93, x_94, x_72); -x_96 = 1; -x_97 = l_Lean_Parser_mergeOrElseErrors(x_95, x_64, x_61, x_96); -lean_dec(x_61); -return x_97; -} +x_85 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; +x_86 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_85, x_74); +x_11 = x_86; +goto block_67; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; -lean_dec(x_81); -lean_dec(x_1); -x_98 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_99 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_98, x_77); -x_100 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_101 = l_Lean_Parser_ParserState_mkNode(x_99, x_100, x_72); -x_102 = 1; -x_103 = l_Lean_Parser_mergeOrElseErrors(x_101, x_64, x_61, x_102); -lean_dec(x_61); -return x_103; -} -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; -lean_dec(x_79); -lean_dec(x_1); -x_104 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_105 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_104, x_77); -x_106 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_107 = l_Lean_Parser_ParserState_mkNode(x_105, x_106, x_72); -x_108 = 1; -x_109 = l_Lean_Parser_mergeOrElseErrors(x_107, x_64, x_61, x_108); -lean_dec(x_61); -return x_109; -} -} -else -{ -lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; -lean_dec(x_76); -lean_dec(x_1); -x_110 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_111 = l_Lean_Parser_ParserState_mkNode(x_75, x_110, x_72); -x_112 = 1; -x_113 = l_Lean_Parser_mergeOrElseErrors(x_111, x_64, x_61, x_112); -lean_dec(x_61); -return x_113; -} -} -else -{ -lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; +lean_object* x_87; lean_dec(x_74); +x_87 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_77, x_78); +x_11 = x_87; +goto block_67; +} +} +else +{ +lean_object* x_88; lean_object* x_89; +lean_dec(x_81); +lean_dec(x_77); +x_88 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; +x_89 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_88, x_74); +x_11 = x_89; +goto block_67; +} +} +else +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_79); +lean_dec(x_77); +x_90 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; +x_91 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_90, x_74); +x_11 = x_91; +goto block_67; +} +block_67: +{ +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_52; lean_object* x_53; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_inc(x_1); +x_52 = l_Lean_Parser_tokenFn(x_1, x_11); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +x_55 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_54); +lean_dec(x_54); +if (lean_obj_tag(x_55) == 2) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_58 = lean_string_dec_eq(x_56, x_57); +lean_dec(x_56); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_60 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_59, x_15); +x_16 = x_60; +goto block_51; +} +else +{ +x_16 = x_52; +goto block_51; +} +} +else +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_55); +x_61 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_61, x_15); +x_16 = x_62; +goto block_51; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_53); +x_63 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_63, x_15); +x_16 = x_64; +goto block_51; +} +block_51: +{ +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_dec(x_15); +x_18 = l_Lean_nullKind; +x_19 = l_Lean_Parser_ParserState_mkNode(x_16, x_18, x_14); +x_20 = lean_ctor_get(x_19, 3); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Parser_categoryParser___elambda__1(x_21, x_22, x_1, x_19); +x_24 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_20); lean_dec(x_1); -x_114 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; -x_115 = l_Lean_Parser_ParserState_mkNode(x_73, x_114, x_72); -x_116 = 1; -x_117 = l_Lean_Parser_mergeOrElseErrors(x_115, x_64, x_61, x_116); -lean_dec(x_61); -return x_117; +x_26 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_27 = l_Lean_Parser_ParserState_mkNode(x_19, x_26, x_10); +return x_27; +} +} +else +{ +lean_object* x_28; uint8_t x_29; +lean_dec(x_17); +x_28 = lean_ctor_get(x_16, 1); +lean_inc(x_28); +x_29 = lean_nat_dec_eq(x_28, x_15); +lean_dec(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_15); +x_30 = l_Lean_nullKind; +x_31 = l_Lean_Parser_ParserState_mkNode(x_16, x_30, x_14); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_34 = lean_unsigned_to_nat(0u); +x_35 = l_Lean_Parser_categoryParser___elambda__1(x_33, x_34, x_1, x_31); +x_36 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_10); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_32); +lean_dec(x_1); +x_38 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_39 = l_Lean_Parser_ParserState_mkNode(x_31, x_38, x_10); +return x_39; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = l_Lean_Parser_ParserState_restore(x_16, x_14, x_15); +x_41 = l_Lean_nullKind; +x_42 = l_Lean_Parser_ParserState_mkNode(x_40, x_41, x_14); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_45 = lean_unsigned_to_nat(0u); +x_46 = l_Lean_Parser_categoryParser___elambda__1(x_44, x_45, x_1, x_42); +x_47 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_48 = l_Lean_Parser_ParserState_mkNode(x_46, x_47, x_10); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_43); +lean_dec(x_1); +x_49 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_50 = l_Lean_Parser_ParserState_mkNode(x_42, x_49, x_10); +return x_50; +} +} } } } else { -uint8_t x_133; lean_object* x_134; -lean_dec(x_70); +lean_object* x_65; lean_object* x_66; +lean_dec(x_12); lean_dec(x_1); -x_133 = 1; -x_134 = l_Lean_Parser_mergeOrElseErrors(x_69, x_64, x_61, x_133); -lean_dec(x_61); -return x_134; +x_65 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_66 = l_Lean_Parser_ParserState_mkNode(x_11, x_65, x_10); +return x_66; +} +} +} +else +{ +lean_dec(x_8); +lean_dec(x_1); +return x_7; +} +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_92 = lean_ctor_get(x_2, 0); +lean_inc(x_92); +x_93 = lean_array_get_size(x_92); +lean_dec(x_92); +x_94 = lean_ctor_get(x_2, 1); +lean_inc(x_94); +lean_inc(x_1); +x_95 = lean_apply_2(x_4, x_1, x_2); +x_96 = lean_ctor_get(x_95, 3); +lean_inc(x_96); +if (lean_obj_tag(x_96) == 0) +{ +lean_dec(x_94); +lean_dec(x_93); +lean_dec(x_1); +return x_95; +} +else +{ +uint8_t x_97; +x_97 = !lean_is_exclusive(x_96); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_98 = lean_ctor_get(x_96, 0); +x_99 = lean_ctor_get(x_95, 1); +lean_inc(x_99); +x_100 = lean_nat_dec_eq(x_99, x_94); +lean_dec(x_99); +if (x_100 == 0) +{ +lean_free_object(x_96); +lean_dec(x_98); +lean_dec(x_94); +lean_dec(x_93); +lean_dec(x_1); +return x_95; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +lean_inc(x_94); +x_101 = l_Lean_Parser_ParserState_restore(x_95, x_93, x_94); +lean_dec(x_93); +x_102 = l_Lean_Parser_leadPrec; +x_103 = l_Lean_Parser_checkPrecFn(x_102, x_1, x_101); +x_104 = lean_ctor_get(x_103, 3); +lean_inc(x_104); +if (lean_obj_tag(x_104) == 0) +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t 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; +x_105 = lean_ctor_get(x_103, 0); +lean_inc(x_105); +x_106 = lean_array_get_size(x_105); +lean_dec(x_105); +x_178 = lean_ctor_get(x_1, 0); +lean_inc(x_178); +x_179 = lean_ctor_get(x_1, 1); +lean_inc(x_179); +x_180 = lean_ctor_get(x_1, 2); +lean_inc(x_180); +x_181 = lean_ctor_get(x_1, 3); +lean_inc(x_181); +x_182 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_183 = lean_ctor_get(x_178, 2); +lean_inc(x_183); +x_184 = lean_ctor_get(x_103, 1); +lean_inc(x_184); +lean_inc(x_184); +x_185 = l_Lean_FileMap_toPosition(x_183, x_184); +lean_dec(x_183); +lean_ctor_set(x_96, 0, x_185); +x_186 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_186, 0, x_178); +lean_ctor_set(x_186, 1, x_179); +lean_ctor_set(x_186, 2, x_180); +lean_ctor_set(x_186, 3, x_181); +lean_ctor_set(x_186, 4, x_96); +lean_ctor_set_uint8(x_186, sizeof(void*)*5, x_182); +lean_inc(x_186); +x_187 = l_Lean_Parser_tokenFn(x_186, x_103); +x_188 = lean_ctor_get(x_187, 3); +lean_inc(x_188); +if (lean_obj_tag(x_188) == 0) +{ +lean_object* x_189; lean_object* x_190; +x_189 = lean_ctor_get(x_187, 0); +lean_inc(x_189); +x_190 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_189); +lean_dec(x_189); +if (lean_obj_tag(x_190) == 2) +{ +lean_object* x_191; lean_object* x_192; uint8_t x_193; +x_191 = lean_ctor_get(x_190, 1); +lean_inc(x_191); +lean_dec(x_190); +x_192 = l_Lean_Parser_Term_suffices___elambda__1___closed__6; +x_193 = lean_string_dec_eq(x_191, x_192); +lean_dec(x_191); +if (x_193 == 0) +{ +lean_object* x_194; lean_object* x_195; +lean_dec(x_186); +x_194 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; +x_195 = l_Lean_Parser_ParserState_mkErrorsAt(x_187, x_194, x_184); +x_107 = x_195; +goto block_177; +} +else +{ +lean_object* x_196; +lean_dec(x_184); +x_196 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_186, x_187); +x_107 = x_196; +goto block_177; +} +} +else +{ +lean_object* x_197; lean_object* x_198; +lean_dec(x_190); +lean_dec(x_186); +x_197 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; +x_198 = l_Lean_Parser_ParserState_mkErrorsAt(x_187, x_197, x_184); +x_107 = x_198; +goto block_177; +} +} +else +{ +lean_object* x_199; lean_object* x_200; +lean_dec(x_188); +lean_dec(x_186); +x_199 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; +x_200 = l_Lean_Parser_ParserState_mkErrorsAt(x_187, x_199, x_184); +x_107 = x_200; +goto block_177; +} +block_177: +{ +lean_object* x_108; +x_108 = lean_ctor_get(x_107, 3); +lean_inc(x_108); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_160; lean_object* x_161; +x_109 = lean_ctor_get(x_107, 0); +lean_inc(x_109); +x_110 = lean_array_get_size(x_109); +lean_dec(x_109); +x_111 = lean_ctor_get(x_107, 1); +lean_inc(x_111); +lean_inc(x_1); +x_160 = l_Lean_Parser_tokenFn(x_1, x_107); +x_161 = lean_ctor_get(x_160, 3); +lean_inc(x_161); +if (lean_obj_tag(x_161) == 0) +{ +lean_object* x_162; lean_object* x_163; +x_162 = lean_ctor_get(x_160, 0); +lean_inc(x_162); +x_163 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_162); +lean_dec(x_162); +if (lean_obj_tag(x_163) == 2) +{ +lean_object* x_164; lean_object* x_165; uint8_t x_166; +x_164 = lean_ctor_get(x_163, 1); +lean_inc(x_164); +lean_dec(x_163); +x_165 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_166 = lean_string_dec_eq(x_164, x_165); +lean_dec(x_164); +if (x_166 == 0) +{ +lean_object* x_167; lean_object* x_168; +x_167 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_111); +x_168 = l_Lean_Parser_ParserState_mkErrorsAt(x_160, x_167, x_111); +x_112 = x_168; +goto block_159; +} +else +{ +x_112 = x_160; +goto block_159; +} +} +else +{ +lean_object* x_169; lean_object* x_170; +lean_dec(x_163); +x_169 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_111); +x_170 = l_Lean_Parser_ParserState_mkErrorsAt(x_160, x_169, x_111); +x_112 = x_170; +goto block_159; +} +} +else +{ +lean_object* x_171; lean_object* x_172; +lean_dec(x_161); +x_171 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_111); +x_172 = l_Lean_Parser_ParserState_mkErrorsAt(x_160, x_171, x_111); +x_112 = x_172; +goto block_159; +} +block_159: +{ +lean_object* x_113; +x_113 = lean_ctor_get(x_112, 3); +lean_inc(x_113); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_111); +x_114 = l_Lean_nullKind; +x_115 = l_Lean_Parser_ParserState_mkNode(x_112, x_114, x_110); +x_116 = lean_ctor_get(x_115, 3); +lean_inc(x_116); +if (lean_obj_tag(x_116) == 0) +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; lean_object* x_123; +x_117 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_118 = lean_unsigned_to_nat(0u); +x_119 = l_Lean_Parser_categoryParser___elambda__1(x_117, x_118, x_1, x_115); +x_120 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_121 = l_Lean_Parser_ParserState_mkNode(x_119, x_120, x_106); +x_122 = 1; +x_123 = l_Lean_Parser_mergeOrElseErrors(x_121, x_98, x_94, x_122); +lean_dec(x_94); +return x_123; +} +else +{ +lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; +lean_dec(x_116); +lean_dec(x_1); +x_124 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_125 = l_Lean_Parser_ParserState_mkNode(x_115, x_124, x_106); +x_126 = 1; +x_127 = l_Lean_Parser_mergeOrElseErrors(x_125, x_98, x_94, x_126); +lean_dec(x_94); +return x_127; +} +} +else +{ +lean_object* x_128; uint8_t x_129; +lean_dec(x_113); +x_128 = lean_ctor_get(x_112, 1); +lean_inc(x_128); +x_129 = lean_nat_dec_eq(x_128, x_111); +lean_dec(x_128); +if (x_129 == 0) +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; +lean_dec(x_111); +x_130 = l_Lean_nullKind; +x_131 = l_Lean_Parser_ParserState_mkNode(x_112, x_130, x_110); +x_132 = lean_ctor_get(x_131, 3); +lean_inc(x_132); +if (lean_obj_tag(x_132) == 0) +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t x_138; lean_object* x_139; +x_133 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_134 = lean_unsigned_to_nat(0u); +x_135 = l_Lean_Parser_categoryParser___elambda__1(x_133, x_134, x_1, x_131); +x_136 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_137 = l_Lean_Parser_ParserState_mkNode(x_135, x_136, x_106); +x_138 = 1; +x_139 = l_Lean_Parser_mergeOrElseErrors(x_137, x_98, x_94, x_138); +lean_dec(x_94); +return x_139; +} +else +{ +lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; +lean_dec(x_132); +lean_dec(x_1); +x_140 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_141 = l_Lean_Parser_ParserState_mkNode(x_131, x_140, x_106); +x_142 = 1; +x_143 = l_Lean_Parser_mergeOrElseErrors(x_141, x_98, x_94, x_142); +lean_dec(x_94); +return x_143; +} +} +else +{ +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_144 = l_Lean_Parser_ParserState_restore(x_112, x_110, x_111); +x_145 = l_Lean_nullKind; +x_146 = l_Lean_Parser_ParserState_mkNode(x_144, x_145, x_110); +x_147 = lean_ctor_get(x_146, 3); +lean_inc(x_147); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; +x_148 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_149 = lean_unsigned_to_nat(0u); +x_150 = l_Lean_Parser_categoryParser___elambda__1(x_148, x_149, x_1, x_146); +x_151 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_152 = l_Lean_Parser_ParserState_mkNode(x_150, x_151, x_106); +x_153 = 1; +x_154 = l_Lean_Parser_mergeOrElseErrors(x_152, x_98, x_94, x_153); +lean_dec(x_94); +return x_154; +} +else +{ +lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; +lean_dec(x_147); +lean_dec(x_1); +x_155 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_156 = l_Lean_Parser_ParserState_mkNode(x_146, x_155, x_106); +x_157 = 1; +x_158 = l_Lean_Parser_mergeOrElseErrors(x_156, x_98, x_94, x_157); +lean_dec(x_94); +return x_158; +} +} +} +} +} +else +{ +lean_object* x_173; lean_object* x_174; uint8_t x_175; lean_object* x_176; +lean_dec(x_108); +lean_dec(x_1); +x_173 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_174 = l_Lean_Parser_ParserState_mkNode(x_107, x_173, x_106); +x_175 = 1; +x_176 = l_Lean_Parser_mergeOrElseErrors(x_174, x_98, x_94, x_175); +lean_dec(x_94); +return x_176; +} +} +} +else +{ +uint8_t x_201; lean_object* x_202; +lean_dec(x_104); +lean_free_object(x_96); +lean_dec(x_1); +x_201 = 1; +x_202 = l_Lean_Parser_mergeOrElseErrors(x_103, x_98, x_94, x_201); +lean_dec(x_94); +return x_202; +} +} +} +else +{ +lean_object* x_203; lean_object* x_204; uint8_t x_205; +x_203 = lean_ctor_get(x_96, 0); +lean_inc(x_203); +lean_dec(x_96); +x_204 = lean_ctor_get(x_95, 1); +lean_inc(x_204); +x_205 = lean_nat_dec_eq(x_204, x_94); +lean_dec(x_204); +if (x_205 == 0) +{ +lean_dec(x_203); +lean_dec(x_94); +lean_dec(x_93); +lean_dec(x_1); +return x_95; +} +else +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +lean_inc(x_94); +x_206 = l_Lean_Parser_ParserState_restore(x_95, x_93, x_94); +lean_dec(x_93); +x_207 = l_Lean_Parser_leadPrec; +x_208 = l_Lean_Parser_checkPrecFn(x_207, x_1, x_206); +x_209 = lean_ctor_get(x_208, 3); +lean_inc(x_209); +if (lean_obj_tag(x_209) == 0) +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t 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; +x_210 = lean_ctor_get(x_208, 0); +lean_inc(x_210); +x_211 = lean_array_get_size(x_210); +lean_dec(x_210); +x_283 = lean_ctor_get(x_1, 0); +lean_inc(x_283); +x_284 = lean_ctor_get(x_1, 1); +lean_inc(x_284); +x_285 = lean_ctor_get(x_1, 2); +lean_inc(x_285); +x_286 = lean_ctor_get(x_1, 3); +lean_inc(x_286); +x_287 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_288 = lean_ctor_get(x_283, 2); +lean_inc(x_288); +x_289 = lean_ctor_get(x_208, 1); +lean_inc(x_289); +lean_inc(x_289); +x_290 = l_Lean_FileMap_toPosition(x_288, x_289); +lean_dec(x_288); +x_291 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_291, 0, x_290); +x_292 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_292, 0, x_283); +lean_ctor_set(x_292, 1, x_284); +lean_ctor_set(x_292, 2, x_285); +lean_ctor_set(x_292, 3, x_286); +lean_ctor_set(x_292, 4, x_291); +lean_ctor_set_uint8(x_292, sizeof(void*)*5, x_287); +lean_inc(x_292); +x_293 = l_Lean_Parser_tokenFn(x_292, x_208); +x_294 = lean_ctor_get(x_293, 3); +lean_inc(x_294); +if (lean_obj_tag(x_294) == 0) +{ +lean_object* x_295; lean_object* x_296; +x_295 = lean_ctor_get(x_293, 0); +lean_inc(x_295); +x_296 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_295); +lean_dec(x_295); +if (lean_obj_tag(x_296) == 2) +{ +lean_object* x_297; lean_object* x_298; uint8_t x_299; +x_297 = lean_ctor_get(x_296, 1); +lean_inc(x_297); +lean_dec(x_296); +x_298 = l_Lean_Parser_Term_suffices___elambda__1___closed__6; +x_299 = lean_string_dec_eq(x_297, x_298); +lean_dec(x_297); +if (x_299 == 0) +{ +lean_object* x_300; lean_object* x_301; +lean_dec(x_292); +x_300 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; +x_301 = l_Lean_Parser_ParserState_mkErrorsAt(x_293, x_300, x_289); +x_212 = x_301; +goto block_282; +} +else +{ +lean_object* x_302; +lean_dec(x_289); +x_302 = l_Lean_Parser_Term_sufficesDecl___elambda__1(x_292, x_293); +x_212 = x_302; +goto block_282; +} +} +else +{ +lean_object* x_303; lean_object* x_304; +lean_dec(x_296); +lean_dec(x_292); +x_303 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; +x_304 = l_Lean_Parser_ParserState_mkErrorsAt(x_293, x_303, x_289); +x_212 = x_304; +goto block_282; +} +} +else +{ +lean_object* x_305; lean_object* x_306; +lean_dec(x_294); +lean_dec(x_292); +x_305 = l_Lean_Parser_Term_suffices___elambda__1___closed__9; +x_306 = l_Lean_Parser_ParserState_mkErrorsAt(x_293, x_305, x_289); +x_212 = x_306; +goto block_282; +} +block_282: +{ +lean_object* x_213; +x_213 = lean_ctor_get(x_212, 3); +lean_inc(x_213); +if (lean_obj_tag(x_213) == 0) +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_265; lean_object* x_266; +x_214 = lean_ctor_get(x_212, 0); +lean_inc(x_214); +x_215 = lean_array_get_size(x_214); +lean_dec(x_214); +x_216 = lean_ctor_get(x_212, 1); +lean_inc(x_216); +lean_inc(x_1); +x_265 = l_Lean_Parser_tokenFn(x_1, x_212); +x_266 = lean_ctor_get(x_265, 3); +lean_inc(x_266); +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_267; lean_object* x_268; +x_267 = lean_ctor_get(x_265, 0); +lean_inc(x_267); +x_268 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_267); +lean_dec(x_267); +if (lean_obj_tag(x_268) == 2) +{ +lean_object* x_269; lean_object* x_270; uint8_t x_271; +x_269 = lean_ctor_get(x_268, 1); +lean_inc(x_269); +lean_dec(x_268); +x_270 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_271 = lean_string_dec_eq(x_269, x_270); +lean_dec(x_269); +if (x_271 == 0) +{ +lean_object* x_272; lean_object* x_273; +x_272 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_216); +x_273 = l_Lean_Parser_ParserState_mkErrorsAt(x_265, x_272, x_216); +x_217 = x_273; +goto block_264; +} +else +{ +x_217 = x_265; +goto block_264; +} +} +else +{ +lean_object* x_274; lean_object* x_275; +lean_dec(x_268); +x_274 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_216); +x_275 = l_Lean_Parser_ParserState_mkErrorsAt(x_265, x_274, x_216); +x_217 = x_275; +goto block_264; +} +} +else +{ +lean_object* x_276; lean_object* x_277; +lean_dec(x_266); +x_276 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_216); +x_277 = l_Lean_Parser_ParserState_mkErrorsAt(x_265, x_276, x_216); +x_217 = x_277; +goto block_264; +} +block_264: +{ +lean_object* x_218; +x_218 = lean_ctor_get(x_217, 3); +lean_inc(x_218); +if (lean_obj_tag(x_218) == 0) +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; +lean_dec(x_216); +x_219 = l_Lean_nullKind; +x_220 = l_Lean_Parser_ParserState_mkNode(x_217, x_219, x_215); +x_221 = lean_ctor_get(x_220, 3); +lean_inc(x_221); +if (lean_obj_tag(x_221) == 0) +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; uint8_t x_227; lean_object* x_228; +x_222 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_223 = lean_unsigned_to_nat(0u); +x_224 = l_Lean_Parser_categoryParser___elambda__1(x_222, x_223, x_1, x_220); +x_225 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_226 = l_Lean_Parser_ParserState_mkNode(x_224, x_225, x_211); +x_227 = 1; +x_228 = l_Lean_Parser_mergeOrElseErrors(x_226, x_203, x_94, x_227); +lean_dec(x_94); +return x_228; +} +else +{ +lean_object* x_229; lean_object* x_230; uint8_t x_231; lean_object* x_232; +lean_dec(x_221); +lean_dec(x_1); +x_229 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_230 = l_Lean_Parser_ParserState_mkNode(x_220, x_229, x_211); +x_231 = 1; +x_232 = l_Lean_Parser_mergeOrElseErrors(x_230, x_203, x_94, x_231); +lean_dec(x_94); +return x_232; +} +} +else +{ +lean_object* x_233; uint8_t x_234; +lean_dec(x_218); +x_233 = lean_ctor_get(x_217, 1); +lean_inc(x_233); +x_234 = lean_nat_dec_eq(x_233, x_216); +lean_dec(x_233); +if (x_234 == 0) +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; +lean_dec(x_216); +x_235 = l_Lean_nullKind; +x_236 = l_Lean_Parser_ParserState_mkNode(x_217, x_235, x_215); +x_237 = lean_ctor_get(x_236, 3); +lean_inc(x_237); +if (lean_obj_tag(x_237) == 0) +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; lean_object* x_244; +x_238 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_239 = lean_unsigned_to_nat(0u); +x_240 = l_Lean_Parser_categoryParser___elambda__1(x_238, x_239, x_1, x_236); +x_241 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_242 = l_Lean_Parser_ParserState_mkNode(x_240, x_241, x_211); +x_243 = 1; +x_244 = l_Lean_Parser_mergeOrElseErrors(x_242, x_203, x_94, x_243); +lean_dec(x_94); +return x_244; +} +else +{ +lean_object* x_245; lean_object* x_246; uint8_t x_247; lean_object* x_248; +lean_dec(x_237); +lean_dec(x_1); +x_245 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_246 = l_Lean_Parser_ParserState_mkNode(x_236, x_245, x_211); +x_247 = 1; +x_248 = l_Lean_Parser_mergeOrElseErrors(x_246, x_203, x_94, x_247); +lean_dec(x_94); +return x_248; +} +} +else +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +x_249 = l_Lean_Parser_ParserState_restore(x_217, x_215, x_216); +x_250 = l_Lean_nullKind; +x_251 = l_Lean_Parser_ParserState_mkNode(x_249, x_250, x_215); +x_252 = lean_ctor_get(x_251, 3); +lean_inc(x_252); +if (lean_obj_tag(x_252) == 0) +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; lean_object* x_259; +x_253 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_254 = lean_unsigned_to_nat(0u); +x_255 = l_Lean_Parser_categoryParser___elambda__1(x_253, x_254, x_1, x_251); +x_256 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_257 = l_Lean_Parser_ParserState_mkNode(x_255, x_256, x_211); +x_258 = 1; +x_259 = l_Lean_Parser_mergeOrElseErrors(x_257, x_203, x_94, x_258); +lean_dec(x_94); +return x_259; +} +else +{ +lean_object* x_260; lean_object* x_261; uint8_t x_262; lean_object* x_263; +lean_dec(x_252); +lean_dec(x_1); +x_260 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_261 = l_Lean_Parser_ParserState_mkNode(x_251, x_260, x_211); +x_262 = 1; +x_263 = l_Lean_Parser_mergeOrElseErrors(x_261, x_203, x_94, x_262); +lean_dec(x_94); +return x_263; +} +} +} +} +} +else +{ +lean_object* x_278; lean_object* x_279; uint8_t x_280; lean_object* x_281; +lean_dec(x_213); +lean_dec(x_1); +x_278 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; +x_279 = l_Lean_Parser_ParserState_mkNode(x_212, x_278, x_211); +x_280 = 1; +x_281 = l_Lean_Parser_mergeOrElseErrors(x_279, x_203, x_94, x_280); +lean_dec(x_94); +return x_281; +} +} +} +else +{ +uint8_t x_307; lean_object* x_308; +lean_dec(x_209); +lean_dec(x_1); +x_307 = 1; +x_308 = l_Lean_Parser_mergeOrElseErrors(x_208, x_203, x_94, x_307); +lean_dec(x_94); +return x_308; +} } } } @@ -22789,8 +23940,8 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_sufficesDecl; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_have___closed__2; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +x_3 = l_Lean_Parser_Term_suffices___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } } @@ -22798,8 +23949,8 @@ lean_object* _init_l_Lean_Parser_Term_suffices___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_suffices___closed__1; -x_2 = l_Lean_Parser_Term_suffices___closed__2; +x_1 = l_Lean_Parser_Term_suffices___closed__2; +x_2 = l_Lean_Parser_Term_have___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -22936,8 +24087,8 @@ lean_object* _init_l_Lean_Parser_Term_suffices_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_suffices_formatter___closed__3; -x_2 = l_Lean_Parser_Term_have_formatter___closed__3; +x_1 = l_Lean_Parser_Term_suffices_formatter___closed__2; +x_2 = l_Lean_Parser_Term_suffices_formatter___closed__3; 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); @@ -22947,22 +24098,32 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_suffices_formatter___closed__5() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_suffices_formatter___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_suffices_formatter___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_suffices_formatter___closed__2; -x_2 = l_Lean_Parser_Term_suffices_formatter___closed__4; +x_1 = l_Lean_Parser_Term_suffices_formatter___closed__5; +x_2 = l_Lean_Parser_Term_have_formatter___closed__6; 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_suffices_formatter___closed__6() { +lean_object* _init_l_Lean_Parser_Term_suffices_formatter___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_suffices___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_suffices_formatter___closed__5; +x_3 = l_Lean_Parser_Term_suffices_formatter___closed__6; 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); @@ -22975,7 +24136,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_suffices_formatter___closed__1; -x_7 = l_Lean_Parser_Term_suffices_formatter___closed__6; +x_7 = l_Lean_Parser_Term_suffices_formatter___closed__7; 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; } @@ -23046,8 +24207,8 @@ lean_object* _init_l_Lean_Parser_Term_suffices_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_suffices_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_suffices_parenthesizer___closed__2; 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); @@ -23057,22 +24218,32 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_suffices_parenthesizer___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_suffices_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_suffices_parenthesizer___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Term_suffices_parenthesizer___closed__3; +x_1 = l_Lean_Parser_Term_suffices_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Term_have_parenthesizer___closed__5; 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_suffices_parenthesizer___closed__5() { +lean_object* _init_l_Lean_Parser_Term_suffices_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_suffices___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_suffices_parenthesizer___closed__4; +x_3 = l_Lean_Parser_Term_suffices_parenthesizer___closed__5; 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); @@ -23085,7 +24256,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_suffices_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_suffices_parenthesizer___closed__5; +x_7 = l_Lean_Parser_Term_suffices_parenthesizer___closed__6; 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; } @@ -49981,312 +51152,38 @@ x_10 = lean_ctor_get(x_9, 3); lean_inc(x_10); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; x_11 = lean_ctor_get(x_9, 0); lean_inc(x_11); x_12 = lean_array_get_size(x_11); lean_dec(x_11); -x_47 = lean_ctor_get(x_9, 1); -lean_inc(x_47); -lean_inc(x_1); -x_48 = l_Lean_Parser_tokenFn(x_1, x_9); -x_49 = lean_ctor_get(x_48, 3); -lean_inc(x_49); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_48, 0); -lean_inc(x_50); -x_51 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_50); -lean_dec(x_50); -if (lean_obj_tag(x_51) == 2) -{ -lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = l_Lean_Parser_Term_let___elambda__1___closed__6; -x_54 = lean_string_dec_eq(x_52, x_53); -lean_dec(x_52); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; -x_55 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_56 = l_Lean_Parser_ParserState_mkErrorsAt(x_48, x_55, x_47); -x_13 = x_56; -goto block_46; -} -else -{ -lean_dec(x_47); -x_13 = x_48; -goto block_46; -} -} -else -{ -lean_object* x_57; lean_object* x_58; -lean_dec(x_51); -x_57 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_58 = l_Lean_Parser_ParserState_mkErrorsAt(x_48, x_57, x_47); -x_13 = x_58; -goto block_46; -} -} -else -{ -lean_object* x_59; lean_object* x_60; -lean_dec(x_49); -x_59 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_60 = l_Lean_Parser_ParserState_mkErrorsAt(x_48, x_59, x_47); -x_13 = x_60; -goto block_46; -} -block_46: -{ -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_inc(x_1); -x_15 = lean_apply_2(x_4, x_1, x_13); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_inc(x_1); -x_18 = l_Lean_Parser_tokenFn(x_1, x_15); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -x_21 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_20); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 2) -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; -x_24 = lean_string_dec_eq(x_22, x_23); -lean_dec(x_22); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_1); -x_25 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_25, x_17); -x_27 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_12); -return x_28; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_17); -x_29 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_30 = lean_unsigned_to_nat(0u); -x_31 = l_Lean_Parser_categoryParser___elambda__1(x_29, x_30, x_1, x_18); -x_32 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_33 = l_Lean_Parser_ParserState_mkNode(x_31, x_32, x_12); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_21); -lean_dec(x_1); -x_34 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_35 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_34, x_17); -x_36 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_12); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_19); -lean_dec(x_1); -x_38 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_39 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_38, x_17); -x_40 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_41 = l_Lean_Parser_ParserState_mkNode(x_39, x_40, x_12); -return x_41; -} -} -else -{ -lean_object* x_42; lean_object* x_43; -lean_dec(x_16); -lean_dec(x_1); -x_42 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_43 = l_Lean_Parser_ParserState_mkNode(x_15, x_42, x_12); -return x_43; -} -} -else -{ -lean_object* x_44; lean_object* x_45; -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_1); -x_44 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_45 = l_Lean_Parser_ParserState_mkNode(x_13, x_44, x_12); -return x_45; -} -} -} -else -{ -lean_dec(x_10); -lean_dec(x_4); -lean_dec(x_1); -return x_9; -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_61 = lean_ctor_get(x_2, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_ctor_get(x_2, 1); -lean_inc(x_63); -lean_inc(x_1); -x_64 = lean_apply_2(x_6, x_1, x_2); -x_65 = lean_ctor_get(x_64, 3); -lean_inc(x_65); -if (lean_obj_tag(x_65) == 0) -{ -lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_4); -lean_dec(x_1); -return x_64; -} -else -{ -lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_ctor_get(x_64, 1); -lean_inc(x_67); -x_68 = lean_nat_dec_eq(x_67, x_63); -lean_dec(x_67); -if (x_68 == 0) -{ -lean_dec(x_66); -lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_4); -lean_dec(x_1); -return x_64; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -lean_inc(x_63); -x_69 = l_Lean_Parser_ParserState_restore(x_64, x_62, x_63); -lean_dec(x_62); -x_70 = l_Lean_Parser_leadPrec; -x_71 = l_Lean_Parser_checkPrecFn(x_70, x_1, x_69); -x_72 = lean_ctor_get(x_71, 3); +x_70 = lean_ctor_get(x_1, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_1, 1); +lean_inc(x_71); +x_72 = lean_ctor_get(x_1, 2); lean_inc(x_72); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_73 = lean_ctor_get(x_71, 0); +x_73 = lean_ctor_get(x_1, 3); lean_inc(x_73); -x_74 = lean_array_get_size(x_73); -lean_dec(x_73); -x_121 = lean_ctor_get(x_71, 1); -lean_inc(x_121); -lean_inc(x_1); -x_122 = l_Lean_Parser_tokenFn(x_1, x_71); -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_let___elambda__1___closed__6; -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_let___elambda__1___closed__9; -x_130 = l_Lean_Parser_ParserState_mkErrorsAt(x_122, x_129, x_121); -x_75 = x_130; -goto block_120; -} -else -{ -lean_dec(x_121); -x_75 = x_122; -goto block_120; -} -} -else -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_125); -x_131 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_132 = l_Lean_Parser_ParserState_mkErrorsAt(x_122, x_131, x_121); -x_75 = x_132; -goto block_120; -} -} -else -{ -lean_object* x_133; lean_object* x_134; -lean_dec(x_123); -x_133 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_134 = l_Lean_Parser_ParserState_mkErrorsAt(x_122, x_133, x_121); -x_75 = x_134; -goto block_120; -} -block_120: -{ -lean_object* x_76; -x_76 = lean_ctor_get(x_75, 3); +x_74 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_75 = lean_ctor_get(x_70, 2); +lean_inc(x_75); +x_76 = lean_ctor_get(x_9, 1); lean_inc(x_76); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; -lean_inc(x_1); -x_77 = lean_apply_2(x_4, 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_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_76); +x_77 = l_Lean_FileMap_toPosition(x_75, x_76); +lean_dec(x_75); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_79, 0, x_70); +lean_ctor_set(x_79, 1, x_71); +lean_ctor_set(x_79, 2, x_72); +lean_ctor_set(x_79, 3, x_73); +lean_ctor_set(x_79, 4, x_78); +lean_ctor_set_uint8(x_79, sizeof(void*)*5, x_74); lean_inc(x_79); -lean_inc(x_1); -x_80 = l_Lean_Parser_tokenFn(x_1, x_77); +x_80 = l_Lean_Parser_tokenFn(x_79, x_9); x_81 = lean_ctor_get(x_80, 3); lean_inc(x_81); if (lean_obj_tag(x_81) == 0) @@ -50302,105 +51199,938 @@ lean_object* x_84; lean_object* x_85; uint8_t x_86; x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); -x_85 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_85 = l_Lean_Parser_Term_let___elambda__1___closed__6; x_86 = lean_string_dec_eq(x_84, x_85); lean_dec(x_84); if (x_86 == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; -lean_dec(x_1); -x_87 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_88 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_87, x_79); -x_89 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_90 = l_Lean_Parser_ParserState_mkNode(x_88, x_89, x_74); -x_91 = 1; -x_92 = l_Lean_Parser_mergeOrElseErrors(x_90, x_66, x_63, x_91); -lean_dec(x_63); -return x_92; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; +lean_object* x_87; lean_object* x_88; lean_dec(x_79); -x_93 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_94 = lean_unsigned_to_nat(0u); -x_95 = l_Lean_Parser_categoryParser___elambda__1(x_93, x_94, x_1, x_80); -x_96 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_97 = l_Lean_Parser_ParserState_mkNode(x_95, x_96, x_74); -x_98 = 1; -x_99 = l_Lean_Parser_mergeOrElseErrors(x_97, x_66, x_63, x_98); -lean_dec(x_63); -return x_99; -} +lean_dec(x_4); +x_87 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_88 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_87, x_76); +x_13 = x_88; +goto block_69; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; -lean_dec(x_83); -lean_dec(x_1); -x_100 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_101 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_100, x_79); -x_102 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_103 = l_Lean_Parser_ParserState_mkNode(x_101, x_102, x_74); -x_104 = 1; -x_105 = l_Lean_Parser_mergeOrElseErrors(x_103, x_66, x_63, x_104); -lean_dec(x_63); -return x_105; -} -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; -lean_dec(x_81); -lean_dec(x_1); -x_106 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_107 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_106, x_79); -x_108 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_109 = l_Lean_Parser_ParserState_mkNode(x_107, x_108, x_74); -x_110 = 1; -x_111 = l_Lean_Parser_mergeOrElseErrors(x_109, x_66, x_63, x_110); -lean_dec(x_63); -return x_111; -} -} -else -{ -lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; -lean_dec(x_78); -lean_dec(x_1); -x_112 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_113 = l_Lean_Parser_ParserState_mkNode(x_77, x_112, x_74); -x_114 = 1; -x_115 = l_Lean_Parser_mergeOrElseErrors(x_113, x_66, x_63, x_114); -lean_dec(x_63); -return x_115; -} -} -else -{ -lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; +lean_object* x_89; lean_dec(x_76); +x_89 = lean_apply_2(x_4, x_79, x_80); +x_13 = x_89; +goto block_69; +} +} +else +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_83); +lean_dec(x_79); lean_dec(x_4); +x_90 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_91 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_90, x_76); +x_13 = x_91; +goto block_69; +} +} +else +{ +lean_object* x_92; lean_object* x_93; +lean_dec(x_81); +lean_dec(x_79); +lean_dec(x_4); +x_92 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_93 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_92, x_76); +x_13 = x_93; +goto block_69; +} +block_69: +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 3); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_54; lean_object* x_55; +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +x_16 = lean_array_get_size(x_15); +lean_dec(x_15); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_inc(x_1); +x_54 = l_Lean_Parser_tokenFn(x_1, x_13); +x_55 = lean_ctor_get(x_54, 3); +lean_inc(x_55); +if (lean_obj_tag(x_55) == 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_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_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_60 = lean_string_dec_eq(x_58, x_59); +lean_dec(x_58); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_17); +x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_61, x_17); +x_18 = x_62; +goto block_53; +} +else +{ +x_18 = x_54; +goto block_53; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_57); +x_63 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_17); +x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_63, x_17); +x_18 = x_64; +goto block_53; +} +} +else +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_55); +x_65 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_17); +x_66 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_65, x_17); +x_18 = x_66; +goto block_53; +} +block_53: +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 3); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_17); +x_20 = l_Lean_nullKind; +x_21 = l_Lean_Parser_ParserState_mkNode(x_18, x_20, x_16); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_24 = lean_unsigned_to_nat(0u); +x_25 = l_Lean_Parser_categoryParser___elambda__1(x_23, x_24, x_1, x_21); +x_26 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_12); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_22); lean_dec(x_1); -x_116 = l_Lean_Parser_Term_let___elambda__1___closed__2; -x_117 = l_Lean_Parser_ParserState_mkNode(x_75, x_116, x_74); -x_118 = 1; -x_119 = l_Lean_Parser_mergeOrElseErrors(x_117, x_66, x_63, x_118); -lean_dec(x_63); -return x_119; +x_28 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_29 = l_Lean_Parser_ParserState_mkNode(x_21, x_28, x_12); +return x_29; +} +} +else +{ +lean_object* x_30; uint8_t x_31; +lean_dec(x_19); +x_30 = lean_ctor_get(x_18, 1); +lean_inc(x_30); +x_31 = lean_nat_dec_eq(x_30, x_17); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_17); +x_32 = l_Lean_nullKind; +x_33 = l_Lean_Parser_ParserState_mkNode(x_18, x_32, x_16); +x_34 = lean_ctor_get(x_33, 3); +lean_inc(x_34); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_36 = lean_unsigned_to_nat(0u); +x_37 = l_Lean_Parser_categoryParser___elambda__1(x_35, x_36, x_1, x_33); +x_38 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_39 = l_Lean_Parser_ParserState_mkNode(x_37, x_38, x_12); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_34); +lean_dec(x_1); +x_40 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_41 = l_Lean_Parser_ParserState_mkNode(x_33, x_40, x_12); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_42 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); +x_43 = l_Lean_nullKind; +x_44 = l_Lean_Parser_ParserState_mkNode(x_42, x_43, x_16); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_46 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_47 = lean_unsigned_to_nat(0u); +x_48 = l_Lean_Parser_categoryParser___elambda__1(x_46, x_47, x_1, x_44); +x_49 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_50 = l_Lean_Parser_ParserState_mkNode(x_48, x_49, x_12); +return x_50; +} +else +{ +lean_object* x_51; lean_object* x_52; +lean_dec(x_45); +lean_dec(x_1); +x_51 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_52 = l_Lean_Parser_ParserState_mkNode(x_44, x_51, x_12); +return x_52; +} +} } } } else { -uint8_t x_135; lean_object* x_136; -lean_dec(x_72); +lean_object* x_67; lean_object* x_68; +lean_dec(x_14); +lean_dec(x_1); +x_67 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_68 = l_Lean_Parser_ParserState_mkNode(x_13, x_67, x_12); +return x_68; +} +} +} +else +{ +lean_dec(x_10); lean_dec(x_4); lean_dec(x_1); -x_135 = 1; -x_136 = l_Lean_Parser_mergeOrElseErrors(x_71, x_66, x_63, x_135); -lean_dec(x_63); -return x_136; +return x_9; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_94 = lean_ctor_get(x_2, 0); +lean_inc(x_94); +x_95 = lean_array_get_size(x_94); +lean_dec(x_94); +x_96 = lean_ctor_get(x_2, 1); +lean_inc(x_96); +lean_inc(x_1); +x_97 = lean_apply_2(x_6, x_1, x_2); +x_98 = lean_ctor_get(x_97, 3); +lean_inc(x_98); +if (lean_obj_tag(x_98) == 0) +{ +lean_dec(x_96); +lean_dec(x_95); +lean_dec(x_4); +lean_dec(x_1); +return x_97; +} +else +{ +uint8_t x_99; +x_99 = !lean_is_exclusive(x_98); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_100 = lean_ctor_get(x_98, 0); +x_101 = lean_ctor_get(x_97, 1); +lean_inc(x_101); +x_102 = lean_nat_dec_eq(x_101, x_96); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_free_object(x_98); +lean_dec(x_100); +lean_dec(x_96); +lean_dec(x_95); +lean_dec(x_4); +lean_dec(x_1); +return x_97; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_inc(x_96); +x_103 = l_Lean_Parser_ParserState_restore(x_97, x_95, x_96); +lean_dec(x_95); +x_104 = l_Lean_Parser_leadPrec; +x_105 = l_Lean_Parser_checkPrecFn(x_104, x_1, x_103); +x_106 = lean_ctor_get(x_105, 3); +lean_inc(x_106); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t 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; +x_107 = lean_ctor_get(x_105, 0); +lean_inc(x_107); +x_108 = lean_array_get_size(x_107); +lean_dec(x_107); +x_180 = lean_ctor_get(x_1, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_1, 1); +lean_inc(x_181); +x_182 = lean_ctor_get(x_1, 2); +lean_inc(x_182); +x_183 = lean_ctor_get(x_1, 3); +lean_inc(x_183); +x_184 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_185 = lean_ctor_get(x_180, 2); +lean_inc(x_185); +x_186 = lean_ctor_get(x_105, 1); +lean_inc(x_186); +lean_inc(x_186); +x_187 = l_Lean_FileMap_toPosition(x_185, x_186); +lean_dec(x_185); +lean_ctor_set(x_98, 0, x_187); +x_188 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_188, 0, x_180); +lean_ctor_set(x_188, 1, x_181); +lean_ctor_set(x_188, 2, x_182); +lean_ctor_set(x_188, 3, x_183); +lean_ctor_set(x_188, 4, x_98); +lean_ctor_set_uint8(x_188, sizeof(void*)*5, x_184); +lean_inc(x_188); +x_189 = l_Lean_Parser_tokenFn(x_188, x_105); +x_190 = lean_ctor_get(x_189, 3); +lean_inc(x_190); +if (lean_obj_tag(x_190) == 0) +{ +lean_object* x_191; lean_object* x_192; +x_191 = lean_ctor_get(x_189, 0); +lean_inc(x_191); +x_192 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_191); +lean_dec(x_191); +if (lean_obj_tag(x_192) == 2) +{ +lean_object* x_193; lean_object* x_194; uint8_t x_195; +x_193 = lean_ctor_get(x_192, 1); +lean_inc(x_193); +lean_dec(x_192); +x_194 = l_Lean_Parser_Term_let___elambda__1___closed__6; +x_195 = lean_string_dec_eq(x_193, x_194); +lean_dec(x_193); +if (x_195 == 0) +{ +lean_object* x_196; lean_object* x_197; +lean_dec(x_188); +lean_dec(x_4); +x_196 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_197 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_196, x_186); +x_109 = x_197; +goto block_179; +} +else +{ +lean_object* x_198; +lean_dec(x_186); +x_198 = lean_apply_2(x_4, x_188, x_189); +x_109 = x_198; +goto block_179; +} +} +else +{ +lean_object* x_199; lean_object* x_200; +lean_dec(x_192); +lean_dec(x_188); +lean_dec(x_4); +x_199 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_200 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_199, x_186); +x_109 = x_200; +goto block_179; +} +} +else +{ +lean_object* x_201; lean_object* x_202; +lean_dec(x_190); +lean_dec(x_188); +lean_dec(x_4); +x_201 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_202 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_201, x_186); +x_109 = x_202; +goto block_179; +} +block_179: +{ +lean_object* x_110; +x_110 = lean_ctor_get(x_109, 3); +lean_inc(x_110); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_162; lean_object* x_163; +x_111 = lean_ctor_get(x_109, 0); +lean_inc(x_111); +x_112 = lean_array_get_size(x_111); +lean_dec(x_111); +x_113 = lean_ctor_get(x_109, 1); +lean_inc(x_113); +lean_inc(x_1); +x_162 = l_Lean_Parser_tokenFn(x_1, x_109); +x_163 = lean_ctor_get(x_162, 3); +lean_inc(x_163); +if (lean_obj_tag(x_163) == 0) +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_162, 0); +lean_inc(x_164); +x_165 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_164); +lean_dec(x_164); +if (lean_obj_tag(x_165) == 2) +{ +lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_166 = lean_ctor_get(x_165, 1); +lean_inc(x_166); +lean_dec(x_165); +x_167 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_168 = lean_string_dec_eq(x_166, x_167); +lean_dec(x_166); +if (x_168 == 0) +{ +lean_object* x_169; lean_object* x_170; +x_169 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_170 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_169, x_113); +x_114 = x_170; +goto block_161; +} +else +{ +x_114 = x_162; +goto block_161; +} +} +else +{ +lean_object* x_171; lean_object* x_172; +lean_dec(x_165); +x_171 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_172 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_171, x_113); +x_114 = x_172; +goto block_161; +} +} +else +{ +lean_object* x_173; lean_object* x_174; +lean_dec(x_163); +x_173 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_174 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_173, x_113); +x_114 = x_174; +goto block_161; +} +block_161: +{ +lean_object* x_115; +x_115 = lean_ctor_get(x_114, 3); +lean_inc(x_115); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_113); +x_116 = l_Lean_nullKind; +x_117 = l_Lean_Parser_ParserState_mkNode(x_114, x_116, x_112); +x_118 = lean_ctor_get(x_117, 3); +lean_inc(x_118); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; +x_119 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_120 = lean_unsigned_to_nat(0u); +x_121 = l_Lean_Parser_categoryParser___elambda__1(x_119, x_120, x_1, x_117); +x_122 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_123 = l_Lean_Parser_ParserState_mkNode(x_121, x_122, x_108); +x_124 = 1; +x_125 = l_Lean_Parser_mergeOrElseErrors(x_123, x_100, x_96, x_124); +lean_dec(x_96); +return x_125; +} +else +{ +lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; +lean_dec(x_118); +lean_dec(x_1); +x_126 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_127 = l_Lean_Parser_ParserState_mkNode(x_117, x_126, x_108); +x_128 = 1; +x_129 = l_Lean_Parser_mergeOrElseErrors(x_127, x_100, x_96, x_128); +lean_dec(x_96); +return x_129; +} +} +else +{ +lean_object* x_130; uint8_t x_131; +lean_dec(x_115); +x_130 = lean_ctor_get(x_114, 1); +lean_inc(x_130); +x_131 = lean_nat_dec_eq(x_130, x_113); +lean_dec(x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_113); +x_132 = l_Lean_nullKind; +x_133 = l_Lean_Parser_ParserState_mkNode(x_114, x_132, x_112); +x_134 = lean_ctor_get(x_133, 3); +lean_inc(x_134); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; +x_135 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_136 = lean_unsigned_to_nat(0u); +x_137 = l_Lean_Parser_categoryParser___elambda__1(x_135, x_136, x_1, x_133); +x_138 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_139 = l_Lean_Parser_ParserState_mkNode(x_137, x_138, x_108); +x_140 = 1; +x_141 = l_Lean_Parser_mergeOrElseErrors(x_139, x_100, x_96, x_140); +lean_dec(x_96); +return x_141; +} +else +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; +lean_dec(x_134); +lean_dec(x_1); +x_142 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_143 = l_Lean_Parser_ParserState_mkNode(x_133, x_142, x_108); +x_144 = 1; +x_145 = l_Lean_Parser_mergeOrElseErrors(x_143, x_100, x_96, x_144); +lean_dec(x_96); +return x_145; +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_146 = l_Lean_Parser_ParserState_restore(x_114, x_112, x_113); +x_147 = l_Lean_nullKind; +x_148 = l_Lean_Parser_ParserState_mkNode(x_146, x_147, x_112); +x_149 = lean_ctor_get(x_148, 3); +lean_inc(x_149); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; +x_150 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_151 = lean_unsigned_to_nat(0u); +x_152 = l_Lean_Parser_categoryParser___elambda__1(x_150, x_151, x_1, x_148); +x_153 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_154 = l_Lean_Parser_ParserState_mkNode(x_152, x_153, x_108); +x_155 = 1; +x_156 = l_Lean_Parser_mergeOrElseErrors(x_154, x_100, x_96, x_155); +lean_dec(x_96); +return x_156; +} +else +{ +lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; +lean_dec(x_149); +lean_dec(x_1); +x_157 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_158 = l_Lean_Parser_ParserState_mkNode(x_148, x_157, x_108); +x_159 = 1; +x_160 = l_Lean_Parser_mergeOrElseErrors(x_158, x_100, x_96, x_159); +lean_dec(x_96); +return x_160; +} +} +} +} +} +else +{ +lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; +lean_dec(x_110); +lean_dec(x_1); +x_175 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_176 = l_Lean_Parser_ParserState_mkNode(x_109, x_175, x_108); +x_177 = 1; +x_178 = l_Lean_Parser_mergeOrElseErrors(x_176, x_100, x_96, x_177); +lean_dec(x_96); +return x_178; +} +} +} +else +{ +uint8_t x_203; lean_object* x_204; +lean_dec(x_106); +lean_free_object(x_98); +lean_dec(x_4); +lean_dec(x_1); +x_203 = 1; +x_204 = l_Lean_Parser_mergeOrElseErrors(x_105, x_100, x_96, x_203); +lean_dec(x_96); +return x_204; +} +} +} +else +{ +lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_205 = lean_ctor_get(x_98, 0); +lean_inc(x_205); +lean_dec(x_98); +x_206 = lean_ctor_get(x_97, 1); +lean_inc(x_206); +x_207 = lean_nat_dec_eq(x_206, x_96); +lean_dec(x_206); +if (x_207 == 0) +{ +lean_dec(x_205); +lean_dec(x_96); +lean_dec(x_95); +lean_dec(x_4); +lean_dec(x_1); +return x_97; +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; +lean_inc(x_96); +x_208 = l_Lean_Parser_ParserState_restore(x_97, x_95, x_96); +lean_dec(x_95); +x_209 = l_Lean_Parser_leadPrec; +x_210 = l_Lean_Parser_checkPrecFn(x_209, x_1, x_208); +x_211 = lean_ctor_get(x_210, 3); +lean_inc(x_211); +if (lean_obj_tag(x_211) == 0) +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t 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; +x_212 = lean_ctor_get(x_210, 0); +lean_inc(x_212); +x_213 = lean_array_get_size(x_212); +lean_dec(x_212); +x_285 = lean_ctor_get(x_1, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_1, 1); +lean_inc(x_286); +x_287 = lean_ctor_get(x_1, 2); +lean_inc(x_287); +x_288 = lean_ctor_get(x_1, 3); +lean_inc(x_288); +x_289 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_290 = lean_ctor_get(x_285, 2); +lean_inc(x_290); +x_291 = lean_ctor_get(x_210, 1); +lean_inc(x_291); +lean_inc(x_291); +x_292 = l_Lean_FileMap_toPosition(x_290, x_291); +lean_dec(x_290); +x_293 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_293, 0, x_292); +x_294 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_294, 0, x_285); +lean_ctor_set(x_294, 1, x_286); +lean_ctor_set(x_294, 2, x_287); +lean_ctor_set(x_294, 3, x_288); +lean_ctor_set(x_294, 4, x_293); +lean_ctor_set_uint8(x_294, sizeof(void*)*5, x_289); +lean_inc(x_294); +x_295 = l_Lean_Parser_tokenFn(x_294, x_210); +x_296 = lean_ctor_get(x_295, 3); +lean_inc(x_296); +if (lean_obj_tag(x_296) == 0) +{ +lean_object* x_297; lean_object* x_298; +x_297 = lean_ctor_get(x_295, 0); +lean_inc(x_297); +x_298 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_297); +lean_dec(x_297); +if (lean_obj_tag(x_298) == 2) +{ +lean_object* x_299; lean_object* x_300; uint8_t x_301; +x_299 = lean_ctor_get(x_298, 1); +lean_inc(x_299); +lean_dec(x_298); +x_300 = l_Lean_Parser_Term_let___elambda__1___closed__6; +x_301 = lean_string_dec_eq(x_299, x_300); +lean_dec(x_299); +if (x_301 == 0) +{ +lean_object* x_302; lean_object* x_303; +lean_dec(x_294); +lean_dec(x_4); +x_302 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_303 = l_Lean_Parser_ParserState_mkErrorsAt(x_295, x_302, x_291); +x_214 = x_303; +goto block_284; +} +else +{ +lean_object* x_304; +lean_dec(x_291); +x_304 = lean_apply_2(x_4, x_294, x_295); +x_214 = x_304; +goto block_284; +} +} +else +{ +lean_object* x_305; lean_object* x_306; +lean_dec(x_298); +lean_dec(x_294); +lean_dec(x_4); +x_305 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_306 = l_Lean_Parser_ParserState_mkErrorsAt(x_295, x_305, x_291); +x_214 = x_306; +goto block_284; +} +} +else +{ +lean_object* x_307; lean_object* x_308; +lean_dec(x_296); +lean_dec(x_294); +lean_dec(x_4); +x_307 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_308 = l_Lean_Parser_ParserState_mkErrorsAt(x_295, x_307, x_291); +x_214 = x_308; +goto block_284; +} +block_284: +{ +lean_object* x_215; +x_215 = lean_ctor_get(x_214, 3); +lean_inc(x_215); +if (lean_obj_tag(x_215) == 0) +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_267; lean_object* x_268; +x_216 = lean_ctor_get(x_214, 0); +lean_inc(x_216); +x_217 = lean_array_get_size(x_216); +lean_dec(x_216); +x_218 = lean_ctor_get(x_214, 1); +lean_inc(x_218); +lean_inc(x_1); +x_267 = l_Lean_Parser_tokenFn(x_1, x_214); +x_268 = lean_ctor_get(x_267, 3); +lean_inc(x_268); +if (lean_obj_tag(x_268) == 0) +{ +lean_object* x_269; lean_object* x_270; +x_269 = lean_ctor_get(x_267, 0); +lean_inc(x_269); +x_270 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_269); +lean_dec(x_269); +if (lean_obj_tag(x_270) == 2) +{ +lean_object* x_271; lean_object* x_272; uint8_t x_273; +x_271 = lean_ctor_get(x_270, 1); +lean_inc(x_271); +lean_dec(x_270); +x_272 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_273 = lean_string_dec_eq(x_271, x_272); +lean_dec(x_271); +if (x_273 == 0) +{ +lean_object* x_274; lean_object* x_275; +x_274 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_218); +x_275 = l_Lean_Parser_ParserState_mkErrorsAt(x_267, x_274, x_218); +x_219 = x_275; +goto block_266; +} +else +{ +x_219 = x_267; +goto block_266; +} +} +else +{ +lean_object* x_276; lean_object* x_277; +lean_dec(x_270); +x_276 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_218); +x_277 = l_Lean_Parser_ParserState_mkErrorsAt(x_267, x_276, x_218); +x_219 = x_277; +goto block_266; +} +} +else +{ +lean_object* x_278; lean_object* x_279; +lean_dec(x_268); +x_278 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_218); +x_279 = l_Lean_Parser_ParserState_mkErrorsAt(x_267, x_278, x_218); +x_219 = x_279; +goto block_266; +} +block_266: +{ +lean_object* x_220; +x_220 = lean_ctor_get(x_219, 3); +lean_inc(x_220); +if (lean_obj_tag(x_220) == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; +lean_dec(x_218); +x_221 = l_Lean_nullKind; +x_222 = l_Lean_Parser_ParserState_mkNode(x_219, x_221, x_217); +x_223 = lean_ctor_get(x_222, 3); +lean_inc(x_223); +if (lean_obj_tag(x_223) == 0) +{ +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; lean_object* x_230; +x_224 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_225 = lean_unsigned_to_nat(0u); +x_226 = l_Lean_Parser_categoryParser___elambda__1(x_224, x_225, x_1, x_222); +x_227 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_228 = l_Lean_Parser_ParserState_mkNode(x_226, x_227, x_213); +x_229 = 1; +x_230 = l_Lean_Parser_mergeOrElseErrors(x_228, x_205, x_96, x_229); +lean_dec(x_96); +return x_230; +} +else +{ +lean_object* x_231; lean_object* x_232; uint8_t x_233; lean_object* x_234; +lean_dec(x_223); +lean_dec(x_1); +x_231 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_232 = l_Lean_Parser_ParserState_mkNode(x_222, x_231, x_213); +x_233 = 1; +x_234 = l_Lean_Parser_mergeOrElseErrors(x_232, x_205, x_96, x_233); +lean_dec(x_96); +return x_234; +} +} +else +{ +lean_object* x_235; uint8_t x_236; +lean_dec(x_220); +x_235 = lean_ctor_get(x_219, 1); +lean_inc(x_235); +x_236 = lean_nat_dec_eq(x_235, x_218); +lean_dec(x_235); +if (x_236 == 0) +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; +lean_dec(x_218); +x_237 = l_Lean_nullKind; +x_238 = l_Lean_Parser_ParserState_mkNode(x_219, x_237, x_217); +x_239 = lean_ctor_get(x_238, 3); +lean_inc(x_239); +if (lean_obj_tag(x_239) == 0) +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; lean_object* x_246; +x_240 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_241 = lean_unsigned_to_nat(0u); +x_242 = l_Lean_Parser_categoryParser___elambda__1(x_240, x_241, x_1, x_238); +x_243 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_244 = l_Lean_Parser_ParserState_mkNode(x_242, x_243, x_213); +x_245 = 1; +x_246 = l_Lean_Parser_mergeOrElseErrors(x_244, x_205, x_96, x_245); +lean_dec(x_96); +return x_246; +} +else +{ +lean_object* x_247; lean_object* x_248; uint8_t x_249; lean_object* x_250; +lean_dec(x_239); +lean_dec(x_1); +x_247 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_248 = l_Lean_Parser_ParserState_mkNode(x_238, x_247, x_213); +x_249 = 1; +x_250 = l_Lean_Parser_mergeOrElseErrors(x_248, x_205, x_96, x_249); +lean_dec(x_96); +return x_250; +} +} +else +{ +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_251 = l_Lean_Parser_ParserState_restore(x_219, x_217, x_218); +x_252 = l_Lean_nullKind; +x_253 = l_Lean_Parser_ParserState_mkNode(x_251, x_252, x_217); +x_254 = lean_ctor_get(x_253, 3); +lean_inc(x_254); +if (lean_obj_tag(x_254) == 0) +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; lean_object* x_261; +x_255 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_256 = lean_unsigned_to_nat(0u); +x_257 = l_Lean_Parser_categoryParser___elambda__1(x_255, x_256, x_1, x_253); +x_258 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_259 = l_Lean_Parser_ParserState_mkNode(x_257, x_258, x_213); +x_260 = 1; +x_261 = l_Lean_Parser_mergeOrElseErrors(x_259, x_205, x_96, x_260); +lean_dec(x_96); +return x_261; +} +else +{ +lean_object* x_262; lean_object* x_263; uint8_t x_264; lean_object* x_265; +lean_dec(x_254); +lean_dec(x_1); +x_262 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_263 = l_Lean_Parser_ParserState_mkNode(x_253, x_262, x_213); +x_264 = 1; +x_265 = l_Lean_Parser_mergeOrElseErrors(x_263, x_205, x_96, x_264); +lean_dec(x_96); +return x_265; +} +} +} +} +} +else +{ +lean_object* x_280; lean_object* x_281; uint8_t x_282; lean_object* x_283; +lean_dec(x_215); +lean_dec(x_1); +x_280 = l_Lean_Parser_Term_let___elambda__1___closed__2; +x_281 = l_Lean_Parser_ParserState_mkNode(x_214, x_280, x_213); +x_282 = 1; +x_283 = l_Lean_Parser_mergeOrElseErrors(x_281, x_205, x_96, x_282); +lean_dec(x_96); +return x_283; +} +} +} +else +{ +uint8_t x_309; lean_object* x_310; +lean_dec(x_211); +lean_dec(x_4); +lean_dec(x_1); +x_309 = 1; +x_310 = l_Lean_Parser_mergeOrElseErrors(x_210, x_205, x_96, x_309); +lean_dec(x_96); +return x_310; +} } } } @@ -50423,8 +52153,8 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_letDecl; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_have___closed__2; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +x_3 = l_Lean_Parser_Term_let___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } } @@ -50432,8 +52162,8 @@ lean_object* _init_l_Lean_Parser_Term_let___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_let___closed__1; -x_2 = l_Lean_Parser_Term_let___closed__2; +x_1 = l_Lean_Parser_Term_let___closed__2; +x_2 = l_Lean_Parser_Term_have___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -50837,8 +52567,8 @@ lean_object* _init_l_Lean_Parser_Term_let_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_let_formatter___closed__3; -x_2 = l_Lean_Parser_Term_have_formatter___closed__3; +x_1 = l_Lean_Parser_Term_let_formatter___closed__2; +x_2 = l_Lean_Parser_Term_let_formatter___closed__3; 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); @@ -50848,22 +52578,32 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_let_formatter___closed__5() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_let_formatter___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_let_formatter___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_let_formatter___closed__2; -x_2 = l_Lean_Parser_Term_let_formatter___closed__4; +x_1 = l_Lean_Parser_Term_let_formatter___closed__5; +x_2 = l_Lean_Parser_Term_have_formatter___closed__6; 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_let_formatter___closed__6() { +lean_object* _init_l_Lean_Parser_Term_let_formatter___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_let___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_let_formatter___closed__5; +x_3 = l_Lean_Parser_Term_let_formatter___closed__6; 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); @@ -50876,7 +52616,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_let_formatter___closed__1; -x_7 = l_Lean_Parser_Term_let_formatter___closed__6; +x_7 = l_Lean_Parser_Term_let_formatter___closed__7; 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; } @@ -51203,8 +52943,8 @@ lean_object* _init_l_Lean_Parser_Term_let_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_let_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_let_parenthesizer___closed__2; 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); @@ -51214,22 +52954,32 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_let_parenthesizer___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_let_parenthesizer___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_let_parenthesizer___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Term_let_parenthesizer___closed__3; +x_1 = l_Lean_Parser_Term_let_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Term_have_parenthesizer___closed__5; 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_let_parenthesizer___closed__5() { +lean_object* _init_l_Lean_Parser_Term_let_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_let___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_let_parenthesizer___closed__4; +x_3 = l_Lean_Parser_Term_let_parenthesizer___closed__5; 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); @@ -51242,7 +52992,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_let_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_let_parenthesizer___closed__5; +x_7 = l_Lean_Parser_Term_let_parenthesizer___closed__6; 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; } @@ -51377,312 +53127,38 @@ x_10 = lean_ctor_get(x_9, 3); lean_inc(x_10); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; x_11 = lean_ctor_get(x_9, 0); lean_inc(x_11); x_12 = lean_array_get_size(x_11); lean_dec(x_11); -x_47 = lean_ctor_get(x_9, 1); -lean_inc(x_47); -lean_inc(x_1); -x_48 = l_Lean_Parser_tokenFn(x_1, x_9); -x_49 = lean_ctor_get(x_48, 3); -lean_inc(x_49); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_48, 0); -lean_inc(x_50); -x_51 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_50); -lean_dec(x_50); -if (lean_obj_tag(x_51) == 2) -{ -lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_52 = lean_ctor_get(x_51, 1); -lean_inc(x_52); -lean_dec(x_51); -x_53 = l_Lean_Parser_Term_let_x21___elambda__1___closed__6; -x_54 = lean_string_dec_eq(x_52, x_53); -lean_dec(x_52); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; -x_55 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; -x_56 = l_Lean_Parser_ParserState_mkErrorsAt(x_48, x_55, x_47); -x_13 = x_56; -goto block_46; -} -else -{ -lean_dec(x_47); -x_13 = x_48; -goto block_46; -} -} -else -{ -lean_object* x_57; lean_object* x_58; -lean_dec(x_51); -x_57 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; -x_58 = l_Lean_Parser_ParserState_mkErrorsAt(x_48, x_57, x_47); -x_13 = x_58; -goto block_46; -} -} -else -{ -lean_object* x_59; lean_object* x_60; -lean_dec(x_49); -x_59 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; -x_60 = l_Lean_Parser_ParserState_mkErrorsAt(x_48, x_59, x_47); -x_13 = x_60; -goto block_46; -} -block_46: -{ -lean_object* x_14; -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; -lean_inc(x_1); -x_15 = lean_apply_2(x_4, x_1, x_13); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_inc(x_1); -x_18 = l_Lean_Parser_tokenFn(x_1, x_15); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -x_21 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_20); -lean_dec(x_20); -if (lean_obj_tag(x_21) == 2) -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; -x_24 = lean_string_dec_eq(x_22, x_23); -lean_dec(x_22); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_1); -x_25 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_25, x_17); -x_27 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_12); -return x_28; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_17); -x_29 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_30 = lean_unsigned_to_nat(0u); -x_31 = l_Lean_Parser_categoryParser___elambda__1(x_29, x_30, x_1, x_18); -x_32 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_33 = l_Lean_Parser_ParserState_mkNode(x_31, x_32, x_12); -return x_33; -} -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_21); -lean_dec(x_1); -x_34 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_35 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_34, x_17); -x_36 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_12); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -lean_dec(x_19); -lean_dec(x_1); -x_38 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_39 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_38, x_17); -x_40 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_41 = l_Lean_Parser_ParserState_mkNode(x_39, x_40, x_12); -return x_41; -} -} -else -{ -lean_object* x_42; lean_object* x_43; -lean_dec(x_16); -lean_dec(x_1); -x_42 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_43 = l_Lean_Parser_ParserState_mkNode(x_15, x_42, x_12); -return x_43; -} -} -else -{ -lean_object* x_44; lean_object* x_45; -lean_dec(x_14); -lean_dec(x_4); -lean_dec(x_1); -x_44 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_45 = l_Lean_Parser_ParserState_mkNode(x_13, x_44, x_12); -return x_45; -} -} -} -else -{ -lean_dec(x_10); -lean_dec(x_4); -lean_dec(x_1); -return x_9; -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_61 = lean_ctor_get(x_2, 0); -lean_inc(x_61); -x_62 = lean_array_get_size(x_61); -lean_dec(x_61); -x_63 = lean_ctor_get(x_2, 1); -lean_inc(x_63); -lean_inc(x_1); -x_64 = lean_apply_2(x_6, x_1, x_2); -x_65 = lean_ctor_get(x_64, 3); -lean_inc(x_65); -if (lean_obj_tag(x_65) == 0) -{ -lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_4); -lean_dec(x_1); -return x_64; -} -else -{ -lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_ctor_get(x_64, 1); -lean_inc(x_67); -x_68 = lean_nat_dec_eq(x_67, x_63); -lean_dec(x_67); -if (x_68 == 0) -{ -lean_dec(x_66); -lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_4); -lean_dec(x_1); -return x_64; -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -lean_inc(x_63); -x_69 = l_Lean_Parser_ParserState_restore(x_64, x_62, x_63); -lean_dec(x_62); -x_70 = l_Lean_Parser_leadPrec; -x_71 = l_Lean_Parser_checkPrecFn(x_70, x_1, x_69); -x_72 = lean_ctor_get(x_71, 3); +x_70 = lean_ctor_get(x_1, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_1, 1); +lean_inc(x_71); +x_72 = lean_ctor_get(x_1, 2); lean_inc(x_72); -if (lean_obj_tag(x_72) == 0) -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_73 = lean_ctor_get(x_71, 0); +x_73 = lean_ctor_get(x_1, 3); lean_inc(x_73); -x_74 = lean_array_get_size(x_73); -lean_dec(x_73); -x_121 = lean_ctor_get(x_71, 1); -lean_inc(x_121); -lean_inc(x_1); -x_122 = l_Lean_Parser_tokenFn(x_1, x_71); -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_let_x21___elambda__1___closed__6; -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_let_x21___elambda__1___closed__9; -x_130 = l_Lean_Parser_ParserState_mkErrorsAt(x_122, x_129, x_121); -x_75 = x_130; -goto block_120; -} -else -{ -lean_dec(x_121); -x_75 = x_122; -goto block_120; -} -} -else -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_125); -x_131 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; -x_132 = l_Lean_Parser_ParserState_mkErrorsAt(x_122, x_131, x_121); -x_75 = x_132; -goto block_120; -} -} -else -{ -lean_object* x_133; lean_object* x_134; -lean_dec(x_123); -x_133 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; -x_134 = l_Lean_Parser_ParserState_mkErrorsAt(x_122, x_133, x_121); -x_75 = x_134; -goto block_120; -} -block_120: -{ -lean_object* x_76; -x_76 = lean_ctor_get(x_75, 3); +x_74 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_75 = lean_ctor_get(x_70, 2); +lean_inc(x_75); +x_76 = lean_ctor_get(x_9, 1); lean_inc(x_76); -if (lean_obj_tag(x_76) == 0) -{ -lean_object* x_77; lean_object* x_78; -lean_inc(x_1); -x_77 = lean_apply_2(x_4, 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_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_76); +x_77 = l_Lean_FileMap_toPosition(x_75, x_76); +lean_dec(x_75); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_79, 0, x_70); +lean_ctor_set(x_79, 1, x_71); +lean_ctor_set(x_79, 2, x_72); +lean_ctor_set(x_79, 3, x_73); +lean_ctor_set(x_79, 4, x_78); +lean_ctor_set_uint8(x_79, sizeof(void*)*5, x_74); lean_inc(x_79); -lean_inc(x_1); -x_80 = l_Lean_Parser_tokenFn(x_1, x_77); +x_80 = l_Lean_Parser_tokenFn(x_79, x_9); x_81 = lean_ctor_get(x_80, 3); lean_inc(x_81); if (lean_obj_tag(x_81) == 0) @@ -51698,105 +53174,938 @@ lean_object* x_84; lean_object* x_85; uint8_t x_86; x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); -x_85 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_85 = l_Lean_Parser_Term_let_x21___elambda__1___closed__6; x_86 = lean_string_dec_eq(x_84, x_85); lean_dec(x_84); if (x_86 == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; -lean_dec(x_1); -x_87 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_88 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_87, x_79); -x_89 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_90 = l_Lean_Parser_ParserState_mkNode(x_88, x_89, x_74); -x_91 = 1; -x_92 = l_Lean_Parser_mergeOrElseErrors(x_90, x_66, x_63, x_91); -lean_dec(x_63); -return x_92; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; +lean_object* x_87; lean_object* x_88; lean_dec(x_79); -x_93 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_94 = lean_unsigned_to_nat(0u); -x_95 = l_Lean_Parser_categoryParser___elambda__1(x_93, x_94, x_1, x_80); -x_96 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_97 = l_Lean_Parser_ParserState_mkNode(x_95, x_96, x_74); -x_98 = 1; -x_99 = l_Lean_Parser_mergeOrElseErrors(x_97, x_66, x_63, x_98); -lean_dec(x_63); -return x_99; -} +lean_dec(x_4); +x_87 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; +x_88 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_87, x_76); +x_13 = x_88; +goto block_69; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; -lean_dec(x_83); -lean_dec(x_1); -x_100 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_101 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_100, x_79); -x_102 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_103 = l_Lean_Parser_ParserState_mkNode(x_101, x_102, x_74); -x_104 = 1; -x_105 = l_Lean_Parser_mergeOrElseErrors(x_103, x_66, x_63, x_104); -lean_dec(x_63); -return x_105; -} -} -else -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; lean_object* x_111; -lean_dec(x_81); -lean_dec(x_1); -x_106 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_107 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_106, x_79); -x_108 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_109 = l_Lean_Parser_ParserState_mkNode(x_107, x_108, x_74); -x_110 = 1; -x_111 = l_Lean_Parser_mergeOrElseErrors(x_109, x_66, x_63, x_110); -lean_dec(x_63); -return x_111; -} -} -else -{ -lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; -lean_dec(x_78); -lean_dec(x_1); -x_112 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_113 = l_Lean_Parser_ParserState_mkNode(x_77, x_112, x_74); -x_114 = 1; -x_115 = l_Lean_Parser_mergeOrElseErrors(x_113, x_66, x_63, x_114); -lean_dec(x_63); -return x_115; -} -} -else -{ -lean_object* x_116; lean_object* x_117; uint8_t x_118; lean_object* x_119; +lean_object* x_89; lean_dec(x_76); +x_89 = lean_apply_2(x_4, x_79, x_80); +x_13 = x_89; +goto block_69; +} +} +else +{ +lean_object* x_90; lean_object* x_91; +lean_dec(x_83); +lean_dec(x_79); lean_dec(x_4); +x_90 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; +x_91 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_90, x_76); +x_13 = x_91; +goto block_69; +} +} +else +{ +lean_object* x_92; lean_object* x_93; +lean_dec(x_81); +lean_dec(x_79); +lean_dec(x_4); +x_92 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; +x_93 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_92, x_76); +x_13 = x_93; +goto block_69; +} +block_69: +{ +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 3); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_54; lean_object* x_55; +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +x_16 = lean_array_get_size(x_15); +lean_dec(x_15); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_inc(x_1); +x_54 = l_Lean_Parser_tokenFn(x_1, x_13); +x_55 = lean_ctor_get(x_54, 3); +lean_inc(x_55); +if (lean_obj_tag(x_55) == 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_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_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_60 = lean_string_dec_eq(x_58, x_59); +lean_dec(x_58); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_17); +x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_61, x_17); +x_18 = x_62; +goto block_53; +} +else +{ +x_18 = x_54; +goto block_53; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_57); +x_63 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_17); +x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_63, x_17); +x_18 = x_64; +goto block_53; +} +} +else +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_55); +x_65 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_17); +x_66 = l_Lean_Parser_ParserState_mkErrorsAt(x_54, x_65, x_17); +x_18 = x_66; +goto block_53; +} +block_53: +{ +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 3); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_17); +x_20 = l_Lean_nullKind; +x_21 = l_Lean_Parser_ParserState_mkNode(x_18, x_20, x_16); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_24 = lean_unsigned_to_nat(0u); +x_25 = l_Lean_Parser_categoryParser___elambda__1(x_23, x_24, x_1, x_21); +x_26 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_27 = l_Lean_Parser_ParserState_mkNode(x_25, x_26, x_12); +return x_27; +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_22); lean_dec(x_1); -x_116 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_117 = l_Lean_Parser_ParserState_mkNode(x_75, x_116, x_74); -x_118 = 1; -x_119 = l_Lean_Parser_mergeOrElseErrors(x_117, x_66, x_63, x_118); -lean_dec(x_63); -return x_119; +x_28 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_29 = l_Lean_Parser_ParserState_mkNode(x_21, x_28, x_12); +return x_29; +} +} +else +{ +lean_object* x_30; uint8_t x_31; +lean_dec(x_19); +x_30 = lean_ctor_get(x_18, 1); +lean_inc(x_30); +x_31 = lean_nat_dec_eq(x_30, x_17); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_dec(x_17); +x_32 = l_Lean_nullKind; +x_33 = l_Lean_Parser_ParserState_mkNode(x_18, x_32, x_16); +x_34 = lean_ctor_get(x_33, 3); +lean_inc(x_34); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_35 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_36 = lean_unsigned_to_nat(0u); +x_37 = l_Lean_Parser_categoryParser___elambda__1(x_35, x_36, x_1, x_33); +x_38 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_39 = l_Lean_Parser_ParserState_mkNode(x_37, x_38, x_12); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_34); +lean_dec(x_1); +x_40 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_41 = l_Lean_Parser_ParserState_mkNode(x_33, x_40, x_12); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_42 = l_Lean_Parser_ParserState_restore(x_18, x_16, x_17); +x_43 = l_Lean_nullKind; +x_44 = l_Lean_Parser_ParserState_mkNode(x_42, x_43, x_16); +x_45 = lean_ctor_get(x_44, 3); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_46 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_47 = lean_unsigned_to_nat(0u); +x_48 = l_Lean_Parser_categoryParser___elambda__1(x_46, x_47, x_1, x_44); +x_49 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_50 = l_Lean_Parser_ParserState_mkNode(x_48, x_49, x_12); +return x_50; +} +else +{ +lean_object* x_51; lean_object* x_52; +lean_dec(x_45); +lean_dec(x_1); +x_51 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_52 = l_Lean_Parser_ParserState_mkNode(x_44, x_51, x_12); +return x_52; +} +} } } } else { -uint8_t x_135; lean_object* x_136; -lean_dec(x_72); +lean_object* x_67; lean_object* x_68; +lean_dec(x_14); +lean_dec(x_1); +x_67 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_68 = l_Lean_Parser_ParserState_mkNode(x_13, x_67, x_12); +return x_68; +} +} +} +else +{ +lean_dec(x_10); lean_dec(x_4); lean_dec(x_1); -x_135 = 1; -x_136 = l_Lean_Parser_mergeOrElseErrors(x_71, x_66, x_63, x_135); -lean_dec(x_63); -return x_136; +return x_9; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_94 = lean_ctor_get(x_2, 0); +lean_inc(x_94); +x_95 = lean_array_get_size(x_94); +lean_dec(x_94); +x_96 = lean_ctor_get(x_2, 1); +lean_inc(x_96); +lean_inc(x_1); +x_97 = lean_apply_2(x_6, x_1, x_2); +x_98 = lean_ctor_get(x_97, 3); +lean_inc(x_98); +if (lean_obj_tag(x_98) == 0) +{ +lean_dec(x_96); +lean_dec(x_95); +lean_dec(x_4); +lean_dec(x_1); +return x_97; +} +else +{ +uint8_t x_99; +x_99 = !lean_is_exclusive(x_98); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_100 = lean_ctor_get(x_98, 0); +x_101 = lean_ctor_get(x_97, 1); +lean_inc(x_101); +x_102 = lean_nat_dec_eq(x_101, x_96); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_free_object(x_98); +lean_dec(x_100); +lean_dec(x_96); +lean_dec(x_95); +lean_dec(x_4); +lean_dec(x_1); +return x_97; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_inc(x_96); +x_103 = l_Lean_Parser_ParserState_restore(x_97, x_95, x_96); +lean_dec(x_95); +x_104 = l_Lean_Parser_leadPrec; +x_105 = l_Lean_Parser_checkPrecFn(x_104, x_1, x_103); +x_106 = lean_ctor_get(x_105, 3); +lean_inc(x_106); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t 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; +x_107 = lean_ctor_get(x_105, 0); +lean_inc(x_107); +x_108 = lean_array_get_size(x_107); +lean_dec(x_107); +x_180 = lean_ctor_get(x_1, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_1, 1); +lean_inc(x_181); +x_182 = lean_ctor_get(x_1, 2); +lean_inc(x_182); +x_183 = lean_ctor_get(x_1, 3); +lean_inc(x_183); +x_184 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_185 = lean_ctor_get(x_180, 2); +lean_inc(x_185); +x_186 = lean_ctor_get(x_105, 1); +lean_inc(x_186); +lean_inc(x_186); +x_187 = l_Lean_FileMap_toPosition(x_185, x_186); +lean_dec(x_185); +lean_ctor_set(x_98, 0, x_187); +x_188 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_188, 0, x_180); +lean_ctor_set(x_188, 1, x_181); +lean_ctor_set(x_188, 2, x_182); +lean_ctor_set(x_188, 3, x_183); +lean_ctor_set(x_188, 4, x_98); +lean_ctor_set_uint8(x_188, sizeof(void*)*5, x_184); +lean_inc(x_188); +x_189 = l_Lean_Parser_tokenFn(x_188, x_105); +x_190 = lean_ctor_get(x_189, 3); +lean_inc(x_190); +if (lean_obj_tag(x_190) == 0) +{ +lean_object* x_191; lean_object* x_192; +x_191 = lean_ctor_get(x_189, 0); +lean_inc(x_191); +x_192 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_191); +lean_dec(x_191); +if (lean_obj_tag(x_192) == 2) +{ +lean_object* x_193; lean_object* x_194; uint8_t x_195; +x_193 = lean_ctor_get(x_192, 1); +lean_inc(x_193); +lean_dec(x_192); +x_194 = l_Lean_Parser_Term_let_x21___elambda__1___closed__6; +x_195 = lean_string_dec_eq(x_193, x_194); +lean_dec(x_193); +if (x_195 == 0) +{ +lean_object* x_196; lean_object* x_197; +lean_dec(x_188); +lean_dec(x_4); +x_196 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; +x_197 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_196, x_186); +x_109 = x_197; +goto block_179; +} +else +{ +lean_object* x_198; +lean_dec(x_186); +x_198 = lean_apply_2(x_4, x_188, x_189); +x_109 = x_198; +goto block_179; +} +} +else +{ +lean_object* x_199; lean_object* x_200; +lean_dec(x_192); +lean_dec(x_188); +lean_dec(x_4); +x_199 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; +x_200 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_199, x_186); +x_109 = x_200; +goto block_179; +} +} +else +{ +lean_object* x_201; lean_object* x_202; +lean_dec(x_190); +lean_dec(x_188); +lean_dec(x_4); +x_201 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; +x_202 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_201, x_186); +x_109 = x_202; +goto block_179; +} +block_179: +{ +lean_object* x_110; +x_110 = lean_ctor_get(x_109, 3); +lean_inc(x_110); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_162; lean_object* x_163; +x_111 = lean_ctor_get(x_109, 0); +lean_inc(x_111); +x_112 = lean_array_get_size(x_111); +lean_dec(x_111); +x_113 = lean_ctor_get(x_109, 1); +lean_inc(x_113); +lean_inc(x_1); +x_162 = l_Lean_Parser_tokenFn(x_1, x_109); +x_163 = lean_ctor_get(x_162, 3); +lean_inc(x_163); +if (lean_obj_tag(x_163) == 0) +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_162, 0); +lean_inc(x_164); +x_165 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_164); +lean_dec(x_164); +if (lean_obj_tag(x_165) == 2) +{ +lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_166 = lean_ctor_get(x_165, 1); +lean_inc(x_166); +lean_dec(x_165); +x_167 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_168 = lean_string_dec_eq(x_166, x_167); +lean_dec(x_166); +if (x_168 == 0) +{ +lean_object* x_169; lean_object* x_170; +x_169 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_170 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_169, x_113); +x_114 = x_170; +goto block_161; +} +else +{ +x_114 = x_162; +goto block_161; +} +} +else +{ +lean_object* x_171; lean_object* x_172; +lean_dec(x_165); +x_171 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_172 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_171, x_113); +x_114 = x_172; +goto block_161; +} +} +else +{ +lean_object* x_173; lean_object* x_174; +lean_dec(x_163); +x_173 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_174 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_173, x_113); +x_114 = x_174; +goto block_161; +} +block_161: +{ +lean_object* x_115; +x_115 = lean_ctor_get(x_114, 3); +lean_inc(x_115); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_113); +x_116 = l_Lean_nullKind; +x_117 = l_Lean_Parser_ParserState_mkNode(x_114, x_116, x_112); +x_118 = lean_ctor_get(x_117, 3); +lean_inc(x_118); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; +x_119 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_120 = lean_unsigned_to_nat(0u); +x_121 = l_Lean_Parser_categoryParser___elambda__1(x_119, x_120, x_1, x_117); +x_122 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_123 = l_Lean_Parser_ParserState_mkNode(x_121, x_122, x_108); +x_124 = 1; +x_125 = l_Lean_Parser_mergeOrElseErrors(x_123, x_100, x_96, x_124); +lean_dec(x_96); +return x_125; +} +else +{ +lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; +lean_dec(x_118); +lean_dec(x_1); +x_126 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_127 = l_Lean_Parser_ParserState_mkNode(x_117, x_126, x_108); +x_128 = 1; +x_129 = l_Lean_Parser_mergeOrElseErrors(x_127, x_100, x_96, x_128); +lean_dec(x_96); +return x_129; +} +} +else +{ +lean_object* x_130; uint8_t x_131; +lean_dec(x_115); +x_130 = lean_ctor_get(x_114, 1); +lean_inc(x_130); +x_131 = lean_nat_dec_eq(x_130, x_113); +lean_dec(x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_113); +x_132 = l_Lean_nullKind; +x_133 = l_Lean_Parser_ParserState_mkNode(x_114, x_132, x_112); +x_134 = lean_ctor_get(x_133, 3); +lean_inc(x_134); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; +x_135 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_136 = lean_unsigned_to_nat(0u); +x_137 = l_Lean_Parser_categoryParser___elambda__1(x_135, x_136, x_1, x_133); +x_138 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_139 = l_Lean_Parser_ParserState_mkNode(x_137, x_138, x_108); +x_140 = 1; +x_141 = l_Lean_Parser_mergeOrElseErrors(x_139, x_100, x_96, x_140); +lean_dec(x_96); +return x_141; +} +else +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; +lean_dec(x_134); +lean_dec(x_1); +x_142 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_143 = l_Lean_Parser_ParserState_mkNode(x_133, x_142, x_108); +x_144 = 1; +x_145 = l_Lean_Parser_mergeOrElseErrors(x_143, x_100, x_96, x_144); +lean_dec(x_96); +return x_145; +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_146 = l_Lean_Parser_ParserState_restore(x_114, x_112, x_113); +x_147 = l_Lean_nullKind; +x_148 = l_Lean_Parser_ParserState_mkNode(x_146, x_147, x_112); +x_149 = lean_ctor_get(x_148, 3); +lean_inc(x_149); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; +x_150 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_151 = lean_unsigned_to_nat(0u); +x_152 = l_Lean_Parser_categoryParser___elambda__1(x_150, x_151, x_1, x_148); +x_153 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_154 = l_Lean_Parser_ParserState_mkNode(x_152, x_153, x_108); +x_155 = 1; +x_156 = l_Lean_Parser_mergeOrElseErrors(x_154, x_100, x_96, x_155); +lean_dec(x_96); +return x_156; +} +else +{ +lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; +lean_dec(x_149); +lean_dec(x_1); +x_157 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_158 = l_Lean_Parser_ParserState_mkNode(x_148, x_157, x_108); +x_159 = 1; +x_160 = l_Lean_Parser_mergeOrElseErrors(x_158, x_100, x_96, x_159); +lean_dec(x_96); +return x_160; +} +} +} +} +} +else +{ +lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; +lean_dec(x_110); +lean_dec(x_1); +x_175 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_176 = l_Lean_Parser_ParserState_mkNode(x_109, x_175, x_108); +x_177 = 1; +x_178 = l_Lean_Parser_mergeOrElseErrors(x_176, x_100, x_96, x_177); +lean_dec(x_96); +return x_178; +} +} +} +else +{ +uint8_t x_203; lean_object* x_204; +lean_dec(x_106); +lean_free_object(x_98); +lean_dec(x_4); +lean_dec(x_1); +x_203 = 1; +x_204 = l_Lean_Parser_mergeOrElseErrors(x_105, x_100, x_96, x_203); +lean_dec(x_96); +return x_204; +} +} +} +else +{ +lean_object* x_205; lean_object* x_206; uint8_t x_207; +x_205 = lean_ctor_get(x_98, 0); +lean_inc(x_205); +lean_dec(x_98); +x_206 = lean_ctor_get(x_97, 1); +lean_inc(x_206); +x_207 = lean_nat_dec_eq(x_206, x_96); +lean_dec(x_206); +if (x_207 == 0) +{ +lean_dec(x_205); +lean_dec(x_96); +lean_dec(x_95); +lean_dec(x_4); +lean_dec(x_1); +return x_97; +} +else +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; +lean_inc(x_96); +x_208 = l_Lean_Parser_ParserState_restore(x_97, x_95, x_96); +lean_dec(x_95); +x_209 = l_Lean_Parser_leadPrec; +x_210 = l_Lean_Parser_checkPrecFn(x_209, x_1, x_208); +x_211 = lean_ctor_get(x_210, 3); +lean_inc(x_211); +if (lean_obj_tag(x_211) == 0) +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t 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; +x_212 = lean_ctor_get(x_210, 0); +lean_inc(x_212); +x_213 = lean_array_get_size(x_212); +lean_dec(x_212); +x_285 = lean_ctor_get(x_1, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_1, 1); +lean_inc(x_286); +x_287 = lean_ctor_get(x_1, 2); +lean_inc(x_287); +x_288 = lean_ctor_get(x_1, 3); +lean_inc(x_288); +x_289 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_290 = lean_ctor_get(x_285, 2); +lean_inc(x_290); +x_291 = lean_ctor_get(x_210, 1); +lean_inc(x_291); +lean_inc(x_291); +x_292 = l_Lean_FileMap_toPosition(x_290, x_291); +lean_dec(x_290); +x_293 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_293, 0, x_292); +x_294 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_294, 0, x_285); +lean_ctor_set(x_294, 1, x_286); +lean_ctor_set(x_294, 2, x_287); +lean_ctor_set(x_294, 3, x_288); +lean_ctor_set(x_294, 4, x_293); +lean_ctor_set_uint8(x_294, sizeof(void*)*5, x_289); +lean_inc(x_294); +x_295 = l_Lean_Parser_tokenFn(x_294, x_210); +x_296 = lean_ctor_get(x_295, 3); +lean_inc(x_296); +if (lean_obj_tag(x_296) == 0) +{ +lean_object* x_297; lean_object* x_298; +x_297 = lean_ctor_get(x_295, 0); +lean_inc(x_297); +x_298 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_297); +lean_dec(x_297); +if (lean_obj_tag(x_298) == 2) +{ +lean_object* x_299; lean_object* x_300; uint8_t x_301; +x_299 = lean_ctor_get(x_298, 1); +lean_inc(x_299); +lean_dec(x_298); +x_300 = l_Lean_Parser_Term_let_x21___elambda__1___closed__6; +x_301 = lean_string_dec_eq(x_299, x_300); +lean_dec(x_299); +if (x_301 == 0) +{ +lean_object* x_302; lean_object* x_303; +lean_dec(x_294); +lean_dec(x_4); +x_302 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; +x_303 = l_Lean_Parser_ParserState_mkErrorsAt(x_295, x_302, x_291); +x_214 = x_303; +goto block_284; +} +else +{ +lean_object* x_304; +lean_dec(x_291); +x_304 = lean_apply_2(x_4, x_294, x_295); +x_214 = x_304; +goto block_284; +} +} +else +{ +lean_object* x_305; lean_object* x_306; +lean_dec(x_298); +lean_dec(x_294); +lean_dec(x_4); +x_305 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; +x_306 = l_Lean_Parser_ParserState_mkErrorsAt(x_295, x_305, x_291); +x_214 = x_306; +goto block_284; +} +} +else +{ +lean_object* x_307; lean_object* x_308; +lean_dec(x_296); +lean_dec(x_294); +lean_dec(x_4); +x_307 = l_Lean_Parser_Term_let_x21___elambda__1___closed__9; +x_308 = l_Lean_Parser_ParserState_mkErrorsAt(x_295, x_307, x_291); +x_214 = x_308; +goto block_284; +} +block_284: +{ +lean_object* x_215; +x_215 = lean_ctor_get(x_214, 3); +lean_inc(x_215); +if (lean_obj_tag(x_215) == 0) +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_267; lean_object* x_268; +x_216 = lean_ctor_get(x_214, 0); +lean_inc(x_216); +x_217 = lean_array_get_size(x_216); +lean_dec(x_216); +x_218 = lean_ctor_get(x_214, 1); +lean_inc(x_218); +lean_inc(x_1); +x_267 = l_Lean_Parser_tokenFn(x_1, x_214); +x_268 = lean_ctor_get(x_267, 3); +lean_inc(x_268); +if (lean_obj_tag(x_268) == 0) +{ +lean_object* x_269; lean_object* x_270; +x_269 = lean_ctor_get(x_267, 0); +lean_inc(x_269); +x_270 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_269); +lean_dec(x_269); +if (lean_obj_tag(x_270) == 2) +{ +lean_object* x_271; lean_object* x_272; uint8_t x_273; +x_271 = lean_ctor_get(x_270, 1); +lean_inc(x_271); +lean_dec(x_270); +x_272 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_273 = lean_string_dec_eq(x_271, x_272); +lean_dec(x_271); +if (x_273 == 0) +{ +lean_object* x_274; lean_object* x_275; +x_274 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_218); +x_275 = l_Lean_Parser_ParserState_mkErrorsAt(x_267, x_274, x_218); +x_219 = x_275; +goto block_266; +} +else +{ +x_219 = x_267; +goto block_266; +} +} +else +{ +lean_object* x_276; lean_object* x_277; +lean_dec(x_270); +x_276 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_218); +x_277 = l_Lean_Parser_ParserState_mkErrorsAt(x_267, x_276, x_218); +x_219 = x_277; +goto block_266; +} +} +else +{ +lean_object* x_278; lean_object* x_279; +lean_dec(x_268); +x_278 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_218); +x_279 = l_Lean_Parser_ParserState_mkErrorsAt(x_267, x_278, x_218); +x_219 = x_279; +goto block_266; +} +block_266: +{ +lean_object* x_220; +x_220 = lean_ctor_get(x_219, 3); +lean_inc(x_220); +if (lean_obj_tag(x_220) == 0) +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; +lean_dec(x_218); +x_221 = l_Lean_nullKind; +x_222 = l_Lean_Parser_ParserState_mkNode(x_219, x_221, x_217); +x_223 = lean_ctor_get(x_222, 3); +lean_inc(x_223); +if (lean_obj_tag(x_223) == 0) +{ +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; lean_object* x_230; +x_224 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_225 = lean_unsigned_to_nat(0u); +x_226 = l_Lean_Parser_categoryParser___elambda__1(x_224, x_225, x_1, x_222); +x_227 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_228 = l_Lean_Parser_ParserState_mkNode(x_226, x_227, x_213); +x_229 = 1; +x_230 = l_Lean_Parser_mergeOrElseErrors(x_228, x_205, x_96, x_229); +lean_dec(x_96); +return x_230; +} +else +{ +lean_object* x_231; lean_object* x_232; uint8_t x_233; lean_object* x_234; +lean_dec(x_223); +lean_dec(x_1); +x_231 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_232 = l_Lean_Parser_ParserState_mkNode(x_222, x_231, x_213); +x_233 = 1; +x_234 = l_Lean_Parser_mergeOrElseErrors(x_232, x_205, x_96, x_233); +lean_dec(x_96); +return x_234; +} +} +else +{ +lean_object* x_235; uint8_t x_236; +lean_dec(x_220); +x_235 = lean_ctor_get(x_219, 1); +lean_inc(x_235); +x_236 = lean_nat_dec_eq(x_235, x_218); +lean_dec(x_235); +if (x_236 == 0) +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; +lean_dec(x_218); +x_237 = l_Lean_nullKind; +x_238 = l_Lean_Parser_ParserState_mkNode(x_219, x_237, x_217); +x_239 = lean_ctor_get(x_238, 3); +lean_inc(x_239); +if (lean_obj_tag(x_239) == 0) +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; lean_object* x_246; +x_240 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_241 = lean_unsigned_to_nat(0u); +x_242 = l_Lean_Parser_categoryParser___elambda__1(x_240, x_241, x_1, x_238); +x_243 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_244 = l_Lean_Parser_ParserState_mkNode(x_242, x_243, x_213); +x_245 = 1; +x_246 = l_Lean_Parser_mergeOrElseErrors(x_244, x_205, x_96, x_245); +lean_dec(x_96); +return x_246; +} +else +{ +lean_object* x_247; lean_object* x_248; uint8_t x_249; lean_object* x_250; +lean_dec(x_239); +lean_dec(x_1); +x_247 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_248 = l_Lean_Parser_ParserState_mkNode(x_238, x_247, x_213); +x_249 = 1; +x_250 = l_Lean_Parser_mergeOrElseErrors(x_248, x_205, x_96, x_249); +lean_dec(x_96); +return x_250; +} +} +else +{ +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_251 = l_Lean_Parser_ParserState_restore(x_219, x_217, x_218); +x_252 = l_Lean_nullKind; +x_253 = l_Lean_Parser_ParserState_mkNode(x_251, x_252, x_217); +x_254 = lean_ctor_get(x_253, 3); +lean_inc(x_254); +if (lean_obj_tag(x_254) == 0) +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; lean_object* x_261; +x_255 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_256 = lean_unsigned_to_nat(0u); +x_257 = l_Lean_Parser_categoryParser___elambda__1(x_255, x_256, x_1, x_253); +x_258 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_259 = l_Lean_Parser_ParserState_mkNode(x_257, x_258, x_213); +x_260 = 1; +x_261 = l_Lean_Parser_mergeOrElseErrors(x_259, x_205, x_96, x_260); +lean_dec(x_96); +return x_261; +} +else +{ +lean_object* x_262; lean_object* x_263; uint8_t x_264; lean_object* x_265; +lean_dec(x_254); +lean_dec(x_1); +x_262 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_263 = l_Lean_Parser_ParserState_mkNode(x_253, x_262, x_213); +x_264 = 1; +x_265 = l_Lean_Parser_mergeOrElseErrors(x_263, x_205, x_96, x_264); +lean_dec(x_96); +return x_265; +} +} +} +} +} +else +{ +lean_object* x_280; lean_object* x_281; uint8_t x_282; lean_object* x_283; +lean_dec(x_215); +lean_dec(x_1); +x_280 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; +x_281 = l_Lean_Parser_ParserState_mkNode(x_214, x_280, x_213); +x_282 = 1; +x_283 = l_Lean_Parser_mergeOrElseErrors(x_281, x_205, x_96, x_282); +lean_dec(x_96); +return x_283; +} +} +} +else +{ +uint8_t x_309; lean_object* x_310; +lean_dec(x_211); +lean_dec(x_4); +lean_dec(x_1); +x_309 = 1; +x_310 = l_Lean_Parser_mergeOrElseErrors(x_210, x_205, x_96, x_309); +lean_dec(x_96); +return x_310; +} } } } @@ -51815,20 +54124,22 @@ return x_2; lean_object* _init_l_Lean_Parser_Term_let_x21___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_let_x21___closed__1; -x_2 = l_Lean_Parser_Term_let___closed__2; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_letDecl; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_let_x21___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +return x_4; } } lean_object* _init_l_Lean_Parser_Term_let_x21___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_let_x21___closed__2; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +x_1 = l_Lean_Parser_Term_let_x21___closed__2; +x_2 = l_Lean_Parser_Term_have___closed__3; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } @@ -51836,25 +54147,35 @@ lean_object* _init_l_Lean_Parser_Term_let_x21___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; +x_1 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_let_x21___closed__3; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } lean_object* _init_l_Lean_Parser_Term_let_x21___closed__5() { _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_let_x21___closed__4; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_let_x21___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_let_x21___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_let_x21___closed__4; +x_3 = l_Lean_Parser_Term_let_x21___closed__5; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_let_x21___closed__6() { +lean_object* _init_l_Lean_Parser_Term_let_x21___closed__7() { _start: { lean_object* x_1; @@ -51862,12 +54183,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_let_x21___elambda__1), 2, 0) return x_1; } } -lean_object* _init_l_Lean_Parser_Term_let_x21___closed__7() { +lean_object* _init_l_Lean_Parser_Term_let_x21___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_let_x21___closed__5; -x_2 = l_Lean_Parser_Term_let_x21___closed__6; +x_1 = l_Lean_Parser_Term_let_x21___closed__6; +x_2 = l_Lean_Parser_Term_let_x21___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -51878,7 +54199,7 @@ lean_object* _init_l_Lean_Parser_Term_let_x21() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_let_x21___closed__7; +x_1 = l_Lean_Parser_Term_let_x21___closed__8; return x_1; } } @@ -51925,7 +54246,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_let_x21_formatter___closed__2; -x_2 = l_Lean_Parser_Term_let_formatter___closed__4; +x_2 = l_Lean_Parser_Term_let_formatter___closed__3; 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); @@ -51935,10 +54256,32 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_let_x21_formatter___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_let_x21_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_let_x21_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_let_x21_formatter___closed__4; +x_2 = l_Lean_Parser_Term_have_formatter___closed__6; +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_let_x21_formatter___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_let_x21_formatter___closed__3; +x_3 = l_Lean_Parser_Term_let_x21_formatter___closed__5; 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); @@ -51951,7 +54294,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_let_x21_formatter___closed__1; -x_7 = l_Lean_Parser_Term_let_x21_formatter___closed__4; +x_7 = l_Lean_Parser_Term_let_x21_formatter___closed__6; 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; } @@ -51994,7 +54337,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_let_x21___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_let_parenthesizer___closed__4; +x_3 = l_Lean_Parser_Term_let_parenthesizer___closed__5; 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); @@ -53694,194 +56037,327 @@ 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_48; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_94; lean_object* x_95; 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_54 = lean_ctor_get(x_7, 1); +x_68 = lean_ctor_get(x_1, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_1, 1); +lean_inc(x_69); +x_70 = lean_ctor_get(x_1, 2); +lean_inc(x_70); +x_71 = lean_ctor_get(x_1, 3); +lean_inc(x_71); +x_72 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_73 = lean_ctor_get(x_68, 2); +lean_inc(x_73); +x_74 = lean_ctor_get(x_7, 1); +lean_inc(x_74); +lean_inc(x_74); +x_75 = l_Lean_FileMap_toPosition(x_73, x_74); +lean_dec(x_73); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_77, 0, x_68); +lean_ctor_set(x_77, 1, x_69); +lean_ctor_set(x_77, 2, x_70); +lean_ctor_set(x_77, 3, x_71); +lean_ctor_set(x_77, 4, x_76); +lean_ctor_set_uint8(x_77, sizeof(void*)*5, x_72); +lean_inc(x_77); +x_94 = l_Lean_Parser_tokenFn(x_77, x_7); +x_95 = lean_ctor_get(x_94, 3); +lean_inc(x_95); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; lean_object* x_97; +x_96 = lean_ctor_get(x_94, 0); +lean_inc(x_96); +x_97 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_96); +lean_dec(x_96); +if (lean_obj_tag(x_97) == 2) +{ +lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_98 = lean_ctor_get(x_97, 1); +lean_inc(x_98); +lean_dec(x_97); +x_99 = l_Lean_Parser_Term_let___elambda__1___closed__6; +x_100 = lean_string_dec_eq(x_98, x_99); +lean_dec(x_98); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; +x_101 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_102 = l_Lean_Parser_ParserState_mkErrorsAt(x_94, x_101, x_74); +x_78 = x_102; +goto block_93; +} +else +{ +lean_dec(x_74); +x_78 = x_94; +goto block_93; +} +} +else +{ +lean_object* x_103; lean_object* x_104; +lean_dec(x_97); +x_103 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_104 = l_Lean_Parser_ParserState_mkErrorsAt(x_94, x_103, x_74); +x_78 = x_104; +goto block_93; +} +} +else +{ +lean_object* x_105; lean_object* x_106; +lean_dec(x_95); +x_105 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_106 = l_Lean_Parser_ParserState_mkErrorsAt(x_94, x_105, x_74); +x_78 = x_106; +goto block_93; +} +block_67: +{ +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_52; lean_object* x_53; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); +lean_inc(x_1); +x_52 = l_Lean_Parser_tokenFn(x_1, x_11); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_52, 0); lean_inc(x_54); -lean_inc(x_1); -x_55 = l_Lean_Parser_tokenFn(x_1, x_7); -x_56 = lean_ctor_get(x_55, 3); -lean_inc(x_56); -if (lean_obj_tag(x_56) == 0) -{ -lean_object* x_57; lean_object* x_58; -x_57 = lean_ctor_get(x_55, 0); -lean_inc(x_57); -x_58 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_57); -lean_dec(x_57); -if (lean_obj_tag(x_58) == 2) -{ -lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = l_Lean_Parser_Term_let___elambda__1___closed__6; -x_61 = lean_string_dec_eq(x_59, x_60); -lean_dec(x_59); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; -x_62 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_63 = l_Lean_Parser_ParserState_mkErrorsAt(x_55, x_62, x_54); -x_48 = x_63; -goto block_53; -} -else -{ +x_55 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_54); lean_dec(x_54); -x_48 = x_55; -goto block_53; -} -} -else +if (lean_obj_tag(x_55) == 2) { -lean_object* x_64; lean_object* x_65; -lean_dec(x_58); -x_64 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_65 = l_Lean_Parser_ParserState_mkErrorsAt(x_55, x_64, x_54); -x_48 = x_65; -goto block_53; -} -} -else -{ -lean_object* x_66; lean_object* x_67; +lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_58 = lean_string_dec_eq(x_56, x_57); lean_dec(x_56); -x_66 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_67 = l_Lean_Parser_ParserState_mkErrorsAt(x_55, x_66, x_54); -x_48 = x_67; -goto block_53; +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_60 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_59, x_15); +x_16 = x_60; +goto block_51; } -block_47: +else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = l_Lean_nullKind; -lean_inc(x_10); -x_13 = l_Lean_Parser_ParserState_mkNode(x_11, x_12, x_10); -x_14 = lean_ctor_get(x_13, 3); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) +x_16 = x_52; +goto block_51; +} +} +else { -uint8_t x_15; lean_object* x_16; lean_object* x_17; -x_15 = 0; -lean_inc(x_1); -x_16 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_letrec___elambda__1___spec__1(x_15, x_1, x_13); +lean_object* x_61; lean_object* x_62; +lean_dec(x_55); +x_61 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_61, x_15); +x_16 = x_62; +goto block_51; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_53); +x_63 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_63, x_15); +x_16 = x_64; +goto block_51; +} +block_51: +{ +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; -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_inc(x_1); -x_19 = l_Lean_Parser_tokenFn(x_1, x_16); +lean_dec(x_15); +x_18 = l_Lean_nullKind; +x_19 = l_Lean_Parser_ParserState_mkNode(x_16, x_18, x_14); x_20 = lean_ctor_get(x_19, 3); lean_inc(x_20); if (lean_obj_tag(x_20) == 0) { -lean_object* x_21; lean_object* x_22; -x_21 = lean_ctor_get(x_19, 0); -lean_inc(x_21); -x_22 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_21); -lean_dec(x_21); -if (lean_obj_tag(x_22) == 2) -{ -lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; -x_25 = lean_string_dec_eq(x_23, x_24); -lean_dec(x_23); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -lean_dec(x_1); -x_26 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_27 = l_Lean_Parser_ParserState_mkErrorsAt(x_19, x_26, x_18); -x_28 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_29 = l_Lean_Parser_ParserState_mkNode(x_27, x_28, x_10); -return x_29; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Parser_categoryParser___elambda__1(x_21, x_22, x_1, x_19); +x_24 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_10); +return x_25; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_18); -x_30 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_31 = lean_unsigned_to_nat(0u); -x_32 = l_Lean_Parser_categoryParser___elambda__1(x_30, x_31, x_1, x_19); -x_33 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_34 = l_Lean_Parser_ParserState_mkNode(x_32, x_33, x_10); -return x_34; -} -} -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -lean_dec(x_22); -lean_dec(x_1); -x_35 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_36 = l_Lean_Parser_ParserState_mkErrorsAt(x_19, x_35, x_18); -x_37 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_38 = l_Lean_Parser_ParserState_mkNode(x_36, x_37, x_10); -return x_38; -} -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_object* x_26; lean_object* x_27; lean_dec(x_20); lean_dec(x_1); -x_39 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_40 = l_Lean_Parser_ParserState_mkErrorsAt(x_19, x_39, x_18); -x_41 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_42 = l_Lean_Parser_ParserState_mkNode(x_40, x_41, x_10); -return x_42; +x_26 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_27 = l_Lean_Parser_ParserState_mkNode(x_19, x_26, x_10); +return x_27; } } else { -lean_object* x_43; lean_object* x_44; +lean_object* x_28; uint8_t x_29; lean_dec(x_17); +x_28 = lean_ctor_get(x_16, 1); +lean_inc(x_28); +x_29 = lean_nat_dec_eq(x_28, x_15); +lean_dec(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_15); +x_30 = l_Lean_nullKind; +x_31 = l_Lean_Parser_ParserState_mkNode(x_16, x_30, x_14); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_34 = lean_unsigned_to_nat(0u); +x_35 = l_Lean_Parser_categoryParser___elambda__1(x_33, x_34, x_1, x_31); +x_36 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_10); +return x_37; +} +else +{ +lean_object* x_38; lean_object* x_39; +lean_dec(x_32); lean_dec(x_1); -x_43 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_44 = l_Lean_Parser_ParserState_mkNode(x_16, x_43, x_10); -return x_44; +x_38 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_39 = l_Lean_Parser_ParserState_mkNode(x_31, x_38, x_10); +return x_39; } } else { -lean_object* x_45; lean_object* x_46; -lean_dec(x_14); -lean_dec(x_1); -x_45 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_46 = l_Lean_Parser_ParserState_mkNode(x_13, x_45, x_10); -return x_46; -} -} -block_53: +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = l_Lean_Parser_ParserState_restore(x_16, x_14, x_15); +x_41 = l_Lean_nullKind; +x_42 = l_Lean_Parser_ParserState_mkNode(x_40, x_41, x_14); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_49; -x_49 = lean_ctor_get(x_48, 3); -lean_inc(x_49); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = l_Lean_Parser_Term_letrec___elambda__1___closed__6; -x_51 = l_Lean_Parser_Term_letrec___elambda__1___closed__8; -lean_inc(x_1); -x_52 = l_Lean_Parser_nonReservedSymbolFnAux(x_50, x_51, x_1, x_48); -x_11 = x_52; -goto block_47; +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_45 = lean_unsigned_to_nat(0u); +x_46 = l_Lean_Parser_categoryParser___elambda__1(x_44, x_45, x_1, x_42); +x_47 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_48 = l_Lean_Parser_ParserState_mkNode(x_46, x_47, x_10); +return x_48; } else { -lean_dec(x_49); -x_11 = x_48; -goto block_47; +lean_object* x_49; lean_object* x_50; +lean_dec(x_43); +lean_dec(x_1); +x_49 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_50 = l_Lean_Parser_ParserState_mkNode(x_42, x_49, x_10); +return x_50; +} +} +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_12); +lean_dec(x_1); +x_65 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_66 = l_Lean_Parser_ParserState_mkNode(x_11, x_65, x_10); +return x_66; +} +} +block_93: +{ +lean_object* x_79; +x_79 = lean_ctor_get(x_78, 3); +lean_inc(x_79); +if (lean_obj_tag(x_79) == 0) +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_80 = l_Lean_Parser_Term_letrec___elambda__1___closed__6; +x_81 = l_Lean_Parser_Term_letrec___elambda__1___closed__8; +lean_inc(x_77); +x_82 = l_Lean_Parser_nonReservedSymbolFnAux(x_80, x_81, x_77, x_78); +x_83 = l_Lean_nullKind; +lean_inc(x_10); +x_84 = l_Lean_Parser_ParserState_mkNode(x_82, x_83, x_10); +x_85 = lean_ctor_get(x_84, 3); +lean_inc(x_85); +if (lean_obj_tag(x_85) == 0) +{ +uint8_t x_86; lean_object* x_87; +x_86 = 0; +x_87 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_letrec___elambda__1___spec__1(x_86, x_77, x_84); +x_11 = x_87; +goto block_67; +} +else +{ +lean_dec(x_85); +lean_dec(x_77); +x_11 = x_84; +goto block_67; +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; +lean_dec(x_79); +x_88 = l_Lean_nullKind; +lean_inc(x_10); +x_89 = l_Lean_Parser_ParserState_mkNode(x_78, x_88, x_10); +x_90 = lean_ctor_get(x_89, 3); +lean_inc(x_90); +if (lean_obj_tag(x_90) == 0) +{ +uint8_t x_91; lean_object* x_92; +x_91 = 0; +x_92 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_letrec___elambda__1___spec__1(x_91, x_77, x_89); +x_11 = x_92; +goto block_67; +} +else +{ +lean_dec(x_90); +lean_dec(x_77); +x_11 = x_89; +goto block_67; +} } } } @@ -53894,273 +56370,800 @@ return x_7; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_68 = lean_ctor_get(x_2, 0); -lean_inc(x_68); -x_69 = lean_array_get_size(x_68); -lean_dec(x_68); -x_70 = lean_ctor_get(x_2, 1); -lean_inc(x_70); +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_107 = lean_ctor_get(x_2, 0); +lean_inc(x_107); +x_108 = lean_array_get_size(x_107); +lean_dec(x_107); +x_109 = lean_ctor_get(x_2, 1); +lean_inc(x_109); lean_inc(x_1); -x_71 = lean_apply_2(x_4, x_1, x_2); -x_72 = lean_ctor_get(x_71, 3); -lean_inc(x_72); -if (lean_obj_tag(x_72) == 0) +x_110 = lean_apply_2(x_4, x_1, x_2); +x_111 = lean_ctor_get(x_110, 3); +lean_inc(x_111); +if (lean_obj_tag(x_111) == 0) { -lean_dec(x_70); -lean_dec(x_69); +lean_dec(x_109); +lean_dec(x_108); lean_dec(x_1); -return x_71; +return x_110; } else { -lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -lean_dec(x_72); -x_74 = lean_ctor_get(x_71, 1); -lean_inc(x_74); -x_75 = lean_nat_dec_eq(x_74, x_70); -lean_dec(x_74); -if (x_75 == 0) +uint8_t x_112; +x_112 = !lean_is_exclusive(x_111); +if (x_112 == 0) { -lean_dec(x_73); -lean_dec(x_70); -lean_dec(x_69); +lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_113 = lean_ctor_get(x_111, 0); +x_114 = lean_ctor_get(x_110, 1); +lean_inc(x_114); +x_115 = lean_nat_dec_eq(x_114, x_109); +lean_dec(x_114); +if (x_115 == 0) +{ +lean_free_object(x_111); +lean_dec(x_113); +lean_dec(x_109); +lean_dec(x_108); lean_dec(x_1); -return x_71; +return x_110; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -lean_inc(x_70); -x_76 = l_Lean_Parser_ParserState_restore(x_71, x_69, x_70); -lean_dec(x_69); -x_77 = l_Lean_Parser_leadPrec; -x_78 = l_Lean_Parser_checkPrecFn(x_77, x_1, x_76); -x_79 = lean_ctor_get(x_78, 3); -lean_inc(x_79); -if (lean_obj_tag(x_79) == 0) +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_inc(x_109); +x_116 = l_Lean_Parser_ParserState_restore(x_110, x_108, x_109); +lean_dec(x_108); +x_117 = l_Lean_Parser_leadPrec; +x_118 = l_Lean_Parser_checkPrecFn(x_117, x_1, x_116); +x_119 = lean_ctor_get(x_118, 3); +lean_inc(x_119); +if (lean_obj_tag(x_119) == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_131; lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_80 = lean_ctor_get(x_78, 0); -lean_inc(x_80); -x_81 = lean_array_get_size(x_80); -lean_dec(x_80); -x_137 = lean_ctor_get(x_78, 1); -lean_inc(x_137); +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; uint8_t 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_218; lean_object* x_219; +x_120 = lean_ctor_get(x_118, 0); +lean_inc(x_120); +x_121 = lean_array_get_size(x_120); +lean_dec(x_120); +x_193 = lean_ctor_get(x_1, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_1, 1); +lean_inc(x_194); +x_195 = lean_ctor_get(x_1, 2); +lean_inc(x_195); +x_196 = lean_ctor_get(x_1, 3); +lean_inc(x_196); +x_197 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_198 = lean_ctor_get(x_193, 2); +lean_inc(x_198); +x_199 = lean_ctor_get(x_118, 1); +lean_inc(x_199); +lean_inc(x_199); +x_200 = l_Lean_FileMap_toPosition(x_198, x_199); +lean_dec(x_198); +lean_ctor_set(x_111, 0, x_200); +x_201 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_201, 0, x_193); +lean_ctor_set(x_201, 1, x_194); +lean_ctor_set(x_201, 2, x_195); +lean_ctor_set(x_201, 3, x_196); +lean_ctor_set(x_201, 4, x_111); +lean_ctor_set_uint8(x_201, sizeof(void*)*5, x_197); +lean_inc(x_201); +x_218 = l_Lean_Parser_tokenFn(x_201, x_118); +x_219 = lean_ctor_get(x_218, 3); +lean_inc(x_219); +if (lean_obj_tag(x_219) == 0) +{ +lean_object* x_220; lean_object* x_221; +x_220 = lean_ctor_get(x_218, 0); +lean_inc(x_220); +x_221 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_220); +lean_dec(x_220); +if (lean_obj_tag(x_221) == 2) +{ +lean_object* x_222; lean_object* x_223; uint8_t x_224; +x_222 = lean_ctor_get(x_221, 1); +lean_inc(x_222); +lean_dec(x_221); +x_223 = l_Lean_Parser_Term_let___elambda__1___closed__6; +x_224 = lean_string_dec_eq(x_222, x_223); +lean_dec(x_222); +if (x_224 == 0) +{ +lean_object* x_225; lean_object* x_226; +x_225 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_226 = l_Lean_Parser_ParserState_mkErrorsAt(x_218, x_225, x_199); +x_202 = x_226; +goto block_217; +} +else +{ +lean_dec(x_199); +x_202 = x_218; +goto block_217; +} +} +else +{ +lean_object* x_227; lean_object* x_228; +lean_dec(x_221); +x_227 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_228 = l_Lean_Parser_ParserState_mkErrorsAt(x_218, x_227, x_199); +x_202 = x_228; +goto block_217; +} +} +else +{ +lean_object* x_229; lean_object* x_230; +lean_dec(x_219); +x_229 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_230 = l_Lean_Parser_ParserState_mkErrorsAt(x_218, x_229, x_199); +x_202 = x_230; +goto block_217; +} +block_192: +{ +lean_object* x_123; +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; lean_object* x_126; lean_object* x_127; lean_object* x_175; lean_object* x_176; +x_124 = lean_ctor_get(x_122, 0); +lean_inc(x_124); +x_125 = lean_array_get_size(x_124); +lean_dec(x_124); +x_126 = lean_ctor_get(x_122, 1); +lean_inc(x_126); lean_inc(x_1); -x_138 = l_Lean_Parser_tokenFn(x_1, x_78); -x_139 = lean_ctor_get(x_138, 3); -lean_inc(x_139); -if (lean_obj_tag(x_139) == 0) +x_175 = l_Lean_Parser_tokenFn(x_1, x_122); +x_176 = lean_ctor_get(x_175, 3); +lean_inc(x_176); +if (lean_obj_tag(x_176) == 0) { -lean_object* x_140; lean_object* x_141; -x_140 = lean_ctor_get(x_138, 0); -lean_inc(x_140); -x_141 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_140); -lean_dec(x_140); -if (lean_obj_tag(x_141) == 2) +lean_object* x_177; lean_object* x_178; +x_177 = lean_ctor_get(x_175, 0); +lean_inc(x_177); +x_178 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_177); +lean_dec(x_177); +if (lean_obj_tag(x_178) == 2) { -lean_object* x_142; lean_object* x_143; uint8_t x_144; -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -lean_dec(x_141); -x_143 = l_Lean_Parser_Term_let___elambda__1___closed__6; -x_144 = lean_string_dec_eq(x_142, x_143); -lean_dec(x_142); +lean_object* x_179; lean_object* x_180; uint8_t x_181; +x_179 = lean_ctor_get(x_178, 1); +lean_inc(x_179); +lean_dec(x_178); +x_180 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_181 = lean_string_dec_eq(x_179, x_180); +lean_dec(x_179); +if (x_181 == 0) +{ +lean_object* x_182; lean_object* x_183; +x_182 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_126); +x_183 = l_Lean_Parser_ParserState_mkErrorsAt(x_175, x_182, x_126); +x_127 = x_183; +goto block_174; +} +else +{ +x_127 = x_175; +goto block_174; +} +} +else +{ +lean_object* x_184; lean_object* x_185; +lean_dec(x_178); +x_184 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_126); +x_185 = l_Lean_Parser_ParserState_mkErrorsAt(x_175, x_184, x_126); +x_127 = x_185; +goto block_174; +} +} +else +{ +lean_object* x_186; lean_object* x_187; +lean_dec(x_176); +x_186 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_126); +x_187 = l_Lean_Parser_ParserState_mkErrorsAt(x_175, x_186, x_126); +x_127 = x_187; +goto block_174; +} +block_174: +{ +lean_object* x_128; +x_128 = lean_ctor_get(x_127, 3); +lean_inc(x_128); +if (lean_obj_tag(x_128) == 0) +{ +lean_object* x_129; lean_object* x_130; lean_object* x_131; +lean_dec(x_126); +x_129 = l_Lean_nullKind; +x_130 = l_Lean_Parser_ParserState_mkNode(x_127, x_129, x_125); +x_131 = lean_ctor_get(x_130, 3); +lean_inc(x_131); +if (lean_obj_tag(x_131) == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_138; +x_132 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_133 = lean_unsigned_to_nat(0u); +x_134 = l_Lean_Parser_categoryParser___elambda__1(x_132, x_133, x_1, x_130); +x_135 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_136 = l_Lean_Parser_ParserState_mkNode(x_134, x_135, x_121); +x_137 = 1; +x_138 = l_Lean_Parser_mergeOrElseErrors(x_136, x_113, x_109, x_137); +lean_dec(x_109); +return x_138; +} +else +{ +lean_object* x_139; lean_object* x_140; uint8_t x_141; lean_object* x_142; +lean_dec(x_131); +lean_dec(x_1); +x_139 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_140 = l_Lean_Parser_ParserState_mkNode(x_130, x_139, x_121); +x_141 = 1; +x_142 = l_Lean_Parser_mergeOrElseErrors(x_140, x_113, x_109, x_141); +lean_dec(x_109); +return x_142; +} +} +else +{ +lean_object* x_143; uint8_t x_144; +lean_dec(x_128); +x_143 = lean_ctor_get(x_127, 1); +lean_inc(x_143); +x_144 = lean_nat_dec_eq(x_143, x_126); +lean_dec(x_143); if (x_144 == 0) { -lean_object* x_145; lean_object* x_146; -x_145 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_146 = l_Lean_Parser_ParserState_mkErrorsAt(x_138, x_145, x_137); -x_131 = x_146; -goto block_136; +lean_object* x_145; lean_object* x_146; lean_object* x_147; +lean_dec(x_126); +x_145 = l_Lean_nullKind; +x_146 = l_Lean_Parser_ParserState_mkNode(x_127, x_145, x_125); +x_147 = lean_ctor_get(x_146, 3); +lean_inc(x_147); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; uint8_t x_153; lean_object* x_154; +x_148 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_149 = lean_unsigned_to_nat(0u); +x_150 = l_Lean_Parser_categoryParser___elambda__1(x_148, x_149, x_1, x_146); +x_151 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_152 = l_Lean_Parser_ParserState_mkNode(x_150, x_151, x_121); +x_153 = 1; +x_154 = l_Lean_Parser_mergeOrElseErrors(x_152, x_113, x_109, x_153); +lean_dec(x_109); +return x_154; } else { -lean_dec(x_137); -x_131 = x_138; -goto block_136; +lean_object* x_155; lean_object* x_156; uint8_t x_157; lean_object* x_158; +lean_dec(x_147); +lean_dec(x_1); +x_155 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_156 = l_Lean_Parser_ParserState_mkNode(x_146, x_155, x_121); +x_157 = 1; +x_158 = l_Lean_Parser_mergeOrElseErrors(x_156, x_113, x_109, x_157); +lean_dec(x_109); +return x_158; } } else { -lean_object* x_147; lean_object* x_148; -lean_dec(x_141); -x_147 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_148 = l_Lean_Parser_ParserState_mkErrorsAt(x_138, x_147, x_137); -x_131 = x_148; -goto block_136; +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_159 = l_Lean_Parser_ParserState_restore(x_127, x_125, x_126); +x_160 = l_Lean_nullKind; +x_161 = l_Lean_Parser_ParserState_mkNode(x_159, x_160, x_125); +x_162 = lean_ctor_get(x_161, 3); +lean_inc(x_162); +if (lean_obj_tag(x_162) == 0) +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; +x_163 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_164 = lean_unsigned_to_nat(0u); +x_165 = l_Lean_Parser_categoryParser___elambda__1(x_163, x_164, x_1, x_161); +x_166 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_167 = l_Lean_Parser_ParserState_mkNode(x_165, x_166, x_121); +x_168 = 1; +x_169 = l_Lean_Parser_mergeOrElseErrors(x_167, x_113, x_109, x_168); +lean_dec(x_109); +return x_169; +} +else +{ +lean_object* x_170; lean_object* x_171; uint8_t x_172; lean_object* x_173; +lean_dec(x_162); +lean_dec(x_1); +x_170 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_171 = l_Lean_Parser_ParserState_mkNode(x_161, x_170, x_121); +x_172 = 1; +x_173 = l_Lean_Parser_mergeOrElseErrors(x_171, x_113, x_109, x_172); +lean_dec(x_109); +return x_173; +} +} +} } } else { -lean_object* x_149; lean_object* x_150; -lean_dec(x_139); -x_149 = l_Lean_Parser_Term_let___elambda__1___closed__9; -x_150 = l_Lean_Parser_ParserState_mkErrorsAt(x_138, x_149, x_137); -x_131 = x_150; -goto block_136; +lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_191; +lean_dec(x_123); +lean_dec(x_1); +x_188 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_189 = l_Lean_Parser_ParserState_mkNode(x_122, x_188, x_121); +x_190 = 1; +x_191 = l_Lean_Parser_mergeOrElseErrors(x_189, x_113, x_109, x_190); +lean_dec(x_109); +return x_191; } -block_130: +} +block_217: { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = l_Lean_nullKind; -lean_inc(x_81); -x_84 = l_Lean_Parser_ParserState_mkNode(x_82, x_83, x_81); -x_85 = lean_ctor_get(x_84, 3); -lean_inc(x_85); -if (lean_obj_tag(x_85) == 0) +lean_object* x_203; +x_203 = lean_ctor_get(x_202, 3); +lean_inc(x_203); +if (lean_obj_tag(x_203) == 0) { -uint8_t x_86; lean_object* x_87; lean_object* x_88; -x_86 = 0; +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_204 = l_Lean_Parser_Term_letrec___elambda__1___closed__6; +x_205 = l_Lean_Parser_Term_letrec___elambda__1___closed__8; +lean_inc(x_201); +x_206 = l_Lean_Parser_nonReservedSymbolFnAux(x_204, x_205, x_201, x_202); +x_207 = l_Lean_nullKind; +lean_inc(x_121); +x_208 = l_Lean_Parser_ParserState_mkNode(x_206, x_207, x_121); +x_209 = lean_ctor_get(x_208, 3); +lean_inc(x_209); +if (lean_obj_tag(x_209) == 0) +{ +uint8_t x_210; lean_object* x_211; +x_210 = 0; +x_211 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_letrec___elambda__1___spec__1(x_210, x_201, x_208); +x_122 = x_211; +goto block_192; +} +else +{ +lean_dec(x_209); +lean_dec(x_201); +x_122 = x_208; +goto block_192; +} +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; +lean_dec(x_203); +x_212 = l_Lean_nullKind; +lean_inc(x_121); +x_213 = l_Lean_Parser_ParserState_mkNode(x_202, x_212, x_121); +x_214 = lean_ctor_get(x_213, 3); +lean_inc(x_214); +if (lean_obj_tag(x_214) == 0) +{ +uint8_t x_215; lean_object* x_216; +x_215 = 0; +x_216 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_letrec___elambda__1___spec__1(x_215, x_201, x_213); +x_122 = x_216; +goto block_192; +} +else +{ +lean_dec(x_214); +lean_dec(x_201); +x_122 = x_213; +goto block_192; +} +} +} +} +else +{ +uint8_t x_231; lean_object* x_232; +lean_dec(x_119); +lean_free_object(x_111); +lean_dec(x_1); +x_231 = 1; +x_232 = l_Lean_Parser_mergeOrElseErrors(x_118, x_113, x_109, x_231); +lean_dec(x_109); +return x_232; +} +} +} +else +{ +lean_object* x_233; lean_object* x_234; uint8_t x_235; +x_233 = lean_ctor_get(x_111, 0); +lean_inc(x_233); +lean_dec(x_111); +x_234 = lean_ctor_get(x_110, 1); +lean_inc(x_234); +x_235 = lean_nat_dec_eq(x_234, x_109); +lean_dec(x_234); +if (x_235 == 0) +{ +lean_dec(x_233); +lean_dec(x_109); +lean_dec(x_108); +lean_dec(x_1); +return x_110; +} +else +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; +lean_inc(x_109); +x_236 = l_Lean_Parser_ParserState_restore(x_110, x_108, x_109); +lean_dec(x_108); +x_237 = l_Lean_Parser_leadPrec; +x_238 = l_Lean_Parser_checkPrecFn(x_237, x_1, x_236); +x_239 = lean_ctor_get(x_238, 3); +lean_inc(x_239); +if (lean_obj_tag(x_239) == 0) +{ +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t 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_339; lean_object* x_340; +x_240 = lean_ctor_get(x_238, 0); +lean_inc(x_240); +x_241 = lean_array_get_size(x_240); +lean_dec(x_240); +x_313 = lean_ctor_get(x_1, 0); +lean_inc(x_313); +x_314 = lean_ctor_get(x_1, 1); +lean_inc(x_314); +x_315 = lean_ctor_get(x_1, 2); +lean_inc(x_315); +x_316 = lean_ctor_get(x_1, 3); +lean_inc(x_316); +x_317 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_318 = lean_ctor_get(x_313, 2); +lean_inc(x_318); +x_319 = lean_ctor_get(x_238, 1); +lean_inc(x_319); +lean_inc(x_319); +x_320 = l_Lean_FileMap_toPosition(x_318, x_319); +lean_dec(x_318); +x_321 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_321, 0, x_320); +x_322 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_322, 0, x_313); +lean_ctor_set(x_322, 1, x_314); +lean_ctor_set(x_322, 2, x_315); +lean_ctor_set(x_322, 3, x_316); +lean_ctor_set(x_322, 4, x_321); +lean_ctor_set_uint8(x_322, sizeof(void*)*5, x_317); +lean_inc(x_322); +x_339 = l_Lean_Parser_tokenFn(x_322, x_238); +x_340 = lean_ctor_get(x_339, 3); +lean_inc(x_340); +if (lean_obj_tag(x_340) == 0) +{ +lean_object* x_341; lean_object* x_342; +x_341 = lean_ctor_get(x_339, 0); +lean_inc(x_341); +x_342 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_341); +lean_dec(x_341); +if (lean_obj_tag(x_342) == 2) +{ +lean_object* x_343; lean_object* x_344; uint8_t x_345; +x_343 = lean_ctor_get(x_342, 1); +lean_inc(x_343); +lean_dec(x_342); +x_344 = l_Lean_Parser_Term_let___elambda__1___closed__6; +x_345 = lean_string_dec_eq(x_343, x_344); +lean_dec(x_343); +if (x_345 == 0) +{ +lean_object* x_346; lean_object* x_347; +x_346 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_347 = l_Lean_Parser_ParserState_mkErrorsAt(x_339, x_346, x_319); +x_323 = x_347; +goto block_338; +} +else +{ +lean_dec(x_319); +x_323 = x_339; +goto block_338; +} +} +else +{ +lean_object* x_348; lean_object* x_349; +lean_dec(x_342); +x_348 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_349 = l_Lean_Parser_ParserState_mkErrorsAt(x_339, x_348, x_319); +x_323 = x_349; +goto block_338; +} +} +else +{ +lean_object* x_350; lean_object* x_351; +lean_dec(x_340); +x_350 = l_Lean_Parser_Term_let___elambda__1___closed__9; +x_351 = l_Lean_Parser_ParserState_mkErrorsAt(x_339, x_350, x_319); +x_323 = x_351; +goto block_338; +} +block_312: +{ +lean_object* x_243; +x_243 = lean_ctor_get(x_242, 3); +lean_inc(x_243); +if (lean_obj_tag(x_243) == 0) +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_295; lean_object* x_296; +x_244 = lean_ctor_get(x_242, 0); +lean_inc(x_244); +x_245 = lean_array_get_size(x_244); +lean_dec(x_244); +x_246 = lean_ctor_get(x_242, 1); +lean_inc(x_246); lean_inc(x_1); -x_87 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_letrec___elambda__1___spec__1(x_86, x_1, x_84); -x_88 = lean_ctor_get(x_87, 3); -lean_inc(x_88); -if (lean_obj_tag(x_88) == 0) +x_295 = l_Lean_Parser_tokenFn(x_1, x_242); +x_296 = lean_ctor_get(x_295, 3); +lean_inc(x_296); +if (lean_obj_tag(x_296) == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_87, 1); -lean_inc(x_89); -lean_inc(x_1); -x_90 = l_Lean_Parser_tokenFn(x_1, x_87); -x_91 = lean_ctor_get(x_90, 3); -lean_inc(x_91); -if (lean_obj_tag(x_91) == 0) +lean_object* x_297; lean_object* x_298; +x_297 = lean_ctor_get(x_295, 0); +lean_inc(x_297); +x_298 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_297); +lean_dec(x_297); +if (lean_obj_tag(x_298) == 2) { -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_90, 0); -lean_inc(x_92); -x_93 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_92); -lean_dec(x_92); -if (lean_obj_tag(x_93) == 2) +lean_object* x_299; lean_object* x_300; uint8_t x_301; +x_299 = lean_ctor_get(x_298, 1); +lean_inc(x_299); +lean_dec(x_298); +x_300 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_301 = lean_string_dec_eq(x_299, x_300); +lean_dec(x_299); +if (x_301 == 0) { -lean_object* x_94; lean_object* x_95; uint8_t x_96; -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_95 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; -x_96 = lean_string_dec_eq(x_94, x_95); -lean_dec(x_94); -if (x_96 == 0) +lean_object* x_302; lean_object* x_303; +x_302 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_246); +x_303 = l_Lean_Parser_ParserState_mkErrorsAt(x_295, x_302, x_246); +x_247 = x_303; +goto block_294; +} +else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; uint8_t x_101; lean_object* x_102; +x_247 = x_295; +goto block_294; +} +} +else +{ +lean_object* x_304; lean_object* x_305; +lean_dec(x_298); +x_304 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_246); +x_305 = l_Lean_Parser_ParserState_mkErrorsAt(x_295, x_304, x_246); +x_247 = x_305; +goto block_294; +} +} +else +{ +lean_object* x_306; lean_object* x_307; +lean_dec(x_296); +x_306 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_246); +x_307 = l_Lean_Parser_ParserState_mkErrorsAt(x_295, x_306, x_246); +x_247 = x_307; +goto block_294; +} +block_294: +{ +lean_object* x_248; +x_248 = lean_ctor_get(x_247, 3); +lean_inc(x_248); +if (lean_obj_tag(x_248) == 0) +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_dec(x_246); +x_249 = l_Lean_nullKind; +x_250 = l_Lean_Parser_ParserState_mkNode(x_247, x_249, x_245); +x_251 = lean_ctor_get(x_250, 3); +lean_inc(x_251); +if (lean_obj_tag(x_251) == 0) +{ +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; +x_252 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_253 = lean_unsigned_to_nat(0u); +x_254 = l_Lean_Parser_categoryParser___elambda__1(x_252, x_253, x_1, x_250); +x_255 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_256 = l_Lean_Parser_ParserState_mkNode(x_254, x_255, x_241); +x_257 = 1; +x_258 = l_Lean_Parser_mergeOrElseErrors(x_256, x_233, x_109, x_257); +lean_dec(x_109); +return x_258; +} +else +{ +lean_object* x_259; lean_object* x_260; uint8_t x_261; lean_object* x_262; +lean_dec(x_251); lean_dec(x_1); -x_97 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_98 = l_Lean_Parser_ParserState_mkErrorsAt(x_90, x_97, x_89); -x_99 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_100 = l_Lean_Parser_ParserState_mkNode(x_98, x_99, x_81); -x_101 = 1; -x_102 = l_Lean_Parser_mergeOrElseErrors(x_100, x_73, x_70, x_101); -lean_dec(x_70); -return x_102; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; -lean_dec(x_89); -x_103 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_104 = lean_unsigned_to_nat(0u); -x_105 = l_Lean_Parser_categoryParser___elambda__1(x_103, x_104, x_1, x_90); -x_106 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_107 = l_Lean_Parser_ParserState_mkNode(x_105, x_106, x_81); -x_108 = 1; -x_109 = l_Lean_Parser_mergeOrElseErrors(x_107, x_73, x_70, x_108); -lean_dec(x_70); -return x_109; +x_259 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_260 = l_Lean_Parser_ParserState_mkNode(x_250, x_259, x_241); +x_261 = 1; +x_262 = l_Lean_Parser_mergeOrElseErrors(x_260, x_233, x_109, x_261); +lean_dec(x_109); +return x_262; } } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; lean_object* x_115; -lean_dec(x_93); +lean_object* x_263; uint8_t x_264; +lean_dec(x_248); +x_263 = lean_ctor_get(x_247, 1); +lean_inc(x_263); +x_264 = lean_nat_dec_eq(x_263, x_246); +lean_dec(x_263); +if (x_264 == 0) +{ +lean_object* x_265; lean_object* x_266; lean_object* x_267; +lean_dec(x_246); +x_265 = l_Lean_nullKind; +x_266 = l_Lean_Parser_ParserState_mkNode(x_247, x_265, x_245); +x_267 = lean_ctor_get(x_266, 3); +lean_inc(x_267); +if (lean_obj_tag(x_267) == 0) +{ +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; lean_object* x_274; +x_268 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_269 = lean_unsigned_to_nat(0u); +x_270 = l_Lean_Parser_categoryParser___elambda__1(x_268, x_269, x_1, x_266); +x_271 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_272 = l_Lean_Parser_ParserState_mkNode(x_270, x_271, x_241); +x_273 = 1; +x_274 = l_Lean_Parser_mergeOrElseErrors(x_272, x_233, x_109, x_273); +lean_dec(x_109); +return x_274; +} +else +{ +lean_object* x_275; lean_object* x_276; uint8_t x_277; lean_object* x_278; +lean_dec(x_267); lean_dec(x_1); -x_110 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_111 = l_Lean_Parser_ParserState_mkErrorsAt(x_90, x_110, x_89); -x_112 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_113 = l_Lean_Parser_ParserState_mkNode(x_111, x_112, x_81); -x_114 = 1; -x_115 = l_Lean_Parser_mergeOrElseErrors(x_113, x_73, x_70, x_114); -lean_dec(x_70); -return x_115; +x_275 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_276 = l_Lean_Parser_ParserState_mkNode(x_266, x_275, x_241); +x_277 = 1; +x_278 = l_Lean_Parser_mergeOrElseErrors(x_276, x_233, x_109, x_277); +lean_dec(x_109); +return x_278; } } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; -lean_dec(x_91); +lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; +x_279 = l_Lean_Parser_ParserState_restore(x_247, x_245, x_246); +x_280 = l_Lean_nullKind; +x_281 = l_Lean_Parser_ParserState_mkNode(x_279, x_280, x_245); +x_282 = lean_ctor_get(x_281, 3); +lean_inc(x_282); +if (lean_obj_tag(x_282) == 0) +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; uint8_t x_288; lean_object* x_289; +x_283 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_284 = lean_unsigned_to_nat(0u); +x_285 = l_Lean_Parser_categoryParser___elambda__1(x_283, x_284, x_1, x_281); +x_286 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_287 = l_Lean_Parser_ParserState_mkNode(x_285, x_286, x_241); +x_288 = 1; +x_289 = l_Lean_Parser_mergeOrElseErrors(x_287, x_233, x_109, x_288); +lean_dec(x_109); +return x_289; +} +else +{ +lean_object* x_290; lean_object* x_291; uint8_t x_292; lean_object* x_293; +lean_dec(x_282); lean_dec(x_1); -x_116 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_117 = l_Lean_Parser_ParserState_mkErrorsAt(x_90, x_116, x_89); -x_118 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_119 = l_Lean_Parser_ParserState_mkNode(x_117, x_118, x_81); -x_120 = 1; -x_121 = l_Lean_Parser_mergeOrElseErrors(x_119, x_73, x_70, x_120); -lean_dec(x_70); -return x_121; +x_290 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_291 = l_Lean_Parser_ParserState_mkNode(x_281, x_290, x_241); +x_292 = 1; +x_293 = l_Lean_Parser_mergeOrElseErrors(x_291, x_233, x_109, x_292); +lean_dec(x_109); +return x_293; +} +} +} } } else { -lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; -lean_dec(x_88); +lean_object* x_308; lean_object* x_309; uint8_t x_310; lean_object* x_311; +lean_dec(x_243); lean_dec(x_1); -x_122 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_123 = l_Lean_Parser_ParserState_mkNode(x_87, x_122, x_81); -x_124 = 1; -x_125 = l_Lean_Parser_mergeOrElseErrors(x_123, x_73, x_70, x_124); -lean_dec(x_70); -return x_125; +x_308 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; +x_309 = l_Lean_Parser_ParserState_mkNode(x_242, x_308, x_241); +x_310 = 1; +x_311 = l_Lean_Parser_mergeOrElseErrors(x_309, x_233, x_109, x_310); +lean_dec(x_109); +return x_311; +} +} +block_338: +{ +lean_object* x_324; +x_324 = lean_ctor_get(x_323, 3); +lean_inc(x_324); +if (lean_obj_tag(x_324) == 0) +{ +lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; +x_325 = l_Lean_Parser_Term_letrec___elambda__1___closed__6; +x_326 = l_Lean_Parser_Term_letrec___elambda__1___closed__8; +lean_inc(x_322); +x_327 = l_Lean_Parser_nonReservedSymbolFnAux(x_325, x_326, x_322, x_323); +x_328 = l_Lean_nullKind; +lean_inc(x_241); +x_329 = l_Lean_Parser_ParserState_mkNode(x_327, x_328, x_241); +x_330 = lean_ctor_get(x_329, 3); +lean_inc(x_330); +if (lean_obj_tag(x_330) == 0) +{ +uint8_t x_331; lean_object* x_332; +x_331 = 0; +x_332 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_letrec___elambda__1___spec__1(x_331, x_322, x_329); +x_242 = x_332; +goto block_312; +} +else +{ +lean_dec(x_330); +lean_dec(x_322); +x_242 = x_329; +goto block_312; } } else { -lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; -lean_dec(x_85); +lean_object* x_333; lean_object* x_334; lean_object* x_335; +lean_dec(x_324); +x_333 = l_Lean_nullKind; +lean_inc(x_241); +x_334 = l_Lean_Parser_ParserState_mkNode(x_323, x_333, x_241); +x_335 = lean_ctor_get(x_334, 3); +lean_inc(x_335); +if (lean_obj_tag(x_335) == 0) +{ +uint8_t x_336; lean_object* x_337; +x_336 = 0; +x_337 = l_Lean_Parser_sepBy1Fn___at_Lean_Parser_Term_letrec___elambda__1___spec__1(x_336, x_322, x_334); +x_242 = x_337; +goto block_312; +} +else +{ +lean_dec(x_335); +lean_dec(x_322); +x_242 = x_334; +goto block_312; +} +} +} +} +else +{ +uint8_t x_352; lean_object* x_353; +lean_dec(x_239); lean_dec(x_1); -x_126 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; -x_127 = l_Lean_Parser_ParserState_mkNode(x_84, x_126, x_81); -x_128 = 1; -x_129 = l_Lean_Parser_mergeOrElseErrors(x_127, x_73, x_70, x_128); -lean_dec(x_70); -return x_129; +x_352 = 1; +x_353 = l_Lean_Parser_mergeOrElseErrors(x_238, x_233, x_109, x_352); +lean_dec(x_109); +return x_353; } } -block_136: -{ -lean_object* x_132; -x_132 = lean_ctor_get(x_131, 3); -lean_inc(x_132); -if (lean_obj_tag(x_132) == 0) -{ -lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_133 = l_Lean_Parser_Term_letrec___elambda__1___closed__6; -x_134 = l_Lean_Parser_Term_letrec___elambda__1___closed__8; -lean_inc(x_1); -x_135 = l_Lean_Parser_nonReservedSymbolFnAux(x_133, x_134, x_1, x_131); -x_82 = x_135; -goto block_130; -} -else -{ -lean_dec(x_132); -x_82 = x_131; -goto block_130; -} -} -} -else -{ -uint8_t x_151; lean_object* x_152; -lean_dec(x_79); -lean_dec(x_1); -x_151 = 1; -x_152 = l_Lean_Parser_mergeOrElseErrors(x_78, x_73, x_70, x_151); -lean_dec(x_70); -return x_152; -} } } } @@ -54243,8 +57246,8 @@ lean_object* _init_l_Lean_Parser_Term_letrec___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letrec___closed__7; -x_2 = l_Lean_Parser_Term_have___closed__2; +x_1 = l_Lean_Parser_Term_letrec___closed__3; +x_2 = l_Lean_Parser_Term_letrec___closed__7; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -54253,8 +57256,8 @@ lean_object* _init_l_Lean_Parser_Term_letrec___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letrec___closed__3; -x_2 = l_Lean_Parser_Term_letrec___closed__8; +x_1 = l_Lean_Parser_Term_letrec___closed__8; +x_2 = l_Lean_Parser_Term_have___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -54649,8 +57652,8 @@ lean_object* _init_l_Lean_Parser_Term_letrec_formatter___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letrec_formatter___closed__9; -x_2 = l_Lean_Parser_Term_have_formatter___closed__3; +x_1 = l_Lean_Parser_Term_letrec_formatter___closed__4; +x_2 = l_Lean_Parser_Term_letrec_formatter___closed__9; 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); @@ -54660,22 +57663,32 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_letrec_formatter___closed__11() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_letrec_formatter___closed__10; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_letrec_formatter___closed__12() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letrec_formatter___closed__4; -x_2 = l_Lean_Parser_Term_letrec_formatter___closed__10; +x_1 = l_Lean_Parser_Term_letrec_formatter___closed__11; +x_2 = l_Lean_Parser_Term_have_formatter___closed__6; 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_letrec_formatter___closed__12() { +lean_object* _init_l_Lean_Parser_Term_letrec_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_letrec___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_letrec_formatter___closed__11; +x_3 = l_Lean_Parser_Term_letrec_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); @@ -54688,7 +57701,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_letrec_formatter___closed__1; -x_7 = l_Lean_Parser_Term_letrec_formatter___closed__12; +x_7 = l_Lean_Parser_Term_letrec_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; } @@ -54969,8 +57982,8 @@ lean_object* _init_l_Lean_Parser_Term_letrec_parenthesizer___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letrec_parenthesizer___closed__7; -x_2 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; +x_1 = l_Lean_Parser_Term_letrec_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Term_letrec_parenthesizer___closed__7; 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); @@ -54980,22 +57993,32 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_letrec_parenthesizer___closed__9() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_letrec_parenthesizer___closed__8; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_letrec_parenthesizer___closed__10() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letrec_parenthesizer___closed__2; -x_2 = l_Lean_Parser_Term_letrec_parenthesizer___closed__8; +x_1 = l_Lean_Parser_Term_letrec_parenthesizer___closed__9; +x_2 = l_Lean_Parser_Term_have_parenthesizer___closed__5; 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_letrec_parenthesizer___closed__10() { +lean_object* _init_l_Lean_Parser_Term_letrec_parenthesizer___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_letrec___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_letrec_parenthesizer___closed__9; +x_3 = l_Lean_Parser_Term_letrec_parenthesizer___closed__10; 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); @@ -55008,7 +58031,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_letrec_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_letrec_parenthesizer___closed__10; +x_7 = l_Lean_Parser_Term_letrec_parenthesizer___closed__11; 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; } @@ -75232,168 +78255,275 @@ 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_45; lean_object* x_46; lean_object* x_47; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; 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_45 = lean_ctor_get(x_7, 1); -lean_inc(x_45); -lean_inc(x_1); -x_46 = l_Lean_Parser_tokenFn(x_1, x_7); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) +x_68 = lean_ctor_get(x_1, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_1, 1); +lean_inc(x_69); +x_70 = lean_ctor_get(x_1, 2); +lean_inc(x_70); +x_71 = lean_ctor_get(x_1, 3); +lean_inc(x_71); +x_72 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_73 = lean_ctor_get(x_68, 2); +lean_inc(x_73); +x_74 = lean_ctor_get(x_7, 1); +lean_inc(x_74); +lean_inc(x_74); +x_75 = l_Lean_FileMap_toPosition(x_73, x_74); +lean_dec(x_73); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_77, 0, x_68); +lean_ctor_set(x_77, 1, x_69); +lean_ctor_set(x_77, 2, x_70); +lean_ctor_set(x_77, 3, x_71); +lean_ctor_set(x_77, 4, x_76); +lean_ctor_set_uint8(x_77, sizeof(void*)*5, x_72); +lean_inc(x_77); +x_78 = l_Lean_Parser_tokenFn(x_77, x_7); +x_79 = lean_ctor_get(x_78, 3); +lean_inc(x_79); +if (lean_obj_tag(x_79) == 0) { -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_inc(x_48); -x_49 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_48); -lean_dec(x_48); -if (lean_obj_tag(x_49) == 2) +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_78, 0); +lean_inc(x_80); +x_81 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_80); +lean_dec(x_80); +if (lean_obj_tag(x_81) == 2) { -lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__6; -x_52 = lean_string_dec_eq(x_50, x_51); -lean_dec(x_50); -if (x_52 == 0) +lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +x_83 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__6; +x_84 = lean_string_dec_eq(x_82, x_83); +lean_dec(x_82); +if (x_84 == 0) { -lean_object* x_53; lean_object* x_54; -x_53 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; -x_54 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_53, x_45); -x_11 = x_54; -goto block_44; +lean_object* x_85; lean_object* x_86; +lean_dec(x_77); +x_85 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; +x_86 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_85, x_74); +x_11 = x_86; +goto block_67; } else { -lean_dec(x_45); -x_11 = x_46; -goto block_44; +lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_74); +x_87 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_88 = lean_unsigned_to_nat(0u); +x_89 = l_Lean_Parser_categoryParser___elambda__1(x_87, x_88, x_77, x_78); +x_11 = x_89; +goto block_67; } } else { -lean_object* x_55; lean_object* x_56; -lean_dec(x_49); -x_55 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; -x_56 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_55, x_45); -x_11 = x_56; -goto block_44; +lean_object* x_90; lean_object* x_91; +lean_dec(x_81); +lean_dec(x_77); +x_90 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; +x_91 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_90, x_74); +x_11 = x_91; +goto block_67; } } else { -lean_object* x_57; lean_object* x_58; -lean_dec(x_47); -x_57 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; -x_58 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_57, x_45); -x_11 = x_58; -goto block_44; +lean_object* x_92; lean_object* x_93; +lean_dec(x_79); +lean_dec(x_77); +x_92 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; +x_93 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_92, x_74); +x_11 = x_93; +goto block_67; } -block_44: +block_67: { 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; -x_13 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_14 = lean_unsigned_to_nat(0u); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_52; lean_object* x_53; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); lean_inc(x_1); -x_15 = l_Lean_Parser_categoryParser___elambda__1(x_13, x_14, x_1, x_11); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) +x_52 = l_Lean_Parser_tokenFn(x_1, x_11); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +x_55 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_54); +lean_dec(x_54); +if (lean_obj_tag(x_55) == 2) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_58 = lean_string_dec_eq(x_56, x_57); +lean_dec(x_56); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_60 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_59, x_15); +x_16 = x_60; +goto block_51; +} +else +{ +x_16 = x_52; +goto block_51; +} +} +else +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_55); +x_61 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_61, x_15); +x_16 = x_62; +goto block_51; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_53); +x_63 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_63, x_15); +x_16 = x_64; +goto block_51; +} +block_51: +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 3); lean_inc(x_17); -lean_inc(x_1); -x_18 = l_Lean_Parser_tokenFn(x_1, x_15); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +if (lean_obj_tag(x_17) == 0) { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_15); +x_18 = l_Lean_nullKind; +x_19 = l_Lean_Parser_ParserState_mkNode(x_16, x_18, x_14); +x_20 = lean_ctor_get(x_19, 3); lean_inc(x_20); -x_21 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Parser_categoryParser___elambda__1(x_21, x_22, x_1, x_19); +x_24 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_dec(x_20); -if (lean_obj_tag(x_21) == 2) -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; -x_24 = lean_string_dec_eq(x_22, x_23); -lean_dec(x_22); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_25 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_25, x_17); -x_27 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_10); -return x_28; +x_26 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_27 = l_Lean_Parser_ParserState_mkNode(x_19, x_26, x_10); +return x_27; +} } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_object* x_28; uint8_t x_29; lean_dec(x_17); -x_29 = l_Lean_Parser_categoryParser___elambda__1(x_13, x_14, x_1, x_18); -x_30 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_10); -return x_31; -} +x_28 = lean_ctor_get(x_16, 1); +lean_inc(x_28); +x_29 = lean_nat_dec_eq(x_28, x_15); +lean_dec(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_15); +x_30 = l_Lean_nullKind; +x_31 = l_Lean_Parser_ParserState_mkNode(x_16, x_30, x_14); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_34 = lean_unsigned_to_nat(0u); +x_35 = l_Lean_Parser_categoryParser___elambda__1(x_33, x_34, x_1, x_31); +x_36 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_10); +return x_37; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_21); +lean_object* x_38; lean_object* x_39; +lean_dec(x_32); lean_dec(x_1); -x_32 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_33 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_32, x_17); -x_34 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_35 = l_Lean_Parser_ParserState_mkNode(x_33, x_34, x_10); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_19); -lean_dec(x_1); -x_36 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_37 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_36, x_17); x_38 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_39 = l_Lean_Parser_ParserState_mkNode(x_37, x_38, x_10); +x_39 = l_Lean_Parser_ParserState_mkNode(x_31, x_38, x_10); return x_39; } } else { -lean_object* x_40; lean_object* x_41; -lean_dec(x_16); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = l_Lean_Parser_ParserState_restore(x_16, x_14, x_15); +x_41 = l_Lean_nullKind; +x_42 = l_Lean_Parser_ParserState_mkNode(x_40, x_41, x_14); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_45 = lean_unsigned_to_nat(0u); +x_46 = l_Lean_Parser_categoryParser___elambda__1(x_44, x_45, x_1, x_42); +x_47 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_48 = l_Lean_Parser_ParserState_mkNode(x_46, x_47, x_10); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_43); lean_dec(x_1); -x_40 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_41 = l_Lean_Parser_ParserState_mkNode(x_15, x_40, x_10); -return x_41; +x_49 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_50 = l_Lean_Parser_ParserState_mkNode(x_42, x_49, x_10); +return x_50; +} +} +} } } else { -lean_object* x_42; lean_object* x_43; +lean_object* x_65; lean_object* x_66; lean_dec(x_12); lean_dec(x_1); -x_42 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_43 = l_Lean_Parser_ParserState_mkNode(x_11, x_42, x_10); -return x_43; +x_65 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_66 = l_Lean_Parser_ParserState_mkNode(x_11, x_65, x_10); +return x_66; } } } @@ -75406,246 +78536,695 @@ return x_7; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_59 = lean_ctor_get(x_2, 0); -lean_inc(x_59); -x_60 = lean_array_get_size(x_59); -lean_dec(x_59); -x_61 = lean_ctor_get(x_2, 1); -lean_inc(x_61); +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_94 = lean_ctor_get(x_2, 0); +lean_inc(x_94); +x_95 = lean_array_get_size(x_94); +lean_dec(x_94); +x_96 = lean_ctor_get(x_2, 1); +lean_inc(x_96); lean_inc(x_1); -x_62 = lean_apply_2(x_4, x_1, x_2); -x_63 = lean_ctor_get(x_62, 3); -lean_inc(x_63); -if (lean_obj_tag(x_63) == 0) +x_97 = lean_apply_2(x_4, x_1, x_2); +x_98 = lean_ctor_get(x_97, 3); +lean_inc(x_98); +if (lean_obj_tag(x_98) == 0) { -lean_dec(x_61); -lean_dec(x_60); +lean_dec(x_96); +lean_dec(x_95); lean_dec(x_1); -return x_62; -} -else -{ -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -x_66 = lean_nat_dec_eq(x_65, x_61); -lean_dec(x_65); -if (x_66 == 0) -{ -lean_dec(x_64); -lean_dec(x_61); -lean_dec(x_60); -lean_dec(x_1); -return x_62; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -lean_inc(x_61); -x_67 = l_Lean_Parser_ParserState_restore(x_62, x_60, x_61); -lean_dec(x_60); -x_68 = l_Lean_Parser_leadPrec; -x_69 = l_Lean_Parser_checkPrecFn(x_68, x_1, x_67); -x_70 = lean_ctor_get(x_69, 3); -lean_inc(x_70); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_71 = lean_ctor_get(x_69, 0); -lean_inc(x_71); -x_72 = lean_array_get_size(x_71); -lean_dec(x_71); -x_119 = lean_ctor_get(x_69, 1); -lean_inc(x_119); -lean_inc(x_1); -x_120 = l_Lean_Parser_tokenFn(x_1, x_69); -x_121 = lean_ctor_get(x_120, 3); -lean_inc(x_121); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_120, 0); -lean_inc(x_122); -x_123 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_122); -lean_dec(x_122); -if (lean_obj_tag(x_123) == 2) -{ -lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_125 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__6; -x_126 = lean_string_dec_eq(x_124, x_125); -lean_dec(x_124); -if (x_126 == 0) -{ -lean_object* x_127; lean_object* x_128; -x_127 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; -x_128 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_127, x_119); -x_73 = x_128; -goto block_118; -} -else -{ -lean_dec(x_119); -x_73 = x_120; -goto block_118; -} -} -else -{ -lean_object* x_129; lean_object* x_130; -lean_dec(x_123); -x_129 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; -x_130 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_129, x_119); -x_73 = x_130; -goto block_118; -} -} -else -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_121); -x_131 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; -x_132 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_131, x_119); -x_73 = x_132; -goto block_118; -} -block_118: -{ -lean_object* x_74; -x_74 = lean_ctor_get(x_73, 3); -lean_inc(x_74); -if (lean_obj_tag(x_74) == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_75 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_76 = lean_unsigned_to_nat(0u); -lean_inc(x_1); -x_77 = l_Lean_Parser_categoryParser___elambda__1(x_75, x_76, x_1, x_73); -x_78 = lean_ctor_get(x_77, 3); -lean_inc(x_78); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_inc(x_1); -x_80 = l_Lean_Parser_tokenFn(x_1, x_77); -x_81 = lean_ctor_get(x_80, 3); -lean_inc(x_81); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_80, 0); -lean_inc(x_82); -x_83 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_82); -lean_dec(x_82); -if (lean_obj_tag(x_83) == 2) -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_85 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; -x_86 = lean_string_dec_eq(x_84, x_85); -lean_dec(x_84); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; -lean_dec(x_1); -x_87 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_88 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_87, x_79); -x_89 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_90 = l_Lean_Parser_ParserState_mkNode(x_88, x_89, x_72); -x_91 = 1; -x_92 = l_Lean_Parser_mergeOrElseErrors(x_90, x_64, x_61, x_91); -lean_dec(x_61); -return x_92; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; -lean_dec(x_79); -x_93 = l_Lean_Parser_categoryParser___elambda__1(x_75, x_76, x_1, x_80); -x_94 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_95 = l_Lean_Parser_ParserState_mkNode(x_93, x_94, x_72); -x_96 = 1; -x_97 = l_Lean_Parser_mergeOrElseErrors(x_95, x_64, x_61, x_96); -lean_dec(x_61); return x_97; } +else +{ +uint8_t x_99; +x_99 = !lean_is_exclusive(x_98); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_100 = lean_ctor_get(x_98, 0); +x_101 = lean_ctor_get(x_97, 1); +lean_inc(x_101); +x_102 = lean_nat_dec_eq(x_101, x_96); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_free_object(x_98); +lean_dec(x_100); +lean_dec(x_96); +lean_dec(x_95); +lean_dec(x_1); +return x_97; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; -lean_dec(x_83); -lean_dec(x_1); -x_98 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_99 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_98, x_79); -x_100 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_101 = l_Lean_Parser_ParserState_mkNode(x_99, x_100, x_72); -x_102 = 1; -x_103 = l_Lean_Parser_mergeOrElseErrors(x_101, x_64, x_61, x_102); -lean_dec(x_61); -return x_103; +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_inc(x_96); +x_103 = l_Lean_Parser_ParserState_restore(x_97, x_95, x_96); +lean_dec(x_95); +x_104 = l_Lean_Parser_leadPrec; +x_105 = l_Lean_Parser_checkPrecFn(x_104, x_1, x_103); +x_106 = lean_ctor_get(x_105, 3); +lean_inc(x_106); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t 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; +x_107 = lean_ctor_get(x_105, 0); +lean_inc(x_107); +x_108 = lean_array_get_size(x_107); +lean_dec(x_107); +x_180 = lean_ctor_get(x_1, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_1, 1); +lean_inc(x_181); +x_182 = lean_ctor_get(x_1, 2); +lean_inc(x_182); +x_183 = lean_ctor_get(x_1, 3); +lean_inc(x_183); +x_184 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_185 = lean_ctor_get(x_180, 2); +lean_inc(x_185); +x_186 = lean_ctor_get(x_105, 1); +lean_inc(x_186); +lean_inc(x_186); +x_187 = l_Lean_FileMap_toPosition(x_185, x_186); +lean_dec(x_185); +lean_ctor_set(x_98, 0, x_187); +x_188 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_188, 0, x_180); +lean_ctor_set(x_188, 1, x_181); +lean_ctor_set(x_188, 2, x_182); +lean_ctor_set(x_188, 3, x_183); +lean_ctor_set(x_188, 4, x_98); +lean_ctor_set_uint8(x_188, sizeof(void*)*5, x_184); +lean_inc(x_188); +x_189 = l_Lean_Parser_tokenFn(x_188, x_105); +x_190 = lean_ctor_get(x_189, 3); +lean_inc(x_190); +if (lean_obj_tag(x_190) == 0) +{ +lean_object* x_191; lean_object* x_192; +x_191 = lean_ctor_get(x_189, 0); +lean_inc(x_191); +x_192 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_191); +lean_dec(x_191); +if (lean_obj_tag(x_192) == 2) +{ +lean_object* x_193; lean_object* x_194; uint8_t x_195; +x_193 = lean_ctor_get(x_192, 1); +lean_inc(x_193); +lean_dec(x_192); +x_194 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__6; +x_195 = lean_string_dec_eq(x_193, x_194); +lean_dec(x_193); +if (x_195 == 0) +{ +lean_object* x_196; lean_object* x_197; +lean_dec(x_188); +x_196 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; +x_197 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_196, x_186); +x_109 = x_197; +goto block_179; +} +else +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_186); +x_198 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_199 = lean_unsigned_to_nat(0u); +x_200 = l_Lean_Parser_categoryParser___elambda__1(x_198, x_199, x_188, x_189); +x_109 = x_200; +goto block_179; } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; -lean_dec(x_81); -lean_dec(x_1); -x_104 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_105 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_104, x_79); -x_106 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_107 = l_Lean_Parser_ParserState_mkNode(x_105, x_106, x_72); -x_108 = 1; -x_109 = l_Lean_Parser_mergeOrElseErrors(x_107, x_64, x_61, x_108); -lean_dec(x_61); -return x_109; +lean_object* x_201; lean_object* x_202; +lean_dec(x_192); +lean_dec(x_188); +x_201 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; +x_202 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_201, x_186); +x_109 = x_202; +goto block_179; } } else { -lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; -lean_dec(x_78); -lean_dec(x_1); -x_110 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_111 = l_Lean_Parser_ParserState_mkNode(x_77, x_110, x_72); -x_112 = 1; -x_113 = l_Lean_Parser_mergeOrElseErrors(x_111, x_64, x_61, x_112); -lean_dec(x_61); -return x_113; +lean_object* x_203; lean_object* x_204; +lean_dec(x_190); +lean_dec(x_188); +x_203 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; +x_204 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_203, x_186); +x_109 = x_204; +goto block_179; +} +block_179: +{ +lean_object* x_110; +x_110 = lean_ctor_get(x_109, 3); +lean_inc(x_110); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_162; lean_object* x_163; +x_111 = lean_ctor_get(x_109, 0); +lean_inc(x_111); +x_112 = lean_array_get_size(x_111); +lean_dec(x_111); +x_113 = lean_ctor_get(x_109, 1); +lean_inc(x_113); +lean_inc(x_1); +x_162 = l_Lean_Parser_tokenFn(x_1, x_109); +x_163 = lean_ctor_get(x_162, 3); +lean_inc(x_163); +if (lean_obj_tag(x_163) == 0) +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_162, 0); +lean_inc(x_164); +x_165 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_164); +lean_dec(x_164); +if (lean_obj_tag(x_165) == 2) +{ +lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_166 = lean_ctor_get(x_165, 1); +lean_inc(x_166); +lean_dec(x_165); +x_167 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_168 = lean_string_dec_eq(x_166, x_167); +lean_dec(x_166); +if (x_168 == 0) +{ +lean_object* x_169; lean_object* x_170; +x_169 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_170 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_169, x_113); +x_114 = x_170; +goto block_161; +} +else +{ +x_114 = x_162; +goto block_161; } } else { -lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; -lean_dec(x_74); +lean_object* x_171; lean_object* x_172; +lean_dec(x_165); +x_171 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_172 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_171, x_113); +x_114 = x_172; +goto block_161; +} +} +else +{ +lean_object* x_173; lean_object* x_174; +lean_dec(x_163); +x_173 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_174 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_173, x_113); +x_114 = x_174; +goto block_161; +} +block_161: +{ +lean_object* x_115; +x_115 = lean_ctor_get(x_114, 3); +lean_inc(x_115); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_113); +x_116 = l_Lean_nullKind; +x_117 = l_Lean_Parser_ParserState_mkNode(x_114, x_116, x_112); +x_118 = lean_ctor_get(x_117, 3); +lean_inc(x_118); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; +x_119 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_120 = lean_unsigned_to_nat(0u); +x_121 = l_Lean_Parser_categoryParser___elambda__1(x_119, x_120, x_1, x_117); +x_122 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_123 = l_Lean_Parser_ParserState_mkNode(x_121, x_122, x_108); +x_124 = 1; +x_125 = l_Lean_Parser_mergeOrElseErrors(x_123, x_100, x_96, x_124); +lean_dec(x_96); +return x_125; +} +else +{ +lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; +lean_dec(x_118); lean_dec(x_1); -x_114 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; -x_115 = l_Lean_Parser_ParserState_mkNode(x_73, x_114, x_72); -x_116 = 1; -x_117 = l_Lean_Parser_mergeOrElseErrors(x_115, x_64, x_61, x_116); -lean_dec(x_61); -return x_117; +x_126 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_127 = l_Lean_Parser_ParserState_mkNode(x_117, x_126, x_108); +x_128 = 1; +x_129 = l_Lean_Parser_mergeOrElseErrors(x_127, x_100, x_96, x_128); +lean_dec(x_96); +return x_129; +} +} +else +{ +lean_object* x_130; uint8_t x_131; +lean_dec(x_115); +x_130 = lean_ctor_get(x_114, 1); +lean_inc(x_130); +x_131 = lean_nat_dec_eq(x_130, x_113); +lean_dec(x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_113); +x_132 = l_Lean_nullKind; +x_133 = l_Lean_Parser_ParserState_mkNode(x_114, x_132, x_112); +x_134 = lean_ctor_get(x_133, 3); +lean_inc(x_134); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; +x_135 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_136 = lean_unsigned_to_nat(0u); +x_137 = l_Lean_Parser_categoryParser___elambda__1(x_135, x_136, x_1, x_133); +x_138 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_139 = l_Lean_Parser_ParserState_mkNode(x_137, x_138, x_108); +x_140 = 1; +x_141 = l_Lean_Parser_mergeOrElseErrors(x_139, x_100, x_96, x_140); +lean_dec(x_96); +return x_141; +} +else +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; +lean_dec(x_134); +lean_dec(x_1); +x_142 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_143 = l_Lean_Parser_ParserState_mkNode(x_133, x_142, x_108); +x_144 = 1; +x_145 = l_Lean_Parser_mergeOrElseErrors(x_143, x_100, x_96, x_144); +lean_dec(x_96); +return x_145; +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_146 = l_Lean_Parser_ParserState_restore(x_114, x_112, x_113); +x_147 = l_Lean_nullKind; +x_148 = l_Lean_Parser_ParserState_mkNode(x_146, x_147, x_112); +x_149 = lean_ctor_get(x_148, 3); +lean_inc(x_149); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; +x_150 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_151 = lean_unsigned_to_nat(0u); +x_152 = l_Lean_Parser_categoryParser___elambda__1(x_150, x_151, x_1, x_148); +x_153 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_154 = l_Lean_Parser_ParserState_mkNode(x_152, x_153, x_108); +x_155 = 1; +x_156 = l_Lean_Parser_mergeOrElseErrors(x_154, x_100, x_96, x_155); +lean_dec(x_96); +return x_156; +} +else +{ +lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; +lean_dec(x_149); +lean_dec(x_1); +x_157 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_158 = l_Lean_Parser_ParserState_mkNode(x_148, x_157, x_108); +x_159 = 1; +x_160 = l_Lean_Parser_mergeOrElseErrors(x_158, x_100, x_96, x_159); +lean_dec(x_96); +return x_160; +} +} } } } else { -uint8_t x_133; lean_object* x_134; -lean_dec(x_70); +lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; +lean_dec(x_110); lean_dec(x_1); -x_133 = 1; -x_134 = l_Lean_Parser_mergeOrElseErrors(x_69, x_64, x_61, x_133); -lean_dec(x_61); -return x_134; +x_175 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_176 = l_Lean_Parser_ParserState_mkNode(x_109, x_175, x_108); +x_177 = 1; +x_178 = l_Lean_Parser_mergeOrElseErrors(x_176, x_100, x_96, x_177); +lean_dec(x_96); +return x_178; +} +} +} +else +{ +uint8_t x_205; lean_object* x_206; +lean_dec(x_106); +lean_free_object(x_98); +lean_dec(x_1); +x_205 = 1; +x_206 = l_Lean_Parser_mergeOrElseErrors(x_105, x_100, x_96, x_205); +lean_dec(x_96); +return x_206; +} +} +} +else +{ +lean_object* x_207; lean_object* x_208; uint8_t x_209; +x_207 = lean_ctor_get(x_98, 0); +lean_inc(x_207); +lean_dec(x_98); +x_208 = lean_ctor_get(x_97, 1); +lean_inc(x_208); +x_209 = lean_nat_dec_eq(x_208, x_96); +lean_dec(x_208); +if (x_209 == 0) +{ +lean_dec(x_207); +lean_dec(x_96); +lean_dec(x_95); +lean_dec(x_1); +return x_97; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +lean_inc(x_96); +x_210 = l_Lean_Parser_ParserState_restore(x_97, x_95, x_96); +lean_dec(x_95); +x_211 = l_Lean_Parser_leadPrec; +x_212 = l_Lean_Parser_checkPrecFn(x_211, x_1, x_210); +x_213 = lean_ctor_get(x_212, 3); +lean_inc(x_213); +if (lean_obj_tag(x_213) == 0) +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t 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; +x_214 = lean_ctor_get(x_212, 0); +lean_inc(x_214); +x_215 = lean_array_get_size(x_214); +lean_dec(x_214); +x_287 = lean_ctor_get(x_1, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_1, 1); +lean_inc(x_288); +x_289 = lean_ctor_get(x_1, 2); +lean_inc(x_289); +x_290 = lean_ctor_get(x_1, 3); +lean_inc(x_290); +x_291 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_292 = lean_ctor_get(x_287, 2); +lean_inc(x_292); +x_293 = lean_ctor_get(x_212, 1); +lean_inc(x_293); +lean_inc(x_293); +x_294 = l_Lean_FileMap_toPosition(x_292, x_293); +lean_dec(x_292); +x_295 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_295, 0, x_294); +x_296 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_296, 0, x_287); +lean_ctor_set(x_296, 1, x_288); +lean_ctor_set(x_296, 2, x_289); +lean_ctor_set(x_296, 3, x_290); +lean_ctor_set(x_296, 4, x_295); +lean_ctor_set_uint8(x_296, sizeof(void*)*5, x_291); +lean_inc(x_296); +x_297 = l_Lean_Parser_tokenFn(x_296, x_212); +x_298 = lean_ctor_get(x_297, 3); +lean_inc(x_298); +if (lean_obj_tag(x_298) == 0) +{ +lean_object* x_299; lean_object* x_300; +x_299 = lean_ctor_get(x_297, 0); +lean_inc(x_299); +x_300 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_299); +lean_dec(x_299); +if (lean_obj_tag(x_300) == 2) +{ +lean_object* x_301; lean_object* x_302; uint8_t x_303; +x_301 = lean_ctor_get(x_300, 1); +lean_inc(x_301); +lean_dec(x_300); +x_302 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__6; +x_303 = lean_string_dec_eq(x_301, x_302); +lean_dec(x_301); +if (x_303 == 0) +{ +lean_object* x_304; lean_object* x_305; +lean_dec(x_296); +x_304 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; +x_305 = l_Lean_Parser_ParserState_mkErrorsAt(x_297, x_304, x_293); +x_216 = x_305; +goto block_286; +} +else +{ +lean_object* x_306; lean_object* x_307; lean_object* x_308; +lean_dec(x_293); +x_306 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_307 = lean_unsigned_to_nat(0u); +x_308 = l_Lean_Parser_categoryParser___elambda__1(x_306, x_307, x_296, x_297); +x_216 = x_308; +goto block_286; +} +} +else +{ +lean_object* x_309; lean_object* x_310; +lean_dec(x_300); +lean_dec(x_296); +x_309 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; +x_310 = l_Lean_Parser_ParserState_mkErrorsAt(x_297, x_309, x_293); +x_216 = x_310; +goto block_286; +} +} +else +{ +lean_object* x_311; lean_object* x_312; +lean_dec(x_298); +lean_dec(x_296); +x_311 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__9; +x_312 = l_Lean_Parser_ParserState_mkErrorsAt(x_297, x_311, x_293); +x_216 = x_312; +goto block_286; +} +block_286: +{ +lean_object* x_217; +x_217 = lean_ctor_get(x_216, 3); +lean_inc(x_217); +if (lean_obj_tag(x_217) == 0) +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_269; lean_object* x_270; +x_218 = lean_ctor_get(x_216, 0); +lean_inc(x_218); +x_219 = lean_array_get_size(x_218); +lean_dec(x_218); +x_220 = lean_ctor_get(x_216, 1); +lean_inc(x_220); +lean_inc(x_1); +x_269 = l_Lean_Parser_tokenFn(x_1, x_216); +x_270 = lean_ctor_get(x_269, 3); +lean_inc(x_270); +if (lean_obj_tag(x_270) == 0) +{ +lean_object* x_271; lean_object* x_272; +x_271 = lean_ctor_get(x_269, 0); +lean_inc(x_271); +x_272 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_271); +lean_dec(x_271); +if (lean_obj_tag(x_272) == 2) +{ +lean_object* x_273; lean_object* x_274; uint8_t x_275; +x_273 = lean_ctor_get(x_272, 1); +lean_inc(x_273); +lean_dec(x_272); +x_274 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_275 = lean_string_dec_eq(x_273, x_274); +lean_dec(x_273); +if (x_275 == 0) +{ +lean_object* x_276; lean_object* x_277; +x_276 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_220); +x_277 = l_Lean_Parser_ParserState_mkErrorsAt(x_269, x_276, x_220); +x_221 = x_277; +goto block_268; +} +else +{ +x_221 = x_269; +goto block_268; +} +} +else +{ +lean_object* x_278; lean_object* x_279; +lean_dec(x_272); +x_278 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_220); +x_279 = l_Lean_Parser_ParserState_mkErrorsAt(x_269, x_278, x_220); +x_221 = x_279; +goto block_268; +} +} +else +{ +lean_object* x_280; lean_object* x_281; +lean_dec(x_270); +x_280 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_220); +x_281 = l_Lean_Parser_ParserState_mkErrorsAt(x_269, x_280, x_220); +x_221 = x_281; +goto block_268; +} +block_268: +{ +lean_object* x_222; +x_222 = lean_ctor_get(x_221, 3); +lean_inc(x_222); +if (lean_obj_tag(x_222) == 0) +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; +lean_dec(x_220); +x_223 = l_Lean_nullKind; +x_224 = l_Lean_Parser_ParserState_mkNode(x_221, x_223, x_219); +x_225 = lean_ctor_get(x_224, 3); +lean_inc(x_225); +if (lean_obj_tag(x_225) == 0) +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; lean_object* x_232; +x_226 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_227 = lean_unsigned_to_nat(0u); +x_228 = l_Lean_Parser_categoryParser___elambda__1(x_226, x_227, x_1, x_224); +x_229 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_230 = l_Lean_Parser_ParserState_mkNode(x_228, x_229, x_215); +x_231 = 1; +x_232 = l_Lean_Parser_mergeOrElseErrors(x_230, x_207, x_96, x_231); +lean_dec(x_96); +return x_232; +} +else +{ +lean_object* x_233; lean_object* x_234; uint8_t x_235; lean_object* x_236; +lean_dec(x_225); +lean_dec(x_1); +x_233 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_234 = l_Lean_Parser_ParserState_mkNode(x_224, x_233, x_215); +x_235 = 1; +x_236 = l_Lean_Parser_mergeOrElseErrors(x_234, x_207, x_96, x_235); +lean_dec(x_96); +return x_236; +} +} +else +{ +lean_object* x_237; uint8_t x_238; +lean_dec(x_222); +x_237 = lean_ctor_get(x_221, 1); +lean_inc(x_237); +x_238 = lean_nat_dec_eq(x_237, x_220); +lean_dec(x_237); +if (x_238 == 0) +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; +lean_dec(x_220); +x_239 = l_Lean_nullKind; +x_240 = l_Lean_Parser_ParserState_mkNode(x_221, x_239, x_219); +x_241 = lean_ctor_get(x_240, 3); +lean_inc(x_241); +if (lean_obj_tag(x_241) == 0) +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; lean_object* x_248; +x_242 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_243 = lean_unsigned_to_nat(0u); +x_244 = l_Lean_Parser_categoryParser___elambda__1(x_242, x_243, x_1, x_240); +x_245 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_246 = l_Lean_Parser_ParserState_mkNode(x_244, x_245, x_215); +x_247 = 1; +x_248 = l_Lean_Parser_mergeOrElseErrors(x_246, x_207, x_96, x_247); +lean_dec(x_96); +return x_248; +} +else +{ +lean_object* x_249; lean_object* x_250; uint8_t x_251; lean_object* x_252; +lean_dec(x_241); +lean_dec(x_1); +x_249 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_250 = l_Lean_Parser_ParserState_mkNode(x_240, x_249, x_215); +x_251 = 1; +x_252 = l_Lean_Parser_mergeOrElseErrors(x_250, x_207, x_96, x_251); +lean_dec(x_96); +return x_252; +} +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; +x_253 = l_Lean_Parser_ParserState_restore(x_221, x_219, x_220); +x_254 = l_Lean_nullKind; +x_255 = l_Lean_Parser_ParserState_mkNode(x_253, x_254, x_219); +x_256 = lean_ctor_get(x_255, 3); +lean_inc(x_256); +if (lean_obj_tag(x_256) == 0) +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; lean_object* x_263; +x_257 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_258 = lean_unsigned_to_nat(0u); +x_259 = l_Lean_Parser_categoryParser___elambda__1(x_257, x_258, x_1, x_255); +x_260 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_261 = l_Lean_Parser_ParserState_mkNode(x_259, x_260, x_215); +x_262 = 1; +x_263 = l_Lean_Parser_mergeOrElseErrors(x_261, x_207, x_96, x_262); +lean_dec(x_96); +return x_263; +} +else +{ +lean_object* x_264; lean_object* x_265; uint8_t x_266; lean_object* x_267; +lean_dec(x_256); +lean_dec(x_1); +x_264 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_265 = l_Lean_Parser_ParserState_mkNode(x_255, x_264, x_215); +x_266 = 1; +x_267 = l_Lean_Parser_mergeOrElseErrors(x_265, x_207, x_96, x_266); +lean_dec(x_96); +return x_267; +} +} +} +} +} +else +{ +lean_object* x_282; lean_object* x_283; uint8_t x_284; lean_object* x_285; +lean_dec(x_217); +lean_dec(x_1); +x_282 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; +x_283 = l_Lean_Parser_ParserState_mkNode(x_216, x_282, x_215); +x_284 = 1; +x_285 = l_Lean_Parser_mergeOrElseErrors(x_283, x_207, x_96, x_284); +lean_dec(x_96); +return x_285; +} +} +} +else +{ +uint8_t x_313; lean_object* x_314; +lean_dec(x_213); +lean_dec(x_1); +x_313 = 1; +x_314 = l_Lean_Parser_mergeOrElseErrors(x_212, x_207, x_96, x_313); +lean_dec(x_96); +return x_314; +} } } } @@ -75668,7 +79247,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_typeAscription___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Tactic_tacticSeq1Indented___closed__2; +x_3 = l_Lean_Parser_Term_dbgTrace___closed__1; x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } @@ -75680,8 +79259,8 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_typeAscription___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_dbgTrace___closed__2; -x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); +x_3 = l_Lean_Parser_Tactic_tacticSeq1Indented___closed__3; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } } @@ -75689,7 +79268,7 @@ lean_object* _init_l_Lean_Parser_Term_dbgTrace___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_dbgTrace___closed__1; +x_1 = l_Lean_Parser_Term_dbgTrace___closed__2; x_2 = l_Lean_Parser_Term_dbgTrace___closed__3; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; @@ -75797,8 +79376,8 @@ lean_object* _init_l_Lean_Parser_Term_dbgTrace_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_formatter___closed__2; -x_2 = l_Lean_Parser_Term_have_formatter___closed__3; +x_1 = l_Lean_Parser_Term_dbgTrace_formatter___closed__2; +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); lean_closure_set(x_3, 1, x_2); @@ -75808,22 +79387,32 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_dbgTrace_formatter___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_dbgTrace_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_dbgTrace_formatter___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_dbgTrace_formatter___closed__2; -x_2 = l_Lean_Parser_Term_dbgTrace_formatter___closed__3; +x_1 = l_Lean_Parser_Term_dbgTrace_formatter___closed__4; +x_2 = l_Lean_Parser_Term_have_formatter___closed__6; 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_dbgTrace_formatter___closed__5() { +lean_object* _init_l_Lean_Parser_Term_dbgTrace_formatter___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_dbgTrace___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_dbgTrace_formatter___closed__4; +x_3 = l_Lean_Parser_Term_dbgTrace_formatter___closed__5; 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); @@ -75836,7 +79425,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_dbgTrace_formatter___closed__1; -x_7 = l_Lean_Parser_Term_dbgTrace_formatter___closed__5; +x_7 = l_Lean_Parser_Term_dbgTrace_formatter___closed__6; 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; } @@ -75876,10 +79465,44 @@ return x_4; lean_object* _init_l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__3; +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_dbgTrace_parenthesizer___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__2; +x_2 = l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__3; +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_dbgTrace_parenthesizer___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_dbgTrace___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_if_parenthesizer___closed__3; +x_3 = l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__4; 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); @@ -75892,7 +79515,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__2; +x_7 = l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__5; 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; } @@ -76024,168 +79647,275 @@ 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_45; lean_object* x_46; lean_object* x_47; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; 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_45 = lean_ctor_get(x_7, 1); -lean_inc(x_45); -lean_inc(x_1); -x_46 = l_Lean_Parser_tokenFn(x_1, x_7); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -if (lean_obj_tag(x_47) == 0) +x_68 = lean_ctor_get(x_1, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_1, 1); +lean_inc(x_69); +x_70 = lean_ctor_get(x_1, 2); +lean_inc(x_70); +x_71 = lean_ctor_get(x_1, 3); +lean_inc(x_71); +x_72 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_73 = lean_ctor_get(x_68, 2); +lean_inc(x_73); +x_74 = lean_ctor_get(x_7, 1); +lean_inc(x_74); +lean_inc(x_74); +x_75 = l_Lean_FileMap_toPosition(x_73, x_74); +lean_dec(x_73); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_77, 0, x_68); +lean_ctor_set(x_77, 1, x_69); +lean_ctor_set(x_77, 2, x_70); +lean_ctor_set(x_77, 3, x_71); +lean_ctor_set(x_77, 4, x_76); +lean_ctor_set_uint8(x_77, sizeof(void*)*5, x_72); +lean_inc(x_77); +x_78 = l_Lean_Parser_tokenFn(x_77, x_7); +x_79 = lean_ctor_get(x_78, 3); +lean_inc(x_79); +if (lean_obj_tag(x_79) == 0) { -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_46, 0); -lean_inc(x_48); -x_49 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_48); -lean_dec(x_48); -if (lean_obj_tag(x_49) == 2) +lean_object* x_80; lean_object* x_81; +x_80 = lean_ctor_get(x_78, 0); +lean_inc(x_80); +x_81 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_80); +lean_dec(x_80); +if (lean_obj_tag(x_81) == 2) { -lean_object* x_50; lean_object* x_51; uint8_t x_52; -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_Parser_Term_assert___elambda__1___closed__6; -x_52 = lean_string_dec_eq(x_50, x_51); -lean_dec(x_50); -if (x_52 == 0) +lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +x_83 = l_Lean_Parser_Term_assert___elambda__1___closed__6; +x_84 = lean_string_dec_eq(x_82, x_83); +lean_dec(x_82); +if (x_84 == 0) { -lean_object* x_53; lean_object* x_54; -x_53 = l_Lean_Parser_Term_assert___elambda__1___closed__9; -x_54 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_53, x_45); -x_11 = x_54; -goto block_44; +lean_object* x_85; lean_object* x_86; +lean_dec(x_77); +x_85 = l_Lean_Parser_Term_assert___elambda__1___closed__9; +x_86 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_85, x_74); +x_11 = x_86; +goto block_67; } else { -lean_dec(x_45); -x_11 = x_46; -goto block_44; +lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_dec(x_74); +x_87 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_88 = lean_unsigned_to_nat(0u); +x_89 = l_Lean_Parser_categoryParser___elambda__1(x_87, x_88, x_77, x_78); +x_11 = x_89; +goto block_67; } } else { -lean_object* x_55; lean_object* x_56; -lean_dec(x_49); -x_55 = l_Lean_Parser_Term_assert___elambda__1___closed__9; -x_56 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_55, x_45); -x_11 = x_56; -goto block_44; +lean_object* x_90; lean_object* x_91; +lean_dec(x_81); +lean_dec(x_77); +x_90 = l_Lean_Parser_Term_assert___elambda__1___closed__9; +x_91 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_90, x_74); +x_11 = x_91; +goto block_67; } } else { -lean_object* x_57; lean_object* x_58; -lean_dec(x_47); -x_57 = l_Lean_Parser_Term_assert___elambda__1___closed__9; -x_58 = l_Lean_Parser_ParserState_mkErrorsAt(x_46, x_57, x_45); -x_11 = x_58; -goto block_44; +lean_object* x_92; lean_object* x_93; +lean_dec(x_79); +lean_dec(x_77); +x_92 = l_Lean_Parser_Term_assert___elambda__1___closed__9; +x_93 = l_Lean_Parser_ParserState_mkErrorsAt(x_78, x_92, x_74); +x_11 = x_93; +goto block_67; } -block_44: +block_67: { 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; -x_13 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_14 = lean_unsigned_to_nat(0u); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_52; lean_object* x_53; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +x_14 = lean_array_get_size(x_13); +lean_dec(x_13); +x_15 = lean_ctor_get(x_11, 1); +lean_inc(x_15); lean_inc(x_1); -x_15 = l_Lean_Parser_categoryParser___elambda__1(x_13, x_14, x_1, x_11); -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) +x_52 = l_Lean_Parser_tokenFn(x_1, x_11); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_15, 1); +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_52, 0); +lean_inc(x_54); +x_55 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_54); +lean_dec(x_54); +if (lean_obj_tag(x_55) == 2) +{ +lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_58 = lean_string_dec_eq(x_56, x_57); +lean_dec(x_56); +if (x_58 == 0) +{ +lean_object* x_59; lean_object* x_60; +x_59 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_60 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_59, x_15); +x_16 = x_60; +goto block_51; +} +else +{ +x_16 = x_52; +goto block_51; +} +} +else +{ +lean_object* x_61; lean_object* x_62; +lean_dec(x_55); +x_61 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_62 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_61, x_15); +x_16 = x_62; +goto block_51; +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_53); +x_63 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_15); +x_64 = l_Lean_Parser_ParserState_mkErrorsAt(x_52, x_63, x_15); +x_16 = x_64; +goto block_51; +} +block_51: +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 3); lean_inc(x_17); -lean_inc(x_1); -x_18 = l_Lean_Parser_tokenFn(x_1, x_15); -x_19 = lean_ctor_get(x_18, 3); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) +if (lean_obj_tag(x_17) == 0) { -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 0); +lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_15); +x_18 = l_Lean_nullKind; +x_19 = l_Lean_Parser_ParserState_mkNode(x_16, x_18, x_14); +x_20 = lean_ctor_get(x_19, 3); lean_inc(x_20); -x_21 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Parser_categoryParser___elambda__1(x_21, x_22, x_1, x_19); +x_24 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_25 = l_Lean_Parser_ParserState_mkNode(x_23, x_24, x_10); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_dec(x_20); -if (lean_obj_tag(x_21) == 2) -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; -x_24 = lean_string_dec_eq(x_22, x_23); -lean_dec(x_22); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_dec(x_1); -x_25 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_26 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_25, x_17); -x_27 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_28 = l_Lean_Parser_ParserState_mkNode(x_26, x_27, x_10); -return x_28; +x_26 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_27 = l_Lean_Parser_ParserState_mkNode(x_19, x_26, x_10); +return x_27; +} } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_object* x_28; uint8_t x_29; lean_dec(x_17); -x_29 = l_Lean_Parser_categoryParser___elambda__1(x_13, x_14, x_1, x_18); -x_30 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_31 = l_Lean_Parser_ParserState_mkNode(x_29, x_30, x_10); -return x_31; -} +x_28 = lean_ctor_get(x_16, 1); +lean_inc(x_28); +x_29 = lean_nat_dec_eq(x_28, x_15); +lean_dec(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_15); +x_30 = l_Lean_nullKind; +x_31 = l_Lean_Parser_ParserState_mkNode(x_16, x_30, x_14); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_34 = lean_unsigned_to_nat(0u); +x_35 = l_Lean_Parser_categoryParser___elambda__1(x_33, x_34, x_1, x_31); +x_36 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_37 = l_Lean_Parser_ParserState_mkNode(x_35, x_36, x_10); +return x_37; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_21); +lean_object* x_38; lean_object* x_39; +lean_dec(x_32); lean_dec(x_1); -x_32 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_33 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_32, x_17); -x_34 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_35 = l_Lean_Parser_ParserState_mkNode(x_33, x_34, x_10); -return x_35; -} -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_19); -lean_dec(x_1); -x_36 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_37 = l_Lean_Parser_ParserState_mkErrorsAt(x_18, x_36, x_17); x_38 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_39 = l_Lean_Parser_ParserState_mkNode(x_37, x_38, x_10); +x_39 = l_Lean_Parser_ParserState_mkNode(x_31, x_38, x_10); return x_39; } } else { -lean_object* x_40; lean_object* x_41; -lean_dec(x_16); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = l_Lean_Parser_ParserState_restore(x_16, x_14, x_15); +x_41 = l_Lean_nullKind; +x_42 = l_Lean_Parser_ParserState_mkNode(x_40, x_41, x_14); +x_43 = lean_ctor_get(x_42, 3); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_45 = lean_unsigned_to_nat(0u); +x_46 = l_Lean_Parser_categoryParser___elambda__1(x_44, x_45, x_1, x_42); +x_47 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_48 = l_Lean_Parser_ParserState_mkNode(x_46, x_47, x_10); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_43); lean_dec(x_1); -x_40 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_41 = l_Lean_Parser_ParserState_mkNode(x_15, x_40, x_10); -return x_41; +x_49 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_50 = l_Lean_Parser_ParserState_mkNode(x_42, x_49, x_10); +return x_50; +} +} +} } } else { -lean_object* x_42; lean_object* x_43; +lean_object* x_65; lean_object* x_66; lean_dec(x_12); lean_dec(x_1); -x_42 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_43 = l_Lean_Parser_ParserState_mkNode(x_11, x_42, x_10); -return x_43; +x_65 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_66 = l_Lean_Parser_ParserState_mkNode(x_11, x_65, x_10); +return x_66; } } } @@ -76198,246 +79928,695 @@ return x_7; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_59 = lean_ctor_get(x_2, 0); -lean_inc(x_59); -x_60 = lean_array_get_size(x_59); -lean_dec(x_59); -x_61 = lean_ctor_get(x_2, 1); -lean_inc(x_61); +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_94 = lean_ctor_get(x_2, 0); +lean_inc(x_94); +x_95 = lean_array_get_size(x_94); +lean_dec(x_94); +x_96 = lean_ctor_get(x_2, 1); +lean_inc(x_96); lean_inc(x_1); -x_62 = lean_apply_2(x_4, x_1, x_2); -x_63 = lean_ctor_get(x_62, 3); -lean_inc(x_63); -if (lean_obj_tag(x_63) == 0) +x_97 = lean_apply_2(x_4, x_1, x_2); +x_98 = lean_ctor_get(x_97, 3); +lean_inc(x_98); +if (lean_obj_tag(x_98) == 0) { -lean_dec(x_61); -lean_dec(x_60); +lean_dec(x_96); +lean_dec(x_95); lean_dec(x_1); -return x_62; -} -else -{ -lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -lean_dec(x_63); -x_65 = lean_ctor_get(x_62, 1); -lean_inc(x_65); -x_66 = lean_nat_dec_eq(x_65, x_61); -lean_dec(x_65); -if (x_66 == 0) -{ -lean_dec(x_64); -lean_dec(x_61); -lean_dec(x_60); -lean_dec(x_1); -return x_62; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -lean_inc(x_61); -x_67 = l_Lean_Parser_ParserState_restore(x_62, x_60, x_61); -lean_dec(x_60); -x_68 = l_Lean_Parser_leadPrec; -x_69 = l_Lean_Parser_checkPrecFn(x_68, x_1, x_67); -x_70 = lean_ctor_get(x_69, 3); -lean_inc(x_70); -if (lean_obj_tag(x_70) == 0) -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_71 = lean_ctor_get(x_69, 0); -lean_inc(x_71); -x_72 = lean_array_get_size(x_71); -lean_dec(x_71); -x_119 = lean_ctor_get(x_69, 1); -lean_inc(x_119); -lean_inc(x_1); -x_120 = l_Lean_Parser_tokenFn(x_1, x_69); -x_121 = lean_ctor_get(x_120, 3); -lean_inc(x_121); -if (lean_obj_tag(x_121) == 0) -{ -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_120, 0); -lean_inc(x_122); -x_123 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_122); -lean_dec(x_122); -if (lean_obj_tag(x_123) == 2) -{ -lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_124 = lean_ctor_get(x_123, 1); -lean_inc(x_124); -lean_dec(x_123); -x_125 = l_Lean_Parser_Term_assert___elambda__1___closed__6; -x_126 = lean_string_dec_eq(x_124, x_125); -lean_dec(x_124); -if (x_126 == 0) -{ -lean_object* x_127; lean_object* x_128; -x_127 = l_Lean_Parser_Term_assert___elambda__1___closed__9; -x_128 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_127, x_119); -x_73 = x_128; -goto block_118; -} -else -{ -lean_dec(x_119); -x_73 = x_120; -goto block_118; -} -} -else -{ -lean_object* x_129; lean_object* x_130; -lean_dec(x_123); -x_129 = l_Lean_Parser_Term_assert___elambda__1___closed__9; -x_130 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_129, x_119); -x_73 = x_130; -goto block_118; -} -} -else -{ -lean_object* x_131; lean_object* x_132; -lean_dec(x_121); -x_131 = l_Lean_Parser_Term_assert___elambda__1___closed__9; -x_132 = l_Lean_Parser_ParserState_mkErrorsAt(x_120, x_131, x_119); -x_73 = x_132; -goto block_118; -} -block_118: -{ -lean_object* x_74; -x_74 = lean_ctor_get(x_73, 3); -lean_inc(x_74); -if (lean_obj_tag(x_74) == 0) -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_75 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; -x_76 = lean_unsigned_to_nat(0u); -lean_inc(x_1); -x_77 = l_Lean_Parser_categoryParser___elambda__1(x_75, x_76, x_1, x_73); -x_78 = lean_ctor_get(x_77, 3); -lean_inc(x_78); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_77, 1); -lean_inc(x_79); -lean_inc(x_1); -x_80 = l_Lean_Parser_tokenFn(x_1, x_77); -x_81 = lean_ctor_get(x_80, 3); -lean_inc(x_81); -if (lean_obj_tag(x_81) == 0) -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_80, 0); -lean_inc(x_82); -x_83 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_82); -lean_dec(x_82); -if (lean_obj_tag(x_83) == 2) -{ -lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_84 = lean_ctor_get(x_83, 1); -lean_inc(x_84); -lean_dec(x_83); -x_85 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; -x_86 = lean_string_dec_eq(x_84, x_85); -lean_dec(x_84); -if (x_86 == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; lean_object* x_92; -lean_dec(x_1); -x_87 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_88 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_87, x_79); -x_89 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_90 = l_Lean_Parser_ParserState_mkNode(x_88, x_89, x_72); -x_91 = 1; -x_92 = l_Lean_Parser_mergeOrElseErrors(x_90, x_64, x_61, x_91); -lean_dec(x_61); -return x_92; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; lean_object* x_97; -lean_dec(x_79); -x_93 = l_Lean_Parser_categoryParser___elambda__1(x_75, x_76, x_1, x_80); -x_94 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_95 = l_Lean_Parser_ParserState_mkNode(x_93, x_94, x_72); -x_96 = 1; -x_97 = l_Lean_Parser_mergeOrElseErrors(x_95, x_64, x_61, x_96); -lean_dec(x_61); return x_97; } +else +{ +uint8_t x_99; +x_99 = !lean_is_exclusive(x_98); +if (x_99 == 0) +{ +lean_object* x_100; lean_object* x_101; uint8_t x_102; +x_100 = lean_ctor_get(x_98, 0); +x_101 = lean_ctor_get(x_97, 1); +lean_inc(x_101); +x_102 = lean_nat_dec_eq(x_101, x_96); +lean_dec(x_101); +if (x_102 == 0) +{ +lean_free_object(x_98); +lean_dec(x_100); +lean_dec(x_96); +lean_dec(x_95); +lean_dec(x_1); +return x_97; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; -lean_dec(x_83); -lean_dec(x_1); -x_98 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_99 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_98, x_79); -x_100 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_101 = l_Lean_Parser_ParserState_mkNode(x_99, x_100, x_72); -x_102 = 1; -x_103 = l_Lean_Parser_mergeOrElseErrors(x_101, x_64, x_61, x_102); -lean_dec(x_61); -return x_103; +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; +lean_inc(x_96); +x_103 = l_Lean_Parser_ParserState_restore(x_97, x_95, x_96); +lean_dec(x_95); +x_104 = l_Lean_Parser_leadPrec; +x_105 = l_Lean_Parser_checkPrecFn(x_104, x_1, x_103); +x_106 = lean_ctor_get(x_105, 3); +lean_inc(x_106); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t 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; +x_107 = lean_ctor_get(x_105, 0); +lean_inc(x_107); +x_108 = lean_array_get_size(x_107); +lean_dec(x_107); +x_180 = lean_ctor_get(x_1, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_1, 1); +lean_inc(x_181); +x_182 = lean_ctor_get(x_1, 2); +lean_inc(x_182); +x_183 = lean_ctor_get(x_1, 3); +lean_inc(x_183); +x_184 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_185 = lean_ctor_get(x_180, 2); +lean_inc(x_185); +x_186 = lean_ctor_get(x_105, 1); +lean_inc(x_186); +lean_inc(x_186); +x_187 = l_Lean_FileMap_toPosition(x_185, x_186); +lean_dec(x_185); +lean_ctor_set(x_98, 0, x_187); +x_188 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_188, 0, x_180); +lean_ctor_set(x_188, 1, x_181); +lean_ctor_set(x_188, 2, x_182); +lean_ctor_set(x_188, 3, x_183); +lean_ctor_set(x_188, 4, x_98); +lean_ctor_set_uint8(x_188, sizeof(void*)*5, x_184); +lean_inc(x_188); +x_189 = l_Lean_Parser_tokenFn(x_188, x_105); +x_190 = lean_ctor_get(x_189, 3); +lean_inc(x_190); +if (lean_obj_tag(x_190) == 0) +{ +lean_object* x_191; lean_object* x_192; +x_191 = lean_ctor_get(x_189, 0); +lean_inc(x_191); +x_192 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_191); +lean_dec(x_191); +if (lean_obj_tag(x_192) == 2) +{ +lean_object* x_193; lean_object* x_194; uint8_t x_195; +x_193 = lean_ctor_get(x_192, 1); +lean_inc(x_193); +lean_dec(x_192); +x_194 = l_Lean_Parser_Term_assert___elambda__1___closed__6; +x_195 = lean_string_dec_eq(x_193, x_194); +lean_dec(x_193); +if (x_195 == 0) +{ +lean_object* x_196; lean_object* x_197; +lean_dec(x_188); +x_196 = l_Lean_Parser_Term_assert___elambda__1___closed__9; +x_197 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_196, x_186); +x_109 = x_197; +goto block_179; +} +else +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_186); +x_198 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_199 = lean_unsigned_to_nat(0u); +x_200 = l_Lean_Parser_categoryParser___elambda__1(x_198, x_199, x_188, x_189); +x_109 = x_200; +goto block_179; } } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; -lean_dec(x_81); -lean_dec(x_1); -x_104 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; -x_105 = l_Lean_Parser_ParserState_mkErrorsAt(x_80, x_104, x_79); -x_106 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_107 = l_Lean_Parser_ParserState_mkNode(x_105, x_106, x_72); -x_108 = 1; -x_109 = l_Lean_Parser_mergeOrElseErrors(x_107, x_64, x_61, x_108); -lean_dec(x_61); -return x_109; +lean_object* x_201; lean_object* x_202; +lean_dec(x_192); +lean_dec(x_188); +x_201 = l_Lean_Parser_Term_assert___elambda__1___closed__9; +x_202 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_201, x_186); +x_109 = x_202; +goto block_179; } } else { -lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; -lean_dec(x_78); -lean_dec(x_1); -x_110 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_111 = l_Lean_Parser_ParserState_mkNode(x_77, x_110, x_72); -x_112 = 1; -x_113 = l_Lean_Parser_mergeOrElseErrors(x_111, x_64, x_61, x_112); -lean_dec(x_61); -return x_113; +lean_object* x_203; lean_object* x_204; +lean_dec(x_190); +lean_dec(x_188); +x_203 = l_Lean_Parser_Term_assert___elambda__1___closed__9; +x_204 = l_Lean_Parser_ParserState_mkErrorsAt(x_189, x_203, x_186); +x_109 = x_204; +goto block_179; +} +block_179: +{ +lean_object* x_110; +x_110 = lean_ctor_get(x_109, 3); +lean_inc(x_110); +if (lean_obj_tag(x_110) == 0) +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_162; lean_object* x_163; +x_111 = lean_ctor_get(x_109, 0); +lean_inc(x_111); +x_112 = lean_array_get_size(x_111); +lean_dec(x_111); +x_113 = lean_ctor_get(x_109, 1); +lean_inc(x_113); +lean_inc(x_1); +x_162 = l_Lean_Parser_tokenFn(x_1, x_109); +x_163 = lean_ctor_get(x_162, 3); +lean_inc(x_163); +if (lean_obj_tag(x_163) == 0) +{ +lean_object* x_164; lean_object* x_165; +x_164 = lean_ctor_get(x_162, 0); +lean_inc(x_164); +x_165 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_164); +lean_dec(x_164); +if (lean_obj_tag(x_165) == 2) +{ +lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_166 = lean_ctor_get(x_165, 1); +lean_inc(x_166); +lean_dec(x_165); +x_167 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_168 = lean_string_dec_eq(x_166, x_167); +lean_dec(x_166); +if (x_168 == 0) +{ +lean_object* x_169; lean_object* x_170; +x_169 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_170 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_169, x_113); +x_114 = x_170; +goto block_161; +} +else +{ +x_114 = x_162; +goto block_161; } } else { -lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; -lean_dec(x_74); +lean_object* x_171; lean_object* x_172; +lean_dec(x_165); +x_171 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_172 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_171, x_113); +x_114 = x_172; +goto block_161; +} +} +else +{ +lean_object* x_173; lean_object* x_174; +lean_dec(x_163); +x_173 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_113); +x_174 = l_Lean_Parser_ParserState_mkErrorsAt(x_162, x_173, x_113); +x_114 = x_174; +goto block_161; +} +block_161: +{ +lean_object* x_115; +x_115 = lean_ctor_get(x_114, 3); +lean_inc(x_115); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_113); +x_116 = l_Lean_nullKind; +x_117 = l_Lean_Parser_ParserState_mkNode(x_114, x_116, x_112); +x_118 = lean_ctor_get(x_117, 3); +lean_inc(x_118); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; +x_119 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_120 = lean_unsigned_to_nat(0u); +x_121 = l_Lean_Parser_categoryParser___elambda__1(x_119, x_120, x_1, x_117); +x_122 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_123 = l_Lean_Parser_ParserState_mkNode(x_121, x_122, x_108); +x_124 = 1; +x_125 = l_Lean_Parser_mergeOrElseErrors(x_123, x_100, x_96, x_124); +lean_dec(x_96); +return x_125; +} +else +{ +lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; +lean_dec(x_118); lean_dec(x_1); -x_114 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_115 = l_Lean_Parser_ParserState_mkNode(x_73, x_114, x_72); -x_116 = 1; -x_117 = l_Lean_Parser_mergeOrElseErrors(x_115, x_64, x_61, x_116); -lean_dec(x_61); -return x_117; +x_126 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_127 = l_Lean_Parser_ParserState_mkNode(x_117, x_126, x_108); +x_128 = 1; +x_129 = l_Lean_Parser_mergeOrElseErrors(x_127, x_100, x_96, x_128); +lean_dec(x_96); +return x_129; +} +} +else +{ +lean_object* x_130; uint8_t x_131; +lean_dec(x_115); +x_130 = lean_ctor_get(x_114, 1); +lean_inc(x_130); +x_131 = lean_nat_dec_eq(x_130, x_113); +lean_dec(x_130); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_113); +x_132 = l_Lean_nullKind; +x_133 = l_Lean_Parser_ParserState_mkNode(x_114, x_132, x_112); +x_134 = lean_ctor_get(x_133, 3); +lean_inc(x_134); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; +x_135 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_136 = lean_unsigned_to_nat(0u); +x_137 = l_Lean_Parser_categoryParser___elambda__1(x_135, x_136, x_1, x_133); +x_138 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_139 = l_Lean_Parser_ParserState_mkNode(x_137, x_138, x_108); +x_140 = 1; +x_141 = l_Lean_Parser_mergeOrElseErrors(x_139, x_100, x_96, x_140); +lean_dec(x_96); +return x_141; +} +else +{ +lean_object* x_142; lean_object* x_143; uint8_t x_144; lean_object* x_145; +lean_dec(x_134); +lean_dec(x_1); +x_142 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_143 = l_Lean_Parser_ParserState_mkNode(x_133, x_142, x_108); +x_144 = 1; +x_145 = l_Lean_Parser_mergeOrElseErrors(x_143, x_100, x_96, x_144); +lean_dec(x_96); +return x_145; +} +} +else +{ +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_146 = l_Lean_Parser_ParserState_restore(x_114, x_112, x_113); +x_147 = l_Lean_nullKind; +x_148 = l_Lean_Parser_ParserState_mkNode(x_146, x_147, x_112); +x_149 = lean_ctor_get(x_148, 3); +lean_inc(x_149); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; +x_150 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_151 = lean_unsigned_to_nat(0u); +x_152 = l_Lean_Parser_categoryParser___elambda__1(x_150, x_151, x_1, x_148); +x_153 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_154 = l_Lean_Parser_ParserState_mkNode(x_152, x_153, x_108); +x_155 = 1; +x_156 = l_Lean_Parser_mergeOrElseErrors(x_154, x_100, x_96, x_155); +lean_dec(x_96); +return x_156; +} +else +{ +lean_object* x_157; lean_object* x_158; uint8_t x_159; lean_object* x_160; +lean_dec(x_149); +lean_dec(x_1); +x_157 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_158 = l_Lean_Parser_ParserState_mkNode(x_148, x_157, x_108); +x_159 = 1; +x_160 = l_Lean_Parser_mergeOrElseErrors(x_158, x_100, x_96, x_159); +lean_dec(x_96); +return x_160; +} +} } } } else { -uint8_t x_133; lean_object* x_134; -lean_dec(x_70); +lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_object* x_178; +lean_dec(x_110); lean_dec(x_1); -x_133 = 1; -x_134 = l_Lean_Parser_mergeOrElseErrors(x_69, x_64, x_61, x_133); -lean_dec(x_61); -return x_134; +x_175 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_176 = l_Lean_Parser_ParserState_mkNode(x_109, x_175, x_108); +x_177 = 1; +x_178 = l_Lean_Parser_mergeOrElseErrors(x_176, x_100, x_96, x_177); +lean_dec(x_96); +return x_178; +} +} +} +else +{ +uint8_t x_205; lean_object* x_206; +lean_dec(x_106); +lean_free_object(x_98); +lean_dec(x_1); +x_205 = 1; +x_206 = l_Lean_Parser_mergeOrElseErrors(x_105, x_100, x_96, x_205); +lean_dec(x_96); +return x_206; +} +} +} +else +{ +lean_object* x_207; lean_object* x_208; uint8_t x_209; +x_207 = lean_ctor_get(x_98, 0); +lean_inc(x_207); +lean_dec(x_98); +x_208 = lean_ctor_get(x_97, 1); +lean_inc(x_208); +x_209 = lean_nat_dec_eq(x_208, x_96); +lean_dec(x_208); +if (x_209 == 0) +{ +lean_dec(x_207); +lean_dec(x_96); +lean_dec(x_95); +lean_dec(x_1); +return x_97; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +lean_inc(x_96); +x_210 = l_Lean_Parser_ParserState_restore(x_97, x_95, x_96); +lean_dec(x_95); +x_211 = l_Lean_Parser_leadPrec; +x_212 = l_Lean_Parser_checkPrecFn(x_211, x_1, x_210); +x_213 = lean_ctor_get(x_212, 3); +lean_inc(x_213); +if (lean_obj_tag(x_213) == 0) +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; uint8_t 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; +x_214 = lean_ctor_get(x_212, 0); +lean_inc(x_214); +x_215 = lean_array_get_size(x_214); +lean_dec(x_214); +x_287 = lean_ctor_get(x_1, 0); +lean_inc(x_287); +x_288 = lean_ctor_get(x_1, 1); +lean_inc(x_288); +x_289 = lean_ctor_get(x_1, 2); +lean_inc(x_289); +x_290 = lean_ctor_get(x_1, 3); +lean_inc(x_290); +x_291 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_292 = lean_ctor_get(x_287, 2); +lean_inc(x_292); +x_293 = lean_ctor_get(x_212, 1); +lean_inc(x_293); +lean_inc(x_293); +x_294 = l_Lean_FileMap_toPosition(x_292, x_293); +lean_dec(x_292); +x_295 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_295, 0, x_294); +x_296 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_296, 0, x_287); +lean_ctor_set(x_296, 1, x_288); +lean_ctor_set(x_296, 2, x_289); +lean_ctor_set(x_296, 3, x_290); +lean_ctor_set(x_296, 4, x_295); +lean_ctor_set_uint8(x_296, sizeof(void*)*5, x_291); +lean_inc(x_296); +x_297 = l_Lean_Parser_tokenFn(x_296, x_212); +x_298 = lean_ctor_get(x_297, 3); +lean_inc(x_298); +if (lean_obj_tag(x_298) == 0) +{ +lean_object* x_299; lean_object* x_300; +x_299 = lean_ctor_get(x_297, 0); +lean_inc(x_299); +x_300 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_299); +lean_dec(x_299); +if (lean_obj_tag(x_300) == 2) +{ +lean_object* x_301; lean_object* x_302; uint8_t x_303; +x_301 = lean_ctor_get(x_300, 1); +lean_inc(x_301); +lean_dec(x_300); +x_302 = l_Lean_Parser_Term_assert___elambda__1___closed__6; +x_303 = lean_string_dec_eq(x_301, x_302); +lean_dec(x_301); +if (x_303 == 0) +{ +lean_object* x_304; lean_object* x_305; +lean_dec(x_296); +x_304 = l_Lean_Parser_Term_assert___elambda__1___closed__9; +x_305 = l_Lean_Parser_ParserState_mkErrorsAt(x_297, x_304, x_293); +x_216 = x_305; +goto block_286; +} +else +{ +lean_object* x_306; lean_object* x_307; lean_object* x_308; +lean_dec(x_293); +x_306 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_307 = lean_unsigned_to_nat(0u); +x_308 = l_Lean_Parser_categoryParser___elambda__1(x_306, x_307, x_296, x_297); +x_216 = x_308; +goto block_286; +} +} +else +{ +lean_object* x_309; lean_object* x_310; +lean_dec(x_300); +lean_dec(x_296); +x_309 = l_Lean_Parser_Term_assert___elambda__1___closed__9; +x_310 = l_Lean_Parser_ParserState_mkErrorsAt(x_297, x_309, x_293); +x_216 = x_310; +goto block_286; +} +} +else +{ +lean_object* x_311; lean_object* x_312; +lean_dec(x_298); +lean_dec(x_296); +x_311 = l_Lean_Parser_Term_assert___elambda__1___closed__9; +x_312 = l_Lean_Parser_ParserState_mkErrorsAt(x_297, x_311, x_293); +x_216 = x_312; +goto block_286; +} +block_286: +{ +lean_object* x_217; +x_217 = lean_ctor_get(x_216, 3); +lean_inc(x_217); +if (lean_obj_tag(x_217) == 0) +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_269; lean_object* x_270; +x_218 = lean_ctor_get(x_216, 0); +lean_inc(x_218); +x_219 = lean_array_get_size(x_218); +lean_dec(x_218); +x_220 = lean_ctor_get(x_216, 1); +lean_inc(x_220); +lean_inc(x_1); +x_269 = l_Lean_Parser_tokenFn(x_1, x_216); +x_270 = lean_ctor_get(x_269, 3); +lean_inc(x_270); +if (lean_obj_tag(x_270) == 0) +{ +lean_object* x_271; lean_object* x_272; +x_271 = lean_ctor_get(x_269, 0); +lean_inc(x_271); +x_272 = l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(x_271); +lean_dec(x_271); +if (lean_obj_tag(x_272) == 2) +{ +lean_object* x_273; lean_object* x_274; uint8_t x_275; +x_273 = lean_ctor_get(x_272, 1); +lean_inc(x_273); +lean_dec(x_272); +x_274 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__1; +x_275 = lean_string_dec_eq(x_273, x_274); +lean_dec(x_273); +if (x_275 == 0) +{ +lean_object* x_276; lean_object* x_277; +x_276 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_220); +x_277 = l_Lean_Parser_ParserState_mkErrorsAt(x_269, x_276, x_220); +x_221 = x_277; +goto block_268; +} +else +{ +x_221 = x_269; +goto block_268; +} +} +else +{ +lean_object* x_278; lean_object* x_279; +lean_dec(x_272); +x_278 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_220); +x_279 = l_Lean_Parser_ParserState_mkErrorsAt(x_269, x_278, x_220); +x_221 = x_279; +goto block_268; +} +} +else +{ +lean_object* x_280; lean_object* x_281; +lean_dec(x_270); +x_280 = l_Lean_Parser_manyAux___main___at_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___spec__1___closed__4; +lean_inc(x_220); +x_281 = l_Lean_Parser_ParserState_mkErrorsAt(x_269, x_280, x_220); +x_221 = x_281; +goto block_268; +} +block_268: +{ +lean_object* x_222; +x_222 = lean_ctor_get(x_221, 3); +lean_inc(x_222); +if (lean_obj_tag(x_222) == 0) +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; +lean_dec(x_220); +x_223 = l_Lean_nullKind; +x_224 = l_Lean_Parser_ParserState_mkNode(x_221, x_223, x_219); +x_225 = lean_ctor_get(x_224, 3); +lean_inc(x_225); +if (lean_obj_tag(x_225) == 0) +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; uint8_t x_231; lean_object* x_232; +x_226 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_227 = lean_unsigned_to_nat(0u); +x_228 = l_Lean_Parser_categoryParser___elambda__1(x_226, x_227, x_1, x_224); +x_229 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_230 = l_Lean_Parser_ParserState_mkNode(x_228, x_229, x_215); +x_231 = 1; +x_232 = l_Lean_Parser_mergeOrElseErrors(x_230, x_207, x_96, x_231); +lean_dec(x_96); +return x_232; +} +else +{ +lean_object* x_233; lean_object* x_234; uint8_t x_235; lean_object* x_236; +lean_dec(x_225); +lean_dec(x_1); +x_233 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_234 = l_Lean_Parser_ParserState_mkNode(x_224, x_233, x_215); +x_235 = 1; +x_236 = l_Lean_Parser_mergeOrElseErrors(x_234, x_207, x_96, x_235); +lean_dec(x_96); +return x_236; +} +} +else +{ +lean_object* x_237; uint8_t x_238; +lean_dec(x_222); +x_237 = lean_ctor_get(x_221, 1); +lean_inc(x_237); +x_238 = lean_nat_dec_eq(x_237, x_220); +lean_dec(x_237); +if (x_238 == 0) +{ +lean_object* x_239; lean_object* x_240; lean_object* x_241; +lean_dec(x_220); +x_239 = l_Lean_nullKind; +x_240 = l_Lean_Parser_ParserState_mkNode(x_221, x_239, x_219); +x_241 = lean_ctor_get(x_240, 3); +lean_inc(x_241); +if (lean_obj_tag(x_241) == 0) +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; uint8_t x_247; lean_object* x_248; +x_242 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_243 = lean_unsigned_to_nat(0u); +x_244 = l_Lean_Parser_categoryParser___elambda__1(x_242, x_243, x_1, x_240); +x_245 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_246 = l_Lean_Parser_ParserState_mkNode(x_244, x_245, x_215); +x_247 = 1; +x_248 = l_Lean_Parser_mergeOrElseErrors(x_246, x_207, x_96, x_247); +lean_dec(x_96); +return x_248; +} +else +{ +lean_object* x_249; lean_object* x_250; uint8_t x_251; lean_object* x_252; +lean_dec(x_241); +lean_dec(x_1); +x_249 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_250 = l_Lean_Parser_ParserState_mkNode(x_240, x_249, x_215); +x_251 = 1; +x_252 = l_Lean_Parser_mergeOrElseErrors(x_250, x_207, x_96, x_251); +lean_dec(x_96); +return x_252; +} +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; +x_253 = l_Lean_Parser_ParserState_restore(x_221, x_219, x_220); +x_254 = l_Lean_nullKind; +x_255 = l_Lean_Parser_ParserState_mkNode(x_253, x_254, x_219); +x_256 = lean_ctor_get(x_255, 3); +lean_inc(x_256); +if (lean_obj_tag(x_256) == 0) +{ +lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; uint8_t x_262; lean_object* x_263; +x_257 = l_Lean___kind_term____x40_Lean_Util_Trace___hyg_3____closed__15; +x_258 = lean_unsigned_to_nat(0u); +x_259 = l_Lean_Parser_categoryParser___elambda__1(x_257, x_258, x_1, x_255); +x_260 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_261 = l_Lean_Parser_ParserState_mkNode(x_259, x_260, x_215); +x_262 = 1; +x_263 = l_Lean_Parser_mergeOrElseErrors(x_261, x_207, x_96, x_262); +lean_dec(x_96); +return x_263; +} +else +{ +lean_object* x_264; lean_object* x_265; uint8_t x_266; lean_object* x_267; +lean_dec(x_256); +lean_dec(x_1); +x_264 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_265 = l_Lean_Parser_ParserState_mkNode(x_255, x_264, x_215); +x_266 = 1; +x_267 = l_Lean_Parser_mergeOrElseErrors(x_265, x_207, x_96, x_266); +lean_dec(x_96); +return x_267; +} +} +} +} +} +else +{ +lean_object* x_282; lean_object* x_283; uint8_t x_284; lean_object* x_285; +lean_dec(x_217); +lean_dec(x_1); +x_282 = l_Lean_Parser_Term_assert___elambda__1___closed__2; +x_283 = l_Lean_Parser_ParserState_mkNode(x_216, x_282, x_215); +x_284 = 1; +x_285 = l_Lean_Parser_mergeOrElseErrors(x_283, x_207, x_96, x_284); +lean_dec(x_96); +return x_285; +} +} +} +else +{ +uint8_t x_313; lean_object* x_314; +lean_dec(x_213); +lean_dec(x_1); +x_313 = 1; +x_314 = l_Lean_Parser_mergeOrElseErrors(x_212, x_207, x_96, x_313); +lean_dec(x_96); +return x_314; +} } } } @@ -76456,20 +80635,22 @@ return x_2; lean_object* _init_l_Lean_Parser_Term_assert___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_assert___closed__1; -x_2 = l_Lean_Parser_Term_dbgTrace___closed__3; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_typeAscription___closed__2; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_assert___closed__1; +x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); +return x_4; } } lean_object* _init_l_Lean_Parser_Term_assert___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_assert___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_assert___closed__2; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +x_1 = l_Lean_Parser_Term_assert___closed__2; +x_2 = l_Lean_Parser_Term_dbgTrace___closed__3; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } @@ -76477,25 +80658,35 @@ lean_object* _init_l_Lean_Parser_Term_assert___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; +x_1 = l_Lean_Parser_Term_assert___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_assert___closed__3; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } lean_object* _init_l_Lean_Parser_Term_assert___closed__5() { _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_assert___closed__4; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Parser_Term_assert___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_assert___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_assert___closed__4; +x_3 = l_Lean_Parser_Term_assert___closed__5; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -lean_object* _init_l_Lean_Parser_Term_assert___closed__6() { +lean_object* _init_l_Lean_Parser_Term_assert___closed__7() { _start: { lean_object* x_1; @@ -76503,12 +80694,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_assert___elambda__1), 2, 0); return x_1; } } -lean_object* _init_l_Lean_Parser_Term_assert___closed__7() { +lean_object* _init_l_Lean_Parser_Term_assert___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_assert___closed__5; -x_2 = l_Lean_Parser_Term_assert___closed__6; +x_1 = l_Lean_Parser_Term_assert___closed__6; +x_2 = l_Lean_Parser_Term_assert___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -76519,7 +80710,7 @@ lean_object* _init_l_Lean_Parser_Term_assert() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_assert___closed__7; +x_1 = l_Lean_Parser_Term_assert___closed__8; return x_1; } } @@ -76566,7 +80757,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_assert_formatter___closed__2; -x_2 = l_Lean_Parser_Term_dbgTrace_formatter___closed__3; +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); lean_closure_set(x_3, 1, x_2); @@ -76576,10 +80767,32 @@ return x_3; lean_object* _init_l_Lean_Parser_Term_assert_formatter___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_assert_formatter___closed__3; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +lean_object* _init_l_Lean_Parser_Term_assert_formatter___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_assert_formatter___closed__4; +x_2 = l_Lean_Parser_Term_have_formatter___closed__6; +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_assert_formatter___closed__6() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_assert___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_assert_formatter___closed__3; +x_3 = l_Lean_Parser_Term_assert_formatter___closed__5; 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); @@ -76592,7 +80805,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_assert_formatter___closed__1; -x_7 = l_Lean_Parser_Term_assert_formatter___closed__4; +x_7 = l_Lean_Parser_Term_assert_formatter___closed__6; 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; } @@ -76635,7 +80848,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_assert___elambda__1___closed__2; x_2 = l_Lean_Parser_leadPrec; -x_3 = l_Lean_Parser_Term_if_parenthesizer___closed__3; +x_3 = l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__4; 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); @@ -80433,6 +84646,8 @@ l_Lean_Parser_Term_have_formatter___closed__6 = _init_l_Lean_Parser_Term_have_fo lean_mark_persistent(l_Lean_Parser_Term_have_formatter___closed__6); l_Lean_Parser_Term_have_formatter___closed__7 = _init_l_Lean_Parser_Term_have_formatter___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_have_formatter___closed__7); +l_Lean_Parser_Term_have_formatter___closed__8 = _init_l_Lean_Parser_Term_have_formatter___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_have_formatter___closed__8); l___regBuiltin_Lean_Parser_Term_have_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_have_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_have_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_have_formatter(lean_io_mk_world()); @@ -80466,6 +84681,10 @@ l_Lean_Parser_Term_have_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_hav lean_mark_persistent(l_Lean_Parser_Term_have_parenthesizer___closed__4); l_Lean_Parser_Term_have_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_have_parenthesizer___closed__5(); lean_mark_persistent(l_Lean_Parser_Term_have_parenthesizer___closed__5); +l_Lean_Parser_Term_have_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_have_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_have_parenthesizer___closed__6); +l_Lean_Parser_Term_have_parenthesizer___closed__7 = _init_l_Lean_Parser_Term_have_parenthesizer___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_have_parenthesizer___closed__7); l___regBuiltin_Lean_Parser_Term_have_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_have_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_have_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_have_parenthesizer(lean_io_mk_world()); @@ -80534,6 +84753,8 @@ l_Lean_Parser_Term_suffices_formatter___closed__5 = _init_l_Lean_Parser_Term_suf lean_mark_persistent(l_Lean_Parser_Term_suffices_formatter___closed__5); l_Lean_Parser_Term_suffices_formatter___closed__6 = _init_l_Lean_Parser_Term_suffices_formatter___closed__6(); lean_mark_persistent(l_Lean_Parser_Term_suffices_formatter___closed__6); +l_Lean_Parser_Term_suffices_formatter___closed__7 = _init_l_Lean_Parser_Term_suffices_formatter___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_suffices_formatter___closed__7); l___regBuiltin_Lean_Parser_Term_suffices_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_suffices_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_suffices_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_suffices_formatter(lean_io_mk_world()); @@ -80551,6 +84772,8 @@ l_Lean_Parser_Term_suffices_parenthesizer___closed__4 = _init_l_Lean_Parser_Term lean_mark_persistent(l_Lean_Parser_Term_suffices_parenthesizer___closed__4); l_Lean_Parser_Term_suffices_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_suffices_parenthesizer___closed__5(); lean_mark_persistent(l_Lean_Parser_Term_suffices_parenthesizer___closed__5); +l_Lean_Parser_Term_suffices_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_suffices_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_suffices_parenthesizer___closed__6); l___regBuiltin_Lean_Parser_Term_suffices_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_suffices_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_suffices_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_suffices_parenthesizer(lean_io_mk_world()); @@ -82806,6 +87029,8 @@ l_Lean_Parser_Term_let_formatter___closed__5 = _init_l_Lean_Parser_Term_let_form lean_mark_persistent(l_Lean_Parser_Term_let_formatter___closed__5); l_Lean_Parser_Term_let_formatter___closed__6 = _init_l_Lean_Parser_Term_let_formatter___closed__6(); lean_mark_persistent(l_Lean_Parser_Term_let_formatter___closed__6); +l_Lean_Parser_Term_let_formatter___closed__7 = _init_l_Lean_Parser_Term_let_formatter___closed__7(); +lean_mark_persistent(l_Lean_Parser_Term_let_formatter___closed__7); l___regBuiltin_Lean_Parser_Term_let_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_let_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_let_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_let_formatter(lean_io_mk_world()); @@ -82863,6 +87088,8 @@ l_Lean_Parser_Term_let_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_let_ lean_mark_persistent(l_Lean_Parser_Term_let_parenthesizer___closed__4); l_Lean_Parser_Term_let_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_let_parenthesizer___closed__5(); lean_mark_persistent(l_Lean_Parser_Term_let_parenthesizer___closed__5); +l_Lean_Parser_Term_let_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_let_parenthesizer___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_let_parenthesizer___closed__6); l___regBuiltin_Lean_Parser_Term_let_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_let_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_let_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_let_parenthesizer(lean_io_mk_world()); @@ -82900,6 +87127,8 @@ l_Lean_Parser_Term_let_x21___closed__6 = _init_l_Lean_Parser_Term_let_x21___clos lean_mark_persistent(l_Lean_Parser_Term_let_x21___closed__6); l_Lean_Parser_Term_let_x21___closed__7 = _init_l_Lean_Parser_Term_let_x21___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_let_x21___closed__7); +l_Lean_Parser_Term_let_x21___closed__8 = _init_l_Lean_Parser_Term_let_x21___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_let_x21___closed__8); l_Lean_Parser_Term_let_x21 = _init_l_Lean_Parser_Term_let_x21(); lean_mark_persistent(l_Lean_Parser_Term_let_x21); res = l___regBuiltinParser_Lean_Parser_Term_let_x21(lean_io_mk_world()); @@ -82913,6 +87142,10 @@ l_Lean_Parser_Term_let_x21_formatter___closed__3 = _init_l_Lean_Parser_Term_let_ lean_mark_persistent(l_Lean_Parser_Term_let_x21_formatter___closed__3); l_Lean_Parser_Term_let_x21_formatter___closed__4 = _init_l_Lean_Parser_Term_let_x21_formatter___closed__4(); lean_mark_persistent(l_Lean_Parser_Term_let_x21_formatter___closed__4); +l_Lean_Parser_Term_let_x21_formatter___closed__5 = _init_l_Lean_Parser_Term_let_x21_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_let_x21_formatter___closed__5); +l_Lean_Parser_Term_let_x21_formatter___closed__6 = _init_l_Lean_Parser_Term_let_x21_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_let_x21_formatter___closed__6); l___regBuiltin_Lean_Parser_Term_let_x21_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_let_x21_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_let_x21_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_let_x21_formatter(lean_io_mk_world()); @@ -83100,6 +87333,8 @@ l_Lean_Parser_Term_letrec_formatter___closed__11 = _init_l_Lean_Parser_Term_letr lean_mark_persistent(l_Lean_Parser_Term_letrec_formatter___closed__11); l_Lean_Parser_Term_letrec_formatter___closed__12 = _init_l_Lean_Parser_Term_letrec_formatter___closed__12(); lean_mark_persistent(l_Lean_Parser_Term_letrec_formatter___closed__12); +l_Lean_Parser_Term_letrec_formatter___closed__13 = _init_l_Lean_Parser_Term_letrec_formatter___closed__13(); +lean_mark_persistent(l_Lean_Parser_Term_letrec_formatter___closed__13); l___regBuiltin_Lean_Parser_Term_letrec_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_letrec_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letrec_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_letrec_formatter(lean_io_mk_world()); @@ -83151,6 +87386,8 @@ l_Lean_Parser_Term_letrec_parenthesizer___closed__9 = _init_l_Lean_Parser_Term_l lean_mark_persistent(l_Lean_Parser_Term_letrec_parenthesizer___closed__9); l_Lean_Parser_Term_letrec_parenthesizer___closed__10 = _init_l_Lean_Parser_Term_letrec_parenthesizer___closed__10(); lean_mark_persistent(l_Lean_Parser_Term_letrec_parenthesizer___closed__10); +l_Lean_Parser_Term_letrec_parenthesizer___closed__11 = _init_l_Lean_Parser_Term_letrec_parenthesizer___closed__11(); +lean_mark_persistent(l_Lean_Parser_Term_letrec_parenthesizer___closed__11); l___regBuiltin_Lean_Parser_Term_letrec_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_letrec_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_letrec_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_letrec_parenthesizer(lean_io_mk_world()); @@ -85582,6 +89819,8 @@ l_Lean_Parser_Term_dbgTrace_formatter___closed__4 = _init_l_Lean_Parser_Term_dbg lean_mark_persistent(l_Lean_Parser_Term_dbgTrace_formatter___closed__4); l_Lean_Parser_Term_dbgTrace_formatter___closed__5 = _init_l_Lean_Parser_Term_dbgTrace_formatter___closed__5(); lean_mark_persistent(l_Lean_Parser_Term_dbgTrace_formatter___closed__5); +l_Lean_Parser_Term_dbgTrace_formatter___closed__6 = _init_l_Lean_Parser_Term_dbgTrace_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_dbgTrace_formatter___closed__6); l___regBuiltin_Lean_Parser_Term_dbgTrace_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_dbgTrace_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_dbgTrace_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_dbgTrace_formatter(lean_io_mk_world()); @@ -85591,6 +89830,12 @@ l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1 = _init_l_Lean_Parser_Term lean_mark_persistent(l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1); l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__2(); lean_mark_persistent(l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__2); +l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__3); +l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__4); +l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__5 = _init_l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__5); l___regBuiltin_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_dbgTrace_parenthesizer(lean_io_mk_world()); @@ -85628,6 +89873,8 @@ l_Lean_Parser_Term_assert___closed__6 = _init_l_Lean_Parser_Term_assert___closed lean_mark_persistent(l_Lean_Parser_Term_assert___closed__6); l_Lean_Parser_Term_assert___closed__7 = _init_l_Lean_Parser_Term_assert___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_assert___closed__7); +l_Lean_Parser_Term_assert___closed__8 = _init_l_Lean_Parser_Term_assert___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_assert___closed__8); l_Lean_Parser_Term_assert = _init_l_Lean_Parser_Term_assert(); lean_mark_persistent(l_Lean_Parser_Term_assert); res = l___regBuiltinParser_Lean_Parser_Term_assert(lean_io_mk_world()); @@ -85641,6 +89888,10 @@ l_Lean_Parser_Term_assert_formatter___closed__3 = _init_l_Lean_Parser_Term_asser lean_mark_persistent(l_Lean_Parser_Term_assert_formatter___closed__3); l_Lean_Parser_Term_assert_formatter___closed__4 = _init_l_Lean_Parser_Term_assert_formatter___closed__4(); lean_mark_persistent(l_Lean_Parser_Term_assert_formatter___closed__4); +l_Lean_Parser_Term_assert_formatter___closed__5 = _init_l_Lean_Parser_Term_assert_formatter___closed__5(); +lean_mark_persistent(l_Lean_Parser_Term_assert_formatter___closed__5); +l_Lean_Parser_Term_assert_formatter___closed__6 = _init_l_Lean_Parser_Term_assert_formatter___closed__6(); +lean_mark_persistent(l_Lean_Parser_Term_assert_formatter___closed__6); l___regBuiltin_Lean_Parser_Term_assert_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_assert_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_assert_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_assert_formatter(lean_io_mk_world());