diff --git a/stage0/src/Init/Lean/Elab/TermBinders.lean b/stage0/src/Init/Lean/Elab/TermBinders.lean index c689156353..f042be48e9 100644 --- a/stage0/src/Init/Lean/Elab/TermBinders.lean +++ b/stage0/src/Init/Lean/Elab/TermBinders.lean @@ -170,7 +170,7 @@ private partial def getFunBinderIdsAux? : Bool → Syntax → Array Syntax → T getFunBinderIdsAux? true a acc | `(_) => do ident ← mkFreshAnonymousIdent stx; pure (some (acc.push ident)) | stx => - match stx.isSimpleTermId? with + match stx.isSimpleTermId? true with | some id => pure (some (acc.push id)) | _ => pure none @@ -215,7 +215,7 @@ private partial def expandFunBindersAux (binders : Array Syntax) : Syntax → Na | some idents => expandFunBindersAux body (i+1) (newBinders ++ idents.map (fun ident => mkExplicitBinder ident type)) | none => processAsPattern () | binder => - match binder.isTermId? with + match binder.isTermId? true with | some (ident, extra) => do unless extra.isNone $ throwError binder "invalid binder, simple identifier expected"; let type := mkHole binder; diff --git a/stage0/src/Init/Lean/Parser/Parser.lean b/stage0/src/Init/Lean/Parser/Parser.lean index ff653c09d7..166f0edb11 100644 --- a/stage0/src/Init/Lean/Parser/Parser.lean +++ b/stage0/src/Init/Lean/Parser/Parser.lean @@ -14,24 +14,6 @@ import Init.Lean.Message import Init.Lean.Compiler.InitAttr namespace Lean - -namespace Syntax - -def isNone (stx : Syntax) : Bool := -stx.ifNode (fun n => n.getKind == nullKind && n.getNumArgs == 0) (fun n => false) - -def getOptional? (s : Syntax) : Option Syntax := -s.ifNode - (fun n => if n.getKind == nullKind && n.getNumArgs == 1 then some (n.getArg 0) else none) - (fun _ => none) - -def getOptionalIdent? (stx : Syntax) : Option Name := -match stx.getOptional? with -| some stx => some stx.getId -| none => none - -end Syntax - namespace Parser def isLitKind (k : SyntaxNodeKind) : Bool := @@ -1376,12 +1358,12 @@ match stx with | some (Syntax.ident _ _ val _) => if leadingIdentAsSymbol then match map.find val with - | some as => match map.find `ident with + | some as => match map.find identKind with | some as' => (s, as ++ as') | _ => (s, as) - | none => find `ident + | none => find identKind else - find `ident + find identKind | some (Syntax.node k _) => find k | _ => (s, []) @@ -1509,11 +1491,11 @@ node kind $ try $ dollarSymbol >> checkNoWsBefore "no space before" >> antiquotE /- ===================== -/ def ident {k : ParserKind} : Parser k := -mkAntiquot "ident" `ident <|> identNoAntiquot +mkAntiquot "ident" identKind <|> identNoAntiquot -- `ident` and `rawIdent` produce the same syntax tree, so we reuse the antiquotation kind name def rawIdent {k : ParserKind} : Parser k := -mkAntiquot "ident" `ident <|> rawIdentNoAntiquot +mkAntiquot "ident" identKind <|> rawIdentNoAntiquot def numLit {k : ParserKind} : Parser k := mkAntiquot "numLit" numLitKind <|> numLitNoAntiquot @@ -1825,7 +1807,7 @@ parserExtension.addEntry env $ ParserExtensionEntry.kind k def isValidSyntaxNodeKind (env : Environment) (k : SyntaxNodeKind) : Bool := let kinds := (parserExtension.getState env).kinds; -kinds.contains k || k == choiceKind || isLitKind k +kinds.contains k || k == choiceKind || k == identKind || isLitKind k def getSyntaxNodeKinds (env : Environment) : List SyntaxNodeKind := do let kinds := (parserExtension.getState env).kinds; diff --git a/stage0/src/Init/Lean/Parser/Term.lean b/stage0/src/Init/Lean/Parser/Term.lean index f494e95e9d..fc749e0567 100644 --- a/stage0/src/Init/Lean/Parser/Term.lean +++ b/stage0/src/Init/Lean/Parser/Term.lean @@ -176,25 +176,4 @@ def checkIsSort := checkLeading (fun leading => leading.isOfKind `Lean.Parser.Te end Term end Parser - -open Parser - -def Syntax.isTermId? (stx : Syntax) : Option (Syntax × Syntax) := -stx.ifNode - (fun node => - if node.getKind == `Lean.Parser.Term.id && node.getNumArgs == 2 then - some (node.getArg 0, node.getArg 1) - else - none) - (fun _ => none) - -def Syntax.isSimpleTermId? (stx : Syntax) : Option Syntax := -stx.ifNode - (fun node => - if node.getKind == `Lean.Parser.Term.id && node.getNumArgs == 2 && (node.getArg 1).isNone then - some (node.getArg 0) - else - none) - (fun _ => none) - end Lean diff --git a/stage0/src/Init/Lean/Syntax.lean b/stage0/src/Init/Lean/Syntax.lean index 2d6ff22b63..ee5aa54ec8 100644 --- a/stage0/src/Init/Lean/Syntax.lean +++ b/stage0/src/Init/Lean/Syntax.lean @@ -92,18 +92,6 @@ match stx with | Syntax.node k args => if k == kind then hyes ⟨Syntax.node k args, IsNode.mk k args⟩ else hno () | _ => hno () -def isAtom : Syntax → Bool -| atom _ _ => true -| _ => false - -def isIdent : Syntax → Bool -| ident _ _ _ _ => true -| _ => false - -def getId : Syntax → Name -| ident _ _ val _ => val -| _ => Name.anonymous - def asNode : Syntax → SyntaxNode | Syntax.node kind args => ⟨Syntax.node kind args, IsNode.mk kind args⟩ | _ => ⟨Syntax.node nullKind #[], IsNode.mk nullKind #[]⟩ diff --git a/stage0/src/Init/LeanInit.lean b/stage0/src/Init/LeanInit.lean index ec3c1234c4..d135c5a47e 100644 --- a/stage0/src/Init/LeanInit.lean +++ b/stage0/src/Init/LeanInit.lean @@ -206,6 +206,16 @@ inductive Syntax instance Syntax.inhabited : Inhabited Syntax := ⟨Syntax.missing⟩ +/- Builtin kinds -/ +def choiceKind : SyntaxNodeKind := `choice +def nullKind : SyntaxNodeKind := `null +def identKind : SyntaxNodeKind := `ident +def strLitKind : SyntaxNodeKind := `strLit +def charLitKind : SyntaxNodeKind := `charLit +def numLitKind : SyntaxNodeKind := `numLit +def nameLitKind : SyntaxNodeKind := `nameLit +def fieldIdxKind : SyntaxNodeKind := `fieldIdx + namespace Syntax def getKind (stx : Syntax) : SyntaxNodeKind := @@ -216,7 +226,7 @@ match stx with -- is compiled to ``if stx.isOfKind `ident ...`` | Syntax.missing => `missing | Syntax.atom _ v => mkNameSimple v -| Syntax.ident _ _ _ _ => `ident +| Syntax.ident _ _ _ _ => identKind def isOfKind : Syntax → SyntaxNodeKind → Bool | stx, k => stx.getKind == k @@ -402,16 +412,6 @@ instance MacroM.monadQuotation : MonadQuotation MacroM := abbrev Macro := Syntax → MacroM Syntax -/- Builtin kinds -/ - -@[matchPattern] def choiceKind : SyntaxNodeKind := `choice -@[matchPattern] def nullKind : SyntaxNodeKind := `null -def strLitKind : SyntaxNodeKind := `strLit -def charLitKind : SyntaxNodeKind := `charLit -def numLitKind : SyntaxNodeKind := `numLit -def nameLitKind : SyntaxNodeKind := `nameLit -def fieldIdxKind : SyntaxNodeKind := `fieldIdx - /- Helper functions for processing Syntax programmatically -/ /-- @@ -700,6 +700,56 @@ match stx.isStrLit? with def termIdToAntiquot (var : Syntax) (catName : String) : Syntax := Syntax.node `Lean.Parser.antiquot #[mkAtomFrom var "$", var, mkAtomFrom var ":", mkAtomFrom var catName, mkNullNode] +def isAtom : Syntax → Bool +| atom _ _ => true +| _ => false + +def isIdent : Syntax → Bool +| ident _ _ _ _ => true +| _ => false + +def getId : Syntax → Name +| ident _ _ val _ => val +| _ => Name.anonymous + +def isNone (stx : Syntax) : Bool := +match stx with +| Syntax.node k args => k == nullKind && args.size == 0 +| _ => false + +def getOptional? (stx : Syntax) : Option Syntax := +match stx with +| Syntax.node k args => if k == nullKind && args.size == 1 then some (args.get! 0) else none +| _ => none + +def getOptionalIdent? (stx : Syntax) : Option Name := +match stx.getOptional? with +| some stx => some stx.getId +| none => none + +/-- + Return `some (id, opt)` if `stx` is a Lean term id. + The `Lean.Parser.Term.id` parser is `ident >> optional (explicitUniv <|> namedPattern)`. + + If `relaxed == true` and `stx` is a raw identifier ``, it returns `some (, noneStx)`. + This feature is useful when we want to implement elaboration functions and macros + that have support for raw identifiers where a term is expected. -/ +def isTermId? (stx : Syntax) (relaxed : Bool := false) : Option (Syntax × Syntax) := +match stx with +| Syntax.node k args => + if k == `Lean.Parser.Term.id && args.size == 2 then + some (args.get! 0, args.get! 1) + else + none +| id@(Syntax.ident _ _ _ _) => if relaxed then some (id, mkNullNode) else none +| _ => none + +/-- Similar to `isTermId?`, but succeeds only if the optional part is a `none`. -/ +def isSimpleTermId? (stx : Syntax) (relaxed : Bool := false) : Option Syntax := +match stx.isTermId? relaxed with +| some (id, opt) => if opt.isNone then some id else none +| none => none + end Syntax end Lean diff --git a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c index fd7ce27e83..b84a8dac7f 100644 --- a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c @@ -82,6 +82,7 @@ lean_object* l_Lean_Elab_Term_elabAnoymousCtor___closed__14; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabShow___closed__2; lean_object* l_Lean_Elab_Term_elabDollar___lambda__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_seqLeft___elambda__1___closed__1; +extern lean_object* l_Lean_identKind___closed__2; lean_object* l_Lean_Elab_Term_elabseqLeft___closed__3; extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAnd(lean_object*); @@ -210,7 +211,6 @@ lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__21; lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHave___closed__2; extern lean_object* l_Lean_Parser_Term_div___elambda__1___closed__2; -extern lean_object* l_Lean_Syntax_getKind___closed__4; lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabGT___closed__1; @@ -791,7 +791,7 @@ else { lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; x_17 = l_Lean_Syntax_getArg(x_13, x_12); -x_18 = l_Lean_Syntax_getKind___closed__4; +x_18 = l_Lean_identKind___closed__2; lean_inc(x_17); x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); x_20 = l_coeDecidableEq(x_19); diff --git a/stage0/stdlib/Init/Lean/Elab/Command.c b/stage0/stdlib/Init/Lean/Elab/Command.c index 7e8bff9c6f..6ff7b005b6 100644 --- a/stage0/stdlib/Init/Lean/Elab/Command.c +++ b/stage0/stdlib/Init/Lean/Elab/Command.c @@ -75,6 +75,7 @@ lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute; lean_object* l_Lean_Elab_Command_elabUniverse(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_identKind___closed__2; lean_object* l_Lean_Elab_Command_withNamespace___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; lean_object* l___private_Init_Lean_Elab_Command_10__toCommandResult(lean_object*, lean_object*); @@ -198,7 +199,6 @@ lean_object* l_Lean_Elab_Command_mkBuiltinCommandElabTable(lean_object*); lean_object* l_Lean_Elab_Command_addOpenDecl(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabVariables___closed__3; -extern lean_object* l_Lean_Syntax_getKind___closed__4; lean_object* l_Lean_Elab_Command_CommandElabM_monadLog___closed__9; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSynth___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -9304,7 +9304,7 @@ lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; uint8_t x x_44 = lean_unsigned_to_nat(0u); x_45 = l_Lean_Syntax_getArg(x_9, x_44); lean_dec(x_9); -x_46 = l_Lean_Syntax_getKind___closed__4; +x_46 = l_Lean_identKind___closed__2; lean_inc(x_45); x_47 = l_Lean_Syntax_isOfKind(x_45, x_46); x_48 = l_coeDecidableEq(x_47); diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index 497af77c32..01b16c3534 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -53,6 +53,7 @@ extern lean_object* l_Lean_nameToExprAux___main___closed__2; lean_object* l_List_head_x21___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__2___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_13__toPreterm___main___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26; +extern lean_object* l_Lean_identKind___closed__1; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_4__elimAntiquotChoices___main(lean_object*); lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); @@ -506,7 +507,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___spec__1___closed__1; -extern lean_object* l_Lean_Syntax_getKind___closed__3; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_13__toPreterm___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_findMAux___main___at___private_Init_Lean_Elab_Quotation_4__elimAntiquotChoices___main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at___private_Init_Lean_Elab_Quotation_10__getPatternVarsAux___main___spec__1(lean_object*); @@ -2398,7 +2398,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__14; -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2408,7 +2408,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__16; -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Init/Lean/Elab/Syntax.c b/stage0/stdlib/Init/Lean/Elab/Syntax.c index 304d983397..03482a8c3a 100644 --- a/stage0/stdlib/Init/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Init/Lean/Elab/Syntax.c @@ -56,6 +56,7 @@ lean_object* l_unreachable_x21___rarg(lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__26; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__4; +extern lean_object* l_Lean_identKind___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__92; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_expandNotation___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__1; @@ -71,6 +72,7 @@ lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabReserve___closed__1 lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__3; lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_identKind___closed__2; lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__37; extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Lean_Elab_Command_runTermElabM___rarg___closed__1; @@ -174,7 +176,6 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__100; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__53; lean_object* l_Lean_Elab_Command_expandMacroHeadIntoPattern(lean_object*, lean_object*); lean_object* l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -extern lean_object* l_Lean_Syntax_getKind___closed__4; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__42; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__112; lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__2; @@ -451,7 +452,6 @@ lean_object* l_Lean_Elab_Command_setEnv(lean_object*, lean_object*, lean_object* extern lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Syntax_7__antiquote___main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabReserve___boxed(lean_object*, lean_object*); -extern lean_object* l_Lean_Syntax_getKind___closed__3; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__3; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__130; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__9; @@ -1837,7 +1837,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__4; -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1847,7 +1847,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__6; -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -11239,7 +11239,7 @@ else lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_2, x_14); -x_16 = l_Lean_Syntax_getKind___closed__4; +x_16 = l_Lean_identKind___closed__2; lean_inc(x_15); x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); x_18 = l_coeDecidableEq(x_17); @@ -12466,7 +12466,7 @@ lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_dec(x_1); x_15 = lean_ctor_get(x_14, 1); lean_inc(x_15); -x_16 = l_Lean_Syntax_getKind___closed__3; +x_16 = l_Lean_identKind___closed__1; x_17 = lean_string_dec_eq(x_15, x_16); if (x_17 == 0) { diff --git a/stage0/stdlib/Init/Lean/Elab/TermApp.c b/stage0/stdlib/Init/Lean/Elab/TermApp.c index a2d7ad848b..61169aaa38 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermApp.c +++ b/stage0/stdlib/Init/Lean/Elab/TermApp.c @@ -50,6 +50,7 @@ extern lean_object* l_Option_get_x21___rarg___closed__3; lean_object* l___private_Init_Lean_Elab_TermApp_20__regTraceClasses(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__2; lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_identKind___closed__2; extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Prod_HasRepr___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__7; @@ -119,7 +120,6 @@ lean_object* l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___boxed(lean_o extern lean_object* l_Array_HasRepr___rarg___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayRef___closed__1; lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Syntax_getKind___closed__4; lean_object* l___private_Init_Lean_Elab_TermApp_3__elabArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; @@ -6461,7 +6461,7 @@ x_209 = l_coeDecidableEq(x_208); if (x_209 == 0) { lean_object* x_210; uint8_t x_211; uint8_t x_212; -x_210 = l_Lean_Syntax_getKind___closed__4; +x_210 = l_Lean_identKind___closed__2; lean_inc(x_206); x_211 = l_Lean_Syntax_isOfKind(x_206, x_210); x_212 = l_coeDecidableEq(x_211); @@ -7501,7 +7501,7 @@ else lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; uint8_t x_74; x_70 = lean_unsigned_to_nat(0u); x_71 = l_Lean_Syntax_getArg(x_2, x_70); -x_72 = l_Lean_Syntax_getKind___closed__4; +x_72 = l_Lean_identKind___closed__2; lean_inc(x_71); x_73 = l_Lean_Syntax_isOfKind(x_71, x_72); x_74 = l_coeDecidableEq(x_73); diff --git a/stage0/stdlib/Init/Lean/Elab/TermBinders.c b/stage0/stdlib/Init/Lean/Elab/TermBinders.c index 7fb46bf0d4..13fbbc8da0 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermBinders.c +++ b/stage0/stdlib/Init/Lean/Elab/TermBinders.c @@ -91,7 +91,7 @@ lean_object* l_Lean_Elab_Term_mkLet(lean_object*, lean_object*, lean_object*, le lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_5__matchBinder___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getOptions(lean_object*, lean_object*); extern lean_object* l_Lean_mkTermIdFromIdent___closed__2; -lean_object* l_Lean_Syntax_isSimpleTermId_x3f(lean_object*); +lean_object* l_Lean_Syntax_isSimpleTermId_x3f(lean_object*, uint8_t); lean_object* l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__8; lean_object* l___private_Init_Lean_Elab_TermBinders_12__regTraceClasses(lean_object*); extern lean_object* l_Lean_Parser_Term_letIdDecl___elambda__1___closed__2; @@ -201,7 +201,7 @@ extern lean_object* l_Lean_Expr_getOptParamDefault_x3f___closed__1; lean_object* l_Lean_Elab_Term_elabLetIdDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__2; lean_object* l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__7; -lean_object* l_Lean_Syntax_isTermId_x3f(lean_object*); +lean_object* l_Lean_Syntax_isTermId_x3f(lean_object*, uint8_t); extern lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); @@ -3974,30 +3974,30 @@ return x_5; lean_object* l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_6; lean_object* x_120; uint8_t x_121; -x_120 = l_Lean_mkAppStx___closed__8; +uint8_t x_6; lean_object* x_124; uint8_t x_125; +x_124 = l_Lean_mkAppStx___closed__8; lean_inc(x_2); -x_121 = l_Lean_Syntax_isOfKind(x_2, x_120); -if (x_121 == 0) +x_125 = l_Lean_Syntax_isOfKind(x_2, x_124); +if (x_125 == 0) { -uint8_t x_122; -x_122 = 0; -x_6 = x_122; -goto block_119; +uint8_t x_126; +x_126 = 0; +x_6 = x_126; +goto block_123; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; -x_123 = l_Lean_Syntax_getArgs(x_2); -x_124 = lean_array_get_size(x_123); -lean_dec(x_123); -x_125 = lean_unsigned_to_nat(2u); -x_126 = lean_nat_dec_eq(x_124, x_125); -lean_dec(x_124); -x_6 = x_126; -goto block_119; +lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; +x_127 = l_Lean_Syntax_getArgs(x_2); +x_128 = lean_array_get_size(x_127); +lean_dec(x_127); +x_129 = lean_unsigned_to_nat(2u); +x_130 = lean_nat_dec_eq(x_128, x_129); +lean_dec(x_128); +x_6 = x_130; +goto block_123; } -block_119: +block_123: { uint8_t x_7; x_7 = l_coeDecidableEq(x_6); @@ -4013,234 +4013,234 @@ uint8_t x_10; x_10 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_10 == 0) { -lean_object* x_11; -x_11 = l_Lean_Syntax_isSimpleTermId_x3f(x_2); -lean_dec(x_2); -if (lean_obj_tag(x_11) == 0) +uint8_t x_11; lean_object* x_12; +x_11 = 1; +x_12 = l_Lean_Syntax_isSimpleTermId_x3f(x_2, x_11); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_12; lean_object* x_13; +lean_object* x_13; lean_object* x_14; lean_dec(x_3); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_5); -return x_13; +x_13 = lean_box(0); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_5); +return x_14; } else { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_11); -if (x_14 == 0) +uint8_t x_15; +x_15 = !lean_is_exclusive(x_12); +if (x_15 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_array_push(x_3, x_15); -lean_ctor_set(x_11, 0, x_16); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_11); -lean_ctor_set(x_17, 1, x_5); -return x_17; +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_12, 0); +x_17 = lean_array_push(x_3, x_16); +lean_ctor_set(x_12, 0, x_17); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_12); +lean_ctor_set(x_18, 1, x_5); +return x_18; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_11, 0); -lean_inc(x_18); -lean_dec(x_11); -x_19 = lean_array_push(x_3, x_18); -x_20 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_20, 0, x_19); -x_21 = lean_alloc_ctor(0, 2, 0); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_ctor_get(x_12, 0); +lean_inc(x_19); +lean_dec(x_12); +x_20 = lean_array_push(x_3, x_19); +x_21 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_5); -return x_21; -} -} -} -else -{ -lean_object* x_22; uint8_t x_23; -x_22 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_2, x_4, x_5); -lean_dec(x_2); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_22, 0); -x_25 = lean_array_push(x_3, x_24); -x_26 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_22, 0, x_26); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_5); return x_22; } +} +} else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = lean_ctor_get(x_22, 0); -x_28 = lean_ctor_get(x_22, 1); +lean_object* x_23; uint8_t x_24; +x_23 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_2, x_4, x_5); +lean_dec(x_2); +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_array_push(x_3, x_25); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_23, 0, x_27); +return x_23; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_28 = lean_ctor_get(x_23, 0); +x_29 = lean_ctor_get(x_23, 1); +lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_22); -x_29 = lean_array_push(x_3, x_27); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_29); -x_31 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_23); +x_30 = lean_array_push(x_3, x_28); +x_31 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_28); -return x_31; +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_29); +return x_32; } } } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; -x_32 = l_Lean_Syntax_getArgs(x_2); -x_33 = lean_array_get_size(x_32); -lean_dec(x_32); -x_34 = lean_unsigned_to_nat(1u); -x_35 = lean_nat_dec_eq(x_33, x_34); +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; uint8_t x_37; +x_33 = l_Lean_Syntax_getArgs(x_2); +x_34 = lean_array_get_size(x_33); lean_dec(x_33); -x_36 = l_coeDecidableEq(x_35); -if (x_36 == 0) +x_35 = lean_unsigned_to_nat(1u); +x_36 = lean_nat_dec_eq(x_34, x_35); +lean_dec(x_34); +x_37 = l_coeDecidableEq(x_36); +if (x_37 == 0) { -lean_object* x_37; -x_37 = l_Lean_Syntax_isSimpleTermId_x3f(x_2); -lean_dec(x_2); -if (lean_obj_tag(x_37) == 0) +uint8_t x_38; lean_object* x_39; +x_38 = 1; +x_39 = l_Lean_Syntax_isSimpleTermId_x3f(x_2, x_38); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_38; lean_object* x_39; +lean_object* x_40; lean_object* x_41; lean_dec(x_3); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_5); -return x_39; +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_5); +return x_41; } else { -uint8_t x_40; -x_40 = !lean_is_exclusive(x_37); -if (x_40 == 0) +uint8_t x_42; +x_42 = !lean_is_exclusive(x_39); +if (x_42 == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_37, 0); -x_42 = lean_array_push(x_3, x_41); -lean_ctor_set(x_37, 0, x_42); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_37); -lean_ctor_set(x_43, 1, x_5); -return x_43; +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_39, 0); +x_44 = lean_array_push(x_3, x_43); +lean_ctor_set(x_39, 0, x_44); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_39); +lean_ctor_set(x_45, 1, x_5); +return x_45; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_44 = lean_ctor_get(x_37, 0); -lean_inc(x_44); -lean_dec(x_37); -x_45 = lean_array_push(x_3, x_44); -x_46 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_46, 0, x_45); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_5); -return x_47; +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_46 = lean_ctor_get(x_39, 0); +lean_inc(x_46); +lean_dec(x_39); +x_47 = lean_array_push(x_3, x_46); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_5); +return x_49; } } } else { -lean_object* x_48; uint8_t x_49; -x_48 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_2, x_4, x_5); +lean_object* x_50; uint8_t x_51; +x_50 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_2, x_4, x_5); lean_dec(x_2); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) +x_51 = !lean_is_exclusive(x_50); +if (x_51 == 0) { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_48, 0); -x_51 = lean_array_push(x_3, x_50); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_48, 0, x_52); -return x_48; +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_50, 0); +x_53 = lean_array_push(x_3, x_52); +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_50, 0, x_54); +return x_50; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_53 = lean_ctor_get(x_48, 0); -x_54 = lean_ctor_get(x_48, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_48); -x_55 = lean_array_push(x_3, x_53); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_55); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_54); -return x_57; +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_50, 0); +x_56 = lean_ctor_get(x_50, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_50); +x_57 = lean_array_push(x_3, x_55); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_57); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +return x_59; } } } } else { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_58 = lean_unsigned_to_nat(0u); -x_59 = l_Lean_Syntax_getArg(x_2, x_58); -x_60 = lean_unsigned_to_nat(1u); +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_60 = lean_unsigned_to_nat(0u); x_61 = l_Lean_Syntax_getArg(x_2, x_60); -x_62 = l_Lean_nullKind___closed__2; -lean_inc(x_61); -x_63 = l_Lean_Syntax_isOfKind(x_61, x_62); -if (x_63 == 0) +x_62 = lean_unsigned_to_nat(1u); +x_63 = l_Lean_Syntax_getArg(x_2, x_62); +x_64 = l_Lean_nullKind___closed__2; +lean_inc(x_63); +x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); +if (x_65 == 0) { -uint8_t x_64; -x_64 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; -if (x_64 == 0) +uint8_t x_66; +x_66 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +if (x_66 == 0) { -lean_object* x_65; +uint8_t x_67; lean_object* x_68; +lean_dec(x_63); lean_dec(x_61); -lean_dec(x_59); -x_65 = l_Lean_Syntax_isSimpleTermId_x3f(x_2); -lean_dec(x_2); -if (lean_obj_tag(x_65) == 0) +x_67 = 1; +x_68 = l_Lean_Syntax_isSimpleTermId_x3f(x_2, x_67); +if (lean_obj_tag(x_68) == 0) { -lean_object* x_66; lean_object* x_67; +lean_object* x_69; lean_object* x_70; lean_dec(x_3); -x_66 = lean_box(0); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_5); -return x_67; +x_69 = lean_box(0); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_5); +return x_70; } else { -uint8_t x_68; -x_68 = !lean_is_exclusive(x_65); -if (x_68 == 0) +uint8_t x_71; +x_71 = !lean_is_exclusive(x_68); +if (x_71 == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_65, 0); -x_70 = lean_array_push(x_3, x_69); -lean_ctor_set(x_65, 0, x_70); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_65); -lean_ctor_set(x_71, 1, x_5); -return x_71; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_72 = lean_ctor_get(x_65, 0); -lean_inc(x_72); -lean_dec(x_65); +lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_72 = lean_ctor_get(x_68, 0); x_73 = lean_array_push(x_3, x_72); -x_74 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_74, 0, x_73); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_5); -return x_75; +lean_ctor_set(x_68, 0, x_73); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_68); +lean_ctor_set(x_74, 1, x_5); +return x_74; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_75 = lean_ctor_get(x_68, 0); +lean_inc(x_75); +lean_dec(x_68); +x_76 = lean_array_push(x_3, x_75); +x_77 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_77, 0, x_76); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_5); +return x_78; } } } @@ -4249,123 +4249,123 @@ else lean_dec(x_2); if (x_1 == 0) { -lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; -x_76 = l_Lean_Syntax_getArg(x_61, x_58); -lean_dec(x_61); -x_77 = 0; -x_78 = l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main(x_77, x_59, x_3, x_4, x_5); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -if (lean_obj_tag(x_79) == 0) -{ -uint8_t x_80; -lean_dec(x_76); -x_80 = !lean_is_exclusive(x_78); -if (x_80 == 0) -{ -lean_object* x_81; -x_81 = lean_ctor_get(x_78, 0); -lean_dec(x_81); -return x_78; -} -else -{ -lean_object* x_82; lean_object* x_83; -x_82 = lean_ctor_get(x_78, 1); +lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; +x_79 = l_Lean_Syntax_getArg(x_63, x_60); +lean_dec(x_63); +x_80 = 0; +x_81 = l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main(x_80, x_61, x_3, x_4, x_5); +x_82 = lean_ctor_get(x_81, 0); lean_inc(x_82); -lean_dec(x_78); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_79); -lean_ctor_set(x_83, 1, x_82); -return x_83; +if (lean_obj_tag(x_82) == 0) +{ +uint8_t x_83; +lean_dec(x_79); +x_83 = !lean_is_exclusive(x_81); +if (x_83 == 0) +{ +lean_object* x_84; +x_84 = lean_ctor_get(x_81, 0); +lean_dec(x_84); +return x_81; +} +else +{ +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_81, 1); +lean_inc(x_85); +lean_dec(x_81); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_82); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } else { -lean_object* x_84; lean_object* x_85; uint8_t x_86; -x_84 = lean_ctor_get(x_78, 1); -lean_inc(x_84); -lean_dec(x_78); -x_85 = lean_ctor_get(x_79, 0); -lean_inc(x_85); -lean_dec(x_79); -x_86 = 1; -x_1 = x_86; -x_2 = x_76; -x_3 = x_85; -x_5 = x_84; +lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_87 = lean_ctor_get(x_81, 1); +lean_inc(x_87); +lean_dec(x_81); +x_88 = lean_ctor_get(x_82, 0); +lean_inc(x_88); +lean_dec(x_82); +x_89 = 1; +x_1 = x_89; +x_2 = x_79; +x_3 = x_88; +x_5 = x_87; goto _start; } } else { -lean_object* x_88; lean_object* x_89; +lean_object* x_91; lean_object* x_92; +lean_dec(x_63); lean_dec(x_61); -lean_dec(x_59); lean_dec(x_3); -x_88 = lean_box(0); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_5); -return x_89; +x_91 = lean_box(0); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_5); +return x_92; } } } else { -lean_object* x_90; lean_object* x_91; uint8_t x_92; uint8_t x_93; -x_90 = l_Lean_Syntax_getArgs(x_61); -x_91 = lean_array_get_size(x_90); -lean_dec(x_90); -x_92 = lean_nat_dec_eq(x_91, x_60); -lean_dec(x_91); -x_93 = l_coeDecidableEq(x_92); -if (x_93 == 0) +lean_object* x_93; lean_object* x_94; uint8_t x_95; uint8_t x_96; +x_93 = l_Lean_Syntax_getArgs(x_63); +x_94 = lean_array_get_size(x_93); +lean_dec(x_93); +x_95 = lean_nat_dec_eq(x_94, x_62); +lean_dec(x_94); +x_96 = l_coeDecidableEq(x_95); +if (x_96 == 0) { -lean_object* x_94; +uint8_t x_97; lean_object* x_98; +lean_dec(x_63); lean_dec(x_61); -lean_dec(x_59); -x_94 = l_Lean_Syntax_isSimpleTermId_x3f(x_2); -lean_dec(x_2); -if (lean_obj_tag(x_94) == 0) +x_97 = 1; +x_98 = l_Lean_Syntax_isSimpleTermId_x3f(x_2, x_97); +if (lean_obj_tag(x_98) == 0) { -lean_object* x_95; lean_object* x_96; +lean_object* x_99; lean_object* x_100; lean_dec(x_3); -x_95 = lean_box(0); -x_96 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_5); -return x_96; -} -else -{ -uint8_t x_97; -x_97 = !lean_is_exclusive(x_94); -if (x_97 == 0) -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_94, 0); -x_99 = lean_array_push(x_3, x_98); -lean_ctor_set(x_94, 0, x_99); +x_99 = lean_box(0); x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_94); +lean_ctor_set(x_100, 0, x_99); lean_ctor_set(x_100, 1, x_5); return x_100; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_101 = lean_ctor_get(x_94, 0); -lean_inc(x_101); -lean_dec(x_94); -x_102 = lean_array_push(x_3, x_101); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_102); +uint8_t x_101; +x_101 = !lean_is_exclusive(x_98); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_98, 0); +x_103 = lean_array_push(x_3, x_102); +lean_ctor_set(x_98, 0, x_103); x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 0, x_98); lean_ctor_set(x_104, 1, x_5); return x_104; } +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_105 = lean_ctor_get(x_98, 0); +lean_inc(x_105); +lean_dec(x_98); +x_106 = lean_array_push(x_3, x_105); +x_107 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_107, 0, x_106); +x_108 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_5); +return x_108; +} } } else @@ -4373,65 +4373,65 @@ else lean_dec(x_2); if (x_1 == 0) { -lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; -x_105 = l_Lean_Syntax_getArg(x_61, x_58); -lean_dec(x_61); -x_106 = 0; -x_107 = l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main(x_106, x_59, x_3, x_4, x_5); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -if (lean_obj_tag(x_108) == 0) +lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; +x_109 = l_Lean_Syntax_getArg(x_63, x_60); +lean_dec(x_63); +x_110 = 0; +x_111 = l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main(x_110, x_61, x_3, x_4, x_5); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +if (lean_obj_tag(x_112) == 0) { -uint8_t x_109; -lean_dec(x_105); -x_109 = !lean_is_exclusive(x_107); -if (x_109 == 0) +uint8_t x_113; +lean_dec(x_109); +x_113 = !lean_is_exclusive(x_111); +if (x_113 == 0) { -lean_object* x_110; -x_110 = lean_ctor_get(x_107, 0); -lean_dec(x_110); -return x_107; +lean_object* x_114; +x_114 = lean_ctor_get(x_111, 0); +lean_dec(x_114); +return x_111; } else { -lean_object* x_111; lean_object* x_112; -x_111 = lean_ctor_get(x_107, 1); -lean_inc(x_111); -lean_dec(x_107); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_108); -lean_ctor_set(x_112, 1, x_111); -return x_112; +lean_object* x_115; lean_object* x_116; +x_115 = lean_ctor_get(x_111, 1); +lean_inc(x_115); +lean_dec(x_111); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_112); +lean_ctor_set(x_116, 1, x_115); +return x_116; } } else { -lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_113 = lean_ctor_get(x_107, 1); -lean_inc(x_113); -lean_dec(x_107); -x_114 = lean_ctor_get(x_108, 0); -lean_inc(x_114); -lean_dec(x_108); -x_115 = 1; -x_1 = x_115; -x_2 = x_105; -x_3 = x_114; -x_5 = x_113; +lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_117 = lean_ctor_get(x_111, 1); +lean_inc(x_117); +lean_dec(x_111); +x_118 = lean_ctor_get(x_112, 0); +lean_inc(x_118); +lean_dec(x_112); +x_119 = 1; +x_1 = x_119; +x_2 = x_109; +x_3 = x_118; +x_5 = x_117; goto _start; } } else { -lean_object* x_117; lean_object* x_118; +lean_object* x_121; lean_object* x_122; +lean_dec(x_63); lean_dec(x_61); -lean_dec(x_59); lean_dec(x_3); -x_117 = lean_box(0); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_5); -return x_118; +x_121 = lean_box(0); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_5); +return x_122; } } } @@ -4706,7 +4706,7 @@ x_31 = lean_string_dec_eq(x_28, x_30); lean_dec(x_28); if (x_31 == 0) { -lean_object* x_32; +uint8_t x_32; lean_object* x_33; lean_free_object(x_15); lean_free_object(x_14); lean_dec(x_25); @@ -4715,2846 +4715,2854 @@ lean_dec(x_22); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_32 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_32) == 0) +x_32 = 1; +lean_inc(x_11); +x_33 = l_Lean_Syntax_isTermId_x3f(x_11, x_32); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_33 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_34 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_35 = lean_ctor_get(x_34, 0); lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_unsigned_to_nat(1u); -x_37 = lean_nat_add(x_3, x_36); -lean_dec(x_3); -x_38 = l_Lean_mkHole(x_11); -lean_inc(x_34); -x_39 = l_Lean_Elab_Term_mkExplicitBinder(x_34, x_38); -x_40 = lean_array_push(x_4, x_39); -lean_inc(x_5); -x_41 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_37, x_40, x_5, x_35); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = !lean_is_exclusive(x_42); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_45 = lean_ctor_get(x_42, 1); -x_46 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_43); -lean_dec(x_5); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_dec(x_46); -x_48 = l_Lean_Elab_Term_getMainModule___rarg(x_47); -x_49 = !lean_is_exclusive(x_48); -if (x_49 == 0) -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_50 = lean_ctor_get(x_48, 0); -lean_dec(x_50); -x_51 = l_Array_empty___closed__1; -x_52 = lean_array_push(x_51, x_34); -x_53 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_54 = lean_array_push(x_52, x_53); -x_55 = l_Lean_mkTermIdFromIdent___closed__2; -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = lean_array_push(x_51, x_56); -x_58 = l_Lean_nullKind___closed__2; -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_57); -x_60 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_61 = lean_array_push(x_60, x_59); -x_62 = lean_array_push(x_61, x_53); -x_63 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_64 = lean_array_push(x_62, x_63); -lean_inc(x_11); -x_65 = lean_array_push(x_51, x_11); -x_66 = !lean_is_exclusive(x_11); -if (x_66 == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_67 = lean_ctor_get(x_11, 1); -lean_dec(x_67); -x_68 = lean_ctor_get(x_11, 0); -lean_dec(x_68); -lean_ctor_set(x_11, 1, x_65); -lean_ctor_set(x_11, 0, x_58); -x_69 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_70 = lean_array_push(x_69, x_11); -x_71 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_72 = lean_array_push(x_70, x_71); -x_73 = lean_array_push(x_72, x_45); -x_74 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = lean_array_push(x_51, x_75); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_58); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_64, x_77); -x_79 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -lean_ctor_set(x_42, 1, x_80); -lean_ctor_set(x_48, 0, x_42); -return x_48; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -lean_dec(x_11); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_58); -lean_ctor_set(x_81, 1, x_65); -x_82 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_83 = lean_array_push(x_82, x_81); -x_84 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_85 = lean_array_push(x_83, x_84); -x_86 = lean_array_push(x_85, x_45); -x_87 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_86); -x_89 = lean_array_push(x_51, x_88); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_58); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_array_push(x_64, x_90); -x_92 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_91); -lean_ctor_set(x_42, 1, x_93); -lean_ctor_set(x_48, 0, x_42); -return x_48; -} -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_94 = lean_ctor_get(x_48, 1); -lean_inc(x_94); -lean_dec(x_48); -x_95 = l_Array_empty___closed__1; -x_96 = lean_array_push(x_95, x_34); -x_97 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_98 = lean_array_push(x_96, x_97); -x_99 = l_Lean_mkTermIdFromIdent___closed__2; -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_98); -x_101 = lean_array_push(x_95, x_100); -x_102 = l_Lean_nullKind___closed__2; -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_101); -x_104 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_105 = lean_array_push(x_104, x_103); -x_106 = lean_array_push(x_105, x_97); -x_107 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_108 = lean_array_push(x_106, x_107); -lean_inc(x_11); -x_109 = lean_array_push(x_95, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_110 = x_11; -} else { - lean_dec_ref(x_11); - x_110 = lean_box(0); -} -if (lean_is_scalar(x_110)) { - x_111 = lean_alloc_ctor(1, 2, 0); -} else { - x_111 = x_110; -} -lean_ctor_set(x_111, 0, x_102); -lean_ctor_set(x_111, 1, x_109); -x_112 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_113 = lean_array_push(x_112, x_111); -x_114 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_115 = lean_array_push(x_113, x_114); -x_116 = lean_array_push(x_115, x_45); -x_117 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_116); -x_119 = lean_array_push(x_95, x_118); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_102); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_array_push(x_108, x_120); -x_122 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_121); -lean_ctor_set(x_42, 1, x_123); -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_42); -lean_ctor_set(x_124, 1, x_94); -return x_124; -} -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_125 = lean_ctor_get(x_42, 0); -x_126 = lean_ctor_get(x_42, 1); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_42); -x_127 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_43); -lean_dec(x_5); -x_128 = lean_ctor_get(x_127, 1); -lean_inc(x_128); -lean_dec(x_127); -x_129 = l_Lean_Elab_Term_getMainModule___rarg(x_128); -x_130 = lean_ctor_get(x_129, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_129)) { - lean_ctor_release(x_129, 0); - lean_ctor_release(x_129, 1); - x_131 = x_129; -} else { - lean_dec_ref(x_129); - x_131 = lean_box(0); -} -x_132 = l_Array_empty___closed__1; -x_133 = lean_array_push(x_132, x_34); -x_134 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_135 = lean_array_push(x_133, x_134); -x_136 = l_Lean_mkTermIdFromIdent___closed__2; -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_135); -x_138 = lean_array_push(x_132, x_137); -x_139 = l_Lean_nullKind___closed__2; -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_142 = lean_array_push(x_141, x_140); -x_143 = lean_array_push(x_142, x_134); -x_144 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_145 = lean_array_push(x_143, x_144); -lean_inc(x_11); -x_146 = lean_array_push(x_132, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_147 = x_11; -} else { - lean_dec_ref(x_11); - x_147 = lean_box(0); -} -if (lean_is_scalar(x_147)) { - x_148 = lean_alloc_ctor(1, 2, 0); -} else { - x_148 = x_147; -} -lean_ctor_set(x_148, 0, x_139); -lean_ctor_set(x_148, 1, x_146); -x_149 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_150 = lean_array_push(x_149, x_148); -x_151 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_152 = lean_array_push(x_150, x_151); -x_153 = lean_array_push(x_152, x_126); -x_154 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -x_156 = lean_array_push(x_132, x_155); -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_139); -lean_ctor_set(x_157, 1, x_156); -x_158 = lean_array_push(x_145, x_157); -x_159 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_160, 0, x_159); -lean_ctor_set(x_160, 1, x_158); -x_161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_161, 0, x_125); -lean_ctor_set(x_161, 1, x_160); -if (lean_is_scalar(x_131)) { - x_162 = lean_alloc_ctor(0, 2, 0); -} else { - x_162 = x_131; -} -lean_ctor_set(x_162, 0, x_161); -lean_ctor_set(x_162, 1, x_130); -return x_162; -} -} -else -{ -uint8_t x_163; +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); lean_dec(x_34); +x_37 = lean_unsigned_to_nat(1u); +x_38 = lean_nat_add(x_3, x_37); +lean_dec(x_3); +x_39 = l_Lean_mkHole(x_11); +lean_inc(x_35); +x_40 = l_Lean_Elab_Term_mkExplicitBinder(x_35, x_39); +x_41 = lean_array_push(x_4, x_40); +lean_inc(x_5); +x_42 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_38, x_41, x_5, x_36); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = !lean_is_exclusive(x_43); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_46 = lean_ctor_get(x_43, 1); +x_47 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_44); +lean_dec(x_5); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +lean_dec(x_47); +x_49 = l_Lean_Elab_Term_getMainModule___rarg(x_48); +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +x_52 = l_Array_empty___closed__1; +x_53 = lean_array_push(x_52, x_35); +x_54 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_55 = lean_array_push(x_53, x_54); +x_56 = l_Lean_mkTermIdFromIdent___closed__2; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = lean_array_push(x_52, x_57); +x_59 = l_Lean_nullKind___closed__2; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_62 = lean_array_push(x_61, x_60); +x_63 = lean_array_push(x_62, x_54); +x_64 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_65 = lean_array_push(x_63, x_64); +lean_inc(x_11); +x_66 = lean_array_push(x_52, x_11); +x_67 = !lean_is_exclusive(x_11); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_68 = lean_ctor_get(x_11, 1); +lean_dec(x_68); +x_69 = lean_ctor_get(x_11, 0); +lean_dec(x_69); +lean_ctor_set(x_11, 1, x_66); +lean_ctor_set(x_11, 0, x_59); +x_70 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_71 = lean_array_push(x_70, x_11); +x_72 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_73 = lean_array_push(x_71, x_72); +x_74 = lean_array_push(x_73, x_46); +x_75 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_array_push(x_52, x_76); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_59); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_array_push(x_65, x_78); +x_80 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_79); +lean_ctor_set(x_43, 1, x_81); +lean_ctor_set(x_49, 0, x_43); +return x_49; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_11); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_59); +lean_ctor_set(x_82, 1, x_66); +x_83 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_84 = lean_array_push(x_83, x_82); +x_85 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_86 = lean_array_push(x_84, x_85); +x_87 = lean_array_push(x_86, x_46); +x_88 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = lean_array_push(x_52, x_89); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_59); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_array_push(x_65, x_91); +x_93 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_92); +lean_ctor_set(x_43, 1, x_94); +lean_ctor_set(x_49, 0, x_43); +return x_49; +} +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +x_95 = lean_ctor_get(x_49, 1); +lean_inc(x_95); +lean_dec(x_49); +x_96 = l_Array_empty___closed__1; +x_97 = lean_array_push(x_96, x_35); +x_98 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_99 = lean_array_push(x_97, x_98); +x_100 = l_Lean_mkTermIdFromIdent___closed__2; +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = lean_array_push(x_96, x_101); +x_103 = l_Lean_nullKind___closed__2; +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_102); +x_105 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_106 = lean_array_push(x_105, x_104); +x_107 = lean_array_push(x_106, x_98); +x_108 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_109 = lean_array_push(x_107, x_108); +lean_inc(x_11); +x_110 = lean_array_push(x_96, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_111 = x_11; +} else { + lean_dec_ref(x_11); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(1, 2, 0); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_103); +lean_ctor_set(x_112, 1, x_110); +x_113 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_114 = lean_array_push(x_113, x_112); +x_115 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_116 = lean_array_push(x_114, x_115); +x_117 = lean_array_push(x_116, x_46); +x_118 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_117); +x_120 = lean_array_push(x_96, x_119); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_103); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_array_push(x_109, x_121); +x_123 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_122); +lean_ctor_set(x_43, 1, x_124); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_43); +lean_ctor_set(x_125, 1, x_95); +return x_125; +} +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_126 = lean_ctor_get(x_43, 0); +x_127 = lean_ctor_get(x_43, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_43); +x_128 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_44); +lean_dec(x_5); +x_129 = lean_ctor_get(x_128, 1); +lean_inc(x_129); +lean_dec(x_128); +x_130 = l_Lean_Elab_Term_getMainModule___rarg(x_129); +x_131 = lean_ctor_get(x_130, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_130)) { + lean_ctor_release(x_130, 0); + lean_ctor_release(x_130, 1); + x_132 = x_130; +} else { + lean_dec_ref(x_130); + x_132 = lean_box(0); +} +x_133 = l_Array_empty___closed__1; +x_134 = lean_array_push(x_133, x_35); +x_135 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_136 = lean_array_push(x_134, x_135); +x_137 = l_Lean_mkTermIdFromIdent___closed__2; +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_136); +x_139 = lean_array_push(x_133, x_138); +x_140 = l_Lean_nullKind___closed__2; +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_139); +x_142 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_143 = lean_array_push(x_142, x_141); +x_144 = lean_array_push(x_143, x_135); +x_145 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_146 = lean_array_push(x_144, x_145); +lean_inc(x_11); +x_147 = lean_array_push(x_133, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_148 = x_11; +} else { + lean_dec_ref(x_11); + x_148 = lean_box(0); +} +if (lean_is_scalar(x_148)) { + x_149 = lean_alloc_ctor(1, 2, 0); +} else { + x_149 = x_148; +} +lean_ctor_set(x_149, 0, x_140); +lean_ctor_set(x_149, 1, x_147); +x_150 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_151 = lean_array_push(x_150, x_149); +x_152 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_153 = lean_array_push(x_151, x_152); +x_154 = lean_array_push(x_153, x_127); +x_155 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_155); +lean_ctor_set(x_156, 1, x_154); +x_157 = lean_array_push(x_133, x_156); +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_140); +lean_ctor_set(x_158, 1, x_157); +x_159 = lean_array_push(x_146, x_158); +x_160 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_159); +x_162 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_162, 0, x_126); +lean_ctor_set(x_162, 1, x_161); +if (lean_is_scalar(x_132)) { + x_163 = lean_alloc_ctor(0, 2, 0); +} else { + x_163 = x_132; +} +lean_ctor_set(x_163, 0, x_162); +lean_ctor_set(x_163, 1, x_131); +return x_163; +} +} +else +{ +uint8_t x_164; +lean_dec(x_35); lean_dec(x_11); lean_dec(x_5); -x_163 = !lean_is_exclusive(x_41); -if (x_163 == 0) +x_164 = !lean_is_exclusive(x_42); +if (x_164 == 0) { -return x_41; +return x_42; } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_41, 0); -x_165 = lean_ctor_get(x_41, 1); +lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_165 = lean_ctor_get(x_42, 0); +x_166 = lean_ctor_get(x_42, 1); +lean_inc(x_166); lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_41); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; +lean_dec(x_42); +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_165); +lean_ctor_set(x_167, 1, x_166); +return x_167; } } } else { -lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_167 = lean_ctor_get(x_32, 0); -lean_inc(x_167); -lean_dec(x_32); -x_168 = lean_ctor_get(x_167, 0); +lean_object* x_168; lean_object* x_169; lean_object* x_170; uint8_t x_171; +x_168 = lean_ctor_get(x_33, 0); lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); +lean_dec(x_33); +x_169 = lean_ctor_get(x_168, 0); lean_inc(x_169); -lean_dec(x_167); -x_170 = l_Lean_Syntax_isNone(x_169); -lean_dec(x_169); -if (x_170 == 0) -{ -lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); lean_dec(x_168); +x_171 = l_Lean_Syntax_isNone(x_170); +lean_dec(x_170); +if (x_171 == 0) +{ +lean_object* x_172; lean_object* x_173; uint8_t x_174; +lean_dec(x_169); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_171 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_172 = l_Lean_Elab_Term_throwError___rarg(x_11, x_171, x_5, x_6); +x_172 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_173 = l_Lean_Elab_Term_throwError___rarg(x_11, x_172, x_5, x_6); lean_dec(x_11); -x_173 = !lean_is_exclusive(x_172); -if (x_173 == 0) +x_174 = !lean_is_exclusive(x_173); +if (x_174 == 0) { -return x_172; +return x_173; } else { -lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_174 = lean_ctor_get(x_172, 0); -x_175 = lean_ctor_get(x_172, 1); +lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_173, 0); +x_176 = lean_ctor_get(x_173, 1); +lean_inc(x_176); lean_inc(x_175); -lean_inc(x_174); -lean_dec(x_172); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_174); -lean_ctor_set(x_176, 1, x_175); -return x_176; +lean_dec(x_173); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_175); +lean_ctor_set(x_177, 1, x_176); +return x_177; } } else { -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_177 = l_Lean_mkHole(x_11); +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_178 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_178 = lean_unsigned_to_nat(1u); -x_179 = lean_nat_add(x_3, x_178); +x_179 = lean_unsigned_to_nat(1u); +x_180 = lean_nat_add(x_3, x_179); lean_dec(x_3); -x_180 = l_Lean_Elab_Term_mkExplicitBinder(x_168, x_177); -x_181 = lean_array_push(x_4, x_180); -x_3 = x_179; -x_4 = x_181; +x_181 = l_Lean_Elab_Term_mkExplicitBinder(x_169, x_178); +x_182 = lean_array_push(x_4, x_181); +x_3 = x_180; +x_4 = x_182; goto _start; } } } else { -lean_object* x_183; uint8_t x_184; -x_183 = l_Lean_mkAppStx___closed__3; -x_184 = lean_string_dec_eq(x_25, x_183); -if (x_184 == 0) +lean_object* x_184; uint8_t x_185; +x_184 = l_Lean_mkAppStx___closed__3; +x_185 = lean_string_dec_eq(x_25, x_184); +if (x_185 == 0) { -lean_object* x_185; lean_object* x_186; +lean_object* x_186; uint8_t x_187; lean_object* x_188; lean_ctor_set(x_15, 1, x_30); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_12); -lean_ctor_set(x_185, 1, x_17); -x_186 = l_Lean_Syntax_isTermId_x3f(x_185); -if (lean_obj_tag(x_186) == 0) +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_12); +lean_ctor_set(x_186, 1, x_17); +x_187 = 1; +lean_inc(x_186); +x_188 = l_Lean_Syntax_isTermId_x3f(x_186, x_187); +if (lean_obj_tag(x_188) == 0) { -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -lean_dec(x_185); -x_187 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_188 = lean_ctor_get(x_187, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_187, 1); -lean_inc(x_189); -lean_dec(x_187); -x_190 = lean_unsigned_to_nat(1u); -x_191 = lean_nat_add(x_3, x_190); +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +lean_dec(x_186); +x_189 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec(x_189); +x_192 = lean_unsigned_to_nat(1u); +x_193 = lean_nat_add(x_3, x_192); lean_dec(x_3); -x_192 = l_Lean_mkHole(x_11); -lean_inc(x_188); -x_193 = l_Lean_Elab_Term_mkExplicitBinder(x_188, x_192); -x_194 = lean_array_push(x_4, x_193); +x_194 = l_Lean_mkHole(x_11); +lean_inc(x_190); +x_195 = l_Lean_Elab_Term_mkExplicitBinder(x_190, x_194); +x_196 = lean_array_push(x_4, x_195); lean_inc(x_5); -x_195 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_191, x_194, x_5, x_189); -if (lean_obj_tag(x_195) == 0) +x_197 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_193, x_196, x_5, x_191); +if (lean_obj_tag(x_197) == 0) { -lean_object* x_196; lean_object* x_197; uint8_t x_198; -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 1); -lean_inc(x_197); -lean_dec(x_195); -x_198 = !lean_is_exclusive(x_196); -if (x_198 == 0) +lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = !lean_is_exclusive(x_198); +if (x_200 == 0) { -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203; -x_199 = lean_ctor_get(x_196, 1); -x_200 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_197); +lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; uint8_t x_205; +x_201 = lean_ctor_get(x_198, 1); +x_202 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_199); lean_dec(x_5); -x_201 = lean_ctor_get(x_200, 1); -lean_inc(x_201); -lean_dec(x_200); -x_202 = l_Lean_Elab_Term_getMainModule___rarg(x_201); -x_203 = !lean_is_exclusive(x_202); -if (x_203 == 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; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; -x_204 = lean_ctor_get(x_202, 0); -lean_dec(x_204); -x_205 = l_Array_empty___closed__1; -x_206 = lean_array_push(x_205, x_188); -x_207 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_208 = lean_array_push(x_206, x_207); -x_209 = l_Lean_mkTermIdFromIdent___closed__2; -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_209); -lean_ctor_set(x_210, 1, x_208); -x_211 = lean_array_push(x_205, x_210); -x_212 = l_Lean_nullKind___closed__2; -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_211); -x_214 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_215 = lean_array_push(x_214, x_213); -x_216 = lean_array_push(x_215, x_207); -x_217 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_218 = lean_array_push(x_216, x_217); -lean_inc(x_11); -x_219 = lean_array_push(x_205, x_11); -x_220 = !lean_is_exclusive(x_11); -if (x_220 == 0) -{ -lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; -x_221 = lean_ctor_get(x_11, 1); -lean_dec(x_221); -x_222 = lean_ctor_get(x_11, 0); -lean_dec(x_222); -lean_ctor_set(x_11, 1, x_219); -lean_ctor_set(x_11, 0, x_212); -x_223 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_224 = lean_array_push(x_223, x_11); -x_225 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_226 = lean_array_push(x_224, x_225); -x_227 = lean_array_push(x_226, x_199); -x_228 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_229, 0, x_228); -lean_ctor_set(x_229, 1, x_227); -x_230 = lean_array_push(x_205, x_229); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_212); -lean_ctor_set(x_231, 1, x_230); -x_232 = lean_array_push(x_218, x_231); -x_233 = l_Lean_Parser_Term_match___elambda__1___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); -lean_ctor_set(x_196, 1, x_234); -lean_ctor_set(x_202, 0, x_196); -return x_202; -} -else -{ -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -lean_dec(x_11); -x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_212); -lean_ctor_set(x_235, 1, x_219); -x_236 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_237 = lean_array_push(x_236, x_235); -x_238 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_239 = lean_array_push(x_237, x_238); -x_240 = lean_array_push(x_239, x_199); -x_241 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_242 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_240); -x_243 = lean_array_push(x_205, x_242); -x_244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_244, 0, x_212); -lean_ctor_set(x_244, 1, x_243); -x_245 = lean_array_push(x_218, x_244); -x_246 = l_Lean_Parser_Term_match___elambda__1___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); -lean_ctor_set(x_196, 1, x_247); -lean_ctor_set(x_202, 0, x_196); -return x_202; -} -} -else -{ -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; -x_248 = lean_ctor_get(x_202, 1); -lean_inc(x_248); +x_203 = lean_ctor_get(x_202, 1); +lean_inc(x_203); lean_dec(x_202); -x_249 = l_Array_empty___closed__1; -x_250 = lean_array_push(x_249, x_188); -x_251 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_252 = lean_array_push(x_250, x_251); -x_253 = l_Lean_mkTermIdFromIdent___closed__2; -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_253); -lean_ctor_set(x_254, 1, x_252); -x_255 = lean_array_push(x_249, x_254); -x_256 = l_Lean_nullKind___closed__2; -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_255); -x_258 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_259 = lean_array_push(x_258, x_257); -x_260 = lean_array_push(x_259, x_251); -x_261 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_262 = lean_array_push(x_260, x_261); +x_204 = l_Lean_Elab_Term_getMainModule___rarg(x_203); +x_205 = !lean_is_exclusive(x_204); +if (x_205 == 0) +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; +x_206 = lean_ctor_get(x_204, 0); +lean_dec(x_206); +x_207 = l_Array_empty___closed__1; +x_208 = lean_array_push(x_207, x_190); +x_209 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_210 = lean_array_push(x_208, x_209); +x_211 = l_Lean_mkTermIdFromIdent___closed__2; +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_210); +x_213 = lean_array_push(x_207, x_212); +x_214 = l_Lean_nullKind___closed__2; +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_213); +x_216 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_217 = lean_array_push(x_216, x_215); +x_218 = lean_array_push(x_217, x_209); +x_219 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_220 = lean_array_push(x_218, x_219); lean_inc(x_11); -x_263 = lean_array_push(x_249, x_11); +x_221 = lean_array_push(x_207, x_11); +x_222 = !lean_is_exclusive(x_11); +if (x_222 == 0) +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +x_223 = lean_ctor_get(x_11, 1); +lean_dec(x_223); +x_224 = lean_ctor_get(x_11, 0); +lean_dec(x_224); +lean_ctor_set(x_11, 1, x_221); +lean_ctor_set(x_11, 0, x_214); +x_225 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_226 = lean_array_push(x_225, x_11); +x_227 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_228 = lean_array_push(x_226, x_227); +x_229 = lean_array_push(x_228, x_201); +x_230 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_229); +x_232 = lean_array_push(x_207, x_231); +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_214); +lean_ctor_set(x_233, 1, x_232); +x_234 = lean_array_push(x_220, x_233); +x_235 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_234); +lean_ctor_set(x_198, 1, x_236); +lean_ctor_set(x_204, 0, x_198); +return x_204; +} +else +{ +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_dec(x_11); +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_214); +lean_ctor_set(x_237, 1, x_221); +x_238 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_239 = lean_array_push(x_238, x_237); +x_240 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_241 = lean_array_push(x_239, x_240); +x_242 = lean_array_push(x_241, x_201); +x_243 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +x_245 = lean_array_push(x_207, x_244); +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_214); +lean_ctor_set(x_246, 1, x_245); +x_247 = lean_array_push(x_220, x_246); +x_248 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_247); +lean_ctor_set(x_198, 1, x_249); +lean_ctor_set(x_204, 0, x_198); +return x_204; +} +} +else +{ +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_250 = lean_ctor_get(x_204, 1); +lean_inc(x_250); +lean_dec(x_204); +x_251 = l_Array_empty___closed__1; +x_252 = lean_array_push(x_251, x_190); +x_253 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_254 = lean_array_push(x_252, x_253); +x_255 = l_Lean_mkTermIdFromIdent___closed__2; +x_256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_256, 0, x_255); +lean_ctor_set(x_256, 1, x_254); +x_257 = lean_array_push(x_251, x_256); +x_258 = l_Lean_nullKind___closed__2; +x_259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_257); +x_260 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_261 = lean_array_push(x_260, x_259); +x_262 = lean_array_push(x_261, x_253); +x_263 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_264 = lean_array_push(x_262, x_263); +lean_inc(x_11); +x_265 = lean_array_push(x_251, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_264 = x_11; + x_266 = x_11; } else { lean_dec_ref(x_11); - x_264 = lean_box(0); + x_266 = lean_box(0); } -if (lean_is_scalar(x_264)) { - x_265 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_266)) { + x_267 = lean_alloc_ctor(1, 2, 0); } else { - x_265 = x_264; + x_267 = x_266; } -lean_ctor_set(x_265, 0, x_256); -lean_ctor_set(x_265, 1, x_263); -x_266 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_267 = lean_array_push(x_266, x_265); -x_268 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_269 = lean_array_push(x_267, x_268); -x_270 = lean_array_push(x_269, x_199); -x_271 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_271); -lean_ctor_set(x_272, 1, x_270); -x_273 = lean_array_push(x_249, x_272); +lean_ctor_set(x_267, 0, x_258); +lean_ctor_set(x_267, 1, x_265); +x_268 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_269 = lean_array_push(x_268, x_267); +x_270 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_271 = lean_array_push(x_269, x_270); +x_272 = lean_array_push(x_271, x_201); +x_273 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_256); -lean_ctor_set(x_274, 1, x_273); -x_275 = lean_array_push(x_262, x_274); -x_276 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_275); -lean_ctor_set(x_196, 1, x_277); -x_278 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_278, 0, x_196); -lean_ctor_set(x_278, 1, x_248); -return x_278; +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_272); +x_275 = lean_array_push(x_251, x_274); +x_276 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_276, 0, x_258); +lean_ctor_set(x_276, 1, x_275); +x_277 = lean_array_push(x_264, x_276); +x_278 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_278); +lean_ctor_set(x_279, 1, x_277); +lean_ctor_set(x_198, 1, x_279); +x_280 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_280, 0, x_198); +lean_ctor_set(x_280, 1, x_250); +return x_280; } } else { -lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; -x_279 = lean_ctor_get(x_196, 0); -x_280 = lean_ctor_get(x_196, 1); -lean_inc(x_280); -lean_inc(x_279); -lean_dec(x_196); -x_281 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_197); -lean_dec(x_5); -x_282 = lean_ctor_get(x_281, 1); +lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; +x_281 = lean_ctor_get(x_198, 0); +x_282 = lean_ctor_get(x_198, 1); lean_inc(x_282); -lean_dec(x_281); -x_283 = l_Lean_Elab_Term_getMainModule___rarg(x_282); +lean_inc(x_281); +lean_dec(x_198); +x_283 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_199); +lean_dec(x_5); x_284 = lean_ctor_get(x_283, 1); lean_inc(x_284); -if (lean_is_exclusive(x_283)) { - lean_ctor_release(x_283, 0); - lean_ctor_release(x_283, 1); - x_285 = x_283; +lean_dec(x_283); +x_285 = l_Lean_Elab_Term_getMainModule___rarg(x_284); +x_286 = lean_ctor_get(x_285, 1); +lean_inc(x_286); +if (lean_is_exclusive(x_285)) { + lean_ctor_release(x_285, 0); + lean_ctor_release(x_285, 1); + x_287 = x_285; } else { - lean_dec_ref(x_283); - x_285 = lean_box(0); + lean_dec_ref(x_285); + x_287 = lean_box(0); } -x_286 = l_Array_empty___closed__1; -x_287 = lean_array_push(x_286, x_188); -x_288 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_289 = lean_array_push(x_287, x_288); -x_290 = l_Lean_mkTermIdFromIdent___closed__2; -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_289); -x_292 = lean_array_push(x_286, x_291); -x_293 = l_Lean_nullKind___closed__2; -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_293); -lean_ctor_set(x_294, 1, x_292); -x_295 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_296 = lean_array_push(x_295, x_294); -x_297 = lean_array_push(x_296, x_288); -x_298 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_299 = lean_array_push(x_297, x_298); +x_288 = l_Array_empty___closed__1; +x_289 = lean_array_push(x_288, x_190); +x_290 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_291 = lean_array_push(x_289, x_290); +x_292 = l_Lean_mkTermIdFromIdent___closed__2; +x_293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_291); +x_294 = lean_array_push(x_288, x_293); +x_295 = l_Lean_nullKind___closed__2; +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_295); +lean_ctor_set(x_296, 1, x_294); +x_297 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_298 = lean_array_push(x_297, x_296); +x_299 = lean_array_push(x_298, x_290); +x_300 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_301 = lean_array_push(x_299, x_300); lean_inc(x_11); -x_300 = lean_array_push(x_286, x_11); +x_302 = lean_array_push(x_288, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_301 = x_11; + x_303 = x_11; } else { lean_dec_ref(x_11); - x_301 = lean_box(0); + x_303 = lean_box(0); } -if (lean_is_scalar(x_301)) { - x_302 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_303)) { + x_304 = lean_alloc_ctor(1, 2, 0); } else { - x_302 = x_301; + x_304 = x_303; } -lean_ctor_set(x_302, 0, x_293); -lean_ctor_set(x_302, 1, x_300); -x_303 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_304 = lean_array_push(x_303, x_302); -x_305 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_306 = lean_array_push(x_304, x_305); -x_307 = lean_array_push(x_306, x_280); -x_308 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_309 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_309, 0, x_308); -lean_ctor_set(x_309, 1, x_307); -x_310 = lean_array_push(x_286, x_309); +lean_ctor_set(x_304, 0, x_295); +lean_ctor_set(x_304, 1, x_302); +x_305 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_306 = lean_array_push(x_305, x_304); +x_307 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_308 = lean_array_push(x_306, x_307); +x_309 = lean_array_push(x_308, x_282); +x_310 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; x_311 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_311, 0, x_293); -lean_ctor_set(x_311, 1, x_310); -x_312 = lean_array_push(x_299, x_311); -x_313 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_312); -x_315 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_315, 0, x_279); -lean_ctor_set(x_315, 1, x_314); -if (lean_is_scalar(x_285)) { - x_316 = lean_alloc_ctor(0, 2, 0); -} else { - x_316 = x_285; -} +lean_ctor_set(x_311, 0, x_310); +lean_ctor_set(x_311, 1, x_309); +x_312 = lean_array_push(x_288, x_311); +x_313 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_313, 0, x_295); +lean_ctor_set(x_313, 1, x_312); +x_314 = lean_array_push(x_301, x_313); +x_315 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_316 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_284); -return x_316; +lean_ctor_set(x_316, 1, x_314); +x_317 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_317, 0, x_281); +lean_ctor_set(x_317, 1, x_316); +if (lean_is_scalar(x_287)) { + x_318 = lean_alloc_ctor(0, 2, 0); +} else { + x_318 = x_287; +} +lean_ctor_set(x_318, 0, x_317); +lean_ctor_set(x_318, 1, x_286); +return x_318; } } else { -uint8_t x_317; -lean_dec(x_188); +uint8_t x_319; +lean_dec(x_190); lean_dec(x_11); lean_dec(x_5); -x_317 = !lean_is_exclusive(x_195); -if (x_317 == 0) +x_319 = !lean_is_exclusive(x_197); +if (x_319 == 0) { -return x_195; +return x_197; } else { -lean_object* x_318; lean_object* x_319; lean_object* x_320; -x_318 = lean_ctor_get(x_195, 0); -x_319 = lean_ctor_get(x_195, 1); -lean_inc(x_319); -lean_inc(x_318); -lean_dec(x_195); -x_320 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_320, 0, x_318); -lean_ctor_set(x_320, 1, x_319); -return x_320; -} -} -} -else -{ -lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; -lean_dec(x_11); -x_321 = lean_ctor_get(x_186, 0); +lean_object* x_320; lean_object* x_321; lean_object* x_322; +x_320 = lean_ctor_get(x_197, 0); +x_321 = lean_ctor_get(x_197, 1); lean_inc(x_321); -lean_dec(x_186); -x_322 = lean_ctor_get(x_321, 0); -lean_inc(x_322); -x_323 = lean_ctor_get(x_321, 1); -lean_inc(x_323); -lean_dec(x_321); -x_324 = l_Lean_Syntax_isNone(x_323); -lean_dec(x_323); -if (x_324 == 0) +lean_inc(x_320); +lean_dec(x_197); +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; +} +} +} +else { -lean_object* x_325; lean_object* x_326; uint8_t x_327; -lean_dec(x_322); +lean_object* x_323; lean_object* x_324; lean_object* x_325; uint8_t x_326; +lean_dec(x_11); +x_323 = lean_ctor_get(x_188, 0); +lean_inc(x_323); +lean_dec(x_188); +x_324 = lean_ctor_get(x_323, 0); +lean_inc(x_324); +x_325 = lean_ctor_get(x_323, 1); +lean_inc(x_325); +lean_dec(x_323); +x_326 = l_Lean_Syntax_isNone(x_325); +lean_dec(x_325); +if (x_326 == 0) +{ +lean_object* x_327; lean_object* x_328; uint8_t x_329; +lean_dec(x_324); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_325 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_326 = l_Lean_Elab_Term_throwError___rarg(x_185, x_325, x_5, x_6); -lean_dec(x_185); -x_327 = !lean_is_exclusive(x_326); -if (x_327 == 0) +x_327 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_328 = l_Lean_Elab_Term_throwError___rarg(x_186, x_327, x_5, x_6); +lean_dec(x_186); +x_329 = !lean_is_exclusive(x_328); +if (x_329 == 0) { -return x_326; +return x_328; } else { -lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_328 = lean_ctor_get(x_326, 0); -x_329 = lean_ctor_get(x_326, 1); -lean_inc(x_329); -lean_inc(x_328); -lean_dec(x_326); -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_328, 0); +x_331 = lean_ctor_get(x_328, 1); +lean_inc(x_331); +lean_inc(x_330); +lean_dec(x_328); +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; } } else { -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; -x_331 = l_Lean_mkHole(x_185); -lean_dec(x_185); -x_332 = lean_unsigned_to_nat(1u); -x_333 = lean_nat_add(x_3, x_332); +lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; +x_333 = l_Lean_mkHole(x_186); +lean_dec(x_186); +x_334 = lean_unsigned_to_nat(1u); +x_335 = lean_nat_add(x_3, x_334); lean_dec(x_3); -x_334 = l_Lean_Elab_Term_mkExplicitBinder(x_322, x_331); -x_335 = lean_array_push(x_4, x_334); -x_3 = x_333; -x_4 = x_335; +x_336 = l_Lean_Elab_Term_mkExplicitBinder(x_324, x_333); +x_337 = lean_array_push(x_4, x_336); +x_3 = x_335; +x_4 = x_337; goto _start; } } } else { -lean_object* x_337; uint8_t x_338; +lean_object* x_339; uint8_t x_340; lean_dec(x_25); -x_337 = l_Lean_mkAppStx___closed__5; -x_338 = lean_string_dec_eq(x_22, x_337); -if (x_338 == 0) +x_339 = l_Lean_mkAppStx___closed__5; +x_340 = lean_string_dec_eq(x_22, x_339); +if (x_340 == 0) { -lean_object* x_339; lean_object* x_340; +lean_object* x_341; uint8_t x_342; lean_object* x_343; lean_ctor_set(x_15, 1, x_30); -lean_ctor_set(x_14, 1, x_183); -x_339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_339, 0, x_12); -lean_ctor_set(x_339, 1, x_17); -x_340 = l_Lean_Syntax_isTermId_x3f(x_339); -if (lean_obj_tag(x_340) == 0) +lean_ctor_set(x_14, 1, x_184); +x_341 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_341, 0, x_12); +lean_ctor_set(x_341, 1, x_17); +x_342 = 1; +lean_inc(x_341); +x_343 = l_Lean_Syntax_isTermId_x3f(x_341, x_342); +if (lean_obj_tag(x_343) == 0) { -lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; -lean_dec(x_339); -x_341 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_342 = lean_ctor_get(x_341, 0); -lean_inc(x_342); -x_343 = lean_ctor_get(x_341, 1); -lean_inc(x_343); +lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_dec(x_341); -x_344 = lean_unsigned_to_nat(1u); -x_345 = lean_nat_add(x_3, x_344); +x_344 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_345 = lean_ctor_get(x_344, 0); +lean_inc(x_345); +x_346 = lean_ctor_get(x_344, 1); +lean_inc(x_346); +lean_dec(x_344); +x_347 = lean_unsigned_to_nat(1u); +x_348 = lean_nat_add(x_3, x_347); lean_dec(x_3); -x_346 = l_Lean_mkHole(x_11); -lean_inc(x_342); -x_347 = l_Lean_Elab_Term_mkExplicitBinder(x_342, x_346); -x_348 = lean_array_push(x_4, x_347); +x_349 = l_Lean_mkHole(x_11); +lean_inc(x_345); +x_350 = l_Lean_Elab_Term_mkExplicitBinder(x_345, x_349); +x_351 = lean_array_push(x_4, x_350); lean_inc(x_5); -x_349 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_345, x_348, x_5, x_343); -if (lean_obj_tag(x_349) == 0) +x_352 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_348, x_351, x_5, x_346); +if (lean_obj_tag(x_352) == 0) { -lean_object* x_350; lean_object* x_351; uint8_t x_352; -x_350 = lean_ctor_get(x_349, 0); -lean_inc(x_350); -x_351 = lean_ctor_get(x_349, 1); -lean_inc(x_351); -lean_dec(x_349); -x_352 = !lean_is_exclusive(x_350); -if (x_352 == 0) +lean_object* x_353; lean_object* x_354; uint8_t x_355; +x_353 = lean_ctor_get(x_352, 0); +lean_inc(x_353); +x_354 = lean_ctor_get(x_352, 1); +lean_inc(x_354); +lean_dec(x_352); +x_355 = !lean_is_exclusive(x_353); +if (x_355 == 0) { -lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; uint8_t x_357; -x_353 = lean_ctor_get(x_350, 1); -x_354 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_351); +lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; uint8_t x_360; +x_356 = lean_ctor_get(x_353, 1); +x_357 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_354); lean_dec(x_5); -x_355 = lean_ctor_get(x_354, 1); -lean_inc(x_355); -lean_dec(x_354); -x_356 = l_Lean_Elab_Term_getMainModule___rarg(x_355); -x_357 = !lean_is_exclusive(x_356); -if (x_357 == 0) +x_358 = lean_ctor_get(x_357, 1); +lean_inc(x_358); +lean_dec(x_357); +x_359 = l_Lean_Elab_Term_getMainModule___rarg(x_358); +x_360 = !lean_is_exclusive(x_359); +if (x_360 == 0) { -lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; uint8_t x_374; -x_358 = lean_ctor_get(x_356, 0); -lean_dec(x_358); -x_359 = l_Array_empty___closed__1; -x_360 = lean_array_push(x_359, x_342); -x_361 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_362 = lean_array_push(x_360, x_361); -x_363 = l_Lean_mkTermIdFromIdent___closed__2; -x_364 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_364, 0, x_363); -lean_ctor_set(x_364, 1, x_362); -x_365 = lean_array_push(x_359, x_364); -x_366 = l_Lean_nullKind___closed__2; +lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; uint8_t x_377; +x_361 = lean_ctor_get(x_359, 0); +lean_dec(x_361); +x_362 = l_Array_empty___closed__1; +x_363 = lean_array_push(x_362, x_345); +x_364 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_365 = lean_array_push(x_363, x_364); +x_366 = l_Lean_mkTermIdFromIdent___closed__2; x_367 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_367, 0, x_366); lean_ctor_set(x_367, 1, x_365); -x_368 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_369 = lean_array_push(x_368, x_367); -x_370 = lean_array_push(x_369, x_361); -x_371 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_372 = lean_array_push(x_370, x_371); +x_368 = lean_array_push(x_362, x_367); +x_369 = l_Lean_nullKind___closed__2; +x_370 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_370, 0, x_369); +lean_ctor_set(x_370, 1, x_368); +x_371 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_372 = lean_array_push(x_371, x_370); +x_373 = lean_array_push(x_372, x_364); +x_374 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_375 = lean_array_push(x_373, x_374); lean_inc(x_11); -x_373 = lean_array_push(x_359, x_11); -x_374 = !lean_is_exclusive(x_11); -if (x_374 == 0) +x_376 = lean_array_push(x_362, x_11); +x_377 = !lean_is_exclusive(x_11); +if (x_377 == 0) { -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; -x_375 = lean_ctor_get(x_11, 1); -lean_dec(x_375); -x_376 = lean_ctor_get(x_11, 0); -lean_dec(x_376); -lean_ctor_set(x_11, 1, x_373); -lean_ctor_set(x_11, 0, x_366); -x_377 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_378 = lean_array_push(x_377, x_11); -x_379 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_380 = lean_array_push(x_378, x_379); -x_381 = lean_array_push(x_380, x_353); -x_382 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_383 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_383, 0, x_382); -lean_ctor_set(x_383, 1, x_381); -x_384 = lean_array_push(x_359, x_383); -x_385 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_385, 0, x_366); -lean_ctor_set(x_385, 1, x_384); -x_386 = lean_array_push(x_372, x_385); -x_387 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; +x_378 = lean_ctor_get(x_11, 1); +lean_dec(x_378); +x_379 = lean_ctor_get(x_11, 0); +lean_dec(x_379); +lean_ctor_set(x_11, 1, x_376); +lean_ctor_set(x_11, 0, x_369); +x_380 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_381 = lean_array_push(x_380, x_11); +x_382 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_383 = lean_array_push(x_381, x_382); +x_384 = lean_array_push(x_383, x_356); +x_385 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_386 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_386, 0, x_385); +lean_ctor_set(x_386, 1, x_384); +x_387 = lean_array_push(x_362, x_386); x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_386); -lean_ctor_set(x_350, 1, x_388); -lean_ctor_set(x_356, 0, x_350); -return x_356; +lean_ctor_set(x_388, 0, x_369); +lean_ctor_set(x_388, 1, x_387); +x_389 = lean_array_push(x_375, x_388); +x_390 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_391 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_391, 0, x_390); +lean_ctor_set(x_391, 1, x_389); +lean_ctor_set(x_353, 1, x_391); +lean_ctor_set(x_359, 0, x_353); +return x_359; } else { -lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; +lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_dec(x_11); -x_389 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_389, 0, x_366); -lean_ctor_set(x_389, 1, x_373); -x_390 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_391 = lean_array_push(x_390, x_389); -x_392 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_393 = lean_array_push(x_391, x_392); -x_394 = lean_array_push(x_393, x_353); -x_395 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_396, 0, x_395); -lean_ctor_set(x_396, 1, x_394); -x_397 = lean_array_push(x_359, x_396); -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_366); -lean_ctor_set(x_398, 1, x_397); -x_399 = lean_array_push(x_372, x_398); -x_400 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_392 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_392, 0, x_369); +lean_ctor_set(x_392, 1, x_376); +x_393 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_394 = lean_array_push(x_393, x_392); +x_395 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_396 = lean_array_push(x_394, x_395); +x_397 = lean_array_push(x_396, x_356); +x_398 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_399 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_397); +x_400 = lean_array_push(x_362, x_399); x_401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_401, 0, x_400); -lean_ctor_set(x_401, 1, x_399); -lean_ctor_set(x_350, 1, x_401); -lean_ctor_set(x_356, 0, x_350); -return x_356; +lean_ctor_set(x_401, 0, x_369); +lean_ctor_set(x_401, 1, x_400); +x_402 = lean_array_push(x_375, x_401); +x_403 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_404 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_404, 0, x_403); +lean_ctor_set(x_404, 1, x_402); +lean_ctor_set(x_353, 1, x_404); +lean_ctor_set(x_359, 0, x_353); +return x_359; } } else { -lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; -x_402 = lean_ctor_get(x_356, 1); -lean_inc(x_402); -lean_dec(x_356); -x_403 = l_Array_empty___closed__1; -x_404 = lean_array_push(x_403, x_342); -x_405 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_406 = lean_array_push(x_404, x_405); -x_407 = l_Lean_mkTermIdFromIdent___closed__2; -x_408 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_408, 0, x_407); -lean_ctor_set(x_408, 1, x_406); -x_409 = lean_array_push(x_403, x_408); -x_410 = l_Lean_nullKind___closed__2; +lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; +x_405 = lean_ctor_get(x_359, 1); +lean_inc(x_405); +lean_dec(x_359); +x_406 = l_Array_empty___closed__1; +x_407 = lean_array_push(x_406, x_345); +x_408 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_409 = lean_array_push(x_407, x_408); +x_410 = l_Lean_mkTermIdFromIdent___closed__2; x_411 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_411, 0, x_410); lean_ctor_set(x_411, 1, x_409); -x_412 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_413 = lean_array_push(x_412, x_411); -x_414 = lean_array_push(x_413, x_405); -x_415 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_416 = lean_array_push(x_414, x_415); +x_412 = lean_array_push(x_406, x_411); +x_413 = l_Lean_nullKind___closed__2; +x_414 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_414, 0, x_413); +lean_ctor_set(x_414, 1, x_412); +x_415 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_416 = lean_array_push(x_415, x_414); +x_417 = lean_array_push(x_416, x_408); +x_418 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_419 = lean_array_push(x_417, x_418); lean_inc(x_11); -x_417 = lean_array_push(x_403, x_11); +x_420 = lean_array_push(x_406, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_418 = x_11; + x_421 = x_11; } else { lean_dec_ref(x_11); - x_418 = lean_box(0); + x_421 = lean_box(0); } -if (lean_is_scalar(x_418)) { - x_419 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_421)) { + x_422 = lean_alloc_ctor(1, 2, 0); } else { - x_419 = x_418; + x_422 = x_421; } -lean_ctor_set(x_419, 0, x_410); -lean_ctor_set(x_419, 1, x_417); -x_420 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_421 = lean_array_push(x_420, x_419); -x_422 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_423 = lean_array_push(x_421, x_422); -x_424 = lean_array_push(x_423, x_353); -x_425 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_426, 0, x_425); -lean_ctor_set(x_426, 1, x_424); -x_427 = lean_array_push(x_403, x_426); -x_428 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_428, 0, x_410); -lean_ctor_set(x_428, 1, x_427); -x_429 = lean_array_push(x_416, x_428); -x_430 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_ctor_set(x_422, 0, x_413); +lean_ctor_set(x_422, 1, x_420); +x_423 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_424 = lean_array_push(x_423, x_422); +x_425 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_426 = lean_array_push(x_424, x_425); +x_427 = lean_array_push(x_426, x_356); +x_428 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_429 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_429, 0, x_428); +lean_ctor_set(x_429, 1, x_427); +x_430 = lean_array_push(x_406, x_429); x_431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_429); -lean_ctor_set(x_350, 1, x_431); -x_432 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_432, 0, x_350); -lean_ctor_set(x_432, 1, x_402); -return x_432; +lean_ctor_set(x_431, 0, x_413); +lean_ctor_set(x_431, 1, x_430); +x_432 = lean_array_push(x_419, x_431); +x_433 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_434 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_434, 0, x_433); +lean_ctor_set(x_434, 1, x_432); +lean_ctor_set(x_353, 1, x_434); +x_435 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_435, 0, x_353); +lean_ctor_set(x_435, 1, x_405); +return x_435; } } else { -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; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; -x_433 = lean_ctor_get(x_350, 0); -x_434 = lean_ctor_get(x_350, 1); -lean_inc(x_434); -lean_inc(x_433); -lean_dec(x_350); -x_435 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_351); -lean_dec(x_5); -x_436 = lean_ctor_get(x_435, 1); +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; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; +x_436 = lean_ctor_get(x_353, 0); +x_437 = lean_ctor_get(x_353, 1); +lean_inc(x_437); lean_inc(x_436); -lean_dec(x_435); -x_437 = l_Lean_Elab_Term_getMainModule___rarg(x_436); -x_438 = lean_ctor_get(x_437, 1); -lean_inc(x_438); -if (lean_is_exclusive(x_437)) { - lean_ctor_release(x_437, 0); - lean_ctor_release(x_437, 1); - x_439 = x_437; +lean_dec(x_353); +x_438 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_354); +lean_dec(x_5); +x_439 = lean_ctor_get(x_438, 1); +lean_inc(x_439); +lean_dec(x_438); +x_440 = l_Lean_Elab_Term_getMainModule___rarg(x_439); +x_441 = lean_ctor_get(x_440, 1); +lean_inc(x_441); +if (lean_is_exclusive(x_440)) { + lean_ctor_release(x_440, 0); + lean_ctor_release(x_440, 1); + x_442 = x_440; } else { - lean_dec_ref(x_437); - x_439 = lean_box(0); + lean_dec_ref(x_440); + x_442 = lean_box(0); } -x_440 = l_Array_empty___closed__1; -x_441 = lean_array_push(x_440, x_342); -x_442 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_443 = lean_array_push(x_441, x_442); -x_444 = l_Lean_mkTermIdFromIdent___closed__2; -x_445 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_445, 0, x_444); -lean_ctor_set(x_445, 1, x_443); -x_446 = lean_array_push(x_440, x_445); -x_447 = l_Lean_nullKind___closed__2; +x_443 = l_Array_empty___closed__1; +x_444 = lean_array_push(x_443, x_345); +x_445 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_446 = lean_array_push(x_444, x_445); +x_447 = l_Lean_mkTermIdFromIdent___closed__2; x_448 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_448, 0, x_447); lean_ctor_set(x_448, 1, x_446); -x_449 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_450 = lean_array_push(x_449, x_448); -x_451 = lean_array_push(x_450, x_442); -x_452 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_453 = lean_array_push(x_451, x_452); +x_449 = lean_array_push(x_443, x_448); +x_450 = l_Lean_nullKind___closed__2; +x_451 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_451, 0, x_450); +lean_ctor_set(x_451, 1, x_449); +x_452 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_453 = lean_array_push(x_452, x_451); +x_454 = lean_array_push(x_453, x_445); +x_455 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_456 = lean_array_push(x_454, x_455); lean_inc(x_11); -x_454 = lean_array_push(x_440, x_11); +x_457 = lean_array_push(x_443, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_455 = x_11; + x_458 = x_11; } else { lean_dec_ref(x_11); - x_455 = lean_box(0); + x_458 = lean_box(0); } -if (lean_is_scalar(x_455)) { - x_456 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_458)) { + x_459 = lean_alloc_ctor(1, 2, 0); } else { - x_456 = x_455; + x_459 = x_458; } -lean_ctor_set(x_456, 0, x_447); -lean_ctor_set(x_456, 1, x_454); -x_457 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_458 = lean_array_push(x_457, x_456); -x_459 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_460 = lean_array_push(x_458, x_459); -x_461 = lean_array_push(x_460, x_434); -x_462 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_462); -lean_ctor_set(x_463, 1, x_461); -x_464 = lean_array_push(x_440, x_463); -x_465 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_465, 0, x_447); -lean_ctor_set(x_465, 1, x_464); -x_466 = lean_array_push(x_453, x_465); -x_467 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_ctor_set(x_459, 0, x_450); +lean_ctor_set(x_459, 1, x_457); +x_460 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_461 = lean_array_push(x_460, x_459); +x_462 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_463 = lean_array_push(x_461, x_462); +x_464 = lean_array_push(x_463, x_437); +x_465 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_466 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_466, 0, x_465); +lean_ctor_set(x_466, 1, x_464); +x_467 = lean_array_push(x_443, x_466); x_468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_468, 0, x_467); -lean_ctor_set(x_468, 1, x_466); -x_469 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_469, 0, x_433); -lean_ctor_set(x_469, 1, x_468); -if (lean_is_scalar(x_439)) { - x_470 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_468, 0, x_450); +lean_ctor_set(x_468, 1, x_467); +x_469 = lean_array_push(x_456, x_468); +x_470 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_471 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_471, 0, x_470); +lean_ctor_set(x_471, 1, x_469); +x_472 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_472, 0, x_436); +lean_ctor_set(x_472, 1, x_471); +if (lean_is_scalar(x_442)) { + x_473 = lean_alloc_ctor(0, 2, 0); } else { - x_470 = x_439; + x_473 = x_442; } -lean_ctor_set(x_470, 0, x_469); -lean_ctor_set(x_470, 1, x_438); -return x_470; +lean_ctor_set(x_473, 0, x_472); +lean_ctor_set(x_473, 1, x_441); +return x_473; } } else { -uint8_t x_471; -lean_dec(x_342); +uint8_t x_474; +lean_dec(x_345); lean_dec(x_11); lean_dec(x_5); -x_471 = !lean_is_exclusive(x_349); -if (x_471 == 0) +x_474 = !lean_is_exclusive(x_352); +if (x_474 == 0) { -return x_349; +return x_352; } else { -lean_object* x_472; lean_object* x_473; lean_object* x_474; -x_472 = lean_ctor_get(x_349, 0); -x_473 = lean_ctor_get(x_349, 1); -lean_inc(x_473); -lean_inc(x_472); -lean_dec(x_349); -x_474 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_474, 0, x_472); -lean_ctor_set(x_474, 1, x_473); -return x_474; -} -} -} -else -{ -lean_object* x_475; lean_object* x_476; lean_object* x_477; uint8_t x_478; -lean_dec(x_11); -x_475 = lean_ctor_get(x_340, 0); -lean_inc(x_475); -lean_dec(x_340); -x_476 = lean_ctor_get(x_475, 0); +lean_object* x_475; lean_object* x_476; lean_object* x_477; +x_475 = lean_ctor_get(x_352, 0); +x_476 = lean_ctor_get(x_352, 1); lean_inc(x_476); -x_477 = lean_ctor_get(x_475, 1); -lean_inc(x_477); -lean_dec(x_475); -x_478 = l_Lean_Syntax_isNone(x_477); -lean_dec(x_477); -if (x_478 == 0) +lean_inc(x_475); +lean_dec(x_352); +x_477 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_477, 0, x_475); +lean_ctor_set(x_477, 1, x_476); +return x_477; +} +} +} +else { -lean_object* x_479; lean_object* x_480; uint8_t x_481; -lean_dec(x_476); +lean_object* x_478; lean_object* x_479; lean_object* x_480; uint8_t x_481; +lean_dec(x_11); +x_478 = lean_ctor_get(x_343, 0); +lean_inc(x_478); +lean_dec(x_343); +x_479 = lean_ctor_get(x_478, 0); +lean_inc(x_479); +x_480 = lean_ctor_get(x_478, 1); +lean_inc(x_480); +lean_dec(x_478); +x_481 = l_Lean_Syntax_isNone(x_480); +lean_dec(x_480); +if (x_481 == 0) +{ +lean_object* x_482; lean_object* x_483; uint8_t x_484; +lean_dec(x_479); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_479 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_480 = l_Lean_Elab_Term_throwError___rarg(x_339, x_479, x_5, x_6); -lean_dec(x_339); -x_481 = !lean_is_exclusive(x_480); -if (x_481 == 0) +x_482 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_483 = l_Lean_Elab_Term_throwError___rarg(x_341, x_482, x_5, x_6); +lean_dec(x_341); +x_484 = !lean_is_exclusive(x_483); +if (x_484 == 0) { -return x_480; +return x_483; } else { -lean_object* x_482; lean_object* x_483; lean_object* x_484; -x_482 = lean_ctor_get(x_480, 0); -x_483 = lean_ctor_get(x_480, 1); -lean_inc(x_483); -lean_inc(x_482); -lean_dec(x_480); -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_482); -lean_ctor_set(x_484, 1, x_483); -return x_484; +lean_object* x_485; lean_object* x_486; lean_object* x_487; +x_485 = lean_ctor_get(x_483, 0); +x_486 = lean_ctor_get(x_483, 1); +lean_inc(x_486); +lean_inc(x_485); +lean_dec(x_483); +x_487 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_487, 0, x_485); +lean_ctor_set(x_487, 1, x_486); +return x_487; } } else { -lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; -x_485 = l_Lean_mkHole(x_339); -lean_dec(x_339); -x_486 = lean_unsigned_to_nat(1u); -x_487 = lean_nat_add(x_3, x_486); +lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; +x_488 = l_Lean_mkHole(x_341); +lean_dec(x_341); +x_489 = lean_unsigned_to_nat(1u); +x_490 = lean_nat_add(x_3, x_489); lean_dec(x_3); -x_488 = l_Lean_Elab_Term_mkExplicitBinder(x_476, x_485); -x_489 = lean_array_push(x_4, x_488); -x_3 = x_487; -x_4 = x_489; +x_491 = l_Lean_Elab_Term_mkExplicitBinder(x_479, x_488); +x_492 = lean_array_push(x_4, x_491); +x_3 = x_490; +x_4 = x_492; goto _start; } } } else { -lean_object* x_491; uint8_t x_492; +lean_object* x_494; uint8_t x_495; lean_dec(x_22); -x_491 = l_Lean_mkHole___closed__1; -x_492 = lean_string_dec_eq(x_19, x_491); -if (x_492 == 0) +x_494 = l_Lean_mkHole___closed__1; +x_495 = lean_string_dec_eq(x_19, x_494); +if (x_495 == 0) { -lean_object* x_493; uint8_t x_494; -x_493 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; -x_494 = lean_string_dec_eq(x_19, x_493); -if (x_494 == 0) +lean_object* x_496; uint8_t x_497; +x_496 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_497 = lean_string_dec_eq(x_19, x_496); +if (x_497 == 0) { -lean_object* x_495; lean_object* x_496; +lean_object* x_498; uint8_t x_499; lean_object* x_500; lean_ctor_set(x_15, 1, x_30); -lean_ctor_set(x_14, 1, x_183); -lean_ctor_set(x_13, 1, x_337); -x_495 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_495, 0, x_12); -lean_ctor_set(x_495, 1, x_17); -x_496 = l_Lean_Syntax_isTermId_x3f(x_495); -if (lean_obj_tag(x_496) == 0) -{ -lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; -lean_dec(x_495); -x_497 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_498 = lean_ctor_get(x_497, 0); +lean_ctor_set(x_14, 1, x_184); +lean_ctor_set(x_13, 1, x_339); +x_498 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_498, 0, x_12); +lean_ctor_set(x_498, 1, x_17); +x_499 = 1; lean_inc(x_498); -x_499 = lean_ctor_get(x_497, 1); -lean_inc(x_499); -lean_dec(x_497); -x_500 = lean_unsigned_to_nat(1u); -x_501 = lean_nat_add(x_3, x_500); -lean_dec(x_3); -x_502 = l_Lean_mkHole(x_11); -lean_inc(x_498); -x_503 = l_Lean_Elab_Term_mkExplicitBinder(x_498, x_502); -x_504 = lean_array_push(x_4, x_503); -lean_inc(x_5); -x_505 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_501, x_504, x_5, x_499); -if (lean_obj_tag(x_505) == 0) +x_500 = l_Lean_Syntax_isTermId_x3f(x_498, x_499); +if (lean_obj_tag(x_500) == 0) { -lean_object* x_506; lean_object* x_507; uint8_t x_508; -x_506 = lean_ctor_get(x_505, 0); -lean_inc(x_506); -x_507 = lean_ctor_get(x_505, 1); -lean_inc(x_507); -lean_dec(x_505); -x_508 = !lean_is_exclusive(x_506); -if (x_508 == 0) -{ -lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; uint8_t x_513; -x_509 = lean_ctor_get(x_506, 1); -x_510 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_507); -lean_dec(x_5); -x_511 = lean_ctor_get(x_510, 1); -lean_inc(x_511); -lean_dec(x_510); -x_512 = l_Lean_Elab_Term_getMainModule___rarg(x_511); -x_513 = !lean_is_exclusive(x_512); -if (x_513 == 0) -{ -lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; uint8_t x_530; -x_514 = lean_ctor_get(x_512, 0); -lean_dec(x_514); -x_515 = l_Array_empty___closed__1; -x_516 = lean_array_push(x_515, x_498); -x_517 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_518 = lean_array_push(x_516, x_517); -x_519 = l_Lean_mkTermIdFromIdent___closed__2; -x_520 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_520, 0, x_519); -lean_ctor_set(x_520, 1, x_518); -x_521 = lean_array_push(x_515, x_520); -x_522 = l_Lean_nullKind___closed__2; -x_523 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_523, 0, x_522); -lean_ctor_set(x_523, 1, x_521); -x_524 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_525 = lean_array_push(x_524, x_523); -x_526 = lean_array_push(x_525, x_517); -x_527 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_528 = lean_array_push(x_526, x_527); -lean_inc(x_11); -x_529 = lean_array_push(x_515, x_11); -x_530 = !lean_is_exclusive(x_11); -if (x_530 == 0) -{ -lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; -x_531 = lean_ctor_get(x_11, 1); -lean_dec(x_531); -x_532 = lean_ctor_get(x_11, 0); -lean_dec(x_532); -lean_ctor_set(x_11, 1, x_529); -lean_ctor_set(x_11, 0, x_522); -x_533 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_534 = lean_array_push(x_533, x_11); -x_535 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_536 = lean_array_push(x_534, x_535); -x_537 = lean_array_push(x_536, x_509); -x_538 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_539 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_539, 0, x_538); -lean_ctor_set(x_539, 1, x_537); -x_540 = lean_array_push(x_515, x_539); -x_541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_541, 0, x_522); -lean_ctor_set(x_541, 1, x_540); -x_542 = lean_array_push(x_528, x_541); -x_543 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_544 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_544, 0, x_543); -lean_ctor_set(x_544, 1, x_542); -lean_ctor_set(x_506, 1, x_544); -lean_ctor_set(x_512, 0, x_506); -return x_512; -} -else -{ -lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; -lean_dec(x_11); -x_545 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_545, 0, x_522); -lean_ctor_set(x_545, 1, x_529); -x_546 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_547 = lean_array_push(x_546, x_545); -x_548 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_549 = lean_array_push(x_547, x_548); -x_550 = lean_array_push(x_549, x_509); -x_551 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_552, 0, x_551); -lean_ctor_set(x_552, 1, x_550); -x_553 = lean_array_push(x_515, x_552); -x_554 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_554, 0, x_522); -lean_ctor_set(x_554, 1, x_553); -x_555 = lean_array_push(x_528, x_554); -x_556 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_557 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_557, 0, x_556); -lean_ctor_set(x_557, 1, x_555); -lean_ctor_set(x_506, 1, x_557); -lean_ctor_set(x_512, 0, x_506); -return x_512; -} -} -else -{ -lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; -x_558 = lean_ctor_get(x_512, 1); -lean_inc(x_558); -lean_dec(x_512); -x_559 = l_Array_empty___closed__1; -x_560 = lean_array_push(x_559, x_498); -x_561 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_562 = lean_array_push(x_560, x_561); -x_563 = l_Lean_mkTermIdFromIdent___closed__2; -x_564 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_564, 0, x_563); -lean_ctor_set(x_564, 1, x_562); -x_565 = lean_array_push(x_559, x_564); -x_566 = l_Lean_nullKind___closed__2; -x_567 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_567, 0, x_566); -lean_ctor_set(x_567, 1, x_565); -x_568 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_569 = lean_array_push(x_568, x_567); -x_570 = lean_array_push(x_569, x_561); -x_571 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_572 = lean_array_push(x_570, x_571); -lean_inc(x_11); -x_573 = lean_array_push(x_559, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_574 = x_11; -} else { - lean_dec_ref(x_11); - x_574 = lean_box(0); -} -if (lean_is_scalar(x_574)) { - x_575 = lean_alloc_ctor(1, 2, 0); -} else { - x_575 = x_574; -} -lean_ctor_set(x_575, 0, x_566); -lean_ctor_set(x_575, 1, x_573); -x_576 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_577 = lean_array_push(x_576, x_575); -x_578 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_579 = lean_array_push(x_577, x_578); -x_580 = lean_array_push(x_579, x_509); -x_581 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_582 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_582, 0, x_581); -lean_ctor_set(x_582, 1, x_580); -x_583 = lean_array_push(x_559, x_582); -x_584 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_584, 0, x_566); -lean_ctor_set(x_584, 1, x_583); -x_585 = lean_array_push(x_572, x_584); -x_586 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_587 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_587, 0, x_586); -lean_ctor_set(x_587, 1, x_585); -lean_ctor_set(x_506, 1, x_587); -x_588 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_588, 0, x_506); -lean_ctor_set(x_588, 1, x_558); -return x_588; -} -} -else -{ -lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; -x_589 = lean_ctor_get(x_506, 0); -x_590 = lean_ctor_get(x_506, 1); -lean_inc(x_590); -lean_inc(x_589); -lean_dec(x_506); -x_591 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_507); -lean_dec(x_5); -x_592 = lean_ctor_get(x_591, 1); -lean_inc(x_592); -lean_dec(x_591); -x_593 = l_Lean_Elab_Term_getMainModule___rarg(x_592); -x_594 = lean_ctor_get(x_593, 1); -lean_inc(x_594); -if (lean_is_exclusive(x_593)) { - lean_ctor_release(x_593, 0); - lean_ctor_release(x_593, 1); - x_595 = x_593; -} else { - lean_dec_ref(x_593); - x_595 = lean_box(0); -} -x_596 = l_Array_empty___closed__1; -x_597 = lean_array_push(x_596, x_498); -x_598 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_599 = lean_array_push(x_597, x_598); -x_600 = l_Lean_mkTermIdFromIdent___closed__2; -x_601 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_599); -x_602 = lean_array_push(x_596, x_601); -x_603 = l_Lean_nullKind___closed__2; -x_604 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_604, 0, x_603); -lean_ctor_set(x_604, 1, x_602); -x_605 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_606 = lean_array_push(x_605, x_604); -x_607 = lean_array_push(x_606, x_598); -x_608 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_609 = lean_array_push(x_607, x_608); -lean_inc(x_11); -x_610 = lean_array_push(x_596, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_611 = x_11; -} else { - lean_dec_ref(x_11); - x_611 = lean_box(0); -} -if (lean_is_scalar(x_611)) { - x_612 = lean_alloc_ctor(1, 2, 0); -} else { - x_612 = x_611; -} -lean_ctor_set(x_612, 0, x_603); -lean_ctor_set(x_612, 1, x_610); -x_613 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_614 = lean_array_push(x_613, x_612); -x_615 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_616 = lean_array_push(x_614, x_615); -x_617 = lean_array_push(x_616, x_590); -x_618 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_619, 0, x_618); -lean_ctor_set(x_619, 1, x_617); -x_620 = lean_array_push(x_596, x_619); -x_621 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_621, 0, x_603); -lean_ctor_set(x_621, 1, x_620); -x_622 = lean_array_push(x_609, x_621); -x_623 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_624 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_624, 0, x_623); -lean_ctor_set(x_624, 1, x_622); -x_625 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_625, 0, x_589); -lean_ctor_set(x_625, 1, x_624); -if (lean_is_scalar(x_595)) { - x_626 = lean_alloc_ctor(0, 2, 0); -} else { - x_626 = x_595; -} -lean_ctor_set(x_626, 0, x_625); -lean_ctor_set(x_626, 1, x_594); -return x_626; -} -} -else -{ -uint8_t x_627; +lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_dec(x_498); -lean_dec(x_11); -lean_dec(x_5); -x_627 = !lean_is_exclusive(x_505); -if (x_627 == 0) +x_501 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_502 = lean_ctor_get(x_501, 0); +lean_inc(x_502); +x_503 = lean_ctor_get(x_501, 1); +lean_inc(x_503); +lean_dec(x_501); +x_504 = lean_unsigned_to_nat(1u); +x_505 = lean_nat_add(x_3, x_504); +lean_dec(x_3); +x_506 = l_Lean_mkHole(x_11); +lean_inc(x_502); +x_507 = l_Lean_Elab_Term_mkExplicitBinder(x_502, x_506); +x_508 = lean_array_push(x_4, x_507); +lean_inc(x_5); +x_509 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_505, x_508, x_5, x_503); +if (lean_obj_tag(x_509) == 0) { -return x_505; +lean_object* x_510; lean_object* x_511; uint8_t x_512; +x_510 = lean_ctor_get(x_509, 0); +lean_inc(x_510); +x_511 = lean_ctor_get(x_509, 1); +lean_inc(x_511); +lean_dec(x_509); +x_512 = !lean_is_exclusive(x_510); +if (x_512 == 0) +{ +lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; uint8_t x_517; +x_513 = lean_ctor_get(x_510, 1); +x_514 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_511); +lean_dec(x_5); +x_515 = lean_ctor_get(x_514, 1); +lean_inc(x_515); +lean_dec(x_514); +x_516 = l_Lean_Elab_Term_getMainModule___rarg(x_515); +x_517 = !lean_is_exclusive(x_516); +if (x_517 == 0) +{ +lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; uint8_t x_534; +x_518 = lean_ctor_get(x_516, 0); +lean_dec(x_518); +x_519 = l_Array_empty___closed__1; +x_520 = lean_array_push(x_519, x_502); +x_521 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_522 = lean_array_push(x_520, x_521); +x_523 = l_Lean_mkTermIdFromIdent___closed__2; +x_524 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_524, 0, x_523); +lean_ctor_set(x_524, 1, x_522); +x_525 = lean_array_push(x_519, x_524); +x_526 = l_Lean_nullKind___closed__2; +x_527 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_527, 0, x_526); +lean_ctor_set(x_527, 1, x_525); +x_528 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_529 = lean_array_push(x_528, x_527); +x_530 = lean_array_push(x_529, x_521); +x_531 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_532 = lean_array_push(x_530, x_531); +lean_inc(x_11); +x_533 = lean_array_push(x_519, x_11); +x_534 = !lean_is_exclusive(x_11); +if (x_534 == 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; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; +x_535 = lean_ctor_get(x_11, 1); +lean_dec(x_535); +x_536 = lean_ctor_get(x_11, 0); +lean_dec(x_536); +lean_ctor_set(x_11, 1, x_533); +lean_ctor_set(x_11, 0, x_526); +x_537 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_538 = lean_array_push(x_537, x_11); +x_539 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_540 = lean_array_push(x_538, x_539); +x_541 = lean_array_push(x_540, x_513); +x_542 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_543 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_543, 0, x_542); +lean_ctor_set(x_543, 1, x_541); +x_544 = lean_array_push(x_519, x_543); +x_545 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_545, 0, x_526); +lean_ctor_set(x_545, 1, x_544); +x_546 = lean_array_push(x_532, x_545); +x_547 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_548 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_548, 0, x_547); +lean_ctor_set(x_548, 1, x_546); +lean_ctor_set(x_510, 1, x_548); +lean_ctor_set(x_516, 0, x_510); +return x_516; } else { -lean_object* x_628; lean_object* x_629; lean_object* x_630; -x_628 = lean_ctor_get(x_505, 0); -x_629 = lean_ctor_get(x_505, 1); -lean_inc(x_629); -lean_inc(x_628); -lean_dec(x_505); -x_630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_630, 0, x_628); -lean_ctor_set(x_630, 1, x_629); +lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; +lean_dec(x_11); +x_549 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_549, 0, x_526); +lean_ctor_set(x_549, 1, x_533); +x_550 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_551 = lean_array_push(x_550, x_549); +x_552 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_553 = lean_array_push(x_551, x_552); +x_554 = lean_array_push(x_553, x_513); +x_555 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_556 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_556, 0, x_555); +lean_ctor_set(x_556, 1, x_554); +x_557 = lean_array_push(x_519, x_556); +x_558 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_558, 0, x_526); +lean_ctor_set(x_558, 1, x_557); +x_559 = lean_array_push(x_532, x_558); +x_560 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_561 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_561, 0, x_560); +lean_ctor_set(x_561, 1, x_559); +lean_ctor_set(x_510, 1, x_561); +lean_ctor_set(x_516, 0, x_510); +return x_516; +} +} +else +{ +lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; +x_562 = lean_ctor_get(x_516, 1); +lean_inc(x_562); +lean_dec(x_516); +x_563 = l_Array_empty___closed__1; +x_564 = lean_array_push(x_563, x_502); +x_565 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_566 = lean_array_push(x_564, x_565); +x_567 = l_Lean_mkTermIdFromIdent___closed__2; +x_568 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_568, 0, x_567); +lean_ctor_set(x_568, 1, x_566); +x_569 = lean_array_push(x_563, x_568); +x_570 = l_Lean_nullKind___closed__2; +x_571 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_571, 0, x_570); +lean_ctor_set(x_571, 1, x_569); +x_572 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_573 = lean_array_push(x_572, x_571); +x_574 = lean_array_push(x_573, x_565); +x_575 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_576 = lean_array_push(x_574, x_575); +lean_inc(x_11); +x_577 = lean_array_push(x_563, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_578 = x_11; +} else { + lean_dec_ref(x_11); + x_578 = lean_box(0); +} +if (lean_is_scalar(x_578)) { + x_579 = lean_alloc_ctor(1, 2, 0); +} else { + x_579 = x_578; +} +lean_ctor_set(x_579, 0, x_570); +lean_ctor_set(x_579, 1, x_577); +x_580 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_581 = lean_array_push(x_580, x_579); +x_582 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_583 = lean_array_push(x_581, x_582); +x_584 = lean_array_push(x_583, x_513); +x_585 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_586 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_586, 0, x_585); +lean_ctor_set(x_586, 1, x_584); +x_587 = lean_array_push(x_563, x_586); +x_588 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_588, 0, x_570); +lean_ctor_set(x_588, 1, x_587); +x_589 = lean_array_push(x_576, x_588); +x_590 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_591 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_591, 0, x_590); +lean_ctor_set(x_591, 1, x_589); +lean_ctor_set(x_510, 1, x_591); +x_592 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_592, 0, x_510); +lean_ctor_set(x_592, 1, x_562); +return x_592; +} +} +else +{ +lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; +x_593 = lean_ctor_get(x_510, 0); +x_594 = lean_ctor_get(x_510, 1); +lean_inc(x_594); +lean_inc(x_593); +lean_dec(x_510); +x_595 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_511); +lean_dec(x_5); +x_596 = lean_ctor_get(x_595, 1); +lean_inc(x_596); +lean_dec(x_595); +x_597 = l_Lean_Elab_Term_getMainModule___rarg(x_596); +x_598 = lean_ctor_get(x_597, 1); +lean_inc(x_598); +if (lean_is_exclusive(x_597)) { + lean_ctor_release(x_597, 0); + lean_ctor_release(x_597, 1); + x_599 = x_597; +} else { + lean_dec_ref(x_597); + x_599 = lean_box(0); +} +x_600 = l_Array_empty___closed__1; +x_601 = lean_array_push(x_600, x_502); +x_602 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_603 = lean_array_push(x_601, x_602); +x_604 = l_Lean_mkTermIdFromIdent___closed__2; +x_605 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_605, 0, x_604); +lean_ctor_set(x_605, 1, x_603); +x_606 = lean_array_push(x_600, x_605); +x_607 = l_Lean_nullKind___closed__2; +x_608 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_608, 0, x_607); +lean_ctor_set(x_608, 1, x_606); +x_609 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_610 = lean_array_push(x_609, x_608); +x_611 = lean_array_push(x_610, x_602); +x_612 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_613 = lean_array_push(x_611, x_612); +lean_inc(x_11); +x_614 = lean_array_push(x_600, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_615 = x_11; +} else { + lean_dec_ref(x_11); + x_615 = lean_box(0); +} +if (lean_is_scalar(x_615)) { + x_616 = lean_alloc_ctor(1, 2, 0); +} else { + x_616 = x_615; +} +lean_ctor_set(x_616, 0, x_607); +lean_ctor_set(x_616, 1, x_614); +x_617 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_618 = lean_array_push(x_617, x_616); +x_619 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_620 = lean_array_push(x_618, x_619); +x_621 = lean_array_push(x_620, x_594); +x_622 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_623 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_623, 0, x_622); +lean_ctor_set(x_623, 1, x_621); +x_624 = lean_array_push(x_600, x_623); +x_625 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_625, 0, x_607); +lean_ctor_set(x_625, 1, x_624); +x_626 = lean_array_push(x_613, x_625); +x_627 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_628 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_628, 0, x_627); +lean_ctor_set(x_628, 1, x_626); +x_629 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_629, 0, x_593); +lean_ctor_set(x_629, 1, x_628); +if (lean_is_scalar(x_599)) { + x_630 = lean_alloc_ctor(0, 2, 0); +} else { + x_630 = x_599; +} +lean_ctor_set(x_630, 0, x_629); +lean_ctor_set(x_630, 1, x_598); return x_630; } } +else +{ +uint8_t x_631; +lean_dec(x_502); +lean_dec(x_11); +lean_dec(x_5); +x_631 = !lean_is_exclusive(x_509); +if (x_631 == 0) +{ +return x_509; } else { -lean_object* x_631; lean_object* x_632; lean_object* x_633; uint8_t x_634; -lean_dec(x_11); -x_631 = lean_ctor_get(x_496, 0); -lean_inc(x_631); -lean_dec(x_496); -x_632 = lean_ctor_get(x_631, 0); -lean_inc(x_632); -x_633 = lean_ctor_get(x_631, 1); +lean_object* x_632; lean_object* x_633; lean_object* x_634; +x_632 = lean_ctor_get(x_509, 0); +x_633 = lean_ctor_get(x_509, 1); lean_inc(x_633); -lean_dec(x_631); -x_634 = l_Lean_Syntax_isNone(x_633); -lean_dec(x_633); -if (x_634 == 0) +lean_inc(x_632); +lean_dec(x_509); +x_634 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_634, 0, x_632); +lean_ctor_set(x_634, 1, x_633); +return x_634; +} +} +} +else { -lean_object* x_635; lean_object* x_636; uint8_t x_637; -lean_dec(x_632); +lean_object* x_635; lean_object* x_636; lean_object* x_637; uint8_t x_638; +lean_dec(x_11); +x_635 = lean_ctor_get(x_500, 0); +lean_inc(x_635); +lean_dec(x_500); +x_636 = lean_ctor_get(x_635, 0); +lean_inc(x_636); +x_637 = lean_ctor_get(x_635, 1); +lean_inc(x_637); +lean_dec(x_635); +x_638 = l_Lean_Syntax_isNone(x_637); +lean_dec(x_637); +if (x_638 == 0) +{ +lean_object* x_639; lean_object* x_640; uint8_t x_641; +lean_dec(x_636); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_635 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_636 = l_Lean_Elab_Term_throwError___rarg(x_495, x_635, x_5, x_6); -lean_dec(x_495); -x_637 = !lean_is_exclusive(x_636); -if (x_637 == 0) +x_639 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_640 = l_Lean_Elab_Term_throwError___rarg(x_498, x_639, x_5, x_6); +lean_dec(x_498); +x_641 = !lean_is_exclusive(x_640); +if (x_641 == 0) { -return x_636; -} -else -{ -lean_object* x_638; lean_object* x_639; lean_object* x_640; -x_638 = lean_ctor_get(x_636, 0); -x_639 = lean_ctor_get(x_636, 1); -lean_inc(x_639); -lean_inc(x_638); -lean_dec(x_636); -x_640 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_640, 0, x_638); -lean_ctor_set(x_640, 1, x_639); return x_640; } +else +{ +lean_object* x_642; lean_object* x_643; lean_object* x_644; +x_642 = lean_ctor_get(x_640, 0); +x_643 = lean_ctor_get(x_640, 1); +lean_inc(x_643); +lean_inc(x_642); +lean_dec(x_640); +x_644 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_644, 0, x_642); +lean_ctor_set(x_644, 1, x_643); +return x_644; +} } else { -lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; -x_641 = l_Lean_mkHole(x_495); -lean_dec(x_495); -x_642 = lean_unsigned_to_nat(1u); -x_643 = lean_nat_add(x_3, x_642); +lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; +x_645 = l_Lean_mkHole(x_498); +lean_dec(x_498); +x_646 = lean_unsigned_to_nat(1u); +x_647 = lean_nat_add(x_3, x_646); lean_dec(x_3); -x_644 = l_Lean_Elab_Term_mkExplicitBinder(x_632, x_641); -x_645 = lean_array_push(x_4, x_644); -x_3 = x_643; -x_4 = x_645; +x_648 = l_Lean_Elab_Term_mkExplicitBinder(x_636, x_645); +x_649 = lean_array_push(x_4, x_648); +x_3 = x_647; +x_4 = x_649; goto _start; } } } else { -lean_object* x_647; lean_object* x_648; uint8_t x_649; +lean_object* x_651; lean_object* x_652; uint8_t x_653; lean_free_object(x_15); lean_free_object(x_14); lean_free_object(x_13); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_647 = lean_unsigned_to_nat(1u); -x_648 = l_Lean_Syntax_getArg(x_11, x_647); -x_649 = l_Lean_Syntax_isNone(x_648); -if (x_649 == 0) -{ -lean_object* x_650; lean_object* x_651; lean_object* x_652; uint8_t x_653; -x_650 = lean_unsigned_to_nat(0u); -x_651 = l_Lean_Syntax_getArg(x_648, x_650); -x_652 = l_Lean_Syntax_getArg(x_648, x_647); -lean_dec(x_648); +x_651 = lean_unsigned_to_nat(1u); +x_652 = l_Lean_Syntax_getArg(x_11, x_651); x_653 = l_Lean_Syntax_isNone(x_652); if (x_653 == 0) { -lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; uint8_t x_661; -x_654 = l_Lean_Syntax_getArg(x_652, x_650); +lean_object* x_654; lean_object* x_655; lean_object* x_656; uint8_t x_657; +x_654 = lean_unsigned_to_nat(0u); +x_655 = l_Lean_Syntax_getArg(x_652, x_654); +x_656 = l_Lean_Syntax_getArg(x_652, x_651); lean_dec(x_652); -lean_inc(x_654); -x_655 = l_Lean_Syntax_getKind(x_654); -x_656 = lean_name_mk_string(x_16, x_30); -x_657 = lean_name_mk_string(x_656, x_183); -x_658 = lean_name_mk_string(x_657, x_337); -x_659 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; -x_660 = lean_name_mk_string(x_658, x_659); -x_661 = lean_name_eq(x_655, x_660); -lean_dec(x_660); +x_657 = l_Lean_Syntax_isNone(x_656); +if (x_657 == 0) +{ +lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; uint8_t x_665; +x_658 = l_Lean_Syntax_getArg(x_656, x_654); +lean_dec(x_656); +lean_inc(x_658); +x_659 = l_Lean_Syntax_getKind(x_658); +x_660 = lean_name_mk_string(x_16, x_30); +x_661 = lean_name_mk_string(x_660, x_184); +x_662 = lean_name_mk_string(x_661, x_339); +x_663 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; +x_664 = lean_name_mk_string(x_662, x_663); +x_665 = lean_name_eq(x_659, x_664); +lean_dec(x_664); +lean_dec(x_659); +if (x_665 == 0) +{ +lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; +lean_dec(x_658); lean_dec(x_655); -if (x_661 == 0) -{ -lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; -lean_dec(x_654); -lean_dec(x_651); -x_662 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_663 = lean_ctor_get(x_662, 0); -lean_inc(x_663); -x_664 = lean_ctor_get(x_662, 1); -lean_inc(x_664); -lean_dec(x_662); -x_665 = lean_nat_add(x_3, x_647); +x_666 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_667 = lean_ctor_get(x_666, 0); +lean_inc(x_667); +x_668 = lean_ctor_get(x_666, 1); +lean_inc(x_668); +lean_dec(x_666); +x_669 = lean_nat_add(x_3, x_651); lean_dec(x_3); -x_666 = l_Lean_mkHole(x_11); -lean_inc(x_663); -x_667 = l_Lean_Elab_Term_mkExplicitBinder(x_663, x_666); -x_668 = lean_array_push(x_4, x_667); +x_670 = l_Lean_mkHole(x_11); +lean_inc(x_667); +x_671 = l_Lean_Elab_Term_mkExplicitBinder(x_667, x_670); +x_672 = lean_array_push(x_4, x_671); lean_inc(x_5); -x_669 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_665, x_668, x_5, x_664); -if (lean_obj_tag(x_669) == 0) +x_673 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_669, x_672, x_5, x_668); +if (lean_obj_tag(x_673) == 0) { -lean_object* x_670; lean_object* x_671; uint8_t x_672; -x_670 = lean_ctor_get(x_669, 0); -lean_inc(x_670); -x_671 = lean_ctor_get(x_669, 1); -lean_inc(x_671); -lean_dec(x_669); -x_672 = !lean_is_exclusive(x_670); -if (x_672 == 0) -{ -lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; uint8_t x_677; -x_673 = lean_ctor_get(x_670, 1); -x_674 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_671); -lean_dec(x_5); -x_675 = lean_ctor_get(x_674, 1); +lean_object* x_674; lean_object* x_675; uint8_t x_676; +x_674 = lean_ctor_get(x_673, 0); +lean_inc(x_674); +x_675 = lean_ctor_get(x_673, 1); lean_inc(x_675); -lean_dec(x_674); -x_676 = l_Lean_Elab_Term_getMainModule___rarg(x_675); -x_677 = !lean_is_exclusive(x_676); -if (x_677 == 0) +lean_dec(x_673); +x_676 = !lean_is_exclusive(x_674); +if (x_676 == 0) { -lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; uint8_t x_694; -x_678 = lean_ctor_get(x_676, 0); +lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; uint8_t x_681; +x_677 = lean_ctor_get(x_674, 1); +x_678 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_675); +lean_dec(x_5); +x_679 = lean_ctor_get(x_678, 1); +lean_inc(x_679); lean_dec(x_678); -x_679 = l_Array_empty___closed__1; -x_680 = lean_array_push(x_679, x_663); -x_681 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_682 = lean_array_push(x_680, x_681); -x_683 = l_Lean_mkTermIdFromIdent___closed__2; -x_684 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_684, 0, x_683); -lean_ctor_set(x_684, 1, x_682); -x_685 = lean_array_push(x_679, x_684); -x_686 = l_Lean_nullKind___closed__2; -x_687 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_687, 0, x_686); -lean_ctor_set(x_687, 1, x_685); -x_688 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_689 = lean_array_push(x_688, x_687); -x_690 = lean_array_push(x_689, x_681); -x_691 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_692 = lean_array_push(x_690, x_691); +x_680 = l_Lean_Elab_Term_getMainModule___rarg(x_679); +x_681 = !lean_is_exclusive(x_680); +if (x_681 == 0) +{ +lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; uint8_t x_698; +x_682 = lean_ctor_get(x_680, 0); +lean_dec(x_682); +x_683 = l_Array_empty___closed__1; +x_684 = lean_array_push(x_683, x_667); +x_685 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_686 = lean_array_push(x_684, x_685); +x_687 = l_Lean_mkTermIdFromIdent___closed__2; +x_688 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_688, 0, x_687); +lean_ctor_set(x_688, 1, x_686); +x_689 = lean_array_push(x_683, x_688); +x_690 = l_Lean_nullKind___closed__2; +x_691 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_691, 0, x_690); +lean_ctor_set(x_691, 1, x_689); +x_692 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_693 = lean_array_push(x_692, x_691); +x_694 = lean_array_push(x_693, x_685); +x_695 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_696 = lean_array_push(x_694, x_695); lean_inc(x_11); -x_693 = lean_array_push(x_679, x_11); -x_694 = !lean_is_exclusive(x_11); -if (x_694 == 0) +x_697 = lean_array_push(x_683, x_11); +x_698 = !lean_is_exclusive(x_11); +if (x_698 == 0) { -lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; -x_695 = lean_ctor_get(x_11, 1); -lean_dec(x_695); -x_696 = lean_ctor_get(x_11, 0); -lean_dec(x_696); -lean_ctor_set(x_11, 1, x_693); -lean_ctor_set(x_11, 0, x_686); -x_697 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_698 = lean_array_push(x_697, x_11); -x_699 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_700 = lean_array_push(x_698, x_699); -x_701 = lean_array_push(x_700, x_673); -x_702 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_703, 0, x_702); -lean_ctor_set(x_703, 1, x_701); -x_704 = lean_array_push(x_679, x_703); -x_705 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_705, 0, x_686); -lean_ctor_set(x_705, 1, x_704); -x_706 = lean_array_push(x_692, x_705); -x_707 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_708 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_708, 0, x_707); -lean_ctor_set(x_708, 1, x_706); -lean_ctor_set(x_670, 1, x_708); -lean_ctor_set(x_676, 0, x_670); -return x_676; -} -else -{ -lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; -lean_dec(x_11); +lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; +x_699 = lean_ctor_get(x_11, 1); +lean_dec(x_699); +x_700 = lean_ctor_get(x_11, 0); +lean_dec(x_700); +lean_ctor_set(x_11, 1, x_697); +lean_ctor_set(x_11, 0, x_690); +x_701 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_702 = lean_array_push(x_701, x_11); +x_703 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_704 = lean_array_push(x_702, x_703); +x_705 = lean_array_push(x_704, x_677); +x_706 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_707 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_707, 0, x_706); +lean_ctor_set(x_707, 1, x_705); +x_708 = lean_array_push(x_683, x_707); x_709 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_709, 0, x_686); -lean_ctor_set(x_709, 1, x_693); -x_710 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_711 = lean_array_push(x_710, x_709); -x_712 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_713 = lean_array_push(x_711, x_712); -x_714 = lean_array_push(x_713, x_673); -x_715 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_716 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_716, 0, x_715); -lean_ctor_set(x_716, 1, x_714); -x_717 = lean_array_push(x_679, x_716); -x_718 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_718, 0, x_686); -lean_ctor_set(x_718, 1, x_717); -x_719 = lean_array_push(x_692, x_718); -x_720 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_721 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_721, 0, x_720); -lean_ctor_set(x_721, 1, x_719); -lean_ctor_set(x_670, 1, x_721); -lean_ctor_set(x_676, 0, x_670); -return x_676; -} +lean_ctor_set(x_709, 0, x_690); +lean_ctor_set(x_709, 1, x_708); +x_710 = lean_array_push(x_696, x_709); +x_711 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_712 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_712, 0, x_711); +lean_ctor_set(x_712, 1, x_710); +lean_ctor_set(x_674, 1, x_712); +lean_ctor_set(x_680, 0, x_674); +return x_680; } else { -lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; -x_722 = lean_ctor_get(x_676, 1); -lean_inc(x_722); -lean_dec(x_676); -x_723 = l_Array_empty___closed__1; -x_724 = lean_array_push(x_723, x_663); -x_725 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_726 = lean_array_push(x_724, x_725); -x_727 = l_Lean_mkTermIdFromIdent___closed__2; -x_728 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_728, 0, x_727); -lean_ctor_set(x_728, 1, x_726); -x_729 = lean_array_push(x_723, x_728); -x_730 = l_Lean_nullKind___closed__2; -x_731 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_731, 0, x_730); -lean_ctor_set(x_731, 1, x_729); -x_732 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_733 = lean_array_push(x_732, x_731); -x_734 = lean_array_push(x_733, x_725); -x_735 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_736 = lean_array_push(x_734, x_735); -lean_inc(x_11); -x_737 = lean_array_push(x_723, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_738 = x_11; -} else { - lean_dec_ref(x_11); - x_738 = lean_box(0); -} -if (lean_is_scalar(x_738)) { - x_739 = lean_alloc_ctor(1, 2, 0); -} else { - x_739 = x_738; -} -lean_ctor_set(x_739, 0, x_730); -lean_ctor_set(x_739, 1, x_737); -x_740 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_741 = lean_array_push(x_740, x_739); -x_742 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_743 = lean_array_push(x_741, x_742); -x_744 = lean_array_push(x_743, x_673); -x_745 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_746 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_746, 0, x_745); -lean_ctor_set(x_746, 1, x_744); -x_747 = lean_array_push(x_723, x_746); -x_748 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_748, 0, x_730); -lean_ctor_set(x_748, 1, x_747); -x_749 = lean_array_push(x_736, x_748); -x_750 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_751 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_751, 0, x_750); -lean_ctor_set(x_751, 1, x_749); -lean_ctor_set(x_670, 1, x_751); -x_752 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_752, 0, x_670); -lean_ctor_set(x_752, 1, x_722); -return x_752; -} -} -else -{ -lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; -x_753 = lean_ctor_get(x_670, 0); -x_754 = lean_ctor_get(x_670, 1); -lean_inc(x_754); -lean_inc(x_753); -lean_dec(x_670); -x_755 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_671); -lean_dec(x_5); -x_756 = lean_ctor_get(x_755, 1); -lean_inc(x_756); -lean_dec(x_755); -x_757 = l_Lean_Elab_Term_getMainModule___rarg(x_756); -x_758 = lean_ctor_get(x_757, 1); -lean_inc(x_758); -if (lean_is_exclusive(x_757)) { - lean_ctor_release(x_757, 0); - lean_ctor_release(x_757, 1); - x_759 = x_757; -} else { - lean_dec_ref(x_757); - x_759 = lean_box(0); -} -x_760 = l_Array_empty___closed__1; -x_761 = lean_array_push(x_760, x_663); -x_762 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_763 = lean_array_push(x_761, x_762); -x_764 = l_Lean_mkTermIdFromIdent___closed__2; -x_765 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_765, 0, x_764); -lean_ctor_set(x_765, 1, x_763); -x_766 = lean_array_push(x_760, x_765); -x_767 = l_Lean_nullKind___closed__2; -x_768 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_768, 0, x_767); -lean_ctor_set(x_768, 1, x_766); -x_769 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_770 = lean_array_push(x_769, x_768); -x_771 = lean_array_push(x_770, x_762); -x_772 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_773 = lean_array_push(x_771, x_772); -lean_inc(x_11); -x_774 = lean_array_push(x_760, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_775 = x_11; -} else { - lean_dec_ref(x_11); - x_775 = lean_box(0); -} -if (lean_is_scalar(x_775)) { - x_776 = lean_alloc_ctor(1, 2, 0); -} else { - x_776 = x_775; -} -lean_ctor_set(x_776, 0, x_767); -lean_ctor_set(x_776, 1, x_774); -x_777 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_778 = lean_array_push(x_777, x_776); -x_779 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_780 = lean_array_push(x_778, x_779); -x_781 = lean_array_push(x_780, x_754); -x_782 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_783 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_783, 0, x_782); -lean_ctor_set(x_783, 1, x_781); -x_784 = lean_array_push(x_760, x_783); -x_785 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_785, 0, x_767); -lean_ctor_set(x_785, 1, x_784); -x_786 = lean_array_push(x_773, x_785); -x_787 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_788 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_788, 0, x_787); -lean_ctor_set(x_788, 1, x_786); -x_789 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_789, 0, x_753); -lean_ctor_set(x_789, 1, x_788); -if (lean_is_scalar(x_759)) { - x_790 = lean_alloc_ctor(0, 2, 0); -} else { - x_790 = x_759; -} -lean_ctor_set(x_790, 0, x_789); -lean_ctor_set(x_790, 1, x_758); -return x_790; -} -} -else -{ -uint8_t x_791; -lean_dec(x_663); +lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_dec(x_11); -lean_dec(x_5); -x_791 = !lean_is_exclusive(x_669); -if (x_791 == 0) -{ -return x_669; +x_713 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_713, 0, x_690); +lean_ctor_set(x_713, 1, x_697); +x_714 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_715 = lean_array_push(x_714, x_713); +x_716 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_717 = lean_array_push(x_715, x_716); +x_718 = lean_array_push(x_717, x_677); +x_719 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_720 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_720, 0, x_719); +lean_ctor_set(x_720, 1, x_718); +x_721 = lean_array_push(x_683, x_720); +x_722 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_722, 0, x_690); +lean_ctor_set(x_722, 1, x_721); +x_723 = lean_array_push(x_696, x_722); +x_724 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_725 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_725, 0, x_724); +lean_ctor_set(x_725, 1, x_723); +lean_ctor_set(x_674, 1, x_725); +lean_ctor_set(x_680, 0, x_674); +return x_680; +} } else { -lean_object* x_792; lean_object* x_793; lean_object* x_794; -x_792 = lean_ctor_get(x_669, 0); -x_793 = lean_ctor_get(x_669, 1); -lean_inc(x_793); -lean_inc(x_792); -lean_dec(x_669); -x_794 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_794, 0, x_792); -lean_ctor_set(x_794, 1, x_793); +lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; +x_726 = lean_ctor_get(x_680, 1); +lean_inc(x_726); +lean_dec(x_680); +x_727 = l_Array_empty___closed__1; +x_728 = lean_array_push(x_727, x_667); +x_729 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_730 = lean_array_push(x_728, x_729); +x_731 = l_Lean_mkTermIdFromIdent___closed__2; +x_732 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_732, 0, x_731); +lean_ctor_set(x_732, 1, x_730); +x_733 = lean_array_push(x_727, x_732); +x_734 = l_Lean_nullKind___closed__2; +x_735 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_735, 0, x_734); +lean_ctor_set(x_735, 1, x_733); +x_736 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_737 = lean_array_push(x_736, x_735); +x_738 = lean_array_push(x_737, x_729); +x_739 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_740 = lean_array_push(x_738, x_739); +lean_inc(x_11); +x_741 = lean_array_push(x_727, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_742 = x_11; +} else { + lean_dec_ref(x_11); + x_742 = lean_box(0); +} +if (lean_is_scalar(x_742)) { + x_743 = lean_alloc_ctor(1, 2, 0); +} else { + x_743 = x_742; +} +lean_ctor_set(x_743, 0, x_734); +lean_ctor_set(x_743, 1, x_741); +x_744 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_745 = lean_array_push(x_744, x_743); +x_746 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_747 = lean_array_push(x_745, x_746); +x_748 = lean_array_push(x_747, x_677); +x_749 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_750 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_750, 0, x_749); +lean_ctor_set(x_750, 1, x_748); +x_751 = lean_array_push(x_727, x_750); +x_752 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_752, 0, x_734); +lean_ctor_set(x_752, 1, x_751); +x_753 = lean_array_push(x_740, x_752); +x_754 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_755 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_755, 0, x_754); +lean_ctor_set(x_755, 1, x_753); +lean_ctor_set(x_674, 1, x_755); +x_756 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_756, 0, x_674); +lean_ctor_set(x_756, 1, x_726); +return x_756; +} +} +else +{ +lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; +x_757 = lean_ctor_get(x_674, 0); +x_758 = lean_ctor_get(x_674, 1); +lean_inc(x_758); +lean_inc(x_757); +lean_dec(x_674); +x_759 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_675); +lean_dec(x_5); +x_760 = lean_ctor_get(x_759, 1); +lean_inc(x_760); +lean_dec(x_759); +x_761 = l_Lean_Elab_Term_getMainModule___rarg(x_760); +x_762 = lean_ctor_get(x_761, 1); +lean_inc(x_762); +if (lean_is_exclusive(x_761)) { + lean_ctor_release(x_761, 0); + lean_ctor_release(x_761, 1); + x_763 = x_761; +} else { + lean_dec_ref(x_761); + x_763 = lean_box(0); +} +x_764 = l_Array_empty___closed__1; +x_765 = lean_array_push(x_764, x_667); +x_766 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_767 = lean_array_push(x_765, x_766); +x_768 = l_Lean_mkTermIdFromIdent___closed__2; +x_769 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_769, 0, x_768); +lean_ctor_set(x_769, 1, x_767); +x_770 = lean_array_push(x_764, x_769); +x_771 = l_Lean_nullKind___closed__2; +x_772 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_772, 0, x_771); +lean_ctor_set(x_772, 1, x_770); +x_773 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_774 = lean_array_push(x_773, x_772); +x_775 = lean_array_push(x_774, x_766); +x_776 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_777 = lean_array_push(x_775, x_776); +lean_inc(x_11); +x_778 = lean_array_push(x_764, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_779 = x_11; +} else { + lean_dec_ref(x_11); + x_779 = lean_box(0); +} +if (lean_is_scalar(x_779)) { + x_780 = lean_alloc_ctor(1, 2, 0); +} else { + x_780 = x_779; +} +lean_ctor_set(x_780, 0, x_771); +lean_ctor_set(x_780, 1, x_778); +x_781 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_782 = lean_array_push(x_781, x_780); +x_783 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_784 = lean_array_push(x_782, x_783); +x_785 = lean_array_push(x_784, x_758); +x_786 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_787 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_787, 0, x_786); +lean_ctor_set(x_787, 1, x_785); +x_788 = lean_array_push(x_764, x_787); +x_789 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_789, 0, x_771); +lean_ctor_set(x_789, 1, x_788); +x_790 = lean_array_push(x_777, x_789); +x_791 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_792 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_792, 0, x_791); +lean_ctor_set(x_792, 1, x_790); +x_793 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_793, 0, x_757); +lean_ctor_set(x_793, 1, x_792); +if (lean_is_scalar(x_763)) { + x_794 = lean_alloc_ctor(0, 2, 0); +} else { + x_794 = x_763; +} +lean_ctor_set(x_794, 0, x_793); +lean_ctor_set(x_794, 1, x_762); return x_794; } } +else +{ +uint8_t x_795; +lean_dec(x_667); +lean_dec(x_11); +lean_dec(x_5); +x_795 = !lean_is_exclusive(x_673); +if (x_795 == 0) +{ +return x_673; } else { -lean_object* x_795; lean_object* x_796; lean_object* x_797; -x_795 = l_Lean_Syntax_getArg(x_654, x_647); -lean_dec(x_654); -x_796 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_651, x_5, x_6); -x_797 = lean_ctor_get(x_796, 0); +lean_object* x_796; lean_object* x_797; lean_object* x_798; +x_796 = lean_ctor_get(x_673, 0); +x_797 = lean_ctor_get(x_673, 1); lean_inc(x_797); -if (lean_obj_tag(x_797) == 0) +lean_inc(x_796); +lean_dec(x_673); +x_798 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_798, 0, x_796); +lean_ctor_set(x_798, 1, x_797); +return x_798; +} +} +} +else { -lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; -lean_dec(x_795); -x_798 = lean_ctor_get(x_796, 1); -lean_inc(x_798); -lean_dec(x_796); -x_799 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_798); -x_800 = lean_ctor_get(x_799, 0); -lean_inc(x_800); -x_801 = lean_ctor_get(x_799, 1); +lean_object* x_799; lean_object* x_800; lean_object* x_801; +x_799 = l_Lean_Syntax_getArg(x_658, x_651); +lean_dec(x_658); +x_800 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_655, x_5, x_6); +x_801 = lean_ctor_get(x_800, 0); lean_inc(x_801); +if (lean_obj_tag(x_801) == 0) +{ +lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_dec(x_799); -x_802 = lean_nat_add(x_3, x_647); -lean_dec(x_3); -x_803 = l_Lean_mkHole(x_11); -lean_inc(x_800); -x_804 = l_Lean_Elab_Term_mkExplicitBinder(x_800, x_803); -x_805 = lean_array_push(x_4, x_804); -lean_inc(x_5); -x_806 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_802, x_805, x_5, x_801); -if (lean_obj_tag(x_806) == 0) -{ -lean_object* x_807; lean_object* x_808; uint8_t x_809; -x_807 = lean_ctor_get(x_806, 0); -lean_inc(x_807); -x_808 = lean_ctor_get(x_806, 1); -lean_inc(x_808); -lean_dec(x_806); -x_809 = !lean_is_exclusive(x_807); -if (x_809 == 0) -{ -lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; uint8_t x_814; -x_810 = lean_ctor_get(x_807, 1); -x_811 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_808); -lean_dec(x_5); -x_812 = lean_ctor_get(x_811, 1); -lean_inc(x_812); -lean_dec(x_811); -x_813 = l_Lean_Elab_Term_getMainModule___rarg(x_812); -x_814 = !lean_is_exclusive(x_813); -if (x_814 == 0) -{ -lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; uint8_t x_831; -x_815 = lean_ctor_get(x_813, 0); -lean_dec(x_815); -x_816 = l_Array_empty___closed__1; -x_817 = lean_array_push(x_816, x_800); -x_818 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_819 = lean_array_push(x_817, x_818); -x_820 = l_Lean_mkTermIdFromIdent___closed__2; -x_821 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_821, 0, x_820); -lean_ctor_set(x_821, 1, x_819); -x_822 = lean_array_push(x_816, x_821); -x_823 = l_Lean_nullKind___closed__2; -x_824 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_824, 0, x_823); -lean_ctor_set(x_824, 1, x_822); -x_825 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_826 = lean_array_push(x_825, x_824); -x_827 = lean_array_push(x_826, x_818); -x_828 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_829 = lean_array_push(x_827, x_828); -lean_inc(x_11); -x_830 = lean_array_push(x_816, x_11); -x_831 = !lean_is_exclusive(x_11); -if (x_831 == 0) -{ -lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; -x_832 = lean_ctor_get(x_11, 1); -lean_dec(x_832); -x_833 = lean_ctor_get(x_11, 0); -lean_dec(x_833); -lean_ctor_set(x_11, 1, x_830); -lean_ctor_set(x_11, 0, x_823); -x_834 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_835 = lean_array_push(x_834, x_11); -x_836 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_837 = lean_array_push(x_835, x_836); -x_838 = lean_array_push(x_837, x_810); -x_839 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_840 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_840, 0, x_839); -lean_ctor_set(x_840, 1, x_838); -x_841 = lean_array_push(x_816, x_840); -x_842 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_842, 0, x_823); -lean_ctor_set(x_842, 1, x_841); -x_843 = lean_array_push(x_829, x_842); -x_844 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_845 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_845, 0, x_844); -lean_ctor_set(x_845, 1, x_843); -lean_ctor_set(x_807, 1, x_845); -lean_ctor_set(x_813, 0, x_807); -return x_813; -} -else -{ -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_dec(x_11); -x_846 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_846, 0, x_823); -lean_ctor_set(x_846, 1, x_830); -x_847 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_848 = lean_array_push(x_847, x_846); -x_849 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_850 = lean_array_push(x_848, x_849); -x_851 = lean_array_push(x_850, x_810); -x_852 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_853, 0, x_852); -lean_ctor_set(x_853, 1, x_851); -x_854 = lean_array_push(x_816, x_853); -x_855 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_855, 0, x_823); -lean_ctor_set(x_855, 1, x_854); -x_856 = lean_array_push(x_829, x_855); -x_857 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_858 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_858, 0, x_857); -lean_ctor_set(x_858, 1, x_856); -lean_ctor_set(x_807, 1, x_858); -lean_ctor_set(x_813, 0, x_807); -return x_813; -} -} -else -{ -lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; -x_859 = lean_ctor_get(x_813, 1); -lean_inc(x_859); -lean_dec(x_813); -x_860 = l_Array_empty___closed__1; -x_861 = lean_array_push(x_860, x_800); -x_862 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_863 = lean_array_push(x_861, x_862); -x_864 = l_Lean_mkTermIdFromIdent___closed__2; -x_865 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_865, 0, x_864); -lean_ctor_set(x_865, 1, x_863); -x_866 = lean_array_push(x_860, x_865); -x_867 = l_Lean_nullKind___closed__2; -x_868 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_868, 0, x_867); -lean_ctor_set(x_868, 1, x_866); -x_869 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_870 = lean_array_push(x_869, x_868); -x_871 = lean_array_push(x_870, x_862); -x_872 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_873 = lean_array_push(x_871, x_872); -lean_inc(x_11); -x_874 = lean_array_push(x_860, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_875 = x_11; -} else { - lean_dec_ref(x_11); - x_875 = lean_box(0); -} -if (lean_is_scalar(x_875)) { - x_876 = lean_alloc_ctor(1, 2, 0); -} else { - x_876 = x_875; -} -lean_ctor_set(x_876, 0, x_867); -lean_ctor_set(x_876, 1, x_874); -x_877 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_878 = lean_array_push(x_877, x_876); -x_879 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_880 = lean_array_push(x_878, x_879); -x_881 = lean_array_push(x_880, x_810); -x_882 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_883 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_883, 0, x_882); -lean_ctor_set(x_883, 1, x_881); -x_884 = lean_array_push(x_860, x_883); -x_885 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_885, 0, x_867); -lean_ctor_set(x_885, 1, x_884); -x_886 = lean_array_push(x_873, x_885); -x_887 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_888 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_888, 0, x_887); -lean_ctor_set(x_888, 1, x_886); -lean_ctor_set(x_807, 1, x_888); -x_889 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_889, 0, x_807); -lean_ctor_set(x_889, 1, x_859); -return x_889; -} -} -else -{ -lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; -x_890 = lean_ctor_get(x_807, 0); -x_891 = lean_ctor_get(x_807, 1); -lean_inc(x_891); -lean_inc(x_890); -lean_dec(x_807); -x_892 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_808); -lean_dec(x_5); -x_893 = lean_ctor_get(x_892, 1); -lean_inc(x_893); -lean_dec(x_892); -x_894 = l_Lean_Elab_Term_getMainModule___rarg(x_893); -x_895 = lean_ctor_get(x_894, 1); -lean_inc(x_895); -if (lean_is_exclusive(x_894)) { - lean_ctor_release(x_894, 0); - lean_ctor_release(x_894, 1); - x_896 = x_894; -} else { - lean_dec_ref(x_894); - x_896 = lean_box(0); -} -x_897 = l_Array_empty___closed__1; -x_898 = lean_array_push(x_897, x_800); -x_899 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_900 = lean_array_push(x_898, x_899); -x_901 = l_Lean_mkTermIdFromIdent___closed__2; -x_902 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_902, 0, x_901); -lean_ctor_set(x_902, 1, x_900); -x_903 = lean_array_push(x_897, x_902); -x_904 = l_Lean_nullKind___closed__2; -x_905 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_905, 0, x_904); -lean_ctor_set(x_905, 1, x_903); -x_906 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_907 = lean_array_push(x_906, x_905); -x_908 = lean_array_push(x_907, x_899); -x_909 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_910 = lean_array_push(x_908, x_909); -lean_inc(x_11); -x_911 = lean_array_push(x_897, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_912 = x_11; -} else { - lean_dec_ref(x_11); - x_912 = lean_box(0); -} -if (lean_is_scalar(x_912)) { - x_913 = lean_alloc_ctor(1, 2, 0); -} else { - x_913 = x_912; -} -lean_ctor_set(x_913, 0, x_904); -lean_ctor_set(x_913, 1, x_911); -x_914 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_915 = lean_array_push(x_914, x_913); -x_916 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_917 = lean_array_push(x_915, x_916); -x_918 = lean_array_push(x_917, x_891); -x_919 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_920 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_920, 0, x_919); -lean_ctor_set(x_920, 1, x_918); -x_921 = lean_array_push(x_897, x_920); -x_922 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_922, 0, x_904); -lean_ctor_set(x_922, 1, x_921); -x_923 = lean_array_push(x_910, x_922); -x_924 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_925 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_925, 0, x_924); -lean_ctor_set(x_925, 1, x_923); -x_926 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_926, 0, x_890); -lean_ctor_set(x_926, 1, x_925); -if (lean_is_scalar(x_896)) { - x_927 = lean_alloc_ctor(0, 2, 0); -} else { - x_927 = x_896; -} -lean_ctor_set(x_927, 0, x_926); -lean_ctor_set(x_927, 1, x_895); -return x_927; -} -} -else -{ -uint8_t x_928; +x_802 = lean_ctor_get(x_800, 1); +lean_inc(x_802); lean_dec(x_800); -lean_dec(x_11); -lean_dec(x_5); -x_928 = !lean_is_exclusive(x_806); -if (x_928 == 0) +x_803 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_802); +x_804 = lean_ctor_get(x_803, 0); +lean_inc(x_804); +x_805 = lean_ctor_get(x_803, 1); +lean_inc(x_805); +lean_dec(x_803); +x_806 = lean_nat_add(x_3, x_651); +lean_dec(x_3); +x_807 = l_Lean_mkHole(x_11); +lean_inc(x_804); +x_808 = l_Lean_Elab_Term_mkExplicitBinder(x_804, x_807); +x_809 = lean_array_push(x_4, x_808); +lean_inc(x_5); +x_810 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_806, x_809, x_5, x_805); +if (lean_obj_tag(x_810) == 0) { -return x_806; +lean_object* x_811; lean_object* x_812; uint8_t x_813; +x_811 = lean_ctor_get(x_810, 0); +lean_inc(x_811); +x_812 = lean_ctor_get(x_810, 1); +lean_inc(x_812); +lean_dec(x_810); +x_813 = !lean_is_exclusive(x_811); +if (x_813 == 0) +{ +lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; uint8_t x_818; +x_814 = lean_ctor_get(x_811, 1); +x_815 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_812); +lean_dec(x_5); +x_816 = lean_ctor_get(x_815, 1); +lean_inc(x_816); +lean_dec(x_815); +x_817 = l_Lean_Elab_Term_getMainModule___rarg(x_816); +x_818 = !lean_is_exclusive(x_817); +if (x_818 == 0) +{ +lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; uint8_t x_835; +x_819 = lean_ctor_get(x_817, 0); +lean_dec(x_819); +x_820 = l_Array_empty___closed__1; +x_821 = lean_array_push(x_820, x_804); +x_822 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_823 = lean_array_push(x_821, x_822); +x_824 = l_Lean_mkTermIdFromIdent___closed__2; +x_825 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_825, 0, x_824); +lean_ctor_set(x_825, 1, x_823); +x_826 = lean_array_push(x_820, x_825); +x_827 = l_Lean_nullKind___closed__2; +x_828 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_828, 0, x_827); +lean_ctor_set(x_828, 1, x_826); +x_829 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_830 = lean_array_push(x_829, x_828); +x_831 = lean_array_push(x_830, x_822); +x_832 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_833 = lean_array_push(x_831, x_832); +lean_inc(x_11); +x_834 = lean_array_push(x_820, x_11); +x_835 = !lean_is_exclusive(x_11); +if (x_835 == 0) +{ +lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; +x_836 = lean_ctor_get(x_11, 1); +lean_dec(x_836); +x_837 = lean_ctor_get(x_11, 0); +lean_dec(x_837); +lean_ctor_set(x_11, 1, x_834); +lean_ctor_set(x_11, 0, x_827); +x_838 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_839 = lean_array_push(x_838, x_11); +x_840 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_841 = lean_array_push(x_839, x_840); +x_842 = lean_array_push(x_841, x_814); +x_843 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_844 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_844, 0, x_843); +lean_ctor_set(x_844, 1, x_842); +x_845 = lean_array_push(x_820, x_844); +x_846 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_846, 0, x_827); +lean_ctor_set(x_846, 1, x_845); +x_847 = lean_array_push(x_833, x_846); +x_848 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_849 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_849, 0, x_848); +lean_ctor_set(x_849, 1, x_847); +lean_ctor_set(x_811, 1, x_849); +lean_ctor_set(x_817, 0, x_811); +return x_817; } else { -lean_object* x_929; lean_object* x_930; lean_object* x_931; -x_929 = lean_ctor_get(x_806, 0); -x_930 = lean_ctor_get(x_806, 1); -lean_inc(x_930); -lean_inc(x_929); -lean_dec(x_806); -x_931 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_931, 0, x_929); -lean_ctor_set(x_931, 1, x_930); +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_dec(x_11); +x_850 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_850, 0, x_827); +lean_ctor_set(x_850, 1, x_834); +x_851 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_852 = lean_array_push(x_851, x_850); +x_853 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_854 = lean_array_push(x_852, x_853); +x_855 = lean_array_push(x_854, x_814); +x_856 = l_Lean_Parser_Term_matchAlt___elambda__1___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_820, x_857); +x_859 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_859, 0, x_827); +lean_ctor_set(x_859, 1, x_858); +x_860 = lean_array_push(x_833, x_859); +x_861 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_862 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_862, 0, x_861); +lean_ctor_set(x_862, 1, x_860); +lean_ctor_set(x_811, 1, x_862); +lean_ctor_set(x_817, 0, x_811); +return x_817; +} +} +else +{ +lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; +x_863 = lean_ctor_get(x_817, 1); +lean_inc(x_863); +lean_dec(x_817); +x_864 = l_Array_empty___closed__1; +x_865 = lean_array_push(x_864, x_804); +x_866 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_867 = lean_array_push(x_865, x_866); +x_868 = l_Lean_mkTermIdFromIdent___closed__2; +x_869 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_869, 0, x_868); +lean_ctor_set(x_869, 1, x_867); +x_870 = lean_array_push(x_864, x_869); +x_871 = l_Lean_nullKind___closed__2; +x_872 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_872, 0, x_871); +lean_ctor_set(x_872, 1, x_870); +x_873 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_874 = lean_array_push(x_873, x_872); +x_875 = lean_array_push(x_874, x_866); +x_876 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_877 = lean_array_push(x_875, x_876); +lean_inc(x_11); +x_878 = lean_array_push(x_864, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_879 = x_11; +} else { + lean_dec_ref(x_11); + x_879 = lean_box(0); +} +if (lean_is_scalar(x_879)) { + x_880 = lean_alloc_ctor(1, 2, 0); +} else { + x_880 = x_879; +} +lean_ctor_set(x_880, 0, x_871); +lean_ctor_set(x_880, 1, x_878); +x_881 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_882 = lean_array_push(x_881, x_880); +x_883 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_884 = lean_array_push(x_882, x_883); +x_885 = lean_array_push(x_884, x_814); +x_886 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_887 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_887, 0, x_886); +lean_ctor_set(x_887, 1, x_885); +x_888 = lean_array_push(x_864, x_887); +x_889 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_889, 0, x_871); +lean_ctor_set(x_889, 1, x_888); +x_890 = lean_array_push(x_877, x_889); +x_891 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_892 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_892, 0, x_891); +lean_ctor_set(x_892, 1, x_890); +lean_ctor_set(x_811, 1, x_892); +x_893 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_893, 0, x_811); +lean_ctor_set(x_893, 1, x_863); +return x_893; +} +} +else +{ +lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; +x_894 = lean_ctor_get(x_811, 0); +x_895 = lean_ctor_get(x_811, 1); +lean_inc(x_895); +lean_inc(x_894); +lean_dec(x_811); +x_896 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_812); +lean_dec(x_5); +x_897 = lean_ctor_get(x_896, 1); +lean_inc(x_897); +lean_dec(x_896); +x_898 = l_Lean_Elab_Term_getMainModule___rarg(x_897); +x_899 = lean_ctor_get(x_898, 1); +lean_inc(x_899); +if (lean_is_exclusive(x_898)) { + lean_ctor_release(x_898, 0); + lean_ctor_release(x_898, 1); + x_900 = x_898; +} else { + lean_dec_ref(x_898); + x_900 = lean_box(0); +} +x_901 = l_Array_empty___closed__1; +x_902 = lean_array_push(x_901, x_804); +x_903 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_904 = lean_array_push(x_902, x_903); +x_905 = l_Lean_mkTermIdFromIdent___closed__2; +x_906 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_906, 0, x_905); +lean_ctor_set(x_906, 1, x_904); +x_907 = lean_array_push(x_901, x_906); +x_908 = l_Lean_nullKind___closed__2; +x_909 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_909, 0, x_908); +lean_ctor_set(x_909, 1, x_907); +x_910 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_911 = lean_array_push(x_910, x_909); +x_912 = lean_array_push(x_911, x_903); +x_913 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_914 = lean_array_push(x_912, x_913); +lean_inc(x_11); +x_915 = lean_array_push(x_901, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_916 = x_11; +} else { + lean_dec_ref(x_11); + x_916 = lean_box(0); +} +if (lean_is_scalar(x_916)) { + x_917 = lean_alloc_ctor(1, 2, 0); +} else { + x_917 = x_916; +} +lean_ctor_set(x_917, 0, x_908); +lean_ctor_set(x_917, 1, x_915); +x_918 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_919 = lean_array_push(x_918, x_917); +x_920 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_921 = lean_array_push(x_919, x_920); +x_922 = lean_array_push(x_921, x_895); +x_923 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_924 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_924, 0, x_923); +lean_ctor_set(x_924, 1, x_922); +x_925 = lean_array_push(x_901, x_924); +x_926 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_926, 0, x_908); +lean_ctor_set(x_926, 1, x_925); +x_927 = lean_array_push(x_914, x_926); +x_928 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_929 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_929, 0, x_928); +lean_ctor_set(x_929, 1, x_927); +x_930 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_930, 0, x_894); +lean_ctor_set(x_930, 1, x_929); +if (lean_is_scalar(x_900)) { + x_931 = lean_alloc_ctor(0, 2, 0); +} else { + x_931 = x_900; +} +lean_ctor_set(x_931, 0, x_930); +lean_ctor_set(x_931, 1, x_899); return x_931; } } +else +{ +uint8_t x_932; +lean_dec(x_804); +lean_dec(x_11); +lean_dec(x_5); +x_932 = !lean_is_exclusive(x_810); +if (x_932 == 0) +{ +return x_810; } else { -lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; -lean_dec(x_11); -x_932 = lean_ctor_get(x_796, 1); -lean_inc(x_932); -lean_dec(x_796); -x_933 = lean_ctor_get(x_797, 0); +lean_object* x_933; lean_object* x_934; lean_object* x_935; +x_933 = lean_ctor_get(x_810, 0); +x_934 = lean_ctor_get(x_810, 1); +lean_inc(x_934); lean_inc(x_933); -lean_dec(x_797); -x_934 = lean_nat_add(x_3, x_647); +lean_dec(x_810); +x_935 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_935, 0, x_933); +lean_ctor_set(x_935, 1, x_934); +return x_935; +} +} +} +else +{ +lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; +lean_dec(x_11); +x_936 = lean_ctor_get(x_800, 1); +lean_inc(x_936); +lean_dec(x_800); +x_937 = lean_ctor_get(x_801, 0); +lean_inc(x_937); +lean_dec(x_801); +x_938 = lean_nat_add(x_3, x_651); lean_dec(x_3); -x_935 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_795, x_650, x_933); -x_936 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_935, x_935, x_650, x_4); -lean_dec(x_935); -x_3 = x_934; -x_4 = x_936; -x_6 = x_932; +x_939 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_799, x_654, x_937); +x_940 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_939, x_939, x_654, x_4); +lean_dec(x_939); +x_3 = x_938; +x_4 = x_940; +x_6 = x_936; goto _start; } } } else { -lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; -lean_dec(x_652); -lean_dec(x_651); -x_938 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_939 = lean_ctor_get(x_938, 0); -lean_inc(x_939); -x_940 = lean_ctor_get(x_938, 1); -lean_inc(x_940); -lean_dec(x_938); -x_941 = lean_nat_add(x_3, x_647); +lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; +lean_dec(x_656); +lean_dec(x_655); +x_942 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_943 = lean_ctor_get(x_942, 0); +lean_inc(x_943); +x_944 = lean_ctor_get(x_942, 1); +lean_inc(x_944); +lean_dec(x_942); +x_945 = lean_nat_add(x_3, x_651); lean_dec(x_3); -x_942 = l_Lean_mkHole(x_11); -lean_inc(x_939); -x_943 = l_Lean_Elab_Term_mkExplicitBinder(x_939, x_942); -x_944 = lean_array_push(x_4, x_943); +x_946 = l_Lean_mkHole(x_11); +lean_inc(x_943); +x_947 = l_Lean_Elab_Term_mkExplicitBinder(x_943, x_946); +x_948 = lean_array_push(x_4, x_947); lean_inc(x_5); -x_945 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_941, x_944, x_5, x_940); -if (lean_obj_tag(x_945) == 0) +x_949 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_945, x_948, x_5, x_944); +if (lean_obj_tag(x_949) == 0) { -lean_object* x_946; lean_object* x_947; uint8_t x_948; -x_946 = lean_ctor_get(x_945, 0); -lean_inc(x_946); -x_947 = lean_ctor_get(x_945, 1); -lean_inc(x_947); -lean_dec(x_945); -x_948 = !lean_is_exclusive(x_946); -if (x_948 == 0) -{ -lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; uint8_t x_953; -x_949 = lean_ctor_get(x_946, 1); -x_950 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_947); -lean_dec(x_5); -x_951 = lean_ctor_get(x_950, 1); +lean_object* x_950; lean_object* x_951; uint8_t x_952; +x_950 = lean_ctor_get(x_949, 0); +lean_inc(x_950); +x_951 = lean_ctor_get(x_949, 1); lean_inc(x_951); -lean_dec(x_950); -x_952 = l_Lean_Elab_Term_getMainModule___rarg(x_951); -x_953 = !lean_is_exclusive(x_952); -if (x_953 == 0) +lean_dec(x_949); +x_952 = !lean_is_exclusive(x_950); +if (x_952 == 0) { -lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; uint8_t x_970; -x_954 = lean_ctor_get(x_952, 0); +lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; uint8_t x_957; +x_953 = lean_ctor_get(x_950, 1); +x_954 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_951); +lean_dec(x_5); +x_955 = lean_ctor_get(x_954, 1); +lean_inc(x_955); lean_dec(x_954); -x_955 = l_Array_empty___closed__1; -x_956 = lean_array_push(x_955, x_939); -x_957 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_958 = lean_array_push(x_956, x_957); -x_959 = l_Lean_mkTermIdFromIdent___closed__2; -x_960 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_960, 0, x_959); -lean_ctor_set(x_960, 1, x_958); -x_961 = lean_array_push(x_955, x_960); -x_962 = l_Lean_nullKind___closed__2; -x_963 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_963, 0, x_962); -lean_ctor_set(x_963, 1, x_961); -x_964 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_965 = lean_array_push(x_964, x_963); -x_966 = lean_array_push(x_965, x_957); -x_967 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_968 = lean_array_push(x_966, x_967); +x_956 = l_Lean_Elab_Term_getMainModule___rarg(x_955); +x_957 = !lean_is_exclusive(x_956); +if (x_957 == 0) +{ +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; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; uint8_t x_974; +x_958 = lean_ctor_get(x_956, 0); +lean_dec(x_958); +x_959 = l_Array_empty___closed__1; +x_960 = lean_array_push(x_959, x_943); +x_961 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_962 = lean_array_push(x_960, x_961); +x_963 = l_Lean_mkTermIdFromIdent___closed__2; +x_964 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_964, 0, x_963); +lean_ctor_set(x_964, 1, x_962); +x_965 = lean_array_push(x_959, x_964); +x_966 = l_Lean_nullKind___closed__2; +x_967 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_967, 0, x_966); +lean_ctor_set(x_967, 1, x_965); +x_968 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_969 = lean_array_push(x_968, x_967); +x_970 = lean_array_push(x_969, x_961); +x_971 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_972 = lean_array_push(x_970, x_971); lean_inc(x_11); -x_969 = lean_array_push(x_955, x_11); -x_970 = !lean_is_exclusive(x_11); -if (x_970 == 0) +x_973 = lean_array_push(x_959, x_11); +x_974 = !lean_is_exclusive(x_11); +if (x_974 == 0) { -lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; -x_971 = lean_ctor_get(x_11, 1); -lean_dec(x_971); -x_972 = lean_ctor_get(x_11, 0); -lean_dec(x_972); -lean_ctor_set(x_11, 1, x_969); -lean_ctor_set(x_11, 0, x_962); -x_973 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_974 = lean_array_push(x_973, x_11); -x_975 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_976 = lean_array_push(x_974, x_975); -x_977 = lean_array_push(x_976, x_949); -x_978 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_979 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_979, 0, x_978); -lean_ctor_set(x_979, 1, x_977); -x_980 = lean_array_push(x_955, x_979); -x_981 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_981, 0, x_962); -lean_ctor_set(x_981, 1, x_980); -x_982 = lean_array_push(x_968, x_981); -x_983 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_984 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_984, 0, x_983); -lean_ctor_set(x_984, 1, x_982); -lean_ctor_set(x_946, 1, x_984); -lean_ctor_set(x_952, 0, x_946); -return x_952; -} -else -{ -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_11); +lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; +x_975 = lean_ctor_get(x_11, 1); +lean_dec(x_975); +x_976 = lean_ctor_get(x_11, 0); +lean_dec(x_976); +lean_ctor_set(x_11, 1, x_973); +lean_ctor_set(x_11, 0, x_966); +x_977 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_978 = lean_array_push(x_977, x_11); +x_979 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_980 = lean_array_push(x_978, x_979); +x_981 = lean_array_push(x_980, x_953); +x_982 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_983 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_983, 0, x_982); +lean_ctor_set(x_983, 1, x_981); +x_984 = lean_array_push(x_959, x_983); x_985 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_985, 0, x_962); -lean_ctor_set(x_985, 1, x_969); -x_986 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_987 = lean_array_push(x_986, x_985); -x_988 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_989 = lean_array_push(x_987, x_988); -x_990 = lean_array_push(x_989, x_949); -x_991 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_992 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_992, 0, x_991); -lean_ctor_set(x_992, 1, x_990); -x_993 = lean_array_push(x_955, x_992); -x_994 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_994, 0, x_962); -lean_ctor_set(x_994, 1, x_993); -x_995 = lean_array_push(x_968, x_994); -x_996 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_997 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_997, 0, x_996); -lean_ctor_set(x_997, 1, x_995); -lean_ctor_set(x_946, 1, x_997); -lean_ctor_set(x_952, 0, x_946); -return x_952; -} +lean_ctor_set(x_985, 0, x_966); +lean_ctor_set(x_985, 1, x_984); +x_986 = lean_array_push(x_972, x_985); +x_987 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_988 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_988, 0, x_987); +lean_ctor_set(x_988, 1, x_986); +lean_ctor_set(x_950, 1, x_988); +lean_ctor_set(x_956, 0, x_950); +return x_956; } else { -lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; -x_998 = lean_ctor_get(x_952, 1); -lean_inc(x_998); -lean_dec(x_952); -x_999 = l_Array_empty___closed__1; -x_1000 = lean_array_push(x_999, x_939); -x_1001 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1002 = lean_array_push(x_1000, x_1001); -x_1003 = l_Lean_mkTermIdFromIdent___closed__2; -x_1004 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1004, 0, x_1003); -lean_ctor_set(x_1004, 1, x_1002); -x_1005 = lean_array_push(x_999, x_1004); -x_1006 = l_Lean_nullKind___closed__2; -x_1007 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1007, 0, x_1006); -lean_ctor_set(x_1007, 1, x_1005); -x_1008 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1009 = lean_array_push(x_1008, x_1007); -x_1010 = lean_array_push(x_1009, x_1001); -x_1011 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1012 = lean_array_push(x_1010, x_1011); -lean_inc(x_11); -x_1013 = lean_array_push(x_999, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_1014 = x_11; -} else { - lean_dec_ref(x_11); - x_1014 = lean_box(0); -} -if (lean_is_scalar(x_1014)) { - x_1015 = lean_alloc_ctor(1, 2, 0); -} else { - x_1015 = x_1014; -} -lean_ctor_set(x_1015, 0, x_1006); -lean_ctor_set(x_1015, 1, x_1013); -x_1016 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1017 = lean_array_push(x_1016, x_1015); -x_1018 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1019 = lean_array_push(x_1017, x_1018); -x_1020 = lean_array_push(x_1019, x_949); -x_1021 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1022 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1022, 0, x_1021); -lean_ctor_set(x_1022, 1, x_1020); -x_1023 = lean_array_push(x_999, x_1022); -x_1024 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1024, 0, x_1006); -lean_ctor_set(x_1024, 1, x_1023); -x_1025 = lean_array_push(x_1012, x_1024); -x_1026 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1027 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1027, 0, x_1026); -lean_ctor_set(x_1027, 1, x_1025); -lean_ctor_set(x_946, 1, x_1027); -x_1028 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1028, 0, x_946); -lean_ctor_set(x_1028, 1, x_998); -return x_1028; -} -} -else -{ -lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; 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; -x_1029 = lean_ctor_get(x_946, 0); -x_1030 = lean_ctor_get(x_946, 1); -lean_inc(x_1030); -lean_inc(x_1029); -lean_dec(x_946); -x_1031 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_947); -lean_dec(x_5); -x_1032 = lean_ctor_get(x_1031, 1); -lean_inc(x_1032); -lean_dec(x_1031); -x_1033 = l_Lean_Elab_Term_getMainModule___rarg(x_1032); -x_1034 = lean_ctor_get(x_1033, 1); -lean_inc(x_1034); -if (lean_is_exclusive(x_1033)) { - lean_ctor_release(x_1033, 0); - lean_ctor_release(x_1033, 1); - x_1035 = x_1033; -} else { - lean_dec_ref(x_1033); - x_1035 = lean_box(0); -} -x_1036 = l_Array_empty___closed__1; -x_1037 = lean_array_push(x_1036, x_939); -x_1038 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1039 = lean_array_push(x_1037, x_1038); -x_1040 = l_Lean_mkTermIdFromIdent___closed__2; -x_1041 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1041, 0, x_1040); -lean_ctor_set(x_1041, 1, x_1039); -x_1042 = lean_array_push(x_1036, x_1041); -x_1043 = l_Lean_nullKind___closed__2; -x_1044 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1044, 0, x_1043); -lean_ctor_set(x_1044, 1, x_1042); -x_1045 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1046 = lean_array_push(x_1045, x_1044); -x_1047 = lean_array_push(x_1046, x_1038); -x_1048 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1049 = lean_array_push(x_1047, x_1048); -lean_inc(x_11); -x_1050 = lean_array_push(x_1036, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_1051 = x_11; -} else { - lean_dec_ref(x_11); - x_1051 = lean_box(0); -} -if (lean_is_scalar(x_1051)) { - x_1052 = lean_alloc_ctor(1, 2, 0); -} else { - x_1052 = x_1051; -} -lean_ctor_set(x_1052, 0, x_1043); -lean_ctor_set(x_1052, 1, x_1050); -x_1053 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1054 = lean_array_push(x_1053, x_1052); -x_1055 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1056 = lean_array_push(x_1054, x_1055); -x_1057 = lean_array_push(x_1056, x_1030); -x_1058 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1059 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1059, 0, x_1058); -lean_ctor_set(x_1059, 1, x_1057); -x_1060 = lean_array_push(x_1036, x_1059); -x_1061 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1061, 0, x_1043); -lean_ctor_set(x_1061, 1, x_1060); -x_1062 = lean_array_push(x_1049, x_1061); -x_1063 = l_Lean_Parser_Term_match___elambda__1___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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1065, 0, x_1029); -lean_ctor_set(x_1065, 1, x_1064); -if (lean_is_scalar(x_1035)) { - x_1066 = lean_alloc_ctor(0, 2, 0); -} else { - x_1066 = x_1035; -} -lean_ctor_set(x_1066, 0, x_1065); -lean_ctor_set(x_1066, 1, x_1034); -return x_1066; -} -} -else -{ -uint8_t x_1067; -lean_dec(x_939); +lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_dec(x_11); -lean_dec(x_5); -x_1067 = !lean_is_exclusive(x_945); -if (x_1067 == 0) -{ -return x_945; +x_989 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_989, 0, x_966); +lean_ctor_set(x_989, 1, x_973); +x_990 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_991 = lean_array_push(x_990, x_989); +x_992 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_993 = lean_array_push(x_991, x_992); +x_994 = lean_array_push(x_993, x_953); +x_995 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_996 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_996, 0, x_995); +lean_ctor_set(x_996, 1, x_994); +x_997 = lean_array_push(x_959, x_996); +x_998 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_998, 0, x_966); +lean_ctor_set(x_998, 1, x_997); +x_999 = lean_array_push(x_972, x_998); +x_1000 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1001 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1001, 0, x_1000); +lean_ctor_set(x_1001, 1, x_999); +lean_ctor_set(x_950, 1, x_1001); +lean_ctor_set(x_956, 0, x_950); +return x_956; +} } else { -lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; -x_1068 = lean_ctor_get(x_945, 0); -x_1069 = lean_ctor_get(x_945, 1); -lean_inc(x_1069); -lean_inc(x_1068); -lean_dec(x_945); -x_1070 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1070, 0, x_1068); -lean_ctor_set(x_1070, 1, x_1069); +lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; +x_1002 = lean_ctor_get(x_956, 1); +lean_inc(x_1002); +lean_dec(x_956); +x_1003 = l_Array_empty___closed__1; +x_1004 = lean_array_push(x_1003, x_943); +x_1005 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1006 = lean_array_push(x_1004, x_1005); +x_1007 = l_Lean_mkTermIdFromIdent___closed__2; +x_1008 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1008, 0, x_1007); +lean_ctor_set(x_1008, 1, x_1006); +x_1009 = lean_array_push(x_1003, x_1008); +x_1010 = l_Lean_nullKind___closed__2; +x_1011 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1011, 0, x_1010); +lean_ctor_set(x_1011, 1, x_1009); +x_1012 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1013 = lean_array_push(x_1012, x_1011); +x_1014 = lean_array_push(x_1013, x_1005); +x_1015 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1016 = lean_array_push(x_1014, x_1015); +lean_inc(x_11); +x_1017 = lean_array_push(x_1003, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1018 = x_11; +} else { + lean_dec_ref(x_11); + x_1018 = lean_box(0); +} +if (lean_is_scalar(x_1018)) { + x_1019 = lean_alloc_ctor(1, 2, 0); +} else { + x_1019 = x_1018; +} +lean_ctor_set(x_1019, 0, x_1010); +lean_ctor_set(x_1019, 1, x_1017); +x_1020 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1021 = lean_array_push(x_1020, x_1019); +x_1022 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1023 = lean_array_push(x_1021, x_1022); +x_1024 = lean_array_push(x_1023, x_953); +x_1025 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1026 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1026, 0, x_1025); +lean_ctor_set(x_1026, 1, x_1024); +x_1027 = lean_array_push(x_1003, x_1026); +x_1028 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1028, 0, x_1010); +lean_ctor_set(x_1028, 1, x_1027); +x_1029 = lean_array_push(x_1016, x_1028); +x_1030 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1031 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1031, 0, x_1030); +lean_ctor_set(x_1031, 1, x_1029); +lean_ctor_set(x_950, 1, x_1031); +x_1032 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1032, 0, x_950); +lean_ctor_set(x_1032, 1, x_1002); +return x_1032; +} +} +else +{ +lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; 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; +x_1033 = lean_ctor_get(x_950, 0); +x_1034 = lean_ctor_get(x_950, 1); +lean_inc(x_1034); +lean_inc(x_1033); +lean_dec(x_950); +x_1035 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_951); +lean_dec(x_5); +x_1036 = lean_ctor_get(x_1035, 1); +lean_inc(x_1036); +lean_dec(x_1035); +x_1037 = l_Lean_Elab_Term_getMainModule___rarg(x_1036); +x_1038 = lean_ctor_get(x_1037, 1); +lean_inc(x_1038); +if (lean_is_exclusive(x_1037)) { + lean_ctor_release(x_1037, 0); + lean_ctor_release(x_1037, 1); + x_1039 = x_1037; +} else { + lean_dec_ref(x_1037); + x_1039 = lean_box(0); +} +x_1040 = l_Array_empty___closed__1; +x_1041 = lean_array_push(x_1040, x_943); +x_1042 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1043 = lean_array_push(x_1041, x_1042); +x_1044 = l_Lean_mkTermIdFromIdent___closed__2; +x_1045 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1045, 0, x_1044); +lean_ctor_set(x_1045, 1, x_1043); +x_1046 = lean_array_push(x_1040, x_1045); +x_1047 = l_Lean_nullKind___closed__2; +x_1048 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1048, 0, x_1047); +lean_ctor_set(x_1048, 1, x_1046); +x_1049 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1050 = lean_array_push(x_1049, x_1048); +x_1051 = lean_array_push(x_1050, x_1042); +x_1052 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1053 = lean_array_push(x_1051, x_1052); +lean_inc(x_11); +x_1054 = lean_array_push(x_1040, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1055 = x_11; +} else { + lean_dec_ref(x_11); + x_1055 = lean_box(0); +} +if (lean_is_scalar(x_1055)) { + x_1056 = lean_alloc_ctor(1, 2, 0); +} else { + x_1056 = x_1055; +} +lean_ctor_set(x_1056, 0, x_1047); +lean_ctor_set(x_1056, 1, x_1054); +x_1057 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1058 = lean_array_push(x_1057, x_1056); +x_1059 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1060 = lean_array_push(x_1058, x_1059); +x_1061 = lean_array_push(x_1060, x_1034); +x_1062 = l_Lean_Parser_Term_matchAlt___elambda__1___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 = lean_array_push(x_1040, x_1063); +x_1065 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1065, 0, x_1047); +lean_ctor_set(x_1065, 1, x_1064); +x_1066 = lean_array_push(x_1053, x_1065); +x_1067 = l_Lean_Parser_Term_match___elambda__1___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 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1069, 0, x_1033); +lean_ctor_set(x_1069, 1, x_1068); +if (lean_is_scalar(x_1039)) { + x_1070 = lean_alloc_ctor(0, 2, 0); +} else { + x_1070 = x_1039; +} +lean_ctor_set(x_1070, 0, x_1069); +lean_ctor_set(x_1070, 1, x_1038); return x_1070; } } -} +else +{ +uint8_t x_1071; +lean_dec(x_943); +lean_dec(x_11); +lean_dec(x_5); +x_1071 = !lean_is_exclusive(x_949); +if (x_1071 == 0) +{ +return x_949; } else { -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_dec(x_648); -x_1071 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1072 = lean_ctor_get(x_1071, 0); -lean_inc(x_1072); -x_1073 = lean_ctor_get(x_1071, 1); +lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; +x_1072 = lean_ctor_get(x_949, 0); +x_1073 = lean_ctor_get(x_949, 1); lean_inc(x_1073); -lean_dec(x_1071); -x_1074 = lean_nat_add(x_3, x_647); -lean_dec(x_3); -x_1075 = l_Lean_mkHole(x_11); lean_inc(x_1072); -x_1076 = l_Lean_Elab_Term_mkExplicitBinder(x_1072, x_1075); -x_1077 = lean_array_push(x_4, x_1076); +lean_dec(x_949); +x_1074 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1074, 0, x_1072); +lean_ctor_set(x_1074, 1, x_1073); +return x_1074; +} +} +} +} +else +{ +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_dec(x_652); +x_1075 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1076 = lean_ctor_get(x_1075, 0); +lean_inc(x_1076); +x_1077 = lean_ctor_get(x_1075, 1); +lean_inc(x_1077); +lean_dec(x_1075); +x_1078 = lean_nat_add(x_3, x_651); +lean_dec(x_3); +x_1079 = l_Lean_mkHole(x_11); +lean_inc(x_1076); +x_1080 = l_Lean_Elab_Term_mkExplicitBinder(x_1076, x_1079); +x_1081 = lean_array_push(x_4, x_1080); lean_inc(x_5); -x_1078 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1074, x_1077, x_5, x_1073); -if (lean_obj_tag(x_1078) == 0) +x_1082 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1078, x_1081, x_5, x_1077); +if (lean_obj_tag(x_1082) == 0) { -lean_object* x_1079; lean_object* x_1080; uint8_t x_1081; -x_1079 = lean_ctor_get(x_1078, 0); -lean_inc(x_1079); -x_1080 = lean_ctor_get(x_1078, 1); -lean_inc(x_1080); -lean_dec(x_1078); -x_1081 = !lean_is_exclusive(x_1079); -if (x_1081 == 0) -{ -lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; uint8_t x_1086; -x_1082 = lean_ctor_get(x_1079, 1); -x_1083 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1080); -lean_dec(x_5); -x_1084 = lean_ctor_get(x_1083, 1); +lean_object* x_1083; lean_object* x_1084; uint8_t x_1085; +x_1083 = lean_ctor_get(x_1082, 0); +lean_inc(x_1083); +x_1084 = lean_ctor_get(x_1082, 1); lean_inc(x_1084); -lean_dec(x_1083); -x_1085 = l_Lean_Elab_Term_getMainModule___rarg(x_1084); -x_1086 = !lean_is_exclusive(x_1085); -if (x_1086 == 0) +lean_dec(x_1082); +x_1085 = !lean_is_exclusive(x_1083); +if (x_1085 == 0) { -lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; uint8_t x_1103; -x_1087 = lean_ctor_get(x_1085, 0); +lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; uint8_t x_1090; +x_1086 = lean_ctor_get(x_1083, 1); +x_1087 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1084); +lean_dec(x_5); +x_1088 = lean_ctor_get(x_1087, 1); +lean_inc(x_1088); lean_dec(x_1087); -x_1088 = l_Array_empty___closed__1; -x_1089 = lean_array_push(x_1088, x_1072); -x_1090 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1091 = lean_array_push(x_1089, x_1090); -x_1092 = l_Lean_mkTermIdFromIdent___closed__2; -x_1093 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1093, 0, x_1092); -lean_ctor_set(x_1093, 1, x_1091); -x_1094 = lean_array_push(x_1088, x_1093); -x_1095 = l_Lean_nullKind___closed__2; -x_1096 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1096, 0, x_1095); -lean_ctor_set(x_1096, 1, x_1094); -x_1097 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1098 = lean_array_push(x_1097, x_1096); -x_1099 = lean_array_push(x_1098, x_1090); -x_1100 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1101 = lean_array_push(x_1099, x_1100); +x_1089 = l_Lean_Elab_Term_getMainModule___rarg(x_1088); +x_1090 = !lean_is_exclusive(x_1089); +if (x_1090 == 0) +{ +lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; uint8_t x_1107; +x_1091 = lean_ctor_get(x_1089, 0); +lean_dec(x_1091); +x_1092 = l_Array_empty___closed__1; +x_1093 = lean_array_push(x_1092, x_1076); +x_1094 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1095 = lean_array_push(x_1093, x_1094); +x_1096 = l_Lean_mkTermIdFromIdent___closed__2; +x_1097 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1097, 0, x_1096); +lean_ctor_set(x_1097, 1, x_1095); +x_1098 = lean_array_push(x_1092, x_1097); +x_1099 = l_Lean_nullKind___closed__2; +x_1100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1100, 0, x_1099); +lean_ctor_set(x_1100, 1, x_1098); +x_1101 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1102 = lean_array_push(x_1101, x_1100); +x_1103 = lean_array_push(x_1102, x_1094); +x_1104 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1105 = lean_array_push(x_1103, x_1104); lean_inc(x_11); -x_1102 = lean_array_push(x_1088, x_11); -x_1103 = !lean_is_exclusive(x_11); -if (x_1103 == 0) +x_1106 = lean_array_push(x_1092, x_11); +x_1107 = !lean_is_exclusive(x_11); +if (x_1107 == 0) { -lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; -x_1104 = lean_ctor_get(x_11, 1); -lean_dec(x_1104); -x_1105 = lean_ctor_get(x_11, 0); -lean_dec(x_1105); -lean_ctor_set(x_11, 1, x_1102); -lean_ctor_set(x_11, 0, x_1095); -x_1106 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1107 = lean_array_push(x_1106, x_11); -x_1108 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1109 = lean_array_push(x_1107, x_1108); -x_1110 = lean_array_push(x_1109, x_1082); -x_1111 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1112, 0, x_1111); -lean_ctor_set(x_1112, 1, x_1110); -x_1113 = lean_array_push(x_1088, x_1112); -x_1114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1114, 0, x_1095); -lean_ctor_set(x_1114, 1, x_1113); -x_1115 = lean_array_push(x_1101, x_1114); -x_1116 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1117, 0, x_1116); -lean_ctor_set(x_1117, 1, x_1115); -lean_ctor_set(x_1079, 1, x_1117); -lean_ctor_set(x_1085, 0, x_1079); -return x_1085; -} -else -{ -lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; -lean_dec(x_11); +lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; +x_1108 = lean_ctor_get(x_11, 1); +lean_dec(x_1108); +x_1109 = lean_ctor_get(x_11, 0); +lean_dec(x_1109); +lean_ctor_set(x_11, 1, x_1106); +lean_ctor_set(x_11, 0, x_1099); +x_1110 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1111 = lean_array_push(x_1110, x_11); +x_1112 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1113 = lean_array_push(x_1111, x_1112); +x_1114 = lean_array_push(x_1113, x_1086); +x_1115 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1116, 0, x_1115); +lean_ctor_set(x_1116, 1, x_1114); +x_1117 = lean_array_push(x_1092, x_1116); x_1118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1118, 0, x_1095); -lean_ctor_set(x_1118, 1, x_1102); -x_1119 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1120 = lean_array_push(x_1119, x_1118); -x_1121 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1122 = lean_array_push(x_1120, x_1121); -x_1123 = lean_array_push(x_1122, x_1082); -x_1124 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1125, 0, x_1124); -lean_ctor_set(x_1125, 1, x_1123); -x_1126 = lean_array_push(x_1088, x_1125); -x_1127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1127, 0, x_1095); -lean_ctor_set(x_1127, 1, x_1126); -x_1128 = lean_array_push(x_1101, x_1127); -x_1129 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1130, 0, x_1129); -lean_ctor_set(x_1130, 1, x_1128); -lean_ctor_set(x_1079, 1, x_1130); -lean_ctor_set(x_1085, 0, x_1079); -return x_1085; -} +lean_ctor_set(x_1118, 0, x_1099); +lean_ctor_set(x_1118, 1, x_1117); +x_1119 = lean_array_push(x_1105, x_1118); +x_1120 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1121, 0, x_1120); +lean_ctor_set(x_1121, 1, x_1119); +lean_ctor_set(x_1083, 1, x_1121); +lean_ctor_set(x_1089, 0, x_1083); +return x_1089; } else { -lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; -x_1131 = lean_ctor_get(x_1085, 1); -lean_inc(x_1131); -lean_dec(x_1085); -x_1132 = l_Array_empty___closed__1; -x_1133 = lean_array_push(x_1132, x_1072); -x_1134 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1135 = lean_array_push(x_1133, x_1134); -x_1136 = l_Lean_mkTermIdFromIdent___closed__2; -x_1137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1137, 0, x_1136); -lean_ctor_set(x_1137, 1, x_1135); -x_1138 = lean_array_push(x_1132, x_1137); -x_1139 = l_Lean_nullKind___closed__2; -x_1140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1140, 0, x_1139); -lean_ctor_set(x_1140, 1, x_1138); -x_1141 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1142 = lean_array_push(x_1141, x_1140); -x_1143 = lean_array_push(x_1142, x_1134); -x_1144 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1145 = lean_array_push(x_1143, x_1144); -lean_inc(x_11); -x_1146 = lean_array_push(x_1132, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_1147 = x_11; -} else { - lean_dec_ref(x_11); - x_1147 = lean_box(0); -} -if (lean_is_scalar(x_1147)) { - x_1148 = lean_alloc_ctor(1, 2, 0); -} else { - x_1148 = x_1147; -} -lean_ctor_set(x_1148, 0, x_1139); -lean_ctor_set(x_1148, 1, x_1146); -x_1149 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1150 = lean_array_push(x_1149, x_1148); -x_1151 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1152 = lean_array_push(x_1150, x_1151); -x_1153 = lean_array_push(x_1152, x_1082); -x_1154 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1155, 0, x_1154); -lean_ctor_set(x_1155, 1, x_1153); -x_1156 = lean_array_push(x_1132, x_1155); -x_1157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1157, 0, x_1139); -lean_ctor_set(x_1157, 1, x_1156); -x_1158 = lean_array_push(x_1145, x_1157); -x_1159 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1160 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1160, 0, x_1159); -lean_ctor_set(x_1160, 1, x_1158); -lean_ctor_set(x_1079, 1, x_1160); -x_1161 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1161, 0, x_1079); -lean_ctor_set(x_1161, 1, x_1131); -return x_1161; -} -} -else -{ -lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; -x_1162 = lean_ctor_get(x_1079, 0); -x_1163 = lean_ctor_get(x_1079, 1); -lean_inc(x_1163); -lean_inc(x_1162); -lean_dec(x_1079); -x_1164 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1080); -lean_dec(x_5); -x_1165 = lean_ctor_get(x_1164, 1); -lean_inc(x_1165); -lean_dec(x_1164); -x_1166 = l_Lean_Elab_Term_getMainModule___rarg(x_1165); -x_1167 = lean_ctor_get(x_1166, 1); -lean_inc(x_1167); -if (lean_is_exclusive(x_1166)) { - lean_ctor_release(x_1166, 0); - lean_ctor_release(x_1166, 1); - x_1168 = x_1166; -} else { - lean_dec_ref(x_1166); - x_1168 = lean_box(0); -} -x_1169 = l_Array_empty___closed__1; -x_1170 = lean_array_push(x_1169, x_1072); -x_1171 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1172 = lean_array_push(x_1170, x_1171); -x_1173 = l_Lean_mkTermIdFromIdent___closed__2; -x_1174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1174, 0, x_1173); -lean_ctor_set(x_1174, 1, x_1172); -x_1175 = lean_array_push(x_1169, x_1174); -x_1176 = l_Lean_nullKind___closed__2; -x_1177 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1177, 0, x_1176); -lean_ctor_set(x_1177, 1, x_1175); -x_1178 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1179 = lean_array_push(x_1178, x_1177); -x_1180 = lean_array_push(x_1179, x_1171); -x_1181 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1182 = lean_array_push(x_1180, x_1181); -lean_inc(x_11); -x_1183 = lean_array_push(x_1169, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_1184 = x_11; -} else { - lean_dec_ref(x_11); - x_1184 = lean_box(0); -} -if (lean_is_scalar(x_1184)) { - x_1185 = lean_alloc_ctor(1, 2, 0); -} else { - x_1185 = x_1184; -} -lean_ctor_set(x_1185, 0, x_1176); -lean_ctor_set(x_1185, 1, x_1183); -x_1186 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1187 = lean_array_push(x_1186, x_1185); -x_1188 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1189 = lean_array_push(x_1187, x_1188); -x_1190 = lean_array_push(x_1189, x_1163); -x_1191 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1192, 0, x_1191); -lean_ctor_set(x_1192, 1, x_1190); -x_1193 = lean_array_push(x_1169, x_1192); -x_1194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1194, 0, x_1176); -lean_ctor_set(x_1194, 1, x_1193); -x_1195 = lean_array_push(x_1182, x_1194); -x_1196 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1197, 0, x_1196); -lean_ctor_set(x_1197, 1, x_1195); -x_1198 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1198, 0, x_1162); -lean_ctor_set(x_1198, 1, x_1197); -if (lean_is_scalar(x_1168)) { - x_1199 = lean_alloc_ctor(0, 2, 0); -} else { - x_1199 = x_1168; -} -lean_ctor_set(x_1199, 0, x_1198); -lean_ctor_set(x_1199, 1, x_1167); -return x_1199; -} -} -else -{ -uint8_t x_1200; -lean_dec(x_1072); +lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_dec(x_11); -lean_dec(x_5); -x_1200 = !lean_is_exclusive(x_1078); -if (x_1200 == 0) -{ -return x_1078; +x_1122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1122, 0, x_1099); +lean_ctor_set(x_1122, 1, x_1106); +x_1123 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1124 = lean_array_push(x_1123, x_1122); +x_1125 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1126 = lean_array_push(x_1124, x_1125); +x_1127 = lean_array_push(x_1126, x_1086); +x_1128 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1129, 0, x_1128); +lean_ctor_set(x_1129, 1, x_1127); +x_1130 = lean_array_push(x_1092, x_1129); +x_1131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1131, 0, x_1099); +lean_ctor_set(x_1131, 1, x_1130); +x_1132 = lean_array_push(x_1105, x_1131); +x_1133 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1134, 0, x_1133); +lean_ctor_set(x_1134, 1, x_1132); +lean_ctor_set(x_1083, 1, x_1134); +lean_ctor_set(x_1089, 0, x_1083); +return x_1089; +} } else { -lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; -x_1201 = lean_ctor_get(x_1078, 0); -x_1202 = lean_ctor_get(x_1078, 1); -lean_inc(x_1202); -lean_inc(x_1201); -lean_dec(x_1078); -x_1203 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1203, 0, x_1201); -lean_ctor_set(x_1203, 1, x_1202); +lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; +x_1135 = lean_ctor_get(x_1089, 1); +lean_inc(x_1135); +lean_dec(x_1089); +x_1136 = l_Array_empty___closed__1; +x_1137 = lean_array_push(x_1136, x_1076); +x_1138 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1139 = lean_array_push(x_1137, x_1138); +x_1140 = l_Lean_mkTermIdFromIdent___closed__2; +x_1141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1141, 0, x_1140); +lean_ctor_set(x_1141, 1, x_1139); +x_1142 = lean_array_push(x_1136, x_1141); +x_1143 = l_Lean_nullKind___closed__2; +x_1144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1144, 0, x_1143); +lean_ctor_set(x_1144, 1, x_1142); +x_1145 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1146 = lean_array_push(x_1145, x_1144); +x_1147 = lean_array_push(x_1146, x_1138); +x_1148 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1149 = lean_array_push(x_1147, x_1148); +lean_inc(x_11); +x_1150 = lean_array_push(x_1136, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1151 = x_11; +} else { + lean_dec_ref(x_11); + x_1151 = lean_box(0); +} +if (lean_is_scalar(x_1151)) { + x_1152 = lean_alloc_ctor(1, 2, 0); +} else { + x_1152 = x_1151; +} +lean_ctor_set(x_1152, 0, x_1143); +lean_ctor_set(x_1152, 1, x_1150); +x_1153 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1154 = lean_array_push(x_1153, x_1152); +x_1155 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1156 = lean_array_push(x_1154, x_1155); +x_1157 = lean_array_push(x_1156, x_1086); +x_1158 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1159, 0, x_1158); +lean_ctor_set(x_1159, 1, x_1157); +x_1160 = lean_array_push(x_1136, x_1159); +x_1161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1161, 0, x_1143); +lean_ctor_set(x_1161, 1, x_1160); +x_1162 = lean_array_push(x_1149, x_1161); +x_1163 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1164, 0, x_1163); +lean_ctor_set(x_1164, 1, x_1162); +lean_ctor_set(x_1083, 1, x_1164); +x_1165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1165, 0, x_1083); +lean_ctor_set(x_1165, 1, x_1135); +return x_1165; +} +} +else +{ +lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; +x_1166 = lean_ctor_get(x_1083, 0); +x_1167 = lean_ctor_get(x_1083, 1); +lean_inc(x_1167); +lean_inc(x_1166); +lean_dec(x_1083); +x_1168 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1084); +lean_dec(x_5); +x_1169 = lean_ctor_get(x_1168, 1); +lean_inc(x_1169); +lean_dec(x_1168); +x_1170 = l_Lean_Elab_Term_getMainModule___rarg(x_1169); +x_1171 = lean_ctor_get(x_1170, 1); +lean_inc(x_1171); +if (lean_is_exclusive(x_1170)) { + lean_ctor_release(x_1170, 0); + lean_ctor_release(x_1170, 1); + x_1172 = x_1170; +} else { + lean_dec_ref(x_1170); + x_1172 = lean_box(0); +} +x_1173 = l_Array_empty___closed__1; +x_1174 = lean_array_push(x_1173, x_1076); +x_1175 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1176 = lean_array_push(x_1174, x_1175); +x_1177 = l_Lean_mkTermIdFromIdent___closed__2; +x_1178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1178, 0, x_1177); +lean_ctor_set(x_1178, 1, x_1176); +x_1179 = lean_array_push(x_1173, x_1178); +x_1180 = l_Lean_nullKind___closed__2; +x_1181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1181, 0, x_1180); +lean_ctor_set(x_1181, 1, x_1179); +x_1182 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1183 = lean_array_push(x_1182, x_1181); +x_1184 = lean_array_push(x_1183, x_1175); +x_1185 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1186 = lean_array_push(x_1184, x_1185); +lean_inc(x_11); +x_1187 = lean_array_push(x_1173, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1188 = x_11; +} else { + lean_dec_ref(x_11); + x_1188 = lean_box(0); +} +if (lean_is_scalar(x_1188)) { + x_1189 = lean_alloc_ctor(1, 2, 0); +} else { + x_1189 = x_1188; +} +lean_ctor_set(x_1189, 0, x_1180); +lean_ctor_set(x_1189, 1, x_1187); +x_1190 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1191 = lean_array_push(x_1190, x_1189); +x_1192 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1193 = lean_array_push(x_1191, x_1192); +x_1194 = lean_array_push(x_1193, x_1167); +x_1195 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1196, 0, x_1195); +lean_ctor_set(x_1196, 1, x_1194); +x_1197 = lean_array_push(x_1173, x_1196); +x_1198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1198, 0, x_1180); +lean_ctor_set(x_1198, 1, x_1197); +x_1199 = lean_array_push(x_1186, x_1198); +x_1200 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1201, 0, x_1200); +lean_ctor_set(x_1201, 1, x_1199); +x_1202 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1202, 0, x_1166); +lean_ctor_set(x_1202, 1, x_1201); +if (lean_is_scalar(x_1172)) { + x_1203 = lean_alloc_ctor(0, 2, 0); +} else { + x_1203 = x_1172; +} +lean_ctor_set(x_1203, 0, x_1202); +lean_ctor_set(x_1203, 1, x_1171); return x_1203; } } +else +{ +uint8_t x_1204; +lean_dec(x_1076); +lean_dec(x_11); +lean_dec(x_5); +x_1204 = !lean_is_exclusive(x_1082); +if (x_1204 == 0) +{ +return x_1082; +} +else +{ +lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; +x_1205 = lean_ctor_get(x_1082, 0); +x_1206 = lean_ctor_get(x_1082, 1); +lean_inc(x_1206); +lean_inc(x_1205); +lean_dec(x_1082); +x_1207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1207, 0, x_1205); +lean_ctor_set(x_1207, 1, x_1206); +return x_1207; +} +} } } } else { -lean_object* x_1204; 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_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_free_object(x_15); lean_free_object(x_14); lean_free_object(x_13); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_1204 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1205 = lean_ctor_get(x_1204, 0); -lean_inc(x_1205); -x_1206 = lean_ctor_get(x_1204, 1); -lean_inc(x_1206); -lean_dec(x_1204); -x_1207 = lean_unsigned_to_nat(1u); -x_1208 = lean_nat_add(x_3, x_1207); +x_1208 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1209 = lean_ctor_get(x_1208, 0); +lean_inc(x_1209); +x_1210 = lean_ctor_get(x_1208, 1); +lean_inc(x_1210); +lean_dec(x_1208); +x_1211 = lean_unsigned_to_nat(1u); +x_1212 = lean_nat_add(x_3, x_1211); lean_dec(x_3); -x_1209 = l_Lean_Elab_Term_mkExplicitBinder(x_1205, x_11); -x_1210 = lean_array_push(x_4, x_1209); -x_3 = x_1208; -x_4 = x_1210; -x_6 = x_1206; +x_1213 = l_Lean_Elab_Term_mkExplicitBinder(x_1209, x_11); +x_1214 = lean_array_push(x_4, x_1213); +x_3 = x_1212; +x_4 = x_1214; +x_6 = x_1210; goto _start; } } @@ -7563,17 +7571,17 @@ goto _start; } else { -lean_object* x_1212; size_t x_1213; lean_object* x_1214; uint8_t x_1215; -x_1212 = lean_ctor_get(x_15, 1); -x_1213 = lean_ctor_get_usize(x_15, 2); -lean_inc(x_1212); +lean_object* x_1216; size_t x_1217; lean_object* x_1218; uint8_t x_1219; +x_1216 = lean_ctor_get(x_15, 1); +x_1217 = lean_ctor_get_usize(x_15, 2); +lean_inc(x_1216); lean_dec(x_15); -x_1214 = l_Lean_mkAppStx___closed__1; -x_1215 = lean_string_dec_eq(x_1212, x_1214); -lean_dec(x_1212); -if (x_1215 == 0) +x_1218 = l_Lean_mkAppStx___closed__1; +x_1219 = lean_string_dec_eq(x_1216, x_1218); +lean_dec(x_1216); +if (x_1219 == 0) { -lean_object* x_1216; +uint8_t x_1220; lean_object* x_1221; lean_free_object(x_14); lean_dec(x_25); lean_free_object(x_13); @@ -7581,1616 +7589,1624 @@ lean_dec(x_22); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_1216 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_1216) == 0) +x_1220 = 1; +lean_inc(x_11); +x_1221 = l_Lean_Syntax_isTermId_x3f(x_11, x_1220); +if (lean_obj_tag(x_1221) == 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; -x_1217 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1218 = lean_ctor_get(x_1217, 0); -lean_inc(x_1218); -x_1219 = lean_ctor_get(x_1217, 1); -lean_inc(x_1219); -lean_dec(x_1217); -x_1220 = lean_unsigned_to_nat(1u); -x_1221 = lean_nat_add(x_3, x_1220); +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; +x_1222 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1223 = lean_ctor_get(x_1222, 0); +lean_inc(x_1223); +x_1224 = lean_ctor_get(x_1222, 1); +lean_inc(x_1224); +lean_dec(x_1222); +x_1225 = lean_unsigned_to_nat(1u); +x_1226 = lean_nat_add(x_3, x_1225); lean_dec(x_3); -x_1222 = l_Lean_mkHole(x_11); -lean_inc(x_1218); -x_1223 = l_Lean_Elab_Term_mkExplicitBinder(x_1218, x_1222); -x_1224 = lean_array_push(x_4, x_1223); +x_1227 = l_Lean_mkHole(x_11); +lean_inc(x_1223); +x_1228 = l_Lean_Elab_Term_mkExplicitBinder(x_1223, x_1227); +x_1229 = lean_array_push(x_4, x_1228); lean_inc(x_5); -x_1225 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1221, x_1224, x_5, x_1219); -if (lean_obj_tag(x_1225) == 0) +x_1230 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1226, x_1229, x_5, x_1224); +if (lean_obj_tag(x_1230) == 0) { -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_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; -x_1226 = lean_ctor_get(x_1225, 0); -lean_inc(x_1226); -x_1227 = lean_ctor_get(x_1225, 1); -lean_inc(x_1227); -lean_dec(x_1225); -x_1228 = lean_ctor_get(x_1226, 0); -lean_inc(x_1228); -x_1229 = lean_ctor_get(x_1226, 1); -lean_inc(x_1229); -if (lean_is_exclusive(x_1226)) { - lean_ctor_release(x_1226, 0); - lean_ctor_release(x_1226, 1); - x_1230 = x_1226; -} else { - lean_dec_ref(x_1226); - x_1230 = lean_box(0); -} -x_1231 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1227); -lean_dec(x_5); -x_1232 = lean_ctor_get(x_1231, 1); +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_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; +x_1231 = lean_ctor_get(x_1230, 0); +lean_inc(x_1231); +x_1232 = lean_ctor_get(x_1230, 1); lean_inc(x_1232); -lean_dec(x_1231); -x_1233 = l_Lean_Elab_Term_getMainModule___rarg(x_1232); -x_1234 = lean_ctor_get(x_1233, 1); +lean_dec(x_1230); +x_1233 = lean_ctor_get(x_1231, 0); +lean_inc(x_1233); +x_1234 = lean_ctor_get(x_1231, 1); lean_inc(x_1234); -if (lean_is_exclusive(x_1233)) { - lean_ctor_release(x_1233, 0); - lean_ctor_release(x_1233, 1); - x_1235 = x_1233; +if (lean_is_exclusive(x_1231)) { + lean_ctor_release(x_1231, 0); + lean_ctor_release(x_1231, 1); + x_1235 = x_1231; } else { - lean_dec_ref(x_1233); + lean_dec_ref(x_1231); x_1235 = lean_box(0); } -x_1236 = l_Array_empty___closed__1; -x_1237 = lean_array_push(x_1236, x_1218); -x_1238 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1239 = lean_array_push(x_1237, x_1238); -x_1240 = l_Lean_mkTermIdFromIdent___closed__2; -x_1241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1241, 0, x_1240); -lean_ctor_set(x_1241, 1, x_1239); -x_1242 = lean_array_push(x_1236, x_1241); -x_1243 = l_Lean_nullKind___closed__2; -x_1244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1244, 0, x_1243); -lean_ctor_set(x_1244, 1, x_1242); -x_1245 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1246 = lean_array_push(x_1245, x_1244); -x_1247 = lean_array_push(x_1246, x_1238); -x_1248 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1249 = lean_array_push(x_1247, x_1248); +x_1236 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1232); +lean_dec(x_5); +x_1237 = lean_ctor_get(x_1236, 1); +lean_inc(x_1237); +lean_dec(x_1236); +x_1238 = l_Lean_Elab_Term_getMainModule___rarg(x_1237); +x_1239 = lean_ctor_get(x_1238, 1); +lean_inc(x_1239); +if (lean_is_exclusive(x_1238)) { + lean_ctor_release(x_1238, 0); + lean_ctor_release(x_1238, 1); + x_1240 = x_1238; +} else { + lean_dec_ref(x_1238); + x_1240 = lean_box(0); +} +x_1241 = l_Array_empty___closed__1; +x_1242 = lean_array_push(x_1241, x_1223); +x_1243 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1244 = lean_array_push(x_1242, x_1243); +x_1245 = l_Lean_mkTermIdFromIdent___closed__2; +x_1246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1246, 0, x_1245); +lean_ctor_set(x_1246, 1, x_1244); +x_1247 = lean_array_push(x_1241, x_1246); +x_1248 = l_Lean_nullKind___closed__2; +x_1249 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1249, 0, x_1248); +lean_ctor_set(x_1249, 1, x_1247); +x_1250 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1251 = lean_array_push(x_1250, x_1249); +x_1252 = lean_array_push(x_1251, x_1243); +x_1253 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1254 = lean_array_push(x_1252, x_1253); lean_inc(x_11); -x_1250 = lean_array_push(x_1236, x_11); +x_1255 = lean_array_push(x_1241, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1251 = x_11; + x_1256 = x_11; } else { lean_dec_ref(x_11); - x_1251 = lean_box(0); + x_1256 = lean_box(0); } -if (lean_is_scalar(x_1251)) { - x_1252 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1256)) { + x_1257 = lean_alloc_ctor(1, 2, 0); } else { - x_1252 = x_1251; + x_1257 = x_1256; } -lean_ctor_set(x_1252, 0, x_1243); -lean_ctor_set(x_1252, 1, x_1250); -x_1253 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1254 = lean_array_push(x_1253, x_1252); -x_1255 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1256 = lean_array_push(x_1254, x_1255); -x_1257 = lean_array_push(x_1256, x_1229); -x_1258 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1259, 0, x_1258); -lean_ctor_set(x_1259, 1, x_1257); -x_1260 = lean_array_push(x_1236, x_1259); -x_1261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1261, 0, x_1243); -lean_ctor_set(x_1261, 1, x_1260); -x_1262 = lean_array_push(x_1249, x_1261); -x_1263 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_ctor_set(x_1257, 0, x_1248); +lean_ctor_set(x_1257, 1, x_1255); +x_1258 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1259 = lean_array_push(x_1258, x_1257); +x_1260 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1261 = lean_array_push(x_1259, x_1260); +x_1262 = lean_array_push(x_1261, x_1234); +x_1263 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; x_1264 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1264, 0, x_1263); lean_ctor_set(x_1264, 1, x_1262); -if (lean_is_scalar(x_1230)) { - x_1265 = lean_alloc_ctor(0, 2, 0); -} else { - x_1265 = x_1230; -} -lean_ctor_set(x_1265, 0, x_1228); -lean_ctor_set(x_1265, 1, x_1264); +x_1265 = lean_array_push(x_1241, x_1264); +x_1266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1266, 0, x_1248); +lean_ctor_set(x_1266, 1, x_1265); +x_1267 = lean_array_push(x_1254, x_1266); +x_1268 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1269, 0, x_1268); +lean_ctor_set(x_1269, 1, x_1267); if (lean_is_scalar(x_1235)) { - x_1266 = lean_alloc_ctor(0, 2, 0); + x_1270 = lean_alloc_ctor(0, 2, 0); } else { - x_1266 = x_1235; + x_1270 = x_1235; } -lean_ctor_set(x_1266, 0, x_1265); -lean_ctor_set(x_1266, 1, x_1234); -return x_1266; +lean_ctor_set(x_1270, 0, x_1233); +lean_ctor_set(x_1270, 1, x_1269); +if (lean_is_scalar(x_1240)) { + x_1271 = lean_alloc_ctor(0, 2, 0); +} else { + x_1271 = x_1240; +} +lean_ctor_set(x_1271, 0, x_1270); +lean_ctor_set(x_1271, 1, x_1239); +return x_1271; } else { -lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; -lean_dec(x_1218); +lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; +lean_dec(x_1223); lean_dec(x_11); lean_dec(x_5); -x_1267 = lean_ctor_get(x_1225, 0); -lean_inc(x_1267); -x_1268 = lean_ctor_get(x_1225, 1); -lean_inc(x_1268); -if (lean_is_exclusive(x_1225)) { - lean_ctor_release(x_1225, 0); - lean_ctor_release(x_1225, 1); - x_1269 = x_1225; +x_1272 = lean_ctor_get(x_1230, 0); +lean_inc(x_1272); +x_1273 = lean_ctor_get(x_1230, 1); +lean_inc(x_1273); +if (lean_is_exclusive(x_1230)) { + lean_ctor_release(x_1230, 0); + lean_ctor_release(x_1230, 1); + x_1274 = x_1230; } else { - lean_dec_ref(x_1225); - x_1269 = lean_box(0); + lean_dec_ref(x_1230); + x_1274 = lean_box(0); } -if (lean_is_scalar(x_1269)) { - x_1270 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1274)) { + x_1275 = lean_alloc_ctor(1, 2, 0); } else { - x_1270 = x_1269; + x_1275 = x_1274; } -lean_ctor_set(x_1270, 0, x_1267); -lean_ctor_set(x_1270, 1, x_1268); -return x_1270; +lean_ctor_set(x_1275, 0, x_1272); +lean_ctor_set(x_1275, 1, x_1273); +return x_1275; } } else { -lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; uint8_t x_1274; -x_1271 = lean_ctor_get(x_1216, 0); -lean_inc(x_1271); -lean_dec(x_1216); -x_1272 = lean_ctor_get(x_1271, 0); -lean_inc(x_1272); -x_1273 = lean_ctor_get(x_1271, 1); -lean_inc(x_1273); -lean_dec(x_1271); -x_1274 = l_Lean_Syntax_isNone(x_1273); -lean_dec(x_1273); -if (x_1274 == 0) -{ -lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; -lean_dec(x_1272); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1275 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_1276 = l_Lean_Elab_Term_throwError___rarg(x_11, x_1275, x_5, x_6); -lean_dec(x_11); +lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; uint8_t x_1279; +x_1276 = lean_ctor_get(x_1221, 0); +lean_inc(x_1276); +lean_dec(x_1221); x_1277 = lean_ctor_get(x_1276, 0); lean_inc(x_1277); x_1278 = lean_ctor_get(x_1276, 1); lean_inc(x_1278); -if (lean_is_exclusive(x_1276)) { - lean_ctor_release(x_1276, 0); - lean_ctor_release(x_1276, 1); - x_1279 = x_1276; -} else { - lean_dec_ref(x_1276); - x_1279 = lean_box(0); -} -if (lean_is_scalar(x_1279)) { - x_1280 = lean_alloc_ctor(1, 2, 0); -} else { - x_1280 = x_1279; -} -lean_ctor_set(x_1280, 0, x_1277); -lean_ctor_set(x_1280, 1, x_1278); -return x_1280; -} -else +lean_dec(x_1276); +x_1279 = l_Lean_Syntax_isNone(x_1278); +lean_dec(x_1278); +if (x_1279 == 0) { -lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; -x_1281 = l_Lean_mkHole(x_11); -lean_dec(x_11); -x_1282 = lean_unsigned_to_nat(1u); -x_1283 = lean_nat_add(x_3, x_1282); -lean_dec(x_3); -x_1284 = l_Lean_Elab_Term_mkExplicitBinder(x_1272, x_1281); -x_1285 = lean_array_push(x_4, x_1284); -x_3 = x_1283; -x_4 = x_1285; -goto _start; -} -} -} -else -{ -lean_object* x_1287; uint8_t x_1288; -x_1287 = l_Lean_mkAppStx___closed__3; -x_1288 = lean_string_dec_eq(x_25, x_1287); -if (x_1288 == 0) -{ -lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; -x_1289 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1289, 0, x_16); -lean_ctor_set(x_1289, 1, x_1214); -lean_ctor_set_usize(x_1289, 2, x_1213); -lean_ctor_set(x_14, 0, x_1289); -x_1290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1290, 0, x_12); -lean_ctor_set(x_1290, 1, x_17); -x_1291 = l_Lean_Syntax_isTermId_x3f(x_1290); -if (lean_obj_tag(x_1291) == 0) -{ -lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; -lean_dec(x_1290); -x_1292 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1293 = lean_ctor_get(x_1292, 0); -lean_inc(x_1293); -x_1294 = lean_ctor_get(x_1292, 1); -lean_inc(x_1294); -lean_dec(x_1292); -x_1295 = lean_unsigned_to_nat(1u); -x_1296 = lean_nat_add(x_3, x_1295); -lean_dec(x_3); -x_1297 = l_Lean_mkHole(x_11); -lean_inc(x_1293); -x_1298 = l_Lean_Elab_Term_mkExplicitBinder(x_1293, x_1297); -x_1299 = lean_array_push(x_4, x_1298); -lean_inc(x_5); -x_1300 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1296, x_1299, x_5, x_1294); -if (lean_obj_tag(x_1300) == 0) -{ -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_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; -x_1301 = lean_ctor_get(x_1300, 0); -lean_inc(x_1301); -x_1302 = lean_ctor_get(x_1300, 1); -lean_inc(x_1302); -lean_dec(x_1300); -x_1303 = lean_ctor_get(x_1301, 0); -lean_inc(x_1303); -x_1304 = lean_ctor_get(x_1301, 1); -lean_inc(x_1304); -if (lean_is_exclusive(x_1301)) { - lean_ctor_release(x_1301, 0); - lean_ctor_release(x_1301, 1); - x_1305 = x_1301; -} else { - lean_dec_ref(x_1301); - x_1305 = lean_box(0); -} -x_1306 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1302); -lean_dec(x_5); -x_1307 = lean_ctor_get(x_1306, 1); -lean_inc(x_1307); -lean_dec(x_1306); -x_1308 = l_Lean_Elab_Term_getMainModule___rarg(x_1307); -x_1309 = lean_ctor_get(x_1308, 1); -lean_inc(x_1309); -if (lean_is_exclusive(x_1308)) { - lean_ctor_release(x_1308, 0); - lean_ctor_release(x_1308, 1); - x_1310 = x_1308; -} else { - lean_dec_ref(x_1308); - x_1310 = lean_box(0); -} -x_1311 = l_Array_empty___closed__1; -x_1312 = lean_array_push(x_1311, x_1293); -x_1313 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1314 = lean_array_push(x_1312, x_1313); -x_1315 = l_Lean_mkTermIdFromIdent___closed__2; -x_1316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1316, 0, x_1315); -lean_ctor_set(x_1316, 1, x_1314); -x_1317 = lean_array_push(x_1311, x_1316); -x_1318 = l_Lean_nullKind___closed__2; -x_1319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1319, 0, x_1318); -lean_ctor_set(x_1319, 1, x_1317); -x_1320 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1321 = lean_array_push(x_1320, x_1319); -x_1322 = lean_array_push(x_1321, x_1313); -x_1323 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1324 = lean_array_push(x_1322, x_1323); -lean_inc(x_11); -x_1325 = lean_array_push(x_1311, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_1326 = x_11; -} else { - lean_dec_ref(x_11); - x_1326 = lean_box(0); -} -if (lean_is_scalar(x_1326)) { - x_1327 = lean_alloc_ctor(1, 2, 0); -} else { - x_1327 = x_1326; -} -lean_ctor_set(x_1327, 0, x_1318); -lean_ctor_set(x_1327, 1, x_1325); -x_1328 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1329 = lean_array_push(x_1328, x_1327); -x_1330 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1331 = lean_array_push(x_1329, x_1330); -x_1332 = lean_array_push(x_1331, x_1304); -x_1333 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1334, 0, x_1333); -lean_ctor_set(x_1334, 1, x_1332); -x_1335 = lean_array_push(x_1311, x_1334); -x_1336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1336, 0, x_1318); -lean_ctor_set(x_1336, 1, x_1335); -x_1337 = lean_array_push(x_1324, x_1336); -x_1338 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1339 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1339, 0, x_1338); -lean_ctor_set(x_1339, 1, x_1337); -if (lean_is_scalar(x_1305)) { - x_1340 = lean_alloc_ctor(0, 2, 0); -} else { - x_1340 = x_1305; -} -lean_ctor_set(x_1340, 0, x_1303); -lean_ctor_set(x_1340, 1, x_1339); -if (lean_is_scalar(x_1310)) { - x_1341 = lean_alloc_ctor(0, 2, 0); -} else { - x_1341 = x_1310; -} -lean_ctor_set(x_1341, 0, x_1340); -lean_ctor_set(x_1341, 1, x_1309); -return x_1341; -} -else -{ -lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; -lean_dec(x_1293); -lean_dec(x_11); -lean_dec(x_5); -x_1342 = lean_ctor_get(x_1300, 0); -lean_inc(x_1342); -x_1343 = lean_ctor_get(x_1300, 1); -lean_inc(x_1343); -if (lean_is_exclusive(x_1300)) { - lean_ctor_release(x_1300, 0); - lean_ctor_release(x_1300, 1); - x_1344 = x_1300; -} else { - lean_dec_ref(x_1300); - x_1344 = lean_box(0); -} -if (lean_is_scalar(x_1344)) { - x_1345 = lean_alloc_ctor(1, 2, 0); -} else { - x_1345 = x_1344; -} -lean_ctor_set(x_1345, 0, x_1342); -lean_ctor_set(x_1345, 1, x_1343); -return x_1345; -} -} -else -{ -lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; uint8_t x_1349; -lean_dec(x_11); -x_1346 = lean_ctor_get(x_1291, 0); -lean_inc(x_1346); -lean_dec(x_1291); -x_1347 = lean_ctor_get(x_1346, 0); -lean_inc(x_1347); -x_1348 = lean_ctor_get(x_1346, 1); -lean_inc(x_1348); -lean_dec(x_1346); -x_1349 = l_Lean_Syntax_isNone(x_1348); -lean_dec(x_1348); -if (x_1349 == 0) -{ -lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; -lean_dec(x_1347); +lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; +lean_dec(x_1277); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1350 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_1351 = l_Lean_Elab_Term_throwError___rarg(x_1290, x_1350, x_5, x_6); -lean_dec(x_1290); -x_1352 = lean_ctor_get(x_1351, 0); -lean_inc(x_1352); -x_1353 = lean_ctor_get(x_1351, 1); -lean_inc(x_1353); -if (lean_is_exclusive(x_1351)) { - lean_ctor_release(x_1351, 0); - lean_ctor_release(x_1351, 1); - x_1354 = x_1351; +x_1280 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1281 = l_Lean_Elab_Term_throwError___rarg(x_11, x_1280, x_5, x_6); +lean_dec(x_11); +x_1282 = lean_ctor_get(x_1281, 0); +lean_inc(x_1282); +x_1283 = lean_ctor_get(x_1281, 1); +lean_inc(x_1283); +if (lean_is_exclusive(x_1281)) { + lean_ctor_release(x_1281, 0); + lean_ctor_release(x_1281, 1); + x_1284 = x_1281; } else { - lean_dec_ref(x_1351); - x_1354 = lean_box(0); + lean_dec_ref(x_1281); + x_1284 = lean_box(0); } -if (lean_is_scalar(x_1354)) { - x_1355 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1284)) { + x_1285 = lean_alloc_ctor(1, 2, 0); } else { - x_1355 = x_1354; + x_1285 = x_1284; } -lean_ctor_set(x_1355, 0, x_1352); -lean_ctor_set(x_1355, 1, x_1353); -return x_1355; +lean_ctor_set(x_1285, 0, x_1282); +lean_ctor_set(x_1285, 1, x_1283); +return x_1285; } else { -lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; -x_1356 = l_Lean_mkHole(x_1290); -lean_dec(x_1290); -x_1357 = lean_unsigned_to_nat(1u); -x_1358 = lean_nat_add(x_3, x_1357); +lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; +x_1286 = l_Lean_mkHole(x_11); +lean_dec(x_11); +x_1287 = lean_unsigned_to_nat(1u); +x_1288 = lean_nat_add(x_3, x_1287); lean_dec(x_3); -x_1359 = l_Lean_Elab_Term_mkExplicitBinder(x_1347, x_1356); -x_1360 = lean_array_push(x_4, x_1359); -x_3 = x_1358; -x_4 = x_1360; +x_1289 = l_Lean_Elab_Term_mkExplicitBinder(x_1277, x_1286); +x_1290 = lean_array_push(x_4, x_1289); +x_3 = x_1288; +x_4 = x_1290; goto _start; } } } else { -lean_object* x_1362; uint8_t x_1363; -lean_dec(x_25); -x_1362 = l_Lean_mkAppStx___closed__5; -x_1363 = lean_string_dec_eq(x_22, x_1362); -if (x_1363 == 0) +lean_object* x_1292; uint8_t x_1293; +x_1292 = l_Lean_mkAppStx___closed__3; +x_1293 = lean_string_dec_eq(x_25, x_1292); +if (x_1293 == 0) { -lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; -x_1364 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1364, 0, x_16); -lean_ctor_set(x_1364, 1, x_1214); -lean_ctor_set_usize(x_1364, 2, x_1213); -lean_ctor_set(x_14, 1, x_1287); -lean_ctor_set(x_14, 0, x_1364); -x_1365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1365, 0, x_12); -lean_ctor_set(x_1365, 1, x_17); -x_1366 = l_Lean_Syntax_isTermId_x3f(x_1365); -if (lean_obj_tag(x_1366) == 0) +lean_object* x_1294; lean_object* x_1295; uint8_t x_1296; lean_object* x_1297; +x_1294 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1294, 0, x_16); +lean_ctor_set(x_1294, 1, x_1218); +lean_ctor_set_usize(x_1294, 2, x_1217); +lean_ctor_set(x_14, 0, x_1294); +x_1295 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1295, 0, x_12); +lean_ctor_set(x_1295, 1, x_17); +x_1296 = 1; +lean_inc(x_1295); +x_1297 = l_Lean_Syntax_isTermId_x3f(x_1295, x_1296); +if (lean_obj_tag(x_1297) == 0) { -lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; -lean_dec(x_1365); -x_1367 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1368 = lean_ctor_get(x_1367, 0); -lean_inc(x_1368); -x_1369 = lean_ctor_get(x_1367, 1); -lean_inc(x_1369); -lean_dec(x_1367); -x_1370 = lean_unsigned_to_nat(1u); -x_1371 = lean_nat_add(x_3, x_1370); +lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; +lean_dec(x_1295); +x_1298 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1299 = lean_ctor_get(x_1298, 0); +lean_inc(x_1299); +x_1300 = lean_ctor_get(x_1298, 1); +lean_inc(x_1300); +lean_dec(x_1298); +x_1301 = lean_unsigned_to_nat(1u); +x_1302 = lean_nat_add(x_3, x_1301); lean_dec(x_3); -x_1372 = l_Lean_mkHole(x_11); -lean_inc(x_1368); -x_1373 = l_Lean_Elab_Term_mkExplicitBinder(x_1368, x_1372); -x_1374 = lean_array_push(x_4, x_1373); +x_1303 = l_Lean_mkHole(x_11); +lean_inc(x_1299); +x_1304 = l_Lean_Elab_Term_mkExplicitBinder(x_1299, x_1303); +x_1305 = lean_array_push(x_4, x_1304); lean_inc(x_5); -x_1375 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1371, x_1374, x_5, x_1369); -if (lean_obj_tag(x_1375) == 0) +x_1306 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1302, x_1305, x_5, x_1300); +if (lean_obj_tag(x_1306) == 0) { -lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; 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; 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; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; -x_1376 = lean_ctor_get(x_1375, 0); -lean_inc(x_1376); -x_1377 = lean_ctor_get(x_1375, 1); -lean_inc(x_1377); -lean_dec(x_1375); -x_1378 = lean_ctor_get(x_1376, 0); -lean_inc(x_1378); -x_1379 = lean_ctor_get(x_1376, 1); -lean_inc(x_1379); -if (lean_is_exclusive(x_1376)) { - lean_ctor_release(x_1376, 0); - lean_ctor_release(x_1376, 1); - x_1380 = x_1376; +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_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; +x_1307 = lean_ctor_get(x_1306, 0); +lean_inc(x_1307); +x_1308 = lean_ctor_get(x_1306, 1); +lean_inc(x_1308); +lean_dec(x_1306); +x_1309 = lean_ctor_get(x_1307, 0); +lean_inc(x_1309); +x_1310 = lean_ctor_get(x_1307, 1); +lean_inc(x_1310); +if (lean_is_exclusive(x_1307)) { + lean_ctor_release(x_1307, 0); + lean_ctor_release(x_1307, 1); + x_1311 = x_1307; } else { - lean_dec_ref(x_1376); - x_1380 = lean_box(0); + lean_dec_ref(x_1307); + x_1311 = lean_box(0); } -x_1381 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1377); +x_1312 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1308); lean_dec(x_5); -x_1382 = lean_ctor_get(x_1381, 1); -lean_inc(x_1382); -lean_dec(x_1381); -x_1383 = l_Lean_Elab_Term_getMainModule___rarg(x_1382); -x_1384 = lean_ctor_get(x_1383, 1); +x_1313 = lean_ctor_get(x_1312, 1); +lean_inc(x_1313); +lean_dec(x_1312); +x_1314 = l_Lean_Elab_Term_getMainModule___rarg(x_1313); +x_1315 = lean_ctor_get(x_1314, 1); +lean_inc(x_1315); +if (lean_is_exclusive(x_1314)) { + lean_ctor_release(x_1314, 0); + lean_ctor_release(x_1314, 1); + x_1316 = x_1314; +} else { + lean_dec_ref(x_1314); + x_1316 = lean_box(0); +} +x_1317 = l_Array_empty___closed__1; +x_1318 = lean_array_push(x_1317, x_1299); +x_1319 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1320 = lean_array_push(x_1318, x_1319); +x_1321 = l_Lean_mkTermIdFromIdent___closed__2; +x_1322 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1322, 0, x_1321); +lean_ctor_set(x_1322, 1, x_1320); +x_1323 = lean_array_push(x_1317, x_1322); +x_1324 = l_Lean_nullKind___closed__2; +x_1325 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1325, 0, x_1324); +lean_ctor_set(x_1325, 1, x_1323); +x_1326 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1327 = lean_array_push(x_1326, x_1325); +x_1328 = lean_array_push(x_1327, x_1319); +x_1329 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1330 = lean_array_push(x_1328, x_1329); +lean_inc(x_11); +x_1331 = lean_array_push(x_1317, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1332 = x_11; +} else { + lean_dec_ref(x_11); + x_1332 = lean_box(0); +} +if (lean_is_scalar(x_1332)) { + x_1333 = lean_alloc_ctor(1, 2, 0); +} else { + x_1333 = x_1332; +} +lean_ctor_set(x_1333, 0, x_1324); +lean_ctor_set(x_1333, 1, x_1331); +x_1334 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1335 = lean_array_push(x_1334, x_1333); +x_1336 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1337 = lean_array_push(x_1335, x_1336); +x_1338 = lean_array_push(x_1337, x_1310); +x_1339 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1340, 0, x_1339); +lean_ctor_set(x_1340, 1, x_1338); +x_1341 = lean_array_push(x_1317, x_1340); +x_1342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1342, 0, x_1324); +lean_ctor_set(x_1342, 1, x_1341); +x_1343 = lean_array_push(x_1330, x_1342); +x_1344 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1345, 0, x_1344); +lean_ctor_set(x_1345, 1, x_1343); +if (lean_is_scalar(x_1311)) { + x_1346 = lean_alloc_ctor(0, 2, 0); +} else { + x_1346 = x_1311; +} +lean_ctor_set(x_1346, 0, x_1309); +lean_ctor_set(x_1346, 1, x_1345); +if (lean_is_scalar(x_1316)) { + x_1347 = lean_alloc_ctor(0, 2, 0); +} else { + x_1347 = x_1316; +} +lean_ctor_set(x_1347, 0, x_1346); +lean_ctor_set(x_1347, 1, x_1315); +return x_1347; +} +else +{ +lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; +lean_dec(x_1299); +lean_dec(x_11); +lean_dec(x_5); +x_1348 = lean_ctor_get(x_1306, 0); +lean_inc(x_1348); +x_1349 = lean_ctor_get(x_1306, 1); +lean_inc(x_1349); +if (lean_is_exclusive(x_1306)) { + lean_ctor_release(x_1306, 0); + lean_ctor_release(x_1306, 1); + x_1350 = x_1306; +} else { + lean_dec_ref(x_1306); + x_1350 = lean_box(0); +} +if (lean_is_scalar(x_1350)) { + x_1351 = lean_alloc_ctor(1, 2, 0); +} else { + x_1351 = x_1350; +} +lean_ctor_set(x_1351, 0, x_1348); +lean_ctor_set(x_1351, 1, x_1349); +return x_1351; +} +} +else +{ +lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; uint8_t x_1355; +lean_dec(x_11); +x_1352 = lean_ctor_get(x_1297, 0); +lean_inc(x_1352); +lean_dec(x_1297); +x_1353 = lean_ctor_get(x_1352, 0); +lean_inc(x_1353); +x_1354 = lean_ctor_get(x_1352, 1); +lean_inc(x_1354); +lean_dec(x_1352); +x_1355 = l_Lean_Syntax_isNone(x_1354); +lean_dec(x_1354); +if (x_1355 == 0) +{ +lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; +lean_dec(x_1353); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_1356 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1357 = l_Lean_Elab_Term_throwError___rarg(x_1295, x_1356, x_5, x_6); +lean_dec(x_1295); +x_1358 = lean_ctor_get(x_1357, 0); +lean_inc(x_1358); +x_1359 = lean_ctor_get(x_1357, 1); +lean_inc(x_1359); +if (lean_is_exclusive(x_1357)) { + lean_ctor_release(x_1357, 0); + lean_ctor_release(x_1357, 1); + x_1360 = x_1357; +} else { + lean_dec_ref(x_1357); + x_1360 = lean_box(0); +} +if (lean_is_scalar(x_1360)) { + x_1361 = lean_alloc_ctor(1, 2, 0); +} else { + x_1361 = x_1360; +} +lean_ctor_set(x_1361, 0, x_1358); +lean_ctor_set(x_1361, 1, x_1359); +return x_1361; +} +else +{ +lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; +x_1362 = l_Lean_mkHole(x_1295); +lean_dec(x_1295); +x_1363 = lean_unsigned_to_nat(1u); +x_1364 = lean_nat_add(x_3, x_1363); +lean_dec(x_3); +x_1365 = l_Lean_Elab_Term_mkExplicitBinder(x_1353, x_1362); +x_1366 = lean_array_push(x_4, x_1365); +x_3 = x_1364; +x_4 = x_1366; +goto _start; +} +} +} +else +{ +lean_object* x_1368; uint8_t x_1369; +lean_dec(x_25); +x_1368 = l_Lean_mkAppStx___closed__5; +x_1369 = lean_string_dec_eq(x_22, x_1368); +if (x_1369 == 0) +{ +lean_object* x_1370; lean_object* x_1371; uint8_t x_1372; lean_object* x_1373; +x_1370 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1370, 0, x_16); +lean_ctor_set(x_1370, 1, x_1218); +lean_ctor_set_usize(x_1370, 2, x_1217); +lean_ctor_set(x_14, 1, x_1292); +lean_ctor_set(x_14, 0, x_1370); +x_1371 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1371, 0, x_12); +lean_ctor_set(x_1371, 1, x_17); +x_1372 = 1; +lean_inc(x_1371); +x_1373 = l_Lean_Syntax_isTermId_x3f(x_1371, x_1372); +if (lean_obj_tag(x_1373) == 0) +{ +lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; +lean_dec(x_1371); +x_1374 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1375 = lean_ctor_get(x_1374, 0); +lean_inc(x_1375); +x_1376 = lean_ctor_get(x_1374, 1); +lean_inc(x_1376); +lean_dec(x_1374); +x_1377 = lean_unsigned_to_nat(1u); +x_1378 = lean_nat_add(x_3, x_1377); +lean_dec(x_3); +x_1379 = l_Lean_mkHole(x_11); +lean_inc(x_1375); +x_1380 = l_Lean_Elab_Term_mkExplicitBinder(x_1375, x_1379); +x_1381 = lean_array_push(x_4, x_1380); +lean_inc(x_5); +x_1382 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1378, x_1381, x_5, x_1376); +if (lean_obj_tag(x_1382) == 0) +{ +lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; 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; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; 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_1383 = lean_ctor_get(x_1382, 0); +lean_inc(x_1383); +x_1384 = lean_ctor_get(x_1382, 1); lean_inc(x_1384); +lean_dec(x_1382); +x_1385 = lean_ctor_get(x_1383, 0); +lean_inc(x_1385); +x_1386 = lean_ctor_get(x_1383, 1); +lean_inc(x_1386); if (lean_is_exclusive(x_1383)) { lean_ctor_release(x_1383, 0); lean_ctor_release(x_1383, 1); - x_1385 = x_1383; + x_1387 = x_1383; } else { lean_dec_ref(x_1383); - x_1385 = lean_box(0); + x_1387 = lean_box(0); } -x_1386 = l_Array_empty___closed__1; -x_1387 = lean_array_push(x_1386, x_1368); -x_1388 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1389 = lean_array_push(x_1387, x_1388); -x_1390 = l_Lean_mkTermIdFromIdent___closed__2; -x_1391 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1391, 0, x_1390); -lean_ctor_set(x_1391, 1, x_1389); -x_1392 = lean_array_push(x_1386, x_1391); -x_1393 = l_Lean_nullKind___closed__2; -x_1394 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1394, 0, x_1393); -lean_ctor_set(x_1394, 1, x_1392); -x_1395 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1396 = lean_array_push(x_1395, x_1394); -x_1397 = lean_array_push(x_1396, x_1388); -x_1398 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1399 = lean_array_push(x_1397, x_1398); +x_1388 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1384); +lean_dec(x_5); +x_1389 = lean_ctor_get(x_1388, 1); +lean_inc(x_1389); +lean_dec(x_1388); +x_1390 = l_Lean_Elab_Term_getMainModule___rarg(x_1389); +x_1391 = lean_ctor_get(x_1390, 1); +lean_inc(x_1391); +if (lean_is_exclusive(x_1390)) { + lean_ctor_release(x_1390, 0); + lean_ctor_release(x_1390, 1); + x_1392 = x_1390; +} else { + lean_dec_ref(x_1390); + x_1392 = lean_box(0); +} +x_1393 = l_Array_empty___closed__1; +x_1394 = lean_array_push(x_1393, x_1375); +x_1395 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1396 = lean_array_push(x_1394, x_1395); +x_1397 = l_Lean_mkTermIdFromIdent___closed__2; +x_1398 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1398, 0, x_1397); +lean_ctor_set(x_1398, 1, x_1396); +x_1399 = lean_array_push(x_1393, x_1398); +x_1400 = l_Lean_nullKind___closed__2; +x_1401 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1401, 0, x_1400); +lean_ctor_set(x_1401, 1, x_1399); +x_1402 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1403 = lean_array_push(x_1402, x_1401); +x_1404 = lean_array_push(x_1403, x_1395); +x_1405 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1406 = lean_array_push(x_1404, x_1405); lean_inc(x_11); -x_1400 = lean_array_push(x_1386, x_11); +x_1407 = lean_array_push(x_1393, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1401 = x_11; + x_1408 = x_11; } else { lean_dec_ref(x_11); - x_1401 = lean_box(0); + x_1408 = lean_box(0); } -if (lean_is_scalar(x_1401)) { - x_1402 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1408)) { + x_1409 = lean_alloc_ctor(1, 2, 0); } else { - x_1402 = x_1401; + x_1409 = x_1408; } -lean_ctor_set(x_1402, 0, x_1393); -lean_ctor_set(x_1402, 1, x_1400); -x_1403 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1404 = lean_array_push(x_1403, x_1402); -x_1405 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1406 = lean_array_push(x_1404, x_1405); -x_1407 = lean_array_push(x_1406, x_1379); -x_1408 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1409 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1409, 0, x_1408); +lean_ctor_set(x_1409, 0, x_1400); lean_ctor_set(x_1409, 1, x_1407); -x_1410 = lean_array_push(x_1386, x_1409); -x_1411 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1411, 0, x_1393); -lean_ctor_set(x_1411, 1, x_1410); -x_1412 = lean_array_push(x_1399, x_1411); -x_1413 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1414, 0, x_1413); -lean_ctor_set(x_1414, 1, x_1412); -if (lean_is_scalar(x_1380)) { - x_1415 = lean_alloc_ctor(0, 2, 0); -} else { - x_1415 = x_1380; -} -lean_ctor_set(x_1415, 0, x_1378); -lean_ctor_set(x_1415, 1, x_1414); -if (lean_is_scalar(x_1385)) { - x_1416 = lean_alloc_ctor(0, 2, 0); -} else { - x_1416 = x_1385; -} +x_1410 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1411 = lean_array_push(x_1410, x_1409); +x_1412 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1413 = lean_array_push(x_1411, x_1412); +x_1414 = lean_array_push(x_1413, x_1386); +x_1415 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1416 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1416, 0, x_1415); -lean_ctor_set(x_1416, 1, x_1384); -return x_1416; +lean_ctor_set(x_1416, 1, x_1414); +x_1417 = lean_array_push(x_1393, x_1416); +x_1418 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1418, 0, x_1400); +lean_ctor_set(x_1418, 1, x_1417); +x_1419 = lean_array_push(x_1406, x_1418); +x_1420 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1421 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1421, 0, x_1420); +lean_ctor_set(x_1421, 1, x_1419); +if (lean_is_scalar(x_1387)) { + x_1422 = lean_alloc_ctor(0, 2, 0); +} else { + x_1422 = x_1387; +} +lean_ctor_set(x_1422, 0, x_1385); +lean_ctor_set(x_1422, 1, x_1421); +if (lean_is_scalar(x_1392)) { + x_1423 = lean_alloc_ctor(0, 2, 0); +} else { + x_1423 = x_1392; +} +lean_ctor_set(x_1423, 0, x_1422); +lean_ctor_set(x_1423, 1, x_1391); +return x_1423; } else { -lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; -lean_dec(x_1368); +lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; +lean_dec(x_1375); lean_dec(x_11); lean_dec(x_5); -x_1417 = lean_ctor_get(x_1375, 0); -lean_inc(x_1417); -x_1418 = lean_ctor_get(x_1375, 1); -lean_inc(x_1418); -if (lean_is_exclusive(x_1375)) { - lean_ctor_release(x_1375, 0); - lean_ctor_release(x_1375, 1); - x_1419 = x_1375; +x_1424 = lean_ctor_get(x_1382, 0); +lean_inc(x_1424); +x_1425 = lean_ctor_get(x_1382, 1); +lean_inc(x_1425); +if (lean_is_exclusive(x_1382)) { + lean_ctor_release(x_1382, 0); + lean_ctor_release(x_1382, 1); + x_1426 = x_1382; } else { - lean_dec_ref(x_1375); - x_1419 = lean_box(0); + lean_dec_ref(x_1382); + x_1426 = lean_box(0); } -if (lean_is_scalar(x_1419)) { - x_1420 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1426)) { + x_1427 = lean_alloc_ctor(1, 2, 0); } else { - x_1420 = x_1419; + x_1427 = x_1426; } -lean_ctor_set(x_1420, 0, x_1417); -lean_ctor_set(x_1420, 1, x_1418); -return x_1420; +lean_ctor_set(x_1427, 0, x_1424); +lean_ctor_set(x_1427, 1, x_1425); +return x_1427; } } else { -lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; uint8_t x_1424; +lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; uint8_t x_1431; lean_dec(x_11); -x_1421 = lean_ctor_get(x_1366, 0); -lean_inc(x_1421); -lean_dec(x_1366); -x_1422 = lean_ctor_get(x_1421, 0); -lean_inc(x_1422); -x_1423 = lean_ctor_get(x_1421, 1); -lean_inc(x_1423); -lean_dec(x_1421); -x_1424 = l_Lean_Syntax_isNone(x_1423); -lean_dec(x_1423); -if (x_1424 == 0) +x_1428 = lean_ctor_get(x_1373, 0); +lean_inc(x_1428); +lean_dec(x_1373); +x_1429 = lean_ctor_get(x_1428, 0); +lean_inc(x_1429); +x_1430 = lean_ctor_get(x_1428, 1); +lean_inc(x_1430); +lean_dec(x_1428); +x_1431 = l_Lean_Syntax_isNone(x_1430); +lean_dec(x_1430); +if (x_1431 == 0) { -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_dec(x_1422); +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_dec(x_1429); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1425 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_1426 = l_Lean_Elab_Term_throwError___rarg(x_1365, x_1425, x_5, x_6); -lean_dec(x_1365); -x_1427 = lean_ctor_get(x_1426, 0); -lean_inc(x_1427); -x_1428 = lean_ctor_get(x_1426, 1); -lean_inc(x_1428); -if (lean_is_exclusive(x_1426)) { - lean_ctor_release(x_1426, 0); - lean_ctor_release(x_1426, 1); - x_1429 = x_1426; +x_1432 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1433 = l_Lean_Elab_Term_throwError___rarg(x_1371, x_1432, x_5, x_6); +lean_dec(x_1371); +x_1434 = lean_ctor_get(x_1433, 0); +lean_inc(x_1434); +x_1435 = lean_ctor_get(x_1433, 1); +lean_inc(x_1435); +if (lean_is_exclusive(x_1433)) { + lean_ctor_release(x_1433, 0); + lean_ctor_release(x_1433, 1); + x_1436 = x_1433; } else { - lean_dec_ref(x_1426); - x_1429 = lean_box(0); + lean_dec_ref(x_1433); + x_1436 = lean_box(0); } -if (lean_is_scalar(x_1429)) { - x_1430 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1436)) { + x_1437 = lean_alloc_ctor(1, 2, 0); } else { - x_1430 = x_1429; + x_1437 = x_1436; } -lean_ctor_set(x_1430, 0, x_1427); -lean_ctor_set(x_1430, 1, x_1428); -return x_1430; +lean_ctor_set(x_1437, 0, x_1434); +lean_ctor_set(x_1437, 1, x_1435); +return x_1437; } else { -lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; -x_1431 = l_Lean_mkHole(x_1365); -lean_dec(x_1365); -x_1432 = lean_unsigned_to_nat(1u); -x_1433 = lean_nat_add(x_3, x_1432); +lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; +x_1438 = l_Lean_mkHole(x_1371); +lean_dec(x_1371); +x_1439 = lean_unsigned_to_nat(1u); +x_1440 = lean_nat_add(x_3, x_1439); lean_dec(x_3); -x_1434 = l_Lean_Elab_Term_mkExplicitBinder(x_1422, x_1431); -x_1435 = lean_array_push(x_4, x_1434); -x_3 = x_1433; -x_4 = x_1435; +x_1441 = l_Lean_Elab_Term_mkExplicitBinder(x_1429, x_1438); +x_1442 = lean_array_push(x_4, x_1441); +x_3 = x_1440; +x_4 = x_1442; goto _start; } } } else { -lean_object* x_1437; uint8_t x_1438; +lean_object* x_1444; uint8_t x_1445; lean_dec(x_22); -x_1437 = l_Lean_mkHole___closed__1; -x_1438 = lean_string_dec_eq(x_19, x_1437); -if (x_1438 == 0) +x_1444 = l_Lean_mkHole___closed__1; +x_1445 = lean_string_dec_eq(x_19, x_1444); +if (x_1445 == 0) { -lean_object* x_1439; uint8_t x_1440; -x_1439 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; -x_1440 = lean_string_dec_eq(x_19, x_1439); -if (x_1440 == 0) +lean_object* x_1446; uint8_t x_1447; +x_1446 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_1447 = lean_string_dec_eq(x_19, x_1446); +if (x_1447 == 0) { -lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; -x_1441 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1441, 0, x_16); -lean_ctor_set(x_1441, 1, x_1214); -lean_ctor_set_usize(x_1441, 2, x_1213); -lean_ctor_set(x_14, 1, x_1287); -lean_ctor_set(x_14, 0, x_1441); -lean_ctor_set(x_13, 1, x_1362); -x_1442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1442, 0, x_12); -lean_ctor_set(x_1442, 1, x_17); -x_1443 = l_Lean_Syntax_isTermId_x3f(x_1442); -if (lean_obj_tag(x_1443) == 0) +lean_object* x_1448; lean_object* x_1449; uint8_t x_1450; lean_object* x_1451; +x_1448 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1448, 0, x_16); +lean_ctor_set(x_1448, 1, x_1218); +lean_ctor_set_usize(x_1448, 2, x_1217); +lean_ctor_set(x_14, 1, x_1292); +lean_ctor_set(x_14, 0, x_1448); +lean_ctor_set(x_13, 1, x_1368); +x_1449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1449, 0, x_12); +lean_ctor_set(x_1449, 1, x_17); +x_1450 = 1; +lean_inc(x_1449); +x_1451 = l_Lean_Syntax_isTermId_x3f(x_1449, x_1450); +if (lean_obj_tag(x_1451) == 0) { -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_dec(x_1442); -x_1444 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1445 = lean_ctor_get(x_1444, 0); -lean_inc(x_1445); -x_1446 = lean_ctor_get(x_1444, 1); -lean_inc(x_1446); -lean_dec(x_1444); -x_1447 = lean_unsigned_to_nat(1u); -x_1448 = lean_nat_add(x_3, x_1447); -lean_dec(x_3); -x_1449 = l_Lean_mkHole(x_11); -lean_inc(x_1445); -x_1450 = l_Lean_Elab_Term_mkExplicitBinder(x_1445, x_1449); -x_1451 = lean_array_push(x_4, x_1450); -lean_inc(x_5); -x_1452 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1448, x_1451, x_5, x_1446); -if (lean_obj_tag(x_1452) == 0) -{ -lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; +lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; +lean_dec(x_1449); +x_1452 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); x_1453 = lean_ctor_get(x_1452, 0); lean_inc(x_1453); x_1454 = lean_ctor_get(x_1452, 1); lean_inc(x_1454); lean_dec(x_1452); -x_1455 = lean_ctor_get(x_1453, 0); -lean_inc(x_1455); -x_1456 = lean_ctor_get(x_1453, 1); -lean_inc(x_1456); -if (lean_is_exclusive(x_1453)) { - lean_ctor_release(x_1453, 0); - lean_ctor_release(x_1453, 1); - x_1457 = x_1453; -} else { - lean_dec_ref(x_1453); - x_1457 = lean_box(0); -} -x_1458 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1454); -lean_dec(x_5); -x_1459 = lean_ctor_get(x_1458, 1); -lean_inc(x_1459); -lean_dec(x_1458); -x_1460 = l_Lean_Elab_Term_getMainModule___rarg(x_1459); -x_1461 = lean_ctor_get(x_1460, 1); +x_1455 = lean_unsigned_to_nat(1u); +x_1456 = lean_nat_add(x_3, x_1455); +lean_dec(x_3); +x_1457 = l_Lean_mkHole(x_11); +lean_inc(x_1453); +x_1458 = l_Lean_Elab_Term_mkExplicitBinder(x_1453, x_1457); +x_1459 = lean_array_push(x_4, x_1458); +lean_inc(x_5); +x_1460 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1456, x_1459, x_5, x_1454); +if (lean_obj_tag(x_1460) == 0) +{ +lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; +x_1461 = lean_ctor_get(x_1460, 0); lean_inc(x_1461); +x_1462 = lean_ctor_get(x_1460, 1); +lean_inc(x_1462); +lean_dec(x_1460); +x_1463 = lean_ctor_get(x_1461, 0); +lean_inc(x_1463); +x_1464 = lean_ctor_get(x_1461, 1); +lean_inc(x_1464); +if (lean_is_exclusive(x_1461)) { + lean_ctor_release(x_1461, 0); + lean_ctor_release(x_1461, 1); + x_1465 = x_1461; +} else { + lean_dec_ref(x_1461); + x_1465 = lean_box(0); +} +x_1466 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1462); +lean_dec(x_5); +x_1467 = lean_ctor_get(x_1466, 1); +lean_inc(x_1467); +lean_dec(x_1466); +x_1468 = l_Lean_Elab_Term_getMainModule___rarg(x_1467); +x_1469 = lean_ctor_get(x_1468, 1); +lean_inc(x_1469); +if (lean_is_exclusive(x_1468)) { + lean_ctor_release(x_1468, 0); + lean_ctor_release(x_1468, 1); + x_1470 = x_1468; +} else { + lean_dec_ref(x_1468); + x_1470 = lean_box(0); +} +x_1471 = l_Array_empty___closed__1; +x_1472 = lean_array_push(x_1471, x_1453); +x_1473 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1474 = lean_array_push(x_1472, x_1473); +x_1475 = l_Lean_mkTermIdFromIdent___closed__2; +x_1476 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1476, 0, x_1475); +lean_ctor_set(x_1476, 1, x_1474); +x_1477 = lean_array_push(x_1471, x_1476); +x_1478 = l_Lean_nullKind___closed__2; +x_1479 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1479, 0, x_1478); +lean_ctor_set(x_1479, 1, x_1477); +x_1480 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1481 = lean_array_push(x_1480, x_1479); +x_1482 = lean_array_push(x_1481, x_1473); +x_1483 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1484 = lean_array_push(x_1482, x_1483); +lean_inc(x_11); +x_1485 = lean_array_push(x_1471, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1486 = x_11; +} else { + lean_dec_ref(x_11); + x_1486 = lean_box(0); +} +if (lean_is_scalar(x_1486)) { + x_1487 = lean_alloc_ctor(1, 2, 0); +} else { + x_1487 = x_1486; +} +lean_ctor_set(x_1487, 0, x_1478); +lean_ctor_set(x_1487, 1, x_1485); +x_1488 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1489 = lean_array_push(x_1488, x_1487); +x_1490 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1491 = lean_array_push(x_1489, x_1490); +x_1492 = lean_array_push(x_1491, x_1464); +x_1493 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1494 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1494, 0, x_1493); +lean_ctor_set(x_1494, 1, x_1492); +x_1495 = lean_array_push(x_1471, x_1494); +x_1496 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1496, 0, x_1478); +lean_ctor_set(x_1496, 1, x_1495); +x_1497 = lean_array_push(x_1484, x_1496); +x_1498 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1499 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1499, 0, x_1498); +lean_ctor_set(x_1499, 1, x_1497); +if (lean_is_scalar(x_1465)) { + x_1500 = lean_alloc_ctor(0, 2, 0); +} else { + x_1500 = x_1465; +} +lean_ctor_set(x_1500, 0, x_1463); +lean_ctor_set(x_1500, 1, x_1499); +if (lean_is_scalar(x_1470)) { + x_1501 = lean_alloc_ctor(0, 2, 0); +} else { + x_1501 = x_1470; +} +lean_ctor_set(x_1501, 0, x_1500); +lean_ctor_set(x_1501, 1, x_1469); +return x_1501; +} +else +{ +lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; +lean_dec(x_1453); +lean_dec(x_11); +lean_dec(x_5); +x_1502 = lean_ctor_get(x_1460, 0); +lean_inc(x_1502); +x_1503 = lean_ctor_get(x_1460, 1); +lean_inc(x_1503); if (lean_is_exclusive(x_1460)) { lean_ctor_release(x_1460, 0); lean_ctor_release(x_1460, 1); - x_1462 = x_1460; + x_1504 = x_1460; } else { lean_dec_ref(x_1460); - x_1462 = lean_box(0); + x_1504 = lean_box(0); } -x_1463 = l_Array_empty___closed__1; -x_1464 = lean_array_push(x_1463, x_1445); -x_1465 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1466 = lean_array_push(x_1464, x_1465); -x_1467 = l_Lean_mkTermIdFromIdent___closed__2; -x_1468 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1468, 0, x_1467); -lean_ctor_set(x_1468, 1, x_1466); -x_1469 = lean_array_push(x_1463, x_1468); -x_1470 = l_Lean_nullKind___closed__2; -x_1471 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1471, 0, x_1470); -lean_ctor_set(x_1471, 1, x_1469); -x_1472 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1473 = lean_array_push(x_1472, x_1471); -x_1474 = lean_array_push(x_1473, x_1465); -x_1475 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1476 = lean_array_push(x_1474, x_1475); -lean_inc(x_11); -x_1477 = lean_array_push(x_1463, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_1478 = x_11; +if (lean_is_scalar(x_1504)) { + x_1505 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_11); - x_1478 = lean_box(0); + x_1505 = x_1504; } -if (lean_is_scalar(x_1478)) { - x_1479 = lean_alloc_ctor(1, 2, 0); -} else { - x_1479 = x_1478; -} -lean_ctor_set(x_1479, 0, x_1470); -lean_ctor_set(x_1479, 1, x_1477); -x_1480 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1481 = lean_array_push(x_1480, x_1479); -x_1482 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1483 = lean_array_push(x_1481, x_1482); -x_1484 = lean_array_push(x_1483, x_1456); -x_1485 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1486 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1486, 0, x_1485); -lean_ctor_set(x_1486, 1, x_1484); -x_1487 = lean_array_push(x_1463, x_1486); -x_1488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1488, 0, x_1470); -lean_ctor_set(x_1488, 1, x_1487); -x_1489 = lean_array_push(x_1476, x_1488); -x_1490 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1491 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1491, 0, x_1490); -lean_ctor_set(x_1491, 1, x_1489); -if (lean_is_scalar(x_1457)) { - x_1492 = lean_alloc_ctor(0, 2, 0); -} else { - x_1492 = x_1457; -} -lean_ctor_set(x_1492, 0, x_1455); -lean_ctor_set(x_1492, 1, x_1491); -if (lean_is_scalar(x_1462)) { - x_1493 = lean_alloc_ctor(0, 2, 0); -} else { - x_1493 = x_1462; -} -lean_ctor_set(x_1493, 0, x_1492); -lean_ctor_set(x_1493, 1, x_1461); -return x_1493; -} -else -{ -lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; -lean_dec(x_1445); -lean_dec(x_11); -lean_dec(x_5); -x_1494 = lean_ctor_get(x_1452, 0); -lean_inc(x_1494); -x_1495 = lean_ctor_get(x_1452, 1); -lean_inc(x_1495); -if (lean_is_exclusive(x_1452)) { - lean_ctor_release(x_1452, 0); - lean_ctor_release(x_1452, 1); - x_1496 = x_1452; -} else { - lean_dec_ref(x_1452); - x_1496 = lean_box(0); -} -if (lean_is_scalar(x_1496)) { - x_1497 = lean_alloc_ctor(1, 2, 0); -} else { - x_1497 = x_1496; -} -lean_ctor_set(x_1497, 0, x_1494); -lean_ctor_set(x_1497, 1, x_1495); -return x_1497; +lean_ctor_set(x_1505, 0, x_1502); +lean_ctor_set(x_1505, 1, x_1503); +return x_1505; } } else { -lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; uint8_t x_1501; +lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; uint8_t x_1509; lean_dec(x_11); -x_1498 = lean_ctor_get(x_1443, 0); -lean_inc(x_1498); -lean_dec(x_1443); -x_1499 = lean_ctor_get(x_1498, 0); -lean_inc(x_1499); -x_1500 = lean_ctor_get(x_1498, 1); -lean_inc(x_1500); -lean_dec(x_1498); -x_1501 = l_Lean_Syntax_isNone(x_1500); -lean_dec(x_1500); -if (x_1501 == 0) +x_1506 = lean_ctor_get(x_1451, 0); +lean_inc(x_1506); +lean_dec(x_1451); +x_1507 = lean_ctor_get(x_1506, 0); +lean_inc(x_1507); +x_1508 = lean_ctor_get(x_1506, 1); +lean_inc(x_1508); +lean_dec(x_1506); +x_1509 = l_Lean_Syntax_isNone(x_1508); +lean_dec(x_1508); +if (x_1509 == 0) { -lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; -lean_dec(x_1499); +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_dec(x_1507); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1502 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_1503 = l_Lean_Elab_Term_throwError___rarg(x_1442, x_1502, x_5, x_6); -lean_dec(x_1442); -x_1504 = lean_ctor_get(x_1503, 0); -lean_inc(x_1504); -x_1505 = lean_ctor_get(x_1503, 1); -lean_inc(x_1505); -if (lean_is_exclusive(x_1503)) { - lean_ctor_release(x_1503, 0); - lean_ctor_release(x_1503, 1); - x_1506 = x_1503; +x_1510 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1511 = l_Lean_Elab_Term_throwError___rarg(x_1449, x_1510, x_5, x_6); +lean_dec(x_1449); +x_1512 = lean_ctor_get(x_1511, 0); +lean_inc(x_1512); +x_1513 = lean_ctor_get(x_1511, 1); +lean_inc(x_1513); +if (lean_is_exclusive(x_1511)) { + lean_ctor_release(x_1511, 0); + lean_ctor_release(x_1511, 1); + x_1514 = x_1511; } else { - lean_dec_ref(x_1503); - x_1506 = lean_box(0); + lean_dec_ref(x_1511); + x_1514 = lean_box(0); } -if (lean_is_scalar(x_1506)) { - x_1507 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1514)) { + x_1515 = lean_alloc_ctor(1, 2, 0); } else { - x_1507 = x_1506; + x_1515 = x_1514; } -lean_ctor_set(x_1507, 0, x_1504); -lean_ctor_set(x_1507, 1, x_1505); -return x_1507; +lean_ctor_set(x_1515, 0, x_1512); +lean_ctor_set(x_1515, 1, x_1513); +return x_1515; } else { -lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; -x_1508 = l_Lean_mkHole(x_1442); -lean_dec(x_1442); -x_1509 = lean_unsigned_to_nat(1u); -x_1510 = lean_nat_add(x_3, x_1509); +lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; +x_1516 = l_Lean_mkHole(x_1449); +lean_dec(x_1449); +x_1517 = lean_unsigned_to_nat(1u); +x_1518 = lean_nat_add(x_3, x_1517); lean_dec(x_3); -x_1511 = l_Lean_Elab_Term_mkExplicitBinder(x_1499, x_1508); -x_1512 = lean_array_push(x_4, x_1511); -x_3 = x_1510; -x_4 = x_1512; +x_1519 = l_Lean_Elab_Term_mkExplicitBinder(x_1507, x_1516); +x_1520 = lean_array_push(x_4, x_1519); +x_3 = x_1518; +x_4 = x_1520; goto _start; } } } else { -lean_object* x_1514; lean_object* x_1515; uint8_t x_1516; +lean_object* x_1522; lean_object* x_1523; uint8_t x_1524; lean_free_object(x_14); lean_free_object(x_13); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_1514 = lean_unsigned_to_nat(1u); -x_1515 = l_Lean_Syntax_getArg(x_11, x_1514); -x_1516 = l_Lean_Syntax_isNone(x_1515); -if (x_1516 == 0) +x_1522 = lean_unsigned_to_nat(1u); +x_1523 = l_Lean_Syntax_getArg(x_11, x_1522); +x_1524 = l_Lean_Syntax_isNone(x_1523); +if (x_1524 == 0) { -lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; uint8_t x_1520; -x_1517 = lean_unsigned_to_nat(0u); -x_1518 = l_Lean_Syntax_getArg(x_1515, x_1517); -x_1519 = l_Lean_Syntax_getArg(x_1515, x_1514); -lean_dec(x_1515); -x_1520 = l_Lean_Syntax_isNone(x_1519); -if (x_1520 == 0) -{ -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; uint8_t x_1528; -x_1521 = l_Lean_Syntax_getArg(x_1519, x_1517); -lean_dec(x_1519); -lean_inc(x_1521); -x_1522 = l_Lean_Syntax_getKind(x_1521); -x_1523 = lean_name_mk_string(x_16, x_1214); -x_1524 = lean_name_mk_string(x_1523, x_1287); -x_1525 = lean_name_mk_string(x_1524, x_1362); -x_1526 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; -x_1527 = lean_name_mk_string(x_1525, x_1526); -x_1528 = lean_name_eq(x_1522, x_1527); -lean_dec(x_1527); -lean_dec(x_1522); +lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; uint8_t x_1528; +x_1525 = lean_unsigned_to_nat(0u); +x_1526 = l_Lean_Syntax_getArg(x_1523, x_1525); +x_1527 = l_Lean_Syntax_getArg(x_1523, x_1522); +lean_dec(x_1523); +x_1528 = l_Lean_Syntax_isNone(x_1527); if (x_1528 == 0) { -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_dec(x_1521); -lean_dec(x_1518); -x_1529 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1530 = lean_ctor_get(x_1529, 0); -lean_inc(x_1530); -x_1531 = lean_ctor_get(x_1529, 1); -lean_inc(x_1531); -lean_dec(x_1529); -x_1532 = lean_nat_add(x_3, x_1514); -lean_dec(x_3); -x_1533 = l_Lean_mkHole(x_11); -lean_inc(x_1530); -x_1534 = l_Lean_Elab_Term_mkExplicitBinder(x_1530, x_1533); -x_1535 = lean_array_push(x_4, x_1534); -lean_inc(x_5); -x_1536 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1532, x_1535, x_5, x_1531); -if (lean_obj_tag(x_1536) == 0) +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; uint8_t x_1536; +x_1529 = l_Lean_Syntax_getArg(x_1527, x_1525); +lean_dec(x_1527); +lean_inc(x_1529); +x_1530 = l_Lean_Syntax_getKind(x_1529); +x_1531 = lean_name_mk_string(x_16, x_1218); +x_1532 = lean_name_mk_string(x_1531, x_1292); +x_1533 = lean_name_mk_string(x_1532, x_1368); +x_1534 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; +x_1535 = lean_name_mk_string(x_1533, x_1534); +x_1536 = lean_name_eq(x_1530, x_1535); +lean_dec(x_1535); +lean_dec(x_1530); +if (x_1536 == 0) { -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; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; 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_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_object* x_1576; lean_object* x_1577; -x_1537 = lean_ctor_get(x_1536, 0); -lean_inc(x_1537); -x_1538 = lean_ctor_get(x_1536, 1); +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; lean_object* x_1544; +lean_dec(x_1529); +lean_dec(x_1526); +x_1537 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1538 = lean_ctor_get(x_1537, 0); lean_inc(x_1538); -lean_dec(x_1536); -x_1539 = lean_ctor_get(x_1537, 0); +x_1539 = lean_ctor_get(x_1537, 1); lean_inc(x_1539); -x_1540 = lean_ctor_get(x_1537, 1); -lean_inc(x_1540); -if (lean_is_exclusive(x_1537)) { - lean_ctor_release(x_1537, 0); - lean_ctor_release(x_1537, 1); - x_1541 = x_1537; -} else { - lean_dec_ref(x_1537); - x_1541 = lean_box(0); -} -x_1542 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1538); -lean_dec(x_5); -x_1543 = lean_ctor_get(x_1542, 1); -lean_inc(x_1543); -lean_dec(x_1542); -x_1544 = l_Lean_Elab_Term_getMainModule___rarg(x_1543); -x_1545 = lean_ctor_get(x_1544, 1); +lean_dec(x_1537); +x_1540 = lean_nat_add(x_3, x_1522); +lean_dec(x_3); +x_1541 = l_Lean_mkHole(x_11); +lean_inc(x_1538); +x_1542 = l_Lean_Elab_Term_mkExplicitBinder(x_1538, x_1541); +x_1543 = lean_array_push(x_4, x_1542); +lean_inc(x_5); +x_1544 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1540, x_1543, x_5, x_1539); +if (lean_obj_tag(x_1544) == 0) +{ +lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; 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_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_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; +x_1545 = lean_ctor_get(x_1544, 0); lean_inc(x_1545); +x_1546 = lean_ctor_get(x_1544, 1); +lean_inc(x_1546); +lean_dec(x_1544); +x_1547 = lean_ctor_get(x_1545, 0); +lean_inc(x_1547); +x_1548 = lean_ctor_get(x_1545, 1); +lean_inc(x_1548); +if (lean_is_exclusive(x_1545)) { + lean_ctor_release(x_1545, 0); + lean_ctor_release(x_1545, 1); + x_1549 = x_1545; +} else { + lean_dec_ref(x_1545); + x_1549 = lean_box(0); +} +x_1550 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1546); +lean_dec(x_5); +x_1551 = lean_ctor_get(x_1550, 1); +lean_inc(x_1551); +lean_dec(x_1550); +x_1552 = l_Lean_Elab_Term_getMainModule___rarg(x_1551); +x_1553 = lean_ctor_get(x_1552, 1); +lean_inc(x_1553); +if (lean_is_exclusive(x_1552)) { + lean_ctor_release(x_1552, 0); + lean_ctor_release(x_1552, 1); + x_1554 = x_1552; +} else { + lean_dec_ref(x_1552); + x_1554 = lean_box(0); +} +x_1555 = l_Array_empty___closed__1; +x_1556 = lean_array_push(x_1555, x_1538); +x_1557 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1558 = lean_array_push(x_1556, x_1557); +x_1559 = l_Lean_mkTermIdFromIdent___closed__2; +x_1560 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1560, 0, x_1559); +lean_ctor_set(x_1560, 1, x_1558); +x_1561 = lean_array_push(x_1555, x_1560); +x_1562 = l_Lean_nullKind___closed__2; +x_1563 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1563, 0, x_1562); +lean_ctor_set(x_1563, 1, x_1561); +x_1564 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1565 = lean_array_push(x_1564, x_1563); +x_1566 = lean_array_push(x_1565, x_1557); +x_1567 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1568 = lean_array_push(x_1566, x_1567); +lean_inc(x_11); +x_1569 = lean_array_push(x_1555, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1570 = x_11; +} else { + lean_dec_ref(x_11); + x_1570 = lean_box(0); +} +if (lean_is_scalar(x_1570)) { + x_1571 = lean_alloc_ctor(1, 2, 0); +} else { + x_1571 = x_1570; +} +lean_ctor_set(x_1571, 0, x_1562); +lean_ctor_set(x_1571, 1, x_1569); +x_1572 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1573 = lean_array_push(x_1572, x_1571); +x_1574 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1575 = lean_array_push(x_1573, x_1574); +x_1576 = lean_array_push(x_1575, x_1548); +x_1577 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1578 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1578, 0, x_1577); +lean_ctor_set(x_1578, 1, x_1576); +x_1579 = lean_array_push(x_1555, x_1578); +x_1580 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1580, 0, x_1562); +lean_ctor_set(x_1580, 1, x_1579); +x_1581 = lean_array_push(x_1568, x_1580); +x_1582 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1583 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1583, 0, x_1582); +lean_ctor_set(x_1583, 1, x_1581); +if (lean_is_scalar(x_1549)) { + x_1584 = lean_alloc_ctor(0, 2, 0); +} else { + x_1584 = x_1549; +} +lean_ctor_set(x_1584, 0, x_1547); +lean_ctor_set(x_1584, 1, x_1583); +if (lean_is_scalar(x_1554)) { + x_1585 = lean_alloc_ctor(0, 2, 0); +} else { + x_1585 = x_1554; +} +lean_ctor_set(x_1585, 0, x_1584); +lean_ctor_set(x_1585, 1, x_1553); +return x_1585; +} +else +{ +lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; +lean_dec(x_1538); +lean_dec(x_11); +lean_dec(x_5); +x_1586 = lean_ctor_get(x_1544, 0); +lean_inc(x_1586); +x_1587 = lean_ctor_get(x_1544, 1); +lean_inc(x_1587); if (lean_is_exclusive(x_1544)) { lean_ctor_release(x_1544, 0); lean_ctor_release(x_1544, 1); - x_1546 = x_1544; + x_1588 = x_1544; } else { lean_dec_ref(x_1544); - x_1546 = lean_box(0); + x_1588 = lean_box(0); } -x_1547 = l_Array_empty___closed__1; -x_1548 = lean_array_push(x_1547, x_1530); -x_1549 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1550 = lean_array_push(x_1548, x_1549); -x_1551 = l_Lean_mkTermIdFromIdent___closed__2; -x_1552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1552, 0, x_1551); -lean_ctor_set(x_1552, 1, x_1550); -x_1553 = lean_array_push(x_1547, x_1552); -x_1554 = l_Lean_nullKind___closed__2; -x_1555 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1555, 0, x_1554); -lean_ctor_set(x_1555, 1, x_1553); -x_1556 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1557 = lean_array_push(x_1556, x_1555); -x_1558 = lean_array_push(x_1557, x_1549); -x_1559 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1560 = lean_array_push(x_1558, x_1559); +if (lean_is_scalar(x_1588)) { + x_1589 = lean_alloc_ctor(1, 2, 0); +} else { + x_1589 = x_1588; +} +lean_ctor_set(x_1589, 0, x_1586); +lean_ctor_set(x_1589, 1, x_1587); +return x_1589; +} +} +else +{ +lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; +x_1590 = l_Lean_Syntax_getArg(x_1529, x_1522); +lean_dec(x_1529); +x_1591 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_1526, x_5, x_6); +x_1592 = lean_ctor_get(x_1591, 0); +lean_inc(x_1592); +if (lean_obj_tag(x_1592) == 0) +{ +lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; +lean_dec(x_1590); +x_1593 = lean_ctor_get(x_1591, 1); +lean_inc(x_1593); +lean_dec(x_1591); +x_1594 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_1593); +x_1595 = lean_ctor_get(x_1594, 0); +lean_inc(x_1595); +x_1596 = lean_ctor_get(x_1594, 1); +lean_inc(x_1596); +lean_dec(x_1594); +x_1597 = lean_nat_add(x_3, x_1522); +lean_dec(x_3); +x_1598 = l_Lean_mkHole(x_11); +lean_inc(x_1595); +x_1599 = l_Lean_Elab_Term_mkExplicitBinder(x_1595, x_1598); +x_1600 = lean_array_push(x_4, x_1599); +lean_inc(x_5); +x_1601 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1597, x_1600, x_5, x_1596); +if (lean_obj_tag(x_1601) == 0) +{ +lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; 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; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; 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; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; +x_1602 = lean_ctor_get(x_1601, 0); +lean_inc(x_1602); +x_1603 = lean_ctor_get(x_1601, 1); +lean_inc(x_1603); +lean_dec(x_1601); +x_1604 = lean_ctor_get(x_1602, 0); +lean_inc(x_1604); +x_1605 = lean_ctor_get(x_1602, 1); +lean_inc(x_1605); +if (lean_is_exclusive(x_1602)) { + lean_ctor_release(x_1602, 0); + lean_ctor_release(x_1602, 1); + x_1606 = x_1602; +} else { + lean_dec_ref(x_1602); + x_1606 = lean_box(0); +} +x_1607 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1603); +lean_dec(x_5); +x_1608 = lean_ctor_get(x_1607, 1); +lean_inc(x_1608); +lean_dec(x_1607); +x_1609 = l_Lean_Elab_Term_getMainModule___rarg(x_1608); +x_1610 = lean_ctor_get(x_1609, 1); +lean_inc(x_1610); +if (lean_is_exclusive(x_1609)) { + lean_ctor_release(x_1609, 0); + lean_ctor_release(x_1609, 1); + x_1611 = x_1609; +} else { + lean_dec_ref(x_1609); + x_1611 = lean_box(0); +} +x_1612 = l_Array_empty___closed__1; +x_1613 = lean_array_push(x_1612, x_1595); +x_1614 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1615 = lean_array_push(x_1613, x_1614); +x_1616 = l_Lean_mkTermIdFromIdent___closed__2; +x_1617 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1617, 0, x_1616); +lean_ctor_set(x_1617, 1, x_1615); +x_1618 = lean_array_push(x_1612, x_1617); +x_1619 = l_Lean_nullKind___closed__2; +x_1620 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1620, 0, x_1619); +lean_ctor_set(x_1620, 1, x_1618); +x_1621 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1622 = lean_array_push(x_1621, x_1620); +x_1623 = lean_array_push(x_1622, x_1614); +x_1624 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1625 = lean_array_push(x_1623, x_1624); lean_inc(x_11); -x_1561 = lean_array_push(x_1547, x_11); +x_1626 = lean_array_push(x_1612, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1562 = x_11; + x_1627 = x_11; } else { lean_dec_ref(x_11); - x_1562 = lean_box(0); + x_1627 = lean_box(0); } -if (lean_is_scalar(x_1562)) { - x_1563 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1627)) { + x_1628 = lean_alloc_ctor(1, 2, 0); } else { - x_1563 = x_1562; + x_1628 = x_1627; } -lean_ctor_set(x_1563, 0, x_1554); -lean_ctor_set(x_1563, 1, x_1561); -x_1564 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1565 = lean_array_push(x_1564, x_1563); -x_1566 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1567 = lean_array_push(x_1565, x_1566); -x_1568 = lean_array_push(x_1567, x_1540); -x_1569 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1570 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1570, 0, x_1569); -lean_ctor_set(x_1570, 1, x_1568); -x_1571 = lean_array_push(x_1547, x_1570); -x_1572 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1572, 0, x_1554); -lean_ctor_set(x_1572, 1, x_1571); -x_1573 = lean_array_push(x_1560, x_1572); -x_1574 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1575 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1575, 0, x_1574); -lean_ctor_set(x_1575, 1, x_1573); -if (lean_is_scalar(x_1541)) { - x_1576 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1628, 0, x_1619); +lean_ctor_set(x_1628, 1, x_1626); +x_1629 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1630 = lean_array_push(x_1629, x_1628); +x_1631 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1632 = lean_array_push(x_1630, x_1631); +x_1633 = lean_array_push(x_1632, x_1605); +x_1634 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1635 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1635, 0, x_1634); +lean_ctor_set(x_1635, 1, x_1633); +x_1636 = lean_array_push(x_1612, x_1635); +x_1637 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1637, 0, x_1619); +lean_ctor_set(x_1637, 1, x_1636); +x_1638 = lean_array_push(x_1625, x_1637); +x_1639 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1640 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1640, 0, x_1639); +lean_ctor_set(x_1640, 1, x_1638); +if (lean_is_scalar(x_1606)) { + x_1641 = lean_alloc_ctor(0, 2, 0); } else { - x_1576 = x_1541; + x_1641 = x_1606; } -lean_ctor_set(x_1576, 0, x_1539); -lean_ctor_set(x_1576, 1, x_1575); -if (lean_is_scalar(x_1546)) { - x_1577 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1641, 0, x_1604); +lean_ctor_set(x_1641, 1, x_1640); +if (lean_is_scalar(x_1611)) { + x_1642 = lean_alloc_ctor(0, 2, 0); } else { - x_1577 = x_1546; + x_1642 = x_1611; } -lean_ctor_set(x_1577, 0, x_1576); -lean_ctor_set(x_1577, 1, x_1545); -return x_1577; +lean_ctor_set(x_1642, 0, x_1641); +lean_ctor_set(x_1642, 1, x_1610); +return x_1642; } else { -lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; -lean_dec(x_1530); +lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; +lean_dec(x_1595); lean_dec(x_11); lean_dec(x_5); -x_1578 = lean_ctor_get(x_1536, 0); -lean_inc(x_1578); -x_1579 = lean_ctor_get(x_1536, 1); -lean_inc(x_1579); -if (lean_is_exclusive(x_1536)) { - lean_ctor_release(x_1536, 0); - lean_ctor_release(x_1536, 1); - x_1580 = x_1536; -} else { - lean_dec_ref(x_1536); - x_1580 = lean_box(0); -} -if (lean_is_scalar(x_1580)) { - x_1581 = lean_alloc_ctor(1, 2, 0); -} else { - x_1581 = x_1580; -} -lean_ctor_set(x_1581, 0, x_1578); -lean_ctor_set(x_1581, 1, x_1579); -return x_1581; -} -} -else -{ -lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; -x_1582 = l_Lean_Syntax_getArg(x_1521, x_1514); -lean_dec(x_1521); -x_1583 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_1518, x_5, x_6); -x_1584 = lean_ctor_get(x_1583, 0); -lean_inc(x_1584); -if (lean_obj_tag(x_1584) == 0) -{ -lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; -lean_dec(x_1582); -x_1585 = lean_ctor_get(x_1583, 1); -lean_inc(x_1585); -lean_dec(x_1583); -x_1586 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_1585); -x_1587 = lean_ctor_get(x_1586, 0); -lean_inc(x_1587); -x_1588 = lean_ctor_get(x_1586, 1); -lean_inc(x_1588); -lean_dec(x_1586); -x_1589 = lean_nat_add(x_3, x_1514); -lean_dec(x_3); -x_1590 = l_Lean_mkHole(x_11); -lean_inc(x_1587); -x_1591 = l_Lean_Elab_Term_mkExplicitBinder(x_1587, x_1590); -x_1592 = lean_array_push(x_4, x_1591); -lean_inc(x_5); -x_1593 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1589, x_1592, x_5, x_1588); -if (lean_obj_tag(x_1593) == 0) -{ -lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; 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; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; 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; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; -x_1594 = lean_ctor_get(x_1593, 0); -lean_inc(x_1594); -x_1595 = lean_ctor_get(x_1593, 1); -lean_inc(x_1595); -lean_dec(x_1593); -x_1596 = lean_ctor_get(x_1594, 0); -lean_inc(x_1596); -x_1597 = lean_ctor_get(x_1594, 1); -lean_inc(x_1597); -if (lean_is_exclusive(x_1594)) { - lean_ctor_release(x_1594, 0); - lean_ctor_release(x_1594, 1); - x_1598 = x_1594; -} else { - lean_dec_ref(x_1594); - x_1598 = lean_box(0); -} -x_1599 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1595); -lean_dec(x_5); -x_1600 = lean_ctor_get(x_1599, 1); -lean_inc(x_1600); -lean_dec(x_1599); -x_1601 = l_Lean_Elab_Term_getMainModule___rarg(x_1600); -x_1602 = lean_ctor_get(x_1601, 1); -lean_inc(x_1602); +x_1643 = lean_ctor_get(x_1601, 0); +lean_inc(x_1643); +x_1644 = lean_ctor_get(x_1601, 1); +lean_inc(x_1644); if (lean_is_exclusive(x_1601)) { lean_ctor_release(x_1601, 0); lean_ctor_release(x_1601, 1); - x_1603 = x_1601; + x_1645 = x_1601; } else { lean_dec_ref(x_1601); - x_1603 = lean_box(0); + x_1645 = lean_box(0); } -x_1604 = l_Array_empty___closed__1; -x_1605 = lean_array_push(x_1604, x_1587); -x_1606 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1607 = lean_array_push(x_1605, x_1606); -x_1608 = l_Lean_mkTermIdFromIdent___closed__2; -x_1609 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1609, 0, x_1608); -lean_ctor_set(x_1609, 1, x_1607); -x_1610 = lean_array_push(x_1604, x_1609); -x_1611 = l_Lean_nullKind___closed__2; -x_1612 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1612, 0, x_1611); -lean_ctor_set(x_1612, 1, x_1610); -x_1613 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1614 = lean_array_push(x_1613, x_1612); -x_1615 = lean_array_push(x_1614, x_1606); -x_1616 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1617 = lean_array_push(x_1615, x_1616); -lean_inc(x_11); -x_1618 = lean_array_push(x_1604, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_1619 = x_11; +if (lean_is_scalar(x_1645)) { + x_1646 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_11); - x_1619 = lean_box(0); + x_1646 = x_1645; } -if (lean_is_scalar(x_1619)) { - x_1620 = lean_alloc_ctor(1, 2, 0); -} else { - x_1620 = x_1619; -} -lean_ctor_set(x_1620, 0, x_1611); -lean_ctor_set(x_1620, 1, x_1618); -x_1621 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1622 = lean_array_push(x_1621, x_1620); -x_1623 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1624 = lean_array_push(x_1622, x_1623); -x_1625 = lean_array_push(x_1624, x_1597); -x_1626 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1627 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1627, 0, x_1626); -lean_ctor_set(x_1627, 1, x_1625); -x_1628 = lean_array_push(x_1604, x_1627); -x_1629 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1629, 0, x_1611); -lean_ctor_set(x_1629, 1, x_1628); -x_1630 = lean_array_push(x_1617, x_1629); -x_1631 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1632 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1632, 0, x_1631); -lean_ctor_set(x_1632, 1, x_1630); -if (lean_is_scalar(x_1598)) { - x_1633 = lean_alloc_ctor(0, 2, 0); -} else { - x_1633 = x_1598; -} -lean_ctor_set(x_1633, 0, x_1596); -lean_ctor_set(x_1633, 1, x_1632); -if (lean_is_scalar(x_1603)) { - x_1634 = lean_alloc_ctor(0, 2, 0); -} else { - x_1634 = x_1603; -} -lean_ctor_set(x_1634, 0, x_1633); -lean_ctor_set(x_1634, 1, x_1602); -return x_1634; -} -else -{ -lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; -lean_dec(x_1587); -lean_dec(x_11); -lean_dec(x_5); -x_1635 = lean_ctor_get(x_1593, 0); -lean_inc(x_1635); -x_1636 = lean_ctor_get(x_1593, 1); -lean_inc(x_1636); -if (lean_is_exclusive(x_1593)) { - lean_ctor_release(x_1593, 0); - lean_ctor_release(x_1593, 1); - x_1637 = x_1593; -} else { - lean_dec_ref(x_1593); - x_1637 = lean_box(0); -} -if (lean_is_scalar(x_1637)) { - x_1638 = lean_alloc_ctor(1, 2, 0); -} else { - x_1638 = x_1637; -} -lean_ctor_set(x_1638, 0, x_1635); -lean_ctor_set(x_1638, 1, x_1636); -return x_1638; +lean_ctor_set(x_1646, 0, x_1643); +lean_ctor_set(x_1646, 1, x_1644); +return x_1646; } } else { -lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; +lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_dec(x_11); -x_1639 = lean_ctor_get(x_1583, 1); -lean_inc(x_1639); -lean_dec(x_1583); -x_1640 = lean_ctor_get(x_1584, 0); -lean_inc(x_1640); -lean_dec(x_1584); -x_1641 = lean_nat_add(x_3, x_1514); +x_1647 = lean_ctor_get(x_1591, 1); +lean_inc(x_1647); +lean_dec(x_1591); +x_1648 = lean_ctor_get(x_1592, 0); +lean_inc(x_1648); +lean_dec(x_1592); +x_1649 = lean_nat_add(x_3, x_1522); lean_dec(x_3); -x_1642 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_1582, x_1517, x_1640); -x_1643 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1642, x_1642, x_1517, x_4); -lean_dec(x_1642); -x_3 = x_1641; -x_4 = x_1643; -x_6 = x_1639; +x_1650 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_1590, x_1525, x_1648); +x_1651 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_1650, x_1650, x_1525, x_4); +lean_dec(x_1650); +x_3 = x_1649; +x_4 = x_1651; +x_6 = x_1647; goto _start; } } } else { -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_dec(x_1519); -lean_dec(x_1518); -x_1645 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1646 = lean_ctor_get(x_1645, 0); -lean_inc(x_1646); -x_1647 = lean_ctor_get(x_1645, 1); -lean_inc(x_1647); -lean_dec(x_1645); -x_1648 = lean_nat_add(x_3, x_1514); -lean_dec(x_3); -x_1649 = l_Lean_mkHole(x_11); -lean_inc(x_1646); -x_1650 = l_Lean_Elab_Term_mkExplicitBinder(x_1646, x_1649); -x_1651 = lean_array_push(x_4, x_1650); -lean_inc(x_5); -x_1652 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1648, x_1651, x_5, x_1647); -if (lean_obj_tag(x_1652) == 0) -{ -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_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; -x_1653 = lean_ctor_get(x_1652, 0); -lean_inc(x_1653); -x_1654 = lean_ctor_get(x_1652, 1); +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_dec(x_1527); +lean_dec(x_1526); +x_1653 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1654 = lean_ctor_get(x_1653, 0); lean_inc(x_1654); -lean_dec(x_1652); -x_1655 = lean_ctor_get(x_1653, 0); +x_1655 = lean_ctor_get(x_1653, 1); lean_inc(x_1655); -x_1656 = lean_ctor_get(x_1653, 1); -lean_inc(x_1656); -if (lean_is_exclusive(x_1653)) { - lean_ctor_release(x_1653, 0); - lean_ctor_release(x_1653, 1); - x_1657 = x_1653; -} else { - lean_dec_ref(x_1653); - x_1657 = lean_box(0); -} -x_1658 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1654); -lean_dec(x_5); -x_1659 = lean_ctor_get(x_1658, 1); -lean_inc(x_1659); -lean_dec(x_1658); -x_1660 = l_Lean_Elab_Term_getMainModule___rarg(x_1659); -x_1661 = lean_ctor_get(x_1660, 1); +lean_dec(x_1653); +x_1656 = lean_nat_add(x_3, x_1522); +lean_dec(x_3); +x_1657 = l_Lean_mkHole(x_11); +lean_inc(x_1654); +x_1658 = l_Lean_Elab_Term_mkExplicitBinder(x_1654, x_1657); +x_1659 = lean_array_push(x_4, x_1658); +lean_inc(x_5); +x_1660 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1656, x_1659, x_5, x_1655); +if (lean_obj_tag(x_1660) == 0) +{ +lean_object* x_1661; lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; +x_1661 = lean_ctor_get(x_1660, 0); lean_inc(x_1661); +x_1662 = lean_ctor_get(x_1660, 1); +lean_inc(x_1662); +lean_dec(x_1660); +x_1663 = lean_ctor_get(x_1661, 0); +lean_inc(x_1663); +x_1664 = lean_ctor_get(x_1661, 1); +lean_inc(x_1664); +if (lean_is_exclusive(x_1661)) { + lean_ctor_release(x_1661, 0); + lean_ctor_release(x_1661, 1); + x_1665 = x_1661; +} else { + lean_dec_ref(x_1661); + x_1665 = lean_box(0); +} +x_1666 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1662); +lean_dec(x_5); +x_1667 = lean_ctor_get(x_1666, 1); +lean_inc(x_1667); +lean_dec(x_1666); +x_1668 = l_Lean_Elab_Term_getMainModule___rarg(x_1667); +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_1668); + x_1670 = lean_box(0); +} +x_1671 = l_Array_empty___closed__1; +x_1672 = lean_array_push(x_1671, x_1654); +x_1673 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1674 = lean_array_push(x_1672, x_1673); +x_1675 = l_Lean_mkTermIdFromIdent___closed__2; +x_1676 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1676, 0, x_1675); +lean_ctor_set(x_1676, 1, x_1674); +x_1677 = lean_array_push(x_1671, x_1676); +x_1678 = l_Lean_nullKind___closed__2; +x_1679 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1679, 0, x_1678); +lean_ctor_set(x_1679, 1, x_1677); +x_1680 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1681 = lean_array_push(x_1680, x_1679); +x_1682 = lean_array_push(x_1681, x_1673); +x_1683 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1684 = lean_array_push(x_1682, x_1683); +lean_inc(x_11); +x_1685 = lean_array_push(x_1671, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_1686 = x_11; +} else { + lean_dec_ref(x_11); + x_1686 = lean_box(0); +} +if (lean_is_scalar(x_1686)) { + x_1687 = lean_alloc_ctor(1, 2, 0); +} else { + x_1687 = x_1686; +} +lean_ctor_set(x_1687, 0, x_1678); +lean_ctor_set(x_1687, 1, x_1685); +x_1688 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1689 = lean_array_push(x_1688, x_1687); +x_1690 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1691 = lean_array_push(x_1689, x_1690); +x_1692 = lean_array_push(x_1691, x_1664); +x_1693 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1694 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1694, 0, x_1693); +lean_ctor_set(x_1694, 1, x_1692); +x_1695 = lean_array_push(x_1671, x_1694); +x_1696 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1696, 0, x_1678); +lean_ctor_set(x_1696, 1, x_1695); +x_1697 = lean_array_push(x_1684, x_1696); +x_1698 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1699 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1699, 0, x_1698); +lean_ctor_set(x_1699, 1, x_1697); +if (lean_is_scalar(x_1665)) { + x_1700 = lean_alloc_ctor(0, 2, 0); +} else { + x_1700 = x_1665; +} +lean_ctor_set(x_1700, 0, x_1663); +lean_ctor_set(x_1700, 1, x_1699); +if (lean_is_scalar(x_1670)) { + x_1701 = lean_alloc_ctor(0, 2, 0); +} else { + x_1701 = x_1670; +} +lean_ctor_set(x_1701, 0, x_1700); +lean_ctor_set(x_1701, 1, x_1669); +return x_1701; +} +else +{ +lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; +lean_dec(x_1654); +lean_dec(x_11); +lean_dec(x_5); +x_1702 = lean_ctor_get(x_1660, 0); +lean_inc(x_1702); +x_1703 = lean_ctor_get(x_1660, 1); +lean_inc(x_1703); if (lean_is_exclusive(x_1660)) { lean_ctor_release(x_1660, 0); lean_ctor_release(x_1660, 1); - x_1662 = x_1660; + x_1704 = x_1660; } else { lean_dec_ref(x_1660); - x_1662 = lean_box(0); + x_1704 = lean_box(0); } -x_1663 = l_Array_empty___closed__1; -x_1664 = lean_array_push(x_1663, x_1646); -x_1665 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1666 = lean_array_push(x_1664, x_1665); -x_1667 = l_Lean_mkTermIdFromIdent___closed__2; -x_1668 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1668, 0, x_1667); -lean_ctor_set(x_1668, 1, x_1666); -x_1669 = lean_array_push(x_1663, x_1668); -x_1670 = l_Lean_nullKind___closed__2; -x_1671 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1671, 0, x_1670); -lean_ctor_set(x_1671, 1, x_1669); -x_1672 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1673 = lean_array_push(x_1672, x_1671); -x_1674 = lean_array_push(x_1673, x_1665); -x_1675 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1676 = lean_array_push(x_1674, x_1675); +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; +} +} +} +else +{ +lean_object* x_1706; 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_dec(x_1523); +x_1706 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1707 = lean_ctor_get(x_1706, 0); +lean_inc(x_1707); +x_1708 = lean_ctor_get(x_1706, 1); +lean_inc(x_1708); +lean_dec(x_1706); +x_1709 = lean_nat_add(x_3, x_1522); +lean_dec(x_3); +x_1710 = l_Lean_mkHole(x_11); +lean_inc(x_1707); +x_1711 = l_Lean_Elab_Term_mkExplicitBinder(x_1707, x_1710); +x_1712 = lean_array_push(x_4, x_1711); +lean_inc(x_5); +x_1713 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1709, x_1712, x_5, x_1708); +if (lean_obj_tag(x_1713) == 0) +{ +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; 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; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; +x_1714 = lean_ctor_get(x_1713, 0); +lean_inc(x_1714); +x_1715 = lean_ctor_get(x_1713, 1); +lean_inc(x_1715); +lean_dec(x_1713); +x_1716 = lean_ctor_get(x_1714, 0); +lean_inc(x_1716); +x_1717 = lean_ctor_get(x_1714, 1); +lean_inc(x_1717); +if (lean_is_exclusive(x_1714)) { + lean_ctor_release(x_1714, 0); + lean_ctor_release(x_1714, 1); + x_1718 = x_1714; +} else { + lean_dec_ref(x_1714); + x_1718 = lean_box(0); +} +x_1719 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1715); +lean_dec(x_5); +x_1720 = lean_ctor_get(x_1719, 1); +lean_inc(x_1720); +lean_dec(x_1719); +x_1721 = l_Lean_Elab_Term_getMainModule___rarg(x_1720); +x_1722 = lean_ctor_get(x_1721, 1); +lean_inc(x_1722); +if (lean_is_exclusive(x_1721)) { + lean_ctor_release(x_1721, 0); + lean_ctor_release(x_1721, 1); + x_1723 = x_1721; +} else { + lean_dec_ref(x_1721); + x_1723 = lean_box(0); +} +x_1724 = l_Array_empty___closed__1; +x_1725 = lean_array_push(x_1724, x_1707); +x_1726 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1727 = lean_array_push(x_1725, x_1726); +x_1728 = l_Lean_mkTermIdFromIdent___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 = lean_array_push(x_1724, x_1729); +x_1731 = l_Lean_nullKind___closed__2; +x_1732 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1732, 0, x_1731); +lean_ctor_set(x_1732, 1, x_1730); +x_1733 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1734 = lean_array_push(x_1733, x_1732); +x_1735 = lean_array_push(x_1734, x_1726); +x_1736 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1737 = lean_array_push(x_1735, x_1736); lean_inc(x_11); -x_1677 = lean_array_push(x_1663, x_11); +x_1738 = lean_array_push(x_1724, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1678 = x_11; + x_1739 = x_11; } else { lean_dec_ref(x_11); - x_1678 = lean_box(0); + x_1739 = lean_box(0); } -if (lean_is_scalar(x_1678)) { - x_1679 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1739)) { + x_1740 = lean_alloc_ctor(1, 2, 0); } else { - x_1679 = x_1678; + x_1740 = x_1739; } -lean_ctor_set(x_1679, 0, x_1670); -lean_ctor_set(x_1679, 1, x_1677); -x_1680 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1681 = lean_array_push(x_1680, x_1679); -x_1682 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1683 = lean_array_push(x_1681, x_1682); -x_1684 = lean_array_push(x_1683, x_1656); -x_1685 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1686 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1686, 0, x_1685); -lean_ctor_set(x_1686, 1, x_1684); -x_1687 = lean_array_push(x_1663, x_1686); -x_1688 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1688, 0, x_1670); -lean_ctor_set(x_1688, 1, x_1687); -x_1689 = lean_array_push(x_1676, x_1688); -x_1690 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1691 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1691, 0, x_1690); -lean_ctor_set(x_1691, 1, x_1689); -if (lean_is_scalar(x_1657)) { - x_1692 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1740, 0, x_1731); +lean_ctor_set(x_1740, 1, x_1738); +x_1741 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1742 = lean_array_push(x_1741, x_1740); +x_1743 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1744 = lean_array_push(x_1742, x_1743); +x_1745 = lean_array_push(x_1744, x_1717); +x_1746 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1747 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1747, 0, x_1746); +lean_ctor_set(x_1747, 1, x_1745); +x_1748 = lean_array_push(x_1724, x_1747); +x_1749 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1749, 0, x_1731); +lean_ctor_set(x_1749, 1, x_1748); +x_1750 = lean_array_push(x_1737, x_1749); +x_1751 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1752 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1752, 0, x_1751); +lean_ctor_set(x_1752, 1, x_1750); +if (lean_is_scalar(x_1718)) { + x_1753 = lean_alloc_ctor(0, 2, 0); } else { - x_1692 = x_1657; + x_1753 = x_1718; } -lean_ctor_set(x_1692, 0, x_1655); -lean_ctor_set(x_1692, 1, x_1691); -if (lean_is_scalar(x_1662)) { - x_1693 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1753, 0, x_1716); +lean_ctor_set(x_1753, 1, x_1752); +if (lean_is_scalar(x_1723)) { + x_1754 = lean_alloc_ctor(0, 2, 0); } else { - x_1693 = x_1662; + x_1754 = x_1723; } -lean_ctor_set(x_1693, 0, x_1692); -lean_ctor_set(x_1693, 1, x_1661); -return x_1693; +lean_ctor_set(x_1754, 0, x_1753); +lean_ctor_set(x_1754, 1, x_1722); +return x_1754; } else { -lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; -lean_dec(x_1646); +lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; +lean_dec(x_1707); lean_dec(x_11); lean_dec(x_5); -x_1694 = lean_ctor_get(x_1652, 0); -lean_inc(x_1694); -x_1695 = lean_ctor_get(x_1652, 1); -lean_inc(x_1695); -if (lean_is_exclusive(x_1652)) { - lean_ctor_release(x_1652, 0); - lean_ctor_release(x_1652, 1); - x_1696 = x_1652; -} else { - lean_dec_ref(x_1652); - x_1696 = lean_box(0); -} -if (lean_is_scalar(x_1696)) { - x_1697 = lean_alloc_ctor(1, 2, 0); -} else { - x_1697 = x_1696; -} -lean_ctor_set(x_1697, 0, x_1694); -lean_ctor_set(x_1697, 1, x_1695); -return x_1697; -} -} -} -else -{ -lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; -lean_dec(x_1515); -x_1698 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -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_nat_add(x_3, x_1514); -lean_dec(x_3); -x_1702 = l_Lean_mkHole(x_11); -lean_inc(x_1699); -x_1703 = l_Lean_Elab_Term_mkExplicitBinder(x_1699, x_1702); -x_1704 = lean_array_push(x_4, x_1703); -lean_inc(x_5); -x_1705 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1701, x_1704, x_5, x_1700); -if (lean_obj_tag(x_1705) == 0) -{ -lean_object* x_1706; 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; 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; -x_1706 = lean_ctor_get(x_1705, 0); -lean_inc(x_1706); -x_1707 = lean_ctor_get(x_1705, 1); -lean_inc(x_1707); -lean_dec(x_1705); -x_1708 = lean_ctor_get(x_1706, 0); -lean_inc(x_1708); -x_1709 = lean_ctor_get(x_1706, 1); -lean_inc(x_1709); -if (lean_is_exclusive(x_1706)) { - lean_ctor_release(x_1706, 0); - lean_ctor_release(x_1706, 1); - x_1710 = x_1706; -} else { - lean_dec_ref(x_1706); - x_1710 = lean_box(0); -} -x_1711 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1707); -lean_dec(x_5); -x_1712 = lean_ctor_get(x_1711, 1); -lean_inc(x_1712); -lean_dec(x_1711); -x_1713 = l_Lean_Elab_Term_getMainModule___rarg(x_1712); -x_1714 = lean_ctor_get(x_1713, 1); -lean_inc(x_1714); +x_1755 = lean_ctor_get(x_1713, 0); +lean_inc(x_1755); +x_1756 = lean_ctor_get(x_1713, 1); +lean_inc(x_1756); if (lean_is_exclusive(x_1713)) { lean_ctor_release(x_1713, 0); lean_ctor_release(x_1713, 1); - x_1715 = x_1713; + x_1757 = x_1713; } else { lean_dec_ref(x_1713); - x_1715 = lean_box(0); + x_1757 = lean_box(0); } -x_1716 = l_Array_empty___closed__1; -x_1717 = lean_array_push(x_1716, x_1699); -x_1718 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1719 = lean_array_push(x_1717, x_1718); -x_1720 = l_Lean_mkTermIdFromIdent___closed__2; -x_1721 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1721, 0, x_1720); -lean_ctor_set(x_1721, 1, x_1719); -x_1722 = lean_array_push(x_1716, x_1721); -x_1723 = l_Lean_nullKind___closed__2; -x_1724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1724, 0, x_1723); -lean_ctor_set(x_1724, 1, x_1722); -x_1725 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1726 = lean_array_push(x_1725, x_1724); -x_1727 = lean_array_push(x_1726, x_1718); -x_1728 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1729 = lean_array_push(x_1727, x_1728); -lean_inc(x_11); -x_1730 = lean_array_push(x_1716, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_1731 = x_11; +if (lean_is_scalar(x_1757)) { + x_1758 = lean_alloc_ctor(1, 2, 0); } else { - lean_dec_ref(x_11); - x_1731 = lean_box(0); + x_1758 = x_1757; } -if (lean_is_scalar(x_1731)) { - x_1732 = lean_alloc_ctor(1, 2, 0); -} else { - x_1732 = x_1731; -} -lean_ctor_set(x_1732, 0, x_1723); -lean_ctor_set(x_1732, 1, x_1730); -x_1733 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1734 = lean_array_push(x_1733, x_1732); -x_1735 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1736 = lean_array_push(x_1734, x_1735); -x_1737 = lean_array_push(x_1736, x_1709); -x_1738 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1739 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1739, 0, x_1738); -lean_ctor_set(x_1739, 1, x_1737); -x_1740 = lean_array_push(x_1716, x_1739); -x_1741 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1741, 0, x_1723); -lean_ctor_set(x_1741, 1, x_1740); -x_1742 = lean_array_push(x_1729, x_1741); -x_1743 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1744 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1744, 0, x_1743); -lean_ctor_set(x_1744, 1, x_1742); -if (lean_is_scalar(x_1710)) { - x_1745 = lean_alloc_ctor(0, 2, 0); -} else { - x_1745 = x_1710; -} -lean_ctor_set(x_1745, 0, x_1708); -lean_ctor_set(x_1745, 1, x_1744); -if (lean_is_scalar(x_1715)) { - x_1746 = lean_alloc_ctor(0, 2, 0); -} else { - x_1746 = x_1715; -} -lean_ctor_set(x_1746, 0, x_1745); -lean_ctor_set(x_1746, 1, x_1714); -return x_1746; -} -else -{ -lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; -lean_dec(x_1699); -lean_dec(x_11); -lean_dec(x_5); -x_1747 = lean_ctor_get(x_1705, 0); -lean_inc(x_1747); -x_1748 = lean_ctor_get(x_1705, 1); -lean_inc(x_1748); -if (lean_is_exclusive(x_1705)) { - lean_ctor_release(x_1705, 0); - lean_ctor_release(x_1705, 1); - x_1749 = x_1705; -} else { - lean_dec_ref(x_1705); - x_1749 = lean_box(0); -} -if (lean_is_scalar(x_1749)) { - x_1750 = lean_alloc_ctor(1, 2, 0); -} else { - x_1750 = x_1749; -} -lean_ctor_set(x_1750, 0, x_1747); -lean_ctor_set(x_1750, 1, x_1748); -return x_1750; +lean_ctor_set(x_1758, 0, x_1755); +lean_ctor_set(x_1758, 1, x_1756); +return x_1758; } } } } else { -lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; +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_free_object(x_14); lean_free_object(x_13); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_1751 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1752 = lean_ctor_get(x_1751, 0); -lean_inc(x_1752); -x_1753 = lean_ctor_get(x_1751, 1); -lean_inc(x_1753); -lean_dec(x_1751); -x_1754 = lean_unsigned_to_nat(1u); -x_1755 = lean_nat_add(x_3, x_1754); +x_1759 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1760 = lean_ctor_get(x_1759, 0); +lean_inc(x_1760); +x_1761 = lean_ctor_get(x_1759, 1); +lean_inc(x_1761); +lean_dec(x_1759); +x_1762 = lean_unsigned_to_nat(1u); +x_1763 = lean_nat_add(x_3, x_1762); lean_dec(x_3); -x_1756 = l_Lean_Elab_Term_mkExplicitBinder(x_1752, x_11); -x_1757 = lean_array_push(x_4, x_1756); -x_3 = x_1755; -x_4 = x_1757; -x_6 = x_1753; +x_1764 = l_Lean_Elab_Term_mkExplicitBinder(x_1760, x_11); +x_1765 = lean_array_push(x_4, x_1764); +x_3 = x_1763; +x_4 = x_1765; +x_6 = x_1761; goto _start; } } @@ -9200,458 +9216,416 @@ goto _start; } else { -lean_object* x_1759; size_t x_1760; lean_object* x_1761; size_t x_1762; lean_object* x_1763; lean_object* x_1764; uint8_t x_1765; -x_1759 = lean_ctor_get(x_14, 1); -x_1760 = lean_ctor_get_usize(x_14, 2); -lean_inc(x_1759); +lean_object* x_1767; size_t x_1768; lean_object* x_1769; size_t x_1770; lean_object* x_1771; lean_object* x_1772; uint8_t x_1773; +x_1767 = lean_ctor_get(x_14, 1); +x_1768 = lean_ctor_get_usize(x_14, 2); +lean_inc(x_1767); lean_dec(x_14); -x_1761 = lean_ctor_get(x_15, 1); -lean_inc(x_1761); -x_1762 = lean_ctor_get_usize(x_15, 2); +x_1769 = lean_ctor_get(x_15, 1); +lean_inc(x_1769); +x_1770 = lean_ctor_get_usize(x_15, 2); if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 0); lean_ctor_release(x_15, 1); - x_1763 = x_15; + x_1771 = x_15; } else { lean_dec_ref(x_15); - x_1763 = lean_box(0); + x_1771 = lean_box(0); } -x_1764 = l_Lean_mkAppStx___closed__1; -x_1765 = lean_string_dec_eq(x_1761, x_1764); -lean_dec(x_1761); -if (x_1765 == 0) +x_1772 = l_Lean_mkAppStx___closed__1; +x_1773 = lean_string_dec_eq(x_1769, x_1772); +lean_dec(x_1769); +if (x_1773 == 0) { -lean_object* x_1766; -lean_dec(x_1763); -lean_dec(x_1759); +uint8_t x_1774; lean_object* x_1775; +lean_dec(x_1771); +lean_dec(x_1767); lean_free_object(x_13); lean_dec(x_22); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_1766 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_1766) == 0) -{ -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; -x_1767 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1768 = lean_ctor_get(x_1767, 0); -lean_inc(x_1768); -x_1769 = lean_ctor_get(x_1767, 1); -lean_inc(x_1769); -lean_dec(x_1767); -x_1770 = lean_unsigned_to_nat(1u); -x_1771 = lean_nat_add(x_3, x_1770); -lean_dec(x_3); -x_1772 = l_Lean_mkHole(x_11); -lean_inc(x_1768); -x_1773 = l_Lean_Elab_Term_mkExplicitBinder(x_1768, x_1772); -x_1774 = lean_array_push(x_4, x_1773); -lean_inc(x_5); -x_1775 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1771, x_1774, x_5, x_1769); +x_1774 = 1; +lean_inc(x_11); +x_1775 = l_Lean_Syntax_isTermId_x3f(x_11, x_1774); if (lean_obj_tag(x_1775) == 0) { -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_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; -x_1776 = lean_ctor_get(x_1775, 0); -lean_inc(x_1776); -x_1777 = lean_ctor_get(x_1775, 1); +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_object* x_1782; lean_object* x_1783; lean_object* x_1784; +x_1776 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1777 = lean_ctor_get(x_1776, 0); lean_inc(x_1777); -lean_dec(x_1775); -x_1778 = lean_ctor_get(x_1776, 0); +x_1778 = lean_ctor_get(x_1776, 1); lean_inc(x_1778); -x_1779 = lean_ctor_get(x_1776, 1); -lean_inc(x_1779); -if (lean_is_exclusive(x_1776)) { - lean_ctor_release(x_1776, 0); - lean_ctor_release(x_1776, 1); - x_1780 = x_1776; +lean_dec(x_1776); +x_1779 = lean_unsigned_to_nat(1u); +x_1780 = lean_nat_add(x_3, x_1779); +lean_dec(x_3); +x_1781 = l_Lean_mkHole(x_11); +lean_inc(x_1777); +x_1782 = l_Lean_Elab_Term_mkExplicitBinder(x_1777, x_1781); +x_1783 = lean_array_push(x_4, x_1782); +lean_inc(x_5); +x_1784 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1780, x_1783, x_5, x_1778); +if (lean_obj_tag(x_1784) == 0) +{ +lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; 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; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; +x_1785 = lean_ctor_get(x_1784, 0); +lean_inc(x_1785); +x_1786 = lean_ctor_get(x_1784, 1); +lean_inc(x_1786); +lean_dec(x_1784); +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; } else { - lean_dec_ref(x_1776); - x_1780 = lean_box(0); + lean_dec_ref(x_1785); + x_1789 = lean_box(0); } -x_1781 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1777); +x_1790 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1786); lean_dec(x_5); -x_1782 = lean_ctor_get(x_1781, 1); -lean_inc(x_1782); -lean_dec(x_1781); -x_1783 = l_Lean_Elab_Term_getMainModule___rarg(x_1782); -x_1784 = lean_ctor_get(x_1783, 1); -lean_inc(x_1784); -if (lean_is_exclusive(x_1783)) { - lean_ctor_release(x_1783, 0); - lean_ctor_release(x_1783, 1); - x_1785 = x_1783; +x_1791 = lean_ctor_get(x_1790, 1); +lean_inc(x_1791); +lean_dec(x_1790); +x_1792 = l_Lean_Elab_Term_getMainModule___rarg(x_1791); +x_1793 = lean_ctor_get(x_1792, 1); +lean_inc(x_1793); +if (lean_is_exclusive(x_1792)) { + lean_ctor_release(x_1792, 0); + lean_ctor_release(x_1792, 1); + x_1794 = x_1792; } else { - lean_dec_ref(x_1783); - x_1785 = lean_box(0); + lean_dec_ref(x_1792); + x_1794 = lean_box(0); } -x_1786 = l_Array_empty___closed__1; -x_1787 = lean_array_push(x_1786, x_1768); -x_1788 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1789 = lean_array_push(x_1787, x_1788); -x_1790 = l_Lean_mkTermIdFromIdent___closed__2; -x_1791 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1791, 0, x_1790); -lean_ctor_set(x_1791, 1, x_1789); -x_1792 = lean_array_push(x_1786, x_1791); -x_1793 = l_Lean_nullKind___closed__2; -x_1794 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1794, 0, x_1793); -lean_ctor_set(x_1794, 1, x_1792); -x_1795 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1796 = lean_array_push(x_1795, x_1794); -x_1797 = lean_array_push(x_1796, x_1788); -x_1798 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1799 = lean_array_push(x_1797, x_1798); +x_1795 = l_Array_empty___closed__1; +x_1796 = lean_array_push(x_1795, x_1777); +x_1797 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1798 = lean_array_push(x_1796, x_1797); +x_1799 = l_Lean_mkTermIdFromIdent___closed__2; +x_1800 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1800, 0, x_1799); +lean_ctor_set(x_1800, 1, x_1798); +x_1801 = lean_array_push(x_1795, x_1800); +x_1802 = l_Lean_nullKind___closed__2; +x_1803 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1803, 0, x_1802); +lean_ctor_set(x_1803, 1, x_1801); +x_1804 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1805 = lean_array_push(x_1804, x_1803); +x_1806 = lean_array_push(x_1805, x_1797); +x_1807 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1808 = lean_array_push(x_1806, x_1807); lean_inc(x_11); -x_1800 = lean_array_push(x_1786, x_11); +x_1809 = lean_array_push(x_1795, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1801 = x_11; + x_1810 = x_11; } else { lean_dec_ref(x_11); - x_1801 = lean_box(0); + x_1810 = lean_box(0); } -if (lean_is_scalar(x_1801)) { - x_1802 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1810)) { + x_1811 = lean_alloc_ctor(1, 2, 0); } else { - x_1802 = x_1801; + x_1811 = x_1810; } -lean_ctor_set(x_1802, 0, x_1793); -lean_ctor_set(x_1802, 1, x_1800); -x_1803 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1804 = lean_array_push(x_1803, x_1802); -x_1805 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1806 = lean_array_push(x_1804, x_1805); -x_1807 = lean_array_push(x_1806, x_1779); -x_1808 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1809 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1809, 0, x_1808); -lean_ctor_set(x_1809, 1, x_1807); -x_1810 = lean_array_push(x_1786, x_1809); -x_1811 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1811, 0, x_1793); -lean_ctor_set(x_1811, 1, x_1810); -x_1812 = lean_array_push(x_1799, x_1811); -x_1813 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1814 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1814, 0, x_1813); -lean_ctor_set(x_1814, 1, x_1812); -if (lean_is_scalar(x_1780)) { - x_1815 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1811, 0, x_1802); +lean_ctor_set(x_1811, 1, x_1809); +x_1812 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1813 = lean_array_push(x_1812, x_1811); +x_1814 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1815 = lean_array_push(x_1813, x_1814); +x_1816 = lean_array_push(x_1815, x_1788); +x_1817 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1818 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1818, 0, x_1817); +lean_ctor_set(x_1818, 1, x_1816); +x_1819 = lean_array_push(x_1795, x_1818); +x_1820 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1820, 0, x_1802); +lean_ctor_set(x_1820, 1, x_1819); +x_1821 = lean_array_push(x_1808, x_1820); +x_1822 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1823 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1823, 0, x_1822); +lean_ctor_set(x_1823, 1, x_1821); +if (lean_is_scalar(x_1789)) { + x_1824 = lean_alloc_ctor(0, 2, 0); } else { - x_1815 = x_1780; + x_1824 = x_1789; } -lean_ctor_set(x_1815, 0, x_1778); -lean_ctor_set(x_1815, 1, x_1814); -if (lean_is_scalar(x_1785)) { - x_1816 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1824, 0, x_1787); +lean_ctor_set(x_1824, 1, x_1823); +if (lean_is_scalar(x_1794)) { + x_1825 = lean_alloc_ctor(0, 2, 0); } else { - x_1816 = x_1785; + x_1825 = x_1794; } -lean_ctor_set(x_1816, 0, x_1815); -lean_ctor_set(x_1816, 1, x_1784); -return x_1816; +lean_ctor_set(x_1825, 0, x_1824); +lean_ctor_set(x_1825, 1, x_1793); +return x_1825; } else { -lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; -lean_dec(x_1768); +lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; +lean_dec(x_1777); lean_dec(x_11); lean_dec(x_5); -x_1817 = lean_ctor_get(x_1775, 0); -lean_inc(x_1817); -x_1818 = lean_ctor_get(x_1775, 1); -lean_inc(x_1818); -if (lean_is_exclusive(x_1775)) { - lean_ctor_release(x_1775, 0); - lean_ctor_release(x_1775, 1); - x_1819 = x_1775; +x_1826 = lean_ctor_get(x_1784, 0); +lean_inc(x_1826); +x_1827 = lean_ctor_get(x_1784, 1); +lean_inc(x_1827); +if (lean_is_exclusive(x_1784)) { + lean_ctor_release(x_1784, 0); + lean_ctor_release(x_1784, 1); + x_1828 = x_1784; } else { - lean_dec_ref(x_1775); - x_1819 = lean_box(0); + lean_dec_ref(x_1784); + x_1828 = lean_box(0); } -if (lean_is_scalar(x_1819)) { - x_1820 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1828)) { + x_1829 = lean_alloc_ctor(1, 2, 0); } else { - x_1820 = x_1819; + x_1829 = x_1828; } -lean_ctor_set(x_1820, 0, x_1817); -lean_ctor_set(x_1820, 1, x_1818); -return x_1820; +lean_ctor_set(x_1829, 0, x_1826); +lean_ctor_set(x_1829, 1, x_1827); +return x_1829; } } else { -lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; uint8_t x_1824; -x_1821 = lean_ctor_get(x_1766, 0); -lean_inc(x_1821); -lean_dec(x_1766); -x_1822 = lean_ctor_get(x_1821, 0); -lean_inc(x_1822); -x_1823 = lean_ctor_get(x_1821, 1); -lean_inc(x_1823); -lean_dec(x_1821); -x_1824 = l_Lean_Syntax_isNone(x_1823); -lean_dec(x_1823); -if (x_1824 == 0) +lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; uint8_t x_1833; +x_1830 = lean_ctor_get(x_1775, 0); +lean_inc(x_1830); +lean_dec(x_1775); +x_1831 = lean_ctor_get(x_1830, 0); +lean_inc(x_1831); +x_1832 = lean_ctor_get(x_1830, 1); +lean_inc(x_1832); +lean_dec(x_1830); +x_1833 = l_Lean_Syntax_isNone(x_1832); +lean_dec(x_1832); +if (x_1833 == 0) { -lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; -lean_dec(x_1822); +lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; +lean_dec(x_1831); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_1825 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_1826 = l_Lean_Elab_Term_throwError___rarg(x_11, x_1825, x_5, x_6); +x_1834 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1835 = l_Lean_Elab_Term_throwError___rarg(x_11, x_1834, x_5, x_6); lean_dec(x_11); -x_1827 = lean_ctor_get(x_1826, 0); -lean_inc(x_1827); -x_1828 = lean_ctor_get(x_1826, 1); -lean_inc(x_1828); -if (lean_is_exclusive(x_1826)) { - lean_ctor_release(x_1826, 0); - lean_ctor_release(x_1826, 1); - x_1829 = x_1826; +x_1836 = lean_ctor_get(x_1835, 0); +lean_inc(x_1836); +x_1837 = lean_ctor_get(x_1835, 1); +lean_inc(x_1837); +if (lean_is_exclusive(x_1835)) { + lean_ctor_release(x_1835, 0); + lean_ctor_release(x_1835, 1); + x_1838 = x_1835; } else { - lean_dec_ref(x_1826); - x_1829 = lean_box(0); + lean_dec_ref(x_1835); + x_1838 = lean_box(0); } -if (lean_is_scalar(x_1829)) { - x_1830 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1838)) { + x_1839 = lean_alloc_ctor(1, 2, 0); } else { - x_1830 = x_1829; + x_1839 = x_1838; } -lean_ctor_set(x_1830, 0, x_1827); -lean_ctor_set(x_1830, 1, x_1828); -return x_1830; +lean_ctor_set(x_1839, 0, x_1836); +lean_ctor_set(x_1839, 1, x_1837); +return x_1839; } else { -lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; -x_1831 = l_Lean_mkHole(x_11); +lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; +x_1840 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_1832 = lean_unsigned_to_nat(1u); -x_1833 = lean_nat_add(x_3, x_1832); +x_1841 = lean_unsigned_to_nat(1u); +x_1842 = lean_nat_add(x_3, x_1841); lean_dec(x_3); -x_1834 = l_Lean_Elab_Term_mkExplicitBinder(x_1822, x_1831); -x_1835 = lean_array_push(x_4, x_1834); -x_3 = x_1833; -x_4 = x_1835; +x_1843 = l_Lean_Elab_Term_mkExplicitBinder(x_1831, x_1840); +x_1844 = lean_array_push(x_4, x_1843); +x_3 = x_1842; +x_4 = x_1844; goto _start; } } } else { -lean_object* x_1837; uint8_t x_1838; -x_1837 = l_Lean_mkAppStx___closed__3; -x_1838 = lean_string_dec_eq(x_1759, x_1837); -if (x_1838 == 0) +lean_object* x_1846; uint8_t x_1847; +x_1846 = l_Lean_mkAppStx___closed__3; +x_1847 = lean_string_dec_eq(x_1767, x_1846); +if (x_1847 == 0) { -lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; -if (lean_is_scalar(x_1763)) { - x_1839 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; uint8_t x_1851; lean_object* x_1852; +if (lean_is_scalar(x_1771)) { + x_1848 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1839 = x_1763; + x_1848 = x_1771; } -lean_ctor_set(x_1839, 0, x_16); -lean_ctor_set(x_1839, 1, x_1764); -lean_ctor_set_usize(x_1839, 2, x_1762); -x_1840 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1840, 0, x_1839); -lean_ctor_set(x_1840, 1, x_1759); -lean_ctor_set_usize(x_1840, 2, x_1760); -lean_ctor_set(x_13, 0, x_1840); -x_1841 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1841, 0, x_12); -lean_ctor_set(x_1841, 1, x_17); -x_1842 = l_Lean_Syntax_isTermId_x3f(x_1841); -if (lean_obj_tag(x_1842) == 0) +lean_ctor_set(x_1848, 0, x_16); +lean_ctor_set(x_1848, 1, x_1772); +lean_ctor_set_usize(x_1848, 2, x_1770); +x_1849 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1849, 0, x_1848); +lean_ctor_set(x_1849, 1, x_1767); +lean_ctor_set_usize(x_1849, 2, x_1768); +lean_ctor_set(x_13, 0, x_1849); +x_1850 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1850, 0, x_12); +lean_ctor_set(x_1850, 1, x_17); +x_1851 = 1; +lean_inc(x_1850); +x_1852 = l_Lean_Syntax_isTermId_x3f(x_1850, x_1851); +if (lean_obj_tag(x_1852) == 0) { -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_object* x_1849; lean_object* x_1850; lean_object* x_1851; -lean_dec(x_1841); -x_1843 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1844 = lean_ctor_get(x_1843, 0); -lean_inc(x_1844); -x_1845 = lean_ctor_get(x_1843, 1); -lean_inc(x_1845); -lean_dec(x_1843); -x_1846 = lean_unsigned_to_nat(1u); -x_1847 = lean_nat_add(x_3, x_1846); -lean_dec(x_3); -x_1848 = l_Lean_mkHole(x_11); -lean_inc(x_1844); -x_1849 = l_Lean_Elab_Term_mkExplicitBinder(x_1844, x_1848); -x_1850 = lean_array_push(x_4, x_1849); -lean_inc(x_5); -x_1851 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1847, x_1850, x_5, x_1845); -if (lean_obj_tag(x_1851) == 0) -{ -lean_object* x_1852; 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; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* 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; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; -x_1852 = lean_ctor_get(x_1851, 0); -lean_inc(x_1852); -x_1853 = lean_ctor_get(x_1851, 1); -lean_inc(x_1853); -lean_dec(x_1851); -x_1854 = lean_ctor_get(x_1852, 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; lean_object* x_1861; +lean_dec(x_1850); +x_1853 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1854 = lean_ctor_get(x_1853, 0); lean_inc(x_1854); -x_1855 = lean_ctor_get(x_1852, 1); +x_1855 = lean_ctor_get(x_1853, 1); lean_inc(x_1855); -if (lean_is_exclusive(x_1852)) { - lean_ctor_release(x_1852, 0); - lean_ctor_release(x_1852, 1); - x_1856 = x_1852; +lean_dec(x_1853); +x_1856 = lean_unsigned_to_nat(1u); +x_1857 = lean_nat_add(x_3, x_1856); +lean_dec(x_3); +x_1858 = l_Lean_mkHole(x_11); +lean_inc(x_1854); +x_1859 = l_Lean_Elab_Term_mkExplicitBinder(x_1854, x_1858); +x_1860 = lean_array_push(x_4, x_1859); +lean_inc(x_5); +x_1861 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1857, x_1860, x_5, x_1855); +if (lean_obj_tag(x_1861) == 0) +{ +lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* 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; lean_object* x_1887; lean_object* x_1888; lean_object* 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; lean_object* x_1899; lean_object* x_1900; lean_object* x_1901; lean_object* x_1902; +x_1862 = lean_ctor_get(x_1861, 0); +lean_inc(x_1862); +x_1863 = lean_ctor_get(x_1861, 1); +lean_inc(x_1863); +lean_dec(x_1861); +x_1864 = lean_ctor_get(x_1862, 0); +lean_inc(x_1864); +x_1865 = lean_ctor_get(x_1862, 1); +lean_inc(x_1865); +if (lean_is_exclusive(x_1862)) { + lean_ctor_release(x_1862, 0); + lean_ctor_release(x_1862, 1); + x_1866 = x_1862; } else { - lean_dec_ref(x_1852); - x_1856 = lean_box(0); + lean_dec_ref(x_1862); + x_1866 = lean_box(0); } -x_1857 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1853); +x_1867 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1863); lean_dec(x_5); -x_1858 = lean_ctor_get(x_1857, 1); -lean_inc(x_1858); -lean_dec(x_1857); -x_1859 = l_Lean_Elab_Term_getMainModule___rarg(x_1858); -x_1860 = lean_ctor_get(x_1859, 1); -lean_inc(x_1860); -if (lean_is_exclusive(x_1859)) { - lean_ctor_release(x_1859, 0); - lean_ctor_release(x_1859, 1); - x_1861 = x_1859; +x_1868 = lean_ctor_get(x_1867, 1); +lean_inc(x_1868); +lean_dec(x_1867); +x_1869 = l_Lean_Elab_Term_getMainModule___rarg(x_1868); +x_1870 = lean_ctor_get(x_1869, 1); +lean_inc(x_1870); +if (lean_is_exclusive(x_1869)) { + lean_ctor_release(x_1869, 0); + lean_ctor_release(x_1869, 1); + x_1871 = x_1869; } else { - lean_dec_ref(x_1859); - x_1861 = lean_box(0); + lean_dec_ref(x_1869); + x_1871 = lean_box(0); } -x_1862 = l_Array_empty___closed__1; -x_1863 = lean_array_push(x_1862, x_1844); -x_1864 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1865 = lean_array_push(x_1863, x_1864); -x_1866 = l_Lean_mkTermIdFromIdent___closed__2; -x_1867 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1867, 0, x_1866); -lean_ctor_set(x_1867, 1, x_1865); -x_1868 = lean_array_push(x_1862, x_1867); -x_1869 = l_Lean_nullKind___closed__2; -x_1870 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1870, 0, x_1869); -lean_ctor_set(x_1870, 1, x_1868); -x_1871 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1872 = lean_array_push(x_1871, x_1870); -x_1873 = lean_array_push(x_1872, x_1864); -x_1874 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1872 = l_Array_empty___closed__1; +x_1873 = lean_array_push(x_1872, x_1854); +x_1874 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; x_1875 = lean_array_push(x_1873, x_1874); +x_1876 = l_Lean_mkTermIdFromIdent___closed__2; +x_1877 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1877, 0, x_1876); +lean_ctor_set(x_1877, 1, x_1875); +x_1878 = lean_array_push(x_1872, x_1877); +x_1879 = l_Lean_nullKind___closed__2; +x_1880 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1880, 0, x_1879); +lean_ctor_set(x_1880, 1, x_1878); +x_1881 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1882 = lean_array_push(x_1881, x_1880); +x_1883 = lean_array_push(x_1882, x_1874); +x_1884 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1885 = lean_array_push(x_1883, x_1884); lean_inc(x_11); -x_1876 = lean_array_push(x_1862, x_11); +x_1886 = lean_array_push(x_1872, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_1877 = x_11; + x_1887 = x_11; } else { lean_dec_ref(x_11); - x_1877 = lean_box(0); + x_1887 = lean_box(0); } -if (lean_is_scalar(x_1877)) { - x_1878 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1887)) { + x_1888 = lean_alloc_ctor(1, 2, 0); } else { - x_1878 = x_1877; + x_1888 = x_1887; } -lean_ctor_set(x_1878, 0, x_1869); -lean_ctor_set(x_1878, 1, x_1876); -x_1879 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1880 = lean_array_push(x_1879, x_1878); -x_1881 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1882 = lean_array_push(x_1880, x_1881); -x_1883 = lean_array_push(x_1882, x_1855); -x_1884 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1885 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1885, 0, x_1884); -lean_ctor_set(x_1885, 1, x_1883); -x_1886 = lean_array_push(x_1862, x_1885); -x_1887 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1887, 0, x_1869); -lean_ctor_set(x_1887, 1, x_1886); -x_1888 = lean_array_push(x_1875, x_1887); -x_1889 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1890 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1890, 0, x_1889); -lean_ctor_set(x_1890, 1, x_1888); -if (lean_is_scalar(x_1856)) { - x_1891 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1888, 0, x_1879); +lean_ctor_set(x_1888, 1, x_1886); +x_1889 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1890 = lean_array_push(x_1889, x_1888); +x_1891 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1892 = lean_array_push(x_1890, x_1891); +x_1893 = lean_array_push(x_1892, x_1865); +x_1894 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1895 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1895, 0, x_1894); +lean_ctor_set(x_1895, 1, x_1893); +x_1896 = lean_array_push(x_1872, x_1895); +x_1897 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1897, 0, x_1879); +lean_ctor_set(x_1897, 1, x_1896); +x_1898 = lean_array_push(x_1885, x_1897); +x_1899 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1900 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1900, 0, x_1899); +lean_ctor_set(x_1900, 1, x_1898); +if (lean_is_scalar(x_1866)) { + x_1901 = lean_alloc_ctor(0, 2, 0); } else { - x_1891 = x_1856; + x_1901 = x_1866; } -lean_ctor_set(x_1891, 0, x_1854); -lean_ctor_set(x_1891, 1, x_1890); -if (lean_is_scalar(x_1861)) { - x_1892 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1901, 0, x_1864); +lean_ctor_set(x_1901, 1, x_1900); +if (lean_is_scalar(x_1871)) { + x_1902 = lean_alloc_ctor(0, 2, 0); } else { - x_1892 = x_1861; + x_1902 = x_1871; } -lean_ctor_set(x_1892, 0, x_1891); -lean_ctor_set(x_1892, 1, x_1860); -return x_1892; +lean_ctor_set(x_1902, 0, x_1901); +lean_ctor_set(x_1902, 1, x_1870); +return x_1902; } else { -lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; -lean_dec(x_1844); +lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; +lean_dec(x_1854); lean_dec(x_11); lean_dec(x_5); -x_1893 = lean_ctor_get(x_1851, 0); -lean_inc(x_1893); -x_1894 = lean_ctor_get(x_1851, 1); -lean_inc(x_1894); -if (lean_is_exclusive(x_1851)) { - lean_ctor_release(x_1851, 0); - lean_ctor_release(x_1851, 1); - x_1895 = x_1851; -} else { - lean_dec_ref(x_1851); - x_1895 = lean_box(0); -} -if (lean_is_scalar(x_1895)) { - x_1896 = lean_alloc_ctor(1, 2, 0); -} else { - x_1896 = x_1895; -} -lean_ctor_set(x_1896, 0, x_1893); -lean_ctor_set(x_1896, 1, x_1894); -return x_1896; -} -} -else -{ -lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; uint8_t x_1900; -lean_dec(x_11); -x_1897 = lean_ctor_get(x_1842, 0); -lean_inc(x_1897); -lean_dec(x_1842); -x_1898 = lean_ctor_get(x_1897, 0); -lean_inc(x_1898); -x_1899 = lean_ctor_get(x_1897, 1); -lean_inc(x_1899); -lean_dec(x_1897); -x_1900 = l_Lean_Syntax_isNone(x_1899); -lean_dec(x_1899); -if (x_1900 == 0) -{ -lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; -lean_dec(x_1898); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_1901 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_1902 = l_Lean_Elab_Term_throwError___rarg(x_1841, x_1901, x_5, x_6); -lean_dec(x_1841); -x_1903 = lean_ctor_get(x_1902, 0); +x_1903 = lean_ctor_get(x_1861, 0); lean_inc(x_1903); -x_1904 = lean_ctor_get(x_1902, 1); +x_1904 = lean_ctor_get(x_1861, 1); lean_inc(x_1904); -if (lean_is_exclusive(x_1902)) { - lean_ctor_release(x_1902, 0); - lean_ctor_release(x_1902, 1); - x_1905 = x_1902; +if (lean_is_exclusive(x_1861)) { + lean_ctor_release(x_1861, 0); + lean_ctor_release(x_1861, 1); + x_1905 = x_1861; } else { - lean_dec_ref(x_1902); + lean_dec_ref(x_1861); x_1905 = lean_box(0); } if (lean_is_scalar(x_1905)) { @@ -9663,1204 +9637,1254 @@ lean_ctor_set(x_1906, 0, x_1903); lean_ctor_set(x_1906, 1, x_1904); return x_1906; } +} else { -lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; -x_1907 = l_Lean_mkHole(x_1841); -lean_dec(x_1841); -x_1908 = lean_unsigned_to_nat(1u); -x_1909 = lean_nat_add(x_3, x_1908); +lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; uint8_t x_1910; +lean_dec(x_11); +x_1907 = lean_ctor_get(x_1852, 0); +lean_inc(x_1907); +lean_dec(x_1852); +x_1908 = lean_ctor_get(x_1907, 0); +lean_inc(x_1908); +x_1909 = lean_ctor_get(x_1907, 1); +lean_inc(x_1909); +lean_dec(x_1907); +x_1910 = l_Lean_Syntax_isNone(x_1909); +lean_dec(x_1909); +if (x_1910 == 0) +{ +lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; +lean_dec(x_1908); +lean_dec(x_4); lean_dec(x_3); -x_1910 = l_Lean_Elab_Term_mkExplicitBinder(x_1898, x_1907); -x_1911 = lean_array_push(x_4, x_1910); -x_3 = x_1909; -x_4 = x_1911; +lean_dec(x_2); +x_1911 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1912 = l_Lean_Elab_Term_throwError___rarg(x_1850, x_1911, x_5, x_6); +lean_dec(x_1850); +x_1913 = lean_ctor_get(x_1912, 0); +lean_inc(x_1913); +x_1914 = lean_ctor_get(x_1912, 1); +lean_inc(x_1914); +if (lean_is_exclusive(x_1912)) { + lean_ctor_release(x_1912, 0); + lean_ctor_release(x_1912, 1); + x_1915 = x_1912; +} else { + lean_dec_ref(x_1912); + x_1915 = lean_box(0); +} +if (lean_is_scalar(x_1915)) { + x_1916 = lean_alloc_ctor(1, 2, 0); +} else { + x_1916 = x_1915; +} +lean_ctor_set(x_1916, 0, x_1913); +lean_ctor_set(x_1916, 1, x_1914); +return x_1916; +} +else +{ +lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; +x_1917 = l_Lean_mkHole(x_1850); +lean_dec(x_1850); +x_1918 = lean_unsigned_to_nat(1u); +x_1919 = lean_nat_add(x_3, x_1918); +lean_dec(x_3); +x_1920 = l_Lean_Elab_Term_mkExplicitBinder(x_1908, x_1917); +x_1921 = lean_array_push(x_4, x_1920); +x_3 = x_1919; +x_4 = x_1921; goto _start; } } } else { -lean_object* x_1913; uint8_t x_1914; -lean_dec(x_1759); -x_1913 = l_Lean_mkAppStx___closed__5; -x_1914 = lean_string_dec_eq(x_22, x_1913); -if (x_1914 == 0) +lean_object* x_1923; uint8_t x_1924; +lean_dec(x_1767); +x_1923 = l_Lean_mkAppStx___closed__5; +x_1924 = lean_string_dec_eq(x_22, x_1923); +if (x_1924 == 0) { -lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; lean_object* x_1918; -if (lean_is_scalar(x_1763)) { - x_1915 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; uint8_t x_1928; lean_object* x_1929; +if (lean_is_scalar(x_1771)) { + x_1925 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_1915 = x_1763; + x_1925 = x_1771; } -lean_ctor_set(x_1915, 0, x_16); -lean_ctor_set(x_1915, 1, x_1764); -lean_ctor_set_usize(x_1915, 2, x_1762); -x_1916 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1916, 0, x_1915); -lean_ctor_set(x_1916, 1, x_1837); -lean_ctor_set_usize(x_1916, 2, x_1760); -lean_ctor_set(x_13, 0, x_1916); -x_1917 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1917, 0, x_12); -lean_ctor_set(x_1917, 1, x_17); -x_1918 = l_Lean_Syntax_isTermId_x3f(x_1917); -if (lean_obj_tag(x_1918) == 0) +lean_ctor_set(x_1925, 0, x_16); +lean_ctor_set(x_1925, 1, x_1772); +lean_ctor_set_usize(x_1925, 2, x_1770); +x_1926 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_1926, 0, x_1925); +lean_ctor_set(x_1926, 1, x_1846); +lean_ctor_set_usize(x_1926, 2, x_1768); +lean_ctor_set(x_13, 0, x_1926); +x_1927 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1927, 0, x_12); +lean_ctor_set(x_1927, 1, x_17); +x_1928 = 1; +lean_inc(x_1927); +x_1929 = l_Lean_Syntax_isTermId_x3f(x_1927, x_1928); +if (lean_obj_tag(x_1929) == 0) { -lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; -lean_dec(x_1917); -x_1919 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1920 = lean_ctor_get(x_1919, 0); -lean_inc(x_1920); -x_1921 = lean_ctor_get(x_1919, 1); -lean_inc(x_1921); -lean_dec(x_1919); -x_1922 = lean_unsigned_to_nat(1u); -x_1923 = lean_nat_add(x_3, x_1922); -lean_dec(x_3); -x_1924 = l_Lean_mkHole(x_11); -lean_inc(x_1920); -x_1925 = l_Lean_Elab_Term_mkExplicitBinder(x_1920, x_1924); -x_1926 = lean_array_push(x_4, x_1925); -lean_inc(x_5); -x_1927 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1923, x_1926, x_5, x_1921); -if (lean_obj_tag(x_1927) == 0) -{ -lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; -x_1928 = lean_ctor_get(x_1927, 0); -lean_inc(x_1928); -x_1929 = lean_ctor_get(x_1927, 1); -lean_inc(x_1929); +lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_dec(x_1927); -x_1930 = lean_ctor_get(x_1928, 0); -lean_inc(x_1930); -x_1931 = lean_ctor_get(x_1928, 1); +x_1930 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_1931 = lean_ctor_get(x_1930, 0); lean_inc(x_1931); -if (lean_is_exclusive(x_1928)) { - lean_ctor_release(x_1928, 0); - lean_ctor_release(x_1928, 1); - x_1932 = x_1928; -} else { - lean_dec_ref(x_1928); - x_1932 = lean_box(0); -} -x_1933 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1929); -lean_dec(x_5); -x_1934 = lean_ctor_get(x_1933, 1); -lean_inc(x_1934); -lean_dec(x_1933); -x_1935 = l_Lean_Elab_Term_getMainModule___rarg(x_1934); -x_1936 = lean_ctor_get(x_1935, 1); -lean_inc(x_1936); -if (lean_is_exclusive(x_1935)) { - lean_ctor_release(x_1935, 0); - lean_ctor_release(x_1935, 1); - x_1937 = x_1935; -} else { - lean_dec_ref(x_1935); - x_1937 = lean_box(0); -} -x_1938 = l_Array_empty___closed__1; -x_1939 = lean_array_push(x_1938, x_1920); -x_1940 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1941 = lean_array_push(x_1939, x_1940); -x_1942 = l_Lean_mkTermIdFromIdent___closed__2; -x_1943 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1943, 0, x_1942); -lean_ctor_set(x_1943, 1, x_1941); -x_1944 = lean_array_push(x_1938, x_1943); -x_1945 = l_Lean_nullKind___closed__2; -x_1946 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1946, 0, x_1945); -lean_ctor_set(x_1946, 1, x_1944); -x_1947 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_1948 = lean_array_push(x_1947, x_1946); -x_1949 = lean_array_push(x_1948, x_1940); -x_1950 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_1951 = lean_array_push(x_1949, x_1950); -lean_inc(x_11); -x_1952 = lean_array_push(x_1938, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_1953 = x_11; -} else { - lean_dec_ref(x_11); - x_1953 = lean_box(0); -} -if (lean_is_scalar(x_1953)) { - x_1954 = lean_alloc_ctor(1, 2, 0); -} else { - x_1954 = x_1953; -} -lean_ctor_set(x_1954, 0, x_1945); -lean_ctor_set(x_1954, 1, x_1952); -x_1955 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_1956 = lean_array_push(x_1955, x_1954); -x_1957 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_1958 = lean_array_push(x_1956, x_1957); -x_1959 = lean_array_push(x_1958, x_1931); -x_1960 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_1961 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1961, 0, x_1960); -lean_ctor_set(x_1961, 1, x_1959); -x_1962 = lean_array_push(x_1938, x_1961); -x_1963 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1963, 0, x_1945); -lean_ctor_set(x_1963, 1, x_1962); -x_1964 = lean_array_push(x_1951, x_1963); -x_1965 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_1966 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1966, 0, x_1965); -lean_ctor_set(x_1966, 1, x_1964); -if (lean_is_scalar(x_1932)) { - x_1967 = lean_alloc_ctor(0, 2, 0); -} else { - x_1967 = x_1932; -} -lean_ctor_set(x_1967, 0, x_1930); -lean_ctor_set(x_1967, 1, x_1966); -if (lean_is_scalar(x_1937)) { - x_1968 = lean_alloc_ctor(0, 2, 0); -} else { - x_1968 = x_1937; -} -lean_ctor_set(x_1968, 0, x_1967); -lean_ctor_set(x_1968, 1, x_1936); -return x_1968; -} -else -{ -lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; -lean_dec(x_1920); -lean_dec(x_11); -lean_dec(x_5); -x_1969 = lean_ctor_get(x_1927, 0); -lean_inc(x_1969); -x_1970 = lean_ctor_get(x_1927, 1); -lean_inc(x_1970); -if (lean_is_exclusive(x_1927)) { - lean_ctor_release(x_1927, 0); - lean_ctor_release(x_1927, 1); - x_1971 = x_1927; -} else { - lean_dec_ref(x_1927); - x_1971 = lean_box(0); -} -if (lean_is_scalar(x_1971)) { - x_1972 = lean_alloc_ctor(1, 2, 0); -} else { - x_1972 = x_1971; -} -lean_ctor_set(x_1972, 0, x_1969); -lean_ctor_set(x_1972, 1, x_1970); -return x_1972; -} -} -else -{ -lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; uint8_t x_1976; -lean_dec(x_11); -x_1973 = lean_ctor_get(x_1918, 0); -lean_inc(x_1973); -lean_dec(x_1918); -x_1974 = lean_ctor_get(x_1973, 0); -lean_inc(x_1974); -x_1975 = lean_ctor_get(x_1973, 1); -lean_inc(x_1975); -lean_dec(x_1973); -x_1976 = l_Lean_Syntax_isNone(x_1975); -lean_dec(x_1975); -if (x_1976 == 0) -{ -lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; -lean_dec(x_1974); -lean_dec(x_4); +x_1932 = lean_ctor_get(x_1930, 1); +lean_inc(x_1932); +lean_dec(x_1930); +x_1933 = lean_unsigned_to_nat(1u); +x_1934 = lean_nat_add(x_3, x_1933); lean_dec(x_3); -lean_dec(x_2); -x_1977 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_1978 = l_Lean_Elab_Term_throwError___rarg(x_1917, x_1977, x_5, x_6); -lean_dec(x_1917); -x_1979 = lean_ctor_get(x_1978, 0); -lean_inc(x_1979); -x_1980 = lean_ctor_get(x_1978, 1); -lean_inc(x_1980); -if (lean_is_exclusive(x_1978)) { - lean_ctor_release(x_1978, 0); - lean_ctor_release(x_1978, 1); - x_1981 = x_1978; -} else { - lean_dec_ref(x_1978); - x_1981 = lean_box(0); -} -if (lean_is_scalar(x_1981)) { - x_1982 = lean_alloc_ctor(1, 2, 0); -} else { - x_1982 = x_1981; -} -lean_ctor_set(x_1982, 0, x_1979); -lean_ctor_set(x_1982, 1, x_1980); -return x_1982; -} -else -{ -lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; -x_1983 = l_Lean_mkHole(x_1917); -lean_dec(x_1917); -x_1984 = lean_unsigned_to_nat(1u); -x_1985 = lean_nat_add(x_3, x_1984); -lean_dec(x_3); -x_1986 = l_Lean_Elab_Term_mkExplicitBinder(x_1974, x_1983); -x_1987 = lean_array_push(x_4, x_1986); -x_3 = x_1985; -x_4 = x_1987; -goto _start; -} -} -} -else -{ -lean_object* x_1989; uint8_t x_1990; -lean_dec(x_22); -x_1989 = l_Lean_mkHole___closed__1; -x_1990 = lean_string_dec_eq(x_19, x_1989); -if (x_1990 == 0) -{ -lean_object* x_1991; uint8_t x_1992; -x_1991 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; -x_1992 = lean_string_dec_eq(x_19, x_1991); -if (x_1992 == 0) -{ -lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; -if (lean_is_scalar(x_1763)) { - x_1993 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_1993 = x_1763; -} -lean_ctor_set(x_1993, 0, x_16); -lean_ctor_set(x_1993, 1, x_1764); -lean_ctor_set_usize(x_1993, 2, x_1762); -x_1994 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_1994, 0, x_1993); -lean_ctor_set(x_1994, 1, x_1837); -lean_ctor_set_usize(x_1994, 2, x_1760); -lean_ctor_set(x_13, 1, x_1913); -lean_ctor_set(x_13, 0, x_1994); -x_1995 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1995, 0, x_12); -lean_ctor_set(x_1995, 1, x_17); -x_1996 = l_Lean_Syntax_isTermId_x3f(x_1995); -if (lean_obj_tag(x_1996) == 0) -{ -lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; -lean_dec(x_1995); -x_1997 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_1998 = lean_ctor_get(x_1997, 0); -lean_inc(x_1998); -x_1999 = lean_ctor_get(x_1997, 1); -lean_inc(x_1999); -lean_dec(x_1997); -x_2000 = lean_unsigned_to_nat(1u); -x_2001 = lean_nat_add(x_3, x_2000); -lean_dec(x_3); -x_2002 = l_Lean_mkHole(x_11); -lean_inc(x_1998); -x_2003 = l_Lean_Elab_Term_mkExplicitBinder(x_1998, x_2002); -x_2004 = lean_array_push(x_4, x_2003); +x_1935 = l_Lean_mkHole(x_11); +lean_inc(x_1931); +x_1936 = l_Lean_Elab_Term_mkExplicitBinder(x_1931, x_1935); +x_1937 = lean_array_push(x_4, x_1936); lean_inc(x_5); -x_2005 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2001, x_2004, x_5, x_1999); -if (lean_obj_tag(x_2005) == 0) +x_1938 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_1934, x_1937, x_5, x_1932); +if (lean_obj_tag(x_1938) == 0) { -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_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_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; -x_2006 = lean_ctor_get(x_2005, 0); -lean_inc(x_2006); -x_2007 = lean_ctor_get(x_2005, 1); -lean_inc(x_2007); -lean_dec(x_2005); -x_2008 = lean_ctor_get(x_2006, 0); -lean_inc(x_2008); -x_2009 = lean_ctor_get(x_2006, 1); -lean_inc(x_2009); -if (lean_is_exclusive(x_2006)) { - lean_ctor_release(x_2006, 0); - lean_ctor_release(x_2006, 1); - x_2010 = x_2006; +lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; +x_1939 = lean_ctor_get(x_1938, 0); +lean_inc(x_1939); +x_1940 = lean_ctor_get(x_1938, 1); +lean_inc(x_1940); +lean_dec(x_1938); +x_1941 = lean_ctor_get(x_1939, 0); +lean_inc(x_1941); +x_1942 = lean_ctor_get(x_1939, 1); +lean_inc(x_1942); +if (lean_is_exclusive(x_1939)) { + lean_ctor_release(x_1939, 0); + lean_ctor_release(x_1939, 1); + x_1943 = x_1939; } else { - lean_dec_ref(x_2006); - x_2010 = lean_box(0); + lean_dec_ref(x_1939); + x_1943 = lean_box(0); } -x_2011 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2007); +x_1944 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_1940); lean_dec(x_5); -x_2012 = lean_ctor_get(x_2011, 1); -lean_inc(x_2012); -lean_dec(x_2011); -x_2013 = l_Lean_Elab_Term_getMainModule___rarg(x_2012); -x_2014 = lean_ctor_get(x_2013, 1); -lean_inc(x_2014); -if (lean_is_exclusive(x_2013)) { - lean_ctor_release(x_2013, 0); - lean_ctor_release(x_2013, 1); - x_2015 = x_2013; +x_1945 = lean_ctor_get(x_1944, 1); +lean_inc(x_1945); +lean_dec(x_1944); +x_1946 = l_Lean_Elab_Term_getMainModule___rarg(x_1945); +x_1947 = lean_ctor_get(x_1946, 1); +lean_inc(x_1947); +if (lean_is_exclusive(x_1946)) { + lean_ctor_release(x_1946, 0); + lean_ctor_release(x_1946, 1); + x_1948 = x_1946; } else { - lean_dec_ref(x_2013); - x_2015 = lean_box(0); + lean_dec_ref(x_1946); + x_1948 = lean_box(0); } -x_2016 = l_Array_empty___closed__1; -x_2017 = lean_array_push(x_2016, x_1998); -x_2018 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2019 = lean_array_push(x_2017, x_2018); -x_2020 = l_Lean_mkTermIdFromIdent___closed__2; -x_2021 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2021, 0, x_2020); -lean_ctor_set(x_2021, 1, x_2019); -x_2022 = lean_array_push(x_2016, x_2021); -x_2023 = l_Lean_nullKind___closed__2; -x_2024 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2024, 0, x_2023); -lean_ctor_set(x_2024, 1, x_2022); -x_2025 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2026 = lean_array_push(x_2025, x_2024); -x_2027 = lean_array_push(x_2026, x_2018); -x_2028 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2029 = lean_array_push(x_2027, x_2028); +x_1949 = l_Array_empty___closed__1; +x_1950 = lean_array_push(x_1949, x_1931); +x_1951 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1952 = lean_array_push(x_1950, x_1951); +x_1953 = l_Lean_mkTermIdFromIdent___closed__2; +x_1954 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1954, 0, x_1953); +lean_ctor_set(x_1954, 1, x_1952); +x_1955 = lean_array_push(x_1949, x_1954); +x_1956 = l_Lean_nullKind___closed__2; +x_1957 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1957, 0, x_1956); +lean_ctor_set(x_1957, 1, x_1955); +x_1958 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_1959 = lean_array_push(x_1958, x_1957); +x_1960 = lean_array_push(x_1959, x_1951); +x_1961 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_1962 = lean_array_push(x_1960, x_1961); lean_inc(x_11); -x_2030 = lean_array_push(x_2016, x_11); +x_1963 = lean_array_push(x_1949, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2031 = x_11; + x_1964 = x_11; } else { lean_dec_ref(x_11); - x_2031 = lean_box(0); + x_1964 = lean_box(0); } -if (lean_is_scalar(x_2031)) { - x_2032 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1964)) { + x_1965 = lean_alloc_ctor(1, 2, 0); } else { - x_2032 = x_2031; + x_1965 = x_1964; } -lean_ctor_set(x_2032, 0, x_2023); -lean_ctor_set(x_2032, 1, x_2030); -x_2033 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2034 = lean_array_push(x_2033, x_2032); -x_2035 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2036 = lean_array_push(x_2034, x_2035); -x_2037 = lean_array_push(x_2036, x_2009); -x_2038 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2039 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2039, 0, x_2038); -lean_ctor_set(x_2039, 1, x_2037); -x_2040 = lean_array_push(x_2016, x_2039); -x_2041 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2041, 0, x_2023); -lean_ctor_set(x_2041, 1, x_2040); -x_2042 = lean_array_push(x_2029, x_2041); -x_2043 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2044 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2044, 0, x_2043); -lean_ctor_set(x_2044, 1, x_2042); -if (lean_is_scalar(x_2010)) { - x_2045 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1965, 0, x_1956); +lean_ctor_set(x_1965, 1, x_1963); +x_1966 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_1967 = lean_array_push(x_1966, x_1965); +x_1968 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_1969 = lean_array_push(x_1967, x_1968); +x_1970 = lean_array_push(x_1969, x_1942); +x_1971 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_1972 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1972, 0, x_1971); +lean_ctor_set(x_1972, 1, x_1970); +x_1973 = lean_array_push(x_1949, x_1972); +x_1974 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1974, 0, x_1956); +lean_ctor_set(x_1974, 1, x_1973); +x_1975 = lean_array_push(x_1962, x_1974); +x_1976 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_1977 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1977, 0, x_1976); +lean_ctor_set(x_1977, 1, x_1975); +if (lean_is_scalar(x_1943)) { + x_1978 = lean_alloc_ctor(0, 2, 0); } else { - x_2045 = x_2010; + x_1978 = x_1943; } -lean_ctor_set(x_2045, 0, x_2008); -lean_ctor_set(x_2045, 1, x_2044); -if (lean_is_scalar(x_2015)) { - x_2046 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1978, 0, x_1941); +lean_ctor_set(x_1978, 1, x_1977); +if (lean_is_scalar(x_1948)) { + x_1979 = lean_alloc_ctor(0, 2, 0); } else { - x_2046 = x_2015; + x_1979 = x_1948; } -lean_ctor_set(x_2046, 0, x_2045); -lean_ctor_set(x_2046, 1, x_2014); -return x_2046; +lean_ctor_set(x_1979, 0, x_1978); +lean_ctor_set(x_1979, 1, x_1947); +return x_1979; } else { -lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; -lean_dec(x_1998); +lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; +lean_dec(x_1931); lean_dec(x_11); lean_dec(x_5); -x_2047 = lean_ctor_get(x_2005, 0); -lean_inc(x_2047); -x_2048 = lean_ctor_get(x_2005, 1); -lean_inc(x_2048); -if (lean_is_exclusive(x_2005)) { - lean_ctor_release(x_2005, 0); - lean_ctor_release(x_2005, 1); - x_2049 = x_2005; +x_1980 = lean_ctor_get(x_1938, 0); +lean_inc(x_1980); +x_1981 = lean_ctor_get(x_1938, 1); +lean_inc(x_1981); +if (lean_is_exclusive(x_1938)) { + lean_ctor_release(x_1938, 0); + lean_ctor_release(x_1938, 1); + x_1982 = x_1938; } else { - lean_dec_ref(x_2005); - x_2049 = lean_box(0); + lean_dec_ref(x_1938); + x_1982 = lean_box(0); } -if (lean_is_scalar(x_2049)) { - x_2050 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1982)) { + x_1983 = lean_alloc_ctor(1, 2, 0); } else { - x_2050 = x_2049; + x_1983 = x_1982; } -lean_ctor_set(x_2050, 0, x_2047); -lean_ctor_set(x_2050, 1, x_2048); -return x_2050; +lean_ctor_set(x_1983, 0, x_1980); +lean_ctor_set(x_1983, 1, x_1981); +return x_1983; } } else { -lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; uint8_t x_2054; +lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; uint8_t x_1987; lean_dec(x_11); -x_2051 = lean_ctor_get(x_1996, 0); -lean_inc(x_2051); -lean_dec(x_1996); -x_2052 = lean_ctor_get(x_2051, 0); -lean_inc(x_2052); -x_2053 = lean_ctor_get(x_2051, 1); -lean_inc(x_2053); -lean_dec(x_2051); -x_2054 = l_Lean_Syntax_isNone(x_2053); -lean_dec(x_2053); -if (x_2054 == 0) +x_1984 = lean_ctor_get(x_1929, 0); +lean_inc(x_1984); +lean_dec(x_1929); +x_1985 = lean_ctor_get(x_1984, 0); +lean_inc(x_1985); +x_1986 = lean_ctor_get(x_1984, 1); +lean_inc(x_1986); +lean_dec(x_1984); +x_1987 = l_Lean_Syntax_isNone(x_1986); +lean_dec(x_1986); +if (x_1987 == 0) { -lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; -lean_dec(x_2052); +lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; +lean_dec(x_1985); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2055 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_2056 = l_Lean_Elab_Term_throwError___rarg(x_1995, x_2055, x_5, x_6); -lean_dec(x_1995); -x_2057 = lean_ctor_get(x_2056, 0); -lean_inc(x_2057); -x_2058 = lean_ctor_get(x_2056, 1); -lean_inc(x_2058); -if (lean_is_exclusive(x_2056)) { - lean_ctor_release(x_2056, 0); - lean_ctor_release(x_2056, 1); - x_2059 = x_2056; +x_1988 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_1989 = l_Lean_Elab_Term_throwError___rarg(x_1927, x_1988, x_5, x_6); +lean_dec(x_1927); +x_1990 = lean_ctor_get(x_1989, 0); +lean_inc(x_1990); +x_1991 = lean_ctor_get(x_1989, 1); +lean_inc(x_1991); +if (lean_is_exclusive(x_1989)) { + lean_ctor_release(x_1989, 0); + lean_ctor_release(x_1989, 1); + x_1992 = x_1989; } else { - lean_dec_ref(x_2056); - x_2059 = lean_box(0); + lean_dec_ref(x_1989); + x_1992 = lean_box(0); } -if (lean_is_scalar(x_2059)) { - x_2060 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1992)) { + x_1993 = lean_alloc_ctor(1, 2, 0); } else { - x_2060 = x_2059; + x_1993 = x_1992; } -lean_ctor_set(x_2060, 0, x_2057); -lean_ctor_set(x_2060, 1, x_2058); -return x_2060; +lean_ctor_set(x_1993, 0, x_1990); +lean_ctor_set(x_1993, 1, x_1991); +return x_1993; } else { -lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; -x_2061 = l_Lean_mkHole(x_1995); -lean_dec(x_1995); -x_2062 = lean_unsigned_to_nat(1u); -x_2063 = lean_nat_add(x_3, x_2062); +lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; +x_1994 = l_Lean_mkHole(x_1927); +lean_dec(x_1927); +x_1995 = lean_unsigned_to_nat(1u); +x_1996 = lean_nat_add(x_3, x_1995); lean_dec(x_3); -x_2064 = l_Lean_Elab_Term_mkExplicitBinder(x_2052, x_2061); -x_2065 = lean_array_push(x_4, x_2064); -x_3 = x_2063; -x_4 = x_2065; +x_1997 = l_Lean_Elab_Term_mkExplicitBinder(x_1985, x_1994); +x_1998 = lean_array_push(x_4, x_1997); +x_3 = x_1996; +x_4 = x_1998; goto _start; } } } else { -lean_object* x_2067; lean_object* x_2068; uint8_t x_2069; -lean_dec(x_1763); +lean_object* x_2000; uint8_t x_2001; +lean_dec(x_22); +x_2000 = l_Lean_mkHole___closed__1; +x_2001 = lean_string_dec_eq(x_19, x_2000); +if (x_2001 == 0) +{ +lean_object* x_2002; uint8_t x_2003; +x_2002 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2003 = lean_string_dec_eq(x_19, x_2002); +if (x_2003 == 0) +{ +lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; uint8_t x_2007; lean_object* x_2008; +if (lean_is_scalar(x_1771)) { + x_2004 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_2004 = x_1771; +} +lean_ctor_set(x_2004, 0, x_16); +lean_ctor_set(x_2004, 1, x_1772); +lean_ctor_set_usize(x_2004, 2, x_1770); +x_2005 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2005, 0, x_2004); +lean_ctor_set(x_2005, 1, x_1846); +lean_ctor_set_usize(x_2005, 2, x_1768); +lean_ctor_set(x_13, 1, x_1923); +lean_ctor_set(x_13, 0, x_2005); +x_2006 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2006, 0, x_12); +lean_ctor_set(x_2006, 1, x_17); +x_2007 = 1; +lean_inc(x_2006); +x_2008 = l_Lean_Syntax_isTermId_x3f(x_2006, x_2007); +if (lean_obj_tag(x_2008) == 0) +{ +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_object* x_2017; +lean_dec(x_2006); +x_2009 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2010 = lean_ctor_get(x_2009, 0); +lean_inc(x_2010); +x_2011 = lean_ctor_get(x_2009, 1); +lean_inc(x_2011); +lean_dec(x_2009); +x_2012 = lean_unsigned_to_nat(1u); +x_2013 = lean_nat_add(x_3, x_2012); +lean_dec(x_3); +x_2014 = l_Lean_mkHole(x_11); +lean_inc(x_2010); +x_2015 = l_Lean_Elab_Term_mkExplicitBinder(x_2010, x_2014); +x_2016 = lean_array_push(x_4, x_2015); +lean_inc(x_5); +x_2017 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2013, x_2016, x_5, x_2011); +if (lean_obj_tag(x_2017) == 0) +{ +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_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; +x_2018 = lean_ctor_get(x_2017, 0); +lean_inc(x_2018); +x_2019 = lean_ctor_get(x_2017, 1); +lean_inc(x_2019); +lean_dec(x_2017); +x_2020 = lean_ctor_get(x_2018, 0); +lean_inc(x_2020); +x_2021 = lean_ctor_get(x_2018, 1); +lean_inc(x_2021); +if (lean_is_exclusive(x_2018)) { + lean_ctor_release(x_2018, 0); + lean_ctor_release(x_2018, 1); + x_2022 = x_2018; +} else { + lean_dec_ref(x_2018); + x_2022 = lean_box(0); +} +x_2023 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2019); +lean_dec(x_5); +x_2024 = lean_ctor_get(x_2023, 1); +lean_inc(x_2024); +lean_dec(x_2023); +x_2025 = l_Lean_Elab_Term_getMainModule___rarg(x_2024); +x_2026 = lean_ctor_get(x_2025, 1); +lean_inc(x_2026); +if (lean_is_exclusive(x_2025)) { + lean_ctor_release(x_2025, 0); + lean_ctor_release(x_2025, 1); + x_2027 = x_2025; +} else { + lean_dec_ref(x_2025); + x_2027 = lean_box(0); +} +x_2028 = l_Array_empty___closed__1; +x_2029 = lean_array_push(x_2028, x_2010); +x_2030 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2031 = lean_array_push(x_2029, x_2030); +x_2032 = l_Lean_mkTermIdFromIdent___closed__2; +x_2033 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2033, 0, x_2032); +lean_ctor_set(x_2033, 1, x_2031); +x_2034 = lean_array_push(x_2028, x_2033); +x_2035 = l_Lean_nullKind___closed__2; +x_2036 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2036, 0, x_2035); +lean_ctor_set(x_2036, 1, x_2034); +x_2037 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2038 = lean_array_push(x_2037, x_2036); +x_2039 = lean_array_push(x_2038, x_2030); +x_2040 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2041 = lean_array_push(x_2039, x_2040); +lean_inc(x_11); +x_2042 = lean_array_push(x_2028, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2043 = x_11; +} else { + lean_dec_ref(x_11); + x_2043 = lean_box(0); +} +if (lean_is_scalar(x_2043)) { + x_2044 = lean_alloc_ctor(1, 2, 0); +} else { + x_2044 = x_2043; +} +lean_ctor_set(x_2044, 0, x_2035); +lean_ctor_set(x_2044, 1, x_2042); +x_2045 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2046 = lean_array_push(x_2045, x_2044); +x_2047 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2048 = lean_array_push(x_2046, x_2047); +x_2049 = lean_array_push(x_2048, x_2021); +x_2050 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2051 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2051, 0, x_2050); +lean_ctor_set(x_2051, 1, x_2049); +x_2052 = lean_array_push(x_2028, x_2051); +x_2053 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2053, 0, x_2035); +lean_ctor_set(x_2053, 1, x_2052); +x_2054 = lean_array_push(x_2041, x_2053); +x_2055 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2056 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2056, 0, x_2055); +lean_ctor_set(x_2056, 1, x_2054); +if (lean_is_scalar(x_2022)) { + x_2057 = lean_alloc_ctor(0, 2, 0); +} else { + x_2057 = x_2022; +} +lean_ctor_set(x_2057, 0, x_2020); +lean_ctor_set(x_2057, 1, x_2056); +if (lean_is_scalar(x_2027)) { + x_2058 = lean_alloc_ctor(0, 2, 0); +} else { + x_2058 = x_2027; +} +lean_ctor_set(x_2058, 0, x_2057); +lean_ctor_set(x_2058, 1, x_2026); +return x_2058; +} +else +{ +lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; +lean_dec(x_2010); +lean_dec(x_11); +lean_dec(x_5); +x_2059 = lean_ctor_get(x_2017, 0); +lean_inc(x_2059); +x_2060 = lean_ctor_get(x_2017, 1); +lean_inc(x_2060); +if (lean_is_exclusive(x_2017)) { + lean_ctor_release(x_2017, 0); + lean_ctor_release(x_2017, 1); + x_2061 = x_2017; +} else { + lean_dec_ref(x_2017); + x_2061 = lean_box(0); +} +if (lean_is_scalar(x_2061)) { + x_2062 = lean_alloc_ctor(1, 2, 0); +} else { + x_2062 = x_2061; +} +lean_ctor_set(x_2062, 0, x_2059); +lean_ctor_set(x_2062, 1, x_2060); +return x_2062; +} +} +else +{ +lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; uint8_t x_2066; +lean_dec(x_11); +x_2063 = lean_ctor_get(x_2008, 0); +lean_inc(x_2063); +lean_dec(x_2008); +x_2064 = lean_ctor_get(x_2063, 0); +lean_inc(x_2064); +x_2065 = lean_ctor_get(x_2063, 1); +lean_inc(x_2065); +lean_dec(x_2063); +x_2066 = l_Lean_Syntax_isNone(x_2065); +lean_dec(x_2065); +if (x_2066 == 0) +{ +lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; +lean_dec(x_2064); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_2067 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2068 = l_Lean_Elab_Term_throwError___rarg(x_2006, x_2067, x_5, x_6); +lean_dec(x_2006); +x_2069 = lean_ctor_get(x_2068, 0); +lean_inc(x_2069); +x_2070 = lean_ctor_get(x_2068, 1); +lean_inc(x_2070); +if (lean_is_exclusive(x_2068)) { + lean_ctor_release(x_2068, 0); + lean_ctor_release(x_2068, 1); + x_2071 = x_2068; +} else { + lean_dec_ref(x_2068); + x_2071 = lean_box(0); +} +if (lean_is_scalar(x_2071)) { + x_2072 = lean_alloc_ctor(1, 2, 0); +} else { + x_2072 = x_2071; +} +lean_ctor_set(x_2072, 0, x_2069); +lean_ctor_set(x_2072, 1, x_2070); +return x_2072; +} +else +{ +lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; +x_2073 = l_Lean_mkHole(x_2006); +lean_dec(x_2006); +x_2074 = lean_unsigned_to_nat(1u); +x_2075 = lean_nat_add(x_3, x_2074); +lean_dec(x_3); +x_2076 = l_Lean_Elab_Term_mkExplicitBinder(x_2064, x_2073); +x_2077 = lean_array_push(x_4, x_2076); +x_3 = x_2075; +x_4 = x_2077; +goto _start; +} +} +} +else +{ +lean_object* x_2079; lean_object* x_2080; uint8_t x_2081; +lean_dec(x_1771); lean_free_object(x_13); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_2067 = lean_unsigned_to_nat(1u); -x_2068 = l_Lean_Syntax_getArg(x_11, x_2067); -x_2069 = l_Lean_Syntax_isNone(x_2068); -if (x_2069 == 0) -{ -lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; uint8_t x_2073; -x_2070 = lean_unsigned_to_nat(0u); -x_2071 = l_Lean_Syntax_getArg(x_2068, x_2070); -x_2072 = l_Lean_Syntax_getArg(x_2068, x_2067); -lean_dec(x_2068); -x_2073 = l_Lean_Syntax_isNone(x_2072); -if (x_2073 == 0) -{ -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; uint8_t x_2081; -x_2074 = l_Lean_Syntax_getArg(x_2072, x_2070); -lean_dec(x_2072); -lean_inc(x_2074); -x_2075 = l_Lean_Syntax_getKind(x_2074); -x_2076 = lean_name_mk_string(x_16, x_1764); -x_2077 = lean_name_mk_string(x_2076, x_1837); -x_2078 = lean_name_mk_string(x_2077, x_1913); -x_2079 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; -x_2080 = lean_name_mk_string(x_2078, x_2079); -x_2081 = lean_name_eq(x_2075, x_2080); -lean_dec(x_2080); -lean_dec(x_2075); +x_2079 = lean_unsigned_to_nat(1u); +x_2080 = l_Lean_Syntax_getArg(x_11, x_2079); +x_2081 = l_Lean_Syntax_isNone(x_2080); if (x_2081 == 0) { -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_dec(x_2074); -lean_dec(x_2071); -x_2082 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2083 = lean_ctor_get(x_2082, 0); -lean_inc(x_2083); -x_2084 = lean_ctor_get(x_2082, 1); -lean_inc(x_2084); -lean_dec(x_2082); -x_2085 = lean_nat_add(x_3, x_2067); -lean_dec(x_3); -x_2086 = l_Lean_mkHole(x_11); -lean_inc(x_2083); -x_2087 = l_Lean_Elab_Term_mkExplicitBinder(x_2083, x_2086); -x_2088 = lean_array_push(x_4, x_2087); -lean_inc(x_5); -x_2089 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2085, x_2088, x_5, x_2084); -if (lean_obj_tag(x_2089) == 0) +lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; uint8_t x_2085; +x_2082 = lean_unsigned_to_nat(0u); +x_2083 = l_Lean_Syntax_getArg(x_2080, x_2082); +x_2084 = l_Lean_Syntax_getArg(x_2080, x_2079); +lean_dec(x_2080); +x_2085 = l_Lean_Syntax_isNone(x_2084); +if (x_2085 == 0) { -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; lean_object* x_2116; lean_object* x_2117; 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; -x_2090 = lean_ctor_get(x_2089, 0); -lean_inc(x_2090); -x_2091 = lean_ctor_get(x_2089, 1); -lean_inc(x_2091); -lean_dec(x_2089); -x_2092 = lean_ctor_get(x_2090, 0); -lean_inc(x_2092); -x_2093 = lean_ctor_get(x_2090, 1); -lean_inc(x_2093); -if (lean_is_exclusive(x_2090)) { - lean_ctor_release(x_2090, 0); - lean_ctor_release(x_2090, 1); - x_2094 = x_2090; -} else { - lean_dec_ref(x_2090); - x_2094 = lean_box(0); -} -x_2095 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2091); -lean_dec(x_5); -x_2096 = lean_ctor_get(x_2095, 1); -lean_inc(x_2096); -lean_dec(x_2095); -x_2097 = l_Lean_Elab_Term_getMainModule___rarg(x_2096); -x_2098 = lean_ctor_get(x_2097, 1); -lean_inc(x_2098); -if (lean_is_exclusive(x_2097)) { - lean_ctor_release(x_2097, 0); - lean_ctor_release(x_2097, 1); - x_2099 = x_2097; -} else { - lean_dec_ref(x_2097); - x_2099 = lean_box(0); -} -x_2100 = l_Array_empty___closed__1; -x_2101 = lean_array_push(x_2100, x_2083); -x_2102 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2103 = lean_array_push(x_2101, x_2102); -x_2104 = l_Lean_mkTermIdFromIdent___closed__2; -x_2105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2105, 0, x_2104); -lean_ctor_set(x_2105, 1, x_2103); -x_2106 = lean_array_push(x_2100, x_2105); -x_2107 = l_Lean_nullKind___closed__2; -x_2108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2108, 0, x_2107); -lean_ctor_set(x_2108, 1, x_2106); -x_2109 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2110 = lean_array_push(x_2109, x_2108); -x_2111 = lean_array_push(x_2110, x_2102); -x_2112 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2113 = lean_array_push(x_2111, x_2112); -lean_inc(x_11); -x_2114 = lean_array_push(x_2100, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_2115 = x_11; -} else { - lean_dec_ref(x_11); - x_2115 = lean_box(0); -} -if (lean_is_scalar(x_2115)) { - x_2116 = lean_alloc_ctor(1, 2, 0); -} else { - x_2116 = x_2115; -} -lean_ctor_set(x_2116, 0, x_2107); -lean_ctor_set(x_2116, 1, x_2114); -x_2117 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2118 = lean_array_push(x_2117, x_2116); -x_2119 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2120 = lean_array_push(x_2118, x_2119); -x_2121 = lean_array_push(x_2120, x_2093); -x_2122 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2123, 0, x_2122); -lean_ctor_set(x_2123, 1, x_2121); -x_2124 = lean_array_push(x_2100, x_2123); -x_2125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2125, 0, x_2107); -lean_ctor_set(x_2125, 1, x_2124); -x_2126 = lean_array_push(x_2113, x_2125); -x_2127 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2128, 0, x_2127); -lean_ctor_set(x_2128, 1, x_2126); -if (lean_is_scalar(x_2094)) { - x_2129 = lean_alloc_ctor(0, 2, 0); -} else { - x_2129 = x_2094; -} -lean_ctor_set(x_2129, 0, x_2092); -lean_ctor_set(x_2129, 1, x_2128); -if (lean_is_scalar(x_2099)) { - x_2130 = lean_alloc_ctor(0, 2, 0); -} else { - x_2130 = x_2099; -} -lean_ctor_set(x_2130, 0, x_2129); -lean_ctor_set(x_2130, 1, x_2098); -return x_2130; -} -else +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; uint8_t x_2093; +x_2086 = l_Lean_Syntax_getArg(x_2084, x_2082); +lean_dec(x_2084); +lean_inc(x_2086); +x_2087 = l_Lean_Syntax_getKind(x_2086); +x_2088 = lean_name_mk_string(x_16, x_1772); +x_2089 = lean_name_mk_string(x_2088, x_1846); +x_2090 = lean_name_mk_string(x_2089, x_1923); +x_2091 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; +x_2092 = lean_name_mk_string(x_2090, x_2091); +x_2093 = lean_name_eq(x_2087, x_2092); +lean_dec(x_2092); +lean_dec(x_2087); +if (x_2093 == 0) { -lean_object* x_2131; lean_object* x_2132; lean_object* x_2133; lean_object* x_2134; +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_dec(x_2086); lean_dec(x_2083); -lean_dec(x_11); -lean_dec(x_5); -x_2131 = lean_ctor_get(x_2089, 0); -lean_inc(x_2131); -x_2132 = lean_ctor_get(x_2089, 1); -lean_inc(x_2132); -if (lean_is_exclusive(x_2089)) { - lean_ctor_release(x_2089, 0); - lean_ctor_release(x_2089, 1); - x_2133 = x_2089; -} else { - lean_dec_ref(x_2089); - x_2133 = lean_box(0); -} -if (lean_is_scalar(x_2133)) { - x_2134 = lean_alloc_ctor(1, 2, 0); -} else { - x_2134 = x_2133; -} -lean_ctor_set(x_2134, 0, x_2131); -lean_ctor_set(x_2134, 1, x_2132); -return x_2134; -} -} -else -{ -lean_object* x_2135; lean_object* x_2136; lean_object* x_2137; -x_2135 = l_Lean_Syntax_getArg(x_2074, x_2067); -lean_dec(x_2074); -x_2136 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_2071, x_5, x_6); -x_2137 = lean_ctor_get(x_2136, 0); -lean_inc(x_2137); -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; lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; -lean_dec(x_2135); -x_2138 = lean_ctor_get(x_2136, 1); -lean_inc(x_2138); -lean_dec(x_2136); -x_2139 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_2138); -x_2140 = lean_ctor_get(x_2139, 0); -lean_inc(x_2140); -x_2141 = lean_ctor_get(x_2139, 1); -lean_inc(x_2141); -lean_dec(x_2139); -x_2142 = lean_nat_add(x_3, x_2067); +x_2094 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2095 = lean_ctor_get(x_2094, 0); +lean_inc(x_2095); +x_2096 = lean_ctor_get(x_2094, 1); +lean_inc(x_2096); +lean_dec(x_2094); +x_2097 = lean_nat_add(x_3, x_2079); lean_dec(x_3); -x_2143 = l_Lean_mkHole(x_11); -lean_inc(x_2140); -x_2144 = l_Lean_Elab_Term_mkExplicitBinder(x_2140, x_2143); -x_2145 = lean_array_push(x_4, x_2144); +x_2098 = l_Lean_mkHole(x_11); +lean_inc(x_2095); +x_2099 = l_Lean_Elab_Term_mkExplicitBinder(x_2095, x_2098); +x_2100 = lean_array_push(x_4, x_2099); lean_inc(x_5); -x_2146 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2142, x_2145, x_5, x_2141); -if (lean_obj_tag(x_2146) == 0) +x_2101 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2097, x_2100, x_5, x_2096); +if (lean_obj_tag(x_2101) == 0) { -lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; 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; lean_object* x_2186; lean_object* x_2187; -x_2147 = lean_ctor_get(x_2146, 0); -lean_inc(x_2147); -x_2148 = lean_ctor_get(x_2146, 1); -lean_inc(x_2148); -lean_dec(x_2146); -x_2149 = lean_ctor_get(x_2147, 0); -lean_inc(x_2149); -x_2150 = lean_ctor_get(x_2147, 1); -lean_inc(x_2150); -if (lean_is_exclusive(x_2147)) { - lean_ctor_release(x_2147, 0); - lean_ctor_release(x_2147, 1); - x_2151 = x_2147; +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; lean_object* x_2116; lean_object* x_2117; 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_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; +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); +x_2104 = lean_ctor_get(x_2102, 0); +lean_inc(x_2104); +x_2105 = lean_ctor_get(x_2102, 1); +lean_inc(x_2105); +if (lean_is_exclusive(x_2102)) { + lean_ctor_release(x_2102, 0); + lean_ctor_release(x_2102, 1); + x_2106 = x_2102; } else { - lean_dec_ref(x_2147); - x_2151 = lean_box(0); + lean_dec_ref(x_2102); + x_2106 = lean_box(0); } -x_2152 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2148); +x_2107 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2103); lean_dec(x_5); -x_2153 = lean_ctor_get(x_2152, 1); -lean_inc(x_2153); -lean_dec(x_2152); -x_2154 = l_Lean_Elab_Term_getMainModule___rarg(x_2153); -x_2155 = lean_ctor_get(x_2154, 1); -lean_inc(x_2155); -if (lean_is_exclusive(x_2154)) { - lean_ctor_release(x_2154, 0); - lean_ctor_release(x_2154, 1); - x_2156 = x_2154; +x_2108 = lean_ctor_get(x_2107, 1); +lean_inc(x_2108); +lean_dec(x_2107); +x_2109 = l_Lean_Elab_Term_getMainModule___rarg(x_2108); +x_2110 = lean_ctor_get(x_2109, 1); +lean_inc(x_2110); +if (lean_is_exclusive(x_2109)) { + lean_ctor_release(x_2109, 0); + lean_ctor_release(x_2109, 1); + x_2111 = x_2109; } else { - lean_dec_ref(x_2154); - x_2156 = lean_box(0); + lean_dec_ref(x_2109); + x_2111 = lean_box(0); } -x_2157 = l_Array_empty___closed__1; -x_2158 = lean_array_push(x_2157, x_2140); -x_2159 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2160 = lean_array_push(x_2158, x_2159); -x_2161 = l_Lean_mkTermIdFromIdent___closed__2; -x_2162 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2162, 0, x_2161); -lean_ctor_set(x_2162, 1, x_2160); -x_2163 = lean_array_push(x_2157, x_2162); -x_2164 = l_Lean_nullKind___closed__2; -x_2165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2165, 0, x_2164); -lean_ctor_set(x_2165, 1, x_2163); -x_2166 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2167 = lean_array_push(x_2166, x_2165); -x_2168 = lean_array_push(x_2167, x_2159); -x_2169 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2170 = lean_array_push(x_2168, x_2169); +x_2112 = l_Array_empty___closed__1; +x_2113 = lean_array_push(x_2112, x_2095); +x_2114 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2115 = lean_array_push(x_2113, x_2114); +x_2116 = l_Lean_mkTermIdFromIdent___closed__2; +x_2117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2117, 0, x_2116); +lean_ctor_set(x_2117, 1, x_2115); +x_2118 = lean_array_push(x_2112, x_2117); +x_2119 = l_Lean_nullKind___closed__2; +x_2120 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2120, 0, x_2119); +lean_ctor_set(x_2120, 1, x_2118); +x_2121 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2122 = lean_array_push(x_2121, x_2120); +x_2123 = lean_array_push(x_2122, x_2114); +x_2124 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2125 = lean_array_push(x_2123, x_2124); lean_inc(x_11); -x_2171 = lean_array_push(x_2157, x_11); +x_2126 = lean_array_push(x_2112, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2172 = x_11; + x_2127 = x_11; } else { lean_dec_ref(x_11); - x_2172 = lean_box(0); + x_2127 = lean_box(0); } -if (lean_is_scalar(x_2172)) { - x_2173 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2127)) { + x_2128 = lean_alloc_ctor(1, 2, 0); } else { - x_2173 = x_2172; + x_2128 = x_2127; } -lean_ctor_set(x_2173, 0, x_2164); -lean_ctor_set(x_2173, 1, x_2171); -x_2174 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2175 = lean_array_push(x_2174, x_2173); -x_2176 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2177 = lean_array_push(x_2175, x_2176); -x_2178 = lean_array_push(x_2177, x_2150); -x_2179 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2180 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2180, 0, x_2179); -lean_ctor_set(x_2180, 1, x_2178); -x_2181 = lean_array_push(x_2157, x_2180); -x_2182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2182, 0, x_2164); -lean_ctor_set(x_2182, 1, x_2181); -x_2183 = lean_array_push(x_2170, x_2182); -x_2184 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2185, 0, x_2184); -lean_ctor_set(x_2185, 1, x_2183); -if (lean_is_scalar(x_2151)) { - x_2186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2128, 0, x_2119); +lean_ctor_set(x_2128, 1, x_2126); +x_2129 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2130 = lean_array_push(x_2129, x_2128); +x_2131 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2132 = lean_array_push(x_2130, x_2131); +x_2133 = lean_array_push(x_2132, x_2105); +x_2134 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2135 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2135, 0, x_2134); +lean_ctor_set(x_2135, 1, x_2133); +x_2136 = lean_array_push(x_2112, x_2135); +x_2137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2137, 0, x_2119); +lean_ctor_set(x_2137, 1, x_2136); +x_2138 = lean_array_push(x_2125, x_2137); +x_2139 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2140, 0, x_2139); +lean_ctor_set(x_2140, 1, x_2138); +if (lean_is_scalar(x_2106)) { + x_2141 = lean_alloc_ctor(0, 2, 0); } else { - x_2186 = x_2151; + x_2141 = x_2106; } -lean_ctor_set(x_2186, 0, x_2149); -lean_ctor_set(x_2186, 1, x_2185); -if (lean_is_scalar(x_2156)) { - x_2187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2141, 0, x_2104); +lean_ctor_set(x_2141, 1, x_2140); +if (lean_is_scalar(x_2111)) { + x_2142 = lean_alloc_ctor(0, 2, 0); } else { - x_2187 = x_2156; + x_2142 = x_2111; } -lean_ctor_set(x_2187, 0, x_2186); -lean_ctor_set(x_2187, 1, x_2155); -return x_2187; +lean_ctor_set(x_2142, 0, x_2141); +lean_ctor_set(x_2142, 1, x_2110); +return x_2142; } else { -lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; -lean_dec(x_2140); +lean_object* x_2143; lean_object* x_2144; lean_object* x_2145; lean_object* x_2146; +lean_dec(x_2095); lean_dec(x_11); lean_dec(x_5); -x_2188 = lean_ctor_get(x_2146, 0); -lean_inc(x_2188); -x_2189 = lean_ctor_get(x_2146, 1); -lean_inc(x_2189); -if (lean_is_exclusive(x_2146)) { - lean_ctor_release(x_2146, 0); - lean_ctor_release(x_2146, 1); - x_2190 = x_2146; +x_2143 = lean_ctor_get(x_2101, 0); +lean_inc(x_2143); +x_2144 = lean_ctor_get(x_2101, 1); +lean_inc(x_2144); +if (lean_is_exclusive(x_2101)) { + lean_ctor_release(x_2101, 0); + lean_ctor_release(x_2101, 1); + x_2145 = x_2101; } else { - lean_dec_ref(x_2146); - x_2190 = lean_box(0); + lean_dec_ref(x_2101); + x_2145 = lean_box(0); } -if (lean_is_scalar(x_2190)) { - x_2191 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2145)) { + x_2146 = lean_alloc_ctor(1, 2, 0); } else { - x_2191 = x_2190; + x_2146 = x_2145; } -lean_ctor_set(x_2191, 0, x_2188); -lean_ctor_set(x_2191, 1, x_2189); -return x_2191; +lean_ctor_set(x_2146, 0, x_2143); +lean_ctor_set(x_2146, 1, x_2144); +return x_2146; } } else { -lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; -lean_dec(x_11); -x_2192 = lean_ctor_get(x_2136, 1); -lean_inc(x_2192); -lean_dec(x_2136); -x_2193 = lean_ctor_get(x_2137, 0); -lean_inc(x_2193); -lean_dec(x_2137); -x_2194 = lean_nat_add(x_3, x_2067); +lean_object* x_2147; lean_object* x_2148; lean_object* x_2149; +x_2147 = l_Lean_Syntax_getArg(x_2086, x_2079); +lean_dec(x_2086); +x_2148 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_2083, x_5, x_6); +x_2149 = lean_ctor_get(x_2148, 0); +lean_inc(x_2149); +if (lean_obj_tag(x_2149) == 0) +{ +lean_object* x_2150; lean_object* x_2151; lean_object* x_2152; lean_object* x_2153; lean_object* x_2154; lean_object* x_2155; lean_object* x_2156; lean_object* x_2157; lean_object* x_2158; +lean_dec(x_2147); +x_2150 = lean_ctor_get(x_2148, 1); +lean_inc(x_2150); +lean_dec(x_2148); +x_2151 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_2150); +x_2152 = lean_ctor_get(x_2151, 0); +lean_inc(x_2152); +x_2153 = lean_ctor_get(x_2151, 1); +lean_inc(x_2153); +lean_dec(x_2151); +x_2154 = lean_nat_add(x_3, x_2079); lean_dec(x_3); -x_2195 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_2135, x_2070, x_2193); -x_2196 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2195, x_2195, x_2070, x_4); -lean_dec(x_2195); -x_3 = x_2194; -x_4 = x_2196; -x_6 = x_2192; +x_2155 = l_Lean_mkHole(x_11); +lean_inc(x_2152); +x_2156 = l_Lean_Elab_Term_mkExplicitBinder(x_2152, x_2155); +x_2157 = lean_array_push(x_4, x_2156); +lean_inc(x_5); +x_2158 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2154, x_2157, x_5, x_2153); +if (lean_obj_tag(x_2158) == 0) +{ +lean_object* x_2159; lean_object* x_2160; lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; 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; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; 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_2159 = lean_ctor_get(x_2158, 0); +lean_inc(x_2159); +x_2160 = lean_ctor_get(x_2158, 1); +lean_inc(x_2160); +lean_dec(x_2158); +x_2161 = lean_ctor_get(x_2159, 0); +lean_inc(x_2161); +x_2162 = lean_ctor_get(x_2159, 1); +lean_inc(x_2162); +if (lean_is_exclusive(x_2159)) { + lean_ctor_release(x_2159, 0); + lean_ctor_release(x_2159, 1); + x_2163 = x_2159; +} else { + lean_dec_ref(x_2159); + x_2163 = lean_box(0); +} +x_2164 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2160); +lean_dec(x_5); +x_2165 = lean_ctor_get(x_2164, 1); +lean_inc(x_2165); +lean_dec(x_2164); +x_2166 = l_Lean_Elab_Term_getMainModule___rarg(x_2165); +x_2167 = lean_ctor_get(x_2166, 1); +lean_inc(x_2167); +if (lean_is_exclusive(x_2166)) { + lean_ctor_release(x_2166, 0); + lean_ctor_release(x_2166, 1); + x_2168 = x_2166; +} else { + lean_dec_ref(x_2166); + x_2168 = lean_box(0); +} +x_2169 = l_Array_empty___closed__1; +x_2170 = lean_array_push(x_2169, x_2152); +x_2171 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2172 = lean_array_push(x_2170, x_2171); +x_2173 = l_Lean_mkTermIdFromIdent___closed__2; +x_2174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2174, 0, x_2173); +lean_ctor_set(x_2174, 1, x_2172); +x_2175 = lean_array_push(x_2169, x_2174); +x_2176 = l_Lean_nullKind___closed__2; +x_2177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2177, 0, x_2176); +lean_ctor_set(x_2177, 1, x_2175); +x_2178 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2179 = lean_array_push(x_2178, x_2177); +x_2180 = lean_array_push(x_2179, x_2171); +x_2181 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2182 = lean_array_push(x_2180, x_2181); +lean_inc(x_11); +x_2183 = lean_array_push(x_2169, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2184 = x_11; +} else { + lean_dec_ref(x_11); + x_2184 = lean_box(0); +} +if (lean_is_scalar(x_2184)) { + x_2185 = lean_alloc_ctor(1, 2, 0); +} else { + x_2185 = x_2184; +} +lean_ctor_set(x_2185, 0, x_2176); +lean_ctor_set(x_2185, 1, x_2183); +x_2186 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2187 = lean_array_push(x_2186, x_2185); +x_2188 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2189 = lean_array_push(x_2187, x_2188); +x_2190 = lean_array_push(x_2189, x_2162); +x_2191 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2192, 0, x_2191); +lean_ctor_set(x_2192, 1, x_2190); +x_2193 = lean_array_push(x_2169, x_2192); +x_2194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2194, 0, x_2176); +lean_ctor_set(x_2194, 1, x_2193); +x_2195 = lean_array_push(x_2182, x_2194); +x_2196 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2197, 0, x_2196); +lean_ctor_set(x_2197, 1, x_2195); +if (lean_is_scalar(x_2163)) { + x_2198 = lean_alloc_ctor(0, 2, 0); +} else { + x_2198 = x_2163; +} +lean_ctor_set(x_2198, 0, x_2161); +lean_ctor_set(x_2198, 1, x_2197); +if (lean_is_scalar(x_2168)) { + x_2199 = lean_alloc_ctor(0, 2, 0); +} else { + x_2199 = x_2168; +} +lean_ctor_set(x_2199, 0, x_2198); +lean_ctor_set(x_2199, 1, x_2167); +return x_2199; +} +else +{ +lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; +lean_dec(x_2152); +lean_dec(x_11); +lean_dec(x_5); +x_2200 = lean_ctor_get(x_2158, 0); +lean_inc(x_2200); +x_2201 = lean_ctor_get(x_2158, 1); +lean_inc(x_2201); +if (lean_is_exclusive(x_2158)) { + lean_ctor_release(x_2158, 0); + lean_ctor_release(x_2158, 1); + x_2202 = x_2158; +} else { + lean_dec_ref(x_2158); + x_2202 = lean_box(0); +} +if (lean_is_scalar(x_2202)) { + x_2203 = lean_alloc_ctor(1, 2, 0); +} else { + x_2203 = x_2202; +} +lean_ctor_set(x_2203, 0, x_2200); +lean_ctor_set(x_2203, 1, x_2201); +return x_2203; +} +} +else +{ +lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; +lean_dec(x_11); +x_2204 = lean_ctor_get(x_2148, 1); +lean_inc(x_2204); +lean_dec(x_2148); +x_2205 = lean_ctor_get(x_2149, 0); +lean_inc(x_2205); +lean_dec(x_2149); +x_2206 = lean_nat_add(x_3, x_2079); +lean_dec(x_3); +x_2207 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_2147, x_2082, x_2205); +x_2208 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2207, x_2207, x_2082, x_4); +lean_dec(x_2207); +x_3 = x_2206; +x_4 = x_2208; +x_6 = x_2204; goto _start; } } } else { -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_2204; lean_object* x_2205; -lean_dec(x_2072); -lean_dec(x_2071); -x_2198 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2199 = lean_ctor_get(x_2198, 0); -lean_inc(x_2199); -x_2200 = lean_ctor_get(x_2198, 1); -lean_inc(x_2200); -lean_dec(x_2198); -x_2201 = lean_nat_add(x_3, x_2067); -lean_dec(x_3); -x_2202 = l_Lean_mkHole(x_11); -lean_inc(x_2199); -x_2203 = l_Lean_Elab_Term_mkExplicitBinder(x_2199, x_2202); -x_2204 = lean_array_push(x_4, x_2203); -lean_inc(x_5); -x_2205 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2201, x_2204, x_5, x_2200); -if (lean_obj_tag(x_2205) == 0) -{ -lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* 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_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; 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_object* x_2244; lean_object* x_2245; lean_object* x_2246; -x_2206 = lean_ctor_get(x_2205, 0); -lean_inc(x_2206); -x_2207 = lean_ctor_get(x_2205, 1); -lean_inc(x_2207); -lean_dec(x_2205); -x_2208 = lean_ctor_get(x_2206, 0); -lean_inc(x_2208); -x_2209 = lean_ctor_get(x_2206, 1); -lean_inc(x_2209); -if (lean_is_exclusive(x_2206)) { - lean_ctor_release(x_2206, 0); - lean_ctor_release(x_2206, 1); - x_2210 = x_2206; -} else { - lean_dec_ref(x_2206); - x_2210 = lean_box(0); -} -x_2211 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2207); -lean_dec(x_5); -x_2212 = lean_ctor_get(x_2211, 1); +lean_object* x_2210; lean_object* 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_dec(x_2084); +lean_dec(x_2083); +x_2210 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2211 = lean_ctor_get(x_2210, 0); +lean_inc(x_2211); +x_2212 = lean_ctor_get(x_2210, 1); lean_inc(x_2212); -lean_dec(x_2211); -x_2213 = l_Lean_Elab_Term_getMainModule___rarg(x_2212); -x_2214 = lean_ctor_get(x_2213, 1); -lean_inc(x_2214); -if (lean_is_exclusive(x_2213)) { - lean_ctor_release(x_2213, 0); - lean_ctor_release(x_2213, 1); - x_2215 = x_2213; -} else { - lean_dec_ref(x_2213); - x_2215 = lean_box(0); -} -x_2216 = l_Array_empty___closed__1; -x_2217 = lean_array_push(x_2216, x_2199); -x_2218 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2219 = lean_array_push(x_2217, x_2218); -x_2220 = l_Lean_mkTermIdFromIdent___closed__2; -x_2221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2221, 0, x_2220); -lean_ctor_set(x_2221, 1, x_2219); -x_2222 = lean_array_push(x_2216, x_2221); -x_2223 = l_Lean_nullKind___closed__2; -x_2224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2224, 0, x_2223); -lean_ctor_set(x_2224, 1, x_2222); -x_2225 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2226 = lean_array_push(x_2225, x_2224); -x_2227 = lean_array_push(x_2226, x_2218); -x_2228 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2229 = lean_array_push(x_2227, x_2228); -lean_inc(x_11); -x_2230 = lean_array_push(x_2216, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_2231 = x_11; -} else { - lean_dec_ref(x_11); - x_2231 = lean_box(0); -} -if (lean_is_scalar(x_2231)) { - x_2232 = lean_alloc_ctor(1, 2, 0); -} else { - x_2232 = x_2231; -} -lean_ctor_set(x_2232, 0, x_2223); -lean_ctor_set(x_2232, 1, x_2230); -x_2233 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2234 = lean_array_push(x_2233, x_2232); -x_2235 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2236 = lean_array_push(x_2234, x_2235); -x_2237 = lean_array_push(x_2236, x_2209); -x_2238 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2239, 0, x_2238); -lean_ctor_set(x_2239, 1, x_2237); -x_2240 = lean_array_push(x_2216, x_2239); -x_2241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2241, 0, x_2223); -lean_ctor_set(x_2241, 1, x_2240); -x_2242 = lean_array_push(x_2229, x_2241); -x_2243 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2244 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2244, 0, x_2243); -lean_ctor_set(x_2244, 1, x_2242); -if (lean_is_scalar(x_2210)) { - x_2245 = lean_alloc_ctor(0, 2, 0); -} else { - x_2245 = x_2210; -} -lean_ctor_set(x_2245, 0, x_2208); -lean_ctor_set(x_2245, 1, x_2244); -if (lean_is_scalar(x_2215)) { - x_2246 = lean_alloc_ctor(0, 2, 0); -} else { - x_2246 = x_2215; -} -lean_ctor_set(x_2246, 0, x_2245); -lean_ctor_set(x_2246, 1, x_2214); -return x_2246; -} -else -{ -lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; -lean_dec(x_2199); -lean_dec(x_11); -lean_dec(x_5); -x_2247 = lean_ctor_get(x_2205, 0); -lean_inc(x_2247); -x_2248 = lean_ctor_get(x_2205, 1); -lean_inc(x_2248); -if (lean_is_exclusive(x_2205)) { - lean_ctor_release(x_2205, 0); - lean_ctor_release(x_2205, 1); - x_2249 = x_2205; -} else { - lean_dec_ref(x_2205); - x_2249 = lean_box(0); -} -if (lean_is_scalar(x_2249)) { - x_2250 = lean_alloc_ctor(1, 2, 0); -} else { - x_2250 = x_2249; -} -lean_ctor_set(x_2250, 0, x_2247); -lean_ctor_set(x_2250, 1, x_2248); -return x_2250; -} -} -} -else -{ -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_object* x_2258; -lean_dec(x_2068); -x_2251 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2252 = lean_ctor_get(x_2251, 0); -lean_inc(x_2252); -x_2253 = lean_ctor_get(x_2251, 1); -lean_inc(x_2253); -lean_dec(x_2251); -x_2254 = lean_nat_add(x_3, x_2067); +lean_dec(x_2210); +x_2213 = lean_nat_add(x_3, x_2079); lean_dec(x_3); -x_2255 = l_Lean_mkHole(x_11); -lean_inc(x_2252); -x_2256 = l_Lean_Elab_Term_mkExplicitBinder(x_2252, x_2255); -x_2257 = lean_array_push(x_4, x_2256); +x_2214 = l_Lean_mkHole(x_11); +lean_inc(x_2211); +x_2215 = l_Lean_Elab_Term_mkExplicitBinder(x_2211, x_2214); +x_2216 = lean_array_push(x_4, x_2215); lean_inc(x_5); -x_2258 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2254, x_2257, x_5, x_2253); -if (lean_obj_tag(x_2258) == 0) +x_2217 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2213, x_2216, x_5, x_2212); +if (lean_obj_tag(x_2217) == 0) { -lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; -x_2259 = lean_ctor_get(x_2258, 0); -lean_inc(x_2259); -x_2260 = lean_ctor_get(x_2258, 1); -lean_inc(x_2260); -lean_dec(x_2258); -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; +lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; 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_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_object* x_2258; +x_2218 = lean_ctor_get(x_2217, 0); +lean_inc(x_2218); +x_2219 = lean_ctor_get(x_2217, 1); +lean_inc(x_2219); +lean_dec(x_2217); +x_2220 = lean_ctor_get(x_2218, 0); +lean_inc(x_2220); +x_2221 = lean_ctor_get(x_2218, 1); +lean_inc(x_2221); +if (lean_is_exclusive(x_2218)) { + lean_ctor_release(x_2218, 0); + lean_ctor_release(x_2218, 1); + x_2222 = x_2218; } else { - lean_dec_ref(x_2259); - x_2263 = lean_box(0); + lean_dec_ref(x_2218); + x_2222 = lean_box(0); } -x_2264 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2260); +x_2223 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2219); lean_dec(x_5); -x_2265 = lean_ctor_get(x_2264, 1); -lean_inc(x_2265); -lean_dec(x_2264); -x_2266 = l_Lean_Elab_Term_getMainModule___rarg(x_2265); -x_2267 = lean_ctor_get(x_2266, 1); -lean_inc(x_2267); -if (lean_is_exclusive(x_2266)) { - lean_ctor_release(x_2266, 0); - lean_ctor_release(x_2266, 1); - x_2268 = x_2266; +x_2224 = lean_ctor_get(x_2223, 1); +lean_inc(x_2224); +lean_dec(x_2223); +x_2225 = l_Lean_Elab_Term_getMainModule___rarg(x_2224); +x_2226 = lean_ctor_get(x_2225, 1); +lean_inc(x_2226); +if (lean_is_exclusive(x_2225)) { + lean_ctor_release(x_2225, 0); + lean_ctor_release(x_2225, 1); + x_2227 = x_2225; } else { - lean_dec_ref(x_2266); - x_2268 = lean_box(0); + lean_dec_ref(x_2225); + x_2227 = lean_box(0); } -x_2269 = l_Array_empty___closed__1; -x_2270 = lean_array_push(x_2269, x_2252); -x_2271 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2272 = lean_array_push(x_2270, x_2271); -x_2273 = l_Lean_mkTermIdFromIdent___closed__2; -x_2274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2274, 0, x_2273); -lean_ctor_set(x_2274, 1, x_2272); -x_2275 = lean_array_push(x_2269, x_2274); -x_2276 = l_Lean_nullKind___closed__2; -x_2277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2277, 0, x_2276); -lean_ctor_set(x_2277, 1, x_2275); -x_2278 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2279 = lean_array_push(x_2278, x_2277); -x_2280 = lean_array_push(x_2279, x_2271); -x_2281 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2282 = lean_array_push(x_2280, x_2281); +x_2228 = l_Array_empty___closed__1; +x_2229 = lean_array_push(x_2228, x_2211); +x_2230 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2231 = lean_array_push(x_2229, x_2230); +x_2232 = l_Lean_mkTermIdFromIdent___closed__2; +x_2233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2233, 0, x_2232); +lean_ctor_set(x_2233, 1, x_2231); +x_2234 = lean_array_push(x_2228, x_2233); +x_2235 = l_Lean_nullKind___closed__2; +x_2236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2236, 0, x_2235); +lean_ctor_set(x_2236, 1, x_2234); +x_2237 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2238 = lean_array_push(x_2237, x_2236); +x_2239 = lean_array_push(x_2238, x_2230); +x_2240 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2241 = lean_array_push(x_2239, x_2240); lean_inc(x_11); -x_2283 = lean_array_push(x_2269, x_11); +x_2242 = lean_array_push(x_2228, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2284 = x_11; + x_2243 = x_11; } else { lean_dec_ref(x_11); - x_2284 = lean_box(0); + x_2243 = lean_box(0); } -if (lean_is_scalar(x_2284)) { - x_2285 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2243)) { + x_2244 = lean_alloc_ctor(1, 2, 0); } else { - x_2285 = x_2284; + x_2244 = x_2243; } -lean_ctor_set(x_2285, 0, x_2276); -lean_ctor_set(x_2285, 1, x_2283); -x_2286 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2287 = lean_array_push(x_2286, x_2285); -x_2288 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2289 = lean_array_push(x_2287, x_2288); -x_2290 = lean_array_push(x_2289, x_2262); -x_2291 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2292, 0, x_2291); -lean_ctor_set(x_2292, 1, x_2290); -x_2293 = lean_array_push(x_2269, x_2292); -x_2294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2294, 0, x_2276); -lean_ctor_set(x_2294, 1, x_2293); -x_2295 = lean_array_push(x_2282, x_2294); -x_2296 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2297 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2297, 0, x_2296); -lean_ctor_set(x_2297, 1, x_2295); -if (lean_is_scalar(x_2263)) { - x_2298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2244, 0, x_2235); +lean_ctor_set(x_2244, 1, x_2242); +x_2245 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2246 = lean_array_push(x_2245, x_2244); +x_2247 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2248 = lean_array_push(x_2246, x_2247); +x_2249 = lean_array_push(x_2248, x_2221); +x_2250 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2251, 0, x_2250); +lean_ctor_set(x_2251, 1, x_2249); +x_2252 = lean_array_push(x_2228, x_2251); +x_2253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2253, 0, x_2235); +lean_ctor_set(x_2253, 1, x_2252); +x_2254 = lean_array_push(x_2241, x_2253); +x_2255 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2256, 0, x_2255); +lean_ctor_set(x_2256, 1, x_2254); +if (lean_is_scalar(x_2222)) { + x_2257 = lean_alloc_ctor(0, 2, 0); } else { - x_2298 = x_2263; + x_2257 = x_2222; } -lean_ctor_set(x_2298, 0, x_2261); -lean_ctor_set(x_2298, 1, x_2297); -if (lean_is_scalar(x_2268)) { - x_2299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2257, 0, x_2220); +lean_ctor_set(x_2257, 1, x_2256); +if (lean_is_scalar(x_2227)) { + x_2258 = lean_alloc_ctor(0, 2, 0); } else { - x_2299 = x_2268; + x_2258 = x_2227; } -lean_ctor_set(x_2299, 0, x_2298); -lean_ctor_set(x_2299, 1, x_2267); -return x_2299; +lean_ctor_set(x_2258, 0, x_2257); +lean_ctor_set(x_2258, 1, x_2226); +return x_2258; } else { -lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; -lean_dec(x_2252); +lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; +lean_dec(x_2211); lean_dec(x_11); lean_dec(x_5); -x_2300 = lean_ctor_get(x_2258, 0); -lean_inc(x_2300); -x_2301 = lean_ctor_get(x_2258, 1); -lean_inc(x_2301); -if (lean_is_exclusive(x_2258)) { - lean_ctor_release(x_2258, 0); - lean_ctor_release(x_2258, 1); - x_2302 = x_2258; +x_2259 = lean_ctor_get(x_2217, 0); +lean_inc(x_2259); +x_2260 = lean_ctor_get(x_2217, 1); +lean_inc(x_2260); +if (lean_is_exclusive(x_2217)) { + lean_ctor_release(x_2217, 0); + lean_ctor_release(x_2217, 1); + x_2261 = x_2217; } else { - lean_dec_ref(x_2258); - x_2302 = lean_box(0); + lean_dec_ref(x_2217); + x_2261 = lean_box(0); } -if (lean_is_scalar(x_2302)) { - x_2303 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2261)) { + x_2262 = lean_alloc_ctor(1, 2, 0); } else { - x_2303 = x_2302; + x_2262 = x_2261; } -lean_ctor_set(x_2303, 0, x_2300); -lean_ctor_set(x_2303, 1, x_2301); -return x_2303; +lean_ctor_set(x_2262, 0, x_2259); +lean_ctor_set(x_2262, 1, x_2260); +return x_2262; +} +} +} +else +{ +lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; +lean_dec(x_2080); +x_2263 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2264 = lean_ctor_get(x_2263, 0); +lean_inc(x_2264); +x_2265 = lean_ctor_get(x_2263, 1); +lean_inc(x_2265); +lean_dec(x_2263); +x_2266 = lean_nat_add(x_3, x_2079); +lean_dec(x_3); +x_2267 = l_Lean_mkHole(x_11); +lean_inc(x_2264); +x_2268 = l_Lean_Elab_Term_mkExplicitBinder(x_2264, x_2267); +x_2269 = lean_array_push(x_4, x_2268); +lean_inc(x_5); +x_2270 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2266, x_2269, x_5, x_2265); +if (lean_obj_tag(x_2270) == 0) +{ +lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; +x_2271 = lean_ctor_get(x_2270, 0); +lean_inc(x_2271); +x_2272 = lean_ctor_get(x_2270, 1); +lean_inc(x_2272); +lean_dec(x_2270); +x_2273 = lean_ctor_get(x_2271, 0); +lean_inc(x_2273); +x_2274 = lean_ctor_get(x_2271, 1); +lean_inc(x_2274); +if (lean_is_exclusive(x_2271)) { + lean_ctor_release(x_2271, 0); + lean_ctor_release(x_2271, 1); + x_2275 = x_2271; +} else { + lean_dec_ref(x_2271); + x_2275 = lean_box(0); +} +x_2276 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2272); +lean_dec(x_5); +x_2277 = lean_ctor_get(x_2276, 1); +lean_inc(x_2277); +lean_dec(x_2276); +x_2278 = l_Lean_Elab_Term_getMainModule___rarg(x_2277); +x_2279 = lean_ctor_get(x_2278, 1); +lean_inc(x_2279); +if (lean_is_exclusive(x_2278)) { + lean_ctor_release(x_2278, 0); + lean_ctor_release(x_2278, 1); + x_2280 = x_2278; +} else { + lean_dec_ref(x_2278); + x_2280 = lean_box(0); +} +x_2281 = l_Array_empty___closed__1; +x_2282 = lean_array_push(x_2281, x_2264); +x_2283 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2284 = lean_array_push(x_2282, x_2283); +x_2285 = l_Lean_mkTermIdFromIdent___closed__2; +x_2286 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2286, 0, x_2285); +lean_ctor_set(x_2286, 1, x_2284); +x_2287 = lean_array_push(x_2281, x_2286); +x_2288 = l_Lean_nullKind___closed__2; +x_2289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2289, 0, x_2288); +lean_ctor_set(x_2289, 1, x_2287); +x_2290 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2291 = lean_array_push(x_2290, x_2289); +x_2292 = lean_array_push(x_2291, x_2283); +x_2293 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2294 = lean_array_push(x_2292, x_2293); +lean_inc(x_11); +x_2295 = lean_array_push(x_2281, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2296 = x_11; +} else { + lean_dec_ref(x_11); + x_2296 = lean_box(0); +} +if (lean_is_scalar(x_2296)) { + x_2297 = lean_alloc_ctor(1, 2, 0); +} else { + x_2297 = x_2296; +} +lean_ctor_set(x_2297, 0, x_2288); +lean_ctor_set(x_2297, 1, x_2295); +x_2298 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2299 = lean_array_push(x_2298, x_2297); +x_2300 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2301 = lean_array_push(x_2299, x_2300); +x_2302 = lean_array_push(x_2301, x_2274); +x_2303 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2304, 0, x_2303); +lean_ctor_set(x_2304, 1, x_2302); +x_2305 = lean_array_push(x_2281, x_2304); +x_2306 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2306, 0, x_2288); +lean_ctor_set(x_2306, 1, x_2305); +x_2307 = lean_array_push(x_2294, x_2306); +x_2308 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2309, 0, x_2308); +lean_ctor_set(x_2309, 1, x_2307); +if (lean_is_scalar(x_2275)) { + x_2310 = lean_alloc_ctor(0, 2, 0); +} else { + x_2310 = x_2275; +} +lean_ctor_set(x_2310, 0, x_2273); +lean_ctor_set(x_2310, 1, x_2309); +if (lean_is_scalar(x_2280)) { + x_2311 = lean_alloc_ctor(0, 2, 0); +} else { + x_2311 = x_2280; +} +lean_ctor_set(x_2311, 0, x_2310); +lean_ctor_set(x_2311, 1, x_2279); +return x_2311; +} +else +{ +lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; +lean_dec(x_2264); +lean_dec(x_11); +lean_dec(x_5); +x_2312 = lean_ctor_get(x_2270, 0); +lean_inc(x_2312); +x_2313 = lean_ctor_get(x_2270, 1); +lean_inc(x_2313); +if (lean_is_exclusive(x_2270)) { + lean_ctor_release(x_2270, 0); + lean_ctor_release(x_2270, 1); + x_2314 = x_2270; +} else { + lean_dec_ref(x_2270); + x_2314 = lean_box(0); +} +if (lean_is_scalar(x_2314)) { + x_2315 = lean_alloc_ctor(1, 2, 0); +} else { + x_2315 = x_2314; +} +lean_ctor_set(x_2315, 0, x_2312); +lean_ctor_set(x_2315, 1, x_2313); +return x_2315; } } } } else { -lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; -lean_dec(x_1763); +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_dec(x_1771); lean_free_object(x_13); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_2304 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2305 = lean_ctor_get(x_2304, 0); -lean_inc(x_2305); -x_2306 = lean_ctor_get(x_2304, 1); -lean_inc(x_2306); -lean_dec(x_2304); -x_2307 = lean_unsigned_to_nat(1u); -x_2308 = lean_nat_add(x_3, x_2307); +x_2316 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2317 = lean_ctor_get(x_2316, 0); +lean_inc(x_2317); +x_2318 = lean_ctor_get(x_2316, 1); +lean_inc(x_2318); +lean_dec(x_2316); +x_2319 = lean_unsigned_to_nat(1u); +x_2320 = lean_nat_add(x_3, x_2319); lean_dec(x_3); -x_2309 = l_Lean_Elab_Term_mkExplicitBinder(x_2305, x_11); -x_2310 = lean_array_push(x_4, x_2309); -x_3 = x_2308; -x_4 = x_2310; -x_6 = x_2306; +x_2321 = l_Lean_Elab_Term_mkExplicitBinder(x_2317, x_11); +x_2322 = lean_array_push(x_4, x_2321); +x_3 = x_2320; +x_4 = x_2322; +x_6 = x_2318; goto _start; } } @@ -10870,1701 +10894,1709 @@ goto _start; } else { -lean_object* x_2312; size_t x_2313; lean_object* x_2314; size_t x_2315; lean_object* x_2316; lean_object* x_2317; size_t x_2318; lean_object* x_2319; lean_object* x_2320; uint8_t x_2321; -x_2312 = lean_ctor_get(x_13, 1); -x_2313 = lean_ctor_get_usize(x_13, 2); -lean_inc(x_2312); +lean_object* x_2324; size_t x_2325; lean_object* x_2326; size_t x_2327; lean_object* x_2328; lean_object* x_2329; size_t x_2330; lean_object* x_2331; lean_object* x_2332; uint8_t x_2333; +x_2324 = lean_ctor_get(x_13, 1); +x_2325 = lean_ctor_get_usize(x_13, 2); +lean_inc(x_2324); lean_dec(x_13); -x_2314 = lean_ctor_get(x_14, 1); -lean_inc(x_2314); -x_2315 = lean_ctor_get_usize(x_14, 2); +x_2326 = lean_ctor_get(x_14, 1); +lean_inc(x_2326); +x_2327 = lean_ctor_get_usize(x_14, 2); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); - x_2316 = x_14; + x_2328 = x_14; } else { lean_dec_ref(x_14); - x_2316 = lean_box(0); + x_2328 = lean_box(0); } -x_2317 = lean_ctor_get(x_15, 1); -lean_inc(x_2317); -x_2318 = lean_ctor_get_usize(x_15, 2); +x_2329 = lean_ctor_get(x_15, 1); +lean_inc(x_2329); +x_2330 = lean_ctor_get_usize(x_15, 2); if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 0); lean_ctor_release(x_15, 1); - x_2319 = x_15; + x_2331 = x_15; } else { lean_dec_ref(x_15); - x_2319 = lean_box(0); + x_2331 = lean_box(0); } -x_2320 = l_Lean_mkAppStx___closed__1; -x_2321 = lean_string_dec_eq(x_2317, x_2320); -lean_dec(x_2317); -if (x_2321 == 0) +x_2332 = l_Lean_mkAppStx___closed__1; +x_2333 = lean_string_dec_eq(x_2329, x_2332); +lean_dec(x_2329); +if (x_2333 == 0) { -lean_object* x_2322; -lean_dec(x_2319); -lean_dec(x_2316); -lean_dec(x_2314); -lean_dec(x_2312); +uint8_t x_2334; lean_object* x_2335; +lean_dec(x_2331); +lean_dec(x_2328); +lean_dec(x_2326); +lean_dec(x_2324); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_2322 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_2322) == 0) -{ -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; -x_2323 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2324 = lean_ctor_get(x_2323, 0); -lean_inc(x_2324); -x_2325 = lean_ctor_get(x_2323, 1); -lean_inc(x_2325); -lean_dec(x_2323); -x_2326 = lean_unsigned_to_nat(1u); -x_2327 = lean_nat_add(x_3, x_2326); -lean_dec(x_3); -x_2328 = l_Lean_mkHole(x_11); -lean_inc(x_2324); -x_2329 = l_Lean_Elab_Term_mkExplicitBinder(x_2324, x_2328); -x_2330 = lean_array_push(x_4, x_2329); -lean_inc(x_5); -x_2331 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2327, x_2330, x_5, x_2325); -if (lean_obj_tag(x_2331) == 0) -{ -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_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; -x_2332 = lean_ctor_get(x_2331, 0); -lean_inc(x_2332); -x_2333 = lean_ctor_get(x_2331, 1); -lean_inc(x_2333); -lean_dec(x_2331); -x_2334 = lean_ctor_get(x_2332, 0); -lean_inc(x_2334); -x_2335 = lean_ctor_get(x_2332, 1); -lean_inc(x_2335); -if (lean_is_exclusive(x_2332)) { - lean_ctor_release(x_2332, 0); - lean_ctor_release(x_2332, 1); - x_2336 = x_2332; -} else { - lean_dec_ref(x_2332); - x_2336 = lean_box(0); -} -x_2337 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2333); -lean_dec(x_5); -x_2338 = lean_ctor_get(x_2337, 1); -lean_inc(x_2338); -lean_dec(x_2337); -x_2339 = l_Lean_Elab_Term_getMainModule___rarg(x_2338); -x_2340 = lean_ctor_get(x_2339, 1); -lean_inc(x_2340); -if (lean_is_exclusive(x_2339)) { - lean_ctor_release(x_2339, 0); - lean_ctor_release(x_2339, 1); - x_2341 = x_2339; -} else { - lean_dec_ref(x_2339); - x_2341 = lean_box(0); -} -x_2342 = l_Array_empty___closed__1; -x_2343 = lean_array_push(x_2342, x_2324); -x_2344 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2345 = lean_array_push(x_2343, x_2344); -x_2346 = l_Lean_mkTermIdFromIdent___closed__2; -x_2347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2347, 0, x_2346); -lean_ctor_set(x_2347, 1, x_2345); -x_2348 = lean_array_push(x_2342, x_2347); -x_2349 = l_Lean_nullKind___closed__2; -x_2350 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2350, 0, x_2349); -lean_ctor_set(x_2350, 1, x_2348); -x_2351 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2352 = lean_array_push(x_2351, x_2350); -x_2353 = lean_array_push(x_2352, x_2344); -x_2354 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2355 = lean_array_push(x_2353, x_2354); +x_2334 = 1; lean_inc(x_11); -x_2356 = lean_array_push(x_2342, x_11); +x_2335 = l_Lean_Syntax_isTermId_x3f(x_11, x_2334); +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; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; +x_2336 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2337 = lean_ctor_get(x_2336, 0); +lean_inc(x_2337); +x_2338 = lean_ctor_get(x_2336, 1); +lean_inc(x_2338); +lean_dec(x_2336); +x_2339 = lean_unsigned_to_nat(1u); +x_2340 = lean_nat_add(x_3, x_2339); +lean_dec(x_3); +x_2341 = l_Lean_mkHole(x_11); +lean_inc(x_2337); +x_2342 = l_Lean_Elab_Term_mkExplicitBinder(x_2337, x_2341); +x_2343 = lean_array_push(x_4, x_2342); +lean_inc(x_5); +x_2344 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2340, x_2343, x_5, x_2338); +if (lean_obj_tag(x_2344) == 0) +{ +lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; +x_2345 = lean_ctor_get(x_2344, 0); +lean_inc(x_2345); +x_2346 = lean_ctor_get(x_2344, 1); +lean_inc(x_2346); +lean_dec(x_2344); +x_2347 = lean_ctor_get(x_2345, 0); +lean_inc(x_2347); +x_2348 = lean_ctor_get(x_2345, 1); +lean_inc(x_2348); +if (lean_is_exclusive(x_2345)) { + lean_ctor_release(x_2345, 0); + lean_ctor_release(x_2345, 1); + x_2349 = x_2345; +} else { + lean_dec_ref(x_2345); + x_2349 = lean_box(0); +} +x_2350 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2346); +lean_dec(x_5); +x_2351 = lean_ctor_get(x_2350, 1); +lean_inc(x_2351); +lean_dec(x_2350); +x_2352 = l_Lean_Elab_Term_getMainModule___rarg(x_2351); +x_2353 = lean_ctor_get(x_2352, 1); +lean_inc(x_2353); +if (lean_is_exclusive(x_2352)) { + lean_ctor_release(x_2352, 0); + lean_ctor_release(x_2352, 1); + x_2354 = x_2352; +} else { + lean_dec_ref(x_2352); + x_2354 = lean_box(0); +} +x_2355 = l_Array_empty___closed__1; +x_2356 = lean_array_push(x_2355, x_2337); +x_2357 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2358 = lean_array_push(x_2356, x_2357); +x_2359 = l_Lean_mkTermIdFromIdent___closed__2; +x_2360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2360, 0, x_2359); +lean_ctor_set(x_2360, 1, x_2358); +x_2361 = lean_array_push(x_2355, x_2360); +x_2362 = l_Lean_nullKind___closed__2; +x_2363 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2363, 0, x_2362); +lean_ctor_set(x_2363, 1, x_2361); +x_2364 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2365 = lean_array_push(x_2364, x_2363); +x_2366 = lean_array_push(x_2365, x_2357); +x_2367 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2368 = lean_array_push(x_2366, x_2367); +lean_inc(x_11); +x_2369 = lean_array_push(x_2355, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2357 = x_11; + x_2370 = x_11; } else { lean_dec_ref(x_11); - x_2357 = lean_box(0); + x_2370 = lean_box(0); } -if (lean_is_scalar(x_2357)) { - x_2358 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2370)) { + x_2371 = lean_alloc_ctor(1, 2, 0); } else { - x_2358 = x_2357; + x_2371 = x_2370; } -lean_ctor_set(x_2358, 0, x_2349); -lean_ctor_set(x_2358, 1, x_2356); -x_2359 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2360 = lean_array_push(x_2359, x_2358); -x_2361 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2362 = lean_array_push(x_2360, x_2361); -x_2363 = lean_array_push(x_2362, x_2335); -x_2364 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2365, 0, x_2364); -lean_ctor_set(x_2365, 1, x_2363); -x_2366 = lean_array_push(x_2342, x_2365); -x_2367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2367, 0, x_2349); -lean_ctor_set(x_2367, 1, x_2366); -x_2368 = lean_array_push(x_2355, x_2367); -x_2369 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2370 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2370, 0, x_2369); -lean_ctor_set(x_2370, 1, x_2368); -if (lean_is_scalar(x_2336)) { - x_2371 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2371, 0, x_2362); +lean_ctor_set(x_2371, 1, x_2369); +x_2372 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2373 = lean_array_push(x_2372, x_2371); +x_2374 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2375 = lean_array_push(x_2373, x_2374); +x_2376 = lean_array_push(x_2375, x_2348); +x_2377 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2378 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2378, 0, x_2377); +lean_ctor_set(x_2378, 1, x_2376); +x_2379 = lean_array_push(x_2355, x_2378); +x_2380 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2380, 0, x_2362); +lean_ctor_set(x_2380, 1, x_2379); +x_2381 = lean_array_push(x_2368, x_2380); +x_2382 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2383 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2383, 0, x_2382); +lean_ctor_set(x_2383, 1, x_2381); +if (lean_is_scalar(x_2349)) { + x_2384 = lean_alloc_ctor(0, 2, 0); } else { - x_2371 = x_2336; + x_2384 = x_2349; } -lean_ctor_set(x_2371, 0, x_2334); -lean_ctor_set(x_2371, 1, x_2370); -if (lean_is_scalar(x_2341)) { - x_2372 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2384, 0, x_2347); +lean_ctor_set(x_2384, 1, x_2383); +if (lean_is_scalar(x_2354)) { + x_2385 = lean_alloc_ctor(0, 2, 0); } else { - x_2372 = x_2341; + x_2385 = x_2354; } -lean_ctor_set(x_2372, 0, x_2371); -lean_ctor_set(x_2372, 1, x_2340); -return x_2372; +lean_ctor_set(x_2385, 0, x_2384); +lean_ctor_set(x_2385, 1, x_2353); +return x_2385; } else { -lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; -lean_dec(x_2324); +lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; +lean_dec(x_2337); lean_dec(x_11); lean_dec(x_5); -x_2373 = lean_ctor_get(x_2331, 0); -lean_inc(x_2373); -x_2374 = lean_ctor_get(x_2331, 1); -lean_inc(x_2374); -if (lean_is_exclusive(x_2331)) { - lean_ctor_release(x_2331, 0); - lean_ctor_release(x_2331, 1); - x_2375 = x_2331; +x_2386 = lean_ctor_get(x_2344, 0); +lean_inc(x_2386); +x_2387 = lean_ctor_get(x_2344, 1); +lean_inc(x_2387); +if (lean_is_exclusive(x_2344)) { + lean_ctor_release(x_2344, 0); + lean_ctor_release(x_2344, 1); + x_2388 = x_2344; } else { - lean_dec_ref(x_2331); - x_2375 = lean_box(0); + lean_dec_ref(x_2344); + x_2388 = lean_box(0); } -if (lean_is_scalar(x_2375)) { - x_2376 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2388)) { + x_2389 = lean_alloc_ctor(1, 2, 0); } else { - x_2376 = x_2375; + x_2389 = x_2388; } -lean_ctor_set(x_2376, 0, x_2373); -lean_ctor_set(x_2376, 1, x_2374); -return x_2376; +lean_ctor_set(x_2389, 0, x_2386); +lean_ctor_set(x_2389, 1, x_2387); +return x_2389; } } else { -lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; uint8_t x_2380; -x_2377 = lean_ctor_get(x_2322, 0); -lean_inc(x_2377); -lean_dec(x_2322); -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 = l_Lean_Syntax_isNone(x_2379); -lean_dec(x_2379); -if (x_2380 == 0) +lean_object* x_2390; lean_object* x_2391; lean_object* x_2392; uint8_t x_2393; +x_2390 = lean_ctor_get(x_2335, 0); +lean_inc(x_2390); +lean_dec(x_2335); +x_2391 = lean_ctor_get(x_2390, 0); +lean_inc(x_2391); +x_2392 = lean_ctor_get(x_2390, 1); +lean_inc(x_2392); +lean_dec(x_2390); +x_2393 = l_Lean_Syntax_isNone(x_2392); +lean_dec(x_2392); +if (x_2393 == 0) { -lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; -lean_dec(x_2378); +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_dec(x_2391); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2381 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_2382 = l_Lean_Elab_Term_throwError___rarg(x_11, x_2381, x_5, x_6); +x_2394 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2395 = l_Lean_Elab_Term_throwError___rarg(x_11, x_2394, x_5, x_6); lean_dec(x_11); -x_2383 = lean_ctor_get(x_2382, 0); -lean_inc(x_2383); -x_2384 = lean_ctor_get(x_2382, 1); -lean_inc(x_2384); -if (lean_is_exclusive(x_2382)) { - lean_ctor_release(x_2382, 0); - lean_ctor_release(x_2382, 1); - x_2385 = x_2382; +x_2396 = lean_ctor_get(x_2395, 0); +lean_inc(x_2396); +x_2397 = lean_ctor_get(x_2395, 1); +lean_inc(x_2397); +if (lean_is_exclusive(x_2395)) { + lean_ctor_release(x_2395, 0); + lean_ctor_release(x_2395, 1); + x_2398 = x_2395; } else { - lean_dec_ref(x_2382); - x_2385 = lean_box(0); + lean_dec_ref(x_2395); + x_2398 = lean_box(0); } -if (lean_is_scalar(x_2385)) { - x_2386 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2398)) { + x_2399 = lean_alloc_ctor(1, 2, 0); } else { - x_2386 = x_2385; + x_2399 = x_2398; } -lean_ctor_set(x_2386, 0, x_2383); -lean_ctor_set(x_2386, 1, x_2384); -return x_2386; +lean_ctor_set(x_2399, 0, x_2396); +lean_ctor_set(x_2399, 1, x_2397); +return x_2399; } else { -lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; -x_2387 = l_Lean_mkHole(x_11); +lean_object* x_2400; lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; lean_object* x_2404; +x_2400 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_2388 = lean_unsigned_to_nat(1u); -x_2389 = lean_nat_add(x_3, x_2388); +x_2401 = lean_unsigned_to_nat(1u); +x_2402 = lean_nat_add(x_3, x_2401); lean_dec(x_3); -x_2390 = l_Lean_Elab_Term_mkExplicitBinder(x_2378, x_2387); -x_2391 = lean_array_push(x_4, x_2390); -x_3 = x_2389; -x_4 = x_2391; +x_2403 = l_Lean_Elab_Term_mkExplicitBinder(x_2391, x_2400); +x_2404 = lean_array_push(x_4, x_2403); +x_3 = x_2402; +x_4 = x_2404; goto _start; } } } else { -lean_object* x_2393; uint8_t x_2394; -x_2393 = l_Lean_mkAppStx___closed__3; -x_2394 = lean_string_dec_eq(x_2314, x_2393); -if (x_2394 == 0) +lean_object* x_2406; uint8_t x_2407; +x_2406 = l_Lean_mkAppStx___closed__3; +x_2407 = lean_string_dec_eq(x_2326, x_2406); +if (x_2407 == 0) { -lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; lean_object* x_2398; lean_object* x_2399; -if (lean_is_scalar(x_2319)) { - x_2395 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_2408; lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; uint8_t x_2412; lean_object* x_2413; +if (lean_is_scalar(x_2331)) { + x_2408 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2395 = x_2319; + x_2408 = x_2331; } -lean_ctor_set(x_2395, 0, x_16); -lean_ctor_set(x_2395, 1, x_2320); -lean_ctor_set_usize(x_2395, 2, x_2318); -if (lean_is_scalar(x_2316)) { - x_2396 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2408, 0, x_16); +lean_ctor_set(x_2408, 1, x_2332); +lean_ctor_set_usize(x_2408, 2, x_2330); +if (lean_is_scalar(x_2328)) { + x_2409 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2396 = x_2316; + x_2409 = x_2328; } -lean_ctor_set(x_2396, 0, x_2395); -lean_ctor_set(x_2396, 1, x_2314); -lean_ctor_set_usize(x_2396, 2, x_2315); -x_2397 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2397, 0, x_2396); -lean_ctor_set(x_2397, 1, x_2312); -lean_ctor_set_usize(x_2397, 2, x_2313); -lean_ctor_set(x_12, 0, x_2397); -x_2398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2398, 0, x_12); -lean_ctor_set(x_2398, 1, x_17); -x_2399 = l_Lean_Syntax_isTermId_x3f(x_2398); -if (lean_obj_tag(x_2399) == 0) -{ -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_dec(x_2398); -x_2400 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2401 = lean_ctor_get(x_2400, 0); -lean_inc(x_2401); -x_2402 = lean_ctor_get(x_2400, 1); -lean_inc(x_2402); -lean_dec(x_2400); -x_2403 = lean_unsigned_to_nat(1u); -x_2404 = lean_nat_add(x_3, x_2403); -lean_dec(x_3); -x_2405 = l_Lean_mkHole(x_11); -lean_inc(x_2401); -x_2406 = l_Lean_Elab_Term_mkExplicitBinder(x_2401, x_2405); -x_2407 = lean_array_push(x_4, x_2406); -lean_inc(x_5); -x_2408 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2404, x_2407, x_5, x_2402); -if (lean_obj_tag(x_2408) == 0) -{ -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; 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_object* x_2449; -x_2409 = lean_ctor_get(x_2408, 0); -lean_inc(x_2409); -x_2410 = lean_ctor_get(x_2408, 1); -lean_inc(x_2410); -lean_dec(x_2408); -x_2411 = lean_ctor_get(x_2409, 0); +lean_ctor_set(x_2409, 0, x_2408); +lean_ctor_set(x_2409, 1, x_2326); +lean_ctor_set_usize(x_2409, 2, x_2327); +x_2410 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2410, 0, x_2409); +lean_ctor_set(x_2410, 1, x_2324); +lean_ctor_set_usize(x_2410, 2, x_2325); +lean_ctor_set(x_12, 0, x_2410); +x_2411 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2411, 0, x_12); +lean_ctor_set(x_2411, 1, x_17); +x_2412 = 1; lean_inc(x_2411); -x_2412 = lean_ctor_get(x_2409, 1); -lean_inc(x_2412); -if (lean_is_exclusive(x_2409)) { - lean_ctor_release(x_2409, 0); - lean_ctor_release(x_2409, 1); - x_2413 = x_2409; -} else { - lean_dec_ref(x_2409); - x_2413 = lean_box(0); -} -x_2414 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2410); -lean_dec(x_5); -x_2415 = lean_ctor_get(x_2414, 1); +x_2413 = l_Lean_Syntax_isTermId_x3f(x_2411, x_2412); +if (lean_obj_tag(x_2413) == 0) +{ +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_dec(x_2411); +x_2414 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2415 = lean_ctor_get(x_2414, 0); lean_inc(x_2415); +x_2416 = lean_ctor_get(x_2414, 1); +lean_inc(x_2416); lean_dec(x_2414); -x_2416 = l_Lean_Elab_Term_getMainModule___rarg(x_2415); -x_2417 = lean_ctor_get(x_2416, 1); -lean_inc(x_2417); -if (lean_is_exclusive(x_2416)) { - lean_ctor_release(x_2416, 0); - lean_ctor_release(x_2416, 1); - x_2418 = x_2416; +x_2417 = lean_unsigned_to_nat(1u); +x_2418 = lean_nat_add(x_3, x_2417); +lean_dec(x_3); +x_2419 = l_Lean_mkHole(x_11); +lean_inc(x_2415); +x_2420 = l_Lean_Elab_Term_mkExplicitBinder(x_2415, x_2419); +x_2421 = lean_array_push(x_4, x_2420); +lean_inc(x_5); +x_2422 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2418, x_2421, x_5, x_2416); +if (lean_obj_tag(x_2422) == 0) +{ +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; 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_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; +x_2423 = lean_ctor_get(x_2422, 0); +lean_inc(x_2423); +x_2424 = lean_ctor_get(x_2422, 1); +lean_inc(x_2424); +lean_dec(x_2422); +x_2425 = lean_ctor_get(x_2423, 0); +lean_inc(x_2425); +x_2426 = lean_ctor_get(x_2423, 1); +lean_inc(x_2426); +if (lean_is_exclusive(x_2423)) { + lean_ctor_release(x_2423, 0); + lean_ctor_release(x_2423, 1); + x_2427 = x_2423; } else { - lean_dec_ref(x_2416); - x_2418 = lean_box(0); + lean_dec_ref(x_2423); + x_2427 = lean_box(0); } -x_2419 = l_Array_empty___closed__1; -x_2420 = lean_array_push(x_2419, x_2401); -x_2421 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2422 = lean_array_push(x_2420, x_2421); -x_2423 = l_Lean_mkTermIdFromIdent___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 = lean_array_push(x_2419, x_2424); -x_2426 = l_Lean_nullKind___closed__2; -x_2427 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2427, 0, x_2426); -lean_ctor_set(x_2427, 1, x_2425); -x_2428 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2429 = lean_array_push(x_2428, x_2427); -x_2430 = lean_array_push(x_2429, x_2421); -x_2431 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2432 = lean_array_push(x_2430, x_2431); +x_2428 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2424); +lean_dec(x_5); +x_2429 = lean_ctor_get(x_2428, 1); +lean_inc(x_2429); +lean_dec(x_2428); +x_2430 = l_Lean_Elab_Term_getMainModule___rarg(x_2429); +x_2431 = lean_ctor_get(x_2430, 1); +lean_inc(x_2431); +if (lean_is_exclusive(x_2430)) { + lean_ctor_release(x_2430, 0); + lean_ctor_release(x_2430, 1); + x_2432 = x_2430; +} else { + lean_dec_ref(x_2430); + x_2432 = lean_box(0); +} +x_2433 = l_Array_empty___closed__1; +x_2434 = lean_array_push(x_2433, x_2415); +x_2435 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2436 = lean_array_push(x_2434, x_2435); +x_2437 = l_Lean_mkTermIdFromIdent___closed__2; +x_2438 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2438, 0, x_2437); +lean_ctor_set(x_2438, 1, x_2436); +x_2439 = lean_array_push(x_2433, x_2438); +x_2440 = l_Lean_nullKind___closed__2; +x_2441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2441, 0, x_2440); +lean_ctor_set(x_2441, 1, x_2439); +x_2442 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2443 = lean_array_push(x_2442, x_2441); +x_2444 = lean_array_push(x_2443, x_2435); +x_2445 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2446 = lean_array_push(x_2444, x_2445); lean_inc(x_11); -x_2433 = lean_array_push(x_2419, x_11); +x_2447 = lean_array_push(x_2433, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2434 = x_11; + x_2448 = x_11; } else { lean_dec_ref(x_11); - x_2434 = lean_box(0); + x_2448 = lean_box(0); } -if (lean_is_scalar(x_2434)) { - x_2435 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2448)) { + x_2449 = lean_alloc_ctor(1, 2, 0); } else { - x_2435 = x_2434; + x_2449 = x_2448; } -lean_ctor_set(x_2435, 0, x_2426); -lean_ctor_set(x_2435, 1, x_2433); -x_2436 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2437 = lean_array_push(x_2436, x_2435); -x_2438 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2439 = lean_array_push(x_2437, x_2438); -x_2440 = lean_array_push(x_2439, x_2412); -x_2441 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2442, 0, x_2441); -lean_ctor_set(x_2442, 1, x_2440); -x_2443 = lean_array_push(x_2419, x_2442); -x_2444 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2444, 0, x_2426); -lean_ctor_set(x_2444, 1, x_2443); -x_2445 = lean_array_push(x_2432, x_2444); -x_2446 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2447 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2447, 0, x_2446); -lean_ctor_set(x_2447, 1, x_2445); -if (lean_is_scalar(x_2413)) { - x_2448 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2449, 0, x_2440); +lean_ctor_set(x_2449, 1, x_2447); +x_2450 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2451 = lean_array_push(x_2450, x_2449); +x_2452 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2453 = lean_array_push(x_2451, x_2452); +x_2454 = lean_array_push(x_2453, x_2426); +x_2455 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2456 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2456, 0, x_2455); +lean_ctor_set(x_2456, 1, x_2454); +x_2457 = lean_array_push(x_2433, x_2456); +x_2458 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2458, 0, x_2440); +lean_ctor_set(x_2458, 1, x_2457); +x_2459 = lean_array_push(x_2446, x_2458); +x_2460 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2461, 0, x_2460); +lean_ctor_set(x_2461, 1, x_2459); +if (lean_is_scalar(x_2427)) { + x_2462 = lean_alloc_ctor(0, 2, 0); } else { - x_2448 = x_2413; + x_2462 = x_2427; } -lean_ctor_set(x_2448, 0, x_2411); -lean_ctor_set(x_2448, 1, x_2447); -if (lean_is_scalar(x_2418)) { - x_2449 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2462, 0, x_2425); +lean_ctor_set(x_2462, 1, x_2461); +if (lean_is_scalar(x_2432)) { + x_2463 = lean_alloc_ctor(0, 2, 0); } else { - x_2449 = x_2418; + x_2463 = x_2432; } -lean_ctor_set(x_2449, 0, x_2448); -lean_ctor_set(x_2449, 1, x_2417); -return x_2449; -} -else -{ -lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; -lean_dec(x_2401); -lean_dec(x_11); -lean_dec(x_5); -x_2450 = lean_ctor_get(x_2408, 0); -lean_inc(x_2450); -x_2451 = lean_ctor_get(x_2408, 1); -lean_inc(x_2451); -if (lean_is_exclusive(x_2408)) { - lean_ctor_release(x_2408, 0); - lean_ctor_release(x_2408, 1); - x_2452 = x_2408; -} else { - lean_dec_ref(x_2408); - x_2452 = lean_box(0); -} -if (lean_is_scalar(x_2452)) { - x_2453 = lean_alloc_ctor(1, 2, 0); -} else { - x_2453 = x_2452; -} -lean_ctor_set(x_2453, 0, x_2450); -lean_ctor_set(x_2453, 1, x_2451); -return x_2453; -} -} -else -{ -lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; uint8_t x_2457; -lean_dec(x_11); -x_2454 = lean_ctor_get(x_2399, 0); -lean_inc(x_2454); -lean_dec(x_2399); -x_2455 = lean_ctor_get(x_2454, 0); -lean_inc(x_2455); -x_2456 = lean_ctor_get(x_2454, 1); -lean_inc(x_2456); -lean_dec(x_2454); -x_2457 = l_Lean_Syntax_isNone(x_2456); -lean_dec(x_2456); -if (x_2457 == 0) -{ -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_dec(x_2455); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_2458 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_2459 = l_Lean_Elab_Term_throwError___rarg(x_2398, x_2458, x_5, x_6); -lean_dec(x_2398); -x_2460 = lean_ctor_get(x_2459, 0); -lean_inc(x_2460); -x_2461 = lean_ctor_get(x_2459, 1); -lean_inc(x_2461); -if (lean_is_exclusive(x_2459)) { - lean_ctor_release(x_2459, 0); - lean_ctor_release(x_2459, 1); - x_2462 = x_2459; -} else { - lean_dec_ref(x_2459); - x_2462 = lean_box(0); -} -if (lean_is_scalar(x_2462)) { - x_2463 = lean_alloc_ctor(1, 2, 0); -} else { - x_2463 = x_2462; -} -lean_ctor_set(x_2463, 0, x_2460); -lean_ctor_set(x_2463, 1, x_2461); +lean_ctor_set(x_2463, 0, x_2462); +lean_ctor_set(x_2463, 1, x_2431); return x_2463; } else { -lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; -x_2464 = l_Lean_mkHole(x_2398); -lean_dec(x_2398); -x_2465 = lean_unsigned_to_nat(1u); -x_2466 = lean_nat_add(x_3, x_2465); +lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; +lean_dec(x_2415); +lean_dec(x_11); +lean_dec(x_5); +x_2464 = lean_ctor_get(x_2422, 0); +lean_inc(x_2464); +x_2465 = lean_ctor_get(x_2422, 1); +lean_inc(x_2465); +if (lean_is_exclusive(x_2422)) { + lean_ctor_release(x_2422, 0); + lean_ctor_release(x_2422, 1); + x_2466 = x_2422; +} else { + lean_dec_ref(x_2422); + x_2466 = lean_box(0); +} +if (lean_is_scalar(x_2466)) { + x_2467 = lean_alloc_ctor(1, 2, 0); +} else { + x_2467 = x_2466; +} +lean_ctor_set(x_2467, 0, x_2464); +lean_ctor_set(x_2467, 1, x_2465); +return x_2467; +} +} +else +{ +lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; uint8_t x_2471; +lean_dec(x_11); +x_2468 = lean_ctor_get(x_2413, 0); +lean_inc(x_2468); +lean_dec(x_2413); +x_2469 = lean_ctor_get(x_2468, 0); +lean_inc(x_2469); +x_2470 = lean_ctor_get(x_2468, 1); +lean_inc(x_2470); +lean_dec(x_2468); +x_2471 = l_Lean_Syntax_isNone(x_2470); +lean_dec(x_2470); +if (x_2471 == 0) +{ +lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; +lean_dec(x_2469); +lean_dec(x_4); lean_dec(x_3); -x_2467 = l_Lean_Elab_Term_mkExplicitBinder(x_2455, x_2464); -x_2468 = lean_array_push(x_4, x_2467); -x_3 = x_2466; -x_4 = x_2468; +lean_dec(x_2); +x_2472 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2473 = l_Lean_Elab_Term_throwError___rarg(x_2411, x_2472, x_5, x_6); +lean_dec(x_2411); +x_2474 = lean_ctor_get(x_2473, 0); +lean_inc(x_2474); +x_2475 = lean_ctor_get(x_2473, 1); +lean_inc(x_2475); +if (lean_is_exclusive(x_2473)) { + lean_ctor_release(x_2473, 0); + lean_ctor_release(x_2473, 1); + x_2476 = x_2473; +} else { + lean_dec_ref(x_2473); + 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_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; +x_2478 = l_Lean_mkHole(x_2411); +lean_dec(x_2411); +x_2479 = lean_unsigned_to_nat(1u); +x_2480 = lean_nat_add(x_3, x_2479); +lean_dec(x_3); +x_2481 = l_Lean_Elab_Term_mkExplicitBinder(x_2469, x_2478); +x_2482 = lean_array_push(x_4, x_2481); +x_3 = x_2480; +x_4 = x_2482; goto _start; } } } else { -lean_object* x_2470; uint8_t x_2471; -lean_dec(x_2314); -x_2470 = l_Lean_mkAppStx___closed__5; -x_2471 = lean_string_dec_eq(x_2312, x_2470); -if (x_2471 == 0) +lean_object* x_2484; uint8_t x_2485; +lean_dec(x_2326); +x_2484 = l_Lean_mkAppStx___closed__5; +x_2485 = lean_string_dec_eq(x_2324, x_2484); +if (x_2485 == 0) { -lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; -if (lean_is_scalar(x_2319)) { - x_2472 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; uint8_t x_2490; lean_object* x_2491; +if (lean_is_scalar(x_2331)) { + x_2486 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2472 = x_2319; + x_2486 = x_2331; } -lean_ctor_set(x_2472, 0, x_16); -lean_ctor_set(x_2472, 1, x_2320); -lean_ctor_set_usize(x_2472, 2, x_2318); -if (lean_is_scalar(x_2316)) { - x_2473 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2486, 0, x_16); +lean_ctor_set(x_2486, 1, x_2332); +lean_ctor_set_usize(x_2486, 2, x_2330); +if (lean_is_scalar(x_2328)) { + x_2487 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2473 = x_2316; + x_2487 = x_2328; } -lean_ctor_set(x_2473, 0, x_2472); -lean_ctor_set(x_2473, 1, x_2393); -lean_ctor_set_usize(x_2473, 2, x_2315); -x_2474 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2474, 0, x_2473); -lean_ctor_set(x_2474, 1, x_2312); -lean_ctor_set_usize(x_2474, 2, x_2313); -lean_ctor_set(x_12, 0, x_2474); -x_2475 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2475, 0, x_12); -lean_ctor_set(x_2475, 1, x_17); -x_2476 = l_Lean_Syntax_isTermId_x3f(x_2475); -if (lean_obj_tag(x_2476) == 0) -{ -lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; -lean_dec(x_2475); -x_2477 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2478 = lean_ctor_get(x_2477, 0); -lean_inc(x_2478); -x_2479 = lean_ctor_get(x_2477, 1); -lean_inc(x_2479); -lean_dec(x_2477); -x_2480 = lean_unsigned_to_nat(1u); -x_2481 = lean_nat_add(x_3, x_2480); -lean_dec(x_3); -x_2482 = l_Lean_mkHole(x_11); -lean_inc(x_2478); -x_2483 = l_Lean_Elab_Term_mkExplicitBinder(x_2478, x_2482); -x_2484 = lean_array_push(x_4, x_2483); -lean_inc(x_5); -x_2485 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2481, x_2484, x_5, x_2479); -if (lean_obj_tag(x_2485) == 0) -{ -lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; 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; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; 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; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; lean_object* x_2526; -x_2486 = lean_ctor_get(x_2485, 0); -lean_inc(x_2486); -x_2487 = lean_ctor_get(x_2485, 1); -lean_inc(x_2487); -lean_dec(x_2485); -x_2488 = lean_ctor_get(x_2486, 0); -lean_inc(x_2488); -x_2489 = lean_ctor_get(x_2486, 1); +lean_ctor_set(x_2487, 0, x_2486); +lean_ctor_set(x_2487, 1, x_2406); +lean_ctor_set_usize(x_2487, 2, x_2327); +x_2488 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2488, 0, x_2487); +lean_ctor_set(x_2488, 1, x_2324); +lean_ctor_set_usize(x_2488, 2, x_2325); +lean_ctor_set(x_12, 0, x_2488); +x_2489 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2489, 0, x_12); +lean_ctor_set(x_2489, 1, x_17); +x_2490 = 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); -} -x_2491 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2487); -lean_dec(x_5); -x_2492 = lean_ctor_get(x_2491, 1); -lean_inc(x_2492); -lean_dec(x_2491); -x_2493 = l_Lean_Elab_Term_getMainModule___rarg(x_2492); -x_2494 = lean_ctor_get(x_2493, 1); +x_2491 = l_Lean_Syntax_isTermId_x3f(x_2489, x_2490); +if (lean_obj_tag(x_2491) == 0) +{ +lean_object* x_2492; lean_object* x_2493; 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; +lean_dec(x_2489); +x_2492 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2493 = lean_ctor_get(x_2492, 0); +lean_inc(x_2493); +x_2494 = lean_ctor_get(x_2492, 1); lean_inc(x_2494); -if (lean_is_exclusive(x_2493)) { - lean_ctor_release(x_2493, 0); - lean_ctor_release(x_2493, 1); - x_2495 = x_2493; +lean_dec(x_2492); +x_2495 = lean_unsigned_to_nat(1u); +x_2496 = lean_nat_add(x_3, x_2495); +lean_dec(x_3); +x_2497 = l_Lean_mkHole(x_11); +lean_inc(x_2493); +x_2498 = l_Lean_Elab_Term_mkExplicitBinder(x_2493, x_2497); +x_2499 = lean_array_push(x_4, x_2498); +lean_inc(x_5); +x_2500 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2496, x_2499, x_5, x_2494); +if (lean_obj_tag(x_2500) == 0) +{ +lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; 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; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; lean_object* x_2526; lean_object* x_2527; lean_object* 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_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; +x_2501 = lean_ctor_get(x_2500, 0); +lean_inc(x_2501); +x_2502 = lean_ctor_get(x_2500, 1); +lean_inc(x_2502); +lean_dec(x_2500); +x_2503 = lean_ctor_get(x_2501, 0); +lean_inc(x_2503); +x_2504 = lean_ctor_get(x_2501, 1); +lean_inc(x_2504); +if (lean_is_exclusive(x_2501)) { + lean_ctor_release(x_2501, 0); + lean_ctor_release(x_2501, 1); + x_2505 = x_2501; } else { - lean_dec_ref(x_2493); - x_2495 = lean_box(0); + lean_dec_ref(x_2501); + x_2505 = lean_box(0); } -x_2496 = l_Array_empty___closed__1; -x_2497 = lean_array_push(x_2496, x_2478); -x_2498 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2499 = lean_array_push(x_2497, x_2498); -x_2500 = l_Lean_mkTermIdFromIdent___closed__2; -x_2501 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2501, 0, x_2500); -lean_ctor_set(x_2501, 1, x_2499); -x_2502 = lean_array_push(x_2496, x_2501); -x_2503 = l_Lean_nullKind___closed__2; -x_2504 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2504, 0, x_2503); -lean_ctor_set(x_2504, 1, x_2502); -x_2505 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2506 = lean_array_push(x_2505, x_2504); -x_2507 = lean_array_push(x_2506, x_2498); -x_2508 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2509 = lean_array_push(x_2507, x_2508); -lean_inc(x_11); -x_2510 = lean_array_push(x_2496, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_2511 = x_11; +x_2506 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2502); +lean_dec(x_5); +x_2507 = lean_ctor_get(x_2506, 1); +lean_inc(x_2507); +lean_dec(x_2506); +x_2508 = l_Lean_Elab_Term_getMainModule___rarg(x_2507); +x_2509 = lean_ctor_get(x_2508, 1); +lean_inc(x_2509); +if (lean_is_exclusive(x_2508)) { + lean_ctor_release(x_2508, 0); + lean_ctor_release(x_2508, 1); + x_2510 = x_2508; } else { - lean_dec_ref(x_11); - x_2511 = lean_box(0); + lean_dec_ref(x_2508); + x_2510 = lean_box(0); } -if (lean_is_scalar(x_2511)) { - x_2512 = lean_alloc_ctor(1, 2, 0); -} else { - x_2512 = x_2511; -} -lean_ctor_set(x_2512, 0, x_2503); -lean_ctor_set(x_2512, 1, x_2510); -x_2513 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2514 = lean_array_push(x_2513, x_2512); -x_2515 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2516 = lean_array_push(x_2514, x_2515); -x_2517 = lean_array_push(x_2516, x_2489); -x_2518 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2511 = l_Array_empty___closed__1; +x_2512 = lean_array_push(x_2511, x_2493); +x_2513 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2514 = lean_array_push(x_2512, x_2513); +x_2515 = l_Lean_mkTermIdFromIdent___closed__2; +x_2516 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2516, 0, x_2515); +lean_ctor_set(x_2516, 1, x_2514); +x_2517 = lean_array_push(x_2511, x_2516); +x_2518 = l_Lean_nullKind___closed__2; x_2519 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2519, 0, x_2518); lean_ctor_set(x_2519, 1, x_2517); -x_2520 = lean_array_push(x_2496, x_2519); -x_2521 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2521, 0, x_2503); -lean_ctor_set(x_2521, 1, x_2520); -x_2522 = lean_array_push(x_2509, x_2521); -x_2523 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2524 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2524, 0, x_2523); -lean_ctor_set(x_2524, 1, x_2522); -if (lean_is_scalar(x_2490)) { - x_2525 = lean_alloc_ctor(0, 2, 0); +x_2520 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2521 = lean_array_push(x_2520, x_2519); +x_2522 = lean_array_push(x_2521, x_2513); +x_2523 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2524 = lean_array_push(x_2522, x_2523); +lean_inc(x_11); +x_2525 = lean_array_push(x_2511, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2526 = x_11; } else { - x_2525 = x_2490; + lean_dec_ref(x_11); + x_2526 = lean_box(0); } -lean_ctor_set(x_2525, 0, x_2488); -lean_ctor_set(x_2525, 1, x_2524); -if (lean_is_scalar(x_2495)) { - x_2526 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_2526)) { + x_2527 = lean_alloc_ctor(1, 2, 0); } else { - x_2526 = x_2495; + x_2527 = x_2526; } -lean_ctor_set(x_2526, 0, x_2525); -lean_ctor_set(x_2526, 1, x_2494); -return x_2526; +lean_ctor_set(x_2527, 0, x_2518); +lean_ctor_set(x_2527, 1, x_2525); +x_2528 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2529 = lean_array_push(x_2528, x_2527); +x_2530 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2531 = lean_array_push(x_2529, x_2530); +x_2532 = lean_array_push(x_2531, x_2504); +x_2533 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2534 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2534, 0, x_2533); +lean_ctor_set(x_2534, 1, x_2532); +x_2535 = lean_array_push(x_2511, x_2534); +x_2536 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2536, 0, x_2518); +lean_ctor_set(x_2536, 1, x_2535); +x_2537 = lean_array_push(x_2524, x_2536); +x_2538 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2539 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2539, 0, x_2538); +lean_ctor_set(x_2539, 1, x_2537); +if (lean_is_scalar(x_2505)) { + x_2540 = lean_alloc_ctor(0, 2, 0); +} else { + x_2540 = x_2505; +} +lean_ctor_set(x_2540, 0, x_2503); +lean_ctor_set(x_2540, 1, x_2539); +if (lean_is_scalar(x_2510)) { + x_2541 = lean_alloc_ctor(0, 2, 0); +} else { + x_2541 = x_2510; +} +lean_ctor_set(x_2541, 0, x_2540); +lean_ctor_set(x_2541, 1, x_2509); +return x_2541; } else { -lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; -lean_dec(x_2478); +lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; +lean_dec(x_2493); lean_dec(x_11); lean_dec(x_5); -x_2527 = lean_ctor_get(x_2485, 0); -lean_inc(x_2527); -x_2528 = lean_ctor_get(x_2485, 1); -lean_inc(x_2528); -if (lean_is_exclusive(x_2485)) { - lean_ctor_release(x_2485, 0); - lean_ctor_release(x_2485, 1); - x_2529 = x_2485; +x_2542 = lean_ctor_get(x_2500, 0); +lean_inc(x_2542); +x_2543 = lean_ctor_get(x_2500, 1); +lean_inc(x_2543); +if (lean_is_exclusive(x_2500)) { + lean_ctor_release(x_2500, 0); + lean_ctor_release(x_2500, 1); + x_2544 = x_2500; } else { - lean_dec_ref(x_2485); - x_2529 = lean_box(0); + lean_dec_ref(x_2500); + x_2544 = lean_box(0); } -if (lean_is_scalar(x_2529)) { - x_2530 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2544)) { + x_2545 = lean_alloc_ctor(1, 2, 0); } else { - x_2530 = x_2529; + x_2545 = x_2544; } -lean_ctor_set(x_2530, 0, x_2527); -lean_ctor_set(x_2530, 1, x_2528); -return x_2530; +lean_ctor_set(x_2545, 0, x_2542); +lean_ctor_set(x_2545, 1, x_2543); +return x_2545; } } else { -lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; uint8_t x_2534; +lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; uint8_t x_2549; lean_dec(x_11); -x_2531 = lean_ctor_get(x_2476, 0); -lean_inc(x_2531); -lean_dec(x_2476); -x_2532 = lean_ctor_get(x_2531, 0); -lean_inc(x_2532); -x_2533 = lean_ctor_get(x_2531, 1); -lean_inc(x_2533); -lean_dec(x_2531); -x_2534 = l_Lean_Syntax_isNone(x_2533); -lean_dec(x_2533); -if (x_2534 == 0) +x_2546 = lean_ctor_get(x_2491, 0); +lean_inc(x_2546); +lean_dec(x_2491); +x_2547 = lean_ctor_get(x_2546, 0); +lean_inc(x_2547); +x_2548 = lean_ctor_get(x_2546, 1); +lean_inc(x_2548); +lean_dec(x_2546); +x_2549 = l_Lean_Syntax_isNone(x_2548); +lean_dec(x_2548); +if (x_2549 == 0) { -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_dec(x_2532); +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_dec(x_2547); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2535 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_2536 = l_Lean_Elab_Term_throwError___rarg(x_2475, x_2535, x_5, x_6); -lean_dec(x_2475); -x_2537 = lean_ctor_get(x_2536, 0); -lean_inc(x_2537); -x_2538 = lean_ctor_get(x_2536, 1); -lean_inc(x_2538); -if (lean_is_exclusive(x_2536)) { - lean_ctor_release(x_2536, 0); - lean_ctor_release(x_2536, 1); - x_2539 = x_2536; +x_2550 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2551 = l_Lean_Elab_Term_throwError___rarg(x_2489, x_2550, x_5, x_6); +lean_dec(x_2489); +x_2552 = lean_ctor_get(x_2551, 0); +lean_inc(x_2552); +x_2553 = lean_ctor_get(x_2551, 1); +lean_inc(x_2553); +if (lean_is_exclusive(x_2551)) { + lean_ctor_release(x_2551, 0); + lean_ctor_release(x_2551, 1); + x_2554 = x_2551; } else { - lean_dec_ref(x_2536); - x_2539 = lean_box(0); + lean_dec_ref(x_2551); + x_2554 = lean_box(0); } -if (lean_is_scalar(x_2539)) { - x_2540 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2554)) { + x_2555 = lean_alloc_ctor(1, 2, 0); } else { - x_2540 = x_2539; + x_2555 = x_2554; } -lean_ctor_set(x_2540, 0, x_2537); -lean_ctor_set(x_2540, 1, x_2538); -return x_2540; +lean_ctor_set(x_2555, 0, x_2552); +lean_ctor_set(x_2555, 1, x_2553); +return x_2555; } else { -lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; -x_2541 = l_Lean_mkHole(x_2475); -lean_dec(x_2475); -x_2542 = lean_unsigned_to_nat(1u); -x_2543 = lean_nat_add(x_3, x_2542); +lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; +x_2556 = l_Lean_mkHole(x_2489); +lean_dec(x_2489); +x_2557 = lean_unsigned_to_nat(1u); +x_2558 = lean_nat_add(x_3, x_2557); lean_dec(x_3); -x_2544 = l_Lean_Elab_Term_mkExplicitBinder(x_2532, x_2541); -x_2545 = lean_array_push(x_4, x_2544); -x_3 = x_2543; -x_4 = x_2545; +x_2559 = l_Lean_Elab_Term_mkExplicitBinder(x_2547, x_2556); +x_2560 = lean_array_push(x_4, x_2559); +x_3 = x_2558; +x_4 = x_2560; goto _start; } } } else { -lean_object* x_2547; uint8_t x_2548; -lean_dec(x_2312); -x_2547 = l_Lean_mkHole___closed__1; -x_2548 = lean_string_dec_eq(x_19, x_2547); -if (x_2548 == 0) +lean_object* x_2562; uint8_t x_2563; +lean_dec(x_2324); +x_2562 = l_Lean_mkHole___closed__1; +x_2563 = lean_string_dec_eq(x_19, x_2562); +if (x_2563 == 0) { -lean_object* x_2549; uint8_t x_2550; -x_2549 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; -x_2550 = lean_string_dec_eq(x_19, x_2549); -if (x_2550 == 0) +lean_object* x_2564; uint8_t x_2565; +x_2564 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_2565 = lean_string_dec_eq(x_19, x_2564); +if (x_2565 == 0) { -lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; -if (lean_is_scalar(x_2319)) { - x_2551 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; uint8_t x_2570; lean_object* x_2571; +if (lean_is_scalar(x_2331)) { + x_2566 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2551 = x_2319; + x_2566 = x_2331; } -lean_ctor_set(x_2551, 0, x_16); -lean_ctor_set(x_2551, 1, x_2320); -lean_ctor_set_usize(x_2551, 2, x_2318); -if (lean_is_scalar(x_2316)) { - x_2552 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2566, 0, x_16); +lean_ctor_set(x_2566, 1, x_2332); +lean_ctor_set_usize(x_2566, 2, x_2330); +if (lean_is_scalar(x_2328)) { + x_2567 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2552 = x_2316; + x_2567 = x_2328; } -lean_ctor_set(x_2552, 0, x_2551); -lean_ctor_set(x_2552, 1, x_2393); -lean_ctor_set_usize(x_2552, 2, x_2315); -x_2553 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2553, 0, x_2552); -lean_ctor_set(x_2553, 1, x_2470); -lean_ctor_set_usize(x_2553, 2, x_2313); -lean_ctor_set(x_12, 0, x_2553); -x_2554 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2554, 0, x_12); -lean_ctor_set(x_2554, 1, x_17); -x_2555 = l_Lean_Syntax_isTermId_x3f(x_2554); -if (lean_obj_tag(x_2555) == 0) +lean_ctor_set(x_2567, 0, x_2566); +lean_ctor_set(x_2567, 1, x_2406); +lean_ctor_set_usize(x_2567, 2, x_2327); +x_2568 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2568, 0, x_2567); +lean_ctor_set(x_2568, 1, x_2484); +lean_ctor_set_usize(x_2568, 2, x_2325); +lean_ctor_set(x_12, 0, x_2568); +x_2569 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2569, 0, x_12); +lean_ctor_set(x_2569, 1, x_17); +x_2570 = 1; +lean_inc(x_2569); +x_2571 = l_Lean_Syntax_isTermId_x3f(x_2569, x_2570); +if (lean_obj_tag(x_2571) == 0) { -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_object* x_2562; lean_object* x_2563; lean_object* x_2564; -lean_dec(x_2554); -x_2556 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2557 = lean_ctor_get(x_2556, 0); -lean_inc(x_2557); -x_2558 = lean_ctor_get(x_2556, 1); -lean_inc(x_2558); -lean_dec(x_2556); -x_2559 = lean_unsigned_to_nat(1u); -x_2560 = lean_nat_add(x_3, x_2559); -lean_dec(x_3); -x_2561 = l_Lean_mkHole(x_11); -lean_inc(x_2557); -x_2562 = l_Lean_Elab_Term_mkExplicitBinder(x_2557, x_2561); -x_2563 = lean_array_push(x_4, x_2562); -lean_inc(x_5); -x_2564 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2560, x_2563, x_5, x_2558); -if (lean_obj_tag(x_2564) == 0) -{ -lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; -x_2565 = lean_ctor_get(x_2564, 0); -lean_inc(x_2565); -x_2566 = lean_ctor_get(x_2564, 1); -lean_inc(x_2566); -lean_dec(x_2564); -x_2567 = lean_ctor_get(x_2565, 0); -lean_inc(x_2567); -x_2568 = lean_ctor_get(x_2565, 1); -lean_inc(x_2568); -if (lean_is_exclusive(x_2565)) { - lean_ctor_release(x_2565, 0); - lean_ctor_release(x_2565, 1); - x_2569 = x_2565; -} else { - lean_dec_ref(x_2565); - x_2569 = lean_box(0); -} -x_2570 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2566); -lean_dec(x_5); -x_2571 = lean_ctor_get(x_2570, 1); -lean_inc(x_2571); -lean_dec(x_2570); -x_2572 = l_Lean_Elab_Term_getMainModule___rarg(x_2571); -x_2573 = lean_ctor_get(x_2572, 1); +lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; +lean_dec(x_2569); +x_2572 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2573 = lean_ctor_get(x_2572, 0); lean_inc(x_2573); -if (lean_is_exclusive(x_2572)) { - lean_ctor_release(x_2572, 0); - lean_ctor_release(x_2572, 1); - x_2574 = x_2572; +x_2574 = lean_ctor_get(x_2572, 1); +lean_inc(x_2574); +lean_dec(x_2572); +x_2575 = lean_unsigned_to_nat(1u); +x_2576 = lean_nat_add(x_3, x_2575); +lean_dec(x_3); +x_2577 = l_Lean_mkHole(x_11); +lean_inc(x_2573); +x_2578 = l_Lean_Elab_Term_mkExplicitBinder(x_2573, x_2577); +x_2579 = lean_array_push(x_4, x_2578); +lean_inc(x_5); +x_2580 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2576, x_2579, x_5, x_2574); +if (lean_obj_tag(x_2580) == 0) +{ +lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; lean_object* 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; +x_2581 = lean_ctor_get(x_2580, 0); +lean_inc(x_2581); +x_2582 = lean_ctor_get(x_2580, 1); +lean_inc(x_2582); +lean_dec(x_2580); +x_2583 = lean_ctor_get(x_2581, 0); +lean_inc(x_2583); +x_2584 = lean_ctor_get(x_2581, 1); +lean_inc(x_2584); +if (lean_is_exclusive(x_2581)) { + lean_ctor_release(x_2581, 0); + lean_ctor_release(x_2581, 1); + x_2585 = x_2581; } else { - lean_dec_ref(x_2572); - x_2574 = lean_box(0); + lean_dec_ref(x_2581); + x_2585 = lean_box(0); } -x_2575 = l_Array_empty___closed__1; -x_2576 = lean_array_push(x_2575, x_2557); -x_2577 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2578 = lean_array_push(x_2576, x_2577); -x_2579 = l_Lean_mkTermIdFromIdent___closed__2; -x_2580 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2580, 0, x_2579); -lean_ctor_set(x_2580, 1, x_2578); -x_2581 = lean_array_push(x_2575, x_2580); -x_2582 = l_Lean_nullKind___closed__2; -x_2583 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2583, 0, x_2582); -lean_ctor_set(x_2583, 1, x_2581); -x_2584 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2585 = lean_array_push(x_2584, x_2583); -x_2586 = lean_array_push(x_2585, x_2577); -x_2587 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2588 = lean_array_push(x_2586, x_2587); -lean_inc(x_11); -x_2589 = lean_array_push(x_2575, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_2590 = x_11; +x_2586 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2582); +lean_dec(x_5); +x_2587 = lean_ctor_get(x_2586, 1); +lean_inc(x_2587); +lean_dec(x_2586); +x_2588 = l_Lean_Elab_Term_getMainModule___rarg(x_2587); +x_2589 = lean_ctor_get(x_2588, 1); +lean_inc(x_2589); +if (lean_is_exclusive(x_2588)) { + lean_ctor_release(x_2588, 0); + lean_ctor_release(x_2588, 1); + x_2590 = x_2588; } else { - lean_dec_ref(x_11); + lean_dec_ref(x_2588); x_2590 = lean_box(0); } +x_2591 = l_Array_empty___closed__1; +x_2592 = lean_array_push(x_2591, x_2573); +x_2593 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2594 = lean_array_push(x_2592, x_2593); +x_2595 = l_Lean_mkTermIdFromIdent___closed__2; +x_2596 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2596, 0, x_2595); +lean_ctor_set(x_2596, 1, x_2594); +x_2597 = lean_array_push(x_2591, x_2596); +x_2598 = l_Lean_nullKind___closed__2; +x_2599 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2599, 0, x_2598); +lean_ctor_set(x_2599, 1, x_2597); +x_2600 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2601 = lean_array_push(x_2600, x_2599); +x_2602 = lean_array_push(x_2601, x_2593); +x_2603 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2604 = lean_array_push(x_2602, x_2603); +lean_inc(x_11); +x_2605 = lean_array_push(x_2591, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2606 = x_11; +} else { + lean_dec_ref(x_11); + x_2606 = lean_box(0); +} +if (lean_is_scalar(x_2606)) { + x_2607 = lean_alloc_ctor(1, 2, 0); +} else { + x_2607 = x_2606; +} +lean_ctor_set(x_2607, 0, x_2598); +lean_ctor_set(x_2607, 1, x_2605); +x_2608 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2609 = lean_array_push(x_2608, x_2607); +x_2610 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2611 = lean_array_push(x_2609, x_2610); +x_2612 = lean_array_push(x_2611, x_2584); +x_2613 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2614 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2614, 0, x_2613); +lean_ctor_set(x_2614, 1, x_2612); +x_2615 = lean_array_push(x_2591, x_2614); +x_2616 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2616, 0, x_2598); +lean_ctor_set(x_2616, 1, x_2615); +x_2617 = lean_array_push(x_2604, x_2616); +x_2618 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2619 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2619, 0, x_2618); +lean_ctor_set(x_2619, 1, x_2617); +if (lean_is_scalar(x_2585)) { + x_2620 = lean_alloc_ctor(0, 2, 0); +} else { + x_2620 = x_2585; +} +lean_ctor_set(x_2620, 0, x_2583); +lean_ctor_set(x_2620, 1, x_2619); if (lean_is_scalar(x_2590)) { - x_2591 = lean_alloc_ctor(1, 2, 0); + x_2621 = lean_alloc_ctor(0, 2, 0); } else { - x_2591 = x_2590; + x_2621 = x_2590; } -lean_ctor_set(x_2591, 0, x_2582); -lean_ctor_set(x_2591, 1, x_2589); -x_2592 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2593 = lean_array_push(x_2592, x_2591); -x_2594 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2595 = lean_array_push(x_2593, x_2594); -x_2596 = lean_array_push(x_2595, x_2568); -x_2597 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2598 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2598, 0, x_2597); -lean_ctor_set(x_2598, 1, x_2596); -x_2599 = lean_array_push(x_2575, x_2598); -x_2600 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2600, 0, x_2582); -lean_ctor_set(x_2600, 1, x_2599); -x_2601 = lean_array_push(x_2588, x_2600); -x_2602 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2603, 0, x_2602); -lean_ctor_set(x_2603, 1, x_2601); -if (lean_is_scalar(x_2569)) { - x_2604 = lean_alloc_ctor(0, 2, 0); -} else { - x_2604 = x_2569; -} -lean_ctor_set(x_2604, 0, x_2567); -lean_ctor_set(x_2604, 1, x_2603); -if (lean_is_scalar(x_2574)) { - x_2605 = lean_alloc_ctor(0, 2, 0); -} else { - x_2605 = x_2574; -} -lean_ctor_set(x_2605, 0, x_2604); -lean_ctor_set(x_2605, 1, x_2573); -return x_2605; +lean_ctor_set(x_2621, 0, x_2620); +lean_ctor_set(x_2621, 1, x_2589); +return x_2621; } else { -lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; -lean_dec(x_2557); +lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; +lean_dec(x_2573); lean_dec(x_11); lean_dec(x_5); -x_2606 = lean_ctor_get(x_2564, 0); -lean_inc(x_2606); -x_2607 = lean_ctor_get(x_2564, 1); -lean_inc(x_2607); -if (lean_is_exclusive(x_2564)) { - lean_ctor_release(x_2564, 0); - lean_ctor_release(x_2564, 1); - x_2608 = x_2564; +x_2622 = lean_ctor_get(x_2580, 0); +lean_inc(x_2622); +x_2623 = lean_ctor_get(x_2580, 1); +lean_inc(x_2623); +if (lean_is_exclusive(x_2580)) { + lean_ctor_release(x_2580, 0); + lean_ctor_release(x_2580, 1); + x_2624 = x_2580; } else { - lean_dec_ref(x_2564); - x_2608 = lean_box(0); + lean_dec_ref(x_2580); + x_2624 = lean_box(0); } -if (lean_is_scalar(x_2608)) { - x_2609 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2624)) { + x_2625 = lean_alloc_ctor(1, 2, 0); } else { - x_2609 = x_2608; + x_2625 = x_2624; } -lean_ctor_set(x_2609, 0, x_2606); -lean_ctor_set(x_2609, 1, x_2607); -return x_2609; +lean_ctor_set(x_2625, 0, x_2622); +lean_ctor_set(x_2625, 1, x_2623); +return x_2625; } } else { -lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; uint8_t x_2613; +lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; uint8_t x_2629; lean_dec(x_11); -x_2610 = lean_ctor_get(x_2555, 0); -lean_inc(x_2610); -lean_dec(x_2555); -x_2611 = lean_ctor_get(x_2610, 0); -lean_inc(x_2611); -x_2612 = lean_ctor_get(x_2610, 1); -lean_inc(x_2612); -lean_dec(x_2610); -x_2613 = l_Lean_Syntax_isNone(x_2612); -lean_dec(x_2612); -if (x_2613 == 0) +x_2626 = lean_ctor_get(x_2571, 0); +lean_inc(x_2626); +lean_dec(x_2571); +x_2627 = lean_ctor_get(x_2626, 0); +lean_inc(x_2627); +x_2628 = lean_ctor_get(x_2626, 1); +lean_inc(x_2628); +lean_dec(x_2626); +x_2629 = l_Lean_Syntax_isNone(x_2628); +lean_dec(x_2628); +if (x_2629 == 0) { -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_dec(x_2611); +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_dec(x_2627); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2614 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_2615 = l_Lean_Elab_Term_throwError___rarg(x_2554, x_2614, x_5, x_6); -lean_dec(x_2554); -x_2616 = lean_ctor_get(x_2615, 0); -lean_inc(x_2616); -x_2617 = lean_ctor_get(x_2615, 1); -lean_inc(x_2617); -if (lean_is_exclusive(x_2615)) { - lean_ctor_release(x_2615, 0); - lean_ctor_release(x_2615, 1); - x_2618 = x_2615; +x_2630 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2631 = l_Lean_Elab_Term_throwError___rarg(x_2569, x_2630, x_5, x_6); +lean_dec(x_2569); +x_2632 = lean_ctor_get(x_2631, 0); +lean_inc(x_2632); +x_2633 = lean_ctor_get(x_2631, 1); +lean_inc(x_2633); +if (lean_is_exclusive(x_2631)) { + lean_ctor_release(x_2631, 0); + lean_ctor_release(x_2631, 1); + x_2634 = x_2631; } else { - lean_dec_ref(x_2615); - x_2618 = lean_box(0); + lean_dec_ref(x_2631); + x_2634 = lean_box(0); } -if (lean_is_scalar(x_2618)) { - x_2619 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2634)) { + x_2635 = lean_alloc_ctor(1, 2, 0); } else { - x_2619 = x_2618; + x_2635 = x_2634; } -lean_ctor_set(x_2619, 0, x_2616); -lean_ctor_set(x_2619, 1, x_2617); -return x_2619; +lean_ctor_set(x_2635, 0, x_2632); +lean_ctor_set(x_2635, 1, x_2633); +return x_2635; } else { -lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; -x_2620 = l_Lean_mkHole(x_2554); -lean_dec(x_2554); -x_2621 = lean_unsigned_to_nat(1u); -x_2622 = lean_nat_add(x_3, x_2621); +lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; +x_2636 = l_Lean_mkHole(x_2569); +lean_dec(x_2569); +x_2637 = lean_unsigned_to_nat(1u); +x_2638 = lean_nat_add(x_3, x_2637); lean_dec(x_3); -x_2623 = l_Lean_Elab_Term_mkExplicitBinder(x_2611, x_2620); -x_2624 = lean_array_push(x_4, x_2623); -x_3 = x_2622; -x_4 = x_2624; +x_2639 = l_Lean_Elab_Term_mkExplicitBinder(x_2627, x_2636); +x_2640 = lean_array_push(x_4, x_2639); +x_3 = x_2638; +x_4 = x_2640; goto _start; } } } else { -lean_object* x_2626; lean_object* x_2627; uint8_t x_2628; -lean_dec(x_2319); -lean_dec(x_2316); +lean_object* x_2642; lean_object* x_2643; uint8_t x_2644; +lean_dec(x_2331); +lean_dec(x_2328); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_2626 = lean_unsigned_to_nat(1u); -x_2627 = l_Lean_Syntax_getArg(x_11, x_2626); -x_2628 = l_Lean_Syntax_isNone(x_2627); -if (x_2628 == 0) +x_2642 = lean_unsigned_to_nat(1u); +x_2643 = l_Lean_Syntax_getArg(x_11, x_2642); +x_2644 = l_Lean_Syntax_isNone(x_2643); +if (x_2644 == 0) { -lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; uint8_t x_2632; -x_2629 = lean_unsigned_to_nat(0u); -x_2630 = l_Lean_Syntax_getArg(x_2627, x_2629); -x_2631 = l_Lean_Syntax_getArg(x_2627, x_2626); -lean_dec(x_2627); -x_2632 = l_Lean_Syntax_isNone(x_2631); -if (x_2632 == 0) +lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; uint8_t x_2648; +x_2645 = lean_unsigned_to_nat(0u); +x_2646 = l_Lean_Syntax_getArg(x_2643, x_2645); +x_2647 = l_Lean_Syntax_getArg(x_2643, x_2642); +lean_dec(x_2643); +x_2648 = l_Lean_Syntax_isNone(x_2647); +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; uint8_t x_2640; -x_2633 = l_Lean_Syntax_getArg(x_2631, x_2629); -lean_dec(x_2631); -lean_inc(x_2633); -x_2634 = l_Lean_Syntax_getKind(x_2633); -x_2635 = lean_name_mk_string(x_16, x_2320); -x_2636 = lean_name_mk_string(x_2635, x_2393); -x_2637 = lean_name_mk_string(x_2636, x_2470); -x_2638 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; -x_2639 = lean_name_mk_string(x_2637, x_2638); -x_2640 = lean_name_eq(x_2634, x_2639); -lean_dec(x_2639); -lean_dec(x_2634); -if (x_2640 == 0) -{ -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_2633); -lean_dec(x_2630); -x_2641 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2642 = lean_ctor_get(x_2641, 0); -lean_inc(x_2642); -x_2643 = lean_ctor_get(x_2641, 1); -lean_inc(x_2643); -lean_dec(x_2641); -x_2644 = lean_nat_add(x_3, x_2626); -lean_dec(x_3); -x_2645 = l_Lean_mkHole(x_11); -lean_inc(x_2642); -x_2646 = l_Lean_Elab_Term_mkExplicitBinder(x_2642, x_2645); -x_2647 = lean_array_push(x_4, x_2646); -lean_inc(x_5); -x_2648 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2644, x_2647, x_5, x_2643); -if (lean_obj_tag(x_2648) == 0) -{ -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_object* x_2665; lean_object* x_2666; lean_object* x_2667; lean_object* x_2668; lean_object* x_2669; lean_object* x_2670; lean_object* x_2671; lean_object* x_2672; lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; lean_object* x_2684; lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; lean_object* x_2688; lean_object* x_2689; -x_2649 = lean_ctor_get(x_2648, 0); +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; uint8_t x_2656; +x_2649 = l_Lean_Syntax_getArg(x_2647, x_2645); +lean_dec(x_2647); lean_inc(x_2649); -x_2650 = lean_ctor_get(x_2648, 1); -lean_inc(x_2650); -lean_dec(x_2648); -x_2651 = lean_ctor_get(x_2649, 0); -lean_inc(x_2651); -x_2652 = lean_ctor_get(x_2649, 1); -lean_inc(x_2652); -if (lean_is_exclusive(x_2649)) { - lean_ctor_release(x_2649, 0); - lean_ctor_release(x_2649, 1); - x_2653 = x_2649; +x_2650 = l_Lean_Syntax_getKind(x_2649); +x_2651 = lean_name_mk_string(x_16, x_2332); +x_2652 = lean_name_mk_string(x_2651, x_2406); +x_2653 = lean_name_mk_string(x_2652, x_2484); +x_2654 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; +x_2655 = lean_name_mk_string(x_2653, x_2654); +x_2656 = lean_name_eq(x_2650, x_2655); +lean_dec(x_2655); +lean_dec(x_2650); +if (x_2656 == 0) +{ +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_2649); +lean_dec(x_2646); +x_2657 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2658 = lean_ctor_get(x_2657, 0); +lean_inc(x_2658); +x_2659 = lean_ctor_get(x_2657, 1); +lean_inc(x_2659); +lean_dec(x_2657); +x_2660 = lean_nat_add(x_3, x_2642); +lean_dec(x_3); +x_2661 = l_Lean_mkHole(x_11); +lean_inc(x_2658); +x_2662 = l_Lean_Elab_Term_mkExplicitBinder(x_2658, x_2661); +x_2663 = lean_array_push(x_4, x_2662); +lean_inc(x_5); +x_2664 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2660, x_2663, x_5, x_2659); +if (lean_obj_tag(x_2664) == 0) +{ +lean_object* x_2665; lean_object* x_2666; lean_object* x_2667; lean_object* x_2668; lean_object* x_2669; lean_object* x_2670; lean_object* x_2671; lean_object* x_2672; lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; lean_object* x_2684; lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; lean_object* x_2688; lean_object* x_2689; lean_object* x_2690; lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; lean_object* x_2697; lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; lean_object* x_2701; lean_object* x_2702; lean_object* x_2703; lean_object* x_2704; lean_object* x_2705; +x_2665 = lean_ctor_get(x_2664, 0); +lean_inc(x_2665); +x_2666 = lean_ctor_get(x_2664, 1); +lean_inc(x_2666); +lean_dec(x_2664); +x_2667 = lean_ctor_get(x_2665, 0); +lean_inc(x_2667); +x_2668 = lean_ctor_get(x_2665, 1); +lean_inc(x_2668); +if (lean_is_exclusive(x_2665)) { + lean_ctor_release(x_2665, 0); + lean_ctor_release(x_2665, 1); + x_2669 = x_2665; } else { - lean_dec_ref(x_2649); - x_2653 = lean_box(0); + lean_dec_ref(x_2665); + x_2669 = lean_box(0); } -x_2654 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2650); +x_2670 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2666); lean_dec(x_5); -x_2655 = lean_ctor_get(x_2654, 1); -lean_inc(x_2655); -lean_dec(x_2654); -x_2656 = l_Lean_Elab_Term_getMainModule___rarg(x_2655); -x_2657 = lean_ctor_get(x_2656, 1); -lean_inc(x_2657); -if (lean_is_exclusive(x_2656)) { - lean_ctor_release(x_2656, 0); - lean_ctor_release(x_2656, 1); - x_2658 = x_2656; +x_2671 = lean_ctor_get(x_2670, 1); +lean_inc(x_2671); +lean_dec(x_2670); +x_2672 = l_Lean_Elab_Term_getMainModule___rarg(x_2671); +x_2673 = lean_ctor_get(x_2672, 1); +lean_inc(x_2673); +if (lean_is_exclusive(x_2672)) { + lean_ctor_release(x_2672, 0); + lean_ctor_release(x_2672, 1); + x_2674 = x_2672; } else { - lean_dec_ref(x_2656); - x_2658 = lean_box(0); -} -x_2659 = l_Array_empty___closed__1; -x_2660 = lean_array_push(x_2659, x_2642); -x_2661 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2662 = lean_array_push(x_2660, x_2661); -x_2663 = l_Lean_mkTermIdFromIdent___closed__2; -x_2664 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2664, 0, x_2663); -lean_ctor_set(x_2664, 1, x_2662); -x_2665 = lean_array_push(x_2659, x_2664); -x_2666 = l_Lean_nullKind___closed__2; -x_2667 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2667, 0, x_2666); -lean_ctor_set(x_2667, 1, x_2665); -x_2668 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2669 = lean_array_push(x_2668, x_2667); -x_2670 = lean_array_push(x_2669, x_2661); -x_2671 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2672 = lean_array_push(x_2670, x_2671); -lean_inc(x_11); -x_2673 = lean_array_push(x_2659, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_2674 = x_11; -} else { - lean_dec_ref(x_11); + lean_dec_ref(x_2672); x_2674 = lean_box(0); } -if (lean_is_scalar(x_2674)) { - x_2675 = lean_alloc_ctor(1, 2, 0); -} else { - x_2675 = x_2674; -} -lean_ctor_set(x_2675, 0, x_2666); -lean_ctor_set(x_2675, 1, x_2673); -x_2676 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2677 = lean_array_push(x_2676, x_2675); -x_2678 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2679 = lean_array_push(x_2677, x_2678); -x_2680 = lean_array_push(x_2679, x_2652); -x_2681 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2682 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2682, 0, x_2681); -lean_ctor_set(x_2682, 1, x_2680); -x_2683 = lean_array_push(x_2659, x_2682); -x_2684 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2684, 0, x_2666); -lean_ctor_set(x_2684, 1, x_2683); -x_2685 = lean_array_push(x_2672, x_2684); -x_2686 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2687 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2687, 0, x_2686); -lean_ctor_set(x_2687, 1, x_2685); -if (lean_is_scalar(x_2653)) { - x_2688 = lean_alloc_ctor(0, 2, 0); -} else { - x_2688 = x_2653; -} -lean_ctor_set(x_2688, 0, x_2651); -lean_ctor_set(x_2688, 1, x_2687); -if (lean_is_scalar(x_2658)) { - x_2689 = lean_alloc_ctor(0, 2, 0); -} else { - x_2689 = x_2658; -} -lean_ctor_set(x_2689, 0, x_2688); -lean_ctor_set(x_2689, 1, x_2657); -return x_2689; -} -else -{ -lean_object* x_2690; lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; -lean_dec(x_2642); -lean_dec(x_11); -lean_dec(x_5); -x_2690 = lean_ctor_get(x_2648, 0); -lean_inc(x_2690); -x_2691 = lean_ctor_get(x_2648, 1); -lean_inc(x_2691); -if (lean_is_exclusive(x_2648)) { - lean_ctor_release(x_2648, 0); - lean_ctor_release(x_2648, 1); - x_2692 = x_2648; -} else { - lean_dec_ref(x_2648); - x_2692 = lean_box(0); -} -if (lean_is_scalar(x_2692)) { - x_2693 = lean_alloc_ctor(1, 2, 0); -} else { - x_2693 = x_2692; -} -lean_ctor_set(x_2693, 0, x_2690); -lean_ctor_set(x_2693, 1, x_2691); -return x_2693; -} -} -else -{ -lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; -x_2694 = l_Lean_Syntax_getArg(x_2633, x_2626); -lean_dec(x_2633); -x_2695 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_2630, x_5, x_6); -x_2696 = lean_ctor_get(x_2695, 0); -lean_inc(x_2696); -if (lean_obj_tag(x_2696) == 0) -{ -lean_object* x_2697; lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; lean_object* x_2701; lean_object* x_2702; lean_object* x_2703; lean_object* x_2704; lean_object* x_2705; -lean_dec(x_2694); -x_2697 = lean_ctor_get(x_2695, 1); -lean_inc(x_2697); -lean_dec(x_2695); -x_2698 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_2697); -x_2699 = lean_ctor_get(x_2698, 0); -lean_inc(x_2699); -x_2700 = lean_ctor_get(x_2698, 1); -lean_inc(x_2700); -lean_dec(x_2698); -x_2701 = lean_nat_add(x_3, x_2626); -lean_dec(x_3); -x_2702 = l_Lean_mkHole(x_11); -lean_inc(x_2699); -x_2703 = l_Lean_Elab_Term_mkExplicitBinder(x_2699, x_2702); -x_2704 = lean_array_push(x_4, x_2703); -lean_inc(x_5); -x_2705 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2701, x_2704, x_5, x_2700); -if (lean_obj_tag(x_2705) == 0) -{ -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; 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; -x_2706 = lean_ctor_get(x_2705, 0); -lean_inc(x_2706); -x_2707 = lean_ctor_get(x_2705, 1); -lean_inc(x_2707); -lean_dec(x_2705); -x_2708 = lean_ctor_get(x_2706, 0); -lean_inc(x_2708); -x_2709 = lean_ctor_get(x_2706, 1); -lean_inc(x_2709); -if (lean_is_exclusive(x_2706)) { - lean_ctor_release(x_2706, 0); - lean_ctor_release(x_2706, 1); - x_2710 = x_2706; -} else { - lean_dec_ref(x_2706); - x_2710 = lean_box(0); -} -x_2711 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2707); -lean_dec(x_5); -x_2712 = lean_ctor_get(x_2711, 1); -lean_inc(x_2712); -lean_dec(x_2711); -x_2713 = l_Lean_Elab_Term_getMainModule___rarg(x_2712); -x_2714 = lean_ctor_get(x_2713, 1); -lean_inc(x_2714); -if (lean_is_exclusive(x_2713)) { - lean_ctor_release(x_2713, 0); - lean_ctor_release(x_2713, 1); - x_2715 = x_2713; -} else { - lean_dec_ref(x_2713); - x_2715 = lean_box(0); -} -x_2716 = l_Array_empty___closed__1; -x_2717 = lean_array_push(x_2716, x_2699); -x_2718 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2719 = lean_array_push(x_2717, x_2718); -x_2720 = l_Lean_mkTermIdFromIdent___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 = lean_array_push(x_2716, x_2721); -x_2723 = l_Lean_nullKind___closed__2; -x_2724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2724, 0, x_2723); -lean_ctor_set(x_2724, 1, x_2722); -x_2725 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2726 = lean_array_push(x_2725, x_2724); -x_2727 = lean_array_push(x_2726, x_2718); -x_2728 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2729 = lean_array_push(x_2727, x_2728); +x_2675 = l_Array_empty___closed__1; +x_2676 = lean_array_push(x_2675, x_2658); +x_2677 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2678 = lean_array_push(x_2676, x_2677); +x_2679 = l_Lean_mkTermIdFromIdent___closed__2; +x_2680 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2680, 0, x_2679); +lean_ctor_set(x_2680, 1, x_2678); +x_2681 = lean_array_push(x_2675, x_2680); +x_2682 = l_Lean_nullKind___closed__2; +x_2683 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2683, 0, x_2682); +lean_ctor_set(x_2683, 1, x_2681); +x_2684 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2685 = lean_array_push(x_2684, x_2683); +x_2686 = lean_array_push(x_2685, x_2677); +x_2687 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2688 = lean_array_push(x_2686, x_2687); lean_inc(x_11); -x_2730 = lean_array_push(x_2716, x_11); +x_2689 = lean_array_push(x_2675, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2731 = x_11; + x_2690 = x_11; } else { lean_dec_ref(x_11); - x_2731 = lean_box(0); + x_2690 = lean_box(0); } -if (lean_is_scalar(x_2731)) { - x_2732 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2690)) { + x_2691 = lean_alloc_ctor(1, 2, 0); } else { - x_2732 = x_2731; + x_2691 = x_2690; } -lean_ctor_set(x_2732, 0, x_2723); -lean_ctor_set(x_2732, 1, x_2730); -x_2733 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2734 = lean_array_push(x_2733, x_2732); -x_2735 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2736 = lean_array_push(x_2734, x_2735); -x_2737 = lean_array_push(x_2736, x_2709); -x_2738 = l_Lean_Parser_Term_matchAlt___elambda__1___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 = lean_array_push(x_2716, x_2739); -x_2741 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2741, 0, x_2723); -lean_ctor_set(x_2741, 1, x_2740); -x_2742 = lean_array_push(x_2729, x_2741); -x_2743 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2744 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2744, 0, x_2743); -lean_ctor_set(x_2744, 1, x_2742); -if (lean_is_scalar(x_2710)) { - x_2745 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2691, 0, x_2682); +lean_ctor_set(x_2691, 1, x_2689); +x_2692 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2693 = lean_array_push(x_2692, x_2691); +x_2694 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2695 = lean_array_push(x_2693, x_2694); +x_2696 = lean_array_push(x_2695, x_2668); +x_2697 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2698 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2698, 0, x_2697); +lean_ctor_set(x_2698, 1, x_2696); +x_2699 = lean_array_push(x_2675, x_2698); +x_2700 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2700, 0, x_2682); +lean_ctor_set(x_2700, 1, x_2699); +x_2701 = lean_array_push(x_2688, x_2700); +x_2702 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2703 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2703, 0, x_2702); +lean_ctor_set(x_2703, 1, x_2701); +if (lean_is_scalar(x_2669)) { + x_2704 = lean_alloc_ctor(0, 2, 0); } else { - x_2745 = x_2710; + x_2704 = x_2669; } -lean_ctor_set(x_2745, 0, x_2708); -lean_ctor_set(x_2745, 1, x_2744); -if (lean_is_scalar(x_2715)) { - x_2746 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2704, 0, x_2667); +lean_ctor_set(x_2704, 1, x_2703); +if (lean_is_scalar(x_2674)) { + x_2705 = lean_alloc_ctor(0, 2, 0); } else { - x_2746 = x_2715; + x_2705 = x_2674; } -lean_ctor_set(x_2746, 0, x_2745); -lean_ctor_set(x_2746, 1, x_2714); -return x_2746; +lean_ctor_set(x_2705, 0, x_2704); +lean_ctor_set(x_2705, 1, x_2673); +return x_2705; } else { -lean_object* x_2747; lean_object* x_2748; lean_object* x_2749; lean_object* x_2750; -lean_dec(x_2699); +lean_object* x_2706; lean_object* x_2707; lean_object* x_2708; lean_object* x_2709; +lean_dec(x_2658); lean_dec(x_11); lean_dec(x_5); -x_2747 = lean_ctor_get(x_2705, 0); -lean_inc(x_2747); -x_2748 = lean_ctor_get(x_2705, 1); -lean_inc(x_2748); -if (lean_is_exclusive(x_2705)) { - lean_ctor_release(x_2705, 0); - lean_ctor_release(x_2705, 1); - x_2749 = x_2705; +x_2706 = lean_ctor_get(x_2664, 0); +lean_inc(x_2706); +x_2707 = lean_ctor_get(x_2664, 1); +lean_inc(x_2707); +if (lean_is_exclusive(x_2664)) { + lean_ctor_release(x_2664, 0); + lean_ctor_release(x_2664, 1); + x_2708 = x_2664; } else { - lean_dec_ref(x_2705); - x_2749 = lean_box(0); + lean_dec_ref(x_2664); + x_2708 = lean_box(0); } -if (lean_is_scalar(x_2749)) { - x_2750 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2708)) { + x_2709 = lean_alloc_ctor(1, 2, 0); } else { - x_2750 = x_2749; + x_2709 = x_2708; } -lean_ctor_set(x_2750, 0, x_2747); -lean_ctor_set(x_2750, 1, x_2748); -return x_2750; +lean_ctor_set(x_2709, 0, x_2706); +lean_ctor_set(x_2709, 1, x_2707); +return x_2709; } } else { -lean_object* x_2751; lean_object* x_2752; lean_object* x_2753; lean_object* x_2754; lean_object* x_2755; -lean_dec(x_11); -x_2751 = lean_ctor_get(x_2695, 1); -lean_inc(x_2751); -lean_dec(x_2695); -x_2752 = lean_ctor_get(x_2696, 0); -lean_inc(x_2752); -lean_dec(x_2696); -x_2753 = lean_nat_add(x_3, x_2626); +lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; +x_2710 = l_Lean_Syntax_getArg(x_2649, x_2642); +lean_dec(x_2649); +x_2711 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_2646, x_5, x_6); +x_2712 = lean_ctor_get(x_2711, 0); +lean_inc(x_2712); +if (lean_obj_tag(x_2712) == 0) +{ +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_dec(x_2710); +x_2713 = lean_ctor_get(x_2711, 1); +lean_inc(x_2713); +lean_dec(x_2711); +x_2714 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_2713); +x_2715 = lean_ctor_get(x_2714, 0); +lean_inc(x_2715); +x_2716 = lean_ctor_get(x_2714, 1); +lean_inc(x_2716); +lean_dec(x_2714); +x_2717 = lean_nat_add(x_3, x_2642); lean_dec(x_3); -x_2754 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_2694, x_2629, x_2752); -x_2755 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2754, x_2754, x_2629, x_4); -lean_dec(x_2754); -x_3 = x_2753; -x_4 = x_2755; -x_6 = x_2751; +x_2718 = l_Lean_mkHole(x_11); +lean_inc(x_2715); +x_2719 = l_Lean_Elab_Term_mkExplicitBinder(x_2715, x_2718); +x_2720 = lean_array_push(x_4, x_2719); +lean_inc(x_5); +x_2721 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2717, x_2720, x_5, x_2716); +if (lean_obj_tag(x_2721) == 0) +{ +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; 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; +x_2722 = lean_ctor_get(x_2721, 0); +lean_inc(x_2722); +x_2723 = lean_ctor_get(x_2721, 1); +lean_inc(x_2723); +lean_dec(x_2721); +x_2724 = lean_ctor_get(x_2722, 0); +lean_inc(x_2724); +x_2725 = lean_ctor_get(x_2722, 1); +lean_inc(x_2725); +if (lean_is_exclusive(x_2722)) { + lean_ctor_release(x_2722, 0); + lean_ctor_release(x_2722, 1); + x_2726 = x_2722; +} else { + lean_dec_ref(x_2722); + x_2726 = lean_box(0); +} +x_2727 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2723); +lean_dec(x_5); +x_2728 = lean_ctor_get(x_2727, 1); +lean_inc(x_2728); +lean_dec(x_2727); +x_2729 = l_Lean_Elab_Term_getMainModule___rarg(x_2728); +x_2730 = lean_ctor_get(x_2729, 1); +lean_inc(x_2730); +if (lean_is_exclusive(x_2729)) { + lean_ctor_release(x_2729, 0); + lean_ctor_release(x_2729, 1); + x_2731 = x_2729; +} else { + lean_dec_ref(x_2729); + x_2731 = lean_box(0); +} +x_2732 = l_Array_empty___closed__1; +x_2733 = lean_array_push(x_2732, x_2715); +x_2734 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2735 = lean_array_push(x_2733, x_2734); +x_2736 = l_Lean_mkTermIdFromIdent___closed__2; +x_2737 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2737, 0, x_2736); +lean_ctor_set(x_2737, 1, x_2735); +x_2738 = lean_array_push(x_2732, x_2737); +x_2739 = l_Lean_nullKind___closed__2; +x_2740 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2740, 0, x_2739); +lean_ctor_set(x_2740, 1, x_2738); +x_2741 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2742 = lean_array_push(x_2741, x_2740); +x_2743 = lean_array_push(x_2742, x_2734); +x_2744 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2745 = lean_array_push(x_2743, x_2744); +lean_inc(x_11); +x_2746 = lean_array_push(x_2732, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2747 = x_11; +} else { + lean_dec_ref(x_11); + x_2747 = lean_box(0); +} +if (lean_is_scalar(x_2747)) { + x_2748 = lean_alloc_ctor(1, 2, 0); +} else { + x_2748 = x_2747; +} +lean_ctor_set(x_2748, 0, x_2739); +lean_ctor_set(x_2748, 1, x_2746); +x_2749 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2750 = lean_array_push(x_2749, x_2748); +x_2751 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2752 = lean_array_push(x_2750, x_2751); +x_2753 = lean_array_push(x_2752, x_2725); +x_2754 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2755 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2755, 0, x_2754); +lean_ctor_set(x_2755, 1, x_2753); +x_2756 = lean_array_push(x_2732, x_2755); +x_2757 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2757, 0, x_2739); +lean_ctor_set(x_2757, 1, x_2756); +x_2758 = lean_array_push(x_2745, x_2757); +x_2759 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2760 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2760, 0, x_2759); +lean_ctor_set(x_2760, 1, x_2758); +if (lean_is_scalar(x_2726)) { + x_2761 = lean_alloc_ctor(0, 2, 0); +} else { + x_2761 = x_2726; +} +lean_ctor_set(x_2761, 0, x_2724); +lean_ctor_set(x_2761, 1, x_2760); +if (lean_is_scalar(x_2731)) { + x_2762 = lean_alloc_ctor(0, 2, 0); +} else { + x_2762 = x_2731; +} +lean_ctor_set(x_2762, 0, x_2761); +lean_ctor_set(x_2762, 1, x_2730); +return x_2762; +} +else +{ +lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; +lean_dec(x_2715); +lean_dec(x_11); +lean_dec(x_5); +x_2763 = lean_ctor_get(x_2721, 0); +lean_inc(x_2763); +x_2764 = lean_ctor_get(x_2721, 1); +lean_inc(x_2764); +if (lean_is_exclusive(x_2721)) { + lean_ctor_release(x_2721, 0); + lean_ctor_release(x_2721, 1); + x_2765 = x_2721; +} else { + lean_dec_ref(x_2721); + x_2765 = lean_box(0); +} +if (lean_is_scalar(x_2765)) { + x_2766 = lean_alloc_ctor(1, 2, 0); +} else { + x_2766 = x_2765; +} +lean_ctor_set(x_2766, 0, x_2763); +lean_ctor_set(x_2766, 1, x_2764); +return x_2766; +} +} +else +{ +lean_object* x_2767; lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; +lean_dec(x_11); +x_2767 = lean_ctor_get(x_2711, 1); +lean_inc(x_2767); +lean_dec(x_2711); +x_2768 = lean_ctor_get(x_2712, 0); +lean_inc(x_2768); +lean_dec(x_2712); +x_2769 = lean_nat_add(x_3, x_2642); +lean_dec(x_3); +x_2770 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_2710, x_2645, x_2768); +x_2771 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_2770, x_2770, x_2645, x_4); +lean_dec(x_2770); +x_3 = x_2769; +x_4 = x_2771; +x_6 = x_2767; goto _start; } } } else { -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_dec(x_2631); -lean_dec(x_2630); -x_2757 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2758 = lean_ctor_get(x_2757, 0); -lean_inc(x_2758); -x_2759 = lean_ctor_get(x_2757, 1); -lean_inc(x_2759); -lean_dec(x_2757); -x_2760 = lean_nat_add(x_3, x_2626); +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_dec(x_2647); +lean_dec(x_2646); +x_2773 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2774 = lean_ctor_get(x_2773, 0); +lean_inc(x_2774); +x_2775 = lean_ctor_get(x_2773, 1); +lean_inc(x_2775); +lean_dec(x_2773); +x_2776 = lean_nat_add(x_3, x_2642); lean_dec(x_3); -x_2761 = l_Lean_mkHole(x_11); -lean_inc(x_2758); -x_2762 = l_Lean_Elab_Term_mkExplicitBinder(x_2758, x_2761); -x_2763 = lean_array_push(x_4, x_2762); +x_2777 = l_Lean_mkHole(x_11); +lean_inc(x_2774); +x_2778 = l_Lean_Elab_Term_mkExplicitBinder(x_2774, x_2777); +x_2779 = lean_array_push(x_4, x_2778); lean_inc(x_5); -x_2764 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2760, x_2763, x_5, x_2759); -if (lean_obj_tag(x_2764) == 0) +x_2780 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2776, x_2779, x_5, x_2775); +if (lean_obj_tag(x_2780) == 0) { -lean_object* x_2765; lean_object* x_2766; lean_object* x_2767; 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_object* x_2784; lean_object* x_2785; lean_object* x_2786; lean_object* x_2787; lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; lean_object* x_2791; lean_object* x_2792; lean_object* x_2793; lean_object* x_2794; lean_object* x_2795; lean_object* x_2796; lean_object* x_2797; lean_object* x_2798; lean_object* x_2799; lean_object* x_2800; lean_object* x_2801; lean_object* x_2802; lean_object* x_2803; lean_object* x_2804; lean_object* x_2805; -x_2765 = lean_ctor_get(x_2764, 0); -lean_inc(x_2765); -x_2766 = lean_ctor_get(x_2764, 1); -lean_inc(x_2766); -lean_dec(x_2764); -x_2767 = lean_ctor_get(x_2765, 0); -lean_inc(x_2767); -x_2768 = lean_ctor_get(x_2765, 1); -lean_inc(x_2768); -if (lean_is_exclusive(x_2765)) { - lean_ctor_release(x_2765, 0); - lean_ctor_release(x_2765, 1); - x_2769 = x_2765; +lean_object* x_2781; lean_object* x_2782; lean_object* x_2783; lean_object* x_2784; lean_object* x_2785; lean_object* x_2786; lean_object* x_2787; lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; lean_object* x_2791; lean_object* x_2792; lean_object* x_2793; lean_object* x_2794; lean_object* x_2795; lean_object* x_2796; lean_object* x_2797; lean_object* x_2798; lean_object* x_2799; lean_object* x_2800; lean_object* x_2801; lean_object* x_2802; lean_object* x_2803; lean_object* x_2804; lean_object* x_2805; lean_object* x_2806; lean_object* x_2807; lean_object* x_2808; lean_object* x_2809; lean_object* x_2810; 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; lean_object* x_2818; lean_object* x_2819; lean_object* x_2820; lean_object* x_2821; +x_2781 = lean_ctor_get(x_2780, 0); +lean_inc(x_2781); +x_2782 = lean_ctor_get(x_2780, 1); +lean_inc(x_2782); +lean_dec(x_2780); +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; } else { - lean_dec_ref(x_2765); - x_2769 = lean_box(0); + lean_dec_ref(x_2781); + x_2785 = lean_box(0); } -x_2770 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2766); +x_2786 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2782); lean_dec(x_5); -x_2771 = lean_ctor_get(x_2770, 1); -lean_inc(x_2771); -lean_dec(x_2770); -x_2772 = l_Lean_Elab_Term_getMainModule___rarg(x_2771); -x_2773 = lean_ctor_get(x_2772, 1); -lean_inc(x_2773); -if (lean_is_exclusive(x_2772)) { - lean_ctor_release(x_2772, 0); - lean_ctor_release(x_2772, 1); - x_2774 = x_2772; +x_2787 = lean_ctor_get(x_2786, 1); +lean_inc(x_2787); +lean_dec(x_2786); +x_2788 = l_Lean_Elab_Term_getMainModule___rarg(x_2787); +x_2789 = lean_ctor_get(x_2788, 1); +lean_inc(x_2789); +if (lean_is_exclusive(x_2788)) { + lean_ctor_release(x_2788, 0); + lean_ctor_release(x_2788, 1); + x_2790 = x_2788; } else { - lean_dec_ref(x_2772); - x_2774 = lean_box(0); -} -x_2775 = l_Array_empty___closed__1; -x_2776 = lean_array_push(x_2775, x_2758); -x_2777 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2778 = lean_array_push(x_2776, x_2777); -x_2779 = l_Lean_mkTermIdFromIdent___closed__2; -x_2780 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2780, 0, x_2779); -lean_ctor_set(x_2780, 1, x_2778); -x_2781 = lean_array_push(x_2775, x_2780); -x_2782 = l_Lean_nullKind___closed__2; -x_2783 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2783, 0, x_2782); -lean_ctor_set(x_2783, 1, x_2781); -x_2784 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2785 = lean_array_push(x_2784, x_2783); -x_2786 = lean_array_push(x_2785, x_2777); -x_2787 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2788 = lean_array_push(x_2786, x_2787); -lean_inc(x_11); -x_2789 = lean_array_push(x_2775, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_2790 = x_11; -} else { - lean_dec_ref(x_11); + lean_dec_ref(x_2788); x_2790 = lean_box(0); } -if (lean_is_scalar(x_2790)) { - x_2791 = lean_alloc_ctor(1, 2, 0); -} else { - x_2791 = x_2790; -} -lean_ctor_set(x_2791, 0, x_2782); -lean_ctor_set(x_2791, 1, x_2789); -x_2792 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2793 = lean_array_push(x_2792, x_2791); -x_2794 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2795 = lean_array_push(x_2793, x_2794); -x_2796 = lean_array_push(x_2795, x_2768); -x_2797 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2798 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2798, 0, x_2797); -lean_ctor_set(x_2798, 1, x_2796); -x_2799 = lean_array_push(x_2775, x_2798); -x_2800 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2800, 0, x_2782); -lean_ctor_set(x_2800, 1, x_2799); -x_2801 = lean_array_push(x_2788, x_2800); -x_2802 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2803 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2803, 0, x_2802); -lean_ctor_set(x_2803, 1, x_2801); -if (lean_is_scalar(x_2769)) { - x_2804 = lean_alloc_ctor(0, 2, 0); -} else { - x_2804 = x_2769; -} -lean_ctor_set(x_2804, 0, x_2767); -lean_ctor_set(x_2804, 1, x_2803); -if (lean_is_scalar(x_2774)) { - x_2805 = lean_alloc_ctor(0, 2, 0); -} else { - x_2805 = x_2774; -} -lean_ctor_set(x_2805, 0, x_2804); -lean_ctor_set(x_2805, 1, x_2773); -return x_2805; -} -else -{ -lean_object* x_2806; lean_object* x_2807; lean_object* x_2808; lean_object* x_2809; -lean_dec(x_2758); -lean_dec(x_11); -lean_dec(x_5); -x_2806 = lean_ctor_get(x_2764, 0); -lean_inc(x_2806); -x_2807 = lean_ctor_get(x_2764, 1); -lean_inc(x_2807); -if (lean_is_exclusive(x_2764)) { - lean_ctor_release(x_2764, 0); - lean_ctor_release(x_2764, 1); - x_2808 = x_2764; -} else { - lean_dec_ref(x_2764); - x_2808 = lean_box(0); -} -if (lean_is_scalar(x_2808)) { - x_2809 = lean_alloc_ctor(1, 2, 0); -} else { - x_2809 = x_2808; -} -lean_ctor_set(x_2809, 0, x_2806); -lean_ctor_set(x_2809, 1, x_2807); -return x_2809; -} -} -} -else -{ -lean_object* x_2810; 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; -lean_dec(x_2627); -x_2810 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -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_nat_add(x_3, x_2626); -lean_dec(x_3); -x_2814 = l_Lean_mkHole(x_11); -lean_inc(x_2811); -x_2815 = l_Lean_Elab_Term_mkExplicitBinder(x_2811, x_2814); -x_2816 = lean_array_push(x_4, x_2815); -lean_inc(x_5); -x_2817 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2813, x_2816, x_5, x_2812); -if (lean_obj_tag(x_2817) == 0) -{ -lean_object* x_2818; lean_object* x_2819; lean_object* x_2820; lean_object* x_2821; lean_object* x_2822; lean_object* x_2823; lean_object* x_2824; lean_object* x_2825; lean_object* x_2826; 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_object* x_2833; lean_object* x_2834; lean_object* x_2835; lean_object* x_2836; lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; lean_object* x_2844; 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_object* x_2851; lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; lean_object* x_2855; lean_object* x_2856; lean_object* x_2857; lean_object* x_2858; -x_2818 = lean_ctor_get(x_2817, 0); -lean_inc(x_2818); -x_2819 = lean_ctor_get(x_2817, 1); -lean_inc(x_2819); -lean_dec(x_2817); -x_2820 = lean_ctor_get(x_2818, 0); -lean_inc(x_2820); -x_2821 = lean_ctor_get(x_2818, 1); -lean_inc(x_2821); -if (lean_is_exclusive(x_2818)) { - lean_ctor_release(x_2818, 0); - lean_ctor_release(x_2818, 1); - x_2822 = x_2818; -} else { - lean_dec_ref(x_2818); - x_2822 = lean_box(0); -} -x_2823 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2819); -lean_dec(x_5); -x_2824 = lean_ctor_get(x_2823, 1); -lean_inc(x_2824); -lean_dec(x_2823); -x_2825 = l_Lean_Elab_Term_getMainModule___rarg(x_2824); -x_2826 = lean_ctor_get(x_2825, 1); -lean_inc(x_2826); -if (lean_is_exclusive(x_2825)) { - lean_ctor_release(x_2825, 0); - lean_ctor_release(x_2825, 1); - x_2827 = x_2825; -} else { - lean_dec_ref(x_2825); - x_2827 = lean_box(0); -} -x_2828 = l_Array_empty___closed__1; -x_2829 = lean_array_push(x_2828, x_2811); -x_2830 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2831 = lean_array_push(x_2829, x_2830); -x_2832 = l_Lean_mkTermIdFromIdent___closed__2; -x_2833 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2833, 0, x_2832); -lean_ctor_set(x_2833, 1, x_2831); -x_2834 = lean_array_push(x_2828, x_2833); -x_2835 = l_Lean_nullKind___closed__2; -x_2836 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2836, 0, x_2835); -lean_ctor_set(x_2836, 1, x_2834); -x_2837 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2838 = lean_array_push(x_2837, x_2836); -x_2839 = lean_array_push(x_2838, x_2830); -x_2840 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2841 = lean_array_push(x_2839, x_2840); +x_2791 = l_Array_empty___closed__1; +x_2792 = lean_array_push(x_2791, x_2774); +x_2793 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2794 = lean_array_push(x_2792, x_2793); +x_2795 = l_Lean_mkTermIdFromIdent___closed__2; +x_2796 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2796, 0, x_2795); +lean_ctor_set(x_2796, 1, x_2794); +x_2797 = lean_array_push(x_2791, x_2796); +x_2798 = l_Lean_nullKind___closed__2; +x_2799 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2799, 0, x_2798); +lean_ctor_set(x_2799, 1, x_2797); +x_2800 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2801 = lean_array_push(x_2800, x_2799); +x_2802 = lean_array_push(x_2801, x_2793); +x_2803 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2804 = lean_array_push(x_2802, x_2803); lean_inc(x_11); -x_2842 = lean_array_push(x_2828, x_11); +x_2805 = lean_array_push(x_2791, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2843 = x_11; + x_2806 = x_11; } else { lean_dec_ref(x_11); - x_2843 = lean_box(0); + x_2806 = lean_box(0); } -if (lean_is_scalar(x_2843)) { - x_2844 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2806)) { + x_2807 = lean_alloc_ctor(1, 2, 0); } else { - x_2844 = x_2843; + x_2807 = x_2806; } -lean_ctor_set(x_2844, 0, x_2835); -lean_ctor_set(x_2844, 1, x_2842); -x_2845 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2846 = lean_array_push(x_2845, x_2844); -x_2847 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2848 = lean_array_push(x_2846, x_2847); -x_2849 = lean_array_push(x_2848, x_2821); -x_2850 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2851 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2851, 0, x_2850); -lean_ctor_set(x_2851, 1, x_2849); -x_2852 = lean_array_push(x_2828, x_2851); -x_2853 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2853, 0, x_2835); -lean_ctor_set(x_2853, 1, x_2852); -x_2854 = lean_array_push(x_2841, x_2853); -x_2855 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2856 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2856, 0, x_2855); -lean_ctor_set(x_2856, 1, x_2854); -if (lean_is_scalar(x_2822)) { - x_2857 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2807, 0, x_2798); +lean_ctor_set(x_2807, 1, x_2805); +x_2808 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2809 = lean_array_push(x_2808, x_2807); +x_2810 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2811 = lean_array_push(x_2809, x_2810); +x_2812 = lean_array_push(x_2811, x_2784); +x_2813 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2814 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2814, 0, x_2813); +lean_ctor_set(x_2814, 1, x_2812); +x_2815 = lean_array_push(x_2791, x_2814); +x_2816 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2816, 0, x_2798); +lean_ctor_set(x_2816, 1, x_2815); +x_2817 = lean_array_push(x_2804, x_2816); +x_2818 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2819 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2819, 0, x_2818); +lean_ctor_set(x_2819, 1, x_2817); +if (lean_is_scalar(x_2785)) { + x_2820 = lean_alloc_ctor(0, 2, 0); } else { - x_2857 = x_2822; + x_2820 = x_2785; } -lean_ctor_set(x_2857, 0, x_2820); -lean_ctor_set(x_2857, 1, x_2856); -if (lean_is_scalar(x_2827)) { - x_2858 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2820, 0, x_2783); +lean_ctor_set(x_2820, 1, x_2819); +if (lean_is_scalar(x_2790)) { + x_2821 = lean_alloc_ctor(0, 2, 0); } else { - x_2858 = x_2827; + x_2821 = x_2790; } -lean_ctor_set(x_2858, 0, x_2857); -lean_ctor_set(x_2858, 1, x_2826); -return x_2858; +lean_ctor_set(x_2821, 0, x_2820); +lean_ctor_set(x_2821, 1, x_2789); +return x_2821; } else { -lean_object* x_2859; lean_object* x_2860; lean_object* x_2861; lean_object* x_2862; -lean_dec(x_2811); +lean_object* x_2822; lean_object* x_2823; lean_object* x_2824; lean_object* x_2825; +lean_dec(x_2774); lean_dec(x_11); lean_dec(x_5); -x_2859 = lean_ctor_get(x_2817, 0); -lean_inc(x_2859); -x_2860 = lean_ctor_get(x_2817, 1); -lean_inc(x_2860); -if (lean_is_exclusive(x_2817)) { - lean_ctor_release(x_2817, 0); - lean_ctor_release(x_2817, 1); - x_2861 = x_2817; +x_2822 = lean_ctor_get(x_2780, 0); +lean_inc(x_2822); +x_2823 = lean_ctor_get(x_2780, 1); +lean_inc(x_2823); +if (lean_is_exclusive(x_2780)) { + lean_ctor_release(x_2780, 0); + lean_ctor_release(x_2780, 1); + x_2824 = x_2780; } else { - lean_dec_ref(x_2817); - x_2861 = lean_box(0); + lean_dec_ref(x_2780); + x_2824 = lean_box(0); } -if (lean_is_scalar(x_2861)) { - x_2862 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2824)) { + x_2825 = lean_alloc_ctor(1, 2, 0); } else { - x_2862 = x_2861; + x_2825 = x_2824; } -lean_ctor_set(x_2862, 0, x_2859); -lean_ctor_set(x_2862, 1, x_2860); -return x_2862; +lean_ctor_set(x_2825, 0, x_2822); +lean_ctor_set(x_2825, 1, x_2823); +return x_2825; +} +} +} +else +{ +lean_object* x_2826; 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_object* x_2833; +lean_dec(x_2643); +x_2826 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2827 = lean_ctor_get(x_2826, 0); +lean_inc(x_2827); +x_2828 = lean_ctor_get(x_2826, 1); +lean_inc(x_2828); +lean_dec(x_2826); +x_2829 = lean_nat_add(x_3, x_2642); +lean_dec(x_3); +x_2830 = l_Lean_mkHole(x_11); +lean_inc(x_2827); +x_2831 = l_Lean_Elab_Term_mkExplicitBinder(x_2827, x_2830); +x_2832 = lean_array_push(x_4, x_2831); +lean_inc(x_5); +x_2833 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2829, x_2832, x_5, x_2828); +if (lean_obj_tag(x_2833) == 0) +{ +lean_object* x_2834; lean_object* x_2835; lean_object* x_2836; lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; lean_object* x_2844; 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_object* x_2851; lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; lean_object* x_2855; lean_object* x_2856; lean_object* x_2857; lean_object* x_2858; lean_object* x_2859; lean_object* x_2860; lean_object* x_2861; lean_object* x_2862; lean_object* x_2863; lean_object* x_2864; lean_object* x_2865; lean_object* x_2866; lean_object* x_2867; lean_object* x_2868; lean_object* x_2869; lean_object* x_2870; lean_object* x_2871; lean_object* x_2872; lean_object* x_2873; lean_object* x_2874; +x_2834 = lean_ctor_get(x_2833, 0); +lean_inc(x_2834); +x_2835 = lean_ctor_get(x_2833, 1); +lean_inc(x_2835); +lean_dec(x_2833); +x_2836 = lean_ctor_get(x_2834, 0); +lean_inc(x_2836); +x_2837 = lean_ctor_get(x_2834, 1); +lean_inc(x_2837); +if (lean_is_exclusive(x_2834)) { + lean_ctor_release(x_2834, 0); + lean_ctor_release(x_2834, 1); + x_2838 = x_2834; +} else { + lean_dec_ref(x_2834); + x_2838 = lean_box(0); +} +x_2839 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2835); +lean_dec(x_5); +x_2840 = lean_ctor_get(x_2839, 1); +lean_inc(x_2840); +lean_dec(x_2839); +x_2841 = l_Lean_Elab_Term_getMainModule___rarg(x_2840); +x_2842 = lean_ctor_get(x_2841, 1); +lean_inc(x_2842); +if (lean_is_exclusive(x_2841)) { + lean_ctor_release(x_2841, 0); + lean_ctor_release(x_2841, 1); + x_2843 = x_2841; +} else { + lean_dec_ref(x_2841); + x_2843 = lean_box(0); +} +x_2844 = l_Array_empty___closed__1; +x_2845 = lean_array_push(x_2844, x_2827); +x_2846 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2847 = lean_array_push(x_2845, x_2846); +x_2848 = l_Lean_mkTermIdFromIdent___closed__2; +x_2849 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2849, 0, x_2848); +lean_ctor_set(x_2849, 1, x_2847); +x_2850 = lean_array_push(x_2844, x_2849); +x_2851 = l_Lean_nullKind___closed__2; +x_2852 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2852, 0, x_2851); +lean_ctor_set(x_2852, 1, x_2850); +x_2853 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2854 = lean_array_push(x_2853, x_2852); +x_2855 = lean_array_push(x_2854, x_2846); +x_2856 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2857 = lean_array_push(x_2855, x_2856); +lean_inc(x_11); +x_2858 = lean_array_push(x_2844, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_2859 = x_11; +} else { + lean_dec_ref(x_11); + x_2859 = lean_box(0); +} +if (lean_is_scalar(x_2859)) { + x_2860 = lean_alloc_ctor(1, 2, 0); +} else { + x_2860 = x_2859; +} +lean_ctor_set(x_2860, 0, x_2851); +lean_ctor_set(x_2860, 1, x_2858); +x_2861 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2862 = lean_array_push(x_2861, x_2860); +x_2863 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2864 = lean_array_push(x_2862, x_2863); +x_2865 = lean_array_push(x_2864, x_2837); +x_2866 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2867 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2867, 0, x_2866); +lean_ctor_set(x_2867, 1, x_2865); +x_2868 = lean_array_push(x_2844, x_2867); +x_2869 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2869, 0, x_2851); +lean_ctor_set(x_2869, 1, x_2868); +x_2870 = lean_array_push(x_2857, x_2869); +x_2871 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2872 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2872, 0, x_2871); +lean_ctor_set(x_2872, 1, x_2870); +if (lean_is_scalar(x_2838)) { + x_2873 = lean_alloc_ctor(0, 2, 0); +} else { + x_2873 = x_2838; +} +lean_ctor_set(x_2873, 0, x_2836); +lean_ctor_set(x_2873, 1, x_2872); +if (lean_is_scalar(x_2843)) { + x_2874 = lean_alloc_ctor(0, 2, 0); +} else { + x_2874 = x_2843; +} +lean_ctor_set(x_2874, 0, x_2873); +lean_ctor_set(x_2874, 1, x_2842); +return x_2874; +} +else +{ +lean_object* x_2875; lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; +lean_dec(x_2827); +lean_dec(x_11); +lean_dec(x_5); +x_2875 = lean_ctor_get(x_2833, 0); +lean_inc(x_2875); +x_2876 = lean_ctor_get(x_2833, 1); +lean_inc(x_2876); +if (lean_is_exclusive(x_2833)) { + lean_ctor_release(x_2833, 0); + lean_ctor_release(x_2833, 1); + x_2877 = x_2833; +} else { + lean_dec_ref(x_2833); + x_2877 = lean_box(0); +} +if (lean_is_scalar(x_2877)) { + x_2878 = lean_alloc_ctor(1, 2, 0); +} else { + x_2878 = x_2877; +} +lean_ctor_set(x_2878, 0, x_2875); +lean_ctor_set(x_2878, 1, x_2876); +return x_2878; } } } } else { -lean_object* x_2863; lean_object* x_2864; lean_object* x_2865; lean_object* x_2866; lean_object* x_2867; lean_object* x_2868; lean_object* x_2869; -lean_dec(x_2319); -lean_dec(x_2316); +lean_object* x_2879; lean_object* x_2880; lean_object* x_2881; lean_object* x_2882; lean_object* x_2883; lean_object* x_2884; lean_object* x_2885; +lean_dec(x_2331); +lean_dec(x_2328); lean_free_object(x_12); lean_dec(x_19); lean_dec(x_17); -x_2863 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2864 = lean_ctor_get(x_2863, 0); -lean_inc(x_2864); -x_2865 = lean_ctor_get(x_2863, 1); -lean_inc(x_2865); -lean_dec(x_2863); -x_2866 = lean_unsigned_to_nat(1u); -x_2867 = lean_nat_add(x_3, x_2866); +x_2879 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2880 = lean_ctor_get(x_2879, 0); +lean_inc(x_2880); +x_2881 = lean_ctor_get(x_2879, 1); +lean_inc(x_2881); +lean_dec(x_2879); +x_2882 = lean_unsigned_to_nat(1u); +x_2883 = lean_nat_add(x_3, x_2882); lean_dec(x_3); -x_2868 = l_Lean_Elab_Term_mkExplicitBinder(x_2864, x_11); -x_2869 = lean_array_push(x_4, x_2868); -x_3 = x_2867; -x_4 = x_2869; -x_6 = x_2865; +x_2884 = l_Lean_Elab_Term_mkExplicitBinder(x_2880, x_11); +x_2885 = lean_array_push(x_4, x_2884); +x_3 = x_2883; +x_4 = x_2885; +x_6 = x_2881; goto _start; } } @@ -12574,449 +12606,394 @@ goto _start; } else { -lean_object* x_2871; size_t x_2872; lean_object* x_2873; size_t x_2874; lean_object* x_2875; lean_object* x_2876; size_t x_2877; lean_object* x_2878; lean_object* x_2879; size_t x_2880; lean_object* x_2881; lean_object* x_2882; uint8_t x_2883; -x_2871 = lean_ctor_get(x_12, 1); -x_2872 = lean_ctor_get_usize(x_12, 2); -lean_inc(x_2871); +lean_object* x_2887; size_t x_2888; lean_object* x_2889; size_t x_2890; lean_object* x_2891; lean_object* x_2892; size_t x_2893; lean_object* x_2894; lean_object* x_2895; size_t x_2896; lean_object* x_2897; lean_object* x_2898; uint8_t x_2899; +x_2887 = lean_ctor_get(x_12, 1); +x_2888 = lean_ctor_get_usize(x_12, 2); +lean_inc(x_2887); lean_dec(x_12); -x_2873 = lean_ctor_get(x_13, 1); -lean_inc(x_2873); -x_2874 = lean_ctor_get_usize(x_13, 2); +x_2889 = lean_ctor_get(x_13, 1); +lean_inc(x_2889); +x_2890 = lean_ctor_get_usize(x_13, 2); if (lean_is_exclusive(x_13)) { lean_ctor_release(x_13, 0); lean_ctor_release(x_13, 1); - x_2875 = x_13; + x_2891 = x_13; } else { lean_dec_ref(x_13); - x_2875 = lean_box(0); + x_2891 = lean_box(0); } -x_2876 = lean_ctor_get(x_14, 1); -lean_inc(x_2876); -x_2877 = lean_ctor_get_usize(x_14, 2); +x_2892 = lean_ctor_get(x_14, 1); +lean_inc(x_2892); +x_2893 = lean_ctor_get_usize(x_14, 2); if (lean_is_exclusive(x_14)) { lean_ctor_release(x_14, 0); lean_ctor_release(x_14, 1); - x_2878 = x_14; + x_2894 = x_14; } else { lean_dec_ref(x_14); - x_2878 = lean_box(0); + x_2894 = lean_box(0); } -x_2879 = lean_ctor_get(x_15, 1); -lean_inc(x_2879); -x_2880 = lean_ctor_get_usize(x_15, 2); +x_2895 = lean_ctor_get(x_15, 1); +lean_inc(x_2895); +x_2896 = lean_ctor_get_usize(x_15, 2); if (lean_is_exclusive(x_15)) { lean_ctor_release(x_15, 0); lean_ctor_release(x_15, 1); - x_2881 = x_15; + x_2897 = x_15; } else { lean_dec_ref(x_15); - x_2881 = lean_box(0); + x_2897 = lean_box(0); } -x_2882 = l_Lean_mkAppStx___closed__1; -x_2883 = lean_string_dec_eq(x_2879, x_2882); -lean_dec(x_2879); -if (x_2883 == 0) +x_2898 = l_Lean_mkAppStx___closed__1; +x_2899 = lean_string_dec_eq(x_2895, x_2898); +lean_dec(x_2895); +if (x_2899 == 0) { -lean_object* x_2884; -lean_dec(x_2881); -lean_dec(x_2878); -lean_dec(x_2876); -lean_dec(x_2875); -lean_dec(x_2873); -lean_dec(x_2871); +uint8_t x_2900; lean_object* x_2901; +lean_dec(x_2897); +lean_dec(x_2894); +lean_dec(x_2892); +lean_dec(x_2891); +lean_dec(x_2889); +lean_dec(x_2887); lean_dec(x_17); -x_2884 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_2884) == 0) -{ -lean_object* x_2885; lean_object* x_2886; lean_object* x_2887; lean_object* x_2888; lean_object* x_2889; lean_object* x_2890; lean_object* x_2891; lean_object* x_2892; lean_object* x_2893; -x_2885 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2886 = lean_ctor_get(x_2885, 0); -lean_inc(x_2886); -x_2887 = lean_ctor_get(x_2885, 1); -lean_inc(x_2887); -lean_dec(x_2885); -x_2888 = lean_unsigned_to_nat(1u); -x_2889 = lean_nat_add(x_3, x_2888); -lean_dec(x_3); -x_2890 = l_Lean_mkHole(x_11); -lean_inc(x_2886); -x_2891 = l_Lean_Elab_Term_mkExplicitBinder(x_2886, x_2890); -x_2892 = lean_array_push(x_4, x_2891); -lean_inc(x_5); -x_2893 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2889, x_2892, x_5, x_2887); -if (lean_obj_tag(x_2893) == 0) -{ -lean_object* x_2894; lean_object* x_2895; lean_object* x_2896; lean_object* x_2897; lean_object* x_2898; lean_object* x_2899; lean_object* x_2900; lean_object* x_2901; lean_object* x_2902; lean_object* x_2903; lean_object* x_2904; lean_object* x_2905; lean_object* x_2906; lean_object* x_2907; lean_object* x_2908; lean_object* x_2909; lean_object* x_2910; lean_object* x_2911; lean_object* x_2912; lean_object* x_2913; lean_object* x_2914; lean_object* x_2915; lean_object* x_2916; lean_object* x_2917; lean_object* x_2918; lean_object* x_2919; lean_object* x_2920; lean_object* x_2921; lean_object* x_2922; lean_object* x_2923; lean_object* x_2924; lean_object* x_2925; lean_object* x_2926; lean_object* x_2927; lean_object* x_2928; lean_object* x_2929; lean_object* x_2930; lean_object* x_2931; lean_object* x_2932; lean_object* x_2933; lean_object* x_2934; -x_2894 = lean_ctor_get(x_2893, 0); -lean_inc(x_2894); -x_2895 = lean_ctor_get(x_2893, 1); -lean_inc(x_2895); -lean_dec(x_2893); -x_2896 = lean_ctor_get(x_2894, 0); -lean_inc(x_2896); -x_2897 = lean_ctor_get(x_2894, 1); -lean_inc(x_2897); -if (lean_is_exclusive(x_2894)) { - lean_ctor_release(x_2894, 0); - lean_ctor_release(x_2894, 1); - x_2898 = x_2894; -} else { - lean_dec_ref(x_2894); - x_2898 = lean_box(0); -} -x_2899 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2895); -lean_dec(x_5); -x_2900 = lean_ctor_get(x_2899, 1); -lean_inc(x_2900); -lean_dec(x_2899); -x_2901 = l_Lean_Elab_Term_getMainModule___rarg(x_2900); -x_2902 = lean_ctor_get(x_2901, 1); -lean_inc(x_2902); -if (lean_is_exclusive(x_2901)) { - lean_ctor_release(x_2901, 0); - lean_ctor_release(x_2901, 1); - x_2903 = x_2901; -} else { - lean_dec_ref(x_2901); - x_2903 = lean_box(0); -} -x_2904 = l_Array_empty___closed__1; -x_2905 = lean_array_push(x_2904, x_2886); -x_2906 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2907 = lean_array_push(x_2905, x_2906); -x_2908 = l_Lean_mkTermIdFromIdent___closed__2; -x_2909 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2909, 0, x_2908); -lean_ctor_set(x_2909, 1, x_2907); -x_2910 = lean_array_push(x_2904, x_2909); -x_2911 = l_Lean_nullKind___closed__2; -x_2912 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2912, 0, x_2911); -lean_ctor_set(x_2912, 1, x_2910); -x_2913 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2914 = lean_array_push(x_2913, x_2912); -x_2915 = lean_array_push(x_2914, x_2906); -x_2916 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2917 = lean_array_push(x_2915, x_2916); +x_2900 = 1; lean_inc(x_11); -x_2918 = lean_array_push(x_2904, x_11); +x_2901 = l_Lean_Syntax_isTermId_x3f(x_11, x_2900); +if (lean_obj_tag(x_2901) == 0) +{ +lean_object* x_2902; lean_object* x_2903; lean_object* x_2904; lean_object* x_2905; lean_object* x_2906; lean_object* x_2907; lean_object* x_2908; lean_object* x_2909; lean_object* x_2910; +x_2902 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2903 = lean_ctor_get(x_2902, 0); +lean_inc(x_2903); +x_2904 = lean_ctor_get(x_2902, 1); +lean_inc(x_2904); +lean_dec(x_2902); +x_2905 = lean_unsigned_to_nat(1u); +x_2906 = lean_nat_add(x_3, x_2905); +lean_dec(x_3); +x_2907 = l_Lean_mkHole(x_11); +lean_inc(x_2903); +x_2908 = l_Lean_Elab_Term_mkExplicitBinder(x_2903, x_2907); +x_2909 = lean_array_push(x_4, x_2908); +lean_inc(x_5); +x_2910 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2906, x_2909, x_5, x_2904); +if (lean_obj_tag(x_2910) == 0) +{ +lean_object* x_2911; lean_object* x_2912; lean_object* x_2913; lean_object* x_2914; lean_object* x_2915; lean_object* x_2916; lean_object* x_2917; lean_object* x_2918; lean_object* x_2919; lean_object* x_2920; lean_object* x_2921; lean_object* x_2922; lean_object* x_2923; lean_object* x_2924; lean_object* x_2925; lean_object* x_2926; lean_object* x_2927; lean_object* x_2928; lean_object* x_2929; lean_object* x_2930; lean_object* x_2931; lean_object* x_2932; lean_object* x_2933; lean_object* x_2934; lean_object* x_2935; lean_object* x_2936; lean_object* x_2937; lean_object* x_2938; lean_object* x_2939; lean_object* x_2940; lean_object* x_2941; lean_object* x_2942; lean_object* x_2943; lean_object* x_2944; lean_object* x_2945; lean_object* x_2946; lean_object* x_2947; lean_object* x_2948; lean_object* x_2949; lean_object* x_2950; lean_object* x_2951; +x_2911 = lean_ctor_get(x_2910, 0); +lean_inc(x_2911); +x_2912 = lean_ctor_get(x_2910, 1); +lean_inc(x_2912); +lean_dec(x_2910); +x_2913 = lean_ctor_get(x_2911, 0); +lean_inc(x_2913); +x_2914 = lean_ctor_get(x_2911, 1); +lean_inc(x_2914); +if (lean_is_exclusive(x_2911)) { + lean_ctor_release(x_2911, 0); + lean_ctor_release(x_2911, 1); + x_2915 = x_2911; +} else { + lean_dec_ref(x_2911); + x_2915 = lean_box(0); +} +x_2916 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2912); +lean_dec(x_5); +x_2917 = lean_ctor_get(x_2916, 1); +lean_inc(x_2917); +lean_dec(x_2916); +x_2918 = l_Lean_Elab_Term_getMainModule___rarg(x_2917); +x_2919 = lean_ctor_get(x_2918, 1); +lean_inc(x_2919); +if (lean_is_exclusive(x_2918)) { + lean_ctor_release(x_2918, 0); + lean_ctor_release(x_2918, 1); + x_2920 = x_2918; +} else { + lean_dec_ref(x_2918); + x_2920 = lean_box(0); +} +x_2921 = l_Array_empty___closed__1; +x_2922 = lean_array_push(x_2921, x_2903); +x_2923 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_2924 = lean_array_push(x_2922, x_2923); +x_2925 = l_Lean_mkTermIdFromIdent___closed__2; +x_2926 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2926, 0, x_2925); +lean_ctor_set(x_2926, 1, x_2924); +x_2927 = lean_array_push(x_2921, x_2926); +x_2928 = l_Lean_nullKind___closed__2; +x_2929 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2929, 0, x_2928); +lean_ctor_set(x_2929, 1, x_2927); +x_2930 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_2931 = lean_array_push(x_2930, x_2929); +x_2932 = lean_array_push(x_2931, x_2923); +x_2933 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_2934 = lean_array_push(x_2932, x_2933); +lean_inc(x_11); +x_2935 = lean_array_push(x_2921, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_2919 = x_11; + x_2936 = x_11; } else { lean_dec_ref(x_11); - x_2919 = lean_box(0); + x_2936 = lean_box(0); } -if (lean_is_scalar(x_2919)) { - x_2920 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2936)) { + x_2937 = lean_alloc_ctor(1, 2, 0); } else { - x_2920 = x_2919; + x_2937 = x_2936; } -lean_ctor_set(x_2920, 0, x_2911); -lean_ctor_set(x_2920, 1, x_2918); -x_2921 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_2922 = lean_array_push(x_2921, x_2920); -x_2923 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_2924 = lean_array_push(x_2922, x_2923); -x_2925 = lean_array_push(x_2924, x_2897); -x_2926 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_2927 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2927, 0, x_2926); -lean_ctor_set(x_2927, 1, x_2925); -x_2928 = lean_array_push(x_2904, x_2927); -x_2929 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2929, 0, x_2911); -lean_ctor_set(x_2929, 1, x_2928); -x_2930 = lean_array_push(x_2917, x_2929); -x_2931 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_2932 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2932, 0, x_2931); -lean_ctor_set(x_2932, 1, x_2930); -if (lean_is_scalar(x_2898)) { - x_2933 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2937, 0, x_2928); +lean_ctor_set(x_2937, 1, x_2935); +x_2938 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_2939 = lean_array_push(x_2938, x_2937); +x_2940 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_2941 = lean_array_push(x_2939, x_2940); +x_2942 = lean_array_push(x_2941, x_2914); +x_2943 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_2944 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2944, 0, x_2943); +lean_ctor_set(x_2944, 1, x_2942); +x_2945 = lean_array_push(x_2921, x_2944); +x_2946 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2946, 0, x_2928); +lean_ctor_set(x_2946, 1, x_2945); +x_2947 = lean_array_push(x_2934, x_2946); +x_2948 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_2949 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2949, 0, x_2948); +lean_ctor_set(x_2949, 1, x_2947); +if (lean_is_scalar(x_2915)) { + x_2950 = lean_alloc_ctor(0, 2, 0); } else { - x_2933 = x_2898; + x_2950 = x_2915; } -lean_ctor_set(x_2933, 0, x_2896); -lean_ctor_set(x_2933, 1, x_2932); -if (lean_is_scalar(x_2903)) { - x_2934 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2950, 0, x_2913); +lean_ctor_set(x_2950, 1, x_2949); +if (lean_is_scalar(x_2920)) { + x_2951 = lean_alloc_ctor(0, 2, 0); } else { - x_2934 = x_2903; + x_2951 = x_2920; } -lean_ctor_set(x_2934, 0, x_2933); -lean_ctor_set(x_2934, 1, x_2902); -return x_2934; +lean_ctor_set(x_2951, 0, x_2950); +lean_ctor_set(x_2951, 1, x_2919); +return x_2951; } else { -lean_object* x_2935; lean_object* x_2936; lean_object* x_2937; lean_object* x_2938; -lean_dec(x_2886); +lean_object* x_2952; lean_object* x_2953; lean_object* x_2954; lean_object* x_2955; +lean_dec(x_2903); lean_dec(x_11); lean_dec(x_5); -x_2935 = lean_ctor_get(x_2893, 0); -lean_inc(x_2935); -x_2936 = lean_ctor_get(x_2893, 1); -lean_inc(x_2936); -if (lean_is_exclusive(x_2893)) { - lean_ctor_release(x_2893, 0); - lean_ctor_release(x_2893, 1); - x_2937 = x_2893; +x_2952 = lean_ctor_get(x_2910, 0); +lean_inc(x_2952); +x_2953 = lean_ctor_get(x_2910, 1); +lean_inc(x_2953); +if (lean_is_exclusive(x_2910)) { + lean_ctor_release(x_2910, 0); + lean_ctor_release(x_2910, 1); + x_2954 = x_2910; } else { - lean_dec_ref(x_2893); - x_2937 = lean_box(0); + lean_dec_ref(x_2910); + x_2954 = lean_box(0); } -if (lean_is_scalar(x_2937)) { - x_2938 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2954)) { + x_2955 = lean_alloc_ctor(1, 2, 0); } else { - x_2938 = x_2937; + x_2955 = x_2954; } -lean_ctor_set(x_2938, 0, x_2935); -lean_ctor_set(x_2938, 1, x_2936); -return x_2938; +lean_ctor_set(x_2955, 0, x_2952); +lean_ctor_set(x_2955, 1, x_2953); +return x_2955; } } else { -lean_object* x_2939; lean_object* x_2940; lean_object* x_2941; uint8_t x_2942; -x_2939 = lean_ctor_get(x_2884, 0); -lean_inc(x_2939); -lean_dec(x_2884); -x_2940 = lean_ctor_get(x_2939, 0); -lean_inc(x_2940); -x_2941 = lean_ctor_get(x_2939, 1); -lean_inc(x_2941); -lean_dec(x_2939); -x_2942 = l_Lean_Syntax_isNone(x_2941); -lean_dec(x_2941); -if (x_2942 == 0) +lean_object* x_2956; lean_object* x_2957; lean_object* x_2958; uint8_t x_2959; +x_2956 = lean_ctor_get(x_2901, 0); +lean_inc(x_2956); +lean_dec(x_2901); +x_2957 = lean_ctor_get(x_2956, 0); +lean_inc(x_2957); +x_2958 = lean_ctor_get(x_2956, 1); +lean_inc(x_2958); +lean_dec(x_2956); +x_2959 = l_Lean_Syntax_isNone(x_2958); +lean_dec(x_2958); +if (x_2959 == 0) { -lean_object* x_2943; lean_object* x_2944; lean_object* x_2945; lean_object* x_2946; lean_object* x_2947; lean_object* x_2948; -lean_dec(x_2940); +lean_object* x_2960; lean_object* x_2961; lean_object* x_2962; lean_object* x_2963; lean_object* x_2964; lean_object* x_2965; +lean_dec(x_2957); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2943 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_2944 = l_Lean_Elab_Term_throwError___rarg(x_11, x_2943, x_5, x_6); +x_2960 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_2961 = l_Lean_Elab_Term_throwError___rarg(x_11, x_2960, x_5, x_6); lean_dec(x_11); -x_2945 = lean_ctor_get(x_2944, 0); -lean_inc(x_2945); -x_2946 = lean_ctor_get(x_2944, 1); -lean_inc(x_2946); -if (lean_is_exclusive(x_2944)) { - lean_ctor_release(x_2944, 0); - lean_ctor_release(x_2944, 1); - x_2947 = x_2944; +x_2962 = lean_ctor_get(x_2961, 0); +lean_inc(x_2962); +x_2963 = lean_ctor_get(x_2961, 1); +lean_inc(x_2963); +if (lean_is_exclusive(x_2961)) { + lean_ctor_release(x_2961, 0); + lean_ctor_release(x_2961, 1); + x_2964 = x_2961; } else { - lean_dec_ref(x_2944); - x_2947 = lean_box(0); + lean_dec_ref(x_2961); + x_2964 = lean_box(0); } -if (lean_is_scalar(x_2947)) { - x_2948 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_2964)) { + x_2965 = lean_alloc_ctor(1, 2, 0); } else { - x_2948 = x_2947; + x_2965 = x_2964; } -lean_ctor_set(x_2948, 0, x_2945); -lean_ctor_set(x_2948, 1, x_2946); -return x_2948; +lean_ctor_set(x_2965, 0, x_2962); +lean_ctor_set(x_2965, 1, x_2963); +return x_2965; } else { -lean_object* x_2949; lean_object* x_2950; lean_object* x_2951; lean_object* x_2952; lean_object* x_2953; -x_2949 = l_Lean_mkHole(x_11); +lean_object* x_2966; lean_object* x_2967; lean_object* x_2968; lean_object* x_2969; lean_object* x_2970; +x_2966 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_2950 = lean_unsigned_to_nat(1u); -x_2951 = lean_nat_add(x_3, x_2950); +x_2967 = lean_unsigned_to_nat(1u); +x_2968 = lean_nat_add(x_3, x_2967); lean_dec(x_3); -x_2952 = l_Lean_Elab_Term_mkExplicitBinder(x_2940, x_2949); -x_2953 = lean_array_push(x_4, x_2952); -x_3 = x_2951; -x_4 = x_2953; +x_2969 = l_Lean_Elab_Term_mkExplicitBinder(x_2957, x_2966); +x_2970 = lean_array_push(x_4, x_2969); +x_3 = x_2968; +x_4 = x_2970; goto _start; } } } else { -lean_object* x_2955; uint8_t x_2956; -x_2955 = l_Lean_mkAppStx___closed__3; -x_2956 = lean_string_dec_eq(x_2876, x_2955); -if (x_2956 == 0) +lean_object* x_2972; uint8_t x_2973; +x_2972 = l_Lean_mkAppStx___closed__3; +x_2973 = lean_string_dec_eq(x_2892, x_2972); +if (x_2973 == 0) { -lean_object* x_2957; lean_object* x_2958; lean_object* x_2959; lean_object* x_2960; lean_object* x_2961; lean_object* x_2962; -if (lean_is_scalar(x_2881)) { - x_2957 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_2974; lean_object* x_2975; lean_object* x_2976; lean_object* x_2977; lean_object* x_2978; uint8_t x_2979; lean_object* x_2980; +if (lean_is_scalar(x_2897)) { + x_2974 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2957 = x_2881; + x_2974 = x_2897; } -lean_ctor_set(x_2957, 0, x_16); -lean_ctor_set(x_2957, 1, x_2882); -lean_ctor_set_usize(x_2957, 2, x_2880); -if (lean_is_scalar(x_2878)) { - x_2958 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2974, 0, x_16); +lean_ctor_set(x_2974, 1, x_2898); +lean_ctor_set_usize(x_2974, 2, x_2896); +if (lean_is_scalar(x_2894)) { + x_2975 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2958 = x_2878; + x_2975 = x_2894; } -lean_ctor_set(x_2958, 0, x_2957); -lean_ctor_set(x_2958, 1, x_2876); -lean_ctor_set_usize(x_2958, 2, x_2877); -if (lean_is_scalar(x_2875)) { - x_2959 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2975, 0, x_2974); +lean_ctor_set(x_2975, 1, x_2892); +lean_ctor_set_usize(x_2975, 2, x_2893); +if (lean_is_scalar(x_2891)) { + x_2976 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_2959 = x_2875; + x_2976 = x_2891; } -lean_ctor_set(x_2959, 0, x_2958); -lean_ctor_set(x_2959, 1, x_2873); -lean_ctor_set_usize(x_2959, 2, x_2874); -x_2960 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_2960, 0, x_2959); -lean_ctor_set(x_2960, 1, x_2871); -lean_ctor_set_usize(x_2960, 2, x_2872); -x_2961 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2961, 0, x_2960); -lean_ctor_set(x_2961, 1, x_17); -x_2962 = l_Lean_Syntax_isTermId_x3f(x_2961); -if (lean_obj_tag(x_2962) == 0) -{ -lean_object* x_2963; lean_object* x_2964; lean_object* x_2965; lean_object* x_2966; lean_object* x_2967; lean_object* x_2968; lean_object* x_2969; lean_object* x_2970; lean_object* x_2971; -lean_dec(x_2961); -x_2963 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_2964 = lean_ctor_get(x_2963, 0); -lean_inc(x_2964); -x_2965 = lean_ctor_get(x_2963, 1); -lean_inc(x_2965); -lean_dec(x_2963); -x_2966 = lean_unsigned_to_nat(1u); -x_2967 = lean_nat_add(x_3, x_2966); -lean_dec(x_3); -x_2968 = l_Lean_mkHole(x_11); -lean_inc(x_2964); -x_2969 = l_Lean_Elab_Term_mkExplicitBinder(x_2964, x_2968); -x_2970 = lean_array_push(x_4, x_2969); -lean_inc(x_5); -x_2971 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2967, x_2970, x_5, x_2965); -if (lean_obj_tag(x_2971) == 0) -{ -lean_object* x_2972; lean_object* x_2973; lean_object* x_2974; lean_object* x_2975; lean_object* x_2976; lean_object* x_2977; lean_object* x_2978; lean_object* x_2979; lean_object* x_2980; lean_object* x_2981; lean_object* x_2982; lean_object* x_2983; lean_object* x_2984; lean_object* x_2985; lean_object* x_2986; lean_object* x_2987; lean_object* x_2988; lean_object* x_2989; lean_object* x_2990; lean_object* x_2991; lean_object* x_2992; lean_object* x_2993; lean_object* x_2994; lean_object* x_2995; lean_object* x_2996; lean_object* x_2997; lean_object* x_2998; lean_object* x_2999; lean_object* x_3000; lean_object* x_3001; lean_object* x_3002; lean_object* x_3003; lean_object* x_3004; lean_object* x_3005; lean_object* x_3006; lean_object* x_3007; lean_object* x_3008; lean_object* x_3009; lean_object* x_3010; lean_object* x_3011; lean_object* x_3012; -x_2972 = lean_ctor_get(x_2971, 0); -lean_inc(x_2972); -x_2973 = lean_ctor_get(x_2971, 1); -lean_inc(x_2973); -lean_dec(x_2971); -x_2974 = lean_ctor_get(x_2972, 0); -lean_inc(x_2974); -x_2975 = lean_ctor_get(x_2972, 1); -lean_inc(x_2975); -if (lean_is_exclusive(x_2972)) { - lean_ctor_release(x_2972, 0); - lean_ctor_release(x_2972, 1); - x_2976 = x_2972; -} else { - lean_dec_ref(x_2972); - x_2976 = lean_box(0); -} -x_2977 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2973); -lean_dec(x_5); -x_2978 = lean_ctor_get(x_2977, 1); +lean_ctor_set(x_2976, 0, x_2975); +lean_ctor_set(x_2976, 1, x_2889); +lean_ctor_set_usize(x_2976, 2, x_2890); +x_2977 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_2977, 0, x_2976); +lean_ctor_set(x_2977, 1, x_2887); +lean_ctor_set_usize(x_2977, 2, x_2888); +x_2978 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2978, 0, x_2977); +lean_ctor_set(x_2978, 1, x_17); +x_2979 = 1; lean_inc(x_2978); -lean_dec(x_2977); -x_2979 = l_Lean_Elab_Term_getMainModule___rarg(x_2978); -x_2980 = lean_ctor_get(x_2979, 1); -lean_inc(x_2980); -if (lean_is_exclusive(x_2979)) { - lean_ctor_release(x_2979, 0); - lean_ctor_release(x_2979, 1); - x_2981 = x_2979; +x_2980 = l_Lean_Syntax_isTermId_x3f(x_2978, x_2979); +if (lean_obj_tag(x_2980) == 0) +{ +lean_object* x_2981; lean_object* x_2982; lean_object* x_2983; lean_object* x_2984; lean_object* x_2985; lean_object* x_2986; lean_object* x_2987; lean_object* x_2988; lean_object* x_2989; +lean_dec(x_2978); +x_2981 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_2982 = lean_ctor_get(x_2981, 0); +lean_inc(x_2982); +x_2983 = lean_ctor_get(x_2981, 1); +lean_inc(x_2983); +lean_dec(x_2981); +x_2984 = lean_unsigned_to_nat(1u); +x_2985 = lean_nat_add(x_3, x_2984); +lean_dec(x_3); +x_2986 = l_Lean_mkHole(x_11); +lean_inc(x_2982); +x_2987 = l_Lean_Elab_Term_mkExplicitBinder(x_2982, x_2986); +x_2988 = lean_array_push(x_4, x_2987); +lean_inc(x_5); +x_2989 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_2985, x_2988, x_5, x_2983); +if (lean_obj_tag(x_2989) == 0) +{ +lean_object* x_2990; lean_object* x_2991; lean_object* x_2992; lean_object* x_2993; lean_object* x_2994; lean_object* x_2995; lean_object* x_2996; lean_object* x_2997; lean_object* x_2998; lean_object* x_2999; lean_object* x_3000; lean_object* x_3001; lean_object* x_3002; lean_object* x_3003; lean_object* x_3004; lean_object* x_3005; lean_object* x_3006; lean_object* x_3007; lean_object* x_3008; lean_object* x_3009; lean_object* x_3010; lean_object* x_3011; lean_object* x_3012; lean_object* x_3013; lean_object* x_3014; lean_object* x_3015; lean_object* x_3016; lean_object* x_3017; lean_object* x_3018; lean_object* x_3019; lean_object* x_3020; lean_object* x_3021; lean_object* x_3022; lean_object* x_3023; lean_object* x_3024; lean_object* x_3025; lean_object* x_3026; lean_object* x_3027; lean_object* x_3028; lean_object* x_3029; lean_object* x_3030; +x_2990 = lean_ctor_get(x_2989, 0); +lean_inc(x_2990); +x_2991 = lean_ctor_get(x_2989, 1); +lean_inc(x_2991); +lean_dec(x_2989); +x_2992 = lean_ctor_get(x_2990, 0); +lean_inc(x_2992); +x_2993 = lean_ctor_get(x_2990, 1); +lean_inc(x_2993); +if (lean_is_exclusive(x_2990)) { + lean_ctor_release(x_2990, 0); + lean_ctor_release(x_2990, 1); + x_2994 = x_2990; } else { - lean_dec_ref(x_2979); - x_2981 = lean_box(0); + lean_dec_ref(x_2990); + x_2994 = lean_box(0); } -x_2982 = l_Array_empty___closed__1; -x_2983 = lean_array_push(x_2982, x_2964); -x_2984 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_2985 = lean_array_push(x_2983, x_2984); -x_2986 = l_Lean_mkTermIdFromIdent___closed__2; -x_2987 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2987, 0, x_2986); -lean_ctor_set(x_2987, 1, x_2985); -x_2988 = lean_array_push(x_2982, x_2987); -x_2989 = l_Lean_nullKind___closed__2; -x_2990 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2990, 0, x_2989); -lean_ctor_set(x_2990, 1, x_2988); -x_2991 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_2992 = lean_array_push(x_2991, x_2990); -x_2993 = lean_array_push(x_2992, x_2984); -x_2994 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_2995 = lean_array_push(x_2993, x_2994); -lean_inc(x_11); -x_2996 = lean_array_push(x_2982, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_2997 = x_11; +x_2995 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_2991); +lean_dec(x_5); +x_2996 = lean_ctor_get(x_2995, 1); +lean_inc(x_2996); +lean_dec(x_2995); +x_2997 = l_Lean_Elab_Term_getMainModule___rarg(x_2996); +x_2998 = lean_ctor_get(x_2997, 1); +lean_inc(x_2998); +if (lean_is_exclusive(x_2997)) { + lean_ctor_release(x_2997, 0); + lean_ctor_release(x_2997, 1); + x_2999 = x_2997; } else { - lean_dec_ref(x_11); - x_2997 = lean_box(0); + lean_dec_ref(x_2997); + x_2999 = lean_box(0); } -if (lean_is_scalar(x_2997)) { - x_2998 = lean_alloc_ctor(1, 2, 0); -} else { - x_2998 = x_2997; -} -lean_ctor_set(x_2998, 0, x_2989); -lean_ctor_set(x_2998, 1, x_2996); -x_2999 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3000 = lean_array_push(x_2999, x_2998); -x_3001 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3002 = lean_array_push(x_3000, x_3001); -x_3003 = lean_array_push(x_3002, x_2975); -x_3004 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3000 = l_Array_empty___closed__1; +x_3001 = lean_array_push(x_3000, x_2982); +x_3002 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3003 = lean_array_push(x_3001, x_3002); +x_3004 = l_Lean_mkTermIdFromIdent___closed__2; x_3005 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3005, 0, x_3004); lean_ctor_set(x_3005, 1, x_3003); -x_3006 = lean_array_push(x_2982, x_3005); -x_3007 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3007, 0, x_2989); -lean_ctor_set(x_3007, 1, x_3006); -x_3008 = lean_array_push(x_2995, x_3007); -x_3009 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3010 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3010, 0, x_3009); -lean_ctor_set(x_3010, 1, x_3008); -if (lean_is_scalar(x_2976)) { - x_3011 = lean_alloc_ctor(0, 2, 0); +x_3006 = lean_array_push(x_3000, x_3005); +x_3007 = l_Lean_nullKind___closed__2; +x_3008 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3008, 0, x_3007); +lean_ctor_set(x_3008, 1, x_3006); +x_3009 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3010 = lean_array_push(x_3009, x_3008); +x_3011 = lean_array_push(x_3010, x_3002); +x_3012 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3013 = lean_array_push(x_3011, x_3012); +lean_inc(x_11); +x_3014 = lean_array_push(x_3000, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3015 = x_11; } else { - x_3011 = x_2976; -} -lean_ctor_set(x_3011, 0, x_2974); -lean_ctor_set(x_3011, 1, x_3010); -if (lean_is_scalar(x_2981)) { - x_3012 = lean_alloc_ctor(0, 2, 0); -} else { - x_3012 = x_2981; -} -lean_ctor_set(x_3012, 0, x_3011); -lean_ctor_set(x_3012, 1, x_2980); -return x_3012; -} -else -{ -lean_object* x_3013; lean_object* x_3014; lean_object* x_3015; lean_object* x_3016; -lean_dec(x_2964); -lean_dec(x_11); -lean_dec(x_5); -x_3013 = lean_ctor_get(x_2971, 0); -lean_inc(x_3013); -x_3014 = lean_ctor_get(x_2971, 1); -lean_inc(x_3014); -if (lean_is_exclusive(x_2971)) { - lean_ctor_release(x_2971, 0); - lean_ctor_release(x_2971, 1); - x_3015 = x_2971; -} else { - lean_dec_ref(x_2971); + lean_dec_ref(x_11); x_3015 = lean_box(0); } if (lean_is_scalar(x_3015)) { @@ -13024,1283 +13001,1346 @@ if (lean_is_scalar(x_3015)) { } else { x_3016 = x_3015; } -lean_ctor_set(x_3016, 0, x_3013); +lean_ctor_set(x_3016, 0, x_3007); lean_ctor_set(x_3016, 1, x_3014); -return x_3016; +x_3017 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3018 = lean_array_push(x_3017, x_3016); +x_3019 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3020 = lean_array_push(x_3018, x_3019); +x_3021 = lean_array_push(x_3020, x_2993); +x_3022 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3023 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3023, 0, x_3022); +lean_ctor_set(x_3023, 1, x_3021); +x_3024 = lean_array_push(x_3000, x_3023); +x_3025 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3025, 0, x_3007); +lean_ctor_set(x_3025, 1, x_3024); +x_3026 = lean_array_push(x_3013, x_3025); +x_3027 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3028 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3028, 0, x_3027); +lean_ctor_set(x_3028, 1, x_3026); +if (lean_is_scalar(x_2994)) { + x_3029 = lean_alloc_ctor(0, 2, 0); +} else { + x_3029 = x_2994; +} +lean_ctor_set(x_3029, 0, x_2992); +lean_ctor_set(x_3029, 1, x_3028); +if (lean_is_scalar(x_2999)) { + x_3030 = lean_alloc_ctor(0, 2, 0); +} else { + x_3030 = x_2999; +} +lean_ctor_set(x_3030, 0, x_3029); +lean_ctor_set(x_3030, 1, x_2998); +return x_3030; +} +else +{ +lean_object* x_3031; lean_object* x_3032; lean_object* x_3033; lean_object* x_3034; +lean_dec(x_2982); +lean_dec(x_11); +lean_dec(x_5); +x_3031 = lean_ctor_get(x_2989, 0); +lean_inc(x_3031); +x_3032 = lean_ctor_get(x_2989, 1); +lean_inc(x_3032); +if (lean_is_exclusive(x_2989)) { + lean_ctor_release(x_2989, 0); + lean_ctor_release(x_2989, 1); + x_3033 = x_2989; +} else { + lean_dec_ref(x_2989); + x_3033 = lean_box(0); +} +if (lean_is_scalar(x_3033)) { + x_3034 = lean_alloc_ctor(1, 2, 0); +} else { + x_3034 = x_3033; +} +lean_ctor_set(x_3034, 0, x_3031); +lean_ctor_set(x_3034, 1, x_3032); +return x_3034; } } else { -lean_object* x_3017; lean_object* x_3018; lean_object* x_3019; uint8_t x_3020; +lean_object* x_3035; lean_object* x_3036; lean_object* x_3037; uint8_t x_3038; lean_dec(x_11); -x_3017 = lean_ctor_get(x_2962, 0); -lean_inc(x_3017); -lean_dec(x_2962); -x_3018 = lean_ctor_get(x_3017, 0); -lean_inc(x_3018); -x_3019 = lean_ctor_get(x_3017, 1); -lean_inc(x_3019); -lean_dec(x_3017); -x_3020 = l_Lean_Syntax_isNone(x_3019); -lean_dec(x_3019); -if (x_3020 == 0) +x_3035 = lean_ctor_get(x_2980, 0); +lean_inc(x_3035); +lean_dec(x_2980); +x_3036 = lean_ctor_get(x_3035, 0); +lean_inc(x_3036); +x_3037 = lean_ctor_get(x_3035, 1); +lean_inc(x_3037); +lean_dec(x_3035); +x_3038 = l_Lean_Syntax_isNone(x_3037); +lean_dec(x_3037); +if (x_3038 == 0) { -lean_object* x_3021; lean_object* x_3022; lean_object* x_3023; lean_object* x_3024; lean_object* x_3025; lean_object* x_3026; -lean_dec(x_3018); +lean_object* x_3039; lean_object* x_3040; lean_object* x_3041; lean_object* x_3042; lean_object* x_3043; lean_object* x_3044; +lean_dec(x_3036); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3021 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_3022 = l_Lean_Elab_Term_throwError___rarg(x_2961, x_3021, x_5, x_6); -lean_dec(x_2961); -x_3023 = lean_ctor_get(x_3022, 0); -lean_inc(x_3023); -x_3024 = lean_ctor_get(x_3022, 1); -lean_inc(x_3024); -if (lean_is_exclusive(x_3022)) { - lean_ctor_release(x_3022, 0); - lean_ctor_release(x_3022, 1); - x_3025 = x_3022; +x_3039 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3040 = l_Lean_Elab_Term_throwError___rarg(x_2978, x_3039, x_5, x_6); +lean_dec(x_2978); +x_3041 = lean_ctor_get(x_3040, 0); +lean_inc(x_3041); +x_3042 = lean_ctor_get(x_3040, 1); +lean_inc(x_3042); +if (lean_is_exclusive(x_3040)) { + lean_ctor_release(x_3040, 0); + lean_ctor_release(x_3040, 1); + x_3043 = x_3040; } else { - lean_dec_ref(x_3022); - x_3025 = lean_box(0); + lean_dec_ref(x_3040); + x_3043 = lean_box(0); } -if (lean_is_scalar(x_3025)) { - x_3026 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3043)) { + x_3044 = lean_alloc_ctor(1, 2, 0); } else { - x_3026 = x_3025; + x_3044 = x_3043; } -lean_ctor_set(x_3026, 0, x_3023); -lean_ctor_set(x_3026, 1, x_3024); -return x_3026; +lean_ctor_set(x_3044, 0, x_3041); +lean_ctor_set(x_3044, 1, x_3042); +return x_3044; } else { -lean_object* x_3027; lean_object* x_3028; lean_object* x_3029; lean_object* x_3030; lean_object* x_3031; -x_3027 = l_Lean_mkHole(x_2961); -lean_dec(x_2961); -x_3028 = lean_unsigned_to_nat(1u); -x_3029 = lean_nat_add(x_3, x_3028); +lean_object* x_3045; lean_object* x_3046; lean_object* x_3047; lean_object* x_3048; lean_object* x_3049; +x_3045 = l_Lean_mkHole(x_2978); +lean_dec(x_2978); +x_3046 = lean_unsigned_to_nat(1u); +x_3047 = lean_nat_add(x_3, x_3046); lean_dec(x_3); -x_3030 = l_Lean_Elab_Term_mkExplicitBinder(x_3018, x_3027); -x_3031 = lean_array_push(x_4, x_3030); -x_3 = x_3029; -x_4 = x_3031; +x_3048 = l_Lean_Elab_Term_mkExplicitBinder(x_3036, x_3045); +x_3049 = lean_array_push(x_4, x_3048); +x_3 = x_3047; +x_4 = x_3049; goto _start; } } } else { -lean_object* x_3033; uint8_t x_3034; -lean_dec(x_2876); -x_3033 = l_Lean_mkAppStx___closed__5; -x_3034 = lean_string_dec_eq(x_2873, x_3033); -if (x_3034 == 0) +lean_object* x_3051; uint8_t x_3052; +lean_dec(x_2892); +x_3051 = l_Lean_mkAppStx___closed__5; +x_3052 = lean_string_dec_eq(x_2889, x_3051); +if (x_3052 == 0) { -lean_object* x_3035; lean_object* x_3036; lean_object* x_3037; lean_object* x_3038; lean_object* x_3039; lean_object* x_3040; -if (lean_is_scalar(x_2881)) { - x_3035 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_object* x_3053; lean_object* x_3054; lean_object* x_3055; lean_object* x_3056; lean_object* x_3057; uint8_t x_3058; lean_object* x_3059; +if (lean_is_scalar(x_2897)) { + x_3053 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_3035 = x_2881; + x_3053 = x_2897; } -lean_ctor_set(x_3035, 0, x_16); -lean_ctor_set(x_3035, 1, x_2882); -lean_ctor_set_usize(x_3035, 2, x_2880); -if (lean_is_scalar(x_2878)) { - x_3036 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_3053, 0, x_16); +lean_ctor_set(x_3053, 1, x_2898); +lean_ctor_set_usize(x_3053, 2, x_2896); +if (lean_is_scalar(x_2894)) { + x_3054 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_3036 = x_2878; + x_3054 = x_2894; } -lean_ctor_set(x_3036, 0, x_3035); -lean_ctor_set(x_3036, 1, x_2955); -lean_ctor_set_usize(x_3036, 2, x_2877); -if (lean_is_scalar(x_2875)) { - x_3037 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_3054, 0, x_3053); +lean_ctor_set(x_3054, 1, x_2972); +lean_ctor_set_usize(x_3054, 2, x_2893); +if (lean_is_scalar(x_2891)) { + x_3055 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - x_3037 = x_2875; + x_3055 = x_2891; } -lean_ctor_set(x_3037, 0, x_3036); -lean_ctor_set(x_3037, 1, x_2873); -lean_ctor_set_usize(x_3037, 2, x_2874); -x_3038 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_3038, 0, x_3037); -lean_ctor_set(x_3038, 1, x_2871); -lean_ctor_set_usize(x_3038, 2, x_2872); -x_3039 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3039, 0, x_3038); -lean_ctor_set(x_3039, 1, x_17); -x_3040 = l_Lean_Syntax_isTermId_x3f(x_3039); -if (lean_obj_tag(x_3040) == 0) +lean_ctor_set(x_3055, 0, x_3054); +lean_ctor_set(x_3055, 1, x_2889); +lean_ctor_set_usize(x_3055, 2, x_2890); +x_3056 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_3056, 0, x_3055); +lean_ctor_set(x_3056, 1, x_2887); +lean_ctor_set_usize(x_3056, 2, x_2888); +x_3057 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3057, 0, x_3056); +lean_ctor_set(x_3057, 1, x_17); +x_3058 = 1; +lean_inc(x_3057); +x_3059 = l_Lean_Syntax_isTermId_x3f(x_3057, x_3058); +if (lean_obj_tag(x_3059) == 0) { -lean_object* x_3041; lean_object* x_3042; lean_object* x_3043; lean_object* x_3044; lean_object* x_3045; lean_object* x_3046; lean_object* x_3047; lean_object* x_3048; lean_object* x_3049; -lean_dec(x_3039); -x_3041 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_3042 = lean_ctor_get(x_3041, 0); -lean_inc(x_3042); -x_3043 = lean_ctor_get(x_3041, 1); -lean_inc(x_3043); -lean_dec(x_3041); -x_3044 = lean_unsigned_to_nat(1u); -x_3045 = lean_nat_add(x_3, x_3044); +lean_object* x_3060; lean_object* x_3061; lean_object* x_3062; lean_object* x_3063; lean_object* x_3064; lean_object* x_3065; lean_object* x_3066; lean_object* x_3067; lean_object* x_3068; +lean_dec(x_3057); +x_3060 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3061 = lean_ctor_get(x_3060, 0); +lean_inc(x_3061); +x_3062 = lean_ctor_get(x_3060, 1); +lean_inc(x_3062); +lean_dec(x_3060); +x_3063 = lean_unsigned_to_nat(1u); +x_3064 = lean_nat_add(x_3, x_3063); lean_dec(x_3); -x_3046 = l_Lean_mkHole(x_11); -lean_inc(x_3042); -x_3047 = l_Lean_Elab_Term_mkExplicitBinder(x_3042, x_3046); -x_3048 = lean_array_push(x_4, x_3047); +x_3065 = l_Lean_mkHole(x_11); +lean_inc(x_3061); +x_3066 = l_Lean_Elab_Term_mkExplicitBinder(x_3061, x_3065); +x_3067 = lean_array_push(x_4, x_3066); lean_inc(x_5); -x_3049 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3045, x_3048, x_5, x_3043); -if (lean_obj_tag(x_3049) == 0) +x_3068 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3064, x_3067, x_5, x_3062); +if (lean_obj_tag(x_3068) == 0) { -lean_object* x_3050; lean_object* x_3051; lean_object* x_3052; lean_object* x_3053; lean_object* x_3054; lean_object* x_3055; lean_object* x_3056; lean_object* x_3057; lean_object* x_3058; lean_object* x_3059; lean_object* x_3060; lean_object* x_3061; lean_object* x_3062; lean_object* x_3063; lean_object* x_3064; lean_object* x_3065; lean_object* x_3066; lean_object* x_3067; lean_object* x_3068; lean_object* x_3069; lean_object* x_3070; lean_object* x_3071; lean_object* x_3072; lean_object* x_3073; lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; lean_object* x_3077; lean_object* x_3078; lean_object* x_3079; lean_object* x_3080; lean_object* x_3081; lean_object* x_3082; lean_object* x_3083; lean_object* x_3084; lean_object* x_3085; lean_object* x_3086; lean_object* x_3087; lean_object* x_3088; lean_object* x_3089; lean_object* x_3090; -x_3050 = lean_ctor_get(x_3049, 0); -lean_inc(x_3050); -x_3051 = lean_ctor_get(x_3049, 1); -lean_inc(x_3051); -lean_dec(x_3049); -x_3052 = lean_ctor_get(x_3050, 0); -lean_inc(x_3052); -x_3053 = lean_ctor_get(x_3050, 1); -lean_inc(x_3053); -if (lean_is_exclusive(x_3050)) { - lean_ctor_release(x_3050, 0); - lean_ctor_release(x_3050, 1); - x_3054 = x_3050; +lean_object* x_3069; lean_object* x_3070; lean_object* x_3071; lean_object* x_3072; lean_object* x_3073; lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; lean_object* x_3077; lean_object* x_3078; lean_object* x_3079; lean_object* x_3080; lean_object* x_3081; lean_object* x_3082; lean_object* x_3083; lean_object* x_3084; lean_object* x_3085; lean_object* x_3086; lean_object* x_3087; lean_object* x_3088; lean_object* x_3089; lean_object* x_3090; lean_object* x_3091; lean_object* x_3092; lean_object* x_3093; lean_object* x_3094; lean_object* x_3095; lean_object* x_3096; lean_object* x_3097; lean_object* x_3098; lean_object* x_3099; lean_object* x_3100; lean_object* x_3101; lean_object* x_3102; lean_object* x_3103; lean_object* x_3104; lean_object* x_3105; lean_object* x_3106; lean_object* x_3107; lean_object* x_3108; lean_object* x_3109; +x_3069 = lean_ctor_get(x_3068, 0); +lean_inc(x_3069); +x_3070 = lean_ctor_get(x_3068, 1); +lean_inc(x_3070); +lean_dec(x_3068); +x_3071 = lean_ctor_get(x_3069, 0); +lean_inc(x_3071); +x_3072 = lean_ctor_get(x_3069, 1); +lean_inc(x_3072); +if (lean_is_exclusive(x_3069)) { + lean_ctor_release(x_3069, 0); + lean_ctor_release(x_3069, 1); + x_3073 = x_3069; } else { - lean_dec_ref(x_3050); - x_3054 = lean_box(0); + lean_dec_ref(x_3069); + x_3073 = lean_box(0); } -x_3055 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3051); +x_3074 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3070); lean_dec(x_5); -x_3056 = lean_ctor_get(x_3055, 1); -lean_inc(x_3056); -lean_dec(x_3055); -x_3057 = l_Lean_Elab_Term_getMainModule___rarg(x_3056); -x_3058 = lean_ctor_get(x_3057, 1); -lean_inc(x_3058); -if (lean_is_exclusive(x_3057)) { - lean_ctor_release(x_3057, 0); - lean_ctor_release(x_3057, 1); - x_3059 = x_3057; +x_3075 = lean_ctor_get(x_3074, 1); +lean_inc(x_3075); +lean_dec(x_3074); +x_3076 = l_Lean_Elab_Term_getMainModule___rarg(x_3075); +x_3077 = lean_ctor_get(x_3076, 1); +lean_inc(x_3077); +if (lean_is_exclusive(x_3076)) { + lean_ctor_release(x_3076, 0); + lean_ctor_release(x_3076, 1); + x_3078 = x_3076; } else { - lean_dec_ref(x_3057); - x_3059 = lean_box(0); + lean_dec_ref(x_3076); + x_3078 = lean_box(0); } -x_3060 = l_Array_empty___closed__1; -x_3061 = lean_array_push(x_3060, x_3042); -x_3062 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3063 = lean_array_push(x_3061, x_3062); -x_3064 = l_Lean_mkTermIdFromIdent___closed__2; -x_3065 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3065, 0, x_3064); -lean_ctor_set(x_3065, 1, x_3063); -x_3066 = lean_array_push(x_3060, x_3065); -x_3067 = l_Lean_nullKind___closed__2; -x_3068 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3068, 0, x_3067); -lean_ctor_set(x_3068, 1, x_3066); -x_3069 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3070 = lean_array_push(x_3069, x_3068); -x_3071 = lean_array_push(x_3070, x_3062); -x_3072 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3073 = lean_array_push(x_3071, x_3072); +x_3079 = l_Array_empty___closed__1; +x_3080 = lean_array_push(x_3079, x_3061); +x_3081 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3082 = lean_array_push(x_3080, x_3081); +x_3083 = l_Lean_mkTermIdFromIdent___closed__2; +x_3084 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3084, 0, x_3083); +lean_ctor_set(x_3084, 1, x_3082); +x_3085 = lean_array_push(x_3079, x_3084); +x_3086 = l_Lean_nullKind___closed__2; +x_3087 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3087, 0, x_3086); +lean_ctor_set(x_3087, 1, x_3085); +x_3088 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3089 = lean_array_push(x_3088, x_3087); +x_3090 = lean_array_push(x_3089, x_3081); +x_3091 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3092 = lean_array_push(x_3090, x_3091); lean_inc(x_11); -x_3074 = lean_array_push(x_3060, x_11); +x_3093 = lean_array_push(x_3079, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3075 = x_11; + x_3094 = x_11; } else { lean_dec_ref(x_11); - x_3075 = lean_box(0); + x_3094 = lean_box(0); } -if (lean_is_scalar(x_3075)) { - x_3076 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3094)) { + x_3095 = lean_alloc_ctor(1, 2, 0); } else { - x_3076 = x_3075; + x_3095 = x_3094; } -lean_ctor_set(x_3076, 0, x_3067); -lean_ctor_set(x_3076, 1, x_3074); -x_3077 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3078 = lean_array_push(x_3077, x_3076); -x_3079 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3080 = lean_array_push(x_3078, x_3079); -x_3081 = lean_array_push(x_3080, x_3053); -x_3082 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3083 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3083, 0, x_3082); -lean_ctor_set(x_3083, 1, x_3081); -x_3084 = lean_array_push(x_3060, x_3083); -x_3085 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3085, 0, x_3067); -lean_ctor_set(x_3085, 1, x_3084); -x_3086 = lean_array_push(x_3073, x_3085); -x_3087 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3088 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3088, 0, x_3087); -lean_ctor_set(x_3088, 1, x_3086); -if (lean_is_scalar(x_3054)) { - x_3089 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3095, 0, x_3086); +lean_ctor_set(x_3095, 1, x_3093); +x_3096 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3097 = lean_array_push(x_3096, x_3095); +x_3098 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3099 = lean_array_push(x_3097, x_3098); +x_3100 = lean_array_push(x_3099, x_3072); +x_3101 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3102, 0, x_3101); +lean_ctor_set(x_3102, 1, x_3100); +x_3103 = lean_array_push(x_3079, x_3102); +x_3104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3104, 0, x_3086); +lean_ctor_set(x_3104, 1, x_3103); +x_3105 = lean_array_push(x_3092, x_3104); +x_3106 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3107, 0, x_3106); +lean_ctor_set(x_3107, 1, x_3105); +if (lean_is_scalar(x_3073)) { + x_3108 = lean_alloc_ctor(0, 2, 0); } else { - x_3089 = x_3054; + x_3108 = x_3073; } -lean_ctor_set(x_3089, 0, x_3052); -lean_ctor_set(x_3089, 1, x_3088); -if (lean_is_scalar(x_3059)) { - x_3090 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3108, 0, x_3071); +lean_ctor_set(x_3108, 1, x_3107); +if (lean_is_scalar(x_3078)) { + x_3109 = lean_alloc_ctor(0, 2, 0); } else { - x_3090 = x_3059; + x_3109 = x_3078; } -lean_ctor_set(x_3090, 0, x_3089); -lean_ctor_set(x_3090, 1, x_3058); -return x_3090; +lean_ctor_set(x_3109, 0, x_3108); +lean_ctor_set(x_3109, 1, x_3077); +return x_3109; } else { -lean_object* x_3091; lean_object* x_3092; lean_object* x_3093; lean_object* x_3094; -lean_dec(x_3042); +lean_object* x_3110; lean_object* x_3111; lean_object* x_3112; lean_object* x_3113; +lean_dec(x_3061); lean_dec(x_11); lean_dec(x_5); -x_3091 = lean_ctor_get(x_3049, 0); -lean_inc(x_3091); -x_3092 = lean_ctor_get(x_3049, 1); -lean_inc(x_3092); -if (lean_is_exclusive(x_3049)) { - lean_ctor_release(x_3049, 0); - lean_ctor_release(x_3049, 1); - x_3093 = x_3049; +x_3110 = lean_ctor_get(x_3068, 0); +lean_inc(x_3110); +x_3111 = lean_ctor_get(x_3068, 1); +lean_inc(x_3111); +if (lean_is_exclusive(x_3068)) { + lean_ctor_release(x_3068, 0); + lean_ctor_release(x_3068, 1); + x_3112 = x_3068; } else { - lean_dec_ref(x_3049); - x_3093 = lean_box(0); + lean_dec_ref(x_3068); + x_3112 = lean_box(0); } -if (lean_is_scalar(x_3093)) { - x_3094 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3112)) { + x_3113 = lean_alloc_ctor(1, 2, 0); } else { - x_3094 = x_3093; + x_3113 = x_3112; } -lean_ctor_set(x_3094, 0, x_3091); -lean_ctor_set(x_3094, 1, x_3092); -return x_3094; +lean_ctor_set(x_3113, 0, x_3110); +lean_ctor_set(x_3113, 1, x_3111); +return x_3113; } } else { -lean_object* x_3095; lean_object* x_3096; lean_object* x_3097; uint8_t x_3098; +lean_object* x_3114; lean_object* x_3115; lean_object* x_3116; uint8_t x_3117; lean_dec(x_11); -x_3095 = lean_ctor_get(x_3040, 0); -lean_inc(x_3095); -lean_dec(x_3040); -x_3096 = lean_ctor_get(x_3095, 0); -lean_inc(x_3096); -x_3097 = lean_ctor_get(x_3095, 1); -lean_inc(x_3097); -lean_dec(x_3095); -x_3098 = l_Lean_Syntax_isNone(x_3097); -lean_dec(x_3097); -if (x_3098 == 0) +x_3114 = lean_ctor_get(x_3059, 0); +lean_inc(x_3114); +lean_dec(x_3059); +x_3115 = lean_ctor_get(x_3114, 0); +lean_inc(x_3115); +x_3116 = lean_ctor_get(x_3114, 1); +lean_inc(x_3116); +lean_dec(x_3114); +x_3117 = l_Lean_Syntax_isNone(x_3116); +lean_dec(x_3116); +if (x_3117 == 0) { -lean_object* x_3099; lean_object* x_3100; lean_object* x_3101; lean_object* x_3102; lean_object* x_3103; lean_object* x_3104; -lean_dec(x_3096); +lean_object* x_3118; lean_object* x_3119; lean_object* x_3120; lean_object* x_3121; lean_object* x_3122; lean_object* x_3123; +lean_dec(x_3115); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3099 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_3100 = l_Lean_Elab_Term_throwError___rarg(x_3039, x_3099, x_5, x_6); -lean_dec(x_3039); -x_3101 = lean_ctor_get(x_3100, 0); -lean_inc(x_3101); -x_3102 = lean_ctor_get(x_3100, 1); -lean_inc(x_3102); -if (lean_is_exclusive(x_3100)) { - lean_ctor_release(x_3100, 0); - lean_ctor_release(x_3100, 1); - x_3103 = x_3100; +x_3118 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3119 = l_Lean_Elab_Term_throwError___rarg(x_3057, x_3118, x_5, x_6); +lean_dec(x_3057); +x_3120 = lean_ctor_get(x_3119, 0); +lean_inc(x_3120); +x_3121 = lean_ctor_get(x_3119, 1); +lean_inc(x_3121); +if (lean_is_exclusive(x_3119)) { + lean_ctor_release(x_3119, 0); + lean_ctor_release(x_3119, 1); + x_3122 = x_3119; } else { - lean_dec_ref(x_3100); - x_3103 = lean_box(0); + lean_dec_ref(x_3119); + x_3122 = lean_box(0); } -if (lean_is_scalar(x_3103)) { - x_3104 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3122)) { + x_3123 = lean_alloc_ctor(1, 2, 0); } else { - x_3104 = x_3103; + x_3123 = x_3122; } -lean_ctor_set(x_3104, 0, x_3101); -lean_ctor_set(x_3104, 1, x_3102); -return x_3104; +lean_ctor_set(x_3123, 0, x_3120); +lean_ctor_set(x_3123, 1, x_3121); +return x_3123; } else { -lean_object* x_3105; lean_object* x_3106; lean_object* x_3107; lean_object* x_3108; lean_object* x_3109; -x_3105 = l_Lean_mkHole(x_3039); -lean_dec(x_3039); -x_3106 = lean_unsigned_to_nat(1u); -x_3107 = lean_nat_add(x_3, x_3106); +lean_object* x_3124; lean_object* x_3125; lean_object* x_3126; lean_object* x_3127; lean_object* x_3128; +x_3124 = l_Lean_mkHole(x_3057); +lean_dec(x_3057); +x_3125 = lean_unsigned_to_nat(1u); +x_3126 = lean_nat_add(x_3, x_3125); lean_dec(x_3); -x_3108 = l_Lean_Elab_Term_mkExplicitBinder(x_3096, x_3105); -x_3109 = lean_array_push(x_4, x_3108); -x_3 = x_3107; -x_4 = x_3109; -goto _start; -} -} -} -else -{ -lean_object* x_3111; uint8_t x_3112; -lean_dec(x_2873); -x_3111 = l_Lean_mkHole___closed__1; -x_3112 = lean_string_dec_eq(x_2871, x_3111); -if (x_3112 == 0) -{ -lean_object* x_3113; uint8_t x_3114; -x_3113 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; -x_3114 = lean_string_dec_eq(x_2871, x_3113); -if (x_3114 == 0) -{ -lean_object* x_3115; lean_object* x_3116; lean_object* x_3117; lean_object* x_3118; lean_object* x_3119; lean_object* x_3120; -if (lean_is_scalar(x_2881)) { - x_3115 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_3115 = x_2881; -} -lean_ctor_set(x_3115, 0, x_16); -lean_ctor_set(x_3115, 1, x_2882); -lean_ctor_set_usize(x_3115, 2, x_2880); -if (lean_is_scalar(x_2878)) { - x_3116 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_3116 = x_2878; -} -lean_ctor_set(x_3116, 0, x_3115); -lean_ctor_set(x_3116, 1, x_2955); -lean_ctor_set_usize(x_3116, 2, x_2877); -if (lean_is_scalar(x_2875)) { - x_3117 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -} else { - x_3117 = x_2875; -} -lean_ctor_set(x_3117, 0, x_3116); -lean_ctor_set(x_3117, 1, x_3033); -lean_ctor_set_usize(x_3117, 2, x_2874); -x_3118 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_3118, 0, x_3117); -lean_ctor_set(x_3118, 1, x_2871); -lean_ctor_set_usize(x_3118, 2, x_2872); -x_3119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3119, 0, x_3118); -lean_ctor_set(x_3119, 1, x_17); -x_3120 = l_Lean_Syntax_isTermId_x3f(x_3119); -if (lean_obj_tag(x_3120) == 0) -{ -lean_object* x_3121; lean_object* x_3122; lean_object* x_3123; lean_object* x_3124; lean_object* x_3125; lean_object* x_3126; lean_object* x_3127; lean_object* x_3128; lean_object* x_3129; -lean_dec(x_3119); -x_3121 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_3122 = lean_ctor_get(x_3121, 0); -lean_inc(x_3122); -x_3123 = lean_ctor_get(x_3121, 1); -lean_inc(x_3123); -lean_dec(x_3121); -x_3124 = lean_unsigned_to_nat(1u); -x_3125 = lean_nat_add(x_3, x_3124); -lean_dec(x_3); -x_3126 = l_Lean_mkHole(x_11); -lean_inc(x_3122); -x_3127 = l_Lean_Elab_Term_mkExplicitBinder(x_3122, x_3126); +x_3127 = l_Lean_Elab_Term_mkExplicitBinder(x_3115, x_3124); x_3128 = lean_array_push(x_4, x_3127); -lean_inc(x_5); -x_3129 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3125, x_3128, x_5, x_3123); -if (lean_obj_tag(x_3129) == 0) +x_3 = x_3126; +x_4 = x_3128; +goto _start; +} +} +} +else { -lean_object* x_3130; lean_object* x_3131; lean_object* x_3132; lean_object* x_3133; lean_object* x_3134; lean_object* x_3135; lean_object* x_3136; lean_object* x_3137; lean_object* x_3138; lean_object* x_3139; lean_object* x_3140; lean_object* x_3141; lean_object* x_3142; lean_object* x_3143; lean_object* x_3144; lean_object* x_3145; lean_object* x_3146; lean_object* x_3147; lean_object* x_3148; lean_object* x_3149; lean_object* x_3150; lean_object* x_3151; lean_object* x_3152; lean_object* x_3153; lean_object* x_3154; lean_object* x_3155; lean_object* x_3156; lean_object* x_3157; lean_object* x_3158; lean_object* x_3159; lean_object* x_3160; lean_object* x_3161; lean_object* x_3162; lean_object* x_3163; lean_object* x_3164; lean_object* x_3165; lean_object* x_3166; lean_object* x_3167; lean_object* x_3168; lean_object* x_3169; lean_object* x_3170; -x_3130 = lean_ctor_get(x_3129, 0); -lean_inc(x_3130); -x_3131 = lean_ctor_get(x_3129, 1); -lean_inc(x_3131); -lean_dec(x_3129); -x_3132 = lean_ctor_get(x_3130, 0); -lean_inc(x_3132); -x_3133 = lean_ctor_get(x_3130, 1); -lean_inc(x_3133); -if (lean_is_exclusive(x_3130)) { - lean_ctor_release(x_3130, 0); - lean_ctor_release(x_3130, 1); - x_3134 = x_3130; +lean_object* x_3130; uint8_t x_3131; +lean_dec(x_2889); +x_3130 = l_Lean_mkHole___closed__1; +x_3131 = lean_string_dec_eq(x_2887, x_3130); +if (x_3131 == 0) +{ +lean_object* x_3132; uint8_t x_3133; +x_3132 = l___private_Init_Lean_Parser_Parser_14__antiquotNestedExpr___elambda__1___rarg___closed__1; +x_3133 = lean_string_dec_eq(x_2887, x_3132); +if (x_3133 == 0) +{ +lean_object* x_3134; lean_object* x_3135; lean_object* x_3136; lean_object* x_3137; lean_object* x_3138; uint8_t x_3139; lean_object* x_3140; +if (lean_is_scalar(x_2897)) { + x_3134 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); } else { - lean_dec_ref(x_3130); - x_3134 = lean_box(0); + x_3134 = x_2897; } -x_3135 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3131); -lean_dec(x_5); -x_3136 = lean_ctor_get(x_3135, 1); -lean_inc(x_3136); -lean_dec(x_3135); -x_3137 = l_Lean_Elab_Term_getMainModule___rarg(x_3136); -x_3138 = lean_ctor_get(x_3137, 1); +lean_ctor_set(x_3134, 0, x_16); +lean_ctor_set(x_3134, 1, x_2898); +lean_ctor_set_usize(x_3134, 2, x_2896); +if (lean_is_scalar(x_2894)) { + x_3135 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3135 = x_2894; +} +lean_ctor_set(x_3135, 0, x_3134); +lean_ctor_set(x_3135, 1, x_2972); +lean_ctor_set_usize(x_3135, 2, x_2893); +if (lean_is_scalar(x_2891)) { + x_3136 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_3136 = x_2891; +} +lean_ctor_set(x_3136, 0, x_3135); +lean_ctor_set(x_3136, 1, x_3051); +lean_ctor_set_usize(x_3136, 2, x_2890); +x_3137 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_3137, 0, x_3136); +lean_ctor_set(x_3137, 1, x_2887); +lean_ctor_set_usize(x_3137, 2, x_2888); +x_3138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3138, 0, x_3137); +lean_ctor_set(x_3138, 1, x_17); +x_3139 = 1; lean_inc(x_3138); -if (lean_is_exclusive(x_3137)) { - lean_ctor_release(x_3137, 0); - lean_ctor_release(x_3137, 1); - x_3139 = x_3137; +x_3140 = l_Lean_Syntax_isTermId_x3f(x_3138, x_3139); +if (lean_obj_tag(x_3140) == 0) +{ +lean_object* x_3141; lean_object* x_3142; lean_object* x_3143; lean_object* x_3144; lean_object* x_3145; lean_object* x_3146; lean_object* x_3147; lean_object* x_3148; lean_object* x_3149; +lean_dec(x_3138); +x_3141 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3142 = lean_ctor_get(x_3141, 0); +lean_inc(x_3142); +x_3143 = lean_ctor_get(x_3141, 1); +lean_inc(x_3143); +lean_dec(x_3141); +x_3144 = lean_unsigned_to_nat(1u); +x_3145 = lean_nat_add(x_3, x_3144); +lean_dec(x_3); +x_3146 = l_Lean_mkHole(x_11); +lean_inc(x_3142); +x_3147 = l_Lean_Elab_Term_mkExplicitBinder(x_3142, x_3146); +x_3148 = lean_array_push(x_4, x_3147); +lean_inc(x_5); +x_3149 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3145, x_3148, x_5, x_3143); +if (lean_obj_tag(x_3149) == 0) +{ +lean_object* x_3150; lean_object* x_3151; lean_object* x_3152; lean_object* x_3153; lean_object* x_3154; lean_object* x_3155; lean_object* x_3156; lean_object* x_3157; lean_object* x_3158; lean_object* x_3159; lean_object* x_3160; lean_object* x_3161; lean_object* x_3162; lean_object* x_3163; lean_object* x_3164; lean_object* x_3165; lean_object* x_3166; lean_object* x_3167; lean_object* x_3168; lean_object* x_3169; lean_object* x_3170; lean_object* x_3171; lean_object* x_3172; lean_object* x_3173; lean_object* x_3174; lean_object* x_3175; lean_object* x_3176; lean_object* x_3177; lean_object* x_3178; lean_object* x_3179; lean_object* x_3180; lean_object* x_3181; lean_object* x_3182; lean_object* x_3183; lean_object* x_3184; lean_object* x_3185; lean_object* x_3186; lean_object* x_3187; lean_object* x_3188; lean_object* x_3189; lean_object* x_3190; +x_3150 = lean_ctor_get(x_3149, 0); +lean_inc(x_3150); +x_3151 = lean_ctor_get(x_3149, 1); +lean_inc(x_3151); +lean_dec(x_3149); +x_3152 = lean_ctor_get(x_3150, 0); +lean_inc(x_3152); +x_3153 = lean_ctor_get(x_3150, 1); +lean_inc(x_3153); +if (lean_is_exclusive(x_3150)) { + lean_ctor_release(x_3150, 0); + lean_ctor_release(x_3150, 1); + x_3154 = x_3150; } else { - lean_dec_ref(x_3137); - x_3139 = lean_box(0); + lean_dec_ref(x_3150); + x_3154 = lean_box(0); } -x_3140 = l_Array_empty___closed__1; -x_3141 = lean_array_push(x_3140, x_3122); -x_3142 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3143 = lean_array_push(x_3141, x_3142); -x_3144 = l_Lean_mkTermIdFromIdent___closed__2; -x_3145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3145, 0, x_3144); -lean_ctor_set(x_3145, 1, x_3143); -x_3146 = lean_array_push(x_3140, x_3145); -x_3147 = l_Lean_nullKind___closed__2; -x_3148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3148, 0, x_3147); -lean_ctor_set(x_3148, 1, x_3146); -x_3149 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3150 = lean_array_push(x_3149, x_3148); -x_3151 = lean_array_push(x_3150, x_3142); -x_3152 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3153 = lean_array_push(x_3151, x_3152); -lean_inc(x_11); -x_3154 = lean_array_push(x_3140, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_3155 = x_11; +x_3155 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3151); +lean_dec(x_5); +x_3156 = lean_ctor_get(x_3155, 1); +lean_inc(x_3156); +lean_dec(x_3155); +x_3157 = l_Lean_Elab_Term_getMainModule___rarg(x_3156); +x_3158 = lean_ctor_get(x_3157, 1); +lean_inc(x_3158); +if (lean_is_exclusive(x_3157)) { + lean_ctor_release(x_3157, 0); + lean_ctor_release(x_3157, 1); + x_3159 = x_3157; } else { - lean_dec_ref(x_11); - x_3155 = lean_box(0); + lean_dec_ref(x_3157); + x_3159 = lean_box(0); } -if (lean_is_scalar(x_3155)) { - x_3156 = lean_alloc_ctor(1, 2, 0); -} else { - x_3156 = x_3155; -} -lean_ctor_set(x_3156, 0, x_3147); -lean_ctor_set(x_3156, 1, x_3154); -x_3157 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3158 = lean_array_push(x_3157, x_3156); -x_3159 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3160 = lean_array_push(x_3158, x_3159); -x_3161 = lean_array_push(x_3160, x_3133); -x_3162 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3163, 0, x_3162); -lean_ctor_set(x_3163, 1, x_3161); -x_3164 = lean_array_push(x_3140, x_3163); +x_3160 = l_Array_empty___closed__1; +x_3161 = lean_array_push(x_3160, x_3142); +x_3162 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3163 = lean_array_push(x_3161, x_3162); +x_3164 = l_Lean_mkTermIdFromIdent___closed__2; x_3165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3165, 0, x_3147); -lean_ctor_set(x_3165, 1, x_3164); -x_3166 = lean_array_push(x_3153, x_3165); -x_3167 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_ctor_set(x_3165, 0, x_3164); +lean_ctor_set(x_3165, 1, x_3163); +x_3166 = lean_array_push(x_3160, x_3165); +x_3167 = l_Lean_nullKind___closed__2; x_3168 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3168, 0, x_3167); lean_ctor_set(x_3168, 1, x_3166); -if (lean_is_scalar(x_3134)) { - x_3169 = lean_alloc_ctor(0, 2, 0); +x_3169 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3170 = lean_array_push(x_3169, x_3168); +x_3171 = lean_array_push(x_3170, x_3162); +x_3172 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3173 = lean_array_push(x_3171, x_3172); +lean_inc(x_11); +x_3174 = lean_array_push(x_3160, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3175 = x_11; } else { - x_3169 = x_3134; + lean_dec_ref(x_11); + x_3175 = lean_box(0); } -lean_ctor_set(x_3169, 0, x_3132); -lean_ctor_set(x_3169, 1, x_3168); -if (lean_is_scalar(x_3139)) { - x_3170 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_3175)) { + x_3176 = lean_alloc_ctor(1, 2, 0); } else { - x_3170 = x_3139; + x_3176 = x_3175; } -lean_ctor_set(x_3170, 0, x_3169); -lean_ctor_set(x_3170, 1, x_3138); -return x_3170; +lean_ctor_set(x_3176, 0, x_3167); +lean_ctor_set(x_3176, 1, x_3174); +x_3177 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3178 = lean_array_push(x_3177, x_3176); +x_3179 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3180 = lean_array_push(x_3178, x_3179); +x_3181 = lean_array_push(x_3180, x_3153); +x_3182 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3183, 0, x_3182); +lean_ctor_set(x_3183, 1, x_3181); +x_3184 = lean_array_push(x_3160, x_3183); +x_3185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3185, 0, x_3167); +lean_ctor_set(x_3185, 1, x_3184); +x_3186 = lean_array_push(x_3173, x_3185); +x_3187 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3188, 0, x_3187); +lean_ctor_set(x_3188, 1, x_3186); +if (lean_is_scalar(x_3154)) { + x_3189 = lean_alloc_ctor(0, 2, 0); +} else { + x_3189 = x_3154; +} +lean_ctor_set(x_3189, 0, x_3152); +lean_ctor_set(x_3189, 1, x_3188); +if (lean_is_scalar(x_3159)) { + x_3190 = lean_alloc_ctor(0, 2, 0); +} else { + x_3190 = x_3159; +} +lean_ctor_set(x_3190, 0, x_3189); +lean_ctor_set(x_3190, 1, x_3158); +return x_3190; } else { -lean_object* x_3171; lean_object* x_3172; lean_object* x_3173; lean_object* x_3174; -lean_dec(x_3122); +lean_object* x_3191; lean_object* x_3192; lean_object* x_3193; lean_object* x_3194; +lean_dec(x_3142); lean_dec(x_11); lean_dec(x_5); -x_3171 = lean_ctor_get(x_3129, 0); -lean_inc(x_3171); -x_3172 = lean_ctor_get(x_3129, 1); -lean_inc(x_3172); -if (lean_is_exclusive(x_3129)) { - lean_ctor_release(x_3129, 0); - lean_ctor_release(x_3129, 1); - x_3173 = x_3129; +x_3191 = lean_ctor_get(x_3149, 0); +lean_inc(x_3191); +x_3192 = lean_ctor_get(x_3149, 1); +lean_inc(x_3192); +if (lean_is_exclusive(x_3149)) { + lean_ctor_release(x_3149, 0); + lean_ctor_release(x_3149, 1); + x_3193 = x_3149; } else { - lean_dec_ref(x_3129); - x_3173 = lean_box(0); + lean_dec_ref(x_3149); + x_3193 = lean_box(0); } -if (lean_is_scalar(x_3173)) { - x_3174 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3193)) { + x_3194 = lean_alloc_ctor(1, 2, 0); } else { - x_3174 = x_3173; + x_3194 = x_3193; } -lean_ctor_set(x_3174, 0, x_3171); -lean_ctor_set(x_3174, 1, x_3172); -return x_3174; +lean_ctor_set(x_3194, 0, x_3191); +lean_ctor_set(x_3194, 1, x_3192); +return x_3194; } } else { -lean_object* x_3175; lean_object* x_3176; lean_object* x_3177; uint8_t x_3178; +lean_object* x_3195; lean_object* x_3196; lean_object* x_3197; uint8_t x_3198; lean_dec(x_11); -x_3175 = lean_ctor_get(x_3120, 0); -lean_inc(x_3175); -lean_dec(x_3120); -x_3176 = lean_ctor_get(x_3175, 0); -lean_inc(x_3176); -x_3177 = lean_ctor_get(x_3175, 1); -lean_inc(x_3177); -lean_dec(x_3175); -x_3178 = l_Lean_Syntax_isNone(x_3177); -lean_dec(x_3177); -if (x_3178 == 0) +x_3195 = lean_ctor_get(x_3140, 0); +lean_inc(x_3195); +lean_dec(x_3140); +x_3196 = lean_ctor_get(x_3195, 0); +lean_inc(x_3196); +x_3197 = lean_ctor_get(x_3195, 1); +lean_inc(x_3197); +lean_dec(x_3195); +x_3198 = l_Lean_Syntax_isNone(x_3197); +lean_dec(x_3197); +if (x_3198 == 0) { -lean_object* x_3179; lean_object* x_3180; lean_object* x_3181; lean_object* x_3182; lean_object* x_3183; lean_object* x_3184; -lean_dec(x_3176); +lean_object* x_3199; lean_object* x_3200; lean_object* x_3201; lean_object* x_3202; lean_object* x_3203; lean_object* x_3204; +lean_dec(x_3196); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3179 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_3180 = l_Lean_Elab_Term_throwError___rarg(x_3119, x_3179, x_5, x_6); -lean_dec(x_3119); -x_3181 = lean_ctor_get(x_3180, 0); -lean_inc(x_3181); -x_3182 = lean_ctor_get(x_3180, 1); -lean_inc(x_3182); -if (lean_is_exclusive(x_3180)) { - lean_ctor_release(x_3180, 0); - lean_ctor_release(x_3180, 1); - x_3183 = x_3180; +x_3199 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3200 = l_Lean_Elab_Term_throwError___rarg(x_3138, x_3199, x_5, x_6); +lean_dec(x_3138); +x_3201 = lean_ctor_get(x_3200, 0); +lean_inc(x_3201); +x_3202 = lean_ctor_get(x_3200, 1); +lean_inc(x_3202); +if (lean_is_exclusive(x_3200)) { + lean_ctor_release(x_3200, 0); + lean_ctor_release(x_3200, 1); + x_3203 = x_3200; } else { - lean_dec_ref(x_3180); - x_3183 = lean_box(0); + lean_dec_ref(x_3200); + x_3203 = lean_box(0); } -if (lean_is_scalar(x_3183)) { - x_3184 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3203)) { + x_3204 = lean_alloc_ctor(1, 2, 0); } else { - x_3184 = x_3183; + x_3204 = x_3203; } -lean_ctor_set(x_3184, 0, x_3181); -lean_ctor_set(x_3184, 1, x_3182); -return x_3184; +lean_ctor_set(x_3204, 0, x_3201); +lean_ctor_set(x_3204, 1, x_3202); +return x_3204; } else { -lean_object* x_3185; lean_object* x_3186; lean_object* x_3187; lean_object* x_3188; lean_object* x_3189; -x_3185 = l_Lean_mkHole(x_3119); -lean_dec(x_3119); -x_3186 = lean_unsigned_to_nat(1u); -x_3187 = lean_nat_add(x_3, x_3186); +lean_object* x_3205; lean_object* x_3206; lean_object* x_3207; lean_object* x_3208; lean_object* x_3209; +x_3205 = l_Lean_mkHole(x_3138); +lean_dec(x_3138); +x_3206 = lean_unsigned_to_nat(1u); +x_3207 = lean_nat_add(x_3, x_3206); lean_dec(x_3); -x_3188 = l_Lean_Elab_Term_mkExplicitBinder(x_3176, x_3185); -x_3189 = lean_array_push(x_4, x_3188); -x_3 = x_3187; -x_4 = x_3189; +x_3208 = l_Lean_Elab_Term_mkExplicitBinder(x_3196, x_3205); +x_3209 = lean_array_push(x_4, x_3208); +x_3 = x_3207; +x_4 = x_3209; goto _start; } } } else { -lean_object* x_3191; lean_object* x_3192; uint8_t x_3193; -lean_dec(x_2881); -lean_dec(x_2878); -lean_dec(x_2875); -lean_dec(x_2871); +lean_object* x_3211; lean_object* x_3212; uint8_t x_3213; +lean_dec(x_2897); +lean_dec(x_2894); +lean_dec(x_2891); +lean_dec(x_2887); lean_dec(x_17); -x_3191 = lean_unsigned_to_nat(1u); -x_3192 = l_Lean_Syntax_getArg(x_11, x_3191); -x_3193 = l_Lean_Syntax_isNone(x_3192); -if (x_3193 == 0) +x_3211 = lean_unsigned_to_nat(1u); +x_3212 = l_Lean_Syntax_getArg(x_11, x_3211); +x_3213 = l_Lean_Syntax_isNone(x_3212); +if (x_3213 == 0) { -lean_object* x_3194; lean_object* x_3195; lean_object* x_3196; uint8_t x_3197; -x_3194 = lean_unsigned_to_nat(0u); -x_3195 = l_Lean_Syntax_getArg(x_3192, x_3194); -x_3196 = l_Lean_Syntax_getArg(x_3192, x_3191); -lean_dec(x_3192); -x_3197 = l_Lean_Syntax_isNone(x_3196); -if (x_3197 == 0) +lean_object* x_3214; lean_object* x_3215; lean_object* x_3216; uint8_t x_3217; +x_3214 = lean_unsigned_to_nat(0u); +x_3215 = l_Lean_Syntax_getArg(x_3212, x_3214); +x_3216 = l_Lean_Syntax_getArg(x_3212, x_3211); +lean_dec(x_3212); +x_3217 = l_Lean_Syntax_isNone(x_3216); +if (x_3217 == 0) { -lean_object* x_3198; lean_object* x_3199; lean_object* x_3200; lean_object* x_3201; lean_object* x_3202; lean_object* x_3203; lean_object* x_3204; uint8_t x_3205; -x_3198 = l_Lean_Syntax_getArg(x_3196, x_3194); -lean_dec(x_3196); -lean_inc(x_3198); -x_3199 = l_Lean_Syntax_getKind(x_3198); -x_3200 = lean_name_mk_string(x_16, x_2882); -x_3201 = lean_name_mk_string(x_3200, x_2955); -x_3202 = lean_name_mk_string(x_3201, x_3033); -x_3203 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; -x_3204 = lean_name_mk_string(x_3202, x_3203); -x_3205 = lean_name_eq(x_3199, x_3204); -lean_dec(x_3204); -lean_dec(x_3199); -if (x_3205 == 0) -{ -lean_object* x_3206; lean_object* x_3207; lean_object* x_3208; lean_object* x_3209; lean_object* x_3210; lean_object* x_3211; lean_object* x_3212; lean_object* x_3213; -lean_dec(x_3198); -lean_dec(x_3195); -x_3206 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_3207 = lean_ctor_get(x_3206, 0); -lean_inc(x_3207); -x_3208 = lean_ctor_get(x_3206, 1); -lean_inc(x_3208); -lean_dec(x_3206); -x_3209 = lean_nat_add(x_3, x_3191); -lean_dec(x_3); -x_3210 = l_Lean_mkHole(x_11); -lean_inc(x_3207); -x_3211 = l_Lean_Elab_Term_mkExplicitBinder(x_3207, x_3210); -x_3212 = lean_array_push(x_4, x_3211); -lean_inc(x_5); -x_3213 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3209, x_3212, x_5, x_3208); -if (lean_obj_tag(x_3213) == 0) -{ -lean_object* x_3214; lean_object* x_3215; lean_object* x_3216; lean_object* x_3217; lean_object* x_3218; lean_object* x_3219; lean_object* x_3220; lean_object* x_3221; lean_object* x_3222; lean_object* x_3223; lean_object* x_3224; lean_object* x_3225; lean_object* x_3226; lean_object* x_3227; lean_object* x_3228; lean_object* x_3229; lean_object* x_3230; lean_object* x_3231; lean_object* x_3232; lean_object* x_3233; lean_object* x_3234; lean_object* x_3235; lean_object* x_3236; lean_object* x_3237; lean_object* x_3238; lean_object* x_3239; lean_object* x_3240; lean_object* x_3241; lean_object* x_3242; lean_object* x_3243; lean_object* x_3244; lean_object* x_3245; lean_object* x_3246; lean_object* x_3247; lean_object* x_3248; lean_object* x_3249; lean_object* x_3250; lean_object* x_3251; lean_object* x_3252; lean_object* x_3253; lean_object* x_3254; -x_3214 = lean_ctor_get(x_3213, 0); -lean_inc(x_3214); -x_3215 = lean_ctor_get(x_3213, 1); -lean_inc(x_3215); -lean_dec(x_3213); -x_3216 = lean_ctor_get(x_3214, 0); -lean_inc(x_3216); -x_3217 = lean_ctor_get(x_3214, 1); -lean_inc(x_3217); -if (lean_is_exclusive(x_3214)) { - lean_ctor_release(x_3214, 0); - lean_ctor_release(x_3214, 1); - x_3218 = x_3214; -} else { - lean_dec_ref(x_3214); - x_3218 = lean_box(0); -} -x_3219 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3215); -lean_dec(x_5); -x_3220 = lean_ctor_get(x_3219, 1); -lean_inc(x_3220); +lean_object* x_3218; lean_object* x_3219; lean_object* x_3220; lean_object* x_3221; lean_object* x_3222; lean_object* x_3223; lean_object* x_3224; uint8_t x_3225; +x_3218 = l_Lean_Syntax_getArg(x_3216, x_3214); +lean_dec(x_3216); +lean_inc(x_3218); +x_3219 = l_Lean_Syntax_getKind(x_3218); +x_3220 = lean_name_mk_string(x_16, x_2898); +x_3221 = lean_name_mk_string(x_3220, x_2972); +x_3222 = lean_name_mk_string(x_3221, x_3051); +x_3223 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; +x_3224 = lean_name_mk_string(x_3222, x_3223); +x_3225 = lean_name_eq(x_3219, x_3224); +lean_dec(x_3224); lean_dec(x_3219); -x_3221 = l_Lean_Elab_Term_getMainModule___rarg(x_3220); -x_3222 = lean_ctor_get(x_3221, 1); -lean_inc(x_3222); -if (lean_is_exclusive(x_3221)) { - lean_ctor_release(x_3221, 0); - lean_ctor_release(x_3221, 1); - x_3223 = x_3221; +if (x_3225 == 0) +{ +lean_object* x_3226; lean_object* x_3227; lean_object* x_3228; lean_object* x_3229; lean_object* x_3230; lean_object* x_3231; lean_object* x_3232; lean_object* x_3233; +lean_dec(x_3218); +lean_dec(x_3215); +x_3226 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3227 = lean_ctor_get(x_3226, 0); +lean_inc(x_3227); +x_3228 = lean_ctor_get(x_3226, 1); +lean_inc(x_3228); +lean_dec(x_3226); +x_3229 = lean_nat_add(x_3, x_3211); +lean_dec(x_3); +x_3230 = l_Lean_mkHole(x_11); +lean_inc(x_3227); +x_3231 = l_Lean_Elab_Term_mkExplicitBinder(x_3227, x_3230); +x_3232 = lean_array_push(x_4, x_3231); +lean_inc(x_5); +x_3233 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3229, x_3232, x_5, x_3228); +if (lean_obj_tag(x_3233) == 0) +{ +lean_object* x_3234; lean_object* x_3235; lean_object* x_3236; lean_object* x_3237; lean_object* x_3238; lean_object* x_3239; lean_object* x_3240; lean_object* x_3241; lean_object* x_3242; lean_object* x_3243; lean_object* x_3244; lean_object* x_3245; lean_object* x_3246; lean_object* x_3247; lean_object* x_3248; lean_object* x_3249; lean_object* x_3250; lean_object* x_3251; lean_object* x_3252; lean_object* x_3253; lean_object* x_3254; lean_object* x_3255; lean_object* x_3256; lean_object* x_3257; lean_object* x_3258; lean_object* x_3259; lean_object* x_3260; lean_object* x_3261; lean_object* x_3262; lean_object* x_3263; lean_object* x_3264; lean_object* x_3265; lean_object* x_3266; lean_object* x_3267; lean_object* x_3268; lean_object* x_3269; lean_object* x_3270; lean_object* x_3271; lean_object* x_3272; lean_object* x_3273; lean_object* x_3274; +x_3234 = lean_ctor_get(x_3233, 0); +lean_inc(x_3234); +x_3235 = lean_ctor_get(x_3233, 1); +lean_inc(x_3235); +lean_dec(x_3233); +x_3236 = lean_ctor_get(x_3234, 0); +lean_inc(x_3236); +x_3237 = lean_ctor_get(x_3234, 1); +lean_inc(x_3237); +if (lean_is_exclusive(x_3234)) { + lean_ctor_release(x_3234, 0); + lean_ctor_release(x_3234, 1); + x_3238 = x_3234; } else { - lean_dec_ref(x_3221); - x_3223 = lean_box(0); + lean_dec_ref(x_3234); + x_3238 = lean_box(0); } -x_3224 = l_Array_empty___closed__1; -x_3225 = lean_array_push(x_3224, x_3207); -x_3226 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3227 = lean_array_push(x_3225, x_3226); -x_3228 = l_Lean_mkTermIdFromIdent___closed__2; -x_3229 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3229, 0, x_3228); -lean_ctor_set(x_3229, 1, x_3227); -x_3230 = lean_array_push(x_3224, x_3229); -x_3231 = l_Lean_nullKind___closed__2; -x_3232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3232, 0, x_3231); -lean_ctor_set(x_3232, 1, x_3230); -x_3233 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3234 = lean_array_push(x_3233, x_3232); -x_3235 = lean_array_push(x_3234, x_3226); -x_3236 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3237 = lean_array_push(x_3235, x_3236); -lean_inc(x_11); -x_3238 = lean_array_push(x_3224, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_3239 = x_11; +x_3239 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3235); +lean_dec(x_5); +x_3240 = lean_ctor_get(x_3239, 1); +lean_inc(x_3240); +lean_dec(x_3239); +x_3241 = l_Lean_Elab_Term_getMainModule___rarg(x_3240); +x_3242 = lean_ctor_get(x_3241, 1); +lean_inc(x_3242); +if (lean_is_exclusive(x_3241)) { + lean_ctor_release(x_3241, 0); + lean_ctor_release(x_3241, 1); + x_3243 = x_3241; } else { - lean_dec_ref(x_11); - x_3239 = lean_box(0); + lean_dec_ref(x_3241); + x_3243 = lean_box(0); } -if (lean_is_scalar(x_3239)) { - x_3240 = lean_alloc_ctor(1, 2, 0); -} else { - x_3240 = x_3239; -} -lean_ctor_set(x_3240, 0, x_3231); -lean_ctor_set(x_3240, 1, x_3238); -x_3241 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3242 = lean_array_push(x_3241, x_3240); -x_3243 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3244 = lean_array_push(x_3242, x_3243); -x_3245 = lean_array_push(x_3244, x_3217); -x_3246 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3247, 0, x_3246); -lean_ctor_set(x_3247, 1, x_3245); -x_3248 = lean_array_push(x_3224, x_3247); +x_3244 = l_Array_empty___closed__1; +x_3245 = lean_array_push(x_3244, x_3227); +x_3246 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3247 = lean_array_push(x_3245, x_3246); +x_3248 = l_Lean_mkTermIdFromIdent___closed__2; x_3249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3249, 0, x_3231); -lean_ctor_set(x_3249, 1, x_3248); -x_3250 = lean_array_push(x_3237, x_3249); -x_3251 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_ctor_set(x_3249, 0, x_3248); +lean_ctor_set(x_3249, 1, x_3247); +x_3250 = lean_array_push(x_3244, x_3249); +x_3251 = l_Lean_nullKind___closed__2; x_3252 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3252, 0, x_3251); lean_ctor_set(x_3252, 1, x_3250); -if (lean_is_scalar(x_3218)) { - x_3253 = lean_alloc_ctor(0, 2, 0); -} else { - x_3253 = x_3218; -} -lean_ctor_set(x_3253, 0, x_3216); -lean_ctor_set(x_3253, 1, x_3252); -if (lean_is_scalar(x_3223)) { - x_3254 = lean_alloc_ctor(0, 2, 0); -} else { - x_3254 = x_3223; -} -lean_ctor_set(x_3254, 0, x_3253); -lean_ctor_set(x_3254, 1, x_3222); -return x_3254; -} -else -{ -lean_object* x_3255; lean_object* x_3256; lean_object* x_3257; lean_object* x_3258; -lean_dec(x_3207); -lean_dec(x_11); -lean_dec(x_5); -x_3255 = lean_ctor_get(x_3213, 0); -lean_inc(x_3255); -x_3256 = lean_ctor_get(x_3213, 1); -lean_inc(x_3256); -if (lean_is_exclusive(x_3213)) { - lean_ctor_release(x_3213, 0); - lean_ctor_release(x_3213, 1); - x_3257 = x_3213; -} else { - lean_dec_ref(x_3213); - x_3257 = lean_box(0); -} -if (lean_is_scalar(x_3257)) { - x_3258 = lean_alloc_ctor(1, 2, 0); -} else { - x_3258 = x_3257; -} -lean_ctor_set(x_3258, 0, x_3255); -lean_ctor_set(x_3258, 1, x_3256); -return x_3258; -} -} -else -{ -lean_object* x_3259; lean_object* x_3260; lean_object* x_3261; -x_3259 = l_Lean_Syntax_getArg(x_3198, x_3191); -lean_dec(x_3198); -x_3260 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_3195, x_5, x_6); -x_3261 = lean_ctor_get(x_3260, 0); -lean_inc(x_3261); -if (lean_obj_tag(x_3261) == 0) -{ -lean_object* x_3262; lean_object* x_3263; lean_object* x_3264; lean_object* x_3265; lean_object* x_3266; lean_object* x_3267; lean_object* x_3268; lean_object* x_3269; lean_object* x_3270; -lean_dec(x_3259); -x_3262 = lean_ctor_get(x_3260, 1); -lean_inc(x_3262); -lean_dec(x_3260); -x_3263 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_3262); -x_3264 = lean_ctor_get(x_3263, 0); -lean_inc(x_3264); -x_3265 = lean_ctor_get(x_3263, 1); -lean_inc(x_3265); -lean_dec(x_3263); -x_3266 = lean_nat_add(x_3, x_3191); -lean_dec(x_3); -x_3267 = l_Lean_mkHole(x_11); -lean_inc(x_3264); -x_3268 = l_Lean_Elab_Term_mkExplicitBinder(x_3264, x_3267); -x_3269 = lean_array_push(x_4, x_3268); -lean_inc(x_5); -x_3270 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3266, x_3269, x_5, x_3265); -if (lean_obj_tag(x_3270) == 0) -{ -lean_object* x_3271; lean_object* x_3272; lean_object* x_3273; lean_object* x_3274; lean_object* x_3275; lean_object* x_3276; lean_object* x_3277; lean_object* x_3278; lean_object* x_3279; lean_object* x_3280; lean_object* x_3281; lean_object* x_3282; lean_object* x_3283; lean_object* x_3284; lean_object* x_3285; lean_object* x_3286; lean_object* x_3287; lean_object* x_3288; lean_object* x_3289; lean_object* x_3290; lean_object* x_3291; lean_object* x_3292; lean_object* x_3293; lean_object* x_3294; lean_object* x_3295; lean_object* x_3296; lean_object* x_3297; lean_object* x_3298; lean_object* x_3299; lean_object* x_3300; lean_object* x_3301; lean_object* x_3302; lean_object* x_3303; lean_object* x_3304; lean_object* x_3305; lean_object* x_3306; lean_object* x_3307; lean_object* x_3308; lean_object* x_3309; lean_object* x_3310; lean_object* x_3311; -x_3271 = lean_ctor_get(x_3270, 0); -lean_inc(x_3271); -x_3272 = lean_ctor_get(x_3270, 1); -lean_inc(x_3272); -lean_dec(x_3270); -x_3273 = lean_ctor_get(x_3271, 0); -lean_inc(x_3273); -x_3274 = lean_ctor_get(x_3271, 1); -lean_inc(x_3274); -if (lean_is_exclusive(x_3271)) { - lean_ctor_release(x_3271, 0); - lean_ctor_release(x_3271, 1); - x_3275 = x_3271; -} else { - lean_dec_ref(x_3271); - x_3275 = lean_box(0); -} -x_3276 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3272); -lean_dec(x_5); -x_3277 = lean_ctor_get(x_3276, 1); -lean_inc(x_3277); -lean_dec(x_3276); -x_3278 = l_Lean_Elab_Term_getMainModule___rarg(x_3277); -x_3279 = lean_ctor_get(x_3278, 1); -lean_inc(x_3279); -if (lean_is_exclusive(x_3278)) { - lean_ctor_release(x_3278, 0); - lean_ctor_release(x_3278, 1); - x_3280 = x_3278; -} else { - lean_dec_ref(x_3278); - x_3280 = lean_box(0); -} -x_3281 = l_Array_empty___closed__1; -x_3282 = lean_array_push(x_3281, x_3264); -x_3283 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3284 = lean_array_push(x_3282, x_3283); -x_3285 = l_Lean_mkTermIdFromIdent___closed__2; -x_3286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3286, 0, x_3285); -lean_ctor_set(x_3286, 1, x_3284); -x_3287 = lean_array_push(x_3281, x_3286); -x_3288 = l_Lean_nullKind___closed__2; -x_3289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3289, 0, x_3288); -lean_ctor_set(x_3289, 1, x_3287); -x_3290 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3291 = lean_array_push(x_3290, x_3289); -x_3292 = lean_array_push(x_3291, x_3283); -x_3293 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3294 = lean_array_push(x_3292, x_3293); +x_3253 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3254 = lean_array_push(x_3253, x_3252); +x_3255 = lean_array_push(x_3254, x_3246); +x_3256 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3257 = lean_array_push(x_3255, x_3256); lean_inc(x_11); -x_3295 = lean_array_push(x_3281, x_11); +x_3258 = lean_array_push(x_3244, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3296 = x_11; + x_3259 = x_11; } else { lean_dec_ref(x_11); - x_3296 = lean_box(0); + x_3259 = lean_box(0); } -if (lean_is_scalar(x_3296)) { - x_3297 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3259)) { + x_3260 = lean_alloc_ctor(1, 2, 0); } else { - x_3297 = x_3296; + x_3260 = x_3259; } -lean_ctor_set(x_3297, 0, x_3288); -lean_ctor_set(x_3297, 1, x_3295); -x_3298 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3299 = lean_array_push(x_3298, x_3297); -x_3300 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3301 = lean_array_push(x_3299, x_3300); -x_3302 = lean_array_push(x_3301, x_3274); -x_3303 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3304, 0, x_3303); -lean_ctor_set(x_3304, 1, x_3302); -x_3305 = lean_array_push(x_3281, x_3304); +lean_ctor_set(x_3260, 0, x_3251); +lean_ctor_set(x_3260, 1, x_3258); +x_3261 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3262 = lean_array_push(x_3261, x_3260); +x_3263 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3264 = lean_array_push(x_3262, x_3263); +x_3265 = lean_array_push(x_3264, x_3237); +x_3266 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3267, 0, x_3266); +lean_ctor_set(x_3267, 1, x_3265); +x_3268 = lean_array_push(x_3244, x_3267); +x_3269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3269, 0, x_3251); +lean_ctor_set(x_3269, 1, x_3268); +x_3270 = lean_array_push(x_3257, x_3269); +x_3271 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3272, 0, x_3271); +lean_ctor_set(x_3272, 1, x_3270); +if (lean_is_scalar(x_3238)) { + x_3273 = lean_alloc_ctor(0, 2, 0); +} else { + x_3273 = x_3238; +} +lean_ctor_set(x_3273, 0, x_3236); +lean_ctor_set(x_3273, 1, x_3272); +if (lean_is_scalar(x_3243)) { + x_3274 = lean_alloc_ctor(0, 2, 0); +} else { + x_3274 = x_3243; +} +lean_ctor_set(x_3274, 0, x_3273); +lean_ctor_set(x_3274, 1, x_3242); +return x_3274; +} +else +{ +lean_object* x_3275; lean_object* x_3276; lean_object* x_3277; lean_object* x_3278; +lean_dec(x_3227); +lean_dec(x_11); +lean_dec(x_5); +x_3275 = lean_ctor_get(x_3233, 0); +lean_inc(x_3275); +x_3276 = lean_ctor_get(x_3233, 1); +lean_inc(x_3276); +if (lean_is_exclusive(x_3233)) { + lean_ctor_release(x_3233, 0); + lean_ctor_release(x_3233, 1); + x_3277 = x_3233; +} else { + lean_dec_ref(x_3233); + x_3277 = lean_box(0); +} +if (lean_is_scalar(x_3277)) { + x_3278 = lean_alloc_ctor(1, 2, 0); +} else { + x_3278 = x_3277; +} +lean_ctor_set(x_3278, 0, x_3275); +lean_ctor_set(x_3278, 1, x_3276); +return x_3278; +} +} +else +{ +lean_object* x_3279; lean_object* x_3280; lean_object* x_3281; +x_3279 = l_Lean_Syntax_getArg(x_3218, x_3211); +lean_dec(x_3218); +x_3280 = l___private_Init_Lean_Elab_TermBinders_9__getFunBinderIds_x3f(x_3215, x_5, x_6); +x_3281 = lean_ctor_get(x_3280, 0); +lean_inc(x_3281); +if (lean_obj_tag(x_3281) == 0) +{ +lean_object* x_3282; lean_object* x_3283; lean_object* x_3284; lean_object* x_3285; lean_object* x_3286; lean_object* x_3287; lean_object* x_3288; lean_object* x_3289; lean_object* x_3290; +lean_dec(x_3279); +x_3282 = lean_ctor_get(x_3280, 1); +lean_inc(x_3282); +lean_dec(x_3280); +x_3283 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_3282); +x_3284 = lean_ctor_get(x_3283, 0); +lean_inc(x_3284); +x_3285 = lean_ctor_get(x_3283, 1); +lean_inc(x_3285); +lean_dec(x_3283); +x_3286 = lean_nat_add(x_3, x_3211); +lean_dec(x_3); +x_3287 = l_Lean_mkHole(x_11); +lean_inc(x_3284); +x_3288 = l_Lean_Elab_Term_mkExplicitBinder(x_3284, x_3287); +x_3289 = lean_array_push(x_4, x_3288); +lean_inc(x_5); +x_3290 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3286, x_3289, x_5, x_3285); +if (lean_obj_tag(x_3290) == 0) +{ +lean_object* x_3291; lean_object* x_3292; lean_object* x_3293; lean_object* x_3294; lean_object* x_3295; lean_object* x_3296; lean_object* x_3297; lean_object* x_3298; lean_object* x_3299; lean_object* x_3300; lean_object* x_3301; lean_object* x_3302; lean_object* x_3303; lean_object* x_3304; lean_object* x_3305; lean_object* x_3306; lean_object* x_3307; lean_object* x_3308; lean_object* x_3309; lean_object* x_3310; lean_object* x_3311; lean_object* x_3312; lean_object* x_3313; lean_object* x_3314; lean_object* x_3315; lean_object* x_3316; lean_object* x_3317; lean_object* x_3318; lean_object* x_3319; lean_object* x_3320; lean_object* x_3321; lean_object* x_3322; lean_object* x_3323; lean_object* x_3324; lean_object* x_3325; lean_object* x_3326; lean_object* x_3327; lean_object* x_3328; lean_object* x_3329; lean_object* x_3330; lean_object* x_3331; +x_3291 = lean_ctor_get(x_3290, 0); +lean_inc(x_3291); +x_3292 = lean_ctor_get(x_3290, 1); +lean_inc(x_3292); +lean_dec(x_3290); +x_3293 = lean_ctor_get(x_3291, 0); +lean_inc(x_3293); +x_3294 = lean_ctor_get(x_3291, 1); +lean_inc(x_3294); +if (lean_is_exclusive(x_3291)) { + lean_ctor_release(x_3291, 0); + lean_ctor_release(x_3291, 1); + x_3295 = x_3291; +} else { + lean_dec_ref(x_3291); + x_3295 = lean_box(0); +} +x_3296 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3292); +lean_dec(x_5); +x_3297 = lean_ctor_get(x_3296, 1); +lean_inc(x_3297); +lean_dec(x_3296); +x_3298 = l_Lean_Elab_Term_getMainModule___rarg(x_3297); +x_3299 = lean_ctor_get(x_3298, 1); +lean_inc(x_3299); +if (lean_is_exclusive(x_3298)) { + lean_ctor_release(x_3298, 0); + lean_ctor_release(x_3298, 1); + x_3300 = x_3298; +} else { + lean_dec_ref(x_3298); + x_3300 = lean_box(0); +} +x_3301 = l_Array_empty___closed__1; +x_3302 = lean_array_push(x_3301, x_3284); +x_3303 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3304 = lean_array_push(x_3302, x_3303); +x_3305 = l_Lean_mkTermIdFromIdent___closed__2; x_3306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3306, 0, x_3288); -lean_ctor_set(x_3306, 1, x_3305); -x_3307 = lean_array_push(x_3294, x_3306); -x_3308 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_ctor_set(x_3306, 0, x_3305); +lean_ctor_set(x_3306, 1, x_3304); +x_3307 = lean_array_push(x_3301, x_3306); +x_3308 = l_Lean_nullKind___closed__2; x_3309 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3309, 0, x_3308); lean_ctor_set(x_3309, 1, x_3307); -if (lean_is_scalar(x_3275)) { - x_3310 = lean_alloc_ctor(0, 2, 0); +x_3310 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3311 = lean_array_push(x_3310, x_3309); +x_3312 = lean_array_push(x_3311, x_3303); +x_3313 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3314 = lean_array_push(x_3312, x_3313); +lean_inc(x_11); +x_3315 = lean_array_push(x_3301, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3316 = x_11; } else { - x_3310 = x_3275; + lean_dec_ref(x_11); + x_3316 = lean_box(0); } -lean_ctor_set(x_3310, 0, x_3273); -lean_ctor_set(x_3310, 1, x_3309); -if (lean_is_scalar(x_3280)) { - x_3311 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_3316)) { + x_3317 = lean_alloc_ctor(1, 2, 0); } else { - x_3311 = x_3280; + x_3317 = x_3316; } -lean_ctor_set(x_3311, 0, x_3310); -lean_ctor_set(x_3311, 1, x_3279); -return x_3311; +lean_ctor_set(x_3317, 0, x_3308); +lean_ctor_set(x_3317, 1, x_3315); +x_3318 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3319 = lean_array_push(x_3318, x_3317); +x_3320 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3321 = lean_array_push(x_3319, x_3320); +x_3322 = lean_array_push(x_3321, x_3294); +x_3323 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3324 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3324, 0, x_3323); +lean_ctor_set(x_3324, 1, x_3322); +x_3325 = lean_array_push(x_3301, x_3324); +x_3326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3326, 0, x_3308); +lean_ctor_set(x_3326, 1, x_3325); +x_3327 = lean_array_push(x_3314, x_3326); +x_3328 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3329 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3329, 0, x_3328); +lean_ctor_set(x_3329, 1, x_3327); +if (lean_is_scalar(x_3295)) { + x_3330 = lean_alloc_ctor(0, 2, 0); +} else { + x_3330 = x_3295; +} +lean_ctor_set(x_3330, 0, x_3293); +lean_ctor_set(x_3330, 1, x_3329); +if (lean_is_scalar(x_3300)) { + x_3331 = lean_alloc_ctor(0, 2, 0); +} else { + x_3331 = x_3300; +} +lean_ctor_set(x_3331, 0, x_3330); +lean_ctor_set(x_3331, 1, x_3299); +return x_3331; } else { -lean_object* x_3312; lean_object* x_3313; lean_object* x_3314; lean_object* x_3315; -lean_dec(x_3264); +lean_object* x_3332; lean_object* x_3333; lean_object* x_3334; lean_object* x_3335; +lean_dec(x_3284); lean_dec(x_11); lean_dec(x_5); -x_3312 = lean_ctor_get(x_3270, 0); -lean_inc(x_3312); -x_3313 = lean_ctor_get(x_3270, 1); -lean_inc(x_3313); -if (lean_is_exclusive(x_3270)) { - lean_ctor_release(x_3270, 0); - lean_ctor_release(x_3270, 1); - x_3314 = x_3270; +x_3332 = lean_ctor_get(x_3290, 0); +lean_inc(x_3332); +x_3333 = lean_ctor_get(x_3290, 1); +lean_inc(x_3333); +if (lean_is_exclusive(x_3290)) { + lean_ctor_release(x_3290, 0); + lean_ctor_release(x_3290, 1); + x_3334 = x_3290; } else { - lean_dec_ref(x_3270); - x_3314 = lean_box(0); + lean_dec_ref(x_3290); + x_3334 = lean_box(0); } -if (lean_is_scalar(x_3314)) { - x_3315 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3334)) { + x_3335 = lean_alloc_ctor(1, 2, 0); } else { - x_3315 = x_3314; + x_3335 = x_3334; } -lean_ctor_set(x_3315, 0, x_3312); -lean_ctor_set(x_3315, 1, x_3313); -return x_3315; +lean_ctor_set(x_3335, 0, x_3332); +lean_ctor_set(x_3335, 1, x_3333); +return x_3335; } } else { -lean_object* x_3316; lean_object* x_3317; lean_object* x_3318; lean_object* x_3319; lean_object* x_3320; +lean_object* x_3336; lean_object* x_3337; lean_object* x_3338; lean_object* x_3339; lean_object* x_3340; lean_dec(x_11); -x_3316 = lean_ctor_get(x_3260, 1); -lean_inc(x_3316); -lean_dec(x_3260); -x_3317 = lean_ctor_get(x_3261, 0); -lean_inc(x_3317); -lean_dec(x_3261); -x_3318 = lean_nat_add(x_3, x_3191); +x_3336 = lean_ctor_get(x_3280, 1); +lean_inc(x_3336); +lean_dec(x_3280); +x_3337 = lean_ctor_get(x_3281, 0); +lean_inc(x_3337); +lean_dec(x_3281); +x_3338 = lean_nat_add(x_3, x_3211); lean_dec(x_3); -x_3319 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_3259, x_3194, x_3317); -x_3320 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_3319, x_3319, x_3194, x_4); -lean_dec(x_3319); -x_3 = x_3318; -x_4 = x_3320; -x_6 = x_3316; +x_3339 = l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(x_3279, x_3214, x_3337); +x_3340 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_3339, x_3339, x_3214, x_4); +lean_dec(x_3339); +x_3 = x_3338; +x_4 = x_3340; +x_6 = x_3336; goto _start; } } } else { -lean_object* x_3322; lean_object* x_3323; lean_object* x_3324; lean_object* x_3325; lean_object* x_3326; lean_object* x_3327; lean_object* x_3328; lean_object* x_3329; -lean_dec(x_3196); -lean_dec(x_3195); -x_3322 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_3323 = lean_ctor_get(x_3322, 0); -lean_inc(x_3323); -x_3324 = lean_ctor_get(x_3322, 1); -lean_inc(x_3324); -lean_dec(x_3322); -x_3325 = lean_nat_add(x_3, x_3191); +lean_object* x_3342; lean_object* x_3343; lean_object* x_3344; lean_object* x_3345; lean_object* x_3346; lean_object* x_3347; lean_object* x_3348; lean_object* x_3349; +lean_dec(x_3216); +lean_dec(x_3215); +x_3342 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3343 = lean_ctor_get(x_3342, 0); +lean_inc(x_3343); +x_3344 = lean_ctor_get(x_3342, 1); +lean_inc(x_3344); +lean_dec(x_3342); +x_3345 = lean_nat_add(x_3, x_3211); lean_dec(x_3); -x_3326 = l_Lean_mkHole(x_11); -lean_inc(x_3323); -x_3327 = l_Lean_Elab_Term_mkExplicitBinder(x_3323, x_3326); -x_3328 = lean_array_push(x_4, x_3327); +x_3346 = l_Lean_mkHole(x_11); +lean_inc(x_3343); +x_3347 = l_Lean_Elab_Term_mkExplicitBinder(x_3343, x_3346); +x_3348 = lean_array_push(x_4, x_3347); lean_inc(x_5); -x_3329 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3325, x_3328, x_5, x_3324); -if (lean_obj_tag(x_3329) == 0) +x_3349 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3345, x_3348, x_5, x_3344); +if (lean_obj_tag(x_3349) == 0) { -lean_object* x_3330; lean_object* x_3331; lean_object* x_3332; lean_object* x_3333; lean_object* x_3334; lean_object* x_3335; lean_object* x_3336; lean_object* x_3337; lean_object* x_3338; lean_object* x_3339; lean_object* x_3340; lean_object* x_3341; lean_object* x_3342; lean_object* x_3343; lean_object* x_3344; lean_object* x_3345; lean_object* x_3346; lean_object* x_3347; lean_object* x_3348; lean_object* x_3349; lean_object* x_3350; lean_object* x_3351; lean_object* x_3352; lean_object* x_3353; lean_object* x_3354; lean_object* x_3355; lean_object* x_3356; lean_object* x_3357; lean_object* x_3358; lean_object* x_3359; lean_object* x_3360; lean_object* x_3361; lean_object* x_3362; lean_object* x_3363; lean_object* x_3364; lean_object* x_3365; lean_object* x_3366; lean_object* x_3367; lean_object* x_3368; lean_object* x_3369; lean_object* x_3370; -x_3330 = lean_ctor_get(x_3329, 0); -lean_inc(x_3330); -x_3331 = lean_ctor_get(x_3329, 1); -lean_inc(x_3331); -lean_dec(x_3329); -x_3332 = lean_ctor_get(x_3330, 0); -lean_inc(x_3332); -x_3333 = lean_ctor_get(x_3330, 1); -lean_inc(x_3333); -if (lean_is_exclusive(x_3330)) { - lean_ctor_release(x_3330, 0); - lean_ctor_release(x_3330, 1); - x_3334 = x_3330; +lean_object* x_3350; lean_object* x_3351; lean_object* x_3352; lean_object* x_3353; lean_object* x_3354; lean_object* x_3355; lean_object* x_3356; lean_object* x_3357; lean_object* x_3358; lean_object* x_3359; lean_object* x_3360; lean_object* x_3361; lean_object* x_3362; lean_object* x_3363; lean_object* x_3364; lean_object* x_3365; lean_object* x_3366; lean_object* x_3367; lean_object* x_3368; lean_object* x_3369; lean_object* x_3370; lean_object* x_3371; lean_object* x_3372; lean_object* x_3373; lean_object* x_3374; lean_object* x_3375; lean_object* x_3376; lean_object* x_3377; lean_object* x_3378; lean_object* x_3379; lean_object* x_3380; lean_object* x_3381; lean_object* x_3382; lean_object* x_3383; lean_object* x_3384; lean_object* x_3385; lean_object* x_3386; lean_object* x_3387; lean_object* x_3388; lean_object* x_3389; lean_object* x_3390; +x_3350 = lean_ctor_get(x_3349, 0); +lean_inc(x_3350); +x_3351 = lean_ctor_get(x_3349, 1); +lean_inc(x_3351); +lean_dec(x_3349); +x_3352 = lean_ctor_get(x_3350, 0); +lean_inc(x_3352); +x_3353 = lean_ctor_get(x_3350, 1); +lean_inc(x_3353); +if (lean_is_exclusive(x_3350)) { + lean_ctor_release(x_3350, 0); + lean_ctor_release(x_3350, 1); + x_3354 = x_3350; } else { - lean_dec_ref(x_3330); - x_3334 = lean_box(0); + lean_dec_ref(x_3350); + x_3354 = lean_box(0); } -x_3335 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3331); +x_3355 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3351); lean_dec(x_5); -x_3336 = lean_ctor_get(x_3335, 1); -lean_inc(x_3336); -lean_dec(x_3335); -x_3337 = l_Lean_Elab_Term_getMainModule___rarg(x_3336); -x_3338 = lean_ctor_get(x_3337, 1); -lean_inc(x_3338); -if (lean_is_exclusive(x_3337)) { - lean_ctor_release(x_3337, 0); - lean_ctor_release(x_3337, 1); - x_3339 = x_3337; +x_3356 = lean_ctor_get(x_3355, 1); +lean_inc(x_3356); +lean_dec(x_3355); +x_3357 = l_Lean_Elab_Term_getMainModule___rarg(x_3356); +x_3358 = lean_ctor_get(x_3357, 1); +lean_inc(x_3358); +if (lean_is_exclusive(x_3357)) { + lean_ctor_release(x_3357, 0); + lean_ctor_release(x_3357, 1); + x_3359 = x_3357; } else { - lean_dec_ref(x_3337); - x_3339 = lean_box(0); + lean_dec_ref(x_3357); + x_3359 = lean_box(0); } -x_3340 = l_Array_empty___closed__1; -x_3341 = lean_array_push(x_3340, x_3323); -x_3342 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3343 = lean_array_push(x_3341, x_3342); -x_3344 = l_Lean_mkTermIdFromIdent___closed__2; -x_3345 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3345, 0, x_3344); -lean_ctor_set(x_3345, 1, x_3343); -x_3346 = lean_array_push(x_3340, x_3345); -x_3347 = l_Lean_nullKind___closed__2; -x_3348 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3348, 0, x_3347); -lean_ctor_set(x_3348, 1, x_3346); -x_3349 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3350 = lean_array_push(x_3349, x_3348); -x_3351 = lean_array_push(x_3350, x_3342); -x_3352 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3353 = lean_array_push(x_3351, x_3352); -lean_inc(x_11); -x_3354 = lean_array_push(x_3340, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_3355 = x_11; -} else { - lean_dec_ref(x_11); - x_3355 = lean_box(0); -} -if (lean_is_scalar(x_3355)) { - x_3356 = lean_alloc_ctor(1, 2, 0); -} else { - x_3356 = x_3355; -} -lean_ctor_set(x_3356, 0, x_3347); -lean_ctor_set(x_3356, 1, x_3354); -x_3357 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3358 = lean_array_push(x_3357, x_3356); -x_3359 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3360 = lean_array_push(x_3358, x_3359); -x_3361 = lean_array_push(x_3360, x_3333); -x_3362 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3363, 0, x_3362); -lean_ctor_set(x_3363, 1, x_3361); -x_3364 = lean_array_push(x_3340, x_3363); +x_3360 = l_Array_empty___closed__1; +x_3361 = lean_array_push(x_3360, x_3343); +x_3362 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3363 = lean_array_push(x_3361, x_3362); +x_3364 = l_Lean_mkTermIdFromIdent___closed__2; x_3365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3365, 0, x_3347); -lean_ctor_set(x_3365, 1, x_3364); -x_3366 = lean_array_push(x_3353, x_3365); -x_3367 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_ctor_set(x_3365, 0, x_3364); +lean_ctor_set(x_3365, 1, x_3363); +x_3366 = lean_array_push(x_3360, x_3365); +x_3367 = l_Lean_nullKind___closed__2; x_3368 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3368, 0, x_3367); lean_ctor_set(x_3368, 1, x_3366); -if (lean_is_scalar(x_3334)) { - x_3369 = lean_alloc_ctor(0, 2, 0); -} else { - x_3369 = x_3334; -} -lean_ctor_set(x_3369, 0, x_3332); -lean_ctor_set(x_3369, 1, x_3368); -if (lean_is_scalar(x_3339)) { - x_3370 = lean_alloc_ctor(0, 2, 0); -} else { - x_3370 = x_3339; -} -lean_ctor_set(x_3370, 0, x_3369); -lean_ctor_set(x_3370, 1, x_3338); -return x_3370; -} -else -{ -lean_object* x_3371; lean_object* x_3372; lean_object* x_3373; lean_object* x_3374; -lean_dec(x_3323); -lean_dec(x_11); -lean_dec(x_5); -x_3371 = lean_ctor_get(x_3329, 0); -lean_inc(x_3371); -x_3372 = lean_ctor_get(x_3329, 1); -lean_inc(x_3372); -if (lean_is_exclusive(x_3329)) { - lean_ctor_release(x_3329, 0); - lean_ctor_release(x_3329, 1); - x_3373 = x_3329; -} else { - lean_dec_ref(x_3329); - x_3373 = lean_box(0); -} -if (lean_is_scalar(x_3373)) { - x_3374 = lean_alloc_ctor(1, 2, 0); -} else { - x_3374 = x_3373; -} -lean_ctor_set(x_3374, 0, x_3371); -lean_ctor_set(x_3374, 1, x_3372); -return x_3374; -} -} -} -else -{ -lean_object* x_3375; lean_object* x_3376; lean_object* x_3377; lean_object* x_3378; lean_object* x_3379; lean_object* x_3380; lean_object* x_3381; lean_object* x_3382; -lean_dec(x_3192); -x_3375 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_3376 = lean_ctor_get(x_3375, 0); -lean_inc(x_3376); -x_3377 = lean_ctor_get(x_3375, 1); -lean_inc(x_3377); -lean_dec(x_3375); -x_3378 = lean_nat_add(x_3, x_3191); -lean_dec(x_3); -x_3379 = l_Lean_mkHole(x_11); -lean_inc(x_3376); -x_3380 = l_Lean_Elab_Term_mkExplicitBinder(x_3376, x_3379); -x_3381 = lean_array_push(x_4, x_3380); -lean_inc(x_5); -x_3382 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3378, x_3381, x_5, x_3377); -if (lean_obj_tag(x_3382) == 0) -{ -lean_object* x_3383; lean_object* x_3384; lean_object* x_3385; lean_object* x_3386; lean_object* x_3387; lean_object* x_3388; lean_object* x_3389; lean_object* x_3390; lean_object* x_3391; lean_object* x_3392; lean_object* x_3393; lean_object* x_3394; lean_object* x_3395; lean_object* x_3396; lean_object* x_3397; lean_object* x_3398; lean_object* x_3399; lean_object* x_3400; lean_object* x_3401; lean_object* x_3402; lean_object* x_3403; lean_object* x_3404; lean_object* x_3405; lean_object* x_3406; lean_object* x_3407; lean_object* x_3408; lean_object* x_3409; lean_object* x_3410; lean_object* x_3411; lean_object* x_3412; lean_object* x_3413; lean_object* x_3414; lean_object* x_3415; lean_object* x_3416; lean_object* x_3417; lean_object* x_3418; lean_object* x_3419; lean_object* x_3420; lean_object* x_3421; lean_object* x_3422; lean_object* x_3423; -x_3383 = lean_ctor_get(x_3382, 0); -lean_inc(x_3383); -x_3384 = lean_ctor_get(x_3382, 1); -lean_inc(x_3384); -lean_dec(x_3382); -x_3385 = lean_ctor_get(x_3383, 0); -lean_inc(x_3385); -x_3386 = lean_ctor_get(x_3383, 1); -lean_inc(x_3386); -if (lean_is_exclusive(x_3383)) { - lean_ctor_release(x_3383, 0); - lean_ctor_release(x_3383, 1); - x_3387 = x_3383; -} else { - lean_dec_ref(x_3383); - x_3387 = lean_box(0); -} -x_3388 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3384); -lean_dec(x_5); -x_3389 = lean_ctor_get(x_3388, 1); -lean_inc(x_3389); -lean_dec(x_3388); -x_3390 = l_Lean_Elab_Term_getMainModule___rarg(x_3389); -x_3391 = lean_ctor_get(x_3390, 1); -lean_inc(x_3391); -if (lean_is_exclusive(x_3390)) { - lean_ctor_release(x_3390, 0); - lean_ctor_release(x_3390, 1); - x_3392 = x_3390; -} else { - lean_dec_ref(x_3390); - x_3392 = lean_box(0); -} -x_3393 = l_Array_empty___closed__1; -x_3394 = lean_array_push(x_3393, x_3376); -x_3395 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3396 = lean_array_push(x_3394, x_3395); -x_3397 = l_Lean_mkTermIdFromIdent___closed__2; -x_3398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3398, 0, x_3397); -lean_ctor_set(x_3398, 1, x_3396); -x_3399 = lean_array_push(x_3393, x_3398); -x_3400 = l_Lean_nullKind___closed__2; -x_3401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3401, 0, x_3400); -lean_ctor_set(x_3401, 1, x_3399); -x_3402 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3403 = lean_array_push(x_3402, x_3401); -x_3404 = lean_array_push(x_3403, x_3395); -x_3405 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3406 = lean_array_push(x_3404, x_3405); +x_3369 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3370 = lean_array_push(x_3369, x_3368); +x_3371 = lean_array_push(x_3370, x_3362); +x_3372 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3373 = lean_array_push(x_3371, x_3372); lean_inc(x_11); -x_3407 = lean_array_push(x_3393, x_11); +x_3374 = lean_array_push(x_3360, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3408 = x_11; + x_3375 = x_11; } else { lean_dec_ref(x_11); - x_3408 = lean_box(0); + x_3375 = lean_box(0); } -if (lean_is_scalar(x_3408)) { - x_3409 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3375)) { + x_3376 = lean_alloc_ctor(1, 2, 0); } else { - x_3409 = x_3408; + x_3376 = x_3375; } -lean_ctor_set(x_3409, 0, x_3400); -lean_ctor_set(x_3409, 1, x_3407); -x_3410 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3411 = lean_array_push(x_3410, x_3409); -x_3412 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3413 = lean_array_push(x_3411, x_3412); -x_3414 = lean_array_push(x_3413, x_3386); -x_3415 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3416 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3416, 0, x_3415); -lean_ctor_set(x_3416, 1, x_3414); -x_3417 = lean_array_push(x_3393, x_3416); +lean_ctor_set(x_3376, 0, x_3367); +lean_ctor_set(x_3376, 1, x_3374); +x_3377 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3378 = lean_array_push(x_3377, x_3376); +x_3379 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3380 = lean_array_push(x_3378, x_3379); +x_3381 = lean_array_push(x_3380, x_3353); +x_3382 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3383 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3383, 0, x_3382); +lean_ctor_set(x_3383, 1, x_3381); +x_3384 = lean_array_push(x_3360, x_3383); +x_3385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3385, 0, x_3367); +lean_ctor_set(x_3385, 1, x_3384); +x_3386 = lean_array_push(x_3373, x_3385); +x_3387 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3388 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3388, 0, x_3387); +lean_ctor_set(x_3388, 1, x_3386); +if (lean_is_scalar(x_3354)) { + x_3389 = lean_alloc_ctor(0, 2, 0); +} else { + x_3389 = x_3354; +} +lean_ctor_set(x_3389, 0, x_3352); +lean_ctor_set(x_3389, 1, x_3388); +if (lean_is_scalar(x_3359)) { + x_3390 = lean_alloc_ctor(0, 2, 0); +} else { + x_3390 = x_3359; +} +lean_ctor_set(x_3390, 0, x_3389); +lean_ctor_set(x_3390, 1, x_3358); +return x_3390; +} +else +{ +lean_object* x_3391; lean_object* x_3392; lean_object* x_3393; lean_object* x_3394; +lean_dec(x_3343); +lean_dec(x_11); +lean_dec(x_5); +x_3391 = lean_ctor_get(x_3349, 0); +lean_inc(x_3391); +x_3392 = lean_ctor_get(x_3349, 1); +lean_inc(x_3392); +if (lean_is_exclusive(x_3349)) { + lean_ctor_release(x_3349, 0); + lean_ctor_release(x_3349, 1); + x_3393 = x_3349; +} else { + lean_dec_ref(x_3349); + x_3393 = lean_box(0); +} +if (lean_is_scalar(x_3393)) { + x_3394 = lean_alloc_ctor(1, 2, 0); +} else { + x_3394 = x_3393; +} +lean_ctor_set(x_3394, 0, x_3391); +lean_ctor_set(x_3394, 1, x_3392); +return x_3394; +} +} +} +else +{ +lean_object* x_3395; lean_object* x_3396; lean_object* x_3397; lean_object* x_3398; lean_object* x_3399; lean_object* x_3400; lean_object* x_3401; lean_object* x_3402; +lean_dec(x_3212); +x_3395 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3396 = lean_ctor_get(x_3395, 0); +lean_inc(x_3396); +x_3397 = lean_ctor_get(x_3395, 1); +lean_inc(x_3397); +lean_dec(x_3395); +x_3398 = lean_nat_add(x_3, x_3211); +lean_dec(x_3); +x_3399 = l_Lean_mkHole(x_11); +lean_inc(x_3396); +x_3400 = l_Lean_Elab_Term_mkExplicitBinder(x_3396, x_3399); +x_3401 = lean_array_push(x_4, x_3400); +lean_inc(x_5); +x_3402 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3398, x_3401, x_5, x_3397); +if (lean_obj_tag(x_3402) == 0) +{ +lean_object* x_3403; lean_object* x_3404; lean_object* x_3405; lean_object* x_3406; lean_object* x_3407; lean_object* x_3408; lean_object* x_3409; lean_object* x_3410; lean_object* x_3411; lean_object* x_3412; lean_object* x_3413; lean_object* x_3414; lean_object* x_3415; lean_object* x_3416; lean_object* x_3417; lean_object* x_3418; lean_object* x_3419; lean_object* x_3420; lean_object* x_3421; lean_object* x_3422; lean_object* x_3423; lean_object* x_3424; lean_object* x_3425; lean_object* x_3426; lean_object* x_3427; lean_object* x_3428; lean_object* x_3429; lean_object* x_3430; lean_object* x_3431; lean_object* x_3432; lean_object* x_3433; lean_object* x_3434; lean_object* x_3435; lean_object* x_3436; lean_object* x_3437; lean_object* x_3438; lean_object* x_3439; lean_object* x_3440; lean_object* x_3441; lean_object* x_3442; lean_object* x_3443; +x_3403 = lean_ctor_get(x_3402, 0); +lean_inc(x_3403); +x_3404 = lean_ctor_get(x_3402, 1); +lean_inc(x_3404); +lean_dec(x_3402); +x_3405 = lean_ctor_get(x_3403, 0); +lean_inc(x_3405); +x_3406 = lean_ctor_get(x_3403, 1); +lean_inc(x_3406); +if (lean_is_exclusive(x_3403)) { + lean_ctor_release(x_3403, 0); + lean_ctor_release(x_3403, 1); + x_3407 = x_3403; +} else { + lean_dec_ref(x_3403); + x_3407 = lean_box(0); +} +x_3408 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3404); +lean_dec(x_5); +x_3409 = lean_ctor_get(x_3408, 1); +lean_inc(x_3409); +lean_dec(x_3408); +x_3410 = l_Lean_Elab_Term_getMainModule___rarg(x_3409); +x_3411 = lean_ctor_get(x_3410, 1); +lean_inc(x_3411); +if (lean_is_exclusive(x_3410)) { + lean_ctor_release(x_3410, 0); + lean_ctor_release(x_3410, 1); + x_3412 = x_3410; +} else { + lean_dec_ref(x_3410); + x_3412 = lean_box(0); +} +x_3413 = l_Array_empty___closed__1; +x_3414 = lean_array_push(x_3413, x_3396); +x_3415 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3416 = lean_array_push(x_3414, x_3415); +x_3417 = l_Lean_mkTermIdFromIdent___closed__2; x_3418 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3418, 0, x_3400); -lean_ctor_set(x_3418, 1, x_3417); -x_3419 = lean_array_push(x_3406, x_3418); -x_3420 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_ctor_set(x_3418, 0, x_3417); +lean_ctor_set(x_3418, 1, x_3416); +x_3419 = lean_array_push(x_3413, x_3418); +x_3420 = l_Lean_nullKind___closed__2; x_3421 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3421, 0, x_3420); lean_ctor_set(x_3421, 1, x_3419); -if (lean_is_scalar(x_3387)) { - x_3422 = lean_alloc_ctor(0, 2, 0); +x_3422 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3423 = lean_array_push(x_3422, x_3421); +x_3424 = lean_array_push(x_3423, x_3415); +x_3425 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3426 = lean_array_push(x_3424, x_3425); +lean_inc(x_11); +x_3427 = lean_array_push(x_3413, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3428 = x_11; } else { - x_3422 = x_3387; + lean_dec_ref(x_11); + x_3428 = lean_box(0); } -lean_ctor_set(x_3422, 0, x_3385); -lean_ctor_set(x_3422, 1, x_3421); -if (lean_is_scalar(x_3392)) { - x_3423 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_3428)) { + x_3429 = lean_alloc_ctor(1, 2, 0); } else { - x_3423 = x_3392; + x_3429 = x_3428; } -lean_ctor_set(x_3423, 0, x_3422); -lean_ctor_set(x_3423, 1, x_3391); -return x_3423; +lean_ctor_set(x_3429, 0, x_3420); +lean_ctor_set(x_3429, 1, x_3427); +x_3430 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3431 = lean_array_push(x_3430, x_3429); +x_3432 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3433 = lean_array_push(x_3431, x_3432); +x_3434 = lean_array_push(x_3433, x_3406); +x_3435 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3436 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3436, 0, x_3435); +lean_ctor_set(x_3436, 1, x_3434); +x_3437 = lean_array_push(x_3413, x_3436); +x_3438 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3438, 0, x_3420); +lean_ctor_set(x_3438, 1, x_3437); +x_3439 = lean_array_push(x_3426, x_3438); +x_3440 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3441, 0, x_3440); +lean_ctor_set(x_3441, 1, x_3439); +if (lean_is_scalar(x_3407)) { + x_3442 = lean_alloc_ctor(0, 2, 0); +} else { + x_3442 = x_3407; +} +lean_ctor_set(x_3442, 0, x_3405); +lean_ctor_set(x_3442, 1, x_3441); +if (lean_is_scalar(x_3412)) { + x_3443 = lean_alloc_ctor(0, 2, 0); +} else { + x_3443 = x_3412; +} +lean_ctor_set(x_3443, 0, x_3442); +lean_ctor_set(x_3443, 1, x_3411); +return x_3443; } else { -lean_object* x_3424; lean_object* x_3425; lean_object* x_3426; lean_object* x_3427; -lean_dec(x_3376); +lean_object* x_3444; lean_object* x_3445; lean_object* x_3446; lean_object* x_3447; +lean_dec(x_3396); lean_dec(x_11); lean_dec(x_5); -x_3424 = lean_ctor_get(x_3382, 0); -lean_inc(x_3424); -x_3425 = lean_ctor_get(x_3382, 1); -lean_inc(x_3425); -if (lean_is_exclusive(x_3382)) { - lean_ctor_release(x_3382, 0); - lean_ctor_release(x_3382, 1); - x_3426 = x_3382; +x_3444 = lean_ctor_get(x_3402, 0); +lean_inc(x_3444); +x_3445 = lean_ctor_get(x_3402, 1); +lean_inc(x_3445); +if (lean_is_exclusive(x_3402)) { + lean_ctor_release(x_3402, 0); + lean_ctor_release(x_3402, 1); + x_3446 = x_3402; } else { - lean_dec_ref(x_3382); - x_3426 = lean_box(0); + lean_dec_ref(x_3402); + x_3446 = lean_box(0); } -if (lean_is_scalar(x_3426)) { - x_3427 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3446)) { + x_3447 = lean_alloc_ctor(1, 2, 0); } else { - x_3427 = x_3426; + x_3447 = x_3446; } -lean_ctor_set(x_3427, 0, x_3424); -lean_ctor_set(x_3427, 1, x_3425); -return x_3427; +lean_ctor_set(x_3447, 0, x_3444); +lean_ctor_set(x_3447, 1, x_3445); +return x_3447; } } } } else { -lean_object* x_3428; lean_object* x_3429; lean_object* x_3430; lean_object* x_3431; lean_object* x_3432; lean_object* x_3433; lean_object* x_3434; -lean_dec(x_2881); -lean_dec(x_2878); -lean_dec(x_2875); -lean_dec(x_2871); +lean_object* x_3448; lean_object* x_3449; lean_object* x_3450; lean_object* x_3451; lean_object* x_3452; lean_object* x_3453; lean_object* x_3454; +lean_dec(x_2897); +lean_dec(x_2894); +lean_dec(x_2891); +lean_dec(x_2887); lean_dec(x_17); -x_3428 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_3429 = lean_ctor_get(x_3428, 0); -lean_inc(x_3429); -x_3430 = lean_ctor_get(x_3428, 1); -lean_inc(x_3430); -lean_dec(x_3428); -x_3431 = lean_unsigned_to_nat(1u); -x_3432 = lean_nat_add(x_3, x_3431); +x_3448 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3449 = lean_ctor_get(x_3448, 0); +lean_inc(x_3449); +x_3450 = lean_ctor_get(x_3448, 1); +lean_inc(x_3450); +lean_dec(x_3448); +x_3451 = lean_unsigned_to_nat(1u); +x_3452 = lean_nat_add(x_3, x_3451); lean_dec(x_3); -x_3433 = l_Lean_Elab_Term_mkExplicitBinder(x_3429, x_11); -x_3434 = lean_array_push(x_4, x_3433); -x_3 = x_3432; -x_4 = x_3434; -x_6 = x_3430; +x_3453 = l_Lean_Elab_Term_mkExplicitBinder(x_3449, x_11); +x_3454 = lean_array_push(x_4, x_3453); +x_3 = x_3452; +x_4 = x_3454; +x_6 = x_3450; goto _start; } } @@ -14310,374 +14350,376 @@ goto _start; } else { -lean_object* x_3436; +uint8_t x_3456; lean_object* x_3457; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_3436 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_3436) == 0) -{ -lean_object* x_3437; lean_object* x_3438; lean_object* x_3439; lean_object* x_3440; lean_object* x_3441; lean_object* x_3442; lean_object* x_3443; lean_object* x_3444; lean_object* x_3445; -x_3437 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_3438 = lean_ctor_get(x_3437, 0); -lean_inc(x_3438); -x_3439 = lean_ctor_get(x_3437, 1); -lean_inc(x_3439); -lean_dec(x_3437); -x_3440 = lean_unsigned_to_nat(1u); -x_3441 = lean_nat_add(x_3, x_3440); -lean_dec(x_3); -x_3442 = l_Lean_mkHole(x_11); -lean_inc(x_3438); -x_3443 = l_Lean_Elab_Term_mkExplicitBinder(x_3438, x_3442); -x_3444 = lean_array_push(x_4, x_3443); -lean_inc(x_5); -x_3445 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3441, x_3444, x_5, x_3439); -if (lean_obj_tag(x_3445) == 0) -{ -lean_object* x_3446; lean_object* x_3447; uint8_t x_3448; -x_3446 = lean_ctor_get(x_3445, 0); -lean_inc(x_3446); -x_3447 = lean_ctor_get(x_3445, 1); -lean_inc(x_3447); -lean_dec(x_3445); -x_3448 = !lean_is_exclusive(x_3446); -if (x_3448 == 0) -{ -lean_object* x_3449; lean_object* x_3450; lean_object* x_3451; lean_object* x_3452; uint8_t x_3453; -x_3449 = lean_ctor_get(x_3446, 1); -x_3450 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3447); -lean_dec(x_5); -x_3451 = lean_ctor_get(x_3450, 1); -lean_inc(x_3451); -lean_dec(x_3450); -x_3452 = l_Lean_Elab_Term_getMainModule___rarg(x_3451); -x_3453 = !lean_is_exclusive(x_3452); -if (x_3453 == 0) -{ -lean_object* x_3454; lean_object* x_3455; lean_object* x_3456; lean_object* x_3457; lean_object* x_3458; lean_object* x_3459; lean_object* x_3460; lean_object* x_3461; lean_object* x_3462; lean_object* x_3463; lean_object* x_3464; lean_object* x_3465; lean_object* x_3466; lean_object* x_3467; lean_object* x_3468; lean_object* x_3469; uint8_t x_3470; -x_3454 = lean_ctor_get(x_3452, 0); -lean_dec(x_3454); -x_3455 = l_Array_empty___closed__1; -x_3456 = lean_array_push(x_3455, x_3438); -x_3457 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3458 = lean_array_push(x_3456, x_3457); -x_3459 = l_Lean_mkTermIdFromIdent___closed__2; -x_3460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3460, 0, x_3459); -lean_ctor_set(x_3460, 1, x_3458); -x_3461 = lean_array_push(x_3455, x_3460); -x_3462 = l_Lean_nullKind___closed__2; -x_3463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3463, 0, x_3462); -lean_ctor_set(x_3463, 1, x_3461); -x_3464 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3465 = lean_array_push(x_3464, x_3463); -x_3466 = lean_array_push(x_3465, x_3457); -x_3467 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3468 = lean_array_push(x_3466, x_3467); +x_3456 = 1; lean_inc(x_11); -x_3469 = lean_array_push(x_3455, x_11); -x_3470 = !lean_is_exclusive(x_11); -if (x_3470 == 0) +x_3457 = l_Lean_Syntax_isTermId_x3f(x_11, x_3456); +if (lean_obj_tag(x_3457) == 0) { -lean_object* x_3471; lean_object* x_3472; lean_object* x_3473; lean_object* x_3474; lean_object* x_3475; lean_object* x_3476; lean_object* x_3477; lean_object* x_3478; lean_object* x_3479; lean_object* x_3480; lean_object* x_3481; lean_object* x_3482; lean_object* x_3483; lean_object* x_3484; -x_3471 = lean_ctor_get(x_11, 1); +lean_object* x_3458; lean_object* x_3459; lean_object* x_3460; lean_object* x_3461; lean_object* x_3462; lean_object* x_3463; lean_object* x_3464; lean_object* x_3465; lean_object* x_3466; +x_3458 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3459 = lean_ctor_get(x_3458, 0); +lean_inc(x_3459); +x_3460 = lean_ctor_get(x_3458, 1); +lean_inc(x_3460); +lean_dec(x_3458); +x_3461 = lean_unsigned_to_nat(1u); +x_3462 = lean_nat_add(x_3, x_3461); +lean_dec(x_3); +x_3463 = l_Lean_mkHole(x_11); +lean_inc(x_3459); +x_3464 = l_Lean_Elab_Term_mkExplicitBinder(x_3459, x_3463); +x_3465 = lean_array_push(x_4, x_3464); +lean_inc(x_5); +x_3466 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3462, x_3465, x_5, x_3460); +if (lean_obj_tag(x_3466) == 0) +{ +lean_object* x_3467; lean_object* x_3468; uint8_t x_3469; +x_3467 = lean_ctor_get(x_3466, 0); +lean_inc(x_3467); +x_3468 = lean_ctor_get(x_3466, 1); +lean_inc(x_3468); +lean_dec(x_3466); +x_3469 = !lean_is_exclusive(x_3467); +if (x_3469 == 0) +{ +lean_object* x_3470; lean_object* x_3471; lean_object* x_3472; lean_object* x_3473; uint8_t x_3474; +x_3470 = lean_ctor_get(x_3467, 1); +x_3471 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3468); +lean_dec(x_5); +x_3472 = lean_ctor_get(x_3471, 1); +lean_inc(x_3472); lean_dec(x_3471); -x_3472 = lean_ctor_get(x_11, 0); -lean_dec(x_3472); -lean_ctor_set(x_11, 1, x_3469); -lean_ctor_set(x_11, 0, x_3462); -x_3473 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3474 = lean_array_push(x_3473, x_11); -x_3475 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3476 = lean_array_push(x_3474, x_3475); -x_3477 = lean_array_push(x_3476, x_3449); -x_3478 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3479 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3479, 0, x_3478); -lean_ctor_set(x_3479, 1, x_3477); -x_3480 = lean_array_push(x_3455, x_3479); +x_3473 = l_Lean_Elab_Term_getMainModule___rarg(x_3472); +x_3474 = !lean_is_exclusive(x_3473); +if (x_3474 == 0) +{ +lean_object* x_3475; lean_object* x_3476; lean_object* x_3477; lean_object* x_3478; lean_object* x_3479; lean_object* x_3480; lean_object* x_3481; lean_object* x_3482; lean_object* x_3483; lean_object* x_3484; lean_object* x_3485; lean_object* x_3486; lean_object* x_3487; lean_object* x_3488; lean_object* x_3489; lean_object* x_3490; uint8_t x_3491; +x_3475 = lean_ctor_get(x_3473, 0); +lean_dec(x_3475); +x_3476 = l_Array_empty___closed__1; +x_3477 = lean_array_push(x_3476, x_3459); +x_3478 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3479 = lean_array_push(x_3477, x_3478); +x_3480 = l_Lean_mkTermIdFromIdent___closed__2; x_3481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3481, 0, x_3462); -lean_ctor_set(x_3481, 1, x_3480); -x_3482 = lean_array_push(x_3468, x_3481); -x_3483 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_ctor_set(x_3481, 0, x_3480); +lean_ctor_set(x_3481, 1, x_3479); +x_3482 = lean_array_push(x_3476, x_3481); +x_3483 = l_Lean_nullKind___closed__2; x_3484 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3484, 0, x_3483); lean_ctor_set(x_3484, 1, x_3482); -lean_ctor_set(x_3446, 1, x_3484); -lean_ctor_set(x_3452, 0, x_3446); -return x_3452; -} -else -{ -lean_object* x_3485; lean_object* x_3486; lean_object* x_3487; lean_object* x_3488; lean_object* x_3489; lean_object* x_3490; lean_object* x_3491; lean_object* x_3492; lean_object* x_3493; lean_object* x_3494; lean_object* x_3495; lean_object* x_3496; lean_object* x_3497; -lean_dec(x_11); -x_3485 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3485, 0, x_3462); -lean_ctor_set(x_3485, 1, x_3469); -x_3486 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3487 = lean_array_push(x_3486, x_3485); -x_3488 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3485 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3486 = lean_array_push(x_3485, x_3484); +x_3487 = lean_array_push(x_3486, x_3478); +x_3488 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; x_3489 = lean_array_push(x_3487, x_3488); -x_3490 = lean_array_push(x_3489, x_3449); -x_3491 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3492 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3492, 0, x_3491); -lean_ctor_set(x_3492, 1, x_3490); -x_3493 = lean_array_push(x_3455, x_3492); -x_3494 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3494, 0, x_3462); -lean_ctor_set(x_3494, 1, x_3493); -x_3495 = lean_array_push(x_3468, x_3494); -x_3496 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3497 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3497, 0, x_3496); -lean_ctor_set(x_3497, 1, x_3495); -lean_ctor_set(x_3446, 1, x_3497); -lean_ctor_set(x_3452, 0, x_3446); -return x_3452; +lean_inc(x_11); +x_3490 = lean_array_push(x_3476, x_11); +x_3491 = !lean_is_exclusive(x_11); +if (x_3491 == 0) +{ +lean_object* x_3492; lean_object* x_3493; lean_object* x_3494; lean_object* x_3495; lean_object* x_3496; lean_object* x_3497; lean_object* x_3498; lean_object* x_3499; lean_object* x_3500; lean_object* x_3501; lean_object* x_3502; lean_object* x_3503; lean_object* x_3504; lean_object* x_3505; +x_3492 = lean_ctor_get(x_11, 1); +lean_dec(x_3492); +x_3493 = lean_ctor_get(x_11, 0); +lean_dec(x_3493); +lean_ctor_set(x_11, 1, x_3490); +lean_ctor_set(x_11, 0, x_3483); +x_3494 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3495 = lean_array_push(x_3494, x_11); +x_3496 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3497 = lean_array_push(x_3495, x_3496); +x_3498 = lean_array_push(x_3497, x_3470); +x_3499 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3500 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3500, 0, x_3499); +lean_ctor_set(x_3500, 1, x_3498); +x_3501 = lean_array_push(x_3476, x_3500); +x_3502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3502, 0, x_3483); +lean_ctor_set(x_3502, 1, x_3501); +x_3503 = lean_array_push(x_3489, x_3502); +x_3504 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3505 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3505, 0, x_3504); +lean_ctor_set(x_3505, 1, x_3503); +lean_ctor_set(x_3467, 1, x_3505); +lean_ctor_set(x_3473, 0, x_3467); +return x_3473; +} +else +{ +lean_object* x_3506; lean_object* x_3507; lean_object* x_3508; lean_object* x_3509; lean_object* x_3510; lean_object* x_3511; lean_object* x_3512; lean_object* x_3513; lean_object* x_3514; lean_object* x_3515; lean_object* x_3516; lean_object* x_3517; lean_object* x_3518; +lean_dec(x_11); +x_3506 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3506, 0, x_3483); +lean_ctor_set(x_3506, 1, x_3490); +x_3507 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3508 = lean_array_push(x_3507, x_3506); +x_3509 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3510 = lean_array_push(x_3508, x_3509); +x_3511 = lean_array_push(x_3510, x_3470); +x_3512 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3513 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3513, 0, x_3512); +lean_ctor_set(x_3513, 1, x_3511); +x_3514 = lean_array_push(x_3476, x_3513); +x_3515 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3515, 0, x_3483); +lean_ctor_set(x_3515, 1, x_3514); +x_3516 = lean_array_push(x_3489, x_3515); +x_3517 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3518, 0, x_3517); +lean_ctor_set(x_3518, 1, x_3516); +lean_ctor_set(x_3467, 1, x_3518); +lean_ctor_set(x_3473, 0, x_3467); +return x_3473; } } else { -lean_object* x_3498; lean_object* x_3499; lean_object* x_3500; lean_object* x_3501; lean_object* x_3502; lean_object* x_3503; lean_object* x_3504; lean_object* x_3505; lean_object* x_3506; lean_object* x_3507; lean_object* x_3508; lean_object* x_3509; lean_object* x_3510; lean_object* x_3511; lean_object* x_3512; lean_object* x_3513; lean_object* x_3514; lean_object* x_3515; lean_object* x_3516; lean_object* x_3517; lean_object* x_3518; lean_object* x_3519; lean_object* x_3520; lean_object* x_3521; lean_object* x_3522; lean_object* x_3523; lean_object* x_3524; lean_object* x_3525; lean_object* x_3526; lean_object* x_3527; lean_object* x_3528; -x_3498 = lean_ctor_get(x_3452, 1); -lean_inc(x_3498); -lean_dec(x_3452); -x_3499 = l_Array_empty___closed__1; -x_3500 = lean_array_push(x_3499, x_3438); -x_3501 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3502 = lean_array_push(x_3500, x_3501); -x_3503 = l_Lean_mkTermIdFromIdent___closed__2; -x_3504 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3504, 0, x_3503); -lean_ctor_set(x_3504, 1, x_3502); -x_3505 = lean_array_push(x_3499, x_3504); -x_3506 = l_Lean_nullKind___closed__2; -x_3507 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3507, 0, x_3506); -lean_ctor_set(x_3507, 1, x_3505); -x_3508 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3509 = lean_array_push(x_3508, x_3507); -x_3510 = lean_array_push(x_3509, x_3501); -x_3511 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3512 = lean_array_push(x_3510, x_3511); +lean_object* x_3519; lean_object* x_3520; lean_object* x_3521; lean_object* x_3522; lean_object* x_3523; lean_object* x_3524; lean_object* x_3525; lean_object* x_3526; lean_object* x_3527; lean_object* x_3528; lean_object* x_3529; lean_object* x_3530; lean_object* x_3531; lean_object* x_3532; lean_object* x_3533; lean_object* x_3534; lean_object* x_3535; lean_object* x_3536; lean_object* x_3537; lean_object* x_3538; lean_object* x_3539; lean_object* x_3540; lean_object* x_3541; lean_object* x_3542; lean_object* x_3543; lean_object* x_3544; lean_object* x_3545; lean_object* x_3546; lean_object* x_3547; lean_object* x_3548; lean_object* x_3549; +x_3519 = lean_ctor_get(x_3473, 1); +lean_inc(x_3519); +lean_dec(x_3473); +x_3520 = l_Array_empty___closed__1; +x_3521 = lean_array_push(x_3520, x_3459); +x_3522 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3523 = lean_array_push(x_3521, x_3522); +x_3524 = l_Lean_mkTermIdFromIdent___closed__2; +x_3525 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3525, 0, x_3524); +lean_ctor_set(x_3525, 1, x_3523); +x_3526 = lean_array_push(x_3520, x_3525); +x_3527 = l_Lean_nullKind___closed__2; +x_3528 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3528, 0, x_3527); +lean_ctor_set(x_3528, 1, x_3526); +x_3529 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3530 = lean_array_push(x_3529, x_3528); +x_3531 = lean_array_push(x_3530, x_3522); +x_3532 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3533 = lean_array_push(x_3531, x_3532); lean_inc(x_11); -x_3513 = lean_array_push(x_3499, x_11); +x_3534 = lean_array_push(x_3520, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3514 = x_11; + x_3535 = x_11; } else { lean_dec_ref(x_11); - x_3514 = lean_box(0); -} -if (lean_is_scalar(x_3514)) { - x_3515 = lean_alloc_ctor(1, 2, 0); -} else { - x_3515 = x_3514; -} -lean_ctor_set(x_3515, 0, x_3506); -lean_ctor_set(x_3515, 1, x_3513); -x_3516 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3517 = lean_array_push(x_3516, x_3515); -x_3518 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3519 = lean_array_push(x_3517, x_3518); -x_3520 = lean_array_push(x_3519, x_3449); -x_3521 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3522 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3522, 0, x_3521); -lean_ctor_set(x_3522, 1, x_3520); -x_3523 = lean_array_push(x_3499, x_3522); -x_3524 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3524, 0, x_3506); -lean_ctor_set(x_3524, 1, x_3523); -x_3525 = lean_array_push(x_3512, x_3524); -x_3526 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3527 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3527, 0, x_3526); -lean_ctor_set(x_3527, 1, x_3525); -lean_ctor_set(x_3446, 1, x_3527); -x_3528 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3528, 0, x_3446); -lean_ctor_set(x_3528, 1, x_3498); -return x_3528; -} -} -else -{ -lean_object* x_3529; lean_object* x_3530; lean_object* x_3531; lean_object* x_3532; lean_object* x_3533; lean_object* x_3534; lean_object* x_3535; lean_object* x_3536; lean_object* x_3537; lean_object* x_3538; lean_object* x_3539; lean_object* x_3540; lean_object* x_3541; lean_object* x_3542; lean_object* x_3543; lean_object* x_3544; lean_object* x_3545; lean_object* x_3546; lean_object* x_3547; lean_object* x_3548; lean_object* x_3549; lean_object* x_3550; lean_object* x_3551; lean_object* x_3552; lean_object* x_3553; lean_object* x_3554; lean_object* x_3555; lean_object* x_3556; lean_object* x_3557; lean_object* x_3558; lean_object* x_3559; lean_object* x_3560; lean_object* x_3561; lean_object* x_3562; lean_object* x_3563; lean_object* x_3564; lean_object* x_3565; lean_object* x_3566; -x_3529 = lean_ctor_get(x_3446, 0); -x_3530 = lean_ctor_get(x_3446, 1); -lean_inc(x_3530); -lean_inc(x_3529); -lean_dec(x_3446); -x_3531 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3447); -lean_dec(x_5); -x_3532 = lean_ctor_get(x_3531, 1); -lean_inc(x_3532); -lean_dec(x_3531); -x_3533 = l_Lean_Elab_Term_getMainModule___rarg(x_3532); -x_3534 = lean_ctor_get(x_3533, 1); -lean_inc(x_3534); -if (lean_is_exclusive(x_3533)) { - lean_ctor_release(x_3533, 0); - lean_ctor_release(x_3533, 1); - x_3535 = x_3533; -} else { - lean_dec_ref(x_3533); x_3535 = lean_box(0); } -x_3536 = l_Array_empty___closed__1; -x_3537 = lean_array_push(x_3536, x_3438); -x_3538 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3539 = lean_array_push(x_3537, x_3538); -x_3540 = l_Lean_mkTermIdFromIdent___closed__2; -x_3541 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3541, 0, x_3540); -lean_ctor_set(x_3541, 1, x_3539); -x_3542 = lean_array_push(x_3536, x_3541); -x_3543 = l_Lean_nullKind___closed__2; -x_3544 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3544, 0, x_3543); -lean_ctor_set(x_3544, 1, x_3542); -x_3545 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3546 = lean_array_push(x_3545, x_3544); -x_3547 = lean_array_push(x_3546, x_3538); -x_3548 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3549 = lean_array_push(x_3547, x_3548); +if (lean_is_scalar(x_3535)) { + x_3536 = lean_alloc_ctor(1, 2, 0); +} else { + x_3536 = x_3535; +} +lean_ctor_set(x_3536, 0, x_3527); +lean_ctor_set(x_3536, 1, x_3534); +x_3537 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3538 = lean_array_push(x_3537, x_3536); +x_3539 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3540 = lean_array_push(x_3538, x_3539); +x_3541 = lean_array_push(x_3540, x_3470); +x_3542 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3543 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3543, 0, x_3542); +lean_ctor_set(x_3543, 1, x_3541); +x_3544 = lean_array_push(x_3520, x_3543); +x_3545 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3545, 0, x_3527); +lean_ctor_set(x_3545, 1, x_3544); +x_3546 = lean_array_push(x_3533, x_3545); +x_3547 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3548 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3548, 0, x_3547); +lean_ctor_set(x_3548, 1, x_3546); +lean_ctor_set(x_3467, 1, x_3548); +x_3549 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3549, 0, x_3467); +lean_ctor_set(x_3549, 1, x_3519); +return x_3549; +} +} +else +{ +lean_object* x_3550; lean_object* x_3551; lean_object* x_3552; lean_object* x_3553; lean_object* x_3554; lean_object* x_3555; lean_object* x_3556; lean_object* x_3557; lean_object* x_3558; lean_object* x_3559; lean_object* x_3560; lean_object* x_3561; lean_object* x_3562; lean_object* x_3563; lean_object* x_3564; lean_object* x_3565; lean_object* x_3566; lean_object* x_3567; lean_object* x_3568; lean_object* x_3569; lean_object* x_3570; lean_object* x_3571; lean_object* x_3572; lean_object* x_3573; lean_object* x_3574; lean_object* x_3575; lean_object* x_3576; lean_object* x_3577; lean_object* x_3578; lean_object* x_3579; lean_object* x_3580; lean_object* x_3581; lean_object* x_3582; lean_object* x_3583; lean_object* x_3584; lean_object* x_3585; lean_object* x_3586; lean_object* x_3587; +x_3550 = lean_ctor_get(x_3467, 0); +x_3551 = lean_ctor_get(x_3467, 1); +lean_inc(x_3551); +lean_inc(x_3550); +lean_dec(x_3467); +x_3552 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3468); +lean_dec(x_5); +x_3553 = lean_ctor_get(x_3552, 1); +lean_inc(x_3553); +lean_dec(x_3552); +x_3554 = l_Lean_Elab_Term_getMainModule___rarg(x_3553); +x_3555 = lean_ctor_get(x_3554, 1); +lean_inc(x_3555); +if (lean_is_exclusive(x_3554)) { + lean_ctor_release(x_3554, 0); + lean_ctor_release(x_3554, 1); + x_3556 = x_3554; +} else { + lean_dec_ref(x_3554); + x_3556 = lean_box(0); +} +x_3557 = l_Array_empty___closed__1; +x_3558 = lean_array_push(x_3557, x_3459); +x_3559 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3560 = lean_array_push(x_3558, x_3559); +x_3561 = l_Lean_mkTermIdFromIdent___closed__2; +x_3562 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3562, 0, x_3561); +lean_ctor_set(x_3562, 1, x_3560); +x_3563 = lean_array_push(x_3557, x_3562); +x_3564 = l_Lean_nullKind___closed__2; +x_3565 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3565, 0, x_3564); +lean_ctor_set(x_3565, 1, x_3563); +x_3566 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3567 = lean_array_push(x_3566, x_3565); +x_3568 = lean_array_push(x_3567, x_3559); +x_3569 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3570 = lean_array_push(x_3568, x_3569); lean_inc(x_11); -x_3550 = lean_array_push(x_3536, x_11); +x_3571 = lean_array_push(x_3557, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3551 = x_11; + x_3572 = x_11; } else { lean_dec_ref(x_11); - x_3551 = lean_box(0); + x_3572 = lean_box(0); } -if (lean_is_scalar(x_3551)) { - x_3552 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3572)) { + x_3573 = lean_alloc_ctor(1, 2, 0); } else { - x_3552 = x_3551; + x_3573 = x_3572; } -lean_ctor_set(x_3552, 0, x_3543); -lean_ctor_set(x_3552, 1, x_3550); -x_3553 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3554 = lean_array_push(x_3553, x_3552); -x_3555 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3556 = lean_array_push(x_3554, x_3555); -x_3557 = lean_array_push(x_3556, x_3530); -x_3558 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3559 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3559, 0, x_3558); -lean_ctor_set(x_3559, 1, x_3557); -x_3560 = lean_array_push(x_3536, x_3559); -x_3561 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3561, 0, x_3543); -lean_ctor_set(x_3561, 1, x_3560); -x_3562 = lean_array_push(x_3549, x_3561); -x_3563 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3564 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3564, 0, x_3563); -lean_ctor_set(x_3564, 1, x_3562); -x_3565 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3565, 0, x_3529); -lean_ctor_set(x_3565, 1, x_3564); -if (lean_is_scalar(x_3535)) { - x_3566 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3573, 0, x_3564); +lean_ctor_set(x_3573, 1, x_3571); +x_3574 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3575 = lean_array_push(x_3574, x_3573); +x_3576 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3577 = lean_array_push(x_3575, x_3576); +x_3578 = lean_array_push(x_3577, x_3551); +x_3579 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3580 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3580, 0, x_3579); +lean_ctor_set(x_3580, 1, x_3578); +x_3581 = lean_array_push(x_3557, x_3580); +x_3582 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3582, 0, x_3564); +lean_ctor_set(x_3582, 1, x_3581); +x_3583 = lean_array_push(x_3570, x_3582); +x_3584 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3585 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3585, 0, x_3584); +lean_ctor_set(x_3585, 1, x_3583); +x_3586 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3586, 0, x_3550); +lean_ctor_set(x_3586, 1, x_3585); +if (lean_is_scalar(x_3556)) { + x_3587 = lean_alloc_ctor(0, 2, 0); } else { - x_3566 = x_3535; + x_3587 = x_3556; } -lean_ctor_set(x_3566, 0, x_3565); -lean_ctor_set(x_3566, 1, x_3534); -return x_3566; +lean_ctor_set(x_3587, 0, x_3586); +lean_ctor_set(x_3587, 1, x_3555); +return x_3587; } } else { -uint8_t x_3567; -lean_dec(x_3438); +uint8_t x_3588; +lean_dec(x_3459); lean_dec(x_11); lean_dec(x_5); -x_3567 = !lean_is_exclusive(x_3445); -if (x_3567 == 0) +x_3588 = !lean_is_exclusive(x_3466); +if (x_3588 == 0) { -return x_3445; +return x_3466; } else { -lean_object* x_3568; lean_object* x_3569; lean_object* x_3570; -x_3568 = lean_ctor_get(x_3445, 0); -x_3569 = lean_ctor_get(x_3445, 1); -lean_inc(x_3569); -lean_inc(x_3568); -lean_dec(x_3445); -x_3570 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3570, 0, x_3568); -lean_ctor_set(x_3570, 1, x_3569); -return x_3570; +lean_object* x_3589; lean_object* x_3590; lean_object* x_3591; +x_3589 = lean_ctor_get(x_3466, 0); +x_3590 = lean_ctor_get(x_3466, 1); +lean_inc(x_3590); +lean_inc(x_3589); +lean_dec(x_3466); +x_3591 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3591, 0, x_3589); +lean_ctor_set(x_3591, 1, x_3590); +return x_3591; } } } else { -lean_object* x_3571; lean_object* x_3572; lean_object* x_3573; uint8_t x_3574; -x_3571 = lean_ctor_get(x_3436, 0); -lean_inc(x_3571); -lean_dec(x_3436); -x_3572 = lean_ctor_get(x_3571, 0); -lean_inc(x_3572); -x_3573 = lean_ctor_get(x_3571, 1); -lean_inc(x_3573); -lean_dec(x_3571); -x_3574 = l_Lean_Syntax_isNone(x_3573); -lean_dec(x_3573); -if (x_3574 == 0) +lean_object* x_3592; lean_object* x_3593; lean_object* x_3594; uint8_t x_3595; +x_3592 = lean_ctor_get(x_3457, 0); +lean_inc(x_3592); +lean_dec(x_3457); +x_3593 = lean_ctor_get(x_3592, 0); +lean_inc(x_3593); +x_3594 = lean_ctor_get(x_3592, 1); +lean_inc(x_3594); +lean_dec(x_3592); +x_3595 = l_Lean_Syntax_isNone(x_3594); +lean_dec(x_3594); +if (x_3595 == 0) { -lean_object* x_3575; lean_object* x_3576; uint8_t x_3577; -lean_dec(x_3572); +lean_object* x_3596; lean_object* x_3597; uint8_t x_3598; +lean_dec(x_3593); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3575 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_3576 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3575, x_5, x_6); +x_3596 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3597 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3596, x_5, x_6); lean_dec(x_11); -x_3577 = !lean_is_exclusive(x_3576); -if (x_3577 == 0) +x_3598 = !lean_is_exclusive(x_3597); +if (x_3598 == 0) { -return x_3576; +return x_3597; } else { -lean_object* x_3578; lean_object* x_3579; lean_object* x_3580; -x_3578 = lean_ctor_get(x_3576, 0); -x_3579 = lean_ctor_get(x_3576, 1); -lean_inc(x_3579); -lean_inc(x_3578); -lean_dec(x_3576); -x_3580 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3580, 0, x_3578); -lean_ctor_set(x_3580, 1, x_3579); -return x_3580; +lean_object* x_3599; lean_object* x_3600; lean_object* x_3601; +x_3599 = lean_ctor_get(x_3597, 0); +x_3600 = lean_ctor_get(x_3597, 1); +lean_inc(x_3600); +lean_inc(x_3599); +lean_dec(x_3597); +x_3601 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3601, 0, x_3599); +lean_ctor_set(x_3601, 1, x_3600); +return x_3601; } } else { -lean_object* x_3581; lean_object* x_3582; lean_object* x_3583; lean_object* x_3584; lean_object* x_3585; -x_3581 = l_Lean_mkHole(x_11); +lean_object* x_3602; lean_object* x_3603; lean_object* x_3604; lean_object* x_3605; lean_object* x_3606; +x_3602 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_3582 = lean_unsigned_to_nat(1u); -x_3583 = lean_nat_add(x_3, x_3582); +x_3603 = lean_unsigned_to_nat(1u); +x_3604 = lean_nat_add(x_3, x_3603); lean_dec(x_3); -x_3584 = l_Lean_Elab_Term_mkExplicitBinder(x_3572, x_3581); -x_3585 = lean_array_push(x_4, x_3584); -x_3 = x_3583; -x_4 = x_3585; +x_3605 = l_Lean_Elab_Term_mkExplicitBinder(x_3593, x_3602); +x_3606 = lean_array_push(x_4, x_3605); +x_3 = x_3604; +x_4 = x_3606; goto _start; } } @@ -14685,373 +14727,375 @@ goto _start; } else { -lean_object* x_3587; +uint8_t x_3608; lean_object* x_3609; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_3587 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_3587) == 0) -{ -lean_object* x_3588; lean_object* x_3589; lean_object* x_3590; lean_object* x_3591; lean_object* x_3592; lean_object* x_3593; lean_object* x_3594; lean_object* x_3595; lean_object* x_3596; -x_3588 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_3589 = lean_ctor_get(x_3588, 0); -lean_inc(x_3589); -x_3590 = lean_ctor_get(x_3588, 1); -lean_inc(x_3590); -lean_dec(x_3588); -x_3591 = lean_unsigned_to_nat(1u); -x_3592 = lean_nat_add(x_3, x_3591); -lean_dec(x_3); -x_3593 = l_Lean_mkHole(x_11); -lean_inc(x_3589); -x_3594 = l_Lean_Elab_Term_mkExplicitBinder(x_3589, x_3593); -x_3595 = lean_array_push(x_4, x_3594); -lean_inc(x_5); -x_3596 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3592, x_3595, x_5, x_3590); -if (lean_obj_tag(x_3596) == 0) -{ -lean_object* x_3597; lean_object* x_3598; uint8_t x_3599; -x_3597 = lean_ctor_get(x_3596, 0); -lean_inc(x_3597); -x_3598 = lean_ctor_get(x_3596, 1); -lean_inc(x_3598); -lean_dec(x_3596); -x_3599 = !lean_is_exclusive(x_3597); -if (x_3599 == 0) -{ -lean_object* x_3600; lean_object* x_3601; lean_object* x_3602; lean_object* x_3603; uint8_t x_3604; -x_3600 = lean_ctor_get(x_3597, 1); -x_3601 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3598); -lean_dec(x_5); -x_3602 = lean_ctor_get(x_3601, 1); -lean_inc(x_3602); -lean_dec(x_3601); -x_3603 = l_Lean_Elab_Term_getMainModule___rarg(x_3602); -x_3604 = !lean_is_exclusive(x_3603); -if (x_3604 == 0) -{ -lean_object* x_3605; lean_object* x_3606; lean_object* x_3607; lean_object* x_3608; lean_object* x_3609; lean_object* x_3610; lean_object* x_3611; lean_object* x_3612; lean_object* x_3613; lean_object* x_3614; lean_object* x_3615; lean_object* x_3616; lean_object* x_3617; lean_object* x_3618; lean_object* x_3619; lean_object* x_3620; uint8_t x_3621; -x_3605 = lean_ctor_get(x_3603, 0); -lean_dec(x_3605); -x_3606 = l_Array_empty___closed__1; -x_3607 = lean_array_push(x_3606, x_3589); -x_3608 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3609 = lean_array_push(x_3607, x_3608); -x_3610 = l_Lean_mkTermIdFromIdent___closed__2; -x_3611 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3611, 0, x_3610); -lean_ctor_set(x_3611, 1, x_3609); -x_3612 = lean_array_push(x_3606, x_3611); -x_3613 = l_Lean_nullKind___closed__2; -x_3614 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3614, 0, x_3613); -lean_ctor_set(x_3614, 1, x_3612); -x_3615 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3616 = lean_array_push(x_3615, x_3614); -x_3617 = lean_array_push(x_3616, x_3608); -x_3618 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3619 = lean_array_push(x_3617, x_3618); +x_3608 = 1; lean_inc(x_11); -x_3620 = lean_array_push(x_3606, x_11); -x_3621 = !lean_is_exclusive(x_11); +x_3609 = l_Lean_Syntax_isTermId_x3f(x_11, x_3608); +if (lean_obj_tag(x_3609) == 0) +{ +lean_object* x_3610; lean_object* x_3611; lean_object* x_3612; lean_object* x_3613; lean_object* x_3614; lean_object* x_3615; lean_object* x_3616; lean_object* x_3617; lean_object* x_3618; +x_3610 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3611 = lean_ctor_get(x_3610, 0); +lean_inc(x_3611); +x_3612 = lean_ctor_get(x_3610, 1); +lean_inc(x_3612); +lean_dec(x_3610); +x_3613 = lean_unsigned_to_nat(1u); +x_3614 = lean_nat_add(x_3, x_3613); +lean_dec(x_3); +x_3615 = l_Lean_mkHole(x_11); +lean_inc(x_3611); +x_3616 = l_Lean_Elab_Term_mkExplicitBinder(x_3611, x_3615); +x_3617 = lean_array_push(x_4, x_3616); +lean_inc(x_5); +x_3618 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3614, x_3617, x_5, x_3612); +if (lean_obj_tag(x_3618) == 0) +{ +lean_object* x_3619; lean_object* x_3620; uint8_t x_3621; +x_3619 = lean_ctor_get(x_3618, 0); +lean_inc(x_3619); +x_3620 = lean_ctor_get(x_3618, 1); +lean_inc(x_3620); +lean_dec(x_3618); +x_3621 = !lean_is_exclusive(x_3619); if (x_3621 == 0) { -lean_object* x_3622; lean_object* x_3623; lean_object* x_3624; lean_object* x_3625; lean_object* x_3626; lean_object* x_3627; lean_object* x_3628; lean_object* x_3629; lean_object* x_3630; lean_object* x_3631; lean_object* x_3632; lean_object* x_3633; lean_object* x_3634; lean_object* x_3635; -x_3622 = lean_ctor_get(x_11, 1); -lean_dec(x_3622); -x_3623 = lean_ctor_get(x_11, 0); +lean_object* x_3622; lean_object* x_3623; lean_object* x_3624; lean_object* x_3625; uint8_t x_3626; +x_3622 = lean_ctor_get(x_3619, 1); +x_3623 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3620); +lean_dec(x_5); +x_3624 = lean_ctor_get(x_3623, 1); +lean_inc(x_3624); lean_dec(x_3623); -lean_ctor_set(x_11, 1, x_3620); -lean_ctor_set(x_11, 0, x_3613); -x_3624 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3625 = lean_array_push(x_3624, x_11); -x_3626 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3627 = lean_array_push(x_3625, x_3626); -x_3628 = lean_array_push(x_3627, x_3600); -x_3629 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3630 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3630, 0, x_3629); -lean_ctor_set(x_3630, 1, x_3628); -x_3631 = lean_array_push(x_3606, x_3630); -x_3632 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3632, 0, x_3613); -lean_ctor_set(x_3632, 1, x_3631); -x_3633 = lean_array_push(x_3619, x_3632); -x_3634 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3635 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3635, 0, x_3634); -lean_ctor_set(x_3635, 1, x_3633); -lean_ctor_set(x_3597, 1, x_3635); -lean_ctor_set(x_3603, 0, x_3597); -return x_3603; -} -else +x_3625 = l_Lean_Elab_Term_getMainModule___rarg(x_3624); +x_3626 = !lean_is_exclusive(x_3625); +if (x_3626 == 0) { -lean_object* x_3636; lean_object* x_3637; lean_object* x_3638; lean_object* x_3639; lean_object* x_3640; lean_object* x_3641; lean_object* x_3642; lean_object* x_3643; lean_object* x_3644; lean_object* x_3645; lean_object* x_3646; lean_object* x_3647; lean_object* x_3648; -lean_dec(x_11); +lean_object* x_3627; lean_object* x_3628; lean_object* x_3629; lean_object* x_3630; lean_object* x_3631; lean_object* x_3632; lean_object* x_3633; lean_object* x_3634; lean_object* x_3635; lean_object* x_3636; lean_object* x_3637; lean_object* x_3638; lean_object* x_3639; lean_object* x_3640; lean_object* x_3641; lean_object* x_3642; uint8_t x_3643; +x_3627 = lean_ctor_get(x_3625, 0); +lean_dec(x_3627); +x_3628 = l_Array_empty___closed__1; +x_3629 = lean_array_push(x_3628, x_3611); +x_3630 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3631 = lean_array_push(x_3629, x_3630); +x_3632 = l_Lean_mkTermIdFromIdent___closed__2; +x_3633 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3633, 0, x_3632); +lean_ctor_set(x_3633, 1, x_3631); +x_3634 = lean_array_push(x_3628, x_3633); +x_3635 = l_Lean_nullKind___closed__2; x_3636 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3636, 0, x_3613); -lean_ctor_set(x_3636, 1, x_3620); -x_3637 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +lean_ctor_set(x_3636, 0, x_3635); +lean_ctor_set(x_3636, 1, x_3634); +x_3637 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; x_3638 = lean_array_push(x_3637, x_3636); -x_3639 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3640 = lean_array_push(x_3638, x_3639); -x_3641 = lean_array_push(x_3640, x_3600); -x_3642 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3643 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3643, 0, x_3642); -lean_ctor_set(x_3643, 1, x_3641); -x_3644 = lean_array_push(x_3606, x_3643); -x_3645 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3645, 0, x_3613); -lean_ctor_set(x_3645, 1, x_3644); -x_3646 = lean_array_push(x_3619, x_3645); -x_3647 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3648 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3648, 0, x_3647); -lean_ctor_set(x_3648, 1, x_3646); -lean_ctor_set(x_3597, 1, x_3648); -lean_ctor_set(x_3603, 0, x_3597); -return x_3603; +x_3639 = lean_array_push(x_3638, x_3630); +x_3640 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3641 = lean_array_push(x_3639, x_3640); +lean_inc(x_11); +x_3642 = lean_array_push(x_3628, x_11); +x_3643 = !lean_is_exclusive(x_11); +if (x_3643 == 0) +{ +lean_object* x_3644; lean_object* x_3645; lean_object* x_3646; lean_object* x_3647; lean_object* x_3648; lean_object* x_3649; lean_object* x_3650; lean_object* x_3651; lean_object* x_3652; lean_object* x_3653; lean_object* x_3654; lean_object* x_3655; lean_object* x_3656; lean_object* x_3657; +x_3644 = lean_ctor_get(x_11, 1); +lean_dec(x_3644); +x_3645 = lean_ctor_get(x_11, 0); +lean_dec(x_3645); +lean_ctor_set(x_11, 1, x_3642); +lean_ctor_set(x_11, 0, x_3635); +x_3646 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3647 = lean_array_push(x_3646, x_11); +x_3648 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3649 = lean_array_push(x_3647, x_3648); +x_3650 = lean_array_push(x_3649, x_3622); +x_3651 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3652 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3652, 0, x_3651); +lean_ctor_set(x_3652, 1, x_3650); +x_3653 = lean_array_push(x_3628, x_3652); +x_3654 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3654, 0, x_3635); +lean_ctor_set(x_3654, 1, x_3653); +x_3655 = lean_array_push(x_3641, x_3654); +x_3656 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3657 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3657, 0, x_3656); +lean_ctor_set(x_3657, 1, x_3655); +lean_ctor_set(x_3619, 1, x_3657); +lean_ctor_set(x_3625, 0, x_3619); +return x_3625; +} +else +{ +lean_object* x_3658; lean_object* x_3659; lean_object* x_3660; lean_object* x_3661; lean_object* x_3662; lean_object* x_3663; lean_object* x_3664; lean_object* x_3665; lean_object* x_3666; lean_object* x_3667; lean_object* x_3668; lean_object* x_3669; lean_object* x_3670; +lean_dec(x_11); +x_3658 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3658, 0, x_3635); +lean_ctor_set(x_3658, 1, x_3642); +x_3659 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3660 = lean_array_push(x_3659, x_3658); +x_3661 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3662 = lean_array_push(x_3660, x_3661); +x_3663 = lean_array_push(x_3662, x_3622); +x_3664 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3665 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3665, 0, x_3664); +lean_ctor_set(x_3665, 1, x_3663); +x_3666 = lean_array_push(x_3628, x_3665); +x_3667 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3667, 0, x_3635); +lean_ctor_set(x_3667, 1, x_3666); +x_3668 = lean_array_push(x_3641, x_3667); +x_3669 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3670 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3670, 0, x_3669); +lean_ctor_set(x_3670, 1, x_3668); +lean_ctor_set(x_3619, 1, x_3670); +lean_ctor_set(x_3625, 0, x_3619); +return x_3625; } } else { -lean_object* x_3649; lean_object* x_3650; lean_object* x_3651; lean_object* x_3652; lean_object* x_3653; lean_object* x_3654; lean_object* x_3655; lean_object* x_3656; lean_object* x_3657; lean_object* x_3658; lean_object* x_3659; lean_object* x_3660; lean_object* x_3661; lean_object* x_3662; lean_object* x_3663; lean_object* x_3664; lean_object* x_3665; lean_object* x_3666; lean_object* x_3667; lean_object* x_3668; lean_object* x_3669; lean_object* x_3670; lean_object* x_3671; lean_object* x_3672; lean_object* x_3673; lean_object* x_3674; lean_object* x_3675; lean_object* x_3676; lean_object* x_3677; lean_object* x_3678; lean_object* x_3679; -x_3649 = lean_ctor_get(x_3603, 1); -lean_inc(x_3649); -lean_dec(x_3603); -x_3650 = l_Array_empty___closed__1; -x_3651 = lean_array_push(x_3650, x_3589); -x_3652 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3653 = lean_array_push(x_3651, x_3652); -x_3654 = l_Lean_mkTermIdFromIdent___closed__2; -x_3655 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3655, 0, x_3654); -lean_ctor_set(x_3655, 1, x_3653); -x_3656 = lean_array_push(x_3650, x_3655); -x_3657 = l_Lean_nullKind___closed__2; -x_3658 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3658, 0, x_3657); -lean_ctor_set(x_3658, 1, x_3656); -x_3659 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3660 = lean_array_push(x_3659, x_3658); -x_3661 = lean_array_push(x_3660, x_3652); -x_3662 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3663 = lean_array_push(x_3661, x_3662); +lean_object* x_3671; lean_object* x_3672; lean_object* x_3673; lean_object* x_3674; lean_object* x_3675; lean_object* x_3676; lean_object* x_3677; lean_object* x_3678; lean_object* x_3679; lean_object* x_3680; lean_object* x_3681; lean_object* x_3682; lean_object* x_3683; lean_object* x_3684; lean_object* x_3685; lean_object* x_3686; lean_object* x_3687; lean_object* x_3688; lean_object* x_3689; lean_object* x_3690; lean_object* x_3691; lean_object* x_3692; lean_object* x_3693; lean_object* x_3694; lean_object* x_3695; lean_object* x_3696; lean_object* x_3697; lean_object* x_3698; lean_object* x_3699; lean_object* x_3700; lean_object* x_3701; +x_3671 = lean_ctor_get(x_3625, 1); +lean_inc(x_3671); +lean_dec(x_3625); +x_3672 = l_Array_empty___closed__1; +x_3673 = lean_array_push(x_3672, x_3611); +x_3674 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3675 = lean_array_push(x_3673, x_3674); +x_3676 = l_Lean_mkTermIdFromIdent___closed__2; +x_3677 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3677, 0, x_3676); +lean_ctor_set(x_3677, 1, x_3675); +x_3678 = lean_array_push(x_3672, x_3677); +x_3679 = l_Lean_nullKind___closed__2; +x_3680 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3680, 0, x_3679); +lean_ctor_set(x_3680, 1, x_3678); +x_3681 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3682 = lean_array_push(x_3681, x_3680); +x_3683 = lean_array_push(x_3682, x_3674); +x_3684 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3685 = lean_array_push(x_3683, x_3684); lean_inc(x_11); -x_3664 = lean_array_push(x_3650, x_11); +x_3686 = lean_array_push(x_3672, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3665 = x_11; + x_3687 = x_11; } else { lean_dec_ref(x_11); - x_3665 = lean_box(0); + x_3687 = lean_box(0); } -if (lean_is_scalar(x_3665)) { - x_3666 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3687)) { + x_3688 = lean_alloc_ctor(1, 2, 0); } else { - x_3666 = x_3665; + x_3688 = x_3687; } -lean_ctor_set(x_3666, 0, x_3657); -lean_ctor_set(x_3666, 1, x_3664); -x_3667 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3668 = lean_array_push(x_3667, x_3666); -x_3669 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3670 = lean_array_push(x_3668, x_3669); -x_3671 = lean_array_push(x_3670, x_3600); -x_3672 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3673 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3673, 0, x_3672); -lean_ctor_set(x_3673, 1, x_3671); -x_3674 = lean_array_push(x_3650, x_3673); -x_3675 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3675, 0, x_3657); -lean_ctor_set(x_3675, 1, x_3674); -x_3676 = lean_array_push(x_3663, x_3675); -x_3677 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3678 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3678, 0, x_3677); -lean_ctor_set(x_3678, 1, x_3676); -lean_ctor_set(x_3597, 1, x_3678); -x_3679 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3679, 0, x_3597); -lean_ctor_set(x_3679, 1, x_3649); -return x_3679; -} -} -else -{ -lean_object* x_3680; lean_object* x_3681; lean_object* x_3682; lean_object* x_3683; lean_object* x_3684; lean_object* x_3685; lean_object* x_3686; lean_object* x_3687; lean_object* x_3688; lean_object* x_3689; lean_object* x_3690; lean_object* x_3691; lean_object* x_3692; lean_object* x_3693; lean_object* x_3694; lean_object* x_3695; lean_object* x_3696; lean_object* x_3697; lean_object* x_3698; lean_object* x_3699; lean_object* x_3700; lean_object* x_3701; lean_object* x_3702; lean_object* x_3703; lean_object* x_3704; lean_object* x_3705; lean_object* x_3706; lean_object* x_3707; lean_object* x_3708; lean_object* x_3709; lean_object* x_3710; lean_object* x_3711; lean_object* x_3712; lean_object* x_3713; lean_object* x_3714; lean_object* x_3715; lean_object* x_3716; lean_object* x_3717; -x_3680 = lean_ctor_get(x_3597, 0); -x_3681 = lean_ctor_get(x_3597, 1); -lean_inc(x_3681); -lean_inc(x_3680); -lean_dec(x_3597); -x_3682 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3598); -lean_dec(x_5); -x_3683 = lean_ctor_get(x_3682, 1); -lean_inc(x_3683); -lean_dec(x_3682); -x_3684 = l_Lean_Elab_Term_getMainModule___rarg(x_3683); -x_3685 = lean_ctor_get(x_3684, 1); -lean_inc(x_3685); -if (lean_is_exclusive(x_3684)) { - lean_ctor_release(x_3684, 0); - lean_ctor_release(x_3684, 1); - x_3686 = x_3684; -} else { - lean_dec_ref(x_3684); - x_3686 = lean_box(0); -} -x_3687 = l_Array_empty___closed__1; -x_3688 = lean_array_push(x_3687, x_3589); -x_3689 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3690 = lean_array_push(x_3688, x_3689); -x_3691 = l_Lean_mkTermIdFromIdent___closed__2; -x_3692 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3692, 0, x_3691); -lean_ctor_set(x_3692, 1, x_3690); -x_3693 = lean_array_push(x_3687, x_3692); -x_3694 = l_Lean_nullKind___closed__2; +lean_ctor_set(x_3688, 0, x_3679); +lean_ctor_set(x_3688, 1, x_3686); +x_3689 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3690 = lean_array_push(x_3689, x_3688); +x_3691 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3692 = lean_array_push(x_3690, x_3691); +x_3693 = lean_array_push(x_3692, x_3622); +x_3694 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; x_3695 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3695, 0, x_3694); lean_ctor_set(x_3695, 1, x_3693); -x_3696 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3697 = lean_array_push(x_3696, x_3695); -x_3698 = lean_array_push(x_3697, x_3689); -x_3699 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3700 = lean_array_push(x_3698, x_3699); +x_3696 = lean_array_push(x_3672, x_3695); +x_3697 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3697, 0, x_3679); +lean_ctor_set(x_3697, 1, x_3696); +x_3698 = lean_array_push(x_3685, x_3697); +x_3699 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3700 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3700, 0, x_3699); +lean_ctor_set(x_3700, 1, x_3698); +lean_ctor_set(x_3619, 1, x_3700); +x_3701 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3701, 0, x_3619); +lean_ctor_set(x_3701, 1, x_3671); +return x_3701; +} +} +else +{ +lean_object* x_3702; lean_object* x_3703; lean_object* x_3704; lean_object* x_3705; lean_object* x_3706; lean_object* x_3707; lean_object* x_3708; lean_object* x_3709; lean_object* x_3710; lean_object* x_3711; lean_object* x_3712; lean_object* x_3713; lean_object* x_3714; lean_object* x_3715; lean_object* x_3716; lean_object* x_3717; lean_object* x_3718; lean_object* x_3719; lean_object* x_3720; lean_object* x_3721; lean_object* x_3722; lean_object* x_3723; lean_object* x_3724; lean_object* x_3725; lean_object* x_3726; lean_object* x_3727; lean_object* x_3728; lean_object* x_3729; lean_object* x_3730; lean_object* x_3731; lean_object* x_3732; lean_object* x_3733; lean_object* x_3734; lean_object* x_3735; lean_object* x_3736; lean_object* x_3737; lean_object* x_3738; lean_object* x_3739; +x_3702 = lean_ctor_get(x_3619, 0); +x_3703 = lean_ctor_get(x_3619, 1); +lean_inc(x_3703); +lean_inc(x_3702); +lean_dec(x_3619); +x_3704 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3620); +lean_dec(x_5); +x_3705 = lean_ctor_get(x_3704, 1); +lean_inc(x_3705); +lean_dec(x_3704); +x_3706 = l_Lean_Elab_Term_getMainModule___rarg(x_3705); +x_3707 = lean_ctor_get(x_3706, 1); +lean_inc(x_3707); +if (lean_is_exclusive(x_3706)) { + lean_ctor_release(x_3706, 0); + lean_ctor_release(x_3706, 1); + x_3708 = x_3706; +} else { + lean_dec_ref(x_3706); + x_3708 = lean_box(0); +} +x_3709 = l_Array_empty___closed__1; +x_3710 = lean_array_push(x_3709, x_3611); +x_3711 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3712 = lean_array_push(x_3710, x_3711); +x_3713 = l_Lean_mkTermIdFromIdent___closed__2; +x_3714 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3714, 0, x_3713); +lean_ctor_set(x_3714, 1, x_3712); +x_3715 = lean_array_push(x_3709, x_3714); +x_3716 = l_Lean_nullKind___closed__2; +x_3717 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3717, 0, x_3716); +lean_ctor_set(x_3717, 1, x_3715); +x_3718 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3719 = lean_array_push(x_3718, x_3717); +x_3720 = lean_array_push(x_3719, x_3711); +x_3721 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3722 = lean_array_push(x_3720, x_3721); lean_inc(x_11); -x_3701 = lean_array_push(x_3687, x_11); +x_3723 = lean_array_push(x_3709, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3702 = x_11; + x_3724 = x_11; } else { lean_dec_ref(x_11); - x_3702 = lean_box(0); + x_3724 = lean_box(0); } -if (lean_is_scalar(x_3702)) { - x_3703 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3724)) { + x_3725 = lean_alloc_ctor(1, 2, 0); } else { - x_3703 = x_3702; + x_3725 = x_3724; } -lean_ctor_set(x_3703, 0, x_3694); -lean_ctor_set(x_3703, 1, x_3701); -x_3704 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3705 = lean_array_push(x_3704, x_3703); -x_3706 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3707 = lean_array_push(x_3705, x_3706); -x_3708 = lean_array_push(x_3707, x_3681); -x_3709 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3710 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3710, 0, x_3709); -lean_ctor_set(x_3710, 1, x_3708); -x_3711 = lean_array_push(x_3687, x_3710); -x_3712 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3712, 0, x_3694); -lean_ctor_set(x_3712, 1, x_3711); -x_3713 = lean_array_push(x_3700, x_3712); -x_3714 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3715 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3715, 0, x_3714); -lean_ctor_set(x_3715, 1, x_3713); -x_3716 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3716, 0, x_3680); -lean_ctor_set(x_3716, 1, x_3715); -if (lean_is_scalar(x_3686)) { - x_3717 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3725, 0, x_3716); +lean_ctor_set(x_3725, 1, x_3723); +x_3726 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3727 = lean_array_push(x_3726, x_3725); +x_3728 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3729 = lean_array_push(x_3727, x_3728); +x_3730 = lean_array_push(x_3729, x_3703); +x_3731 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3732 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3732, 0, x_3731); +lean_ctor_set(x_3732, 1, x_3730); +x_3733 = lean_array_push(x_3709, x_3732); +x_3734 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3734, 0, x_3716); +lean_ctor_set(x_3734, 1, x_3733); +x_3735 = lean_array_push(x_3722, x_3734); +x_3736 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3737 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3737, 0, x_3736); +lean_ctor_set(x_3737, 1, x_3735); +x_3738 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3738, 0, x_3702); +lean_ctor_set(x_3738, 1, x_3737); +if (lean_is_scalar(x_3708)) { + x_3739 = lean_alloc_ctor(0, 2, 0); } else { - x_3717 = x_3686; + x_3739 = x_3708; } -lean_ctor_set(x_3717, 0, x_3716); -lean_ctor_set(x_3717, 1, x_3685); -return x_3717; +lean_ctor_set(x_3739, 0, x_3738); +lean_ctor_set(x_3739, 1, x_3707); +return x_3739; } } else { -uint8_t x_3718; -lean_dec(x_3589); +uint8_t x_3740; +lean_dec(x_3611); lean_dec(x_11); lean_dec(x_5); -x_3718 = !lean_is_exclusive(x_3596); -if (x_3718 == 0) +x_3740 = !lean_is_exclusive(x_3618); +if (x_3740 == 0) { -return x_3596; +return x_3618; } else { -lean_object* x_3719; lean_object* x_3720; lean_object* x_3721; -x_3719 = lean_ctor_get(x_3596, 0); -x_3720 = lean_ctor_get(x_3596, 1); -lean_inc(x_3720); -lean_inc(x_3719); -lean_dec(x_3596); -x_3721 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3721, 0, x_3719); -lean_ctor_set(x_3721, 1, x_3720); -return x_3721; +lean_object* x_3741; lean_object* x_3742; lean_object* x_3743; +x_3741 = lean_ctor_get(x_3618, 0); +x_3742 = lean_ctor_get(x_3618, 1); +lean_inc(x_3742); +lean_inc(x_3741); +lean_dec(x_3618); +x_3743 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3743, 0, x_3741); +lean_ctor_set(x_3743, 1, x_3742); +return x_3743; } } } else { -lean_object* x_3722; lean_object* x_3723; lean_object* x_3724; uint8_t x_3725; -x_3722 = lean_ctor_get(x_3587, 0); -lean_inc(x_3722); -lean_dec(x_3587); -x_3723 = lean_ctor_get(x_3722, 0); -lean_inc(x_3723); -x_3724 = lean_ctor_get(x_3722, 1); -lean_inc(x_3724); -lean_dec(x_3722); -x_3725 = l_Lean_Syntax_isNone(x_3724); -lean_dec(x_3724); -if (x_3725 == 0) +lean_object* x_3744; lean_object* x_3745; lean_object* x_3746; uint8_t x_3747; +x_3744 = lean_ctor_get(x_3609, 0); +lean_inc(x_3744); +lean_dec(x_3609); +x_3745 = lean_ctor_get(x_3744, 0); +lean_inc(x_3745); +x_3746 = lean_ctor_get(x_3744, 1); +lean_inc(x_3746); +lean_dec(x_3744); +x_3747 = l_Lean_Syntax_isNone(x_3746); +lean_dec(x_3746); +if (x_3747 == 0) { -lean_object* x_3726; lean_object* x_3727; uint8_t x_3728; -lean_dec(x_3723); +lean_object* x_3748; lean_object* x_3749; uint8_t x_3750; +lean_dec(x_3745); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3726 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_3727 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3726, x_5, x_6); +x_3748 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3749 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3748, x_5, x_6); lean_dec(x_11); -x_3728 = !lean_is_exclusive(x_3727); -if (x_3728 == 0) +x_3750 = !lean_is_exclusive(x_3749); +if (x_3750 == 0) { -return x_3727; +return x_3749; } else { -lean_object* x_3729; lean_object* x_3730; lean_object* x_3731; -x_3729 = lean_ctor_get(x_3727, 0); -x_3730 = lean_ctor_get(x_3727, 1); -lean_inc(x_3730); -lean_inc(x_3729); -lean_dec(x_3727); -x_3731 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3731, 0, x_3729); -lean_ctor_set(x_3731, 1, x_3730); -return x_3731; +lean_object* x_3751; lean_object* x_3752; lean_object* x_3753; +x_3751 = lean_ctor_get(x_3749, 0); +x_3752 = lean_ctor_get(x_3749, 1); +lean_inc(x_3752); +lean_inc(x_3751); +lean_dec(x_3749); +x_3753 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3753, 0, x_3751); +lean_ctor_set(x_3753, 1, x_3752); +return x_3753; } } else { -lean_object* x_3732; lean_object* x_3733; lean_object* x_3734; lean_object* x_3735; lean_object* x_3736; -x_3732 = l_Lean_mkHole(x_11); +lean_object* x_3754; lean_object* x_3755; lean_object* x_3756; lean_object* x_3757; lean_object* x_3758; +x_3754 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_3733 = lean_unsigned_to_nat(1u); -x_3734 = lean_nat_add(x_3, x_3733); +x_3755 = lean_unsigned_to_nat(1u); +x_3756 = lean_nat_add(x_3, x_3755); lean_dec(x_3); -x_3735 = l_Lean_Elab_Term_mkExplicitBinder(x_3723, x_3732); -x_3736 = lean_array_push(x_4, x_3735); -x_3 = x_3734; -x_4 = x_3736; +x_3757 = l_Lean_Elab_Term_mkExplicitBinder(x_3745, x_3754); +x_3758 = lean_array_push(x_4, x_3757); +x_3 = x_3756; +x_4 = x_3758; goto _start; } } @@ -15059,372 +15103,374 @@ goto _start; } else { -lean_object* x_3738; +uint8_t x_3760; lean_object* x_3761; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_3738 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_3738) == 0) -{ -lean_object* x_3739; lean_object* x_3740; lean_object* x_3741; lean_object* x_3742; lean_object* x_3743; lean_object* x_3744; lean_object* x_3745; lean_object* x_3746; lean_object* x_3747; -x_3739 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_3740 = lean_ctor_get(x_3739, 0); -lean_inc(x_3740); -x_3741 = lean_ctor_get(x_3739, 1); -lean_inc(x_3741); -lean_dec(x_3739); -x_3742 = lean_unsigned_to_nat(1u); -x_3743 = lean_nat_add(x_3, x_3742); -lean_dec(x_3); -x_3744 = l_Lean_mkHole(x_11); -lean_inc(x_3740); -x_3745 = l_Lean_Elab_Term_mkExplicitBinder(x_3740, x_3744); -x_3746 = lean_array_push(x_4, x_3745); -lean_inc(x_5); -x_3747 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3743, x_3746, x_5, x_3741); -if (lean_obj_tag(x_3747) == 0) -{ -lean_object* x_3748; lean_object* x_3749; uint8_t x_3750; -x_3748 = lean_ctor_get(x_3747, 0); -lean_inc(x_3748); -x_3749 = lean_ctor_get(x_3747, 1); -lean_inc(x_3749); -lean_dec(x_3747); -x_3750 = !lean_is_exclusive(x_3748); -if (x_3750 == 0) -{ -lean_object* x_3751; lean_object* x_3752; lean_object* x_3753; lean_object* x_3754; uint8_t x_3755; -x_3751 = lean_ctor_get(x_3748, 1); -x_3752 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3749); -lean_dec(x_5); -x_3753 = lean_ctor_get(x_3752, 1); -lean_inc(x_3753); -lean_dec(x_3752); -x_3754 = l_Lean_Elab_Term_getMainModule___rarg(x_3753); -x_3755 = !lean_is_exclusive(x_3754); -if (x_3755 == 0) -{ -lean_object* x_3756; lean_object* x_3757; lean_object* x_3758; lean_object* x_3759; lean_object* x_3760; lean_object* x_3761; lean_object* x_3762; lean_object* x_3763; lean_object* x_3764; lean_object* x_3765; lean_object* x_3766; lean_object* x_3767; lean_object* x_3768; lean_object* x_3769; lean_object* x_3770; lean_object* x_3771; uint8_t x_3772; -x_3756 = lean_ctor_get(x_3754, 0); -lean_dec(x_3756); -x_3757 = l_Array_empty___closed__1; -x_3758 = lean_array_push(x_3757, x_3740); -x_3759 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3760 = lean_array_push(x_3758, x_3759); -x_3761 = l_Lean_mkTermIdFromIdent___closed__2; -x_3762 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3762, 0, x_3761); -lean_ctor_set(x_3762, 1, x_3760); -x_3763 = lean_array_push(x_3757, x_3762); -x_3764 = l_Lean_nullKind___closed__2; -x_3765 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3765, 0, x_3764); -lean_ctor_set(x_3765, 1, x_3763); -x_3766 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3767 = lean_array_push(x_3766, x_3765); -x_3768 = lean_array_push(x_3767, x_3759); -x_3769 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3770 = lean_array_push(x_3768, x_3769); +x_3760 = 1; lean_inc(x_11); -x_3771 = lean_array_push(x_3757, x_11); -x_3772 = !lean_is_exclusive(x_11); -if (x_3772 == 0) +x_3761 = l_Lean_Syntax_isTermId_x3f(x_11, x_3760); +if (lean_obj_tag(x_3761) == 0) { -lean_object* x_3773; lean_object* x_3774; lean_object* x_3775; lean_object* x_3776; lean_object* x_3777; lean_object* x_3778; lean_object* x_3779; lean_object* x_3780; lean_object* x_3781; lean_object* x_3782; lean_object* x_3783; lean_object* x_3784; lean_object* x_3785; lean_object* x_3786; -x_3773 = lean_ctor_get(x_11, 1); -lean_dec(x_3773); -x_3774 = lean_ctor_get(x_11, 0); -lean_dec(x_3774); -lean_ctor_set(x_11, 1, x_3771); -lean_ctor_set(x_11, 0, x_3764); -x_3775 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3776 = lean_array_push(x_3775, x_11); -x_3777 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3778 = lean_array_push(x_3776, x_3777); -x_3779 = lean_array_push(x_3778, x_3751); -x_3780 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3781 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3781, 0, x_3780); -lean_ctor_set(x_3781, 1, x_3779); -x_3782 = lean_array_push(x_3757, x_3781); -x_3783 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3783, 0, x_3764); -lean_ctor_set(x_3783, 1, x_3782); -x_3784 = lean_array_push(x_3770, x_3783); -x_3785 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3786 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3786, 0, x_3785); -lean_ctor_set(x_3786, 1, x_3784); -lean_ctor_set(x_3748, 1, x_3786); -lean_ctor_set(x_3754, 0, x_3748); -return x_3754; -} -else +lean_object* x_3762; lean_object* x_3763; lean_object* x_3764; lean_object* x_3765; lean_object* x_3766; lean_object* x_3767; lean_object* x_3768; lean_object* x_3769; lean_object* x_3770; +x_3762 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3763 = lean_ctor_get(x_3762, 0); +lean_inc(x_3763); +x_3764 = lean_ctor_get(x_3762, 1); +lean_inc(x_3764); +lean_dec(x_3762); +x_3765 = lean_unsigned_to_nat(1u); +x_3766 = lean_nat_add(x_3, x_3765); +lean_dec(x_3); +x_3767 = l_Lean_mkHole(x_11); +lean_inc(x_3763); +x_3768 = l_Lean_Elab_Term_mkExplicitBinder(x_3763, x_3767); +x_3769 = lean_array_push(x_4, x_3768); +lean_inc(x_5); +x_3770 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3766, x_3769, x_5, x_3764); +if (lean_obj_tag(x_3770) == 0) { -lean_object* x_3787; lean_object* x_3788; lean_object* x_3789; lean_object* x_3790; lean_object* x_3791; lean_object* x_3792; lean_object* x_3793; lean_object* x_3794; lean_object* x_3795; lean_object* x_3796; lean_object* x_3797; lean_object* x_3798; lean_object* x_3799; -lean_dec(x_11); -x_3787 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3787, 0, x_3764); -lean_ctor_set(x_3787, 1, x_3771); -x_3788 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3789 = lean_array_push(x_3788, x_3787); -x_3790 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3791 = lean_array_push(x_3789, x_3790); -x_3792 = lean_array_push(x_3791, x_3751); -x_3793 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3794 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3794, 0, x_3793); -lean_ctor_set(x_3794, 1, x_3792); -x_3795 = lean_array_push(x_3757, x_3794); -x_3796 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3796, 0, x_3764); -lean_ctor_set(x_3796, 1, x_3795); -x_3797 = lean_array_push(x_3770, x_3796); -x_3798 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3799, 0, x_3798); -lean_ctor_set(x_3799, 1, x_3797); -lean_ctor_set(x_3748, 1, x_3799); -lean_ctor_set(x_3754, 0, x_3748); -return x_3754; -} -} -else +lean_object* x_3771; lean_object* x_3772; uint8_t x_3773; +x_3771 = lean_ctor_get(x_3770, 0); +lean_inc(x_3771); +x_3772 = lean_ctor_get(x_3770, 1); +lean_inc(x_3772); +lean_dec(x_3770); +x_3773 = !lean_is_exclusive(x_3771); +if (x_3773 == 0) { -lean_object* x_3800; lean_object* x_3801; lean_object* x_3802; lean_object* x_3803; lean_object* x_3804; lean_object* x_3805; lean_object* x_3806; lean_object* x_3807; lean_object* x_3808; lean_object* x_3809; lean_object* x_3810; lean_object* x_3811; lean_object* x_3812; lean_object* x_3813; lean_object* x_3814; lean_object* x_3815; lean_object* x_3816; lean_object* x_3817; lean_object* x_3818; lean_object* x_3819; lean_object* x_3820; lean_object* x_3821; lean_object* x_3822; lean_object* x_3823; lean_object* x_3824; lean_object* x_3825; lean_object* x_3826; lean_object* x_3827; lean_object* x_3828; lean_object* x_3829; lean_object* x_3830; -x_3800 = lean_ctor_get(x_3754, 1); -lean_inc(x_3800); -lean_dec(x_3754); -x_3801 = l_Array_empty___closed__1; -x_3802 = lean_array_push(x_3801, x_3740); -x_3803 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3804 = lean_array_push(x_3802, x_3803); -x_3805 = l_Lean_mkTermIdFromIdent___closed__2; +lean_object* x_3774; lean_object* x_3775; lean_object* x_3776; lean_object* x_3777; uint8_t x_3778; +x_3774 = lean_ctor_get(x_3771, 1); +x_3775 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3772); +lean_dec(x_5); +x_3776 = lean_ctor_get(x_3775, 1); +lean_inc(x_3776); +lean_dec(x_3775); +x_3777 = l_Lean_Elab_Term_getMainModule___rarg(x_3776); +x_3778 = !lean_is_exclusive(x_3777); +if (x_3778 == 0) +{ +lean_object* x_3779; lean_object* x_3780; lean_object* x_3781; lean_object* x_3782; lean_object* x_3783; lean_object* x_3784; lean_object* x_3785; lean_object* x_3786; lean_object* x_3787; lean_object* x_3788; lean_object* x_3789; lean_object* x_3790; lean_object* x_3791; lean_object* x_3792; lean_object* x_3793; lean_object* x_3794; uint8_t x_3795; +x_3779 = lean_ctor_get(x_3777, 0); +lean_dec(x_3779); +x_3780 = l_Array_empty___closed__1; +x_3781 = lean_array_push(x_3780, x_3763); +x_3782 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3783 = lean_array_push(x_3781, x_3782); +x_3784 = l_Lean_mkTermIdFromIdent___closed__2; +x_3785 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3785, 0, x_3784); +lean_ctor_set(x_3785, 1, x_3783); +x_3786 = lean_array_push(x_3780, x_3785); +x_3787 = l_Lean_nullKind___closed__2; +x_3788 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3788, 0, x_3787); +lean_ctor_set(x_3788, 1, x_3786); +x_3789 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3790 = lean_array_push(x_3789, x_3788); +x_3791 = lean_array_push(x_3790, x_3782); +x_3792 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3793 = lean_array_push(x_3791, x_3792); +lean_inc(x_11); +x_3794 = lean_array_push(x_3780, x_11); +x_3795 = !lean_is_exclusive(x_11); +if (x_3795 == 0) +{ +lean_object* x_3796; lean_object* x_3797; lean_object* x_3798; lean_object* x_3799; lean_object* x_3800; lean_object* x_3801; lean_object* x_3802; lean_object* x_3803; lean_object* x_3804; lean_object* x_3805; lean_object* x_3806; lean_object* x_3807; lean_object* x_3808; lean_object* x_3809; +x_3796 = lean_ctor_get(x_11, 1); +lean_dec(x_3796); +x_3797 = lean_ctor_get(x_11, 0); +lean_dec(x_3797); +lean_ctor_set(x_11, 1, x_3794); +lean_ctor_set(x_11, 0, x_3787); +x_3798 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3799 = lean_array_push(x_3798, x_11); +x_3800 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3801 = lean_array_push(x_3799, x_3800); +x_3802 = lean_array_push(x_3801, x_3774); +x_3803 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3804 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3804, 0, x_3803); +lean_ctor_set(x_3804, 1, x_3802); +x_3805 = lean_array_push(x_3780, x_3804); x_3806 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3806, 0, x_3805); -lean_ctor_set(x_3806, 1, x_3804); -x_3807 = lean_array_push(x_3801, x_3806); -x_3808 = l_Lean_nullKind___closed__2; +lean_ctor_set(x_3806, 0, x_3787); +lean_ctor_set(x_3806, 1, x_3805); +x_3807 = lean_array_push(x_3793, x_3806); +x_3808 = l_Lean_Parser_Term_match___elambda__1___closed__2; x_3809 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3809, 0, x_3808); lean_ctor_set(x_3809, 1, x_3807); -x_3810 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3811 = lean_array_push(x_3810, x_3809); -x_3812 = lean_array_push(x_3811, x_3803); -x_3813 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +lean_ctor_set(x_3771, 1, x_3809); +lean_ctor_set(x_3777, 0, x_3771); +return x_3777; +} +else +{ +lean_object* x_3810; lean_object* x_3811; lean_object* x_3812; lean_object* x_3813; lean_object* x_3814; lean_object* x_3815; lean_object* x_3816; lean_object* x_3817; lean_object* x_3818; lean_object* x_3819; lean_object* x_3820; lean_object* x_3821; lean_object* x_3822; +lean_dec(x_11); +x_3810 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3810, 0, x_3787); +lean_ctor_set(x_3810, 1, x_3794); +x_3811 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3812 = lean_array_push(x_3811, x_3810); +x_3813 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; x_3814 = lean_array_push(x_3812, x_3813); -lean_inc(x_11); -x_3815 = lean_array_push(x_3801, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_3816 = x_11; -} else { - lean_dec_ref(x_11); - x_3816 = lean_box(0); -} -if (lean_is_scalar(x_3816)) { - x_3817 = lean_alloc_ctor(1, 2, 0); -} else { - x_3817 = x_3816; -} -lean_ctor_set(x_3817, 0, x_3808); +x_3815 = lean_array_push(x_3814, x_3774); +x_3816 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3817 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3817, 0, x_3816); lean_ctor_set(x_3817, 1, x_3815); -x_3818 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3819 = lean_array_push(x_3818, x_3817); -x_3820 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3821 = lean_array_push(x_3819, x_3820); -x_3822 = lean_array_push(x_3821, x_3751); -x_3823 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3824 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3824, 0, x_3823); -lean_ctor_set(x_3824, 1, x_3822); -x_3825 = lean_array_push(x_3801, x_3824); -x_3826 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3826, 0, x_3808); -lean_ctor_set(x_3826, 1, x_3825); -x_3827 = lean_array_push(x_3814, x_3826); -x_3828 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3818 = lean_array_push(x_3780, x_3817); +x_3819 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3819, 0, x_3787); +lean_ctor_set(x_3819, 1, x_3818); +x_3820 = lean_array_push(x_3793, x_3819); +x_3821 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3822 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3822, 0, x_3821); +lean_ctor_set(x_3822, 1, x_3820); +lean_ctor_set(x_3771, 1, x_3822); +lean_ctor_set(x_3777, 0, x_3771); +return x_3777; +} +} +else +{ +lean_object* x_3823; lean_object* x_3824; lean_object* x_3825; lean_object* x_3826; lean_object* x_3827; lean_object* x_3828; lean_object* x_3829; lean_object* x_3830; lean_object* x_3831; lean_object* x_3832; lean_object* x_3833; lean_object* x_3834; lean_object* x_3835; lean_object* x_3836; lean_object* x_3837; lean_object* x_3838; lean_object* x_3839; lean_object* x_3840; lean_object* x_3841; lean_object* x_3842; lean_object* x_3843; lean_object* x_3844; lean_object* x_3845; lean_object* x_3846; lean_object* x_3847; lean_object* x_3848; lean_object* x_3849; lean_object* x_3850; lean_object* x_3851; lean_object* x_3852; lean_object* x_3853; +x_3823 = lean_ctor_get(x_3777, 1); +lean_inc(x_3823); +lean_dec(x_3777); +x_3824 = l_Array_empty___closed__1; +x_3825 = lean_array_push(x_3824, x_3763); +x_3826 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3827 = lean_array_push(x_3825, x_3826); +x_3828 = l_Lean_mkTermIdFromIdent___closed__2; x_3829 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3829, 0, x_3828); lean_ctor_set(x_3829, 1, x_3827); -lean_ctor_set(x_3748, 1, x_3829); -x_3830 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3830, 0, x_3748); -lean_ctor_set(x_3830, 1, x_3800); -return x_3830; +x_3830 = lean_array_push(x_3824, x_3829); +x_3831 = l_Lean_nullKind___closed__2; +x_3832 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3832, 0, x_3831); +lean_ctor_set(x_3832, 1, x_3830); +x_3833 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3834 = lean_array_push(x_3833, x_3832); +x_3835 = lean_array_push(x_3834, x_3826); +x_3836 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3837 = lean_array_push(x_3835, x_3836); +lean_inc(x_11); +x_3838 = lean_array_push(x_3824, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3839 = x_11; +} else { + lean_dec_ref(x_11); + x_3839 = lean_box(0); +} +if (lean_is_scalar(x_3839)) { + x_3840 = lean_alloc_ctor(1, 2, 0); +} else { + x_3840 = x_3839; +} +lean_ctor_set(x_3840, 0, x_3831); +lean_ctor_set(x_3840, 1, x_3838); +x_3841 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3842 = lean_array_push(x_3841, x_3840); +x_3843 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3844 = lean_array_push(x_3842, x_3843); +x_3845 = lean_array_push(x_3844, x_3774); +x_3846 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3847 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3847, 0, x_3846); +lean_ctor_set(x_3847, 1, x_3845); +x_3848 = lean_array_push(x_3824, x_3847); +x_3849 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3849, 0, x_3831); +lean_ctor_set(x_3849, 1, x_3848); +x_3850 = lean_array_push(x_3837, x_3849); +x_3851 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3852 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3852, 0, x_3851); +lean_ctor_set(x_3852, 1, x_3850); +lean_ctor_set(x_3771, 1, x_3852); +x_3853 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3853, 0, x_3771); +lean_ctor_set(x_3853, 1, x_3823); +return x_3853; } } else { -lean_object* x_3831; lean_object* x_3832; lean_object* x_3833; lean_object* x_3834; lean_object* x_3835; lean_object* x_3836; lean_object* x_3837; lean_object* x_3838; lean_object* x_3839; lean_object* x_3840; lean_object* x_3841; lean_object* x_3842; lean_object* x_3843; lean_object* x_3844; lean_object* x_3845; lean_object* x_3846; lean_object* x_3847; lean_object* x_3848; lean_object* x_3849; lean_object* x_3850; lean_object* x_3851; lean_object* x_3852; lean_object* x_3853; lean_object* x_3854; lean_object* x_3855; lean_object* x_3856; lean_object* x_3857; lean_object* x_3858; lean_object* x_3859; lean_object* x_3860; lean_object* x_3861; lean_object* x_3862; lean_object* x_3863; lean_object* x_3864; lean_object* x_3865; lean_object* x_3866; lean_object* x_3867; lean_object* x_3868; -x_3831 = lean_ctor_get(x_3748, 0); -x_3832 = lean_ctor_get(x_3748, 1); -lean_inc(x_3832); -lean_inc(x_3831); -lean_dec(x_3748); -x_3833 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3749); +lean_object* x_3854; lean_object* x_3855; lean_object* x_3856; lean_object* x_3857; lean_object* x_3858; lean_object* x_3859; lean_object* x_3860; lean_object* x_3861; lean_object* x_3862; lean_object* x_3863; lean_object* x_3864; lean_object* x_3865; lean_object* x_3866; lean_object* x_3867; lean_object* x_3868; lean_object* x_3869; lean_object* x_3870; lean_object* x_3871; lean_object* x_3872; lean_object* x_3873; lean_object* x_3874; lean_object* x_3875; lean_object* x_3876; lean_object* x_3877; lean_object* x_3878; lean_object* x_3879; lean_object* x_3880; lean_object* x_3881; lean_object* x_3882; lean_object* x_3883; lean_object* x_3884; lean_object* x_3885; lean_object* x_3886; lean_object* x_3887; lean_object* x_3888; lean_object* x_3889; lean_object* x_3890; lean_object* x_3891; +x_3854 = lean_ctor_get(x_3771, 0); +x_3855 = lean_ctor_get(x_3771, 1); +lean_inc(x_3855); +lean_inc(x_3854); +lean_dec(x_3771); +x_3856 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3772); lean_dec(x_5); -x_3834 = lean_ctor_get(x_3833, 1); -lean_inc(x_3834); -lean_dec(x_3833); -x_3835 = l_Lean_Elab_Term_getMainModule___rarg(x_3834); -x_3836 = lean_ctor_get(x_3835, 1); -lean_inc(x_3836); -if (lean_is_exclusive(x_3835)) { - lean_ctor_release(x_3835, 0); - lean_ctor_release(x_3835, 1); - x_3837 = x_3835; +x_3857 = lean_ctor_get(x_3856, 1); +lean_inc(x_3857); +lean_dec(x_3856); +x_3858 = l_Lean_Elab_Term_getMainModule___rarg(x_3857); +x_3859 = lean_ctor_get(x_3858, 1); +lean_inc(x_3859); +if (lean_is_exclusive(x_3858)) { + lean_ctor_release(x_3858, 0); + lean_ctor_release(x_3858, 1); + x_3860 = x_3858; } else { - lean_dec_ref(x_3835); - x_3837 = lean_box(0); + lean_dec_ref(x_3858); + x_3860 = lean_box(0); } -x_3838 = l_Array_empty___closed__1; -x_3839 = lean_array_push(x_3838, x_3740); -x_3840 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3841 = lean_array_push(x_3839, x_3840); -x_3842 = l_Lean_mkTermIdFromIdent___closed__2; -x_3843 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3843, 0, x_3842); -lean_ctor_set(x_3843, 1, x_3841); -x_3844 = lean_array_push(x_3838, x_3843); -x_3845 = l_Lean_nullKind___closed__2; -x_3846 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3846, 0, x_3845); -lean_ctor_set(x_3846, 1, x_3844); -x_3847 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3848 = lean_array_push(x_3847, x_3846); -x_3849 = lean_array_push(x_3848, x_3840); -x_3850 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3851 = lean_array_push(x_3849, x_3850); -lean_inc(x_11); -x_3852 = lean_array_push(x_3838, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_3853 = x_11; -} else { - lean_dec_ref(x_11); - x_3853 = lean_box(0); -} -if (lean_is_scalar(x_3853)) { - x_3854 = lean_alloc_ctor(1, 2, 0); -} else { - x_3854 = x_3853; -} -lean_ctor_set(x_3854, 0, x_3845); -lean_ctor_set(x_3854, 1, x_3852); -x_3855 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3856 = lean_array_push(x_3855, x_3854); -x_3857 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3858 = lean_array_push(x_3856, x_3857); -x_3859 = lean_array_push(x_3858, x_3832); -x_3860 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3861 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3861, 0, x_3860); -lean_ctor_set(x_3861, 1, x_3859); -x_3862 = lean_array_push(x_3838, x_3861); -x_3863 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3863, 0, x_3845); -lean_ctor_set(x_3863, 1, x_3862); -x_3864 = lean_array_push(x_3851, x_3863); -x_3865 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3861 = l_Array_empty___closed__1; +x_3862 = lean_array_push(x_3861, x_3763); +x_3863 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3864 = lean_array_push(x_3862, x_3863); +x_3865 = l_Lean_mkTermIdFromIdent___closed__2; x_3866 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3866, 0, x_3865); lean_ctor_set(x_3866, 1, x_3864); -x_3867 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3867, 0, x_3831); -lean_ctor_set(x_3867, 1, x_3866); -if (lean_is_scalar(x_3837)) { - x_3868 = lean_alloc_ctor(0, 2, 0); +x_3867 = lean_array_push(x_3861, x_3866); +x_3868 = l_Lean_nullKind___closed__2; +x_3869 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3869, 0, x_3868); +lean_ctor_set(x_3869, 1, x_3867); +x_3870 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3871 = lean_array_push(x_3870, x_3869); +x_3872 = lean_array_push(x_3871, x_3863); +x_3873 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3874 = lean_array_push(x_3872, x_3873); +lean_inc(x_11); +x_3875 = lean_array_push(x_3861, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_3876 = x_11; } else { - x_3868 = x_3837; + lean_dec_ref(x_11); + x_3876 = lean_box(0); } -lean_ctor_set(x_3868, 0, x_3867); -lean_ctor_set(x_3868, 1, x_3836); -return x_3868; +if (lean_is_scalar(x_3876)) { + x_3877 = lean_alloc_ctor(1, 2, 0); +} else { + x_3877 = x_3876; +} +lean_ctor_set(x_3877, 0, x_3868); +lean_ctor_set(x_3877, 1, x_3875); +x_3878 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3879 = lean_array_push(x_3878, x_3877); +x_3880 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3881 = lean_array_push(x_3879, x_3880); +x_3882 = lean_array_push(x_3881, x_3855); +x_3883 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3884 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3884, 0, x_3883); +lean_ctor_set(x_3884, 1, x_3882); +x_3885 = lean_array_push(x_3861, x_3884); +x_3886 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3886, 0, x_3868); +lean_ctor_set(x_3886, 1, x_3885); +x_3887 = lean_array_push(x_3874, x_3886); +x_3888 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3889 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3889, 0, x_3888); +lean_ctor_set(x_3889, 1, x_3887); +x_3890 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3890, 0, x_3854); +lean_ctor_set(x_3890, 1, x_3889); +if (lean_is_scalar(x_3860)) { + x_3891 = lean_alloc_ctor(0, 2, 0); +} else { + x_3891 = x_3860; +} +lean_ctor_set(x_3891, 0, x_3890); +lean_ctor_set(x_3891, 1, x_3859); +return x_3891; } } else { -uint8_t x_3869; -lean_dec(x_3740); +uint8_t x_3892; +lean_dec(x_3763); lean_dec(x_11); lean_dec(x_5); -x_3869 = !lean_is_exclusive(x_3747); -if (x_3869 == 0) +x_3892 = !lean_is_exclusive(x_3770); +if (x_3892 == 0) { -return x_3747; +return x_3770; } else { -lean_object* x_3870; lean_object* x_3871; lean_object* x_3872; -x_3870 = lean_ctor_get(x_3747, 0); -x_3871 = lean_ctor_get(x_3747, 1); -lean_inc(x_3871); -lean_inc(x_3870); -lean_dec(x_3747); -x_3872 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3872, 0, x_3870); -lean_ctor_set(x_3872, 1, x_3871); -return x_3872; +lean_object* x_3893; lean_object* x_3894; lean_object* x_3895; +x_3893 = lean_ctor_get(x_3770, 0); +x_3894 = lean_ctor_get(x_3770, 1); +lean_inc(x_3894); +lean_inc(x_3893); +lean_dec(x_3770); +x_3895 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3895, 0, x_3893); +lean_ctor_set(x_3895, 1, x_3894); +return x_3895; } } } else { -lean_object* x_3873; lean_object* x_3874; lean_object* x_3875; uint8_t x_3876; -x_3873 = lean_ctor_get(x_3738, 0); -lean_inc(x_3873); -lean_dec(x_3738); -x_3874 = lean_ctor_get(x_3873, 0); -lean_inc(x_3874); -x_3875 = lean_ctor_get(x_3873, 1); -lean_inc(x_3875); -lean_dec(x_3873); -x_3876 = l_Lean_Syntax_isNone(x_3875); -lean_dec(x_3875); -if (x_3876 == 0) +lean_object* x_3896; lean_object* x_3897; lean_object* x_3898; uint8_t x_3899; +x_3896 = lean_ctor_get(x_3761, 0); +lean_inc(x_3896); +lean_dec(x_3761); +x_3897 = lean_ctor_get(x_3896, 0); +lean_inc(x_3897); +x_3898 = lean_ctor_get(x_3896, 1); +lean_inc(x_3898); +lean_dec(x_3896); +x_3899 = l_Lean_Syntax_isNone(x_3898); +lean_dec(x_3898); +if (x_3899 == 0) { -lean_object* x_3877; lean_object* x_3878; uint8_t x_3879; -lean_dec(x_3874); +lean_object* x_3900; lean_object* x_3901; uint8_t x_3902; +lean_dec(x_3897); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_3877 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_3878 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3877, x_5, x_6); +x_3900 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_3901 = l_Lean_Elab_Term_throwError___rarg(x_11, x_3900, x_5, x_6); lean_dec(x_11); -x_3879 = !lean_is_exclusive(x_3878); -if (x_3879 == 0) +x_3902 = !lean_is_exclusive(x_3901); +if (x_3902 == 0) { -return x_3878; +return x_3901; } else { -lean_object* x_3880; lean_object* x_3881; lean_object* x_3882; -x_3880 = lean_ctor_get(x_3878, 0); -x_3881 = lean_ctor_get(x_3878, 1); -lean_inc(x_3881); -lean_inc(x_3880); -lean_dec(x_3878); -x_3882 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3882, 0, x_3880); -lean_ctor_set(x_3882, 1, x_3881); -return x_3882; +lean_object* x_3903; lean_object* x_3904; lean_object* x_3905; +x_3903 = lean_ctor_get(x_3901, 0); +x_3904 = lean_ctor_get(x_3901, 1); +lean_inc(x_3904); +lean_inc(x_3903); +lean_dec(x_3901); +x_3905 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3905, 0, x_3903); +lean_ctor_set(x_3905, 1, x_3904); +return x_3905; } } else { -lean_object* x_3883; lean_object* x_3884; lean_object* x_3885; lean_object* x_3886; lean_object* x_3887; -x_3883 = l_Lean_mkHole(x_11); +lean_object* x_3906; lean_object* x_3907; lean_object* x_3908; lean_object* x_3909; lean_object* x_3910; +x_3906 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_3884 = lean_unsigned_to_nat(1u); -x_3885 = lean_nat_add(x_3, x_3884); +x_3907 = lean_unsigned_to_nat(1u); +x_3908 = lean_nat_add(x_3, x_3907); lean_dec(x_3); -x_3886 = l_Lean_Elab_Term_mkExplicitBinder(x_3874, x_3883); -x_3887 = lean_array_push(x_4, x_3886); -x_3 = x_3885; -x_4 = x_3887; +x_3909 = l_Lean_Elab_Term_mkExplicitBinder(x_3897, x_3906); +x_3910 = lean_array_push(x_4, x_3909); +x_3 = x_3908; +x_4 = x_3910; goto _start; } } @@ -15432,371 +15478,373 @@ goto _start; } else { -lean_object* x_3889; +uint8_t x_3912; lean_object* x_3913; lean_dec(x_13); lean_dec(x_12); -x_3889 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_3889) == 0) -{ -lean_object* x_3890; lean_object* x_3891; lean_object* x_3892; lean_object* x_3893; lean_object* x_3894; lean_object* x_3895; lean_object* x_3896; lean_object* x_3897; lean_object* x_3898; -x_3890 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_3891 = lean_ctor_get(x_3890, 0); -lean_inc(x_3891); -x_3892 = lean_ctor_get(x_3890, 1); -lean_inc(x_3892); -lean_dec(x_3890); -x_3893 = lean_unsigned_to_nat(1u); -x_3894 = lean_nat_add(x_3, x_3893); -lean_dec(x_3); -x_3895 = l_Lean_mkHole(x_11); -lean_inc(x_3891); -x_3896 = l_Lean_Elab_Term_mkExplicitBinder(x_3891, x_3895); -x_3897 = lean_array_push(x_4, x_3896); -lean_inc(x_5); -x_3898 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3894, x_3897, x_5, x_3892); -if (lean_obj_tag(x_3898) == 0) -{ -lean_object* x_3899; lean_object* x_3900; uint8_t x_3901; -x_3899 = lean_ctor_get(x_3898, 0); -lean_inc(x_3899); -x_3900 = lean_ctor_get(x_3898, 1); -lean_inc(x_3900); -lean_dec(x_3898); -x_3901 = !lean_is_exclusive(x_3899); -if (x_3901 == 0) -{ -lean_object* x_3902; lean_object* x_3903; lean_object* x_3904; lean_object* x_3905; uint8_t x_3906; -x_3902 = lean_ctor_get(x_3899, 1); -x_3903 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3900); -lean_dec(x_5); -x_3904 = lean_ctor_get(x_3903, 1); -lean_inc(x_3904); -lean_dec(x_3903); -x_3905 = l_Lean_Elab_Term_getMainModule___rarg(x_3904); -x_3906 = !lean_is_exclusive(x_3905); -if (x_3906 == 0) -{ -lean_object* x_3907; lean_object* x_3908; lean_object* x_3909; lean_object* x_3910; lean_object* x_3911; lean_object* x_3912; lean_object* x_3913; lean_object* x_3914; lean_object* x_3915; lean_object* x_3916; lean_object* x_3917; lean_object* x_3918; lean_object* x_3919; lean_object* x_3920; lean_object* x_3921; lean_object* x_3922; uint8_t x_3923; -x_3907 = lean_ctor_get(x_3905, 0); -lean_dec(x_3907); -x_3908 = l_Array_empty___closed__1; -x_3909 = lean_array_push(x_3908, x_3891); -x_3910 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3911 = lean_array_push(x_3909, x_3910); -x_3912 = l_Lean_mkTermIdFromIdent___closed__2; -x_3913 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3913, 0, x_3912); -lean_ctor_set(x_3913, 1, x_3911); -x_3914 = lean_array_push(x_3908, x_3913); -x_3915 = l_Lean_nullKind___closed__2; -x_3916 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3916, 0, x_3915); -lean_ctor_set(x_3916, 1, x_3914); -x_3917 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3918 = lean_array_push(x_3917, x_3916); -x_3919 = lean_array_push(x_3918, x_3910); -x_3920 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3921 = lean_array_push(x_3919, x_3920); +x_3912 = 1; lean_inc(x_11); -x_3922 = lean_array_push(x_3908, x_11); -x_3923 = !lean_is_exclusive(x_11); -if (x_3923 == 0) +x_3913 = l_Lean_Syntax_isTermId_x3f(x_11, x_3912); +if (lean_obj_tag(x_3913) == 0) { -lean_object* x_3924; lean_object* x_3925; lean_object* x_3926; lean_object* x_3927; lean_object* x_3928; lean_object* x_3929; lean_object* x_3930; lean_object* x_3931; lean_object* x_3932; lean_object* x_3933; lean_object* x_3934; lean_object* x_3935; lean_object* x_3936; lean_object* x_3937; -x_3924 = lean_ctor_get(x_11, 1); -lean_dec(x_3924); -x_3925 = lean_ctor_get(x_11, 0); -lean_dec(x_3925); -lean_ctor_set(x_11, 1, x_3922); -lean_ctor_set(x_11, 0, x_3915); -x_3926 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3927 = lean_array_push(x_3926, x_11); -x_3928 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3929 = lean_array_push(x_3927, x_3928); -x_3930 = lean_array_push(x_3929, x_3902); -x_3931 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3932 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3932, 0, x_3931); -lean_ctor_set(x_3932, 1, x_3930); -x_3933 = lean_array_push(x_3908, x_3932); -x_3934 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3934, 0, x_3915); -lean_ctor_set(x_3934, 1, x_3933); -x_3935 = lean_array_push(x_3921, x_3934); -x_3936 = l_Lean_Parser_Term_match___elambda__1___closed__2; +lean_object* x_3914; lean_object* x_3915; lean_object* x_3916; lean_object* x_3917; lean_object* x_3918; lean_object* x_3919; lean_object* x_3920; lean_object* x_3921; lean_object* x_3922; +x_3914 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_3915 = lean_ctor_get(x_3914, 0); +lean_inc(x_3915); +x_3916 = lean_ctor_get(x_3914, 1); +lean_inc(x_3916); +lean_dec(x_3914); +x_3917 = lean_unsigned_to_nat(1u); +x_3918 = lean_nat_add(x_3, x_3917); +lean_dec(x_3); +x_3919 = l_Lean_mkHole(x_11); +lean_inc(x_3915); +x_3920 = l_Lean_Elab_Term_mkExplicitBinder(x_3915, x_3919); +x_3921 = lean_array_push(x_4, x_3920); +lean_inc(x_5); +x_3922 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_3918, x_3921, x_5, x_3916); +if (lean_obj_tag(x_3922) == 0) +{ +lean_object* x_3923; lean_object* x_3924; uint8_t x_3925; +x_3923 = lean_ctor_get(x_3922, 0); +lean_inc(x_3923); +x_3924 = lean_ctor_get(x_3922, 1); +lean_inc(x_3924); +lean_dec(x_3922); +x_3925 = !lean_is_exclusive(x_3923); +if (x_3925 == 0) +{ +lean_object* x_3926; lean_object* x_3927; lean_object* x_3928; lean_object* x_3929; uint8_t x_3930; +x_3926 = lean_ctor_get(x_3923, 1); +x_3927 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3924); +lean_dec(x_5); +x_3928 = lean_ctor_get(x_3927, 1); +lean_inc(x_3928); +lean_dec(x_3927); +x_3929 = l_Lean_Elab_Term_getMainModule___rarg(x_3928); +x_3930 = !lean_is_exclusive(x_3929); +if (x_3930 == 0) +{ +lean_object* x_3931; lean_object* x_3932; lean_object* x_3933; lean_object* x_3934; lean_object* x_3935; lean_object* x_3936; lean_object* x_3937; lean_object* x_3938; lean_object* x_3939; lean_object* x_3940; lean_object* x_3941; lean_object* x_3942; lean_object* x_3943; lean_object* x_3944; lean_object* x_3945; lean_object* x_3946; uint8_t x_3947; +x_3931 = lean_ctor_get(x_3929, 0); +lean_dec(x_3931); +x_3932 = l_Array_empty___closed__1; +x_3933 = lean_array_push(x_3932, x_3915); +x_3934 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3935 = lean_array_push(x_3933, x_3934); +x_3936 = l_Lean_mkTermIdFromIdent___closed__2; x_3937 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3937, 0, x_3936); lean_ctor_set(x_3937, 1, x_3935); -lean_ctor_set(x_3899, 1, x_3937); -lean_ctor_set(x_3905, 0, x_3899); -return x_3905; -} -else -{ -lean_object* x_3938; lean_object* x_3939; lean_object* x_3940; lean_object* x_3941; lean_object* x_3942; lean_object* x_3943; lean_object* x_3944; lean_object* x_3945; lean_object* x_3946; lean_object* x_3947; lean_object* x_3948; lean_object* x_3949; lean_object* x_3950; -lean_dec(x_11); -x_3938 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3938, 0, x_3915); -lean_ctor_set(x_3938, 1, x_3922); -x_3939 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3940 = lean_array_push(x_3939, x_3938); -x_3941 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3942 = lean_array_push(x_3940, x_3941); -x_3943 = lean_array_push(x_3942, x_3902); -x_3944 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3945 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3945, 0, x_3944); -lean_ctor_set(x_3945, 1, x_3943); -x_3946 = lean_array_push(x_3908, x_3945); -x_3947 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3947, 0, x_3915); -lean_ctor_set(x_3947, 1, x_3946); -x_3948 = lean_array_push(x_3921, x_3947); -x_3949 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3950 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3950, 0, x_3949); -lean_ctor_set(x_3950, 1, x_3948); -lean_ctor_set(x_3899, 1, x_3950); -lean_ctor_set(x_3905, 0, x_3899); -return x_3905; -} -} -else -{ -lean_object* x_3951; lean_object* x_3952; lean_object* x_3953; lean_object* x_3954; lean_object* x_3955; lean_object* x_3956; lean_object* x_3957; lean_object* x_3958; lean_object* x_3959; lean_object* x_3960; lean_object* x_3961; lean_object* x_3962; lean_object* x_3963; lean_object* x_3964; lean_object* x_3965; lean_object* x_3966; lean_object* x_3967; lean_object* x_3968; lean_object* x_3969; lean_object* x_3970; lean_object* x_3971; lean_object* x_3972; lean_object* x_3973; lean_object* x_3974; lean_object* x_3975; lean_object* x_3976; lean_object* x_3977; lean_object* x_3978; lean_object* x_3979; lean_object* x_3980; lean_object* x_3981; -x_3951 = lean_ctor_get(x_3905, 1); -lean_inc(x_3951); -lean_dec(x_3905); -x_3952 = l_Array_empty___closed__1; -x_3953 = lean_array_push(x_3952, x_3891); -x_3954 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3955 = lean_array_push(x_3953, x_3954); -x_3956 = l_Lean_mkTermIdFromIdent___closed__2; -x_3957 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3957, 0, x_3956); -lean_ctor_set(x_3957, 1, x_3955); -x_3958 = lean_array_push(x_3952, x_3957); -x_3959 = l_Lean_nullKind___closed__2; -x_3960 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3960, 0, x_3959); -lean_ctor_set(x_3960, 1, x_3958); -x_3961 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3962 = lean_array_push(x_3961, x_3960); -x_3963 = lean_array_push(x_3962, x_3954); -x_3964 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_3965 = lean_array_push(x_3963, x_3964); +x_3938 = lean_array_push(x_3932, x_3937); +x_3939 = l_Lean_nullKind___closed__2; +x_3940 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3940, 0, x_3939); +lean_ctor_set(x_3940, 1, x_3938); +x_3941 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3942 = lean_array_push(x_3941, x_3940); +x_3943 = lean_array_push(x_3942, x_3934); +x_3944 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3945 = lean_array_push(x_3943, x_3944); lean_inc(x_11); -x_3966 = lean_array_push(x_3952, x_11); +x_3946 = lean_array_push(x_3932, x_11); +x_3947 = !lean_is_exclusive(x_11); +if (x_3947 == 0) +{ +lean_object* x_3948; lean_object* x_3949; lean_object* x_3950; lean_object* x_3951; lean_object* x_3952; lean_object* x_3953; lean_object* x_3954; lean_object* x_3955; lean_object* x_3956; lean_object* x_3957; lean_object* x_3958; lean_object* x_3959; lean_object* x_3960; lean_object* x_3961; +x_3948 = lean_ctor_get(x_11, 1); +lean_dec(x_3948); +x_3949 = lean_ctor_get(x_11, 0); +lean_dec(x_3949); +lean_ctor_set(x_11, 1, x_3946); +lean_ctor_set(x_11, 0, x_3939); +x_3950 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3951 = lean_array_push(x_3950, x_11); +x_3952 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3953 = lean_array_push(x_3951, x_3952); +x_3954 = lean_array_push(x_3953, x_3926); +x_3955 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3956 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3956, 0, x_3955); +lean_ctor_set(x_3956, 1, x_3954); +x_3957 = lean_array_push(x_3932, x_3956); +x_3958 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3958, 0, x_3939); +lean_ctor_set(x_3958, 1, x_3957); +x_3959 = lean_array_push(x_3945, x_3958); +x_3960 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3961 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3961, 0, x_3960); +lean_ctor_set(x_3961, 1, x_3959); +lean_ctor_set(x_3923, 1, x_3961); +lean_ctor_set(x_3929, 0, x_3923); +return x_3929; +} +else +{ +lean_object* x_3962; lean_object* x_3963; lean_object* x_3964; lean_object* x_3965; lean_object* x_3966; lean_object* x_3967; lean_object* x_3968; lean_object* x_3969; lean_object* x_3970; lean_object* x_3971; lean_object* x_3972; lean_object* x_3973; lean_object* x_3974; +lean_dec(x_11); +x_3962 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3962, 0, x_3939); +lean_ctor_set(x_3962, 1, x_3946); +x_3963 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3964 = lean_array_push(x_3963, x_3962); +x_3965 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3966 = lean_array_push(x_3964, x_3965); +x_3967 = lean_array_push(x_3966, x_3926); +x_3968 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3969 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3969, 0, x_3968); +lean_ctor_set(x_3969, 1, x_3967); +x_3970 = lean_array_push(x_3932, x_3969); +x_3971 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3971, 0, x_3939); +lean_ctor_set(x_3971, 1, x_3970); +x_3972 = lean_array_push(x_3945, x_3971); +x_3973 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_3974 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3974, 0, x_3973); +lean_ctor_set(x_3974, 1, x_3972); +lean_ctor_set(x_3923, 1, x_3974); +lean_ctor_set(x_3929, 0, x_3923); +return x_3929; +} +} +else +{ +lean_object* x_3975; lean_object* x_3976; lean_object* x_3977; lean_object* x_3978; lean_object* x_3979; lean_object* x_3980; lean_object* x_3981; lean_object* x_3982; lean_object* x_3983; lean_object* x_3984; lean_object* x_3985; lean_object* x_3986; lean_object* x_3987; lean_object* x_3988; lean_object* x_3989; lean_object* x_3990; lean_object* x_3991; lean_object* x_3992; lean_object* x_3993; lean_object* x_3994; lean_object* x_3995; lean_object* x_3996; lean_object* x_3997; lean_object* x_3998; lean_object* x_3999; lean_object* x_4000; lean_object* x_4001; lean_object* x_4002; lean_object* x_4003; lean_object* x_4004; lean_object* x_4005; +x_3975 = lean_ctor_get(x_3929, 1); +lean_inc(x_3975); +lean_dec(x_3929); +x_3976 = l_Array_empty___closed__1; +x_3977 = lean_array_push(x_3976, x_3915); +x_3978 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_3979 = lean_array_push(x_3977, x_3978); +x_3980 = l_Lean_mkTermIdFromIdent___closed__2; +x_3981 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3981, 0, x_3980); +lean_ctor_set(x_3981, 1, x_3979); +x_3982 = lean_array_push(x_3976, x_3981); +x_3983 = l_Lean_nullKind___closed__2; +x_3984 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3984, 0, x_3983); +lean_ctor_set(x_3984, 1, x_3982); +x_3985 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_3986 = lean_array_push(x_3985, x_3984); +x_3987 = lean_array_push(x_3986, x_3978); +x_3988 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_3989 = lean_array_push(x_3987, x_3988); +lean_inc(x_11); +x_3990 = lean_array_push(x_3976, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_3967 = x_11; + x_3991 = x_11; } else { lean_dec_ref(x_11); - x_3967 = lean_box(0); + x_3991 = lean_box(0); } -if (lean_is_scalar(x_3967)) { - x_3968 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_3991)) { + x_3992 = lean_alloc_ctor(1, 2, 0); } else { - x_3968 = x_3967; + x_3992 = x_3991; } -lean_ctor_set(x_3968, 0, x_3959); -lean_ctor_set(x_3968, 1, x_3966); -x_3969 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_3970 = lean_array_push(x_3969, x_3968); -x_3971 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_3972 = lean_array_push(x_3970, x_3971); -x_3973 = lean_array_push(x_3972, x_3902); -x_3974 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_3975 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3975, 0, x_3974); -lean_ctor_set(x_3975, 1, x_3973); -x_3976 = lean_array_push(x_3952, x_3975); -x_3977 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3977, 0, x_3959); -lean_ctor_set(x_3977, 1, x_3976); -x_3978 = lean_array_push(x_3965, x_3977); -x_3979 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_3980 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3980, 0, x_3979); -lean_ctor_set(x_3980, 1, x_3978); -lean_ctor_set(x_3899, 1, x_3980); -x_3981 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3981, 0, x_3899); -lean_ctor_set(x_3981, 1, x_3951); -return x_3981; +lean_ctor_set(x_3992, 0, x_3983); +lean_ctor_set(x_3992, 1, x_3990); +x_3993 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_3994 = lean_array_push(x_3993, x_3992); +x_3995 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_3996 = lean_array_push(x_3994, x_3995); +x_3997 = lean_array_push(x_3996, x_3926); +x_3998 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_3999 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3999, 0, x_3998); +lean_ctor_set(x_3999, 1, x_3997); +x_4000 = lean_array_push(x_3976, x_3999); +x_4001 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4001, 0, x_3983); +lean_ctor_set(x_4001, 1, x_4000); +x_4002 = lean_array_push(x_3989, x_4001); +x_4003 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4004 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4004, 0, x_4003); +lean_ctor_set(x_4004, 1, x_4002); +lean_ctor_set(x_3923, 1, x_4004); +x_4005 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4005, 0, x_3923); +lean_ctor_set(x_4005, 1, x_3975); +return x_4005; } } else { -lean_object* x_3982; lean_object* x_3983; lean_object* x_3984; lean_object* x_3985; lean_object* x_3986; lean_object* x_3987; lean_object* x_3988; lean_object* x_3989; lean_object* x_3990; lean_object* x_3991; lean_object* x_3992; lean_object* x_3993; lean_object* x_3994; lean_object* x_3995; lean_object* x_3996; lean_object* x_3997; lean_object* x_3998; lean_object* x_3999; lean_object* x_4000; lean_object* x_4001; lean_object* x_4002; lean_object* x_4003; lean_object* x_4004; lean_object* x_4005; lean_object* x_4006; lean_object* x_4007; lean_object* x_4008; lean_object* x_4009; lean_object* x_4010; lean_object* x_4011; lean_object* x_4012; lean_object* x_4013; lean_object* x_4014; lean_object* x_4015; lean_object* x_4016; lean_object* x_4017; lean_object* x_4018; lean_object* x_4019; -x_3982 = lean_ctor_get(x_3899, 0); -x_3983 = lean_ctor_get(x_3899, 1); -lean_inc(x_3983); -lean_inc(x_3982); -lean_dec(x_3899); -x_3984 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3900); +lean_object* x_4006; lean_object* x_4007; lean_object* x_4008; lean_object* x_4009; lean_object* x_4010; lean_object* x_4011; lean_object* x_4012; lean_object* x_4013; lean_object* x_4014; lean_object* x_4015; lean_object* x_4016; lean_object* x_4017; lean_object* x_4018; lean_object* x_4019; lean_object* x_4020; lean_object* x_4021; lean_object* x_4022; lean_object* x_4023; lean_object* x_4024; lean_object* x_4025; lean_object* x_4026; lean_object* x_4027; lean_object* x_4028; lean_object* x_4029; lean_object* x_4030; lean_object* x_4031; lean_object* x_4032; lean_object* x_4033; lean_object* x_4034; lean_object* x_4035; lean_object* x_4036; lean_object* x_4037; lean_object* x_4038; lean_object* x_4039; lean_object* x_4040; lean_object* x_4041; lean_object* x_4042; lean_object* x_4043; +x_4006 = lean_ctor_get(x_3923, 0); +x_4007 = lean_ctor_get(x_3923, 1); +lean_inc(x_4007); +lean_inc(x_4006); +lean_dec(x_3923); +x_4008 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_3924); lean_dec(x_5); -x_3985 = lean_ctor_get(x_3984, 1); -lean_inc(x_3985); -lean_dec(x_3984); -x_3986 = l_Lean_Elab_Term_getMainModule___rarg(x_3985); -x_3987 = lean_ctor_get(x_3986, 1); -lean_inc(x_3987); -if (lean_is_exclusive(x_3986)) { - lean_ctor_release(x_3986, 0); - lean_ctor_release(x_3986, 1); - x_3988 = x_3986; +x_4009 = lean_ctor_get(x_4008, 1); +lean_inc(x_4009); +lean_dec(x_4008); +x_4010 = l_Lean_Elab_Term_getMainModule___rarg(x_4009); +x_4011 = lean_ctor_get(x_4010, 1); +lean_inc(x_4011); +if (lean_is_exclusive(x_4010)) { + lean_ctor_release(x_4010, 0); + lean_ctor_release(x_4010, 1); + x_4012 = x_4010; } else { - lean_dec_ref(x_3986); - x_3988 = lean_box(0); + lean_dec_ref(x_4010); + x_4012 = lean_box(0); } -x_3989 = l_Array_empty___closed__1; -x_3990 = lean_array_push(x_3989, x_3891); -x_3991 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_3992 = lean_array_push(x_3990, x_3991); -x_3993 = l_Lean_mkTermIdFromIdent___closed__2; -x_3994 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3994, 0, x_3993); -lean_ctor_set(x_3994, 1, x_3992); -x_3995 = lean_array_push(x_3989, x_3994); -x_3996 = l_Lean_nullKind___closed__2; -x_3997 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3997, 0, x_3996); -lean_ctor_set(x_3997, 1, x_3995); -x_3998 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_3999 = lean_array_push(x_3998, x_3997); -x_4000 = lean_array_push(x_3999, x_3991); -x_4001 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_4002 = lean_array_push(x_4000, x_4001); +x_4013 = l_Array_empty___closed__1; +x_4014 = lean_array_push(x_4013, x_3915); +x_4015 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4016 = lean_array_push(x_4014, x_4015); +x_4017 = l_Lean_mkTermIdFromIdent___closed__2; +x_4018 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4018, 0, x_4017); +lean_ctor_set(x_4018, 1, x_4016); +x_4019 = lean_array_push(x_4013, x_4018); +x_4020 = l_Lean_nullKind___closed__2; +x_4021 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4021, 0, x_4020); +lean_ctor_set(x_4021, 1, x_4019); +x_4022 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4023 = lean_array_push(x_4022, x_4021); +x_4024 = lean_array_push(x_4023, x_4015); +x_4025 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4026 = lean_array_push(x_4024, x_4025); lean_inc(x_11); -x_4003 = lean_array_push(x_3989, x_11); +x_4027 = lean_array_push(x_4013, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_4004 = x_11; + x_4028 = x_11; } else { lean_dec_ref(x_11); - x_4004 = lean_box(0); + x_4028 = lean_box(0); } -if (lean_is_scalar(x_4004)) { - x_4005 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_4028)) { + x_4029 = lean_alloc_ctor(1, 2, 0); } else { - x_4005 = x_4004; + x_4029 = x_4028; } -lean_ctor_set(x_4005, 0, x_3996); -lean_ctor_set(x_4005, 1, x_4003); -x_4006 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4007 = lean_array_push(x_4006, x_4005); -x_4008 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4009 = lean_array_push(x_4007, x_4008); -x_4010 = lean_array_push(x_4009, x_3983); -x_4011 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_4012 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4012, 0, x_4011); -lean_ctor_set(x_4012, 1, x_4010); -x_4013 = lean_array_push(x_3989, x_4012); -x_4014 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4014, 0, x_3996); -lean_ctor_set(x_4014, 1, x_4013); -x_4015 = lean_array_push(x_4002, x_4014); -x_4016 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4017 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4017, 0, x_4016); -lean_ctor_set(x_4017, 1, x_4015); -x_4018 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4018, 0, x_3982); -lean_ctor_set(x_4018, 1, x_4017); -if (lean_is_scalar(x_3988)) { - x_4019 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4029, 0, x_4020); +lean_ctor_set(x_4029, 1, x_4027); +x_4030 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4031 = lean_array_push(x_4030, x_4029); +x_4032 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4033 = lean_array_push(x_4031, x_4032); +x_4034 = lean_array_push(x_4033, x_4007); +x_4035 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4036 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4036, 0, x_4035); +lean_ctor_set(x_4036, 1, x_4034); +x_4037 = lean_array_push(x_4013, x_4036); +x_4038 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4038, 0, x_4020); +lean_ctor_set(x_4038, 1, x_4037); +x_4039 = lean_array_push(x_4026, x_4038); +x_4040 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4041 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4041, 0, x_4040); +lean_ctor_set(x_4041, 1, x_4039); +x_4042 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4042, 0, x_4006); +lean_ctor_set(x_4042, 1, x_4041); +if (lean_is_scalar(x_4012)) { + x_4043 = lean_alloc_ctor(0, 2, 0); } else { - x_4019 = x_3988; + x_4043 = x_4012; } -lean_ctor_set(x_4019, 0, x_4018); -lean_ctor_set(x_4019, 1, x_3987); -return x_4019; +lean_ctor_set(x_4043, 0, x_4042); +lean_ctor_set(x_4043, 1, x_4011); +return x_4043; } } else { -uint8_t x_4020; -lean_dec(x_3891); +uint8_t x_4044; +lean_dec(x_3915); lean_dec(x_11); lean_dec(x_5); -x_4020 = !lean_is_exclusive(x_3898); -if (x_4020 == 0) +x_4044 = !lean_is_exclusive(x_3922); +if (x_4044 == 0) { -return x_3898; +return x_3922; } else { -lean_object* x_4021; lean_object* x_4022; lean_object* x_4023; -x_4021 = lean_ctor_get(x_3898, 0); -x_4022 = lean_ctor_get(x_3898, 1); -lean_inc(x_4022); -lean_inc(x_4021); -lean_dec(x_3898); -x_4023 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4023, 0, x_4021); -lean_ctor_set(x_4023, 1, x_4022); -return x_4023; +lean_object* x_4045; lean_object* x_4046; lean_object* x_4047; +x_4045 = lean_ctor_get(x_3922, 0); +x_4046 = lean_ctor_get(x_3922, 1); +lean_inc(x_4046); +lean_inc(x_4045); +lean_dec(x_3922); +x_4047 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4047, 0, x_4045); +lean_ctor_set(x_4047, 1, x_4046); +return x_4047; } } } else { -lean_object* x_4024; lean_object* x_4025; lean_object* x_4026; uint8_t x_4027; -x_4024 = lean_ctor_get(x_3889, 0); -lean_inc(x_4024); -lean_dec(x_3889); -x_4025 = lean_ctor_get(x_4024, 0); -lean_inc(x_4025); -x_4026 = lean_ctor_get(x_4024, 1); -lean_inc(x_4026); -lean_dec(x_4024); -x_4027 = l_Lean_Syntax_isNone(x_4026); -lean_dec(x_4026); -if (x_4027 == 0) +lean_object* x_4048; lean_object* x_4049; lean_object* x_4050; uint8_t x_4051; +x_4048 = lean_ctor_get(x_3913, 0); +lean_inc(x_4048); +lean_dec(x_3913); +x_4049 = lean_ctor_get(x_4048, 0); +lean_inc(x_4049); +x_4050 = lean_ctor_get(x_4048, 1); +lean_inc(x_4050); +lean_dec(x_4048); +x_4051 = l_Lean_Syntax_isNone(x_4050); +lean_dec(x_4050); +if (x_4051 == 0) { -lean_object* x_4028; lean_object* x_4029; uint8_t x_4030; -lean_dec(x_4025); +lean_object* x_4052; lean_object* x_4053; uint8_t x_4054; +lean_dec(x_4049); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_4028 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_4029 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4028, x_5, x_6); +x_4052 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_4053 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4052, x_5, x_6); lean_dec(x_11); -x_4030 = !lean_is_exclusive(x_4029); -if (x_4030 == 0) +x_4054 = !lean_is_exclusive(x_4053); +if (x_4054 == 0) { -return x_4029; +return x_4053; } else { -lean_object* x_4031; lean_object* x_4032; lean_object* x_4033; -x_4031 = lean_ctor_get(x_4029, 0); -x_4032 = lean_ctor_get(x_4029, 1); -lean_inc(x_4032); -lean_inc(x_4031); -lean_dec(x_4029); -x_4033 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4033, 0, x_4031); -lean_ctor_set(x_4033, 1, x_4032); -return x_4033; +lean_object* x_4055; lean_object* x_4056; lean_object* x_4057; +x_4055 = lean_ctor_get(x_4053, 0); +x_4056 = lean_ctor_get(x_4053, 1); +lean_inc(x_4056); +lean_inc(x_4055); +lean_dec(x_4053); +x_4057 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4057, 0, x_4055); +lean_ctor_set(x_4057, 1, x_4056); +return x_4057; } } else { -lean_object* x_4034; lean_object* x_4035; lean_object* x_4036; lean_object* x_4037; lean_object* x_4038; -x_4034 = l_Lean_mkHole(x_11); +lean_object* x_4058; lean_object* x_4059; lean_object* x_4060; lean_object* x_4061; lean_object* x_4062; +x_4058 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_4035 = lean_unsigned_to_nat(1u); -x_4036 = lean_nat_add(x_3, x_4035); +x_4059 = lean_unsigned_to_nat(1u); +x_4060 = lean_nat_add(x_3, x_4059); lean_dec(x_3); -x_4037 = l_Lean_Elab_Term_mkExplicitBinder(x_4025, x_4034); -x_4038 = lean_array_push(x_4, x_4037); -x_3 = x_4036; -x_4 = x_4038; +x_4061 = l_Lean_Elab_Term_mkExplicitBinder(x_4049, x_4058); +x_4062 = lean_array_push(x_4, x_4061); +x_3 = x_4060; +x_4 = x_4062; goto _start; } } @@ -15804,370 +15852,372 @@ goto _start; } else { -lean_object* x_4040; +uint8_t x_4064; lean_object* x_4065; lean_dec(x_12); -x_4040 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_4040) == 0) -{ -lean_object* x_4041; lean_object* x_4042; lean_object* x_4043; lean_object* x_4044; lean_object* x_4045; lean_object* x_4046; lean_object* x_4047; lean_object* x_4048; lean_object* x_4049; -x_4041 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_4042 = lean_ctor_get(x_4041, 0); -lean_inc(x_4042); -x_4043 = lean_ctor_get(x_4041, 1); -lean_inc(x_4043); -lean_dec(x_4041); -x_4044 = lean_unsigned_to_nat(1u); -x_4045 = lean_nat_add(x_3, x_4044); -lean_dec(x_3); -x_4046 = l_Lean_mkHole(x_11); -lean_inc(x_4042); -x_4047 = l_Lean_Elab_Term_mkExplicitBinder(x_4042, x_4046); -x_4048 = lean_array_push(x_4, x_4047); -lean_inc(x_5); -x_4049 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_4045, x_4048, x_5, x_4043); -if (lean_obj_tag(x_4049) == 0) -{ -lean_object* x_4050; lean_object* x_4051; uint8_t x_4052; -x_4050 = lean_ctor_get(x_4049, 0); -lean_inc(x_4050); -x_4051 = lean_ctor_get(x_4049, 1); -lean_inc(x_4051); -lean_dec(x_4049); -x_4052 = !lean_is_exclusive(x_4050); -if (x_4052 == 0) -{ -lean_object* x_4053; lean_object* x_4054; lean_object* x_4055; lean_object* x_4056; uint8_t x_4057; -x_4053 = lean_ctor_get(x_4050, 1); -x_4054 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4051); -lean_dec(x_5); -x_4055 = lean_ctor_get(x_4054, 1); -lean_inc(x_4055); -lean_dec(x_4054); -x_4056 = l_Lean_Elab_Term_getMainModule___rarg(x_4055); -x_4057 = !lean_is_exclusive(x_4056); -if (x_4057 == 0) -{ -lean_object* x_4058; lean_object* x_4059; lean_object* x_4060; lean_object* x_4061; lean_object* x_4062; lean_object* x_4063; lean_object* x_4064; lean_object* x_4065; lean_object* x_4066; lean_object* x_4067; lean_object* x_4068; lean_object* x_4069; lean_object* x_4070; lean_object* x_4071; lean_object* x_4072; lean_object* x_4073; uint8_t x_4074; -x_4058 = lean_ctor_get(x_4056, 0); -lean_dec(x_4058); -x_4059 = l_Array_empty___closed__1; -x_4060 = lean_array_push(x_4059, x_4042); -x_4061 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_4062 = lean_array_push(x_4060, x_4061); -x_4063 = l_Lean_mkTermIdFromIdent___closed__2; -x_4064 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4064, 0, x_4063); -lean_ctor_set(x_4064, 1, x_4062); -x_4065 = lean_array_push(x_4059, x_4064); -x_4066 = l_Lean_nullKind___closed__2; -x_4067 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4067, 0, x_4066); -lean_ctor_set(x_4067, 1, x_4065); -x_4068 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_4069 = lean_array_push(x_4068, x_4067); -x_4070 = lean_array_push(x_4069, x_4061); -x_4071 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_4072 = lean_array_push(x_4070, x_4071); +x_4064 = 1; lean_inc(x_11); -x_4073 = lean_array_push(x_4059, x_11); -x_4074 = !lean_is_exclusive(x_11); -if (x_4074 == 0) +x_4065 = l_Lean_Syntax_isTermId_x3f(x_11, x_4064); +if (lean_obj_tag(x_4065) == 0) { -lean_object* x_4075; lean_object* x_4076; lean_object* x_4077; lean_object* x_4078; lean_object* x_4079; lean_object* x_4080; lean_object* x_4081; lean_object* x_4082; lean_object* x_4083; lean_object* x_4084; lean_object* x_4085; lean_object* x_4086; lean_object* x_4087; lean_object* x_4088; -x_4075 = lean_ctor_get(x_11, 1); -lean_dec(x_4075); -x_4076 = lean_ctor_get(x_11, 0); -lean_dec(x_4076); -lean_ctor_set(x_11, 1, x_4073); -lean_ctor_set(x_11, 0, x_4066); -x_4077 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4078 = lean_array_push(x_4077, x_11); -x_4079 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4080 = lean_array_push(x_4078, x_4079); -x_4081 = lean_array_push(x_4080, x_4053); -x_4082 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_4083 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4083, 0, x_4082); -lean_ctor_set(x_4083, 1, x_4081); -x_4084 = lean_array_push(x_4059, x_4083); -x_4085 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4085, 0, x_4066); -lean_ctor_set(x_4085, 1, x_4084); -x_4086 = lean_array_push(x_4072, x_4085); -x_4087 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4088 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4088, 0, x_4087); -lean_ctor_set(x_4088, 1, x_4086); -lean_ctor_set(x_4050, 1, x_4088); -lean_ctor_set(x_4056, 0, x_4050); -return x_4056; -} -else +lean_object* x_4066; lean_object* x_4067; lean_object* x_4068; lean_object* x_4069; lean_object* x_4070; lean_object* x_4071; lean_object* x_4072; lean_object* x_4073; lean_object* x_4074; +x_4066 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_4067 = lean_ctor_get(x_4066, 0); +lean_inc(x_4067); +x_4068 = lean_ctor_get(x_4066, 1); +lean_inc(x_4068); +lean_dec(x_4066); +x_4069 = lean_unsigned_to_nat(1u); +x_4070 = lean_nat_add(x_3, x_4069); +lean_dec(x_3); +x_4071 = l_Lean_mkHole(x_11); +lean_inc(x_4067); +x_4072 = l_Lean_Elab_Term_mkExplicitBinder(x_4067, x_4071); +x_4073 = lean_array_push(x_4, x_4072); +lean_inc(x_5); +x_4074 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_4070, x_4073, x_5, x_4068); +if (lean_obj_tag(x_4074) == 0) { -lean_object* x_4089; lean_object* x_4090; lean_object* x_4091; lean_object* x_4092; lean_object* x_4093; lean_object* x_4094; lean_object* x_4095; lean_object* x_4096; lean_object* x_4097; lean_object* x_4098; lean_object* x_4099; lean_object* x_4100; lean_object* x_4101; -lean_dec(x_11); +lean_object* x_4075; lean_object* x_4076; uint8_t x_4077; +x_4075 = lean_ctor_get(x_4074, 0); +lean_inc(x_4075); +x_4076 = lean_ctor_get(x_4074, 1); +lean_inc(x_4076); +lean_dec(x_4074); +x_4077 = !lean_is_exclusive(x_4075); +if (x_4077 == 0) +{ +lean_object* x_4078; lean_object* x_4079; lean_object* x_4080; lean_object* x_4081; uint8_t x_4082; +x_4078 = lean_ctor_get(x_4075, 1); +x_4079 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4076); +lean_dec(x_5); +x_4080 = lean_ctor_get(x_4079, 1); +lean_inc(x_4080); +lean_dec(x_4079); +x_4081 = l_Lean_Elab_Term_getMainModule___rarg(x_4080); +x_4082 = !lean_is_exclusive(x_4081); +if (x_4082 == 0) +{ +lean_object* x_4083; lean_object* x_4084; lean_object* x_4085; lean_object* x_4086; lean_object* x_4087; lean_object* x_4088; lean_object* x_4089; lean_object* x_4090; lean_object* x_4091; lean_object* x_4092; lean_object* x_4093; lean_object* x_4094; lean_object* x_4095; lean_object* x_4096; lean_object* x_4097; lean_object* x_4098; uint8_t x_4099; +x_4083 = lean_ctor_get(x_4081, 0); +lean_dec(x_4083); +x_4084 = l_Array_empty___closed__1; +x_4085 = lean_array_push(x_4084, x_4067); +x_4086 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4087 = lean_array_push(x_4085, x_4086); +x_4088 = l_Lean_mkTermIdFromIdent___closed__2; x_4089 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4089, 0, x_4066); -lean_ctor_set(x_4089, 1, x_4073); -x_4090 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4091 = lean_array_push(x_4090, x_4089); -x_4092 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4093 = lean_array_push(x_4091, x_4092); -x_4094 = lean_array_push(x_4093, x_4053); -x_4095 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_4096 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4096, 0, x_4095); -lean_ctor_set(x_4096, 1, x_4094); -x_4097 = lean_array_push(x_4059, x_4096); -x_4098 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4098, 0, x_4066); -lean_ctor_set(x_4098, 1, x_4097); -x_4099 = lean_array_push(x_4072, x_4098); -x_4100 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4101, 0, x_4100); -lean_ctor_set(x_4101, 1, x_4099); -lean_ctor_set(x_4050, 1, x_4101); -lean_ctor_set(x_4056, 0, x_4050); -return x_4056; -} -} -else +lean_ctor_set(x_4089, 0, x_4088); +lean_ctor_set(x_4089, 1, x_4087); +x_4090 = lean_array_push(x_4084, x_4089); +x_4091 = l_Lean_nullKind___closed__2; +x_4092 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4092, 0, x_4091); +lean_ctor_set(x_4092, 1, x_4090); +x_4093 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4094 = lean_array_push(x_4093, x_4092); +x_4095 = lean_array_push(x_4094, x_4086); +x_4096 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4097 = lean_array_push(x_4095, x_4096); +lean_inc(x_11); +x_4098 = lean_array_push(x_4084, x_11); +x_4099 = !lean_is_exclusive(x_11); +if (x_4099 == 0) { -lean_object* x_4102; lean_object* x_4103; lean_object* x_4104; lean_object* x_4105; lean_object* x_4106; lean_object* x_4107; lean_object* x_4108; lean_object* x_4109; lean_object* x_4110; lean_object* x_4111; lean_object* x_4112; lean_object* x_4113; lean_object* x_4114; lean_object* x_4115; lean_object* x_4116; lean_object* x_4117; lean_object* x_4118; lean_object* x_4119; lean_object* x_4120; lean_object* x_4121; lean_object* x_4122; lean_object* x_4123; lean_object* x_4124; lean_object* x_4125; lean_object* x_4126; lean_object* x_4127; lean_object* x_4128; lean_object* x_4129; lean_object* x_4130; lean_object* x_4131; lean_object* x_4132; -x_4102 = lean_ctor_get(x_4056, 1); -lean_inc(x_4102); -lean_dec(x_4056); -x_4103 = l_Array_empty___closed__1; -x_4104 = lean_array_push(x_4103, x_4042); -x_4105 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_4106 = lean_array_push(x_4104, x_4105); -x_4107 = l_Lean_mkTermIdFromIdent___closed__2; +lean_object* x_4100; lean_object* x_4101; lean_object* x_4102; lean_object* x_4103; lean_object* x_4104; lean_object* x_4105; lean_object* x_4106; lean_object* x_4107; lean_object* x_4108; lean_object* x_4109; lean_object* x_4110; lean_object* x_4111; lean_object* x_4112; lean_object* x_4113; +x_4100 = lean_ctor_get(x_11, 1); +lean_dec(x_4100); +x_4101 = lean_ctor_get(x_11, 0); +lean_dec(x_4101); +lean_ctor_set(x_11, 1, x_4098); +lean_ctor_set(x_11, 0, x_4091); +x_4102 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4103 = lean_array_push(x_4102, x_11); +x_4104 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4105 = lean_array_push(x_4103, x_4104); +x_4106 = lean_array_push(x_4105, x_4078); +x_4107 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; x_4108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_4108, 0, x_4107); lean_ctor_set(x_4108, 1, x_4106); -x_4109 = lean_array_push(x_4103, x_4108); -x_4110 = l_Lean_nullKind___closed__2; -x_4111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4111, 0, x_4110); -lean_ctor_set(x_4111, 1, x_4109); -x_4112 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_4113 = lean_array_push(x_4112, x_4111); -x_4114 = lean_array_push(x_4113, x_4105); -x_4115 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_4116 = lean_array_push(x_4114, x_4115); -lean_inc(x_11); -x_4117 = lean_array_push(x_4103, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_4118 = x_11; -} else { - lean_dec_ref(x_11); - x_4118 = lean_box(0); +x_4109 = lean_array_push(x_4084, x_4108); +x_4110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4110, 0, x_4091); +lean_ctor_set(x_4110, 1, x_4109); +x_4111 = lean_array_push(x_4097, x_4110); +x_4112 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4113, 0, x_4112); +lean_ctor_set(x_4113, 1, x_4111); +lean_ctor_set(x_4075, 1, x_4113); +lean_ctor_set(x_4081, 0, x_4075); +return x_4081; } -if (lean_is_scalar(x_4118)) { - x_4119 = lean_alloc_ctor(1, 2, 0); -} else { - x_4119 = x_4118; -} -lean_ctor_set(x_4119, 0, x_4110); -lean_ctor_set(x_4119, 1, x_4117); -x_4120 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4121 = lean_array_push(x_4120, x_4119); -x_4122 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4123 = lean_array_push(x_4121, x_4122); -x_4124 = lean_array_push(x_4123, x_4053); -x_4125 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +else +{ +lean_object* x_4114; lean_object* x_4115; lean_object* x_4116; lean_object* x_4117; lean_object* x_4118; lean_object* x_4119; lean_object* x_4120; lean_object* x_4121; lean_object* x_4122; lean_object* x_4123; lean_object* x_4124; lean_object* x_4125; lean_object* x_4126; +lean_dec(x_11); +x_4114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4114, 0, x_4091); +lean_ctor_set(x_4114, 1, x_4098); +x_4115 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4116 = lean_array_push(x_4115, x_4114); +x_4117 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4118 = lean_array_push(x_4116, x_4117); +x_4119 = lean_array_push(x_4118, x_4078); +x_4120 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4121, 0, x_4120); +lean_ctor_set(x_4121, 1, x_4119); +x_4122 = lean_array_push(x_4084, x_4121); +x_4123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4123, 0, x_4091); +lean_ctor_set(x_4123, 1, x_4122); +x_4124 = lean_array_push(x_4097, x_4123); +x_4125 = l_Lean_Parser_Term_match___elambda__1___closed__2; x_4126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_4126, 0, x_4125); lean_ctor_set(x_4126, 1, x_4124); -x_4127 = lean_array_push(x_4103, x_4126); -x_4128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4128, 0, x_4110); -lean_ctor_set(x_4128, 1, x_4127); -x_4129 = lean_array_push(x_4116, x_4128); -x_4130 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4131, 0, x_4130); -lean_ctor_set(x_4131, 1, x_4129); -lean_ctor_set(x_4050, 1, x_4131); -x_4132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4132, 0, x_4050); -lean_ctor_set(x_4132, 1, x_4102); -return x_4132; +lean_ctor_set(x_4075, 1, x_4126); +lean_ctor_set(x_4081, 0, x_4075); +return x_4081; } } else { -lean_object* x_4133; lean_object* x_4134; lean_object* x_4135; lean_object* x_4136; lean_object* x_4137; lean_object* x_4138; lean_object* x_4139; lean_object* x_4140; lean_object* x_4141; lean_object* x_4142; lean_object* x_4143; lean_object* x_4144; lean_object* x_4145; lean_object* x_4146; lean_object* x_4147; lean_object* x_4148; lean_object* x_4149; lean_object* x_4150; lean_object* x_4151; lean_object* x_4152; lean_object* x_4153; lean_object* x_4154; lean_object* x_4155; lean_object* x_4156; lean_object* x_4157; lean_object* x_4158; lean_object* x_4159; lean_object* x_4160; lean_object* x_4161; lean_object* x_4162; lean_object* x_4163; lean_object* x_4164; lean_object* x_4165; lean_object* x_4166; lean_object* x_4167; lean_object* x_4168; lean_object* x_4169; lean_object* x_4170; -x_4133 = lean_ctor_get(x_4050, 0); -x_4134 = lean_ctor_get(x_4050, 1); -lean_inc(x_4134); -lean_inc(x_4133); -lean_dec(x_4050); -x_4135 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4051); -lean_dec(x_5); -x_4136 = lean_ctor_get(x_4135, 1); -lean_inc(x_4136); -lean_dec(x_4135); -x_4137 = l_Lean_Elab_Term_getMainModule___rarg(x_4136); -x_4138 = lean_ctor_get(x_4137, 1); -lean_inc(x_4138); -if (lean_is_exclusive(x_4137)) { - lean_ctor_release(x_4137, 0); - lean_ctor_release(x_4137, 1); - x_4139 = x_4137; -} else { - lean_dec_ref(x_4137); - x_4139 = lean_box(0); -} -x_4140 = l_Array_empty___closed__1; -x_4141 = lean_array_push(x_4140, x_4042); -x_4142 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_4143 = lean_array_push(x_4141, x_4142); -x_4144 = l_Lean_mkTermIdFromIdent___closed__2; -x_4145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4145, 0, x_4144); -lean_ctor_set(x_4145, 1, x_4143); -x_4146 = lean_array_push(x_4140, x_4145); -x_4147 = l_Lean_nullKind___closed__2; -x_4148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4148, 0, x_4147); -lean_ctor_set(x_4148, 1, x_4146); -x_4149 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_4150 = lean_array_push(x_4149, x_4148); -x_4151 = lean_array_push(x_4150, x_4142); -x_4152 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_4153 = lean_array_push(x_4151, x_4152); +lean_object* x_4127; lean_object* x_4128; lean_object* x_4129; lean_object* x_4130; lean_object* x_4131; lean_object* x_4132; lean_object* x_4133; lean_object* x_4134; lean_object* x_4135; lean_object* x_4136; lean_object* x_4137; lean_object* x_4138; lean_object* x_4139; lean_object* x_4140; lean_object* x_4141; lean_object* x_4142; lean_object* x_4143; lean_object* x_4144; lean_object* x_4145; lean_object* x_4146; lean_object* x_4147; lean_object* x_4148; lean_object* x_4149; lean_object* x_4150; lean_object* x_4151; lean_object* x_4152; lean_object* x_4153; lean_object* x_4154; lean_object* x_4155; lean_object* x_4156; lean_object* x_4157; +x_4127 = lean_ctor_get(x_4081, 1); +lean_inc(x_4127); +lean_dec(x_4081); +x_4128 = l_Array_empty___closed__1; +x_4129 = lean_array_push(x_4128, x_4067); +x_4130 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4131 = lean_array_push(x_4129, x_4130); +x_4132 = l_Lean_mkTermIdFromIdent___closed__2; +x_4133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4133, 0, x_4132); +lean_ctor_set(x_4133, 1, x_4131); +x_4134 = lean_array_push(x_4128, x_4133); +x_4135 = l_Lean_nullKind___closed__2; +x_4136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4136, 0, x_4135); +lean_ctor_set(x_4136, 1, x_4134); +x_4137 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4138 = lean_array_push(x_4137, x_4136); +x_4139 = lean_array_push(x_4138, x_4130); +x_4140 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4141 = lean_array_push(x_4139, x_4140); lean_inc(x_11); -x_4154 = lean_array_push(x_4140, x_11); +x_4142 = lean_array_push(x_4128, x_11); if (lean_is_exclusive(x_11)) { lean_ctor_release(x_11, 0); lean_ctor_release(x_11, 1); - x_4155 = x_11; + x_4143 = x_11; } else { lean_dec_ref(x_11); - x_4155 = lean_box(0); + x_4143 = lean_box(0); } -if (lean_is_scalar(x_4155)) { - x_4156 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_4143)) { + x_4144 = lean_alloc_ctor(1, 2, 0); } else { - x_4156 = x_4155; + x_4144 = x_4143; } -lean_ctor_set(x_4156, 0, x_4147); +lean_ctor_set(x_4144, 0, x_4135); +lean_ctor_set(x_4144, 1, x_4142); +x_4145 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4146 = lean_array_push(x_4145, x_4144); +x_4147 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4148 = lean_array_push(x_4146, x_4147); +x_4149 = lean_array_push(x_4148, x_4078); +x_4150 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4151 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4151, 0, x_4150); +lean_ctor_set(x_4151, 1, x_4149); +x_4152 = lean_array_push(x_4128, x_4151); +x_4153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4153, 0, x_4135); +lean_ctor_set(x_4153, 1, x_4152); +x_4154 = lean_array_push(x_4141, x_4153); +x_4155 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4156, 0, x_4155); lean_ctor_set(x_4156, 1, x_4154); -x_4157 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4158 = lean_array_push(x_4157, x_4156); -x_4159 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4160 = lean_array_push(x_4158, x_4159); -x_4161 = lean_array_push(x_4160, x_4134); -x_4162 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_4163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4163, 0, x_4162); -lean_ctor_set(x_4163, 1, x_4161); -x_4164 = lean_array_push(x_4140, x_4163); -x_4165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4165, 0, x_4147); -lean_ctor_set(x_4165, 1, x_4164); -x_4166 = lean_array_push(x_4153, x_4165); -x_4167 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4168, 0, x_4167); -lean_ctor_set(x_4168, 1, x_4166); -x_4169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4169, 0, x_4133); -lean_ctor_set(x_4169, 1, x_4168); -if (lean_is_scalar(x_4139)) { - x_4170 = lean_alloc_ctor(0, 2, 0); -} else { - x_4170 = x_4139; -} -lean_ctor_set(x_4170, 0, x_4169); -lean_ctor_set(x_4170, 1, x_4138); -return x_4170; +lean_ctor_set(x_4075, 1, x_4156); +x_4157 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4157, 0, x_4075); +lean_ctor_set(x_4157, 1, x_4127); +return x_4157; } } else { -uint8_t x_4171; -lean_dec(x_4042); +lean_object* x_4158; lean_object* x_4159; lean_object* x_4160; lean_object* x_4161; lean_object* x_4162; lean_object* x_4163; lean_object* x_4164; lean_object* x_4165; lean_object* x_4166; lean_object* x_4167; lean_object* x_4168; lean_object* x_4169; lean_object* x_4170; lean_object* x_4171; lean_object* x_4172; lean_object* x_4173; lean_object* x_4174; lean_object* x_4175; lean_object* x_4176; lean_object* x_4177; lean_object* x_4178; lean_object* x_4179; lean_object* x_4180; lean_object* x_4181; lean_object* x_4182; lean_object* x_4183; lean_object* x_4184; lean_object* x_4185; lean_object* x_4186; lean_object* x_4187; lean_object* x_4188; lean_object* x_4189; lean_object* x_4190; lean_object* x_4191; lean_object* x_4192; lean_object* x_4193; lean_object* x_4194; lean_object* x_4195; +x_4158 = lean_ctor_get(x_4075, 0); +x_4159 = lean_ctor_get(x_4075, 1); +lean_inc(x_4159); +lean_inc(x_4158); +lean_dec(x_4075); +x_4160 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4076); +lean_dec(x_5); +x_4161 = lean_ctor_get(x_4160, 1); +lean_inc(x_4161); +lean_dec(x_4160); +x_4162 = l_Lean_Elab_Term_getMainModule___rarg(x_4161); +x_4163 = lean_ctor_get(x_4162, 1); +lean_inc(x_4163); +if (lean_is_exclusive(x_4162)) { + lean_ctor_release(x_4162, 0); + lean_ctor_release(x_4162, 1); + x_4164 = x_4162; +} else { + lean_dec_ref(x_4162); + x_4164 = lean_box(0); +} +x_4165 = l_Array_empty___closed__1; +x_4166 = lean_array_push(x_4165, x_4067); +x_4167 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4168 = lean_array_push(x_4166, x_4167); +x_4169 = l_Lean_mkTermIdFromIdent___closed__2; +x_4170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4170, 0, x_4169); +lean_ctor_set(x_4170, 1, x_4168); +x_4171 = lean_array_push(x_4165, x_4170); +x_4172 = l_Lean_nullKind___closed__2; +x_4173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4173, 0, x_4172); +lean_ctor_set(x_4173, 1, x_4171); +x_4174 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4175 = lean_array_push(x_4174, x_4173); +x_4176 = lean_array_push(x_4175, x_4167); +x_4177 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4178 = lean_array_push(x_4176, x_4177); +lean_inc(x_11); +x_4179 = lean_array_push(x_4165, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_4180 = x_11; +} else { + lean_dec_ref(x_11); + x_4180 = lean_box(0); +} +if (lean_is_scalar(x_4180)) { + x_4181 = lean_alloc_ctor(1, 2, 0); +} else { + x_4181 = x_4180; +} +lean_ctor_set(x_4181, 0, x_4172); +lean_ctor_set(x_4181, 1, x_4179); +x_4182 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4183 = lean_array_push(x_4182, x_4181); +x_4184 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4185 = lean_array_push(x_4183, x_4184); +x_4186 = lean_array_push(x_4185, x_4159); +x_4187 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4188 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4188, 0, x_4187); +lean_ctor_set(x_4188, 1, x_4186); +x_4189 = lean_array_push(x_4165, x_4188); +x_4190 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4190, 0, x_4172); +lean_ctor_set(x_4190, 1, x_4189); +x_4191 = lean_array_push(x_4178, x_4190); +x_4192 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4193, 0, x_4192); +lean_ctor_set(x_4193, 1, x_4191); +x_4194 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4194, 0, x_4158); +lean_ctor_set(x_4194, 1, x_4193); +if (lean_is_scalar(x_4164)) { + x_4195 = lean_alloc_ctor(0, 2, 0); +} else { + x_4195 = x_4164; +} +lean_ctor_set(x_4195, 0, x_4194); +lean_ctor_set(x_4195, 1, x_4163); +return x_4195; +} +} +else +{ +uint8_t x_4196; +lean_dec(x_4067); lean_dec(x_11); lean_dec(x_5); -x_4171 = !lean_is_exclusive(x_4049); -if (x_4171 == 0) +x_4196 = !lean_is_exclusive(x_4074); +if (x_4196 == 0) { -return x_4049; +return x_4074; } else { -lean_object* x_4172; lean_object* x_4173; lean_object* x_4174; -x_4172 = lean_ctor_get(x_4049, 0); -x_4173 = lean_ctor_get(x_4049, 1); -lean_inc(x_4173); -lean_inc(x_4172); -lean_dec(x_4049); -x_4174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4174, 0, x_4172); -lean_ctor_set(x_4174, 1, x_4173); -return x_4174; +lean_object* x_4197; lean_object* x_4198; lean_object* x_4199; +x_4197 = lean_ctor_get(x_4074, 0); +x_4198 = lean_ctor_get(x_4074, 1); +lean_inc(x_4198); +lean_inc(x_4197); +lean_dec(x_4074); +x_4199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4199, 0, x_4197); +lean_ctor_set(x_4199, 1, x_4198); +return x_4199; } } } else { -lean_object* x_4175; lean_object* x_4176; lean_object* x_4177; uint8_t x_4178; -x_4175 = lean_ctor_get(x_4040, 0); -lean_inc(x_4175); -lean_dec(x_4040); -x_4176 = lean_ctor_get(x_4175, 0); -lean_inc(x_4176); -x_4177 = lean_ctor_get(x_4175, 1); -lean_inc(x_4177); -lean_dec(x_4175); -x_4178 = l_Lean_Syntax_isNone(x_4177); -lean_dec(x_4177); -if (x_4178 == 0) +lean_object* x_4200; lean_object* x_4201; lean_object* x_4202; uint8_t x_4203; +x_4200 = lean_ctor_get(x_4065, 0); +lean_inc(x_4200); +lean_dec(x_4065); +x_4201 = lean_ctor_get(x_4200, 0); +lean_inc(x_4201); +x_4202 = lean_ctor_get(x_4200, 1); +lean_inc(x_4202); +lean_dec(x_4200); +x_4203 = l_Lean_Syntax_isNone(x_4202); +lean_dec(x_4202); +if (x_4203 == 0) { -lean_object* x_4179; lean_object* x_4180; uint8_t x_4181; -lean_dec(x_4176); +lean_object* x_4204; lean_object* x_4205; uint8_t x_4206; +lean_dec(x_4201); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_4179 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_4180 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4179, x_5, x_6); +x_4204 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_4205 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4204, x_5, x_6); lean_dec(x_11); -x_4181 = !lean_is_exclusive(x_4180); -if (x_4181 == 0) +x_4206 = !lean_is_exclusive(x_4205); +if (x_4206 == 0) { -return x_4180; +return x_4205; } else { -lean_object* x_4182; lean_object* x_4183; lean_object* x_4184; -x_4182 = lean_ctor_get(x_4180, 0); -x_4183 = lean_ctor_get(x_4180, 1); -lean_inc(x_4183); -lean_inc(x_4182); -lean_dec(x_4180); -x_4184 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4184, 0, x_4182); -lean_ctor_set(x_4184, 1, x_4183); -return x_4184; +lean_object* x_4207; lean_object* x_4208; lean_object* x_4209; +x_4207 = lean_ctor_get(x_4205, 0); +x_4208 = lean_ctor_get(x_4205, 1); +lean_inc(x_4208); +lean_inc(x_4207); +lean_dec(x_4205); +x_4209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4209, 0, x_4207); +lean_ctor_set(x_4209, 1, x_4208); +return x_4209; } } else { -lean_object* x_4185; lean_object* x_4186; lean_object* x_4187; lean_object* x_4188; lean_object* x_4189; -x_4185 = l_Lean_mkHole(x_11); +lean_object* x_4210; lean_object* x_4211; lean_object* x_4212; lean_object* x_4213; lean_object* x_4214; +x_4210 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_4186 = lean_unsigned_to_nat(1u); -x_4187 = lean_nat_add(x_3, x_4186); +x_4211 = lean_unsigned_to_nat(1u); +x_4212 = lean_nat_add(x_3, x_4211); lean_dec(x_3); -x_4188 = l_Lean_Elab_Term_mkExplicitBinder(x_4176, x_4185); -x_4189 = lean_array_push(x_4, x_4188); -x_3 = x_4187; -x_4 = x_4189; +x_4213 = l_Lean_Elab_Term_mkExplicitBinder(x_4201, x_4210); +x_4214 = lean_array_push(x_4, x_4213); +x_3 = x_4212; +x_4 = x_4214; goto _start; } } @@ -16175,677 +16225,681 @@ goto _start; } case 2: { -lean_object* x_4191; -x_4191 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_4191) == 0) +uint8_t x_4216; lean_object* x_4217; +x_4216 = 1; +lean_inc(x_11); +x_4217 = l_Lean_Syntax_isTermId_x3f(x_11, x_4216); +if (lean_obj_tag(x_4217) == 0) { -lean_object* x_4192; lean_object* x_4193; lean_object* x_4194; lean_object* x_4195; lean_object* x_4196; lean_object* x_4197; lean_object* x_4198; lean_object* x_4199; lean_object* x_4200; -x_4192 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_4193 = lean_ctor_get(x_4192, 0); -lean_inc(x_4193); -x_4194 = lean_ctor_get(x_4192, 1); -lean_inc(x_4194); -lean_dec(x_4192); -x_4195 = lean_unsigned_to_nat(1u); -x_4196 = lean_nat_add(x_3, x_4195); +lean_object* x_4218; lean_object* x_4219; lean_object* x_4220; lean_object* x_4221; lean_object* x_4222; lean_object* x_4223; lean_object* x_4224; lean_object* x_4225; lean_object* x_4226; +x_4218 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_4219 = lean_ctor_get(x_4218, 0); +lean_inc(x_4219); +x_4220 = lean_ctor_get(x_4218, 1); +lean_inc(x_4220); +lean_dec(x_4218); +x_4221 = lean_unsigned_to_nat(1u); +x_4222 = lean_nat_add(x_3, x_4221); lean_dec(x_3); -x_4197 = l_Lean_mkHole(x_11); -lean_inc(x_4193); -x_4198 = l_Lean_Elab_Term_mkExplicitBinder(x_4193, x_4197); -x_4199 = lean_array_push(x_4, x_4198); +x_4223 = l_Lean_mkHole(x_11); +lean_inc(x_4219); +x_4224 = l_Lean_Elab_Term_mkExplicitBinder(x_4219, x_4223); +x_4225 = lean_array_push(x_4, x_4224); lean_inc(x_5); -x_4200 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_4196, x_4199, x_5, x_4194); -if (lean_obj_tag(x_4200) == 0) +x_4226 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_4222, x_4225, x_5, x_4220); +if (lean_obj_tag(x_4226) == 0) { -lean_object* x_4201; lean_object* x_4202; uint8_t x_4203; -x_4201 = lean_ctor_get(x_4200, 0); -lean_inc(x_4201); -x_4202 = lean_ctor_get(x_4200, 1); -lean_inc(x_4202); -lean_dec(x_4200); -x_4203 = !lean_is_exclusive(x_4201); -if (x_4203 == 0) -{ -lean_object* x_4204; lean_object* x_4205; lean_object* x_4206; lean_object* x_4207; uint8_t x_4208; -x_4204 = lean_ctor_get(x_4201, 1); -x_4205 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4202); -lean_dec(x_5); -x_4206 = lean_ctor_get(x_4205, 1); -lean_inc(x_4206); -lean_dec(x_4205); -x_4207 = l_Lean_Elab_Term_getMainModule___rarg(x_4206); -x_4208 = !lean_is_exclusive(x_4207); -if (x_4208 == 0) -{ -lean_object* x_4209; lean_object* x_4210; lean_object* x_4211; lean_object* x_4212; lean_object* x_4213; lean_object* x_4214; lean_object* x_4215; lean_object* x_4216; lean_object* x_4217; lean_object* x_4218; lean_object* x_4219; lean_object* x_4220; lean_object* x_4221; lean_object* x_4222; lean_object* x_4223; lean_object* x_4224; uint8_t x_4225; -x_4209 = lean_ctor_get(x_4207, 0); -lean_dec(x_4209); -x_4210 = l_Array_empty___closed__1; -x_4211 = lean_array_push(x_4210, x_4193); -x_4212 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_4213 = lean_array_push(x_4211, x_4212); -x_4214 = l_Lean_mkTermIdFromIdent___closed__2; -x_4215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4215, 0, x_4214); -lean_ctor_set(x_4215, 1, x_4213); -x_4216 = lean_array_push(x_4210, x_4215); -x_4217 = l_Lean_nullKind___closed__2; -x_4218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4218, 0, x_4217); -lean_ctor_set(x_4218, 1, x_4216); -x_4219 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_4220 = lean_array_push(x_4219, x_4218); -x_4221 = lean_array_push(x_4220, x_4212); -x_4222 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_4223 = lean_array_push(x_4221, x_4222); -lean_inc(x_11); -x_4224 = lean_array_push(x_4210, x_11); -x_4225 = !lean_is_exclusive(x_11); -if (x_4225 == 0) -{ -lean_object* x_4226; lean_object* x_4227; lean_object* x_4228; lean_object* x_4229; lean_object* x_4230; lean_object* x_4231; lean_object* x_4232; lean_object* x_4233; lean_object* x_4234; lean_object* x_4235; lean_object* x_4236; lean_object* x_4237; lean_object* x_4238; lean_object* x_4239; -x_4226 = lean_ctor_get(x_11, 1); +lean_object* x_4227; lean_object* x_4228; uint8_t x_4229; +x_4227 = lean_ctor_get(x_4226, 0); +lean_inc(x_4227); +x_4228 = lean_ctor_get(x_4226, 1); +lean_inc(x_4228); lean_dec(x_4226); -x_4227 = lean_ctor_get(x_11, 0); -lean_dec(x_4227); +x_4229 = !lean_is_exclusive(x_4227); +if (x_4229 == 0) +{ +lean_object* x_4230; lean_object* x_4231; lean_object* x_4232; lean_object* x_4233; uint8_t x_4234; +x_4230 = lean_ctor_get(x_4227, 1); +x_4231 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4228); +lean_dec(x_5); +x_4232 = lean_ctor_get(x_4231, 1); +lean_inc(x_4232); +lean_dec(x_4231); +x_4233 = l_Lean_Elab_Term_getMainModule___rarg(x_4232); +x_4234 = !lean_is_exclusive(x_4233); +if (x_4234 == 0) +{ +lean_object* x_4235; lean_object* x_4236; lean_object* x_4237; lean_object* x_4238; lean_object* x_4239; lean_object* x_4240; lean_object* x_4241; lean_object* x_4242; lean_object* x_4243; lean_object* x_4244; lean_object* x_4245; lean_object* x_4246; lean_object* x_4247; lean_object* x_4248; lean_object* x_4249; lean_object* x_4250; uint8_t x_4251; +x_4235 = lean_ctor_get(x_4233, 0); +lean_dec(x_4235); +x_4236 = l_Array_empty___closed__1; +x_4237 = lean_array_push(x_4236, x_4219); +x_4238 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4239 = lean_array_push(x_4237, x_4238); +x_4240 = l_Lean_mkTermIdFromIdent___closed__2; +x_4241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4241, 0, x_4240); +lean_ctor_set(x_4241, 1, x_4239); +x_4242 = lean_array_push(x_4236, x_4241); +x_4243 = l_Lean_nullKind___closed__2; +x_4244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4244, 0, x_4243); +lean_ctor_set(x_4244, 1, x_4242); +x_4245 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4246 = lean_array_push(x_4245, x_4244); +x_4247 = lean_array_push(x_4246, x_4238); +x_4248 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4249 = lean_array_push(x_4247, x_4248); +lean_inc(x_11); +x_4250 = lean_array_push(x_4236, x_11); +x_4251 = !lean_is_exclusive(x_11); +if (x_4251 == 0) +{ +lean_object* x_4252; lean_object* x_4253; lean_object* x_4254; lean_object* x_4255; lean_object* x_4256; lean_object* x_4257; lean_object* x_4258; lean_object* x_4259; lean_object* x_4260; lean_object* x_4261; lean_object* x_4262; lean_object* x_4263; lean_object* x_4264; lean_object* x_4265; +x_4252 = lean_ctor_get(x_11, 1); +lean_dec(x_4252); +x_4253 = lean_ctor_get(x_11, 0); +lean_dec(x_4253); lean_ctor_set_tag(x_11, 1); -lean_ctor_set(x_11, 1, x_4224); -lean_ctor_set(x_11, 0, x_4217); -x_4228 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4229 = lean_array_push(x_4228, x_11); -x_4230 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4231 = lean_array_push(x_4229, x_4230); -x_4232 = lean_array_push(x_4231, x_4204); -x_4233 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_4234 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4234, 0, x_4233); -lean_ctor_set(x_4234, 1, x_4232); -x_4235 = lean_array_push(x_4210, x_4234); -x_4236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4236, 0, x_4217); -lean_ctor_set(x_4236, 1, x_4235); -x_4237 = lean_array_push(x_4223, x_4236); -x_4238 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4239, 0, x_4238); -lean_ctor_set(x_4239, 1, x_4237); -lean_ctor_set(x_4201, 1, x_4239); -lean_ctor_set(x_4207, 0, x_4201); -return x_4207; -} -else -{ -lean_object* x_4240; lean_object* x_4241; lean_object* x_4242; lean_object* x_4243; lean_object* x_4244; lean_object* x_4245; lean_object* x_4246; lean_object* x_4247; lean_object* x_4248; lean_object* x_4249; lean_object* x_4250; lean_object* x_4251; lean_object* x_4252; -lean_dec(x_11); -x_4240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4240, 0, x_4217); -lean_ctor_set(x_4240, 1, x_4224); -x_4241 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4242 = lean_array_push(x_4241, x_4240); -x_4243 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4244 = lean_array_push(x_4242, x_4243); -x_4245 = lean_array_push(x_4244, x_4204); -x_4246 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_4247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4247, 0, x_4246); -lean_ctor_set(x_4247, 1, x_4245); -x_4248 = lean_array_push(x_4210, x_4247); -x_4249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4249, 0, x_4217); -lean_ctor_set(x_4249, 1, x_4248); -x_4250 = lean_array_push(x_4223, x_4249); -x_4251 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4252, 0, x_4251); -lean_ctor_set(x_4252, 1, x_4250); -lean_ctor_set(x_4201, 1, x_4252); -lean_ctor_set(x_4207, 0, x_4201); -return x_4207; -} -} -else -{ -lean_object* x_4253; lean_object* x_4254; lean_object* x_4255; lean_object* x_4256; lean_object* x_4257; lean_object* x_4258; lean_object* x_4259; lean_object* x_4260; lean_object* x_4261; lean_object* x_4262; lean_object* x_4263; lean_object* x_4264; lean_object* x_4265; lean_object* x_4266; lean_object* x_4267; lean_object* x_4268; lean_object* x_4269; lean_object* x_4270; lean_object* x_4271; lean_object* x_4272; lean_object* x_4273; lean_object* x_4274; lean_object* x_4275; lean_object* x_4276; lean_object* x_4277; lean_object* x_4278; lean_object* x_4279; lean_object* x_4280; lean_object* x_4281; lean_object* x_4282; lean_object* x_4283; -x_4253 = lean_ctor_get(x_4207, 1); -lean_inc(x_4253); -lean_dec(x_4207); -x_4254 = l_Array_empty___closed__1; -x_4255 = lean_array_push(x_4254, x_4193); -x_4256 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +lean_ctor_set(x_11, 1, x_4250); +lean_ctor_set(x_11, 0, x_4243); +x_4254 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4255 = lean_array_push(x_4254, x_11); +x_4256 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; x_4257 = lean_array_push(x_4255, x_4256); -x_4258 = l_Lean_mkTermIdFromIdent___closed__2; -x_4259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4259, 0, x_4258); -lean_ctor_set(x_4259, 1, x_4257); -x_4260 = lean_array_push(x_4254, x_4259); -x_4261 = l_Lean_nullKind___closed__2; +x_4258 = lean_array_push(x_4257, x_4230); +x_4259 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4260, 0, x_4259); +lean_ctor_set(x_4260, 1, x_4258); +x_4261 = lean_array_push(x_4236, x_4260); x_4262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4262, 0, x_4261); -lean_ctor_set(x_4262, 1, x_4260); -x_4263 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_4264 = lean_array_push(x_4263, x_4262); -x_4265 = lean_array_push(x_4264, x_4256); -x_4266 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_4267 = lean_array_push(x_4265, x_4266); -lean_inc(x_11); -x_4268 = lean_array_push(x_4254, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_4269 = x_11; -} else { - lean_dec_ref(x_11); - x_4269 = lean_box(0); +lean_ctor_set(x_4262, 0, x_4243); +lean_ctor_set(x_4262, 1, x_4261); +x_4263 = lean_array_push(x_4249, x_4262); +x_4264 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4265, 0, x_4264); +lean_ctor_set(x_4265, 1, x_4263); +lean_ctor_set(x_4227, 1, x_4265); +lean_ctor_set(x_4233, 0, x_4227); +return x_4233; } -if (lean_is_scalar(x_4269)) { - x_4270 = lean_alloc_ctor(1, 2, 0); -} else { - x_4270 = x_4269; - lean_ctor_set_tag(x_4270, 1); -} -lean_ctor_set(x_4270, 0, x_4261); -lean_ctor_set(x_4270, 1, x_4268); -x_4271 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4272 = lean_array_push(x_4271, x_4270); -x_4273 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4274 = lean_array_push(x_4272, x_4273); -x_4275 = lean_array_push(x_4274, x_4204); -x_4276 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_4277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4277, 0, x_4276); -lean_ctor_set(x_4277, 1, x_4275); -x_4278 = lean_array_push(x_4254, x_4277); -x_4279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4279, 0, x_4261); -lean_ctor_set(x_4279, 1, x_4278); -x_4280 = lean_array_push(x_4267, x_4279); -x_4281 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4282, 0, x_4281); -lean_ctor_set(x_4282, 1, x_4280); -lean_ctor_set(x_4201, 1, x_4282); -x_4283 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4283, 0, x_4201); -lean_ctor_set(x_4283, 1, x_4253); -return x_4283; +else +{ +lean_object* x_4266; lean_object* x_4267; lean_object* x_4268; lean_object* x_4269; lean_object* x_4270; lean_object* x_4271; lean_object* x_4272; lean_object* x_4273; lean_object* x_4274; lean_object* x_4275; lean_object* x_4276; lean_object* x_4277; lean_object* x_4278; +lean_dec(x_11); +x_4266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4266, 0, x_4243); +lean_ctor_set(x_4266, 1, x_4250); +x_4267 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4268 = lean_array_push(x_4267, x_4266); +x_4269 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4270 = lean_array_push(x_4268, x_4269); +x_4271 = lean_array_push(x_4270, x_4230); +x_4272 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4273, 0, x_4272); +lean_ctor_set(x_4273, 1, x_4271); +x_4274 = lean_array_push(x_4236, x_4273); +x_4275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4275, 0, x_4243); +lean_ctor_set(x_4275, 1, x_4274); +x_4276 = lean_array_push(x_4249, x_4275); +x_4277 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4278 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4278, 0, x_4277); +lean_ctor_set(x_4278, 1, x_4276); +lean_ctor_set(x_4227, 1, x_4278); +lean_ctor_set(x_4233, 0, x_4227); +return x_4233; } } else { -lean_object* x_4284; lean_object* x_4285; lean_object* x_4286; lean_object* x_4287; lean_object* x_4288; lean_object* x_4289; lean_object* x_4290; lean_object* x_4291; lean_object* x_4292; lean_object* x_4293; lean_object* x_4294; lean_object* x_4295; lean_object* x_4296; lean_object* x_4297; lean_object* x_4298; lean_object* x_4299; lean_object* x_4300; lean_object* x_4301; lean_object* x_4302; lean_object* x_4303; lean_object* x_4304; lean_object* x_4305; lean_object* x_4306; lean_object* x_4307; lean_object* x_4308; lean_object* x_4309; lean_object* x_4310; lean_object* x_4311; lean_object* x_4312; lean_object* x_4313; lean_object* x_4314; lean_object* x_4315; lean_object* x_4316; lean_object* x_4317; lean_object* x_4318; lean_object* x_4319; lean_object* x_4320; lean_object* x_4321; -x_4284 = lean_ctor_get(x_4201, 0); -x_4285 = lean_ctor_get(x_4201, 1); -lean_inc(x_4285); -lean_inc(x_4284); -lean_dec(x_4201); -x_4286 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4202); -lean_dec(x_5); -x_4287 = lean_ctor_get(x_4286, 1); -lean_inc(x_4287); -lean_dec(x_4286); -x_4288 = l_Lean_Elab_Term_getMainModule___rarg(x_4287); -x_4289 = lean_ctor_get(x_4288, 1); -lean_inc(x_4289); -if (lean_is_exclusive(x_4288)) { - lean_ctor_release(x_4288, 0); - lean_ctor_release(x_4288, 1); - x_4290 = x_4288; +lean_object* x_4279; lean_object* x_4280; lean_object* x_4281; lean_object* x_4282; lean_object* x_4283; lean_object* x_4284; lean_object* x_4285; lean_object* x_4286; lean_object* x_4287; lean_object* x_4288; lean_object* x_4289; lean_object* x_4290; lean_object* x_4291; lean_object* x_4292; lean_object* x_4293; lean_object* x_4294; lean_object* x_4295; lean_object* x_4296; lean_object* x_4297; lean_object* x_4298; lean_object* x_4299; lean_object* x_4300; lean_object* x_4301; lean_object* x_4302; lean_object* x_4303; lean_object* x_4304; lean_object* x_4305; lean_object* x_4306; lean_object* x_4307; lean_object* x_4308; lean_object* x_4309; +x_4279 = lean_ctor_get(x_4233, 1); +lean_inc(x_4279); +lean_dec(x_4233); +x_4280 = l_Array_empty___closed__1; +x_4281 = lean_array_push(x_4280, x_4219); +x_4282 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4283 = lean_array_push(x_4281, x_4282); +x_4284 = l_Lean_mkTermIdFromIdent___closed__2; +x_4285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4285, 0, x_4284); +lean_ctor_set(x_4285, 1, x_4283); +x_4286 = lean_array_push(x_4280, x_4285); +x_4287 = l_Lean_nullKind___closed__2; +x_4288 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4288, 0, x_4287); +lean_ctor_set(x_4288, 1, x_4286); +x_4289 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4290 = lean_array_push(x_4289, x_4288); +x_4291 = lean_array_push(x_4290, x_4282); +x_4292 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4293 = lean_array_push(x_4291, x_4292); +lean_inc(x_11); +x_4294 = lean_array_push(x_4280, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_4295 = x_11; } else { - lean_dec_ref(x_4288); - x_4290 = lean_box(0); + lean_dec_ref(x_11); + x_4295 = lean_box(0); } -x_4291 = l_Array_empty___closed__1; -x_4292 = lean_array_push(x_4291, x_4193); -x_4293 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_4294 = lean_array_push(x_4292, x_4293); -x_4295 = l_Lean_mkTermIdFromIdent___closed__2; -x_4296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4296, 0, x_4295); +if (lean_is_scalar(x_4295)) { + x_4296 = lean_alloc_ctor(1, 2, 0); +} else { + x_4296 = x_4295; + lean_ctor_set_tag(x_4296, 1); +} +lean_ctor_set(x_4296, 0, x_4287); lean_ctor_set(x_4296, 1, x_4294); -x_4297 = lean_array_push(x_4291, x_4296); -x_4298 = l_Lean_nullKind___closed__2; -x_4299 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4299, 0, x_4298); -lean_ctor_set(x_4299, 1, x_4297); -x_4300 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_4301 = lean_array_push(x_4300, x_4299); -x_4302 = lean_array_push(x_4301, x_4293); -x_4303 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_4304 = lean_array_push(x_4302, x_4303); -lean_inc(x_11); -x_4305 = lean_array_push(x_4291, x_11); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_4306 = x_11; -} else { - lean_dec_ref(x_11); - x_4306 = lean_box(0); -} -if (lean_is_scalar(x_4306)) { - x_4307 = lean_alloc_ctor(1, 2, 0); -} else { - x_4307 = x_4306; - lean_ctor_set_tag(x_4307, 1); -} -lean_ctor_set(x_4307, 0, x_4298); -lean_ctor_set(x_4307, 1, x_4305); -x_4308 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4309 = lean_array_push(x_4308, x_4307); -x_4310 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4311 = lean_array_push(x_4309, x_4310); -x_4312 = lean_array_push(x_4311, x_4285); -x_4313 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_4314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4314, 0, x_4313); -lean_ctor_set(x_4314, 1, x_4312); -x_4315 = lean_array_push(x_4291, x_4314); -x_4316 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4316, 0, x_4298); -lean_ctor_set(x_4316, 1, x_4315); -x_4317 = lean_array_push(x_4304, x_4316); -x_4318 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4319 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4319, 0, x_4318); -lean_ctor_set(x_4319, 1, x_4317); -x_4320 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4320, 0, x_4284); -lean_ctor_set(x_4320, 1, x_4319); -if (lean_is_scalar(x_4290)) { - x_4321 = lean_alloc_ctor(0, 2, 0); -} else { - x_4321 = x_4290; -} -lean_ctor_set(x_4321, 0, x_4320); -lean_ctor_set(x_4321, 1, x_4289); -return x_4321; +x_4297 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4298 = lean_array_push(x_4297, x_4296); +x_4299 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4300 = lean_array_push(x_4298, x_4299); +x_4301 = lean_array_push(x_4300, x_4230); +x_4302 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4303, 0, x_4302); +lean_ctor_set(x_4303, 1, x_4301); +x_4304 = lean_array_push(x_4280, x_4303); +x_4305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4305, 0, x_4287); +lean_ctor_set(x_4305, 1, x_4304); +x_4306 = lean_array_push(x_4293, x_4305); +x_4307 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4308, 0, x_4307); +lean_ctor_set(x_4308, 1, x_4306); +lean_ctor_set(x_4227, 1, x_4308); +x_4309 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4309, 0, x_4227); +lean_ctor_set(x_4309, 1, x_4279); +return x_4309; } } else { -uint8_t x_4322; -lean_dec(x_4193); +lean_object* x_4310; lean_object* x_4311; lean_object* x_4312; lean_object* x_4313; lean_object* x_4314; lean_object* x_4315; lean_object* x_4316; lean_object* x_4317; lean_object* x_4318; lean_object* x_4319; lean_object* x_4320; lean_object* x_4321; lean_object* x_4322; lean_object* x_4323; lean_object* x_4324; lean_object* x_4325; lean_object* x_4326; lean_object* x_4327; lean_object* x_4328; lean_object* x_4329; lean_object* x_4330; lean_object* x_4331; lean_object* x_4332; lean_object* x_4333; lean_object* x_4334; lean_object* x_4335; lean_object* x_4336; lean_object* x_4337; lean_object* x_4338; lean_object* x_4339; lean_object* x_4340; lean_object* x_4341; lean_object* x_4342; lean_object* x_4343; lean_object* x_4344; lean_object* x_4345; lean_object* x_4346; lean_object* x_4347; +x_4310 = lean_ctor_get(x_4227, 0); +x_4311 = lean_ctor_get(x_4227, 1); +lean_inc(x_4311); +lean_inc(x_4310); +lean_dec(x_4227); +x_4312 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4228); +lean_dec(x_5); +x_4313 = lean_ctor_get(x_4312, 1); +lean_inc(x_4313); +lean_dec(x_4312); +x_4314 = l_Lean_Elab_Term_getMainModule___rarg(x_4313); +x_4315 = lean_ctor_get(x_4314, 1); +lean_inc(x_4315); +if (lean_is_exclusive(x_4314)) { + lean_ctor_release(x_4314, 0); + lean_ctor_release(x_4314, 1); + x_4316 = x_4314; +} else { + lean_dec_ref(x_4314); + x_4316 = lean_box(0); +} +x_4317 = l_Array_empty___closed__1; +x_4318 = lean_array_push(x_4317, x_4219); +x_4319 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4320 = lean_array_push(x_4318, x_4319); +x_4321 = l_Lean_mkTermIdFromIdent___closed__2; +x_4322 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4322, 0, x_4321); +lean_ctor_set(x_4322, 1, x_4320); +x_4323 = lean_array_push(x_4317, x_4322); +x_4324 = l_Lean_nullKind___closed__2; +x_4325 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4325, 0, x_4324); +lean_ctor_set(x_4325, 1, x_4323); +x_4326 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4327 = lean_array_push(x_4326, x_4325); +x_4328 = lean_array_push(x_4327, x_4319); +x_4329 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4330 = lean_array_push(x_4328, x_4329); +lean_inc(x_11); +x_4331 = lean_array_push(x_4317, x_11); +if (lean_is_exclusive(x_11)) { + lean_ctor_release(x_11, 0); + lean_ctor_release(x_11, 1); + x_4332 = x_11; +} else { + lean_dec_ref(x_11); + x_4332 = lean_box(0); +} +if (lean_is_scalar(x_4332)) { + x_4333 = lean_alloc_ctor(1, 2, 0); +} else { + x_4333 = x_4332; + lean_ctor_set_tag(x_4333, 1); +} +lean_ctor_set(x_4333, 0, x_4324); +lean_ctor_set(x_4333, 1, x_4331); +x_4334 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4335 = lean_array_push(x_4334, x_4333); +x_4336 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4337 = lean_array_push(x_4335, x_4336); +x_4338 = lean_array_push(x_4337, x_4311); +x_4339 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4340, 0, x_4339); +lean_ctor_set(x_4340, 1, x_4338); +x_4341 = lean_array_push(x_4317, x_4340); +x_4342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4342, 0, x_4324); +lean_ctor_set(x_4342, 1, x_4341); +x_4343 = lean_array_push(x_4330, x_4342); +x_4344 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4345, 0, x_4344); +lean_ctor_set(x_4345, 1, x_4343); +x_4346 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4346, 0, x_4310); +lean_ctor_set(x_4346, 1, x_4345); +if (lean_is_scalar(x_4316)) { + x_4347 = lean_alloc_ctor(0, 2, 0); +} else { + x_4347 = x_4316; +} +lean_ctor_set(x_4347, 0, x_4346); +lean_ctor_set(x_4347, 1, x_4315); +return x_4347; +} +} +else +{ +uint8_t x_4348; +lean_dec(x_4219); lean_dec(x_11); lean_dec(x_5); -x_4322 = !lean_is_exclusive(x_4200); -if (x_4322 == 0) +x_4348 = !lean_is_exclusive(x_4226); +if (x_4348 == 0) { -return x_4200; +return x_4226; } else { -lean_object* x_4323; lean_object* x_4324; lean_object* x_4325; -x_4323 = lean_ctor_get(x_4200, 0); -x_4324 = lean_ctor_get(x_4200, 1); -lean_inc(x_4324); -lean_inc(x_4323); -lean_dec(x_4200); -x_4325 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4325, 0, x_4323); -lean_ctor_set(x_4325, 1, x_4324); -return x_4325; +lean_object* x_4349; lean_object* x_4350; lean_object* x_4351; +x_4349 = lean_ctor_get(x_4226, 0); +x_4350 = lean_ctor_get(x_4226, 1); +lean_inc(x_4350); +lean_inc(x_4349); +lean_dec(x_4226); +x_4351 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4351, 0, x_4349); +lean_ctor_set(x_4351, 1, x_4350); +return x_4351; } } } else { -lean_object* x_4326; lean_object* x_4327; lean_object* x_4328; uint8_t x_4329; -x_4326 = lean_ctor_get(x_4191, 0); -lean_inc(x_4326); -lean_dec(x_4191); -x_4327 = lean_ctor_get(x_4326, 0); -lean_inc(x_4327); -x_4328 = lean_ctor_get(x_4326, 1); -lean_inc(x_4328); -lean_dec(x_4326); -x_4329 = l_Lean_Syntax_isNone(x_4328); -lean_dec(x_4328); -if (x_4329 == 0) +lean_object* x_4352; lean_object* x_4353; lean_object* x_4354; uint8_t x_4355; +x_4352 = lean_ctor_get(x_4217, 0); +lean_inc(x_4352); +lean_dec(x_4217); +x_4353 = lean_ctor_get(x_4352, 0); +lean_inc(x_4353); +x_4354 = lean_ctor_get(x_4352, 1); +lean_inc(x_4354); +lean_dec(x_4352); +x_4355 = l_Lean_Syntax_isNone(x_4354); +lean_dec(x_4354); +if (x_4355 == 0) { -lean_object* x_4330; lean_object* x_4331; uint8_t x_4332; -lean_dec(x_4327); +lean_object* x_4356; lean_object* x_4357; uint8_t x_4358; +lean_dec(x_4353); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_4330 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_4331 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4330, x_5, x_6); +x_4356 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_4357 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4356, x_5, x_6); lean_dec(x_11); -x_4332 = !lean_is_exclusive(x_4331); -if (x_4332 == 0) +x_4358 = !lean_is_exclusive(x_4357); +if (x_4358 == 0) { -return x_4331; +return x_4357; } else { -lean_object* x_4333; lean_object* x_4334; lean_object* x_4335; -x_4333 = lean_ctor_get(x_4331, 0); -x_4334 = lean_ctor_get(x_4331, 1); -lean_inc(x_4334); -lean_inc(x_4333); -lean_dec(x_4331); -x_4335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4335, 0, x_4333); -lean_ctor_set(x_4335, 1, x_4334); -return x_4335; +lean_object* x_4359; lean_object* x_4360; lean_object* x_4361; +x_4359 = lean_ctor_get(x_4357, 0); +x_4360 = lean_ctor_get(x_4357, 1); +lean_inc(x_4360); +lean_inc(x_4359); +lean_dec(x_4357); +x_4361 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4361, 0, x_4359); +lean_ctor_set(x_4361, 1, x_4360); +return x_4361; } } else { -lean_object* x_4336; lean_object* x_4337; lean_object* x_4338; lean_object* x_4339; lean_object* x_4340; -x_4336 = l_Lean_mkHole(x_11); +lean_object* x_4362; lean_object* x_4363; lean_object* x_4364; lean_object* x_4365; lean_object* x_4366; +x_4362 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_4337 = lean_unsigned_to_nat(1u); -x_4338 = lean_nat_add(x_3, x_4337); +x_4363 = lean_unsigned_to_nat(1u); +x_4364 = lean_nat_add(x_3, x_4363); lean_dec(x_3); -x_4339 = l_Lean_Elab_Term_mkExplicitBinder(x_4327, x_4336); -x_4340 = lean_array_push(x_4, x_4339); -x_3 = x_4338; -x_4 = x_4340; +x_4365 = l_Lean_Elab_Term_mkExplicitBinder(x_4353, x_4362); +x_4366 = lean_array_push(x_4, x_4365); +x_3 = x_4364; +x_4 = x_4366; goto _start; } } } default: { -lean_object* x_4342; -x_4342 = l_Lean_Syntax_isTermId_x3f(x_11); -if (lean_obj_tag(x_4342) == 0) +uint8_t x_4368; lean_object* x_4369; +x_4368 = 1; +lean_inc(x_11); +x_4369 = l_Lean_Syntax_isTermId_x3f(x_11, x_4368); +if (lean_obj_tag(x_4369) == 0) { -lean_object* x_4343; lean_object* x_4344; lean_object* x_4345; lean_object* x_4346; lean_object* x_4347; lean_object* x_4348; lean_object* x_4349; lean_object* x_4350; lean_object* x_4351; -x_4343 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); -x_4344 = lean_ctor_get(x_4343, 0); -lean_inc(x_4344); -x_4345 = lean_ctor_get(x_4343, 1); -lean_inc(x_4345); -lean_dec(x_4343); -x_4346 = lean_unsigned_to_nat(1u); -x_4347 = lean_nat_add(x_3, x_4346); +lean_object* x_4370; lean_object* x_4371; lean_object* x_4372; lean_object* x_4373; lean_object* x_4374; lean_object* x_4375; lean_object* x_4376; lean_object* x_4377; lean_object* x_4378; +x_4370 = l_Lean_Elab_Term_mkFreshAnonymousIdent(x_11, x_5, x_6); +x_4371 = lean_ctor_get(x_4370, 0); +lean_inc(x_4371); +x_4372 = lean_ctor_get(x_4370, 1); +lean_inc(x_4372); +lean_dec(x_4370); +x_4373 = lean_unsigned_to_nat(1u); +x_4374 = lean_nat_add(x_3, x_4373); lean_dec(x_3); -x_4348 = l_Lean_mkHole(x_11); -lean_inc(x_4344); -x_4349 = l_Lean_Elab_Term_mkExplicitBinder(x_4344, x_4348); -x_4350 = lean_array_push(x_4, x_4349); +x_4375 = l_Lean_mkHole(x_11); +lean_inc(x_4371); +x_4376 = l_Lean_Elab_Term_mkExplicitBinder(x_4371, x_4375); +x_4377 = lean_array_push(x_4, x_4376); lean_inc(x_5); -x_4351 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_4347, x_4350, x_5, x_4345); -if (lean_obj_tag(x_4351) == 0) +x_4378 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main(x_1, x_2, x_4374, x_4377, x_5, x_4372); +if (lean_obj_tag(x_4378) == 0) { -lean_object* x_4352; lean_object* x_4353; uint8_t x_4354; -x_4352 = lean_ctor_get(x_4351, 0); -lean_inc(x_4352); -x_4353 = lean_ctor_get(x_4351, 1); -lean_inc(x_4353); -lean_dec(x_4351); -x_4354 = !lean_is_exclusive(x_4352); -if (x_4354 == 0) +lean_object* x_4379; lean_object* x_4380; uint8_t x_4381; +x_4379 = lean_ctor_get(x_4378, 0); +lean_inc(x_4379); +x_4380 = lean_ctor_get(x_4378, 1); +lean_inc(x_4380); +lean_dec(x_4378); +x_4381 = !lean_is_exclusive(x_4379); +if (x_4381 == 0) { -lean_object* x_4355; lean_object* x_4356; lean_object* x_4357; lean_object* x_4358; uint8_t x_4359; -x_4355 = lean_ctor_get(x_4352, 1); -x_4356 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4353); +lean_object* x_4382; lean_object* x_4383; lean_object* x_4384; lean_object* x_4385; uint8_t x_4386; +x_4382 = lean_ctor_get(x_4379, 1); +x_4383 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4380); lean_dec(x_5); -x_4357 = lean_ctor_get(x_4356, 1); -lean_inc(x_4357); -lean_dec(x_4356); -x_4358 = l_Lean_Elab_Term_getMainModule___rarg(x_4357); -x_4359 = !lean_is_exclusive(x_4358); -if (x_4359 == 0) +x_4384 = lean_ctor_get(x_4383, 1); +lean_inc(x_4384); +lean_dec(x_4383); +x_4385 = l_Lean_Elab_Term_getMainModule___rarg(x_4384); +x_4386 = !lean_is_exclusive(x_4385); +if (x_4386 == 0) { -lean_object* x_4360; lean_object* x_4361; lean_object* x_4362; lean_object* x_4363; lean_object* x_4364; lean_object* x_4365; lean_object* x_4366; lean_object* x_4367; lean_object* x_4368; lean_object* x_4369; lean_object* x_4370; lean_object* x_4371; lean_object* x_4372; lean_object* x_4373; lean_object* x_4374; lean_object* x_4375; lean_object* x_4376; lean_object* x_4377; lean_object* x_4378; lean_object* x_4379; lean_object* x_4380; lean_object* x_4381; lean_object* x_4382; lean_object* x_4383; lean_object* x_4384; lean_object* x_4385; lean_object* x_4386; lean_object* x_4387; lean_object* x_4388; -x_4360 = lean_ctor_get(x_4358, 0); -lean_dec(x_4360); -x_4361 = l_Array_empty___closed__1; -x_4362 = lean_array_push(x_4361, x_4344); -x_4363 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_4364 = lean_array_push(x_4362, x_4363); -x_4365 = l_Lean_mkTermIdFromIdent___closed__2; -x_4366 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4366, 0, x_4365); -lean_ctor_set(x_4366, 1, x_4364); -x_4367 = lean_array_push(x_4361, x_4366); -x_4368 = l_Lean_nullKind___closed__2; -x_4369 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4369, 0, x_4368); -lean_ctor_set(x_4369, 1, x_4367); -x_4370 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_4371 = lean_array_push(x_4370, x_4369); -x_4372 = lean_array_push(x_4371, x_4363); -x_4373 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_4374 = lean_array_push(x_4372, x_4373); -x_4375 = lean_array_push(x_4361, x_11); -x_4376 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4376, 0, x_4368); -lean_ctor_set(x_4376, 1, x_4375); -x_4377 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4378 = lean_array_push(x_4377, x_4376); -x_4379 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4380 = lean_array_push(x_4378, x_4379); -x_4381 = lean_array_push(x_4380, x_4355); -x_4382 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_4383 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4383, 0, x_4382); -lean_ctor_set(x_4383, 1, x_4381); -x_4384 = lean_array_push(x_4361, x_4383); -x_4385 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4385, 0, x_4368); -lean_ctor_set(x_4385, 1, x_4384); -x_4386 = lean_array_push(x_4374, x_4385); -x_4387 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4388, 0, x_4387); -lean_ctor_set(x_4388, 1, x_4386); -lean_ctor_set(x_4352, 1, x_4388); -lean_ctor_set(x_4358, 0, x_4352); -return x_4358; -} -else -{ -lean_object* x_4389; lean_object* x_4390; lean_object* x_4391; lean_object* x_4392; lean_object* x_4393; lean_object* x_4394; lean_object* x_4395; lean_object* x_4396; lean_object* x_4397; lean_object* x_4398; lean_object* x_4399; lean_object* x_4400; lean_object* x_4401; lean_object* x_4402; lean_object* x_4403; lean_object* x_4404; lean_object* x_4405; lean_object* x_4406; lean_object* x_4407; lean_object* x_4408; lean_object* x_4409; lean_object* x_4410; lean_object* x_4411; lean_object* x_4412; lean_object* x_4413; lean_object* x_4414; lean_object* x_4415; lean_object* x_4416; lean_object* x_4417; lean_object* x_4418; -x_4389 = lean_ctor_get(x_4358, 1); -lean_inc(x_4389); -lean_dec(x_4358); -x_4390 = l_Array_empty___closed__1; -x_4391 = lean_array_push(x_4390, x_4344); -x_4392 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_4393 = lean_array_push(x_4391, x_4392); -x_4394 = l_Lean_mkTermIdFromIdent___closed__2; -x_4395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4395, 0, x_4394); -lean_ctor_set(x_4395, 1, x_4393); -x_4396 = lean_array_push(x_4390, x_4395); -x_4397 = l_Lean_nullKind___closed__2; -x_4398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4398, 0, x_4397); -lean_ctor_set(x_4398, 1, x_4396); -x_4399 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_4400 = lean_array_push(x_4399, x_4398); -x_4401 = lean_array_push(x_4400, x_4392); -x_4402 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_4403 = lean_array_push(x_4401, x_4402); -x_4404 = lean_array_push(x_4390, x_11); -x_4405 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4405, 0, x_4397); -lean_ctor_set(x_4405, 1, x_4404); -x_4406 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4407 = lean_array_push(x_4406, x_4405); -x_4408 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4409 = lean_array_push(x_4407, x_4408); -x_4410 = lean_array_push(x_4409, x_4355); -x_4411 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +lean_object* x_4387; lean_object* x_4388; lean_object* x_4389; lean_object* x_4390; lean_object* x_4391; lean_object* x_4392; lean_object* x_4393; lean_object* x_4394; lean_object* x_4395; lean_object* x_4396; lean_object* x_4397; lean_object* x_4398; lean_object* x_4399; lean_object* x_4400; lean_object* x_4401; lean_object* x_4402; lean_object* x_4403; lean_object* x_4404; lean_object* x_4405; lean_object* x_4406; lean_object* x_4407; lean_object* x_4408; lean_object* x_4409; lean_object* x_4410; lean_object* x_4411; lean_object* x_4412; lean_object* x_4413; lean_object* x_4414; lean_object* x_4415; +x_4387 = lean_ctor_get(x_4385, 0); +lean_dec(x_4387); +x_4388 = l_Array_empty___closed__1; +x_4389 = lean_array_push(x_4388, x_4371); +x_4390 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4391 = lean_array_push(x_4389, x_4390); +x_4392 = l_Lean_mkTermIdFromIdent___closed__2; +x_4393 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4393, 0, x_4392); +lean_ctor_set(x_4393, 1, x_4391); +x_4394 = lean_array_push(x_4388, x_4393); +x_4395 = l_Lean_nullKind___closed__2; +x_4396 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4396, 0, x_4395); +lean_ctor_set(x_4396, 1, x_4394); +x_4397 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4398 = lean_array_push(x_4397, x_4396); +x_4399 = lean_array_push(x_4398, x_4390); +x_4400 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4401 = lean_array_push(x_4399, x_4400); +x_4402 = lean_array_push(x_4388, x_11); +x_4403 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4403, 0, x_4395); +lean_ctor_set(x_4403, 1, x_4402); +x_4404 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4405 = lean_array_push(x_4404, x_4403); +x_4406 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4407 = lean_array_push(x_4405, x_4406); +x_4408 = lean_array_push(x_4407, x_4382); +x_4409 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4410 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4410, 0, x_4409); +lean_ctor_set(x_4410, 1, x_4408); +x_4411 = lean_array_push(x_4388, x_4410); x_4412 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4412, 0, x_4411); -lean_ctor_set(x_4412, 1, x_4410); -x_4413 = lean_array_push(x_4390, x_4412); -x_4414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4414, 0, x_4397); -lean_ctor_set(x_4414, 1, x_4413); -x_4415 = lean_array_push(x_4403, x_4414); -x_4416 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4417 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4417, 0, x_4416); -lean_ctor_set(x_4417, 1, x_4415); -lean_ctor_set(x_4352, 1, x_4417); -x_4418 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4418, 0, x_4352); -lean_ctor_set(x_4418, 1, x_4389); -return x_4418; -} +lean_ctor_set(x_4412, 0, x_4395); +lean_ctor_set(x_4412, 1, x_4411); +x_4413 = lean_array_push(x_4401, x_4412); +x_4414 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4415 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4415, 0, x_4414); +lean_ctor_set(x_4415, 1, x_4413); +lean_ctor_set(x_4379, 1, x_4415); +lean_ctor_set(x_4385, 0, x_4379); +return x_4385; } else { -lean_object* x_4419; lean_object* x_4420; lean_object* x_4421; lean_object* x_4422; lean_object* x_4423; lean_object* x_4424; lean_object* x_4425; lean_object* x_4426; lean_object* x_4427; lean_object* x_4428; lean_object* x_4429; lean_object* x_4430; lean_object* x_4431; lean_object* x_4432; lean_object* x_4433; lean_object* x_4434; lean_object* x_4435; lean_object* x_4436; lean_object* x_4437; lean_object* x_4438; lean_object* x_4439; lean_object* x_4440; lean_object* x_4441; lean_object* x_4442; lean_object* x_4443; lean_object* x_4444; lean_object* x_4445; lean_object* x_4446; lean_object* x_4447; lean_object* x_4448; lean_object* x_4449; lean_object* x_4450; lean_object* x_4451; lean_object* x_4452; lean_object* x_4453; lean_object* x_4454; lean_object* x_4455; -x_4419 = lean_ctor_get(x_4352, 0); -x_4420 = lean_ctor_get(x_4352, 1); -lean_inc(x_4420); -lean_inc(x_4419); -lean_dec(x_4352); -x_4421 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4353); -lean_dec(x_5); -x_4422 = lean_ctor_get(x_4421, 1); -lean_inc(x_4422); -lean_dec(x_4421); -x_4423 = l_Lean_Elab_Term_getMainModule___rarg(x_4422); -x_4424 = lean_ctor_get(x_4423, 1); -lean_inc(x_4424); -if (lean_is_exclusive(x_4423)) { - lean_ctor_release(x_4423, 0); - lean_ctor_release(x_4423, 1); - x_4425 = x_4423; -} else { - lean_dec_ref(x_4423); - x_4425 = lean_box(0); -} -x_4426 = l_Array_empty___closed__1; -x_4427 = lean_array_push(x_4426, x_4344); -x_4428 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_4429 = lean_array_push(x_4427, x_4428); -x_4430 = l_Lean_mkTermIdFromIdent___closed__2; -x_4431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4431, 0, x_4430); -lean_ctor_set(x_4431, 1, x_4429); -x_4432 = lean_array_push(x_4426, x_4431); -x_4433 = l_Lean_nullKind___closed__2; -x_4434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4434, 0, x_4433); -lean_ctor_set(x_4434, 1, x_4432); -x_4435 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; -x_4436 = lean_array_push(x_4435, x_4434); -x_4437 = lean_array_push(x_4436, x_4428); -x_4438 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; -x_4439 = lean_array_push(x_4437, x_4438); -x_4440 = lean_array_push(x_4426, x_11); +lean_object* x_4416; lean_object* x_4417; lean_object* x_4418; lean_object* x_4419; lean_object* x_4420; lean_object* x_4421; lean_object* x_4422; lean_object* x_4423; lean_object* x_4424; lean_object* x_4425; lean_object* x_4426; lean_object* x_4427; lean_object* x_4428; lean_object* x_4429; lean_object* x_4430; lean_object* x_4431; lean_object* x_4432; lean_object* x_4433; lean_object* x_4434; lean_object* x_4435; lean_object* x_4436; lean_object* x_4437; lean_object* x_4438; lean_object* x_4439; lean_object* x_4440; lean_object* x_4441; lean_object* x_4442; lean_object* x_4443; lean_object* x_4444; lean_object* x_4445; +x_4416 = lean_ctor_get(x_4385, 1); +lean_inc(x_4416); +lean_dec(x_4385); +x_4417 = l_Array_empty___closed__1; +x_4418 = lean_array_push(x_4417, x_4371); +x_4419 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4420 = lean_array_push(x_4418, x_4419); +x_4421 = l_Lean_mkTermIdFromIdent___closed__2; +x_4422 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4422, 0, x_4421); +lean_ctor_set(x_4422, 1, x_4420); +x_4423 = lean_array_push(x_4417, x_4422); +x_4424 = l_Lean_nullKind___closed__2; +x_4425 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4425, 0, x_4424); +lean_ctor_set(x_4425, 1, x_4423); +x_4426 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4427 = lean_array_push(x_4426, x_4425); +x_4428 = lean_array_push(x_4427, x_4419); +x_4429 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4430 = lean_array_push(x_4428, x_4429); +x_4431 = lean_array_push(x_4417, x_11); +x_4432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4432, 0, x_4424); +lean_ctor_set(x_4432, 1, x_4431); +x_4433 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4434 = lean_array_push(x_4433, x_4432); +x_4435 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4436 = lean_array_push(x_4434, x_4435); +x_4437 = lean_array_push(x_4436, x_4382); +x_4438 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4439 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4439, 0, x_4438); +lean_ctor_set(x_4439, 1, x_4437); +x_4440 = lean_array_push(x_4417, x_4439); x_4441 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4441, 0, x_4433); +lean_ctor_set(x_4441, 0, x_4424); lean_ctor_set(x_4441, 1, x_4440); -x_4442 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; -x_4443 = lean_array_push(x_4442, x_4441); -x_4444 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_4445 = lean_array_push(x_4443, x_4444); -x_4446 = lean_array_push(x_4445, x_4420); -x_4447 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; -x_4448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4448, 0, x_4447); -lean_ctor_set(x_4448, 1, x_4446); -x_4449 = lean_array_push(x_4426, x_4448); -x_4450 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4450, 0, x_4433); -lean_ctor_set(x_4450, 1, x_4449); -x_4451 = lean_array_push(x_4439, x_4450); -x_4452 = l_Lean_Parser_Term_match___elambda__1___closed__2; -x_4453 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4453, 0, x_4452); -lean_ctor_set(x_4453, 1, x_4451); -x_4454 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4454, 0, x_4419); -lean_ctor_set(x_4454, 1, x_4453); -if (lean_is_scalar(x_4425)) { - x_4455 = lean_alloc_ctor(0, 2, 0); -} else { - x_4455 = x_4425; -} -lean_ctor_set(x_4455, 0, x_4454); -lean_ctor_set(x_4455, 1, x_4424); -return x_4455; +x_4442 = lean_array_push(x_4430, x_4441); +x_4443 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4444 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4444, 0, x_4443); +lean_ctor_set(x_4444, 1, x_4442); +lean_ctor_set(x_4379, 1, x_4444); +x_4445 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4445, 0, x_4379); +lean_ctor_set(x_4445, 1, x_4416); +return x_4445; } } else { -uint8_t x_4456; -lean_dec(x_4344); +lean_object* x_4446; lean_object* x_4447; lean_object* x_4448; lean_object* x_4449; lean_object* x_4450; lean_object* x_4451; lean_object* x_4452; lean_object* x_4453; lean_object* x_4454; lean_object* x_4455; lean_object* x_4456; lean_object* x_4457; lean_object* x_4458; lean_object* x_4459; lean_object* x_4460; lean_object* x_4461; lean_object* x_4462; lean_object* x_4463; lean_object* x_4464; lean_object* x_4465; lean_object* x_4466; lean_object* x_4467; lean_object* x_4468; lean_object* x_4469; lean_object* x_4470; lean_object* x_4471; lean_object* x_4472; lean_object* x_4473; lean_object* x_4474; lean_object* x_4475; lean_object* x_4476; lean_object* x_4477; lean_object* x_4478; lean_object* x_4479; lean_object* x_4480; lean_object* x_4481; lean_object* x_4482; +x_4446 = lean_ctor_get(x_4379, 0); +x_4447 = lean_ctor_get(x_4379, 1); +lean_inc(x_4447); +lean_inc(x_4446); +lean_dec(x_4379); +x_4448 = l_Lean_Elab_Term_getCurrMacroScope(x_5, x_4380); +lean_dec(x_5); +x_4449 = lean_ctor_get(x_4448, 1); +lean_inc(x_4449); +lean_dec(x_4448); +x_4450 = l_Lean_Elab_Term_getMainModule___rarg(x_4449); +x_4451 = lean_ctor_get(x_4450, 1); +lean_inc(x_4451); +if (lean_is_exclusive(x_4450)) { + lean_ctor_release(x_4450, 0); + lean_ctor_release(x_4450, 1); + x_4452 = x_4450; +} else { + lean_dec_ref(x_4450); + x_4452 = lean_box(0); +} +x_4453 = l_Array_empty___closed__1; +x_4454 = lean_array_push(x_4453, x_4371); +x_4455 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_4456 = lean_array_push(x_4454, x_4455); +x_4457 = l_Lean_mkTermIdFromIdent___closed__2; +x_4458 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4458, 0, x_4457); +lean_ctor_set(x_4458, 1, x_4456); +x_4459 = lean_array_push(x_4453, x_4458); +x_4460 = l_Lean_nullKind___closed__2; +x_4461 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4461, 0, x_4460); +lean_ctor_set(x_4461, 1, x_4459); +x_4462 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__2; +x_4463 = lean_array_push(x_4462, x_4461); +x_4464 = lean_array_push(x_4463, x_4455); +x_4465 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__3; +x_4466 = lean_array_push(x_4464, x_4465); +x_4467 = lean_array_push(x_4453, x_11); +x_4468 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4468, 0, x_4460); +lean_ctor_set(x_4468, 1, x_4467); +x_4469 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__6; +x_4470 = lean_array_push(x_4469, x_4468); +x_4471 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_4472 = lean_array_push(x_4470, x_4471); +x_4473 = lean_array_push(x_4472, x_4447); +x_4474 = l_Lean_Parser_Term_matchAlt___elambda__1___closed__2; +x_4475 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4475, 0, x_4474); +lean_ctor_set(x_4475, 1, x_4473); +x_4476 = lean_array_push(x_4453, x_4475); +x_4477 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4477, 0, x_4460); +lean_ctor_set(x_4477, 1, x_4476); +x_4478 = lean_array_push(x_4466, x_4477); +x_4479 = l_Lean_Parser_Term_match___elambda__1___closed__2; +x_4480 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4480, 0, x_4479); +lean_ctor_set(x_4480, 1, x_4478); +x_4481 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4481, 0, x_4446); +lean_ctor_set(x_4481, 1, x_4480); +if (lean_is_scalar(x_4452)) { + x_4482 = lean_alloc_ctor(0, 2, 0); +} else { + x_4482 = x_4452; +} +lean_ctor_set(x_4482, 0, x_4481); +lean_ctor_set(x_4482, 1, x_4451); +return x_4482; +} +} +else +{ +uint8_t x_4483; +lean_dec(x_4371); lean_dec(x_11); lean_dec(x_5); -x_4456 = !lean_is_exclusive(x_4351); -if (x_4456 == 0) +x_4483 = !lean_is_exclusive(x_4378); +if (x_4483 == 0) { -return x_4351; +return x_4378; } else { -lean_object* x_4457; lean_object* x_4458; lean_object* x_4459; -x_4457 = lean_ctor_get(x_4351, 0); -x_4458 = lean_ctor_get(x_4351, 1); -lean_inc(x_4458); -lean_inc(x_4457); -lean_dec(x_4351); -x_4459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4459, 0, x_4457); -lean_ctor_set(x_4459, 1, x_4458); -return x_4459; +lean_object* x_4484; lean_object* x_4485; lean_object* x_4486; +x_4484 = lean_ctor_get(x_4378, 0); +x_4485 = lean_ctor_get(x_4378, 1); +lean_inc(x_4485); +lean_inc(x_4484); +lean_dec(x_4378); +x_4486 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4486, 0, x_4484); +lean_ctor_set(x_4486, 1, x_4485); +return x_4486; } } } else { -lean_object* x_4460; lean_object* x_4461; lean_object* x_4462; uint8_t x_4463; -x_4460 = lean_ctor_get(x_4342, 0); -lean_inc(x_4460); -lean_dec(x_4342); -x_4461 = lean_ctor_get(x_4460, 0); -lean_inc(x_4461); -x_4462 = lean_ctor_get(x_4460, 1); -lean_inc(x_4462); -lean_dec(x_4460); -x_4463 = l_Lean_Syntax_isNone(x_4462); -lean_dec(x_4462); -if (x_4463 == 0) +lean_object* x_4487; lean_object* x_4488; lean_object* x_4489; uint8_t x_4490; +x_4487 = lean_ctor_get(x_4369, 0); +lean_inc(x_4487); +lean_dec(x_4369); +x_4488 = lean_ctor_get(x_4487, 0); +lean_inc(x_4488); +x_4489 = lean_ctor_get(x_4487, 1); +lean_inc(x_4489); +lean_dec(x_4487); +x_4490 = l_Lean_Syntax_isNone(x_4489); +lean_dec(x_4489); +if (x_4490 == 0) { -lean_object* x_4464; lean_object* x_4465; uint8_t x_4466; -lean_dec(x_4461); +lean_object* x_4491; lean_object* x_4492; uint8_t x_4493; +lean_dec(x_4488); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_4464 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; -x_4465 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4464, x_5, x_6); +x_4491 = l___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___closed__9; +x_4492 = l_Lean_Elab_Term_throwError___rarg(x_11, x_4491, x_5, x_6); lean_dec(x_11); -x_4466 = !lean_is_exclusive(x_4465); -if (x_4466 == 0) +x_4493 = !lean_is_exclusive(x_4492); +if (x_4493 == 0) { -return x_4465; +return x_4492; } else { -lean_object* x_4467; lean_object* x_4468; lean_object* x_4469; -x_4467 = lean_ctor_get(x_4465, 0); -x_4468 = lean_ctor_get(x_4465, 1); -lean_inc(x_4468); -lean_inc(x_4467); -lean_dec(x_4465); -x_4469 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_4469, 0, x_4467); -lean_ctor_set(x_4469, 1, x_4468); -return x_4469; +lean_object* x_4494; lean_object* x_4495; lean_object* x_4496; +x_4494 = lean_ctor_get(x_4492, 0); +x_4495 = lean_ctor_get(x_4492, 1); +lean_inc(x_4495); +lean_inc(x_4494); +lean_dec(x_4492); +x_4496 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_4496, 0, x_4494); +lean_ctor_set(x_4496, 1, x_4495); +return x_4496; } } else { -lean_object* x_4470; lean_object* x_4471; lean_object* x_4472; lean_object* x_4473; lean_object* x_4474; -x_4470 = l_Lean_mkHole(x_11); +lean_object* x_4497; lean_object* x_4498; lean_object* x_4499; lean_object* x_4500; lean_object* x_4501; +x_4497 = l_Lean_mkHole(x_11); lean_dec(x_11); -x_4471 = lean_unsigned_to_nat(1u); -x_4472 = lean_nat_add(x_3, x_4471); +x_4498 = lean_unsigned_to_nat(1u); +x_4499 = lean_nat_add(x_3, x_4498); lean_dec(x_3); -x_4473 = l_Lean_Elab_Term_mkExplicitBinder(x_4461, x_4470); -x_4474 = lean_array_push(x_4, x_4473); -x_3 = x_4472; -x_4 = x_4474; +x_4500 = l_Lean_Elab_Term_mkExplicitBinder(x_4488, x_4497); +x_4501 = lean_array_push(x_4, x_4500); +x_3 = x_4499; +x_4 = x_4501; goto _start; } } diff --git a/stage0/stdlib/Init/Lean/Parser/Level.c b/stage0/stdlib/Init/Lean/Parser/Level.c index 7ad615f05a..a8575a7a5c 100644 --- a/stage0/stdlib/Init/Lean/Parser/Level.c +++ b/stage0/stdlib/Init/Lean/Parser/Level.c @@ -24,6 +24,7 @@ extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Parser_Level_paren___closed__2; lean_object* l_Lean_Parser_Level_num___closed__2; lean_object* l_Lean_Parser_Level_num___elambda__1___closed__2; +extern lean_object* l_Lean_identKind___closed__1; lean_object* l_Lean_Parser_Level_num___closed__4; lean_object* l_Lean_Parser_Level_max___elambda__1___closed__6; lean_object* l_Lean_Parser_regBuiltinLevelParserAttr(lean_object*); @@ -151,7 +152,6 @@ lean_object* l_Lean_Parser_Level_addLit___elambda__1___closed__3; lean_object* l_Lean_Parser_Level_max___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Level_ident(lean_object*); lean_object* l_Lean_Parser_Level_addLit; -extern lean_object* l_Lean_Syntax_getKind___closed__3; lean_object* l_Lean_Parser_mkAntiquot(uint8_t, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_Level_max___elambda__1___closed__5; lean_object* l_Lean_Parser_Level_max___elambda__1___closed__7; @@ -1840,7 +1840,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__2; -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -1860,7 +1860,7 @@ _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = 0; -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = l_Lean_Parser_Level_ident___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); diff --git a/stage0/stdlib/Init/Lean/Parser/Parser.c b/stage0/stdlib/Init/Lean/Parser/Parser.c index 815428ed0c..909802a0b0 100644 --- a/stage0/stdlib/Init/Lean/Parser/Parser.c +++ b/stage0/stdlib/Init/Lean/Parser/Parser.c @@ -94,11 +94,11 @@ lean_object* l_Lean_Parser_strLitNoAntiquot(uint8_t); lean_object* l_Lean_Parser_octalNumberFn___closed__1; lean_object* l_Lean_Parser_many1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_many(uint8_t, lean_object*); +extern lean_object* l_Lean_identKind___closed__1; lean_object* l_Lean_Parser_FirstTokens_toStr(lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Array_foldSepBy___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_checkLeadingFn(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_fieldIdxKind___closed__2; -lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* l_Lean_Parser_strAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_rawCh___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -406,7 +406,6 @@ lean_object* l_Lean_Parser_identNoAntiquot___closed__1; lean_object* l_Lean_Parser_ParserState_setPos(lean_object*, lean_object*); lean_object* l_Lean_Parser_quotedSymbol___elambda__1___boxed(lean_object*); lean_object* l_Lean_Parser_mkTokenAndFixPos___closed__1; -extern lean_object* l_Lean_Syntax_getKind___closed__4; lean_object* l___private_Init_Lean_Parser_Parser_16__throwParserCategoryAlreadyDefined___rarg(lean_object*); lean_object* l_Lean_Parser_strLitFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserAttributeImpl___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); @@ -586,7 +585,6 @@ lean_object* l_IO_ofExcept___at___private_Init_Lean_Parser_Parser_18__addBuiltin lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_chFn___spec__1(uint32_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Parser_Parser_2__sepByFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_PersistentHashMap_insertAux___main___rarg___closed__3; -lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* l_Lean_Parser_rawCh___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_getNext___boxed(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_17__addParserCategoryCore___spec__6(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -798,6 +796,7 @@ lean_object* l_Lean_Parser_tryFn___boxed(lean_object*); lean_object* l_Array_foldSepByM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_nonReservedSymbol___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserExtension___closed__3; +extern lean_object* l_Lean_identKind; lean_object* l_Lean_Parser_ParserState_mkErrorAt(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_fieldIdxFn___closed__1; lean_object* l_Lean_Parser_ident___elambda__1(uint8_t); @@ -899,7 +898,6 @@ lean_object* l_Lean_Parser_takeWhileFn___at_Lean_Parser_binNumberFn___spec__2(le extern lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg___closed__4; lean_object* l_Lean_Parser_TokenConfig_toStr(lean_object*); lean_object* l_Lean_Parser_numLitFn___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); lean_object* l_Lean_Parser_fieldIdx___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Fn(uint8_t, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_satisfyFn___at_Lean_Parser_octalNumberFn___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -992,7 +990,6 @@ lean_object* l_String_trim(lean_object*); lean_object* l_RBNode_find___main___at_Lean_Parser_indexed___spec__1___rarg___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_forSepArgsM___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_rawFn(uint8_t); -lean_object* l_Lean_Syntax_getOptionalIdent_x3f___boxed(lean_object*); lean_object* l_Lean_Parser_charLitFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_Parser_compileParserDescr___main(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Parser_regBuiltinTermParserAttr(lean_object*); @@ -1012,7 +1009,6 @@ uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_ParserState_mkLongestNodeAlt(lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_isNone___boxed(lean_object*); lean_object* l_Lean_Parser_currLbp(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkParserOfConstant(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_takeWhile1Fn(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1035,7 +1031,6 @@ lean_object* l_Lean_Parser_numLit___elambda__1___rarg(lean_object*, lean_object* lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkParserExtension___spec__3(lean_object*, lean_object*); lean_object* l_Lean_Parser_getSyntaxNodeKinds(lean_object*); lean_object* l_Lean_Parser_addBuiltinTrailingParser(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Syntax_getKind___closed__3; lean_object* l_Lean_Parser_nameLitFn___boxed(lean_object*, lean_object*); lean_object* l_Lean_registerEnvExtensionUnsafe___at_Lean_Parser_mkCategoryParserFnExtension___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_string2basic(uint8_t, lean_object*); @@ -1065,7 +1060,6 @@ extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Parser_Parser_inhabited___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlStepMAux___main___at_Lean_Syntax_foldSepArgsM___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_chFn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getOptional_x3f___boxed(lean_object*); lean_object* l_PersistentHashMap_foldlM___at___private_Init_Lean_Parser_Parser_28__ParserAttribute_add___spec__2(lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Syntax_foldSepRevArgsM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_sepBy1Info___elambda__2(lean_object*, lean_object*, lean_object*); @@ -1234,156 +1228,6 @@ uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_Lean_Parser_mkAntiquot___closed__1; lean_object* l_Lean_Parser_ParserFn_inhabited___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_andthenFn(uint8_t); -uint8_t l_Lean_Syntax_isNone(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = lean_ctor_get(x_1, 0); -x_3 = lean_ctor_get(x_1, 1); -x_4 = l_Lean_nullKind; -x_5 = lean_name_eq(x_2, x_4); -if (x_5 == 0) -{ -uint8_t x_6; -x_6 = 0; -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_array_get_size(x_3); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_nat_dec_eq(x_7, x_8); -lean_dec(x_7); -return x_9; -} -} -else -{ -uint8_t x_10; -x_10 = 0; -return x_10; -} -} -} -lean_object* l_Lean_Syntax_isNone___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Syntax_isNone(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -lean_object* l_Lean_Syntax_getOptional_x3f(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = lean_ctor_get(x_1, 0); -x_3 = lean_ctor_get(x_1, 1); -x_4 = l_Lean_nullKind; -x_5 = lean_name_eq(x_2, x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_box(0); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_array_get_size(x_3); -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_dec_eq(x_7, x_8); -lean_dec(x_7); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = lean_box(0); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = l_Lean_Syntax_inhabited; -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_array_get(x_11, x_3, x_12); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -} -else -{ -lean_object* x_15; -x_15 = lean_box(0); -return x_15; -} -} -} -lean_object* l_Lean_Syntax_getOptional_x3f___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Syntax_getOptional_x3f(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Syntax_getOptional_x3f(x_1); -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -else -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_2); -if (x_4 == 0) -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_2, 0); -x_6 = l_Lean_Syntax_getId(x_5); -lean_dec(x_5); -lean_ctor_set(x_2, 0, x_6); -return x_2; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_7 = lean_ctor_get(x_2, 0); -lean_inc(x_7); -lean_dec(x_2); -x_8 = l_Lean_Syntax_getId(x_7); -lean_dec(x_7); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_8); -return x_9; -} -} -} -} -lean_object* l_Lean_Syntax_getOptionalIdent_x3f___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Syntax_getOptionalIdent_x3f(x_1); -lean_dec(x_1); -return x_2; -} -} uint8_t l_Lean_Parser_isLitKind(lean_object* x_1) { _start: { @@ -10231,7 +10075,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -12042,7 +11886,7 @@ lean_object* _init_l_Lean_Parser_identNoAntiquot___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Syntax_getKind___closed__3; +x_1 = l_Lean_identKind___closed__1; x_2 = l_Lean_Parser_mkAtomicInfo(x_1); return x_2; } @@ -25181,7 +25025,7 @@ if (x_4 == 0) { lean_object* x_25; lean_dec(x_18); -x_25 = l_Lean_Syntax_getKind___closed__4; +x_25 = l_Lean_identKind; x_9 = x_25; goto block_15; } @@ -25196,7 +25040,7 @@ lean_dec(x_26); if (lean_obj_tag(x_27) == 0) { lean_object* x_28; -x_28 = l_Lean_Syntax_getKind___closed__4; +x_28 = l_Lean_identKind; x_9 = x_28; goto block_15; } @@ -25207,7 +25051,7 @@ lean_dec(x_8); x_29 = lean_ctor_get(x_27, 0); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_Syntax_getKind___closed__4; +x_30 = l_Lean_identKind; x_31 = l_RBNode_find___main___at_Lean_Parser_indexed___spec__3___rarg(x_1, x_30); if (lean_obj_tag(x_31) == 0) { @@ -27296,7 +27140,7 @@ lean_object* _init_l_Lean_Parser_ident___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Syntax_getKind___closed__4; +x_1 = l_Lean_identKind; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -27306,7 +27150,7 @@ lean_object* l_Lean_Parser_ident(uint8_t x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = l_Lean_Parser_ident___closed__1; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -27419,7 +27263,7 @@ lean_object* l_Lean_Parser_rawIdent(uint8_t x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = l_Lean_Parser_ident___closed__1; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -36429,23 +36273,35 @@ x_7 = l_Lean_choiceKind; x_8 = lean_name_eq(x_2, x_7); if (x_8 == 0) { -uint8_t x_9; -x_9 = l_Lean_Parser_isLitKind(x_2); -return x_9; -} -else -{ -uint8_t x_10; -x_10 = 1; -return x_10; -} -} -else +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_identKind; +x_10 = lean_name_eq(x_2, x_9); +if (x_10 == 0) { uint8_t x_11; -x_11 = 1; +x_11 = l_Lean_Parser_isLitKind(x_2); return x_11; } +else +{ +uint8_t x_12; +x_12 = 1; +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = 1; +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = 1; +return x_14; +} } } lean_object* l_PersistentHashMap_containsAtAux___main___at_Lean_Parser_isValidSyntaxNodeKind___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { diff --git a/stage0/stdlib/Init/Lean/Parser/Syntax.c b/stage0/stdlib/Init/Lean/Parser/Syntax.c index d71c312799..e60adad5e0 100644 --- a/stage0/stdlib/Init/Lean/Parser/Syntax.c +++ b/stage0/stdlib/Init/Lean/Parser/Syntax.c @@ -55,6 +55,7 @@ lean_object* l_Lean_Parser_Syntax_paren___closed__6; lean_object* l_Lean_Parser_Command_syntax___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Syntax_str___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_macroTail___elambda__1(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_identKind___closed__1; lean_object* l_Lean_Parser_maxPrec___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_mixfix___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__3; @@ -591,7 +592,6 @@ lean_object* l_Lean_Parser_Command_macro__rules___closed__3; lean_object* l_Lean_Parser_Command_syntaxCat___closed__4; lean_object* l_Lean_Parser_Syntax_try___elambda__1___closed__7; lean_object* l_Lean_Parser_Syntax_char___closed__5; -extern lean_object* l_Lean_Syntax_getKind___closed__3; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Command_macro___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_mkAntiquot(uint8_t, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Parser_Command_macroTailCommand; @@ -2963,7 +2963,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Syntax_paren___elambda__1___closed__2; -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2983,7 +2983,7 @@ _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = 0; -x_2 = l_Lean_Syntax_getKind___closed__3; +x_2 = l_Lean_identKind___closed__1; x_3 = l_Lean_Parser_Syntax_ident___elambda__1___closed__2; x_4 = 1; x_5 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3, x_4); @@ -2994,7 +2994,7 @@ lean_object* _init_l_Lean_Parser_Syntax_ident___elambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Syntax_getKind___closed__3; +x_1 = l_Lean_identKind___closed__1; x_2 = l_String_trim(x_1); return x_2; } diff --git a/stage0/stdlib/Init/Lean/Parser/Term.c b/stage0/stdlib/Init/Lean/Parser/Term.c index a8751a5933..448e22dacf 100644 --- a/stage0/stdlib/Init/Lean/Parser/Term.c +++ b/stage0/stdlib/Init/Lean/Parser/Term.c @@ -182,7 +182,6 @@ extern lean_object* l_Lean_List_format___rarg___closed__2; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_iff___elambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_have___closed__2; -uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_implicitBinder___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_do___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_tparser_x21___elambda__1___closed__4; @@ -545,7 +544,6 @@ lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_match__syntax___ lean_object* l_Lean_Parser_Term_cdot___closed__3; lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_mul___elambda__1___closed__3; -lean_object* l_Lean_Syntax_isSimpleTermId_x3f(lean_object*); lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__9; extern lean_object* l_Lean_Parser_unicodeSymbolFn___rarg___closed__1; lean_object* l_Lean_Parser_Term_str___elambda__1___closed__5; @@ -743,7 +741,6 @@ lean_object* l_Lean_Parser_checkWsBeforeFn(lean_object*, lean_object*, lean_obje 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*, lean_object*); -lean_object* l_Lean_Syntax_isSimpleTermId_x3f___boxed(lean_object*); lean_object* l_Lean_Parser_Term_where___closed__9; lean_object* l_Lean_Parser_Term_bracketedDoSeq___closed__4; lean_object* l_Lean_Parser_Term_explicitBinder___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -802,7 +799,6 @@ lean_object* l_Lean_Parser_Term_seq___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_letIdDecl___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_bnot___closed__5; lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__3; -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_paren___closed__4; lean_object* l_Lean_Parser_Term_mul; lean_object* l_Lean_Parser_Term_ge___elambda__1___closed__1; @@ -1288,7 +1284,6 @@ lean_object* l_Lean_Parser_Term_uminus___closed__2; lean_object* l_Lean_Parser_Term_str___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_fromTerm___closed__4; -extern lean_object* l_Lean_Syntax_inhabited; lean_object* l_Lean_Parser_Term_matchAlt___closed__9; lean_object* l_Lean_Parser_Term_arrayLit; lean_object* l_Lean_Parser_Term_mul___closed__2; @@ -1396,7 +1391,6 @@ lean_object* l_Lean_Parser_Term_bracketedDoSeq___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_listLit___closed__10; lean_object* l_Lean_Parser_Term_inaccessible___closed__7; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__12; -lean_object* l_Lean_Syntax_isTermId_x3f(lean_object*); lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_infixL(lean_object*, lean_object*); @@ -1478,7 +1472,6 @@ lean_object* l_Lean_Parser_Term_explicitUniv___closed__2; extern lean_object* l_Lean_Parser_epsilonInfo; lean_object* l_Lean_Parser_Term_have___closed__4; lean_object* l_Lean_Parser_Term_mod___elambda__1___closed__3; -lean_object* l_Lean_Syntax_isTermId_x3f___boxed(lean_object*); lean_object* l_Lean_Parser_Term_append___elambda__1___closed__2; lean_object* l_Lean_Parser_manyAux___main___at_Lean_Parser_Term_match___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_num___closed__3; @@ -1567,7 +1560,6 @@ lean_object* l_Lean_Parser_Term_parser_x21___closed__2; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_typeSpec___closed__4; lean_object* l_Lean_Parser_Term_mapRev___elambda__1___closed__1; -uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Parser_Term_app___closed__6; lean_object* l_Lean_Parser_Term_leftArrow___elambda__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_dollarProj___closed__6; @@ -36933,141 +36925,6 @@ x_6 = l_Lean_Parser_addBuiltinParser(x_2, x_3, x_4, x_5, x_1); return x_6; } } -lean_object* l_Lean_Syntax_isTermId_x3f(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = lean_ctor_get(x_1, 0); -x_3 = lean_ctor_get(x_1, 1); -x_4 = l_Lean_mkTermIdFromIdent___closed__2; -x_5 = lean_name_eq(x_2, x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_box(0); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_array_get_size(x_3); -x_8 = lean_unsigned_to_nat(2u); -x_9 = lean_nat_dec_eq(x_7, x_8); -lean_dec(x_7); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = lean_box(0); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_11 = l_Lean_Syntax_inhabited; -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_array_get(x_11, x_3, x_12); -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_array_get(x_11, x_3, x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_13); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, x_16); -return x_17; -} -} -} -else -{ -lean_object* x_18; -x_18 = lean_box(0); -return x_18; -} -} -} -lean_object* l_Lean_Syntax_isTermId_x3f___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Syntax_isTermId_x3f(x_1); -lean_dec(x_1); -return x_2; -} -} -lean_object* l_Lean_Syntax_isSimpleTermId_x3f(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 1) -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; -x_2 = lean_ctor_get(x_1, 0); -x_3 = lean_ctor_get(x_1, 1); -x_4 = l_Lean_mkTermIdFromIdent___closed__2; -x_5 = lean_name_eq(x_2, x_4); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_box(0); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; uint8_t x_9; -x_7 = lean_array_get_size(x_3); -x_8 = lean_unsigned_to_nat(2u); -x_9 = lean_nat_dec_eq(x_7, x_8); -lean_dec(x_7); -if (x_9 == 0) -{ -lean_object* x_10; -x_10 = lean_box(0); -return x_10; -} -else -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = l_Lean_Syntax_inhabited; -x_12 = lean_unsigned_to_nat(1u); -x_13 = lean_array_get(x_11, x_3, x_12); -x_14 = l_Lean_Syntax_isNone(x_13); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = lean_box(0); -return x_15; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_unsigned_to_nat(0u); -x_17 = lean_array_get(x_11, x_3, x_16); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_17); -return x_18; -} -} -} -} -else -{ -lean_object* x_19; -x_19 = lean_box(0); -return x_19; -} -} -} -lean_object* l_Lean_Syntax_isSimpleTermId_x3f___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Syntax_isSimpleTermId_x3f(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* initialize_Init_Lean_Parser_Parser(lean_object*); lean_object* initialize_Init_Lean_Parser_Level(lean_object*); static bool _G_initialized = false; diff --git a/stage0/stdlib/Init/Lean/Syntax.c b/stage0/stdlib/Init/Lean/Syntax.c index db07b25749..5720e7ddf9 100644 --- a/stage0/stdlib/Init/Lean/Syntax.c +++ b/stage0/stdlib/Init/Lean/Syntax.c @@ -28,7 +28,6 @@ lean_object* l_Lean_Syntax_modifyArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux___main___closed__5; lean_object* l_Lean_Syntax_ifNodeKind___rarg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_isAtom___boxed(lean_object*); lean_object* l_Array_findRevMAux___main___at_Lean_Syntax_getTailWithInfo___main___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_mrewriteBottomUp___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getIdAt(lean_object*, lean_object*); @@ -84,7 +83,6 @@ lean_object* l_Lean_Syntax_mreplace___main___rarg(lean_object*, lean_object*, le lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at_Lean_Syntax_reprint___main___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getId___boxed(lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___main___at_Lean_Syntax_formatStxAux___main___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_unreachIsNodeMissing(lean_object*, lean_object*); @@ -125,7 +123,6 @@ lean_object* l_Lean_Syntax_formatStxAux___main___closed__11; lean_object* l_Lean_SyntaxNode_getNumArgs___boxed(lean_object*); lean_object* l_Lean_Syntax_mrewriteBottomUp___main___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_updateTrailing___main(lean_object*, lean_object*); -uint8_t l_Lean_Syntax_isAtom(lean_object*); lean_object* l_Lean_Format_joinSep___main___at_Lean_Syntax_formatStxAux___main___spec__2(lean_object*, lean_object*); extern lean_object* l_Lean_Format_sbracket___closed__3; lean_object* l_Lean_unreachIsNodeAtom(lean_object*, lean_object*, lean_object*, lean_object*); @@ -202,10 +199,8 @@ lean_object* l_Lean_Syntax_formatStxAux___main___closed__7; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_reprint(lean_object*); lean_object* l_Lean_Syntax_mreplace___main___rarg___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Syntax_isIdent___boxed(lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_Lean_SourceInfo_updateTrailing(lean_object* x_1, lean_object* x_2) { _start: { @@ -793,87 +788,6 @@ lean_dec(x_2); return x_5; } } -uint8_t l_Lean_Syntax_isAtom(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 2) -{ -uint8_t x_2; -x_2 = 1; -return x_2; -} -else -{ -uint8_t x_3; -x_3 = 0; -return x_3; -} -} -} -lean_object* l_Lean_Syntax_isAtom___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Syntax_isAtom(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -uint8_t l_Lean_Syntax_isIdent(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 3) -{ -uint8_t x_2; -x_2 = 1; -return x_2; -} -else -{ -uint8_t x_3; -x_3 = 0; -return x_3; -} -} -} -lean_object* l_Lean_Syntax_isIdent___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l_Lean_Syntax_isIdent(x_1); -lean_dec(x_1); -x_3 = lean_box(x_2); -return x_3; -} -} -lean_object* l_Lean_Syntax_getId(lean_object* x_1) { -_start: -{ -if (lean_obj_tag(x_1) == 3) -{ -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 2); -lean_inc(x_2); -return x_2; -} -else -{ -lean_object* x_3; -x_3 = lean_box(0); -return x_3; -} -} -} -lean_object* l_Lean_Syntax_getId___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Syntax_getId(x_1); -lean_dec(x_1); -return x_2; -} -} lean_object* l_Lean_Syntax_asNode(lean_object* x_1) { _start: { diff --git a/stage0/stdlib/Init/LeanInit.c b/stage0/stdlib/Init/LeanInit.c index 53b27951c3..1191ea0712 100644 --- a/stage0/stdlib/Init/LeanInit.c +++ b/stage0/stdlib/Init/LeanInit.c @@ -44,7 +44,9 @@ lean_object* l_Lean_Name_HasAppend; lean_object* l___private_Init_LeanInit_2__assembleParts___main(lean_object*, lean_object*); lean_object* l_Lean_Syntax_identToAtom___boxed(lean_object*); lean_object* l_Lean_Macro_throwUnsupported___boxed(lean_object*, lean_object*); +lean_object* l_Lean_identKind___closed__1; lean_object* l_Lean_fieldIdxKind___closed__2; +lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* l_Lean_ParserDescr_orelse(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_MacroM_monadQuotation___lambda__2(lean_object*); lean_object* l___private_Init_LeanInit_8__decodeHexDigit___boxed(lean_object*, lean_object*); @@ -53,8 +55,10 @@ lean_object* l___private_Init_LeanInit_10__decodeDecimalLitAux___main(lean_objec lean_object* l___private_Init_LeanInit_4__extractMainModule(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Array_findMAux___main___at_Lean_Syntax_getHeadInfo___main___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_isAtom___boxed(lean_object*); lean_object* l_Lean_ParserDescr_optional(uint8_t, lean_object*); lean_object* l_Lean_Syntax_toNat___boxed(lean_object*); +lean_object* l_Lean_identKind___closed__2; lean_object* l___private_Init_LeanInit_8__decodeHexDigit(lean_object*, lean_object*); lean_object* l___private_Init_LeanInit_1__eraseMacroScopesAux___main(lean_object*); lean_object* l_Lean_ParserDescr_lookahead(uint8_t, lean_object*); @@ -120,6 +124,7 @@ lean_object* l_Lean_Syntax_getKind___closed__2; lean_object* l_Lean_Syntax_getKind___closed__1; lean_object* l_Lean_Name_hashable; lean_object* l_Lean_mkTermIdFromIdent___closed__2; +lean_object* l_Lean_Syntax_isSimpleTermId_x3f(lean_object*, uint8_t); lean_object* lean_string_utf8_next(lean_object*, lean_object*); lean_object* l_Lean_Syntax_strLitToAtom(lean_object*); lean_object* l_Lean_Syntax_isLit_x3f___boxed(lean_object*, lean_object*); @@ -130,7 +135,6 @@ lean_object* l_Lean_Name_HasAppend___closed__1; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); lean_object* l_Lean_MacroM_monadQuotation___lambda__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_isLit_x3f(lean_object*, lean_object*); -lean_object* l_Lean_Syntax_getKind___closed__4; lean_object* l_Lean_Syntax_termIdToAntiquot___closed__4; lean_object* l_Lean_ParserDescr_many1(uint8_t, lean_object*); lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); @@ -150,6 +154,8 @@ lean_object* l_Lean_strLitKind; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); lean_object* l_Array_getSepElems(lean_object*); lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_isSimpleTermId_x3f___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getId___boxed(lean_object*); lean_object* l___private_Init_LeanInit_13__decodeNameLitAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_numLit___boxed(lean_object*); lean_object* l_Lean_Syntax_isFieldIdx_x3f(lean_object*); @@ -184,6 +190,7 @@ lean_object* l_Lean_Name_HasToString; lean_object* l___private_Init_LeanInit_13__decodeNameLitAux___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_lookahead___boxed(lean_object*, lean_object*); lean_object* l_Lean_ParserDescr_sepBy(uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_choiceKind; lean_object* l_Lean_charLitKind; @@ -217,6 +224,7 @@ uint8_t l_Lean_isIdEndEscape(uint32_t); lean_object* l_Lean_Syntax_decodeCharLit(lean_object*); lean_object* l_Lean_MacroScopesView_inhabited___closed__1; uint8_t l_Char_isAlpha(uint32_t); +uint8_t l_Lean_Syntax_isAtom(lean_object*); lean_object* l_Lean_Name_toStringWithSep___main___boxed(lean_object*, lean_object*); lean_object* l___private_Init_LeanInit_7__decodeOctalLitAux___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_nullKind___closed__2; @@ -232,6 +240,7 @@ lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); lean_object* l_Lean_ParserDescrCore_inhabited___boxed(lean_object*); uint8_t l_Lean_Name_hasMacroScopes___main(lean_object*); lean_object* l_Lean_ParserDescr_strLit___boxed(lean_object*); +lean_object* l_Lean_identKind; lean_object* l_Lean_ParserDescr_sepBy1(uint8_t, lean_object*, lean_object*); lean_object* l_Lean_mkCTermId(lean_object*); uint8_t l_UInt32_decEq(uint32_t, uint32_t); @@ -245,6 +254,7 @@ uint8_t l_Lean_Syntax_hasArgs(lean_object*); lean_object* l_String_quote(lean_object*); uint8_t l_Char_isAlphanum(uint32_t); lean_object* l___private_Init_LeanInit_12__decodeQuotedChar(lean_object*, lean_object*); +lean_object* l_Lean_Syntax_isTermId_x3f(lean_object*, uint8_t); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); uint8_t l_Lean_isGreek(uint32_t); @@ -256,9 +266,11 @@ lean_object* l_Lean_Name_Name_beq___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getHeadInfo___boxed(lean_object*); lean_object* l___private_Init_LeanInit_11__decodeNatLitVal___boxed(lean_object*); lean_object* l___private_Init_LeanInit_11__decodeNatLitVal___closed__1; +lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); extern lean_object* l___private_Init_Util_1__mkPanicMessage___closed__2; lean_object* l___private_Init_LeanInit_7__decodeOctalLitAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_NameGenerator_curr(lean_object*); +lean_object* l_Lean_Syntax_isTermId_x3f___boxed(lean_object*, lean_object*); lean_object* l_Lean_Syntax_isNameLit_x3f___boxed(lean_object*); lean_object* l___private_Init_LeanInit_12__decodeQuotedChar___boxed__const__2; lean_object* l_Lean_mkHole___closed__1; @@ -272,25 +284,27 @@ lean_object* l_Lean_mkCAppStx(lean_object*, lean_object*); lean_object* l_Lean_mkAppStx___closed__9; lean_object* l_Lean_Name_HasBeq___closed__1; lean_object* l_Lean_Name_append___main___boxed(lean_object*, lean_object*); +uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_mkTermIdFrom(lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeNameLit(lean_object*); lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); lean_object* l_Lean_ParserDescr_orelse___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_isIdEndEscape___boxed(lean_object*); +lean_object* l_Lean_Syntax_getOptionalIdent_x3f___boxed(lean_object*); lean_object* l___private_Init_LeanInit_10__decodeDecimalLitAux___main___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_termIdToAntiquot(lean_object*, lean_object*); lean_object* l_Lean_Syntax_decodeStrLit(lean_object*); uint8_t l_Lean_isIdFirst(uint32_t); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); size_t lean_usize_mix_hash(size_t, size_t); +lean_object* l_Lean_Syntax_isNone___boxed(lean_object*); lean_object* l_Lean_mkCIdentFrom___boxed(lean_object*, lean_object*); lean_object* l_Lean_mkHole___closed__2; lean_object* l_Lean_mkCIdentFrom___closed__1; lean_object* l_Lean_Syntax_decodeNameLit___boxed(lean_object*); lean_object* lean_string_length(lean_object*); lean_object* l_Lean_MacroM_monadQuotation___closed__1; -lean_object* l_Lean_Syntax_getKind___closed__3; lean_object* l_Lean_nameLitKind___closed__2; uint8_t l_Lean_isSubScriptAlnum(uint32_t); lean_object* l_List_foldl___main___at_Lean_MacroScopesView_review___spec__1(lean_object*, lean_object*); @@ -301,6 +315,7 @@ lean_object* l_Lean_mkStxLit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_toNat(lean_object*); lean_object* l_Lean_mkOptionalNode___closed__2; +lean_object* l_Lean_Syntax_getOptional_x3f___boxed(lean_object*); lean_object* l_Lean_mkCIdentFrom___closed__2; lean_object* l_Lean_Name_eraseMacroScopes___boxed(lean_object*); lean_object* l_Lean_mkCTermIdFrom(lean_object*, lean_object*); @@ -336,12 +351,14 @@ lean_object* l___private_Init_LeanInit_1__eraseMacroScopesAux___main___boxed(lea lean_object* l_Lean_Name_append___boxed(lean_object*, lean_object*); uint8_t l_Lean_isIdRest(uint32_t); lean_object* l_Lean_NameGenerator_Inhabited___closed__3; +lean_object* l_Lean_Syntax_isIdent___boxed(lean_object*); lean_object* l_Lean_MacroM_monadQuotation___closed__4; lean_object* l_Lean_nameLitKind___closed__1; uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint32_t l_Char_ofNat(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Init_LeanInit_12__decodeQuotedChar___boxed__const__3; +uint8_t l_Lean_Syntax_isIdent(lean_object*); lean_object* l_Lean_ParserDescr_nameLit(uint8_t); uint8_t l_Lean_isGreek(uint32_t x_1) { _start: @@ -1872,6 +1889,214 @@ x_1 = lean_box(0); return x_1; } } +lean_object* _init_l_Lean_choiceKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("choice"); +return x_1; +} +} +lean_object* _init_l_Lean_choiceKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_choiceKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_choiceKind() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_choiceKind___closed__2; +return x_1; +} +} +lean_object* _init_l_Lean_nullKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("null"); +return x_1; +} +} +lean_object* _init_l_Lean_nullKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_nullKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_nullKind() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_nullKind___closed__2; +return x_1; +} +} +lean_object* _init_l_Lean_identKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("ident"); +return x_1; +} +} +lean_object* _init_l_Lean_identKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_identKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_identKind() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_identKind___closed__2; +return x_1; +} +} +lean_object* _init_l_Lean_strLitKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("strLit"); +return x_1; +} +} +lean_object* _init_l_Lean_strLitKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_strLitKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_strLitKind() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_strLitKind___closed__2; +return x_1; +} +} +lean_object* _init_l_Lean_charLitKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("charLit"); +return x_1; +} +} +lean_object* _init_l_Lean_charLitKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_charLitKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_charLitKind() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_charLitKind___closed__2; +return x_1; +} +} +lean_object* _init_l_Lean_numLitKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("numLit"); +return x_1; +} +} +lean_object* _init_l_Lean_numLitKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_numLitKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_numLitKind() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_numLitKind___closed__2; +return x_1; +} +} +lean_object* _init_l_Lean_nameLitKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("nameLit"); +return x_1; +} +} +lean_object* _init_l_Lean_nameLitKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_nameLitKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_nameLitKind() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_nameLitKind___closed__2; +return x_1; +} +} +lean_object* _init_l_Lean_fieldIdxKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("fieldIdx"); +return x_1; +} +} +lean_object* _init_l_Lean_fieldIdxKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_fieldIdxKind___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_fieldIdxKind() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_fieldIdxKind___closed__2; +return x_1; +} +} lean_object* _init_l_Lean_Syntax_getKind___closed__1() { _start: { @@ -1890,24 +2115,6 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l_Lean_Syntax_getKind___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("ident"); -return x_1; -} -} -lean_object* _init_l_Lean_Syntax_getKind___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Syntax_getKind___closed__3; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} lean_object* l_Lean_Syntax_getKind(lean_object* x_1) { _start: { @@ -1940,7 +2147,7 @@ default: { lean_object* x_7; lean_dec(x_1); -x_7 = l_Lean_Syntax_getKind___closed__4; +x_7 = l_Lean_identKind; return x_7; } } @@ -2913,188 +3120,6 @@ lean_dec(x_1); return x_2; } } -lean_object* _init_l_Lean_choiceKind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("choice"); -return x_1; -} -} -lean_object* _init_l_Lean_choiceKind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_choiceKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_choiceKind() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_choiceKind___closed__2; -return x_1; -} -} -lean_object* _init_l_Lean_nullKind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("null"); -return x_1; -} -} -lean_object* _init_l_Lean_nullKind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_nullKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_nullKind() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_nullKind___closed__2; -return x_1; -} -} -lean_object* _init_l_Lean_strLitKind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("strLit"); -return x_1; -} -} -lean_object* _init_l_Lean_strLitKind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_strLitKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_strLitKind() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_strLitKind___closed__2; -return x_1; -} -} -lean_object* _init_l_Lean_charLitKind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("charLit"); -return x_1; -} -} -lean_object* _init_l_Lean_charLitKind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_charLitKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_charLitKind() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_charLitKind___closed__2; -return x_1; -} -} -lean_object* _init_l_Lean_numLitKind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("numLit"); -return x_1; -} -} -lean_object* _init_l_Lean_numLitKind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_numLitKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_numLitKind() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_numLitKind___closed__2; -return x_1; -} -} -lean_object* _init_l_Lean_nameLitKind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("nameLit"); -return x_1; -} -} -lean_object* _init_l_Lean_nameLitKind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_nameLitKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_nameLitKind() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_nameLitKind___closed__2; -return x_1; -} -} -lean_object* _init_l_Lean_fieldIdxKind___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("fieldIdx"); -return x_1; -} -} -lean_object* _init_l_Lean_fieldIdxKind___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_fieldIdxKind___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* _init_l_Lean_fieldIdxKind() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_fieldIdxKind___closed__2; -return x_1; -} -} lean_object* l_Lean_mkIdentFrom(lean_object* x_1, lean_object* x_2) { _start: { @@ -5664,6 +5689,413 @@ lean_ctor_set(x_16, 1, x_14); return x_16; } } +uint8_t l_Lean_Syntax_isAtom(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 2) +{ +uint8_t x_2; +x_2 = 1; +return x_2; +} +else +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +} +} +lean_object* l_Lean_Syntax_isAtom___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Syntax_isAtom(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +uint8_t l_Lean_Syntax_isIdent(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 3) +{ +uint8_t x_2; +x_2 = 1; +return x_2; +} +else +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +} +} +lean_object* l_Lean_Syntax_isIdent___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Syntax_isIdent(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_Lean_Syntax_getId(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 3) +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 2); +lean_inc(x_2); +return x_2; +} +else +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +} +} +lean_object* l_Lean_Syntax_getId___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_getId(x_1); +lean_dec(x_1); +return x_2; +} +} +uint8_t l_Lean_Syntax_isNone(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_1, 1); +x_4 = l_Lean_nullKind; +x_5 = lean_name_eq(x_2, x_4); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_array_get_size(x_3); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_7, x_8); +lean_dec(x_7); +return x_9; +} +} +else +{ +uint8_t x_10; +x_10 = 0; +return x_10; +} +} +} +lean_object* l_Lean_Syntax_isNone___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l_Lean_Syntax_isNone(x_1); +lean_dec(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l_Lean_Syntax_getOptional_x3f(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 1) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_1, 1); +x_4 = l_Lean_nullKind; +x_5 = lean_name_eq(x_2, x_4); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_box(0); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_array_get_size(x_3); +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_dec_eq(x_7, x_8); +lean_dec(x_7); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = lean_box(0); +return x_10; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = l_Lean_Syntax_inhabited; +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_array_get(x_11, x_3, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +else +{ +lean_object* x_15; +x_15 = lean_box(0); +return x_15; +} +} +} +lean_object* l_Lean_Syntax_getOptional_x3f___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_getOptional_x3f(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_getOptional_x3f(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_2, 0); +x_6 = l_Lean_Syntax_getId(x_5); +lean_dec(x_5); +lean_ctor_set(x_2, 0, x_6); +return x_2; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_2, 0); +lean_inc(x_7); +lean_dec(x_2); +x_8 = l_Lean_Syntax_getId(x_7); +lean_dec(x_7); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +lean_object* l_Lean_Syntax_getOptionalIdent_x3f___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Syntax_getOptionalIdent_x3f(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* l_Lean_Syntax_isTermId_x3f(lean_object* x_1, uint8_t x_2) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 1); +lean_inc(x_4); +lean_dec(x_1); +x_5 = l_Lean_mkTermIdFromIdent___closed__2; +x_6 = lean_name_eq(x_3, x_5); +lean_dec(x_3); +if (x_6 == 0) +{ +lean_object* x_7; +lean_dec(x_4); +x_7 = lean_box(0); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_8 = lean_array_get_size(x_4); +x_9 = lean_unsigned_to_nat(2u); +x_10 = lean_nat_dec_eq(x_8, x_9); +lean_dec(x_8); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_4); +x_11 = lean_box(0); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_12 = l_Lean_Syntax_inhabited; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_get(x_12, x_4, x_13); +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_array_get(x_12, x_4, x_15); +lean_dec(x_4); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_14); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +} +case 3: +{ +if (x_2 == 0) +{ +lean_object* x_19; +lean_dec(x_1); +x_19 = lean_box(0); +return x_19; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = l_Lean_mkOptionalNode___closed__1; +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_1); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +return x_22; +} +} +default: +{ +lean_object* x_23; +lean_dec(x_1); +x_23 = lean_box(0); +return x_23; +} +} +} +} +lean_object* l_Lean_Syntax_isTermId_x3f___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_2); +lean_dec(x_2); +x_4 = l_Lean_Syntax_isTermId_x3f(x_1, x_3); +return x_4; +} +} +lean_object* l_Lean_Syntax_isSimpleTermId_x3f(lean_object* x_1, uint8_t x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Syntax_isTermId_x3f(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = l_Lean_Syntax_isNone(x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +lean_object* x_10; +lean_dec(x_7); +lean_free_object(x_3); +x_10 = lean_box(0); +return x_10; +} +else +{ +lean_ctor_set(x_3, 0, x_7); +return x_3; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_3, 0); +lean_inc(x_11); +lean_dec(x_3); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Syntax_isNone(x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +x_15 = lean_box(0); +return x_15; +} +else +{ +lean_object* x_16; +x_16 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_16, 0, x_12); +return x_16; +} +} +} +} +} +lean_object* l_Lean_Syntax_isSimpleTermId_x3f___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_2); +lean_dec(x_2); +x_4 = l_Lean_Syntax_isSimpleTermId_x3f(x_1, x_3); +return x_4; +} +} lean_object* l_Array_foldlStepMAux___main___at_Array_getSepElems___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -5800,40 +6232,6 @@ l_Lean_ParserDescr_pushLeading = _init_l_Lean_ParserDescr_pushLeading(); lean_mark_persistent(l_Lean_ParserDescr_pushLeading); l_Lean_Syntax_inhabited = _init_l_Lean_Syntax_inhabited(); lean_mark_persistent(l_Lean_Syntax_inhabited); -l_Lean_Syntax_getKind___closed__1 = _init_l_Lean_Syntax_getKind___closed__1(); -lean_mark_persistent(l_Lean_Syntax_getKind___closed__1); -l_Lean_Syntax_getKind___closed__2 = _init_l_Lean_Syntax_getKind___closed__2(); -lean_mark_persistent(l_Lean_Syntax_getKind___closed__2); -l_Lean_Syntax_getKind___closed__3 = _init_l_Lean_Syntax_getKind___closed__3(); -lean_mark_persistent(l_Lean_Syntax_getKind___closed__3); -l_Lean_Syntax_getKind___closed__4 = _init_l_Lean_Syntax_getKind___closed__4(); -lean_mark_persistent(l_Lean_Syntax_getKind___closed__4); -l_Lean_reservedMacroScope = _init_l_Lean_reservedMacroScope(); -lean_mark_persistent(l_Lean_reservedMacroScope); -l_Lean_firstFrontendMacroScope___closed__1 = _init_l_Lean_firstFrontendMacroScope___closed__1(); -lean_mark_persistent(l_Lean_firstFrontendMacroScope___closed__1); -l_Lean_firstFrontendMacroScope = _init_l_Lean_firstFrontendMacroScope(); -lean_mark_persistent(l_Lean_firstFrontendMacroScope); -l_Lean_Name_hasMacroScopes___main___closed__1 = _init_l_Lean_Name_hasMacroScopes___main___closed__1(); -lean_mark_persistent(l_Lean_Name_hasMacroScopes___main___closed__1); -l___private_Init_LeanInit_1__eraseMacroScopesAux___main___closed__1 = _init_l___private_Init_LeanInit_1__eraseMacroScopesAux___main___closed__1(); -lean_mark_persistent(l___private_Init_LeanInit_1__eraseMacroScopesAux___main___closed__1); -l_Lean_MacroScopesView_inhabited___closed__1 = _init_l_Lean_MacroScopesView_inhabited___closed__1(); -lean_mark_persistent(l_Lean_MacroScopesView_inhabited___closed__1); -l_Lean_MacroScopesView_inhabited = _init_l_Lean_MacroScopesView_inhabited(); -lean_mark_persistent(l_Lean_MacroScopesView_inhabited); -l_Lean_Macro_throwUnsupported___closed__1 = _init_l_Lean_Macro_throwUnsupported___closed__1(); -lean_mark_persistent(l_Lean_Macro_throwUnsupported___closed__1); -l_Lean_MacroM_monadQuotation___closed__1 = _init_l_Lean_MacroM_monadQuotation___closed__1(); -lean_mark_persistent(l_Lean_MacroM_monadQuotation___closed__1); -l_Lean_MacroM_monadQuotation___closed__2 = _init_l_Lean_MacroM_monadQuotation___closed__2(); -lean_mark_persistent(l_Lean_MacroM_monadQuotation___closed__2); -l_Lean_MacroM_monadQuotation___closed__3 = _init_l_Lean_MacroM_monadQuotation___closed__3(); -lean_mark_persistent(l_Lean_MacroM_monadQuotation___closed__3); -l_Lean_MacroM_monadQuotation___closed__4 = _init_l_Lean_MacroM_monadQuotation___closed__4(); -lean_mark_persistent(l_Lean_MacroM_monadQuotation___closed__4); -l_Lean_MacroM_monadQuotation = _init_l_Lean_MacroM_monadQuotation(); -lean_mark_persistent(l_Lean_MacroM_monadQuotation); l_Lean_choiceKind___closed__1 = _init_l_Lean_choiceKind___closed__1(); lean_mark_persistent(l_Lean_choiceKind___closed__1); l_Lean_choiceKind___closed__2 = _init_l_Lean_choiceKind___closed__2(); @@ -5846,6 +6244,12 @@ l_Lean_nullKind___closed__2 = _init_l_Lean_nullKind___closed__2(); lean_mark_persistent(l_Lean_nullKind___closed__2); l_Lean_nullKind = _init_l_Lean_nullKind(); lean_mark_persistent(l_Lean_nullKind); +l_Lean_identKind___closed__1 = _init_l_Lean_identKind___closed__1(); +lean_mark_persistent(l_Lean_identKind___closed__1); +l_Lean_identKind___closed__2 = _init_l_Lean_identKind___closed__2(); +lean_mark_persistent(l_Lean_identKind___closed__2); +l_Lean_identKind = _init_l_Lean_identKind(); +lean_mark_persistent(l_Lean_identKind); l_Lean_strLitKind___closed__1 = _init_l_Lean_strLitKind___closed__1(); lean_mark_persistent(l_Lean_strLitKind___closed__1); l_Lean_strLitKind___closed__2 = _init_l_Lean_strLitKind___closed__2(); @@ -5876,6 +6280,36 @@ l_Lean_fieldIdxKind___closed__2 = _init_l_Lean_fieldIdxKind___closed__2(); lean_mark_persistent(l_Lean_fieldIdxKind___closed__2); l_Lean_fieldIdxKind = _init_l_Lean_fieldIdxKind(); lean_mark_persistent(l_Lean_fieldIdxKind); +l_Lean_Syntax_getKind___closed__1 = _init_l_Lean_Syntax_getKind___closed__1(); +lean_mark_persistent(l_Lean_Syntax_getKind___closed__1); +l_Lean_Syntax_getKind___closed__2 = _init_l_Lean_Syntax_getKind___closed__2(); +lean_mark_persistent(l_Lean_Syntax_getKind___closed__2); +l_Lean_reservedMacroScope = _init_l_Lean_reservedMacroScope(); +lean_mark_persistent(l_Lean_reservedMacroScope); +l_Lean_firstFrontendMacroScope___closed__1 = _init_l_Lean_firstFrontendMacroScope___closed__1(); +lean_mark_persistent(l_Lean_firstFrontendMacroScope___closed__1); +l_Lean_firstFrontendMacroScope = _init_l_Lean_firstFrontendMacroScope(); +lean_mark_persistent(l_Lean_firstFrontendMacroScope); +l_Lean_Name_hasMacroScopes___main___closed__1 = _init_l_Lean_Name_hasMacroScopes___main___closed__1(); +lean_mark_persistent(l_Lean_Name_hasMacroScopes___main___closed__1); +l___private_Init_LeanInit_1__eraseMacroScopesAux___main___closed__1 = _init_l___private_Init_LeanInit_1__eraseMacroScopesAux___main___closed__1(); +lean_mark_persistent(l___private_Init_LeanInit_1__eraseMacroScopesAux___main___closed__1); +l_Lean_MacroScopesView_inhabited___closed__1 = _init_l_Lean_MacroScopesView_inhabited___closed__1(); +lean_mark_persistent(l_Lean_MacroScopesView_inhabited___closed__1); +l_Lean_MacroScopesView_inhabited = _init_l_Lean_MacroScopesView_inhabited(); +lean_mark_persistent(l_Lean_MacroScopesView_inhabited); +l_Lean_Macro_throwUnsupported___closed__1 = _init_l_Lean_Macro_throwUnsupported___closed__1(); +lean_mark_persistent(l_Lean_Macro_throwUnsupported___closed__1); +l_Lean_MacroM_monadQuotation___closed__1 = _init_l_Lean_MacroM_monadQuotation___closed__1(); +lean_mark_persistent(l_Lean_MacroM_monadQuotation___closed__1); +l_Lean_MacroM_monadQuotation___closed__2 = _init_l_Lean_MacroM_monadQuotation___closed__2(); +lean_mark_persistent(l_Lean_MacroM_monadQuotation___closed__2); +l_Lean_MacroM_monadQuotation___closed__3 = _init_l_Lean_MacroM_monadQuotation___closed__3(); +lean_mark_persistent(l_Lean_MacroM_monadQuotation___closed__3); +l_Lean_MacroM_monadQuotation___closed__4 = _init_l_Lean_MacroM_monadQuotation___closed__4(); +lean_mark_persistent(l_Lean_MacroM_monadQuotation___closed__4); +l_Lean_MacroM_monadQuotation = _init_l_Lean_MacroM_monadQuotation(); +lean_mark_persistent(l_Lean_MacroM_monadQuotation); l_Lean_mkCIdentFrom___closed__1 = _init_l_Lean_mkCIdentFrom___closed__1(); lean_mark_persistent(l_Lean_mkCIdentFrom___closed__1); l_Lean_mkCIdentFrom___closed__2 = _init_l_Lean_mkCIdentFrom___closed__2();